/* File: "config.h.in" */ /* * Copyright (c) 1994-2021 by Marc Feeley, All Rights Reserved. */ #ifndef CONFIG_H #define CONFIG_H /*---------------------------------------------------------------------------*/ /* * These definitions are used by the "gambit.h" header file. */ /* Define as 1 if you want to compile for debugging. */ #undef ___DEBUG /* Define as 1 if you want to generate a debugging log file. */ #undef ___DEBUG_LOG /* Define as 1 if you want to generate a C backtrace when a program crashes. */ #undef ___DEBUG_C_BACKTRACE /* Define as 1 if you want to compile for debugging the control flow history. */ #undef ___DEBUG_CTRL_FLOW_HISTORY /* Define as 1 if you want to compile for debugging the host changes. */ #undef ___DEBUG_HOST_CHANGES /* Define as 1 if you want to generate a log of the memory allocations. */ #undef ___DEBUG_ALLOC_MEM /* Define as 1 if you want to compile for debugging the garbage collector. */ #undef ___DEBUG_GARBAGE_COLLECT /* Define as 1 if you want to compile with profiling. */ #undef ___PROFILE /* Define as 1 if you want to compile each Scheme file into one C function. */ #undef ___SINGLE_HOST /* Define as 1 if you want to mix the execution of C and machine code. */ #undef ___SUPPORT_LOWLEVEL_EXEC /* Define as 1 if you want trampoline jumps to be inlined. */ #undef ___INLINE_JUMPS /* Define as 1 if you trust the C compiler does TCO properly */ #undef ___TRUST_C_TCO /* Define as 1 if you want to compile as a shared library. */ #undef ___SHARED /* Define as 1 if dynamically loaded code should not be unloaded. */ #undef ___DONT_UNLOAD_DYN_CODE /* Define as 1 if thread local storage variables can be referenced from dynamically loaded code */ #undef ___DYNAMIC_TLS /* Define as 1 if C library functions can be called from dynamically loaded code */ #undef ___CAN_IMPORT_CLIB_DYNAMICALLY /* Define as 1 if C library setjmp function can be called from dynamically loaded code */ #undef ___CAN_IMPORT_SETJMP_DYNAMICALLY /* Define as 1 if Gambit RTS functions can be called from dynamically loaded code */ #undef ___CAN_IMPORT_DYNAMICALLY /*---------------------------------------------------------------------------*/ /* Determine which header files are available. */ #ifndef _GNU_SOURCE #undef _GNU_SOURCE #endif #undef HAVE_ERRNO_H #undef HAVE_UNISTD_H #undef HAVE_PWD_H #undef HAVE_DIRENT_H #undef HAVE_DLFCN_H #undef HAVE_DL_H #undef HAVE_SYS_DXE_H #undef HAVE_MACH_O_DYLD_H #undef HAVE_MACH_MACH_TIME_H #undef HAVE_SYS_TYPES_H #undef HAVE_SYS_TIME_H #undef HAVE_SYS_TIMES_H #undef HAVE_SYS_TIMEB_H #undef HAVE_SYS_TIMERS_H #undef HAVE_TIME_H #undef HAVE_SYS_RESOURCE_H #undef HAVE_SYS_STAT_H #undef HAVE_SYS_WAIT_H #undef HAVE_SYS_MMAN_H #undef HAVE_SYSLOG_H #undef HAVE_EXECINFO_H #undef HAVE_STAT_H #undef HAVE_SIGNAL_H #undef HAVE_NETDB_H #undef HAVE_GRP_H #undef HAVE_EMSCRIPTEN_H #undef HAVE_WINDOWS_H #undef HAVE_IO_H #undef HAVE_TCHAR_H #undef HAVE_FLOAT_H #undef HAVE_FPU_CONTROL_H #undef HAVE_OS2_H #undef HAVE_DOS_H #undef HAVE_DIRECT_H #undef HAVE_RETRACE_H #undef HAVE_FILES_H #undef HAVE_FINDER_H #undef HAVE_ERRORS_H #undef HAVE_FOLDERS_H #undef HAVE_OSUTILS_H #undef HAVE_POWER_H #undef HAVE_CODEFRAGMENTS_H #undef HAVE_SIOUX_H #undef HAVE_MAC_GUI_H #undef HAVE_UNIX_H #undef HAVE_WDEFWIN_H #undef HAVE_TFORK_H #undef HAVE_CURSES_H #undef HAVE_NCURSES_H #undef HAVE_NETINET_IN_H #undef HAVE_ARPA_INET_H #undef HAVE_TERMIOS_H #undef HAVE_TERM_H #undef HAVE_PTY_H #undef HAVE_STROPTS_H #undef HAVE_LIBUTIL_H #undef HAVE_UTIL_H #undef HAVE_SYS_FPU_H #undef HAVE_FENV_H #undef HAVE_FCNTL_H #undef HAVE_SYS_IOCTL_H #undef HAVE_SYS_SOCKET_H #undef HAVE_STDIO_H #undef HAVE_STDLIB_H #undef HAVE_STRING_H #undef HAVE_STRINGS_H #undef HAVE_MEMORY_H #undef HAVE_SYS_SYSCTL_H #undef HAVE_SYS_SYSCALL_H #undef HAVE_LINUX_FS_H #undef HAVE_CRT_EXTERNS_H #undef HAVE_WS2TCPIP_H #undef HAVE_TARGETCONDITIONALS_H #undef HAVE_AVAILABILITYMACROS_H #undef HAVE_POLL_H /*---------------------------------------------------------------------------*/ /* Determine which library functions are available. */ #undef HAVE_OPEN #undef HAVE_OPENAT #undef HAVE_PIPE #undef HAVE_SOCKETPAIR #undef HAVE_CHDIR #undef HAVE_EXECVP #undef HAVE_GETENV #undef HAVE_GETGRNAM #undef HAVE_GETPID #undef HAVE_GETPPID #undef HAVE_GETPWNAM #undef HAVE_IOCTL #undef HAVE_READLINK #undef HAVE_READLINKAT #undef HAVE_LINK #undef HAVE_LINKAT #undef HAVE_MKDIR #undef HAVE_MKDIRAT #undef HAVE_MKFIFO #undef HAVE_MKFIFOAT #undef HAVE_OPENDIR #undef HAVE_FDOPENDIR #undef HAVE_RMDIR #undef HAVE_SOCKET #undef HAVE_UTIMES #undef HAVE_STAT #undef HAVE_STAT64 #undef HAVE_FSTATAT #undef HAVE_STRERROR #undef HAVE_SYMLINK #undef HAVE_SYMLINKAT #undef HAVE_SYSCONF #undef HAVE_SYSCTL #undef HAVE_SYSCTLBYNAME #undef HAVE_SYSLOG #undef HAVE_BACKTRACE_SYMBOLS_FD #undef HAVE_UNLINK #undef HAVE_UNLINKAT #undef HAVE_WAITPID #undef HAVE_MMAP #undef HAVE_FCNTL #undef HAVE_GETCWD #undef HAVE_TCGETSETATTR #undef HAVE_SIGACTION #undef HAVE_SIGNAL #undef HAVE_SIGEMPTYSET #undef HAVE_SIGADDSET #undef HAVE_SIGPROCMASK /* Define one of these to support timekeeping (timeouts, current-time, etc): */ #undef HAVE_EMSCRIPTEN_GET_NOW #undef HAVE_CLOCK_GETTIME #undef HAVE_MACH_ABSOLUTE_TIME #undef HAVE_GETCLOCK #undef HAVE_GETSYSTEMTIMEASFILETIME #undef HAVE_TIMEBEGINPERIOD #undef HAVE_GETTIMEOFDAY #undef HAVE_FTIME #undef HAVE_TIME #undef HAVE_NANOSLEEP #undef HAVE_Sleep #undef HAVE_SLEEP #undef HAVE_GETPROCESSTIMES #undef HAVE_GETRUSAGE #undef HAVE_TIMES #undef HAVE_CLOCK #undef HAVE_DOSQUERYSYSINFO /* Define one of these to support preemptive Scheme thread scheduling: */ #undef HAVE_SETITIMER #undef HAVE_DOS_SETVECT #undef HAVE_DOSSTARTTIMER #undef HAVE_VINSTALL #undef HAVE_CREATETHREAD /* Define one of these to support dynamically loadable object files: */ #undef HAVE_SHL_LOAD #undef HAVE_LOADLIBRARY #undef HAVE_DOSLOADMODULE #undef HAVE_DXE_LOAD #undef HAVE_GETDISKFRAGMENT #undef HAVE_NSLINKMODULE #undef HAVE__NSGETEXECUTABLEPATH #undef HAVE_DLOPEN #undef HAVE_GETHOSTNAME #undef HAVE_INET_PTON #undef HAVE_GETADDRINFO #undef HAVE_GETHOSTBYNAME #undef HAVE_GETHOSTBYADDR #undef HAVE_GETSERVBYNAME #undef HAVE_GETSERVBYPORT #undef HAVE_GETPROTOBYNAME #undef HAVE_GETPROTOBYNUMBER #undef HAVE_GETNETBYNAME /* Define one of these to support nonblocking I/O: */ #undef HAVE_SELECT #undef HAVE_POLL #undef HAVE_PPOLL #undef HAVE_MSGWAITFORMULTIPLEOBJECTS #undef HAVE_TGETSTR #undef HAVE_TIGETSTR #undef HAVE_OPENPTY #undef HAVE_GETPT #undef HAVE_PTSNAME #undef HAVE_CTERMID #undef HAVE_ISASTREAM #undef HAVE_HSTRERROR #undef HAVE_SNPRINTF #undef HAVE_GET_FPC_CSR #undef HAVE_ENVIRON #undef HAVE__NSGETENVIRON #undef HAVE_REMOVE #undef HAVE_RENAME #undef HAVE_RENAMEAT #undef HAVE_RENAMEAT2 #undef HAVE_RENAMEATX_NP #undef HAVE_PTHREAD_SETAFFINITY_NP /* Determine which types are available */ #undef HAVE_STRUCT_STAT64 /* Define appropriately if sys/types.h does not define socklen_t. */ #undef socklen_t /* * Define appropriately as the prefix and suffix added to function * names by the C compiler. */ #undef ___IMPORTED_ID_PREFIX #undef ___IMPORTED_ID_SUFFIX /* Define as 1 if you want to enable OpenSSL support */ #undef USE_OPENSSL /* Define as 1 if you want to enable poll support */ #undef USE_POLL_FOR_SELECT /* Define as 1 if you want to enable high-resolution timing */ #undef USE_HIGH_RES_TIMING /* Define as 1 if you want to force using ITIMER_REAL for itimer */ #undef USE_ITIMER_REAL /* Define as 1 to select a filesystem path encoding */ #undef ___PATH_ENCODING_UTF8 #undef ___PATH_ENCODING_LATIN1 #undef ___PATH_ENCODING_UCS2 #undef ___PATH_ENCODING_UCS4 #undef ___PATH_ENCODING_WCHAR #undef ___PATH_ENCODING_NATIVE /* * Define as a UCS_2 array initialization containing the default * runtime options, e.g. #define ___DEFAULT_RUNTIME_OPTIONS {'d','2','\0'} */ #undef ___DEFAULT_RUNTIME_OPTIONS /* * Define as a UCS_2 array initialization containing the default * compile options */ #undef ___DEFAULT_COMPILE_OPTIONS /*---------------------------------------------------------------------------*/ #endif