1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
|
/* -*- c -*- */
/* Note: this is for unix only. */
#ifndef SL_CONFIG_H
#define SL_CONFIG_H
/* Files used by the slang-readline interface. The interface first tries
* to read SLRLINE_USER_INIT_FILE from $HOME, and if that does not exist, it
* will read SLRLINE_SYS_INIT_FILE from the interpreter's load path.
*/
#define SLRLINE_USER_INIT_FILE ".slrlinerc"
#define SLRLINE_SYS_INIT_FILE "rline/slrline.rc"
/* define if you have long long type */
#undef HAVE_LONG_LONG
/* The following set defines may be necessary to activate long file support */
#undef _FILE_OFFSET_BITS
#undef _LARGE_FILES
#undef _LARGEFILE_SOURCE
/* 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_LANGINFO_H
#undef HAVE_NL_LANGINFO_CODESET
#undef HAVE_FLOATINGPOINT_H
#undef HAVE_NAN_H
#undef HAVE_IEEEFP_H
#undef HAVE_FENV_H
#undef HAVE_FECLEAREXCEPT
#undef HAVE_FPSETSTICKY
#undef HAVE_VFSCANF
#undef HAVE_STRTOD
#undef HAVE_ATOLL
#undef HAVE_STRTOLL
/* 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
#undef HAVE_SYS_TIME_H
#undef HAVE_UTIME_H
#undef HAVE_UTIME
#undef HAVE_UTIMES
#undef HAVE_SYS_MMAN_H
#undef HAVE_SYS_RESOURCE_H
/* Set these to the appropriate values */
#undef SIZEOF_SHORT
#undef SIZEOF_INT
#undef SIZEOF_LONG
#undef SIZEOF_FLOAT
#undef SIZEOF_DOUBLE
#undef SIZEOF_LONG_LONG
#undef off_t
#undef SIZEOF_OFF_T
#undef size_t
#undef SIZEOF_SIZE_T
/* 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_KILLPG
#undef HAVE_CHOWN
#undef HAVE_VSNPRINTF
#undef HAVE_POPEN
#undef HAVE_UMASK
#undef HAVE_READLINK
#undef HAVE_SYMLINK
#undef HAVE_LINK
#undef HAVE_TIMES
#undef HAVE_GMTIME
#undef HAVE_GMTIME_R
#undef HAVE_LOCALTIME_R
#undef HAVE_CTIME_R
#undef HAVE_GETTIMEOFDAY
#undef HAVE_MKTIME
#undef HAVE_MKFIFO
#undef HAVE_MMAP
#undef HAVE_TTYNAME_R
#undef HAVE_TTYNAME
#undef HAVE_GETPPID
#undef HAVE_GETGID
#undef HAVE_GETEGID
#undef HAVE_GETEUID
#undef HAVE_GETUID
#undef HAVE_SETGID
#undef HAVE_SETUID
#undef HAVE_GETPGID
#undef HAVE_GETPGRP
#undef HAVE_SETPGID
#undef HAVE_SETPGRP
#undef HAVE_GETSID
#undef HAVE_SETSID
#undef HAVE_GETPRIORITY
#undef HAVE_SETPRIORITY
#undef HAVE_ISSETUGID
#undef HAVE_ACOSH
#undef HAVE_ASINH
#undef HAVE_ATANH
#undef HAVE_ROUND
#undef HAVE_FINITE
#undef HAVE_ISINF
#undef HAVE_ISNAN
#undef HAVE_HYPOT
#undef HAVE_ATAN2
#undef HAVE_FREXP
#undef HAVE_FREXPF
#undef HAVE_LDEXP
#undef HAVE_LDEXPF
#undef HAVE_DIRENT_H
#undef HAVE_SYS_NDIR_H
#undef HAVE_SYS_DIR_H
#undef HAVE_NDIR_H
#undef HAVE_FSEEKO
#undef HAVE_SETVBUF
#undef HAVE_DLFCN_H
#undef HAVE_SYS_UTSNAME_H
#undef HAVE_UNAME
#undef HAVE_ALARM
#undef HAVE_PAUSE
/* These are used by the socket module */
#undef HAVE_SOCKET
#undef HAVE_SOCKETPAIR
#undef HAVE_SYS_SOCKET_H
#undef HAVE_SOCKET_H
#undef HAVE_NETINET_IN_H
#undef HAVE_ARPA_INET_H
#undef HAVE_SYS_UN_H
#undef socklen_t
#undef HAVE_CONFSTR
#undef HAVE_SYSCONF
#undef HAVE_PATHCONF
/* 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 HAVE_PCRE_H
#undef USE_TERMCAP
#undef mode_t
#undef uid_t
#undef pid_t
#undef gid_t
#undef HAVE_SIGLONGJMP
/* Do we have posix signals? */
#undef HAVE_SIGACTION
#undef HAVE_SIGPROCMASK
#undef HAVE_SIGEMPTYSET
#undef HAVE_SIGADDSET
#undef HAVE_ICONV
#undef ICONV_CONST
#undef HAVE_FORK
#undef HAVE_WAITPID
#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
#ifndef HAVE_LONG_LONG
# undef SIZEOF_LONG_LONG
# define SIZEOF_LONG_LONG 0
#endif
#if defined(BUILD_DLL) && BUILD_DLL
# ifdef __CYGWIN32__
# undef SLANG_DLL
# define SLANG_DLL 1
# endif
#endif
#endif /* SL_CONFIG_H */
|