# System features file for FreeBSD 2.x
#
# by tom@uniserve.com
#
# updated 10-1-95
#
# This should be pretty close for NetBSD and BSDi.
#
# * BSD normally saves core dumps as <program name>.core  However, Zmailer 
# expects core dumps to be just called "core".  Therefore, some code in 
# scheduler/mailq to detect core dumps doesn't work.
#
# * FreeBSD's sed doesn't work as Zmailer expects, but GNU sed works alright.
#
# * Requires GNU make, unless your BSD make has been hacked
#
# * BSD4.4 has ndbm, but not the ndbm_pagnfo() call which Zmailer requires.

# Debugging memory allocator
#
MALLOC_LIB=	../libmalloc/libmalloc_d.a

# If compiler/user wants/can use  alloca(), it helps on several
# places.  Define where is the relevant  #include <alloca.h> ...
#HAVE_ALLOCA_H=

# sys_siglist[] -- text describing each signal
#SIGLIST_LIB=

# signal handler return type
SIGNAL_TYPE=	void

#SYS_STREAM_H=	<sys/stream.h>
FCNTL_H=	<fcntl.h>

# Pick up the system identity information
UTSNAME_H=	<sys/utsname.h>

# IP IPC
# Library:	network and socket routines
# Include:	<netinet/*.h>, <net/*.h> etc
INET_LIB=
INET_INCL=	

# NFS support
# Include:	<mntent.h>
#NFS_LIB=
#NFS_INCL=

# BIND nameserver
# Library:	BIND resolver routines
# Include:	<netdb.h>, <arpa/nameser.h>, <resolv.h>
# Config file:	/etc/resolv.conf
RESOLV_LIB=	-lresolv
RESOLV_INCL=	
RESOLV_CONF=	"/etc/resolv.conf"

# NDBM
# Library:	dbm_open(), dbm_close(), dbm_fetch(), dbm_store(), dbm_delete(),
#		dbm_firstkey(), dbm_nextkey(), dbm_error(), dbm_clearerr()
# Include:	<ndbm.h>
#NDBM_LIB=
#NDBM_INCL=

# DBM
# Library:	dbm_init(), fetch(), store(), delete(), firstkey(), nextkey()
# Include:	<dbm.h>
#DBM_LIB=	-ldbm
#DBM_INCL=

# Hosts file routines
# Library:	sethostent(), gethostbyname()
# Include:	<netdb.h>
# Hosts file:	"/etc/hosts"
HOSTS_LIB=
HOSTS_INCL=	
HOSTS_FILE=	"/etc/hosts"

# Directory reading routines
# Library:	opendir(), readdir(), closedir(), rewinddir()
# Header file:	<sys/dir.h> on BSD, <dirent.h> on SVID, perhaps <ndir.h>
# Type:		either 'direct' or 'dirent' depending on flavour
NDIR_LIB=
NDIR_H=		<dirent.h>
NDIR_TYPE=	dirent

# Syslog routines
# Library:      openlog(), syslog()
# Include:      <syslog.h>
SYSLOG_LIB=
SYSLOG_INCL=

# Mail lock routines
# Library:	maillock(), mailunlock()
# Include:	<maillock.h>
#MAILLOCK_LIB=	-lmail
#MAILLOCK_INCL=
#MAILLOCK_H=

# Location of time structure definitions
TIME_H=               <sys/time.h>

#PROTOS=

# Set each *_TYPE to the type of the corresponding function (see sysprotos.h)
FREAD_TYPE=	int
FWRITE_TYPE=	int
GETEUID_TYPE=	uid_t
GETUID_TYPE=	uid_t
SPRINTF_TYPE=	int
STRLEN_TYPE=	size_t
UMASK_TYPE=	mode_t
TIMES_TYPE=	clock_t
SETPWENT_TYPE=	void

# Set each variable to indicate the corresponding feature exists in libc
LSTAT=
SETREUID=
SETEUID=
FCHOWN=
FCHMOD=
STRCHR=
UNAME=
DUP2=
#BSDSETPGRP=	# Seems to refer to getpgrp() only; BSD4.4 goes with POSIX
RLIMIT=
#BINMKDIR=
#BINRMDIR=
RENAME=
STATBLKSIZ=
BCOPY=
BZERO=
#NFSMBOX=
#LOCKF=
#MAILLOCK=
FLOCK=
#UNIONWAIT=
WAITPID=
#YP=
GETPWNAM=	# define this if getpwent() iteration is inappropriate
SELECT=
TIMEVAL=
#NOFILE=
BSDNODELAY=
VFPRINTF=
STATFS=		# Solaris has   statvfs() et.al.  BSD has  statfs()...
#DBMCLOSE=
FTRUNCATE=
BSDTIMEZONE=
#SYSVTIMEZONE=
SIGLIST=
SETVBUF=
SETSID=
#GETWD=
MMAP=		
STRERROR=
SOCKETPAIR=

#file system stuff, how to get block size, on sgi want a #include <sys/fs/s5macros.h>

# (Zmailer) System contains RFC931/1413 auth interaction routine
#IDENT=
