mux2.0/
mux2.0/game/bin/
mux2.0/game/data/
mux2.0/src/tools/
/* autoconf.h.in -- System-dependent configuration information */

#ifndef AUTOCONF_H
#define AUTOCONF_H

#include "copyright.h"

/* ---------------------------------------------------------------------------
 * Configuration section:
 *
 * These defines are written by the configure script.
 * Change them if need be
 */

/* Define if we have stdlib.h et al */
#undef STDC_HEADERS
/* Define if we have strchr */
#undef HAVE_STRCHR
/* Define if we have memcpy */
#undef HAVE_MEMCPY
/* Define if we have unistd.h */
#undef HAVE_UNISTD_H
/* Define if we have memory.h and need it to get memcmp et al */
#undef NEED_MEMORY_H
/* Decl for pid_t */
#undef pid_t
/* signal() return type */
#define RETSIGTYPE void
/* Define if we have vfork.h */
#undef HAVE_VFORK_H
/* Define if vfork is broken */
#undef vfork
/* Define if wait3 exists and works */
#undef HAVE_WAIT3
/* Define if struct tm is not in time.h */
#undef TM_IN_SYS_TIME
/* Define if struct tm has a timezone member */
#undef HAVE_TM_ZONE
/* Define if tzname[] exists */
#undef HAVE_TZNAME
/* Define if setrlimit exists */
#undef HAVE_SETRLIMIT
/* Define if getrusage exists */
#undef HAVE_GETRUSAGE
/* Define if timelocal exists */
#undef HAVE_TIMELOCAL
/* Define if mktime exists */
#undef HAVE_MKTIME
/* Define if getdtablesize exists */
#undef HAVE_GETDTABLESIZE
/* Define if getpagesize exists */
#undef HAVE_GETPAGESIZE
/* Define if gettimeofday exists */
#undef HAVE_GETTIMEOFDAY
/* Define if srandom exists */
#undef HAVE_SRANDOM
/* Define if sys_siglist[] exists */
#undef HAVE_SYS_SIGLIST
/* Define if _sys_siglist[] exists */
#undef HAVE__SYS_SIGLIST
/* Define if index/rindex/mem??? are defined in string.h */
#undef INDEX_IN_STRING_H
/* Define if malloc/realloc/free are defined in stdlib.h */
#undef MALLOC_IN_STDLIB_H
/* Define if calling signal with SIGCHLD when handling SIGCHLD blows chow */
#undef SIGNAL_SIGCHLD_BRAINDAMAGE
/* Define if errno.h exists */
#undef HAVE_ERRNO_H
/* Define if malloc.h exists */
#undef HAVE_MALLOC_H
/* Define if sys/wait.h exists */
#undef HAVE_SYS_WAIT_H
/* Define if sys/select.h exists */
#undef HAVE_SYS_SELECT_H
/* Define if sys/rusage.h exists */
#undef HAVE_SYS_RUSAGE_H
/* Define if const is broken */
#undef const
/* Define if char type is unsigned */
#undef __CHAR_UNSIGNED__
/* Define if inline keyword is broken or nonstandard */
#undef inline
/* Define if we need to redef index/bcopy et al to their SYSV counterparts */
#undef NEED_INDEX_DCL
/* Define if we need to declare malloc et al */
#undef NEED_MALLOC_DCL
/* Define if you need to declare vsprintf yourself */
#undef NEED_VSPRINTF_DCL
/* Define if you need to declare sys_siglist yourself */
#undef NEED_SYS_SIGLIST_DCL
/* Define if you need to declare _sys_siglist yourself */
#undef NEED__SYS_SIGLIST_DCL
/* Define if you need to declare sys_errlist yourself */
#undef NEED_SYS_ERRLIST_DCL
/* Define if you need to declare _sys_errlist yourself */
#undef NEED_SYS__ERRLIST_DCL
/* Define if you need to declare perror yourself */
#undef NEED_PERROR_DCL
/* Define if you need to declare sprintf yourself */
#undef NEED_SPRINTF_DCL
/* Define if you need to declare getrlimit yourself */
#undef NEED_GETRLIMIT_DCL
/* Define if you need to declare getrusage yourself */
#undef NEED_GETRUSAGE_DCL
/* Define if struct linger is defined */
#undef HAVE_LINGER
/* Define if signal handlers have a struct sigcontext as their third arg */
#undef HAVE_STRUCT_SIGCONTEXT
/* Define if stdio.h defines lots of extra functions */
#undef EXTENDED_STDIO_DCLS
/* Define if sys/socket.h defines lots of extra functions */
#undef EXTENDED_SOCKET_DCLS
/* Define if socklen_t is defined */
#undef SOCKLEN_T_DCL
/* Define if sys/wait.h defines union wait. */
#undef HAVE_UNION_WAIT
/* Define if we have system-supplied ndbm routines */
#undef HAVE_NDBM
/* Define if we have system-supplied (old) dbm routines */
#undef HAVE_DBM
/* Define if we may safely include both time.h and sys/time.h */
#undef TIME_WITH_SYS_TIME
/* Define if sys/time.h exists */
#undef HAVE_SYS_TIME_H
/* Define if you need to declare gettimeofday yourself */
#undef NEED_GETTIMEOFDAY_DCL
/* Define if you need to declare wait3 yourself */
#undef NEED_WAIT3_DCL
/* Define if you need to declare srandom yourself */
#undef NEED_SRANDOM_DCL
/* Define if you need to declare random yourself */
#undef NEED_RANDOM_DCL
/* Define if you need to declare getpagesize yourself */
#undef NEED_GETPAGESIZE_DCL
/* Define if you have IEEE floating-point formatted numbers */
#undef HAVE_IEEE_FP_FORMAT
/* Define if your IEEE floating-point library can generate NaN */
#undef HAVE_IEEE_FP_SNAN

/* ---------------------------------------------------------------------------
 * Setup section:
 *
 * Load system-dependent header files.
 */

/* Prototype templates for ANSI C and traditional C */

#ifdef __STDC__
#define NDECL(f)        f(void)
#define FDECL(f,p)      f p
#ifdef STDC_HEADERS
#define VDECL(f,p)      f p
#else
#define VDECL(f,p)      f()
#endif
#else
#define NDECL(f)        f()
#define FDECL(f,p)      f()
#define VDECL(f,p)      f()
#endif

#ifdef STDC_HEADERS
# ifdef __STDC__
#  include <stdarg.h>
# else /* __STDC__ */
#  include <varargs.h>
# endif /* __STDC__ */
#include <stdlib.h>
#include <limits.h>
#else
#include <varargs.h>
extern int    FDECL(atoi, (const char *));
extern double FDECL(atof, (const char *));
extern long   FDECL(atol, (const char *));
extern int    FDECL(qsort, (char *, int, int, int (*)()));
#endif

#ifdef NEED_MEMORY_H
#include <memory.h>
#endif

#ifdef STDC_HEADERS
#include <string.h>
#ifdef NEED_INDEX_DCL
#define index           strchr
#define rindex          strrchr
#define bcopy(s,d,n)    memmove(d,s,n)
#define bcmp(s1,s2,n)   memcmp(s1,s2,n)
#define bzero(s,n)      memset(s,0,n)
#endif
#else
#include <strings.h>
extern char *   FDECL(strchr, (char *, char));
extern void     FDECL(bcopy, (char *, char *, int));
extern int      FDECL(bcmp, (char *, char *, int));
extern void     FDECL(bzero, (char *, int));
#endif

#ifdef HAVE_UNISTD_H
#include <unistd.h>
#ifndef HAVE_GETPAGESIZE
#ifndef _SC_PAGE_SIZE
#define NM_BLOODY_PAGE_SYMBOL _SC_PAGESIZE
#else
#define NM_BLOODY_PAGE_SYMBOL _SC_PAGE_SIZE
#endif
#endif
#endif

#ifdef TIME_WITH_SYS_TIME
#include <sys/time.h>
#include <time.h>
#else
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#else
#include <time.h>
#endif
#endif

#if defined(HAVE_SETRLIMIT) || defined(HAVE_GETRUSAGE)
#include <sys/resource.h>
#ifdef NEED_GETRUSAGE_DCL
extern int      FDECL(getrusage, (int, struct rusage *));
#endif
#ifdef NEED_GETRLIMIT_DCL
extern int      FDECL(getrlimit, (int, struct rlimit *));
extern int      FDECL(setrlimit, (int, struct rlimit *));
#endif
#endif

#ifdef HAVE_SYS_FILE_H
#include <sys/file.h>
#endif

#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif

#ifdef HAVE_GETTIMEOFDAY
#ifdef NEED_GETTIMEOFDAY_DCL
extern int FDECL(gettimeofday, (struct timeval *, struct timezone *));
#endif
#endif

#ifdef HAVE_GETDTABLESIZE
extern int NDECL(getdtablesize);
#endif

#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif

#ifdef HAVE_WAIT3
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
#ifdef NEED_WAIT3_DCL
#ifdef HAVE_UNION_WAIT
extern int FDECL(wait3, (union wait *, int, struct rusage *));
#else
extern int FDECL(wait3, (int *, int, struct rusage *));
#endif
#endif
#endif

#include <sys/param.h>
#ifndef HAVE_GETPAGESIZE
#ifdef EXEC_PAGESIZE
#define getpagesize() EXEC_PAGESIZE
#else
#ifdef NBPG
#ifndef CLSIZE
#define CLSIZE 1
#endif /* no CLSIZE */
#define getpagesize() NBPG * CLSIZE
#else /* no NBPG */
#ifdef NBPC
#define getpagesize() NBPC
#else
#define getpagesize() PAGESIZE
#endif /* no NBPC */
#endif /* no NBPG */
#endif /* no EXEC_PAGESIZE */
#else /* we've got a getpagesize() function, whee */
#ifdef NEED_GETPAGESIZE_DECL
extern int NDECL(getpagesize);
#endif /* NEED_GETPAGESIZE_DECL */
#endif /* HAVE_GETPAGESIZE */

#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif

#ifdef HAVE_MALLOC_H
#include <malloc.h>
#else
#ifdef NEED_MALLOC_DCL
extern char *   FDECL(malloc, (int));
extern char *   FDECL(realloc, (char *, int));
extern int      FDECL(free, (char *));
#endif
#endif

#ifdef NEED_SYS_ERRLIST_DCL
extern char *sys_errlist[];
#endif

#ifndef HAVE_TIMELOCAL

#ifndef HAVE_MKTIME
#define NEED_TIMELOCAL
extern time_t FDECL(timelocal, (struct tm *));
#else
#define timelocal mktime
#endif /* HAVE_MKTIME */

#endif /* HAVE_TIMELOCAL */

#ifdef HAVE_VFORK_H
#include <vfork.h>
#endif

#ifndef HAVE_SRANDOM
#define random rand
#define srandom srand
#else
#ifdef NEED_SRANDOM_DCL
#ifndef random  // only if not a macro
#ifdef NEED_RANDOM_DCL
extern long     NDECL(random);
#endif // NEED_RANDOM_DCL
#endif
extern int      FDECL(srandom, (int));
#endif // NEED_SRANDOM_DCL
#endif // HAVE_SRANDOM

#include <sys/types.h>
#include <stdio.h>

#ifndef VMS
#include <fcntl.h>
#else
#include <sys/fcntl.h>
#endif

#ifdef NEED_SPRINTF_DCL
extern char *VDECL(sprintf, (char *, const char *, ...));
#endif

#ifndef EXTENDED_STDIO_DCLS
extern int    VDECL(fprintf, (FILE *, const char *, ...));
extern int    VDECL(printf, (const char *, ...));
extern int    VDECL(sscanf, (const char *, const char *, ...));
extern int    FDECL(close, (int));
extern int    FDECL(fclose, (FILE *));
extern int    FDECL(fflush, (FILE *));
extern int    FDECL(fgetc, (FILE *));
extern int    FDECL(fputc, (int, FILE *));
extern int    FDECL(fputs, (const char *, FILE *));
extern int    FDECL(fread, (void *, size_t, size_t, FILE *));
extern int    FDECL(fseek, (FILE *, long, int));
extern int    FDECL(fwrite, (void *, size_t, size_t, FILE *));
extern pid_t  FDECL(getpid, (void));
extern int    FDECL(pclose, (FILE *));
extern int    FDECL(rename, (char *, char *));
extern time_t FDECL(time, (time_t *));
extern int    FDECL(ungetc, (int, FILE *));
extern int    FDECL(unlink, (const char *));
#endif

#include <sys/socket.h>
#ifndef EXTENDED_SOCKET_DCLS
extern int    FDECL(accept, (int, struct sockaddr *, int *));
extern int    FDECL(bind, (int, struct sockaddr *, int));
extern int    FDECL(listen, (int, int));
extern int    FDECL(sendto, (int, void *, int, unsigned int,
                    struct sockaddr *, int));
extern int    FDECL(setsockopt, (int, int, int, void *, int));
extern int    FDECL(shutdown, (int, int));
extern int    FDECL(socket, (int, int, int));
extern int    FDECL(select, (int, fd_set *, fd_set *, fd_set *, struct timeval *));
#endif

typedef int   dbref;
typedef int   FLAG;
typedef int   POWER;
typedef char  boolexp_type;
typedef char  IBUF[16];

#endif /* AUTOCONF_H */