798bdbdf39
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@399 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
261 lines
5.2 KiB
C
261 lines
5.2 KiB
C
|
|
/* are we using gcc */
|
|
#undef HAVE_GCC
|
|
|
|
/* should we use gcc threaded code (i.e. goto *adrs) */
|
|
#undef USE_THREADED_CODE
|
|
|
|
/* Should we use lib readline ? */
|
|
#undef HAVE_LIBREADLINE
|
|
|
|
/* Should we use gmp ? */
|
|
#undef HAVE_LIBGMP
|
|
|
|
/* What MPI libraries are there? */
|
|
#define HAVE_LIBMPI 0
|
|
#define HAVE_LIBMPICH 0
|
|
|
|
/* Should we use MPI ? */
|
|
#if HAVE_LIBMPI || HAVE_LIBMPICH
|
|
#define HAVE_MPI 1
|
|
#else
|
|
#define HAVE_MPI 0
|
|
#endif
|
|
|
|
/* Is there an MPE library? */
|
|
#define HAVE_LIBMPE 0
|
|
|
|
/* Should we use MPE ? */
|
|
#if HAVE_LIBMPE && HAVE_MPI
|
|
#define HAVE_MPE 1
|
|
#else
|
|
#define HAVE_MPE 0
|
|
#endif
|
|
|
|
|
|
/* does the compiler support inline ? */
|
|
#undef inline
|
|
|
|
/* Do we have Ansi headers ? */
|
|
#undef STDC_HEADERS
|
|
|
|
/* Host Name ? */
|
|
#undef HOST_ALIAS
|
|
|
|
#undef HAVE_SYS_WAIT_H
|
|
#undef NO_UNION_WAIT
|
|
|
|
#undef HAVE_ARPA_INET_H
|
|
#undef HAVE_CTYPE_H
|
|
#undef HAVE_DIRECT_H
|
|
#undef HAVE_DIRENT_H
|
|
#undef HAVE_ERRNO_H
|
|
#undef HAVE_FCNTL_H
|
|
#undef HAVE_FENV_H
|
|
#undef HAVE_FPU_CONTROL_H
|
|
#undef HAVE_GMP_H
|
|
#undef HAVE_IEEEFP_H
|
|
#undef HAVE_IO_H
|
|
#undef HAVE_LIMITS_H
|
|
#undef HAVE_MEMORY_H
|
|
#undef HAVE_NETDB_H
|
|
#undef HAVE_NETINET_IN_H
|
|
#undef HAVE_READLINE_READLINE_H
|
|
#undef HAVE_REGEX_H
|
|
#undef HAVE_SIGINFO_H
|
|
#undef HAVE_SIGNAL_H
|
|
#undef HAVE_STDARG_H
|
|
#undef HAVE_STRING_H
|
|
#undef HAVE_STROPTS_H
|
|
#undef HAVE_SYS_CONF_H
|
|
#undef HAVE_SYS_FILE_H
|
|
#undef HAVE_SYS_MMAN_H
|
|
#undef HAVE_SYS_PARAM_H
|
|
#undef HAVE_SYS_RESOURCE_H
|
|
#undef HAVE_SYS_SELECT_H
|
|
#undef HAVE_SYS_SHM_H
|
|
#undef HAVE_SYS_SOCKET_H
|
|
#undef HAVE_SYS_STAT_H
|
|
#undef HAVE_SYS_TIME_H
|
|
#undef HAVE_SYS_TIMES_H
|
|
#undef HAVE_SYS_TYPES_H
|
|
#undef HAVE_SYS_UCONTEXT_H
|
|
#undef HAVE_SYS_UN_H
|
|
#undef HAVE_TIME_H
|
|
#undef HAVE_UNISTD_H
|
|
#undef HAVE_WINSOCK_H
|
|
#undef HAVE_WINSOCK2_H
|
|
|
|
/* Do we have restartable syscalls */
|
|
#undef HAVE_RESTARTABLE_SYSCALLS
|
|
|
|
/* is 'tms' defined in <sys/time.h> ? */
|
|
#undef TM_IN_SYS_TIME
|
|
|
|
/* define type of prt returned by malloc: char or void */
|
|
#undef MALLOC_T
|
|
|
|
/* Define byte order */
|
|
#undef WORDS_BIGENDIAN
|
|
|
|
/* Define sizes of some basic types */
|
|
#undef SIZEOF_INT_P
|
|
#undef SIZEOF_INT
|
|
#undef SIZEOF_SHORT_INT
|
|
#undef SIZEOF_LONG_INT
|
|
#undef SIZEOF_LONG_LONG_INT
|
|
#undef SIZEOF_FLOAT
|
|
#undef SIZEOF_DOUBLE
|
|
|
|
/* Define representation of floats */
|
|
/* only one of the following shoud be set */
|
|
/* to add a new representation you must edit FloatOfTerm and MkFloatTerm
|
|
in adtdefs.c
|
|
*/
|
|
#define FFIEEE 1
|
|
#undef FFVAX /* manual */
|
|
|
|
/* Define the standard type of a float argument to a function */
|
|
#define FAFloat double /* manual */
|
|
|
|
/* Set the minimum and default heap, trail and stack size */
|
|
#undef MinTrailSpace
|
|
#undef MinStackSpace
|
|
#undef MinHeapSpace
|
|
|
|
#undef DefTrailSpace
|
|
#undef DefStackSpace
|
|
#undef DefHeapSpace
|
|
|
|
#if (DefTrailSpace < MinTrailSpace)
|
|
#undef DefTrailSpace
|
|
#define DefTrailSpace MinTrailSpace
|
|
#endif
|
|
|
|
#if (DefStackSpace < MinStackSpace)
|
|
#undef DefStackSpace
|
|
#define DefStackSpace MinStackSpace
|
|
#endif
|
|
|
|
#if (DefHeapSpace < MinHeapSpace)
|
|
#undef DefHeapSpace
|
|
#define DefHeapSpace MinHeapSpace
|
|
#endif
|
|
|
|
|
|
|
|
/* Define return type for signal */
|
|
#undef RETSIGTYPE
|
|
|
|
#undef HAVE_ACOSH
|
|
#undef HAVE_ALARM
|
|
#undef HAVE_ASINH
|
|
#undef HAVE_ATANH
|
|
#undef HAVE_CHDIR
|
|
#undef HAVE_DUP2
|
|
#undef HAVE_FETESTEXCEPT
|
|
#undef HAVE_FINITE
|
|
#undef HAVE_GETCWD
|
|
#undef HAVE_GETENV
|
|
#undef HAVE_GETHOSTBYNAME
|
|
#undef HAVE_GETHOSTID
|
|
#undef HAVE_GETHOSTNAME
|
|
#undef HAVE_GETHRTIME
|
|
#undef HAVE_GETPWNAM
|
|
#undef HAVE_GETRUSAGE
|
|
#undef HAVE_GETTIMEOFDAY
|
|
#undef HAVE_GETWD
|
|
#undef HAVE_ISATTY
|
|
#undef HAVE_ISNAN
|
|
#undef HAVE_KILL
|
|
#undef HAVE_LABS
|
|
#undef HAVE_LINK
|
|
#undef HAVE_LOCALTIME
|
|
#undef HAVE_LSTAT
|
|
#undef HAVE_MEMCPY
|
|
#undef HAVE_MEMMOVE
|
|
#undef HAVE_MKSTEMP
|
|
#undef HAVE_MKTEMP
|
|
#undef HAVE_MMAP
|
|
#undef HAVE_OPENDIR
|
|
#undef HAVE_POPEN
|
|
#undef HAVE_PUTENV
|
|
#undef HAVE_RAND
|
|
#undef HAVE_RANDOM
|
|
#undef HAVE_RENAME
|
|
#undef HAVE_RINT
|
|
#undef HAVE_RL_SET_PROMPT
|
|
#undef HAVE_SBRK
|
|
#undef HAVE_SELECT
|
|
#undef HAVE_SETBUF
|
|
#undef HAVE_SETLINEBUF
|
|
#undef HAVE_SHMAT
|
|
#undef HAVE_SIGACTION
|
|
#undef HAVE_SIGGETMASK
|
|
#undef HAVE_SIGINTERRUPT
|
|
#undef HAVE_SIGNAL
|
|
#undef HAVE_SIGPROCMASK
|
|
#undef HAVE_SIGSETJMP
|
|
#undef HAVE_SLEEP
|
|
#undef HAVE_SNPRINTF
|
|
#undef HAVE_SOCKET
|
|
#undef HAVE_STAT
|
|
#undef HAVE_STRCHR
|
|
#undef HAVE_STRERROR
|
|
#undef HAVE_STRNCAT
|
|
#undef HAVE_STRNCPY
|
|
#undef HAVE_STRTOD
|
|
#undef HAVE_SYSTEM
|
|
#undef HAVE_TIME
|
|
#undef HAVE_TIMES
|
|
#undef HAVE_TMPNAM
|
|
#undef HAVE_USLEEP
|
|
#undef HAVE_VSNPRINTF
|
|
#undef HAVE_WAITPID
|
|
#undef HAVE_MPZ_XOR
|
|
|
|
#undef HAVE_SIGSEGV
|
|
|
|
#undef HAVE_ENVIRON
|
|
|
|
#define SELECT_TYPE_ARG1
|
|
#define SELECT_TYPE_ARG234
|
|
#define SELECT_TYPE_ARG5
|
|
|
|
#define TYPE_SELECT_
|
|
#define MYTYPE(X) MYTYPE1#X
|
|
|
|
/* define how to pass the address of a function */
|
|
#define FunAdr(Fn) Fn
|
|
|
|
#define ALIGN_LONGS 1
|
|
#define LOW_ABSMI 0
|
|
|
|
#define MSHIFTOFFS 1
|
|
|
|
#define USE_MMAP (HAVE_MMAP)
|
|
#define USE_SHM (HAVE_SHMAT & !HAVE_MMAP)
|
|
#define USE_SBRK (HAVE_SBRK & !HAVE_MMAP & !HAVE_SHMAT)
|
|
|
|
/* for OSes that do not allow user access to the first
|
|
quadrant of the memory space */
|
|
#undef FORCE_SECOND_QUADRANT
|
|
|
|
#if (HAVE_SOCKET || defined(__MINGW32__)) && !defined(SIMICS)
|
|
#define USE_SOCKET 1
|
|
#endif
|
|
|
|
#if HAVE_GMP_H && HAVE_LIBGMP
|
|
#define USE_GMP 1
|
|
#endif
|
|
|
|
/* Is fflush(NULL) clobbering input streams? */
|
|
#undef BROKEN_FFLUSH_NULL
|
|
|
|
/* sunpro cc */
|
|
#ifdef __SUNPRO_CC
|
|
#ifdef HAVE_GCC
|
|
#undef HAVE_GCC
|
|
#endif
|
|
#endif
|