2001-04-09 20:54:03 +01:00
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
2002-02-11 20:46:41 +00:00
|
|
|
/* What MPI libraries are there? */
|
2002-02-22 14:31:45 +00:00
|
|
|
#define HAVE_LIBMPI 0
|
|
|
|
#define HAVE_LIBMPICH 0
|
2002-02-11 20:46:41 +00:00
|
|
|
|
|
|
|
/* Should we use MPI ? */
|
2002-02-26 15:33:16 +00:00
|
|
|
#if HAVE_LIBMPI || HAVE_LIBMPICH
|
2002-05-28 17:41:24 +01:00
|
|
|
#define HAVE_MPI 1
|
2002-02-11 20:46:41 +00:00
|
|
|
#else
|
2002-05-28 17:41:24 +01:00
|
|
|
#define HAVE_MPI 0
|
2002-02-11 20:46:41 +00:00
|
|
|
#endif
|
|
|
|
|
2002-02-22 14:31:45 +00:00
|
|
|
/* Is there an MPE library? */
|
|
|
|
#define HAVE_LIBMPE 0
|
|
|
|
|
|
|
|
/* Should we use MPE ? */
|
|
|
|
#if HAVE_LIBMPE && HAVE_MPI
|
2002-05-28 17:45:28 +01:00
|
|
|
#define HAVE_MPE 1
|
2002-02-22 14:31:45 +00:00
|
|
|
#else
|
2002-05-28 17:45:28 +01:00
|
|
|
#define HAVE_MPE 0
|
2002-02-22 14:31:45 +00:00
|
|
|
#endif
|
|
|
|
|
2001-04-09 20:54:03 +01:00
|
|
|
/* does the compiler support inline ? */
|
|
|
|
#undef inline
|
|
|
|
|
|
|
|
/* Do we have Ansi headers ? */
|
|
|
|
#undef STDC_HEADERS
|
|
|
|
|
|
|
|
/* Host Name ? */
|
|
|
|
#undef HOST_ALIAS
|
|
|
|
|
2004-01-23 02:23:51 +00:00
|
|
|
#undef SUPPORT_CONDOR
|
|
|
|
#undef SUPPORT_THREADS
|
2004-02-11 16:09:15 +00:00
|
|
|
#undef USE_PTHREAD_LOCKING
|
2004-01-23 02:23:51 +00:00
|
|
|
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_SYS_WAIT_H
|
|
|
|
#undef NO_UNION_WAIT
|
|
|
|
|
|
|
|
#undef HAVE_ARPA_INET_H
|
|
|
|
#undef HAVE_CTYPE_H
|
|
|
|
#undef HAVE_DIRECT_H
|
2001-05-21 21:00:05 +01:00
|
|
|
#undef HAVE_DIRENT_H
|
2002-04-23 15:37:56 +01:00
|
|
|
#undef HAVE_DLFCN_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_ERRNO_H
|
|
|
|
#undef HAVE_FCNTL_H
|
|
|
|
#undef HAVE_FENV_H
|
|
|
|
#undef HAVE_FPU_CONTROL_H
|
2001-05-21 21:00:05 +01:00
|
|
|
#undef HAVE_GMP_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_IEEEFP_H
|
2001-05-28 20:54:53 +01:00
|
|
|
#undef HAVE_IO_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_LIMITS_H
|
2002-09-24 15:18:56 +01:00
|
|
|
#undef HAVE_MACH_O_DYLD_H
|
2002-05-19 20:04:33 +01:00
|
|
|
#undef HAVE_MALLOC_H
|
2002-06-25 17:13:56 +01:00
|
|
|
#undef HAVE_MATH_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_MEMORY_H
|
2006-09-28 12:42:51 +01:00
|
|
|
#undef HAVE_MPE_H
|
|
|
|
#undef HAVE_MPI_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_NETDB_H
|
|
|
|
#undef HAVE_NETINET_IN_H
|
2004-01-23 02:23:51 +00:00
|
|
|
#undef HAVE_PTHREAD_H
|
2001-06-22 18:53:36 +01:00
|
|
|
#undef HAVE_READLINE_READLINE_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_REGEX_H
|
|
|
|
#undef HAVE_SIGINFO_H
|
2001-05-21 21:00:05 +01:00
|
|
|
#undef HAVE_SIGNAL_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_STDARG_H
|
|
|
|
#undef HAVE_STRING_H
|
2002-01-16 20:18:28 +00:00
|
|
|
#undef HAVE_STROPTS_H
|
|
|
|
#undef HAVE_SYS_CONF_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#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
|
2007-12-29 12:26:41 +00:00
|
|
|
#undef HAVE_WCTYPE_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#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 */
|
|
|
|
|
2002-01-15 17:55:50 +00:00
|
|
|
/* Set the minimum and default heap, trail and stack size */
|
|
|
|
#undef MinTrailSpace
|
|
|
|
#undef MinStackSpace
|
|
|
|
#undef MinHeapSpace
|
|
|
|
|
2002-02-12 12:22:31 +00:00
|
|
|
#undef DefTrailSpace
|
|
|
|
#undef DefStackSpace
|
|
|
|
#undef DefHeapSpace
|
2002-01-15 17:55:50 +00:00
|
|
|
|
|
|
|
|
2001-04-09 20:54:03 +01:00
|
|
|
/* Define return type for signal */
|
|
|
|
#undef RETSIGTYPE
|
|
|
|
|
2001-06-22 18:53:36 +01:00
|
|
|
#undef HAVE_ACOSH
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_ALARM
|
|
|
|
#undef HAVE_ASINH
|
|
|
|
#undef HAVE_ATANH
|
|
|
|
#undef HAVE_CHDIR
|
2005-10-28 19:04:53 +01:00
|
|
|
#undef HAVE_CTIME
|
2002-08-19 00:18:18 +01:00
|
|
|
#undef HAVE_DLOPEN
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_DUP2
|
2002-06-13 19:24:04 +01:00
|
|
|
#undef HAVE_FESETTRAPENABLE
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_FETESTEXCEPT
|
2005-12-17 03:25:39 +00:00
|
|
|
#undef HAVE_FGETPOS
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_FINITE
|
2001-06-22 18:53:36 +01:00
|
|
|
#undef HAVE_GETCWD
|
|
|
|
#undef HAVE_GETENV
|
2001-05-21 21:00:05 +01:00
|
|
|
#undef HAVE_GETHOSTBYNAME
|
|
|
|
#undef HAVE_GETHOSTID
|
|
|
|
#undef HAVE_GETHOSTNAME
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_GETHRTIME
|
|
|
|
#undef HAVE_GETPWNAM
|
2001-06-22 18:53:36 +01:00
|
|
|
#undef HAVE_GETRUSAGE
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_GETTIMEOFDAY
|
|
|
|
#undef HAVE_GETWD
|
|
|
|
#undef HAVE_ISATTY
|
|
|
|
#undef HAVE_ISNAN
|
2001-05-21 21:00:05 +01:00
|
|
|
#undef HAVE_KILL
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_LABS
|
2005-01-05 17:32:03 +00:00
|
|
|
#undef HAVE_LGAMMA
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_LINK
|
2001-05-21 21:00:05 +01:00
|
|
|
#undef HAVE_LOCALTIME
|
|
|
|
#undef HAVE_LSTAT
|
2006-05-18 17:33:05 +01:00
|
|
|
#undef HAVE_MALLINFO
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_MEMCPY
|
|
|
|
#undef HAVE_MEMMOVE
|
|
|
|
#undef HAVE_MKSTEMP
|
2001-05-21 21:00:05 +01:00
|
|
|
#undef HAVE_MKTEMP
|
2004-09-07 17:29:16 +01:00
|
|
|
#undef HAVE_MKTIME
|
2001-06-22 18:53:36 +01:00
|
|
|
#undef HAVE_MMAP
|
2006-05-25 17:28:28 +01:00
|
|
|
#undef HAVE_NANOSLEEP
|
2002-09-24 15:18:56 +01:00
|
|
|
#undef HAVE_NSLINKMODULE
|
2001-05-21 21:00:05 +01:00
|
|
|
#undef HAVE_OPENDIR
|
|
|
|
#undef HAVE_POPEN
|
2004-01-23 02:23:51 +00:00
|
|
|
#undef HAVE_PTHREAD_MUTEXATTR_SETKIND_NP
|
|
|
|
#undef HAVE_PTHREAD_MUTEXATTR_SETTYPE
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_PUTENV
|
|
|
|
#undef HAVE_RAND
|
|
|
|
#undef HAVE_RANDOM
|
2002-06-11 06:30:47 +01:00
|
|
|
#undef HAVE_READLINK
|
2002-03-17 06:11:29 +00:00
|
|
|
#undef HAVE_REGEXEC
|
2001-05-21 21:00:05 +01:00
|
|
|
#undef HAVE_RENAME
|
2002-10-23 18:10:33 +01:00
|
|
|
#undef HAVE_RINT
|
2001-09-24 15:06:06 +01:00
|
|
|
#undef HAVE_RL_SET_PROMPT
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_SBRK
|
|
|
|
#undef HAVE_SELECT
|
|
|
|
#undef HAVE_SETBUF
|
2007-05-21 00:00:38 +01:00
|
|
|
#undef HAVE_SETITIMER
|
2001-04-27 17:02:43 +01:00
|
|
|
#undef HAVE_SETLINEBUF
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_SHMAT
|
|
|
|
#undef HAVE_SIGACTION
|
|
|
|
#undef HAVE_SIGGETMASK
|
2001-06-22 18:53:36 +01:00
|
|
|
#undef HAVE_SIGINTERRUPT
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_SIGNAL
|
|
|
|
#undef HAVE_SIGPROCMASK
|
|
|
|
#undef HAVE_SIGSETJMP
|
2001-05-21 21:00:05 +01:00
|
|
|
#undef HAVE_SLEEP
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_SNPRINTF
|
|
|
|
#undef HAVE_SOCKET
|
2001-06-22 18:53:36 +01:00
|
|
|
#undef HAVE_STAT
|
|
|
|
#undef HAVE_STRCHR
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_STRERROR
|
|
|
|
#undef HAVE_STRNCAT
|
|
|
|
#undef HAVE_STRNCPY
|
|
|
|
#undef HAVE_STRTOD
|
|
|
|
#undef HAVE_SYSTEM
|
2001-05-21 21:00:05 +01:00
|
|
|
#undef HAVE_TIME
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_TIMES
|
|
|
|
#undef HAVE_TMPNAM
|
2002-08-19 00:18:18 +01:00
|
|
|
#undef HAVE_TTYNAME
|
2001-05-21 21:00:05 +01:00
|
|
|
#undef HAVE_USLEEP
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_VSNPRINTF
|
2001-05-21 21:00:05 +01:00
|
|
|
#undef HAVE_WAITPID
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_MPZ_XOR
|
|
|
|
|
2002-05-28 17:23:53 +01:00
|
|
|
#undef HAVE_SIGINFO
|
2001-06-22 18:53:36 +01:00
|
|
|
#undef HAVE_SIGSEGV
|
2003-05-20 20:11:59 +01:00
|
|
|
#undef HAVE_SIGPROF
|
2001-06-22 18:53:36 +01:00
|
|
|
|
2001-11-23 12:50:45 +00:00
|
|
|
#undef HAVE_ENVIRON
|
|
|
|
|
2001-04-09 20:54:03 +01:00
|
|
|
#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
|
|
|
|
|
2004-10-28 21:12:23 +01:00
|
|
|
#undef USE_DL_MALLOC
|
2002-05-19 20:04:33 +01:00
|
|
|
#undef USE_MALLOC
|
2005-08-18 20:25:40 +01:00
|
|
|
#undef USE_SYSTEM_MALLOC
|
|
|
|
#define USE_MMAP (HAVE_MMAP & !USE_MALLOC & !USE_SYSTEM_MALLOC)
|
|
|
|
#define USE_SHM (HAVE_SHMAT & !HAVE_MMAP & !USE_MALLOC & !USE_SYSTEM_MALLOC)
|
|
|
|
#define USE_SBRK (HAVE_SBRK & !HAVE_MMAP & !HAVE_SHMAT & !USE_MALLOC & !USE_SYSTEM_MALLOC)
|
2001-04-09 20:54:03 +01:00
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
2002-06-25 17:13:56 +01:00
|
|
|
#if defined(__hpux)
|
2002-06-13 19:24:04 +01:00
|
|
|
/* HP-UX requires extra definitions for X/Open networking */
|
|
|
|
#undef _XOPEN_SOURCE
|
|
|
|
#define _XOPEN_SOURCE_EXTENDED 0
|
2002-06-25 17:13:56 +01:00
|
|
|
#endif
|
2002-06-13 19:24:04 +01:00
|
|
|
|
2001-04-09 20:54:03 +01:00
|
|
|
#if HAVE_GMP_H && HAVE_LIBGMP
|
|
|
|
#define USE_GMP 1
|
|
|
|
#endif
|
|
|
|
|
2002-06-13 19:24:04 +01:00
|
|
|
/* Should we use MPI ? */
|
2008-03-25 22:03:14 +00:00
|
|
|
#if defined(HAVE_MPI_H) && (HAVE_LIBMPI || HAVE_LIBMPICH)
|
2002-06-13 19:24:04 +01:00
|
|
|
#define HAVE_MPI 1
|
|
|
|
#else
|
|
|
|
#define HAVE_MPI 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Should we use MPE ? */
|
2008-03-25 22:03:14 +00:00
|
|
|
#if defined(HAVE_MPI_H) && HAVE_LIBMPE && HAVE_MPI
|
2002-06-13 19:24:04 +01:00
|
|
|
#define HAVE_MPE 1
|
|
|
|
#else
|
|
|
|
#define HAVE_MPE 0
|
|
|
|
#endif
|
|
|
|
|
2002-10-03 18:27:52 +01:00
|
|
|
/* should we avoid realloc() in mpi.c? */
|
|
|
|
#define MPI_AVOID_REALLOC 0
|
2002-06-13 19:24:04 +01:00
|
|
|
|
2002-01-09 17:19:36 +00:00
|
|
|
/* Is fflush(NULL) clobbering input streams? */
|
2001-07-11 08:10:17 +01:00
|
|
|
#undef BROKEN_FFLUSH_NULL
|
2002-03-07 05:13:21 +00:00
|
|
|
|
|
|
|
/* sunpro cc */
|
|
|
|
#ifdef __SUNPRO_CC
|
|
|
|
#ifdef HAVE_GCC
|
|
|
|
#undef HAVE_GCC
|
|
|
|
#endif
|
|
|
|
#endif
|
2004-10-06 20:40:22 +01:00
|
|
|
|
|
|
|
#undef GC_NO_TAGS
|
|
|
|
|
2007-01-29 10:18:15 +00:00
|
|
|
#undef MAX_WORKERS
|
|
|
|
|
2008-04-02 16:41:50 +01:00
|
|
|
#undef MAX_THREADS
|
|
|
|
|
|
|
|
|
|
|
|
|