# @(#)conf/os/next2.0	1.6 9/8/92 04:06:20
#
# next2.0 - define the characteristics of NeXT 2.0
#
# contributed by roscom!monty@think.com
# modified 92-02-16 by dan@az.stratus.com (Dan Danz) for  NeXT2.1
# modified 92-09-08 by nigelm@ohm.york.ac.uk (Nigel Metheringham)

# OSNAMES - names for this operating system
OSNAMES=UNIX_BSD4_3:UNIX_BSD4_2:UNIX_BSD:UNIX

# LOCKING_PROTOCOL - macros for efficient file locking
LOCKING_PROTOCOL="\
#define lock_fd(fd)	      (flock((fd), LOCK_EX|LOCK_NB) < 0? FAIL: SUCCEED)
#define lock_fd_wait(fd)	(flock((fd), LOCK_EX) < 0? FAIL: SUCCEED)
#define unlock_fd(fd)		((void) flock((fd), LOCK_UN))
#define unlock_fd_wait(fd)	((void) flock((fd), LOCK_UN))
#define lock_fd_rd_wait(fd)	(flock((fd), LOCK_SH) < 0? FAIL: SUCCEED)
"

# FLOCK_MAILBOX - should mailbox files be locked with lock_fd_wait
FLOCK_MAILBOX=TRUE

# 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 <string.h>
"

# OSLIBS - name any object libraries containing routines we will need
OSLIBS=-ldbm

# DRIVER_CONFIGURATION - configuration file describing smail drivers
DRIVER_CONFIGURATION=bsd-network

# RANLIB - how do we organize an existing object archive library
RANLIB=ranlib

# CHOWN - command to use for accessing the chown program
CHOWN=/etc/chown

# HAVE - list of attributes identified for your operating system
HAVE=RENAME:MKDIR:BSD_NETWORKING:SYSEXITS:NDBM:BSTRING:SYS5_STRLIB
HAVE=$HAVE:GETOPT:GETHOSTNAME:HASH_BANG:DUP2:READDIR:SETGROUPS:FSYNC:VFPRINTF
HAVE=$HAVE:HDB_UUCP:NIALIAS

# NO_HAVE - define features that this system specifically does not have
NO_HAVE=UNAME:ULIMIT

# MISC_DEFINES - miscellaneous definitions
MISC_DEFINES=INET_NTOA_USE_STRUCT:WAIT_USE_UNION:DECLARE_UTIMBUF:USE_TM_TZNAME

# NOBODY - username to use for annonymous situations
NOBODY=nobody

# SECURE_PATH - a secure, :-separated list of exectuable directories
SECURE_PATH=/bin:/usr/bin:/usr/ucb

# COMPRESS - an executable that compresses files
COMPRESS=compress
COMP_FLAG=-f
DOT_Z=.Z
UNCOMPRESS=uncompress
ZCAT=zcat

# UUCP_SYSTEM_FILE - path to UUCP file containing remote systems
UUCP_SYSTEM_FILE=/etc/uucp/L.sys
