# System features file for Linux
#
#  LINUX uses POSIX.1 !!!
#
# There are several issues of kernel version compability
# - The  mmap() started to work on 1.3.* (low tens), and
#   is definitely broken on 1.2.* series
#

# 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

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=
#MNTENT_H=	<mntent.h>

# BIND nameserver
# Library:	BIND resolver routines
# Include:	<netdb.h>, <arpa/nameser.h>, <resolv.h>
# Config file:	/etc/resolv.conf or /usr/etc/resolv.conf or similar
# NB!! the SunOS 4.0 and 4.1 libresolv.a are not up to date.  Get
# and install a recent copy of BIND from ucbarpa.berkeley.edu.
RESOLV_LIB=
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=	-ldbm
#NDBM_INCL=

# GDBM
GDBM_LIB=	-lgdbm
GDBM_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=	<netdb.h>
#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=
#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=
#RLIMIT=
#BINMKDIR=
#BINRMDIR=
RENAME=
STATBLKSIZ=
#BCOPY=
#BZERO=

# Mailbox locking defines work this way (see transports/mailbox/mailbox.c):
#	If DOTLOCK is defined, do V7-style .lock locking.
#	If MAILLOCK, use maillock(3X). (Solaris 2.3, SVR4 ?)
#	If NFSMBOX, use NFS-compatible flock locking (see support/nfslock.c).
#	else if LOCKF, use lockf
#	else use flock (if LOCK_EX is defined).
# Here, we do DOTLOCK'ing for compatibility with Sun programs,
# and flock'ing.  We flock because some old local programs
# use flock, and because it's so cheap and easy.
#
DOTLOCK=
#MAILLOCK=
#NFSMBOX=
FLOCK=
#LOCKF=

#UNIONWAIT=
#WAIT3=
WAITPID=	# POSIX.1
#YP=
GETPWNAM=	# define this if getpwent() iteration is inappropriate
SELECT=
TIMEVAL=
#NOFILE=
BSDNODELAY=
VFPRINTF=
#DBMCLOSE=
FTRUNCATE=
#BSDTIMEZONE=
SYSVTIMEZONE=
SETVBUF=
SETSID=
#GETWD=
POSIXMNTENT=
GETDTABLESIZE=	# The system has  getdtablesize() (in the libc)
MMAP=		# Can it mmap() files into memory ? Kernel version dependent ?
SYSVIPC=	# shared memory segments
STRERRNO=
UNISTD=
STDLIB=
SOCKETPAIR=
SIGLIST=

#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=
