2001-04-09 20:54:03 +01:00
|
|
|
|
2012-05-14 15:06:18 +01:00
|
|
|
#ifndef YAP_CONFIG_H
|
|
|
|
|
|
|
|
#define YAP_CONFIG_H
|
|
|
|
|
2009-10-23 09:09:16 +01:00
|
|
|
#include "parms.h"
|
|
|
|
|
2011-08-09 15:30:59 +01:00
|
|
|
/* are dynamic arrays supported? */
|
|
|
|
#undef HAVE_DYNARRAY
|
|
|
|
|
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
|
|
|
|
|
2010-06-18 10:38:11 +01:00
|
|
|
/* Should we use lib readline ? */
|
|
|
|
#undef HAVE_LIBSOCKET
|
|
|
|
#undef HAVE_LIBNSL
|
|
|
|
|
2001-04-09 20:54:03 +01:00
|
|
|
/* Should we use gmp ? */
|
|
|
|
#undef HAVE_LIBGMP
|
|
|
|
|
2013-01-02 12:10:11 +00:00
|
|
|
#undef HAVE_LIBJUDY
|
|
|
|
|
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
|
2012-02-01 08:57:26 +00:00
|
|
|
#define HAVE_LIBMPICH
|
2002-02-11 20:46:41 +00:00
|
|
|
|
2002-02-22 14:31:45 +00:00
|
|
|
/* Is there an MPE library? */
|
|
|
|
#define HAVE_LIBMPE 0
|
|
|
|
|
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
|
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
|
|
|
|
|
2010-06-18 10:38:11 +01:00
|
|
|
#undef HAVE_ALLOCA_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_ARPA_INET_H
|
|
|
|
#undef HAVE_CTYPE_H
|
2010-06-18 10:38:11 +01:00
|
|
|
#undef HAVE_CRYPT_H
|
2013-01-19 11:48:36 +00:00
|
|
|
#undef HAVE_CRTDBG_H
|
2009-03-09 00:43:18 +00:00
|
|
|
#undef HAVE_CUDD_H
|
2012-07-08 13:45:16 +01:00
|
|
|
#undef HAVE_CUDDINT_H
|
|
|
|
#undef HAVE_CUDD_CUDD_H
|
|
|
|
#undef HAVE_CUDD_CUDDINT_H
|
|
|
|
#undef HAVE_CUDD_UTIL_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#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
|
2010-06-18 10:38:11 +01:00
|
|
|
#undef HAVE_EXECINFO_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_FCNTL_H
|
|
|
|
#undef HAVE_FENV_H
|
2009-10-20 09:11:10 +01:00
|
|
|
#undef HAVE_FLOAT_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#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
|
2013-01-02 12:10:11 +00:00
|
|
|
#undef HAVE_JUDY_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_LIMITS_H
|
2008-12-22 12:03:14 +00:00
|
|
|
#undef HAVE_LOCALE_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
|
2010-06-18 10:38:11 +01:00
|
|
|
#undef HAVE_NETINET_TCP_H
|
2004-01-23 02:23:51 +00:00
|
|
|
#undef HAVE_PTHREAD_H
|
2008-12-22 12:03:14 +00:00
|
|
|
#undef HAVE_PWD_H
|
2001-06-22 18:53:36 +01:00
|
|
|
#undef HAVE_READLINE_READLINE_H
|
2011-02-15 23:45:47 +00:00
|
|
|
#undef HAVE_READLINE_HISTORY_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_REGEX_H
|
2012-08-03 01:53:43 +01:00
|
|
|
#undef HAVE_RINTERFACE_H
|
2013-01-19 11:48:36 +00:00
|
|
|
#undef HAVE_SHLOBJ_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#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
|
2011-02-10 21:45:43 +00:00
|
|
|
#undef HAVE_STDINT_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_STRING_H
|
2002-01-16 20:18:28 +00:00
|
|
|
#undef HAVE_STROPTS_H
|
|
|
|
#undef HAVE_SYS_CONF_H
|
2010-05-04 14:56:08 +01:00
|
|
|
#undef HAVE_SYS_DIR_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_SYS_FILE_H
|
|
|
|
#undef HAVE_SYS_MMAN_H
|
2010-05-04 14:56:08 +01:00
|
|
|
#undef HAVE_SYS_NDIR_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#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
|
2008-12-22 12:03:14 +00:00
|
|
|
#undef HAVE_SYS_WAIT_H
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_TIME_H
|
|
|
|
#undef HAVE_UNISTD_H
|
2010-06-18 10:38:11 +01:00
|
|
|
#undef HAVE_UTIME_H
|
2012-07-08 13:45:16 +01:00
|
|
|
#undef HAVE_UTIL_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
|
2013-01-19 11:48:36 +00:00
|
|
|
#undef HAVE_WINSOCK2_H
|
|
|
|
#undef HAVE_LIBLOADERAPI_H
|
2001-04-09 20:54:03 +01:00
|
|
|
|
2010-07-20 22:55:09 +01:00
|
|
|
#if __MINGW32__
|
|
|
|
#define __WINDOWS__ 1
|
|
|
|
#endif
|
|
|
|
|
2001-04-09 20:54:03 +01:00
|
|
|
/* 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
|
|
|
|
|
2011-11-02 22:55:56 +00:00
|
|
|
#include "YapTermConfig.h"
|
2001-04-09 20:54:03 +01:00
|
|
|
|
|
|
|
/* 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
|
2008-07-27 23:31:36 +01:00
|
|
|
/*manual */
|
|
|
|
#undef FFVAX
|
2001-04-09 20:54:03 +01:00
|
|
|
|
|
|
|
/* Define the standard type of a float argument to a function */
|
2008-07-27 23:31:36 +01:00
|
|
|
/*manual */
|
|
|
|
#define FAFloat double
|
2001-04-09 20:54:03 +01:00
|
|
|
|
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
|
|
|
|
|
2012-06-29 21:38:49 +01:00
|
|
|
#undef HAVE__CHSIZE_S
|
2010-06-18 10:38:11 +01:00
|
|
|
#undef HAVE__NSGETENVIRON
|
2009-07-21 04:56:54 +01:00
|
|
|
#undef HAVE_ACCESS
|
2001-06-22 18:53:36 +01:00
|
|
|
#undef HAVE_ACOSH
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_ALARM
|
2010-06-18 10:38:11 +01:00
|
|
|
#undef HAVE_ALLOCA
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_ASINH
|
|
|
|
#undef HAVE_ATANH
|
|
|
|
#undef HAVE_CHDIR
|
2011-03-21 17:07:58 +00:00
|
|
|
#undef HAVE_CLOCK
|
|
|
|
#undef HAVE_CLOCK_GETTIME
|
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
|
2010-03-05 00:01:04 +00:00
|
|
|
#undef HAVE_ERF
|
2009-06-15 16:30:12 +01:00
|
|
|
#undef HAVE_FECLEAREXCEPT
|
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
|
2009-06-15 21:00:31 +01:00
|
|
|
#undef HAVE_FPCLASS
|
2008-12-22 12:03:14 +00:00
|
|
|
#undef HAVE_FTIME
|
2013-01-19 11:48:36 +00:00
|
|
|
#undef HAVE_FTRUNCATE
|
2001-06-22 18:53:36 +01:00
|
|
|
#undef HAVE_GETCWD
|
|
|
|
#undef HAVE_GETENV
|
2013-01-13 17:55:13 +00:00
|
|
|
#undef HAVE_GETEXECNAME
|
2001-05-21 21:00:05 +01:00
|
|
|
#undef HAVE_GETHOSTBYNAME
|
2010-06-18 10:38:11 +01:00
|
|
|
#undef HAVE_GETHOSTENT
|
2001-05-21 21:00:05 +01:00
|
|
|
#undef HAVE_GETHOSTID
|
|
|
|
#undef HAVE_GETHOSTNAME
|
2001-04-09 20:54:03 +01:00
|
|
|
#undef HAVE_GETHRTIME
|
2009-04-21 14:28:10 +01:00
|
|
|
#undef HAVE_GETPAGESIZE
|
2001-04-09 20:54:03 +01:00
|
|
|
#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
|
2009-06-15 21:00:31 +01:00
|
|
|
#undef HAVE_ISINF
|
2001-04-09 20:54:03 +01:00
|
|
|
#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
|
2011-03-02 23:19:39 +00:00
|
|
|
#undef HAVE_MBSCASECOLL
|
|
|
|
#undef HAVE_MBSCOLL
|
2009-02-09 21:56:40 +00:00
|
|
|
#undef HAVE_MBSNRTOWCS
|
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
|
2011-02-17 00:57:49 +00:00
|
|
|
#undef HAVE_RL_CLEAR_PENDING_INPUT
|
2011-03-02 23:19:39 +00:00
|
|
|
#undef HAVE_RL_CLEANUP_AFTER_SIGNAL
|
2011-02-17 00:57:49 +00:00
|
|
|
#undef HAVE_RL_COMPLETION_MATCHES
|
2011-03-02 23:19:39 +00:00
|
|
|
#undef HAVE_RL_EVENT_HOOK
|
2011-02-17 00:57:49 +00:00
|
|
|
#undef HAVE_RL_FILENAME_COMPLETION_FUNCTION
|
2011-03-01 12:31:19 +00:00
|
|
|
#undef HAVE_RL_FREE_LINE_STATE
|
2011-02-17 00:57:49 +00:00
|
|
|
#undef HAVE_RL_INSERT_CLOSE
|
2001-09-24 15:06:06 +01:00
|
|
|
#undef HAVE_RL_SET_PROMPT
|
2011-03-02 23:19:39 +00:00
|
|
|
#undef HAVE_RL_STATE_INITIALIZED
|
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
|
2009-11-23 13:41:07 +00:00
|
|
|
#undef HAVE_SETLOCALE
|
2010-06-18 10:38:11 +01:00
|
|
|
#undef HAVE_SETSID
|
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
|
2009-11-23 13:41:07 +00:00
|
|
|
#undef HAVE_STRICMP
|
2012-07-25 02:51:30 +01:00
|
|
|
#undef HAVE_STRLWR
|
2001-04-09 20:54:03 +01:00
|
|
|
#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
|
|
|
|
|
2012-03-27 14:55:59 +01:00
|
|
|
#if HAVE_GETHOSTNAME==1
|
|
|
|
#define HAS_GETHOSTNAME 1
|
|
|
|
#endif
|
|
|
|
|
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
|
|
|
|
|
2010-07-19 14:54:51 +01:00
|
|
|
#undef HAVE_VAR_TIMEZONE
|
|
|
|
|
|
|
|
#undef HAVE_STRUCT_TIME_TM_GMTOFF
|
|
|
|
|
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
|
|
|
|
|
2011-03-21 17:07:58 +00:00
|
|
|
#undef HAVE_VAR_TIMEZONE
|
|
|
|
#undef HAVE_STRUCT_TIME_TM_GMTOFF
|
|
|
|
|
2001-04-09 20:54:03 +01:00
|
|
|
/* 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
|
|
|
|
|
2013-01-02 12:10:11 +00:00
|
|
|
#if HAVE_JUDY_H && HAVE_LIBJUDY
|
|
|
|
#define USE_JUDY 1
|
|
|
|
#endif
|
|
|
|
|
2002-06-13 19:24:04 +01:00
|
|
|
/* Should we use MPI ? */
|
2012-02-01 08:57:26 +00:00
|
|
|
#if defined(HAVE_MPI_H) && (defined(HAVE_LIBMPI) || defined(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
|
|
|
|
|
2012-10-23 00:45:13 +01:00
|
|
|
/* libarchive */
|
|
|
|
#undef HAVE_ARCHIVE_READ_SUPPORT_COMPRESSION_BZIP2
|
|
|
|
#undef HAVE_ARCHIVE_READ_SUPPORT_COMPRESSION_COMPRESS
|
|
|
|
#undef HAVE_ARCHIVE_READ_SUPPORT_COMPRESSION_GZIP
|
|
|
|
#undef HAVE_ARCHIVE_READ_SUPPORT_COMPRESSION_LZMA
|
|
|
|
#undef HAVE_ARCHIVE_READ_SUPPORT_COMPRESSION_NONE
|
|
|
|
#undef HAVE_ARCHIVE_READ_SUPPORT_COMPRESSION_XZ
|
|
|
|
#undef HAVE_ARCHIVE_READ_SUPPORT_FORMAT_AR
|
|
|
|
#undef HAVE_ARCHIVE_READ_SUPPORT_FORMAT_CPIO
|
|
|
|
#undef HAVE_ARCHIVE_READ_SUPPORT_FORMAT_EMPTY
|
|
|
|
#undef HAVE_ARCHIVE_READ_SUPPORT_FORMAT_ISO9660
|
|
|
|
#undef HAVE_ARCHIVE_READ_SUPPORT_FORMAT_MTREE
|
|
|
|
#undef HAVE_ARCHIVE_READ_SUPPORT_FORMAT_RAW
|
|
|
|
#undef HAVE_ARCHIVE_READ_SUPPORT_FORMAT_TAR
|
|
|
|
#undef HAVE_ARCHIVE_READ_SUPPORT_FORMAT_ZIP
|
|
|
|
|
|
|
|
/* SQL and ODBC support */
|
|
|
|
#undef HAVE_SQL_H
|
|
|
|
#undef HAVE_GMTIME
|
|
|
|
#undef HAVE_TIMEGM
|
|
|
|
#undef HAVE_SQLLEN
|
|
|
|
#undef HAVE_SQLULEN
|
|
|
|
|
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
|
|
|
|
|
2012-07-16 17:58:21 +01:00
|
|
|
#endif /* YAP_CONFIG_H */
|
|
|
|
|