# @(#)conf/os/aux2.0 2.3 Sun Aug 16 17:46:25 1992 # # aux2.0 - define characteristics of Apple A/UX v2.0/v2.0.1 # # From: denny@alisa.com (for smail 3.1.27) # # # OSNAMES - Names defining this operating system OSNAMES=UNIX_SYS5_3:UNIX_SYS5:UNIX # LOCKING_PROTOCOL - macros for efficient file locking LOCKING_PROTOCOL="\ #include #define LOCK_REQUIRES_WRITE #define lock_fd(fd) (lockf((fd), F_TLOCK, 0L) < 0? FAIL: SUCCEED) #define lock_fd_wait(fd) (lockf((fd), F_LOCK, 0L) < 0? FAIL: SUCCEED) #define unlock_fd(fd) ((void) lockf((fd), F_ULOCK, 0L)) #define unlock_fd_wait(fd) ((void) lockf((fd), F_ULOCK, 0L)) #define USE_FCNTL_RD_LOCK #define lock_fd_rd_wait(fd) (fcntl_rd_lock(fd)) extern int fcntl_rd_lock(); " # FLOCK_MAILBOX - should mailbox files be locked with lock_fd_wait FLOCK_MAILBOX=TRUE # MAILBOX_DIR - in which directory are user mailbox files found MAILBOX_DIR=/usr/mail # CONSOLE - name of the console device file CONSOLE=/dev/console # DECLARE_STRINGS - declare string routines, using macros as needed DECLARE_STRINGS="\ #include #define index strchr #define rindex strrchr " # SECURE_PATH - directories containing system-supplied user programs SECURE_PATH=/usr/ucb:/bin:/usr/bin # OSLIBS - name any object libraries containing routines we will need OSLIBS=" -lc_s -ldbm" # RANLIB - how do we organize an existing object archive library RANLIB=: # DRIVER_CONFIGURATION - configuration file describing smail drivers DRIVER_CONFIGURATION=arpa-network # CHOWN - command to use for accessing the chown program CHOWN=/bin/chown # HAVE - what features should be used with this operating system HAVE=RENAME:MKDIR:BSD_NETWORKING:DBM:BSTRING:SYS5STRLIB HAVE=$HAVE:GETOPT:GETHOSTNAME:UNAME:HASH_BANG:DUP2:READDIR HAVE=$HAVE:VFPRINTF:ULIMIT:BIND # MISC_DEFINES - localized smail fixes for A/UX MISC_DEFINES=FORCE_DIRSIZ_VALUE=14