/* -*- c -*- */ /* Note: this is for unix only. */ #ifndef SL_CONFIG_H #define SL_CONFIG_H /* define if you have stdlib.h */ #undef HAVE_STDLIB_H /* define if you have unistd.h */ #undef HAVE_UNISTD_H /* define if you have termios.h */ #undef HAVE_TERMIOS_H /* define if you have memory.h */ #undef HAVE_MEMORY_H /* define if you have malloc.h */ #undef HAVE_MALLOC_H /* define if you have memset */ #undef HAVE_MEMSET /* define if you have memcpy */ #undef HAVE_MEMCPY #undef HAVE_SETLOCALE #undef HAVE_LOCALE_H #undef HAVE_VFSCANF #undef HAVE_STRTOD /* define if you have fcntl.h */ #undef HAVE_FCNTL_H /* Define if you have the vsnprintf, snprintf functions and they return * EOF upon failure. */ #undef HAVE_VSNPRINTF #undef HAVE_SNPRINTF /* define if you have sys/fcntl.h */ #undef HAVE_SYS_FCNTL_H #undef HAVE_SYS_TYPES_H #undef HAVE_SYS_WAIT_H #undef HAVE_SYS_TIMES_H /* Set these to the appropriate values */ #undef SIZEOF_SHORT #undef SIZEOF_INT #undef SIZEOF_LONG #undef SIZEOF_FLOAT #undef SIZEOF_DOUBLE /* define if you have these. */ #undef HAVE_ATEXIT #undef HAVE_ON_EXIT #undef HAVE_PUTENV #undef HAVE_GETCWD #undef HAVE_TCGETATTR #undef HAVE_TCSETATTR #undef HAVE_CFGETOSPEED #undef HAVE_LSTAT #undef HAVE_KILL #undef HAVE_CHOWN #undef HAVE_VSNPRINTF #undef HAVE_POPEN #undef HAVE_UMASK #undef HAVE_READLINK #undef HAVE_TIMES #undef HAVE_GMTIME #undef HAVE_MKFIFO #undef HAVE_GETPPID #undef HAVE_GETGID #undef HAVE_GETEGID #undef HAVE_GETEUID #undef HAVE_GETUID #undef HAVE_SETGID #undef HAVE_SETPGID #undef HAVE_SETUID #undef HAVE_ISSETUGID #undef HAVE_ACOSH #undef HAVE_ASINH #undef HAVE_ATANH #undef HAVE_DIRENT_H #undef HAVE_SYS_NDIR_H #undef HAVE_SYS_DIR_H #undef HAVE_NDIR_H #undef HAVE_DLFCN_H #undef HAVE_SYS_UTSNAME_H #undef HAVE_UNAME /* These two are needed on DOS-like systems. Unix does not require them. * They are included here for consistency. * #define HAVE_IO_H #define HAVE_PROCESS_H */ #undef USE_TERMCAP #undef mode_t #undef uid_t #undef pid_t #undef gid_t /* Do we have posix signals? */ #undef HAVE_SIGACTION #undef HAVE_SIGPROCMASK #undef HAVE_SIGEMPTYSET #undef HAVE_SIGADDSET #if defined(HAVE_SIGADDSET) && defined(HAVE_SIGEMPTYSET) # if defined(HAVE_SIGACTION) && defined(HAVE_SIGPROCMASK) # define SLANG_POSIX_SIGNALS # endif #endif /* Define if you need to in order for stat and other things to work. */ #undef _POSIX_SOURCE #ifdef _AIX # ifndef _POSIX_SOURCE # define _POSIX_SOURCE 1 # endif # ifndef _ALL_SOURCE # define _ALL_SOURCE # endif /* This may generate warnings but the fact is that without it, xlc will * INCORRECTLY inline many str* functions. */ # undef __STR__ #endif /* define USE_TERMCAP if you want to use it instead of terminfo. */ #if defined(sequent) || defined(NeXT) # ifndef USE_TERMCAP # define USE_TERMCAP # endif #endif #if defined(ultrix) && !defined(__GNUC__) # ifndef NO_PROTOTYPES # define NO_PROTOTYPES # endif #endif #ifndef unix # define unix 1 #endif #ifndef __unix__ # define __unix__ 1 #endif #define _SLANG_SOURCE_ 1 #endif /* SL_CONFIG_H */