# @(#)conf/os/hp-ux8.0	1.5 9/9/92 08:18:26
#
# hp-ux8.0 - define characteristics of Hewlet Packard's HP-UX version 8.0
#
# contributed by Chip Salzenberg <chip@tct.com>

. $ROOT/conf/os/sys5.3		# this is on an System V release 3 base

# OSNAMES - Names defining this operating system
OSNAMES="UNIX_HPUX8_0:UNIX_HPUX8:UNIX_HPUX:$OSNAMES:POSIX_OS"

# CC - the C compiler to use for compiling smail
CC=c89

# CFLAGS - flags that should be passed to the C compiler
CFLAGS="-D_HPUX_SOURCE"

# OSLIBS - name any object libraries containing routines we will need
OSLIBS="-lndbm $OSLIBS"		# use this to get ndbm

# HAVE - what features should be used with this operating system
HAVE=BSTRING:SYS5_STRLIB:READDIR:VFPRINTF:GETOPT:DUP2:ULIMIT
HAVE=$HAVE:MKDIR:SETGROUPS:NDBM:GETHOSTNAME:BSD_NETWORKING:SETEUID

# MISC_DEFINES - miscellaneous definitions
MISC_DEFINES=INET_NTOA_USE_STRUCT

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

# MISC_C_DEFINES - add seteuid/gid variant for HP-UX.
MISC_C_DEFINES='
#define seteuid(uid) setresuid(-1, (uid), -1)
#define setegid(gid) setresgid(-1, (gid), -1)
'
