# System features file for SGI IRIX 3.1F and 3.2 (recent changes untested)

# order of linking for all the libraries mentioned in this file
LIB_TSORT=	-lsun -lresolv -lbsd

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

# signal handler return type
SIGNAL_TYPE=	void

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

# NFS support
# Include:	<mntent.h>
NFS_LIB=	-lsun
NFS_INCL=	/usr/include/sun

# 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
RESOLV_LIB=	-lresolv -lbsd
RESOLV_INCL=	/usr/include/bsd
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=	-lbsd
NDBM_INCL=	/usr/include/bsd

# DBM
# Library:	dbm_init(), fetch(), store(), delete(), firstkey(), nextkey()
# Include:	<dbm.h>
DBM_LIB=	-lbsd
DBM_INCL=	/usr/include/bsd

# Hosts file routines
# Library:	sethostent(), gethostbyname()
# Include:	<netdb.h>
# Hosts file:	"/etc/hosts"
HOSTS_LIB=	-lbsd
HOSTS_INCL=	/usr/include/bsd
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=	-lbsd
SYSLOG_INCL=	/usr/include/bsd

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

# Set each *_TYPE to the type of the corresponding function (see sysprotos.h)
FREAD_TYPE=	size_t
FWRITE_TYPE=	size_t
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 the each variable to indicate the corresponding feature exists in libc
LSTAT=
SETREUID=
#FCHOWN=
#FCHMOD=
STRCHR=
#UNAME=
DUP2=
#BSDSETPGRP=
#RLIMIT=
#BINMKDIR=
#BINRMDIR=
RENAME=
#STATBLKSIZ=
#BCOPY=
#NFSMBOX=
LOCKF=
UNIONWAIT=
#YP=	# USE_YP doesn't quite work yet
SELECT=
TIMEVAL=
#NOFILE=
#BSDNODELAY=
VFPRINTF=
DBMCLOSE=
FTRUNCATE=
#BSDTIMEZONE=
SYSVTIMEZONE=
SIGLIST=
SETVBUF=

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

