# @(#)conf/os/aix3.1 1.6 8/9/92 01:14:48 # # aix3.1 - define the characteristics of IBM AIX 3.1 # # contributed by Chip Salzenberg # OSNAMES - Names defining this operating system OSNAMES=UNIX_SYS5_3:UNIX_SYS5:UNIX_AIX3:UNIX_AIX:UNIX:POSIX_OS # 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(); " # MAILBOX_DIR - in which directory are user mailbox files MAILBOX_DIR=/usr/spool/mail # CONSOLE - name of the console device file CONSOLE=/dev/console # DECLARE_STRINGS - declare string routines, using macros as needed DECLARE_STRINGS="\ #include #define bzero(b,n) (memset((b),'\0',(n))) #define bcopy(b1,b2,n) (memcpy((b2),(b1),(n))) #define bcmp(b1,b2,n) (memcmp((b1),(b2),(n))) " # SECURE_PATH - directories containing system-supplied user programs SECURE_PATH=/bin:/usr/bin:/usr/ucb # OSLIBS - name any object libraries containing routines we will need OSLIBS= # DRIVER_CONFIGURATION - configuration file describing smail drivers DRIVER_CONFIGURATION=arpa-network # RANLIB - how do we organize an existing object archive library RANLIB=: # CHOWN - command to use for accessing the chown program CHOWN=chown # HAVE - what features should be used with this operating system HAVE=BSD_NETWORKING:BSTRING:DUP2:FSYNC:GETHOSTNAME:GETOPT:HASH_BANG HAVE=$HAVE:HDB_UUCP:MKDIR:NDBM:READDIR:RENAME:RLIMIT:SETGROUPS HAVE=$HAVE:SYS5_STRLIB:SYSEXITS:ULIMIT:VFPRINTF:FTRUNCATE:BIND # UUCP_SYSTEM_FILE - path to UUCP file containing remote systems UUCP_SYSTEM_FILE=/usr/lib/uucp/Systems # MISC_DEFINES - miscellaneous definitions # # ANSI_C - compiler is ANSI C, but doesn't define __STDC__ MISC_DEFINES=ANSI_C