diff --git a/src/machine.h.in b/src/machine.h.in deleted file mode 100644 index efdf7b32f3397a4f77fdf410df6fd5916e3f97d1..0000000000000000000000000000000000000000 --- a/src/machine.h.in +++ /dev/null @@ -1,385 +0,0 @@ -#ifndef MACHINE_H -#define MACHINE_H - -/* Where's the master.pike file installed? */ -#define DEFAULT_MASTER "@prefix@/lib/pike/master.pike" - -/* Define this if you want run time self tests */ -#undef DEBUG - -/* Define for solaris */ -#undef SOLARIS - -/* Define if using alloca.c. */ -#undef C_ALLOCA - -/* Define if the closedir function returns void instead of int. */ -#undef VOID_CLOSEDIR - -/* Define if you have alloca.h and it should be used (not Ultrix). */ -#undef HAVE_ALLOCA_H - -/* Define if you have locale.h */ -#undef HAVE_LOCALE_H - -/* Define if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Define if you have the <memory.h> header file. */ -#undef HAVE_MEMORY_H - -/* Define if you have the <sys/mman.h> header file. */ -#undef HAVE_SYS_MMAN_H - -/* Define if you have the <crypt.h> header file. */ -#undef HAVE_CRYPT_H - -/* Define if you have the <stdlib.h> header file. */ -#undef HAVE_STDLIB_H - -/* Define if you have the <string.h> header file. */ -#undef HAVE_STRING_H - -/* Define if you have the <sys/rusage.h> header file. */ -#undef HAVE_SYS_RUSAGE_H - -/* Define if you have the <sys/time.h> header file. */ -#undef HAVE_SYS_TIME_H - -/* Define if you have the <sys/types.h> header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define if you have the <time.h> header file. */ -#undef HAVE_TIME_H - -/* Define if we may include both time.h and sys/time.h */ -#undef TIME_WITH_SYS_TIME - -/* Define if you have the <sys/select.h> header file. */ -#undef HAVE_SYS_SELECT_H - -/* Define if you have the <sys/resource.h> header file. */ -#undef HAVE_SYS_RESOURCE_H - -/* Define if you have the <unistd.h> header file. */ -#undef HAVE_UNISTD_H - -/* Define if you have the <setjmp.h> header file. */ -#undef HAVE_SETJMP_H - -/* Define if you have the <limits.h> header file. */ -#undef HAVE_LIMITS_H - -/* more header files */ -#undef HAVE_FCNTL_H -#undef HAVE_SYS_FILIO_H -#undef HAVE_SYS_SOCKIO_H - -/* Define as __inline if that's what the C compiler calls it. */ -#undef inline - -/* Define if you compiler _doesn't_ have const */ -#undef const - -/* Define to `int' if <sys/types.h> doesn't define. */ -#undef pid_t - -/* Define to `int' if <sys/types.h> doesn't define. */ -#undef uid_t - -/* Define to `int' if <sys/types.h> doesn't define. */ -#undef gid_t - -/* Define to 'int' if <sys/time.h> doesn't */ -#undef time_t - -/* Define as the return type of signal handlers (int or void). */ -#undef RETSIGTYPE - -/* Define to `unsigned' if <sys/types.h> doesn't define. */ -#undef size_t - -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at run-time. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown - */ -#undef STACK_DIRECTION - -/* Is the library function inet_ntoa() compatible with the compiler ? */ -#undef INET_NTOA_OK - -/* The following values must be evaluable by the preprocessor */ -#define SIZEOF_CHAR_P 4 -#define SIZEOF_INT 4 -#define SIZEOF_LONG 4 -#define SIZEOF_SHORT 2 -#define SIZEOF_FLOAT 4 -#define SIZEOF_DOUBLE 8 - -#undef RENAME_HANDLES_DIRECTORIES - -/* Does the system have a getrusage call? */ -#undef HAVE_GETRUSAGE -/* If so, is it restricted to user and system time? */ -#undef GETRUSAGE_RESTRICTED -/* Solaris has rusage as an ioctl on procfs */ -#undef GETRUSAGE_THROUGH_PROCFS - -/* How to set a socket non-blocking */ -#undef USE_IOCTL_FIONBIO -#undef USE_FCNTL_O_NDELAY -#undef USE_FCNTL_FNDELAY -#undef USE_FCNTL_O_NONBLOCK - -/* Define if you have index */ -#undef HAVE_STRTOL - -/* Define if you have rindex */ -#undef HAVE_RINDEX - -/* Define if you have strchr */ -#undef HAVE_STRCHR - -/* Define if you have strrchr */ -#undef HAVE_STRRCHR - -/* Define if you have strstr */ -#undef HAVE_STRSTR - -/* Define if you have strtok */ -#undef HAVE_STRTOK - -/* Define if you have strcasecmp */ -#undef HAVE_STRCASECMP - -/* Define if you have isspace */ -#undef HAVE_ISSPACE - -/* Define if you have strtod */ -#undef HAVE_STRTOD - -/* Define if you have bzero. */ -#undef HAVE_BZERO - -/* Define if you have crypt. */ -#undef HAVE_CRYPT - -/* Define if you have _crypt. */ -#undef HAVE__CRYPT - -/* Define if you have ualarm (else put ualarm.o in the makefile). */ -#undef HAVE_UALARM - -/* Define if your ualarm takes two args.. */ -#undef UALARM_TAKES_TWO_ARGS - -/* Define if you have fchmod. */ -#undef HAVE_FCHMOD - -/* Define if you have getenv. */ -#undef HAVE_GETENV - -/* Define if you have gettimeofday. */ -#undef HAVE_GETTIMEOFDAY - -/* Define if gettimeofday takes to arguments */ -#undef GETTIMEOFDAY_TAKES_TWO_ARGS - -/* Does your unix have a putenv function? */ -#undef HAVE_PUTENV - -/* Define if you have memchr */ -#undef HAVE_MEMCMP - -/* Define if you have memchr */ -#undef HAVE_MEMCHR - -/* Define if you have memcpy. */ -#undef HAVE_MEMCPY - -/* Define if you have memmove. */ -#ifndef __CHECKER__ -#undef HAVE_MEMMOVE -#endif - -/* Define if you have memmem. */ -#undef HAVE_MEMMEM - -/* Define if you have memset. */ -#undef HAVE_MEMSET - -/* Define if you have mmap() */ -#undef HAVE_MMAP - -/* Define if you have munmap() */ -#undef HAVE_MUNMAP - -/* Define if you have strcspn. */ -#undef HAVE_STRCSPN - -/* Define if you have vfprintf. */ -#undef HAVE_VFPRINTF - -/* Define if you have vsprintf. */ -#undef HAVE_VSPRINTF - -/* Define if you have setlocale. */ -#undef HAVE_SETLOCALE - -/* Define if you have strcoll. */ -#undef HAVE_STRCOLL - -/* Define if you have sigaction */ -#undef HAVE_SIGACTION - -/* Define if you have sigvec */ -#undef HAVE_SIGVEC - -/* Define if your signals are one-shot */ -#undef SIGNAL_ONESHOT - -/* Define if you have setrlimit */ -#undef HAVE_SETRLIMIT - -/* Define if you have getrlimit */ -#undef HAVE_GETRLIMIT - -/* define if you have localtime */ -#undef HAVE_LOCALTIME - -/* Define if you have waitpid */ -#undef HAVE_WAITPID - -/* Define if you have wait4 */ -#undef HAVE_WAIT4 - -/* Define if you have the m library (-lm). */ -#undef HAVE_LIBM - -/* Define if you have the nsl library (-lnsl). */ -#undef HAVE_LIBNSL - -/* Define if you have the socket library (-lsocket). */ -#undef HAVE_LIBSOCKET - -/* You have gcc stype function attributes? */ -#undef HAVE_FUNCTION_ATTRIBUTES - -/* Do your compiler grock 'volatile' */ -#define VOLATILE volatile - -#ifdef HAVE_FUNCTION_ATTRIBUTES -#define ATTRIBUTE(X) __attribute__ (X) -#else -#define ATTRIBUTE(X) -#endif - -/* How to extract a char and an unsigned char from a char * */ -#undef EXTRACT_CHAR_BY_CAST -#undef EXTRACT_UCHAR_BY_CAST - -/* The rest of this file is just to eliminate warnings */ - -/* define if declaration of strchr is missing */ -#undef STRCHR_DECL_MISSING - -/* define if declaration of malloc is missing */ -#undef MALLOC_DECL_MISSING - -/* define if declaration of getpeername is missing */ -#undef GETPEERNAME_DECL_MISSING - -/* define if declaration of gethostname is missing */ -#undef GETHOSTNAME_DECL_MISSING - -/* define if declaration of popen is missing */ -#undef POPEN_DECL_MISSING - -/* define if declaration of getenv is missing */ -#undef GETENV_DECL_MISSING - -/* what type does malloc return? */ -#undef POINTER - -/* what type does free return? */ -#undef FREE_RETURNS_VOID - -/* Does your processor handle reading ints from odd adresses? */ -#undef HANDLES_UNALIGNED_MEMORY_ACCESS - -/* What byteorder doe your machie use most machines use 4321, PC use 1234 */ -#define BYTEORDER 0 - -/* Number of possible filedesriptors */ -#define MAX_OPEN_FILEDESCRIPTORS 1024 - -/* Value of first constant defined by byacc/bison/yacc or whatever you use. */ -#define F_OFFSET 257 - -/* Define this if struct tm is included in <sys/time.h> as opposed to <time.h> */ -#undef TM_IN_SYS_TIME - -/* define this if #include <time.h> provides an external int timezone */ -#undef HAVE_EXTERNAL_TIMEZONE - -/* define this if your struct tm has a tm_gmtoff */ -#undef STRUCT_TM_HAS_GMTOFF - -/* Define if you have struct timeval */ -#undef HAVE_STRUCT_TIMEVAL - -/* Define this to the max value of an unsigned short unles <limits.h> does.. */ -#undef USHRT_MAX - -/* define this if you have thread.h */ -#undef HAVE_THREAD_H - -/* define this if you have pthread.h */ -#undef HAVE_PTHREAD_H - -/* Define these if you are going to use threads */ -#undef _REENTRANT -#undef _THREAD_SAFE - -/* Define this if you want the UNIX taste of threads */ -#undef _UNIX_THREADS - -/* Define this if you want the POSIX taste of threads */ -#undef _MIT_POSIX_THREADS - -/* Define this if you have pthread_attr_setstacksize() */ -#undef HAVE_PTHREAD_ATTR_SETSTACKSIZE - -/* Define this if you have SGI's old style sproc() share group processes */ -#undef HAVE_SPROC - -/* Define this if you have oserror() */ -#undef HAVE_OSERROR - -/* We want to use errno later */ -#if !defined(_UNIX_THREADS) && !defined(_MIT_POSIX_THREADS) && defined(HAVE_SPROC) && defined(HAVE_OSERROR) && !defined(errno) -#define errno (oserror()) -#endif /* !_UNIX_THREADS && !_MIT_POSIX_THREADS && HAVE_SPROC && HAVE_OSERROR */ - -/* Define this if you have dlopen() */ -#undef HAVE_DLOPEN - -/* Define this if you have dlsym() */ -#undef HAVE_DLSYM - -/* Define this if you have dld_link() */ -#undef HAVE_DLD_LINK - -/* Define this if you have dld_get_func() */ -#undef HAVE_DLD_GET_FUNC - -/* Define this if you have <dlfcn.h> */ -#undef HAVE_DLFCN_H - -/* Define this if you have <dld.h> */ -#undef HAVE_DLD_H - -#endif /* MACHINE_H */