# -*-sh-*-
#ident  "@(#)smail/conf/os:RELEASE-3_2_0_114:solaris2,v 1.10 2001/07/30 18:41:09 woods Exp"
#
# solaris2 - define the characteristics of SunOS 5.x (5.2 or later)
#
# (This file should really be called sun_os5!)
#
# JSG <jamesg@cogs.susx.ac.uk>, 17th June 1993
# Slight mods by Nigel Metheringham <nigelm@ohm.york.ac.uk>
# More info from Joe Kelsey <joe@zircon.seattle.wa.us> 20 June 1996
# Fixed and tested by Greg A. Woods <woods@web.net> 20 November 1996
# (tested on SunOS-5.3, SunOS-5.4, and SunOS-5.5)
# (more recently tested on SunOS-5.6, SunOS-5.7, and SunOS-5.8)
#
. $ROOT/conf/os/sys5.4

# CC - presumably the path will have been set up for a C compiler.  The
# version in /usr/ucb shouldn't be used, as it forces use of BSD libraries.
# Unlike standard SVR4, cc will not be found in /bin.
# If gcc is all that's available, it should be chosen in the local EDITME.
CC=cc

# OSLIBS - override sys5.4's to eliminate -ldbm (ndbm is in libc)
# Note we don't include -lresolv -- you must always use BIND's resolver anyway!
# (Note this may not be true on 5.9, but I wouldn't bet on it.)
OSLIBS="-lbind -lgen -lsocket -lnsl"

# Who is nobody? 
SMAIL_NOBODY=nobody

# LMAIL - where the real /bin/mail resides
### SunOS-5 /usr/bin/mail correctly routes mail via the MTA
### so undo what sys5.4 does....
unset LMAIL

# HAVE list
### FIXME: ULIMIT and MEMMOVE should probably be in posix or sys5.4
HAVE=$HAVE:COMSAT:NISPLUS:ULIMIT:MEMMOVE
