| 1 | /* PennMUSH config.h. Autogenerated by ./configure */ |
|---|
| 2 | |
|---|
| 3 | #ifndef __CONFIG_H |
|---|
| 4 | #define __CONFIG_H |
|---|
| 5 | |
|---|
| 6 | /* Headers */ |
|---|
| 7 | |
|---|
| 8 | /* <arpa/inet.h> What needs this? */ |
|---|
| 9 | #undef I_ARPA_INET |
|---|
| 10 | |
|---|
| 11 | /* <arpa/nameser.h> What needs this? */ |
|---|
| 12 | #undef I_ARPA_NAMESER |
|---|
| 13 | |
|---|
| 14 | #undef I_FCNTL |
|---|
| 15 | |
|---|
| 16 | #undef I_FLOATINGPOINT |
|---|
| 17 | |
|---|
| 18 | #undef I_LIBINTL |
|---|
| 19 | |
|---|
| 20 | /* Get rid of this */ |
|---|
| 21 | #undef I_MALLOC |
|---|
| 22 | |
|---|
| 23 | #undef I_NETDB |
|---|
| 24 | |
|---|
| 25 | #undef I_NETINET_IN |
|---|
| 26 | |
|---|
| 27 | #undef I_NETINET_TCP |
|---|
| 28 | |
|---|
| 29 | #undef I_SYS_ERRNO |
|---|
| 30 | |
|---|
| 31 | #undef I_SYS_FILE |
|---|
| 32 | |
|---|
| 33 | #undef I_SYS_IN |
|---|
| 34 | |
|---|
| 35 | #undef I_SYS_MMAN |
|---|
| 36 | |
|---|
| 37 | #undef I_SYS_PAGE |
|---|
| 38 | |
|---|
| 39 | #undef I_SYS_PARAM |
|---|
| 40 | |
|---|
| 41 | #undef I_SYS_SOCKET |
|---|
| 42 | |
|---|
| 43 | #undef I_SYS_STAT |
|---|
| 44 | |
|---|
| 45 | #undef I_SYS_TIME |
|---|
| 46 | |
|---|
| 47 | #undef TIME_WITH_SYS_TIME |
|---|
| 48 | |
|---|
| 49 | #undef I_SYS_TYPES |
|---|
| 50 | |
|---|
| 51 | #undef HAVE_UNISTD_H |
|---|
| 52 | |
|---|
| 53 | #ifdef HAVE_UNISTD_H |
|---|
| 54 | #define I_UNISTD |
|---|
| 55 | #endif |
|---|
| 56 | |
|---|
| 57 | #undef HAVE_SYS_WAIT_H |
|---|
| 58 | |
|---|
| 59 | #undef HAVE_IEEEFP_H |
|---|
| 60 | |
|---|
| 61 | #undef HAVE_SYS_UN_H |
|---|
| 62 | |
|---|
| 63 | #undef HAVE_SYS_RESOURCE_H |
|---|
| 64 | |
|---|
| 65 | #undef HAVE_SYS_EVENT_H |
|---|
| 66 | |
|---|
| 67 | #undef HAVE_SYS_UIO_H |
|---|
| 68 | |
|---|
| 69 | #undef HAVE_POLL_H |
|---|
| 70 | |
|---|
| 71 | #undef HAVE_SYS_EPOLL_H |
|---|
| 72 | |
|---|
| 73 | #undef HAVE_SYS_SELECT_H |
|---|
| 74 | |
|---|
| 75 | #undef HAVE_SYS_INOTIFY_H |
|---|
| 76 | |
|---|
| 77 | #undef HAVE_FAM_H |
|---|
| 78 | |
|---|
| 79 | #undef HAVE_LIBFAM |
|---|
| 80 | |
|---|
| 81 | /* C99ish headers. The first two are really really nice to have. */ |
|---|
| 82 | |
|---|
| 83 | #undef HAVE_STDINT_H |
|---|
| 84 | |
|---|
| 85 | #undef HAVE_INTTYPES_H |
|---|
| 86 | |
|---|
| 87 | #undef HAVE_STDBOOL_H |
|---|
| 88 | |
|---|
| 89 | /* Libraries */ |
|---|
| 90 | |
|---|
| 91 | #undef HAVE_MYSQL |
|---|
| 92 | |
|---|
| 93 | #undef HAVE_POSTGRESQL |
|---|
| 94 | |
|---|
| 95 | #undef HAVE_SQLITE3 |
|---|
| 96 | |
|---|
| 97 | #undef HAVE_SSL |
|---|
| 98 | |
|---|
| 99 | #ifdef HAVE_SSL |
|---|
| 100 | #define HAS_OPENSSL |
|---|
| 101 | #endif |
|---|
| 102 | |
|---|
| 103 | #undef HAVE_PCRE |
|---|
| 104 | |
|---|
| 105 | /* Types */ |
|---|
| 106 | |
|---|
| 107 | #undef HAVE__BOOL |
|---|
| 108 | |
|---|
| 109 | #undef ssize_t |
|---|
| 110 | |
|---|
| 111 | /* Should be in <sys/socket.h> */ |
|---|
| 112 | #undef socklen_t |
|---|
| 113 | |
|---|
| 114 | #undef pid_t |
|---|
| 115 | |
|---|
| 116 | /* All of these are in <stdint.h> if present. Otherwise autoconf |
|---|
| 117 | guesses. */ |
|---|
| 118 | |
|---|
| 119 | #undef uint8_t |
|---|
| 120 | |
|---|
| 121 | #undef uint16_t |
|---|
| 122 | |
|---|
| 123 | #undef int32_t |
|---|
| 124 | |
|---|
| 125 | #undef uint32_t |
|---|
| 126 | |
|---|
| 127 | #undef int64_t |
|---|
| 128 | |
|---|
| 129 | #undef uint64_t |
|---|
| 130 | |
|---|
| 131 | /* Type of the largest int type */ |
|---|
| 132 | #undef intmax_t |
|---|
| 133 | |
|---|
| 134 | #undef uintmax_t |
|---|
| 135 | |
|---|
| 136 | /* 4 */ |
|---|
| 137 | #undef SIZEOF_INT |
|---|
| 138 | |
|---|
| 139 | /* 4 or 8 */ |
|---|
| 140 | #undef SIZEOF_LONG |
|---|
| 141 | |
|---|
| 142 | /* 0 if no 64-bit type (We shouldn't be seeing that case) or 8. See below. */ |
|---|
| 143 | #undef SIZEOF_INT64_T |
|---|
| 144 | |
|---|
| 145 | /* 8 on most modern CPUs Penn will be used on. They either have 64-bit |
|---|
| 146 | * words (amd64, sparc64, powerpc64) or support an extended 64-bit type (i386, |
|---|
| 147 | * powerpc32) */ |
|---|
| 148 | #undef SIZEOF_INTMAX_T |
|---|
| 149 | |
|---|
| 150 | #undef SIZEOF_TIME_T |
|---|
| 151 | |
|---|
| 152 | /* 4 or 8 */ |
|---|
| 153 | #undef SIZEOF_VOID_P |
|---|
| 154 | |
|---|
| 155 | /* Taken from autoconf manual */ |
|---|
| 156 | #if HAVE_STDBOOL_H |
|---|
| 157 | # include <stdbool.h> |
|---|
| 158 | #else |
|---|
| 159 | # if ! HAVE__BOOL |
|---|
| 160 | # ifdef __cplusplus |
|---|
| 161 | typedef bool _Bool; |
|---|
| 162 | # else |
|---|
| 163 | # define _Bool signed char |
|---|
| 164 | # endif |
|---|
| 165 | # endif |
|---|
| 166 | # define bool _Bool |
|---|
| 167 | # define false 0 |
|---|
| 168 | # define true 1 |
|---|
| 169 | # define __bool_true_false_are_defined 1 |
|---|
| 170 | #endif |
|---|
| 171 | |
|---|
| 172 | /* Someday work to get rid of these. They're left over from the |
|---|
| 173 | pre-void days */ |
|---|
| 174 | typedef void* Malloc_t; |
|---|
| 175 | typedef void Free_t; |
|---|
| 176 | |
|---|
| 177 | /* Functions */ |
|---|
| 178 | #undef HAS_BINDTEXTDOMAIN |
|---|
| 179 | |
|---|
| 180 | #undef HAVE_CBRT |
|---|
| 181 | |
|---|
| 182 | #undef HAVE_LOG2 |
|---|
| 183 | |
|---|
| 184 | #undef HAVE_ROUND |
|---|
| 185 | |
|---|
| 186 | #undef HAS_CRYPT |
|---|
| 187 | |
|---|
| 188 | #undef HAVE_FPSETMASK |
|---|
| 189 | |
|---|
| 190 | #undef HAVE_FPSETROUND |
|---|
| 191 | |
|---|
| 192 | #undef HAVE_ISNORMAL |
|---|
| 193 | |
|---|
| 194 | #undef HAS_GAI_STRERROR |
|---|
| 195 | |
|---|
| 196 | #undef HAS_GETADDRINFO |
|---|
| 197 | |
|---|
| 198 | #undef HAS_GETDATE |
|---|
| 199 | |
|---|
| 200 | #undef HAS_GETHOSTBYNAME2 |
|---|
| 201 | |
|---|
| 202 | #undef HAS_GETNAMEINFO |
|---|
| 203 | |
|---|
| 204 | #undef HAS_GETPAGESIZE |
|---|
| 205 | |
|---|
| 206 | #undef HAS_GETRLIMIT |
|---|
| 207 | |
|---|
| 208 | #undef HAS_GETRUSAGE |
|---|
| 209 | |
|---|
| 210 | #undef HAVE_GETTEXT |
|---|
| 211 | |
|---|
| 212 | #undef HAS_INET_PTON |
|---|
| 213 | |
|---|
| 214 | #undef HAS_ITIMER |
|---|
| 215 | |
|---|
| 216 | #undef HAS_SETLOCALE |
|---|
| 217 | |
|---|
| 218 | #undef HAVE_FORK |
|---|
| 219 | |
|---|
| 220 | #undef HAVE_SETPGRP |
|---|
| 221 | |
|---|
| 222 | #undef HAVE_SETSID |
|---|
| 223 | |
|---|
| 224 | #undef HAVE_SETPGID |
|---|
| 225 | |
|---|
| 226 | #undef SETPGRP_VOID |
|---|
| 227 | |
|---|
| 228 | #undef HAVE_GETUID |
|---|
| 229 | |
|---|
| 230 | #undef HAVE_GETEUID |
|---|
| 231 | |
|---|
| 232 | #undef HAVE_SETEUID |
|---|
| 233 | |
|---|
| 234 | #undef HAVE_GETPRIORITY |
|---|
| 235 | |
|---|
| 236 | #undef HAVE_SETPRIORITY |
|---|
| 237 | |
|---|
| 238 | #undef HAVE_SIGACTION |
|---|
| 239 | |
|---|
| 240 | #undef HAVE_SIGPROCMASK |
|---|
| 241 | |
|---|
| 242 | #undef HAVE_SNPRINTF |
|---|
| 243 | |
|---|
| 244 | #undef HAVE_SOCKETPAIR |
|---|
| 245 | |
|---|
| 246 | #undef HAVE_STRCASECMP |
|---|
| 247 | |
|---|
| 248 | #undef HAVE_STRNCASECMP |
|---|
| 249 | |
|---|
| 250 | /* Various Windows (And maybe others?) string functions start with _str */ |
|---|
| 251 | |
|---|
| 252 | #undef HAVE__STRICMP |
|---|
| 253 | |
|---|
| 254 | #undef HAVE__STRNICMP |
|---|
| 255 | |
|---|
| 256 | #undef HAVE__STRICOLL |
|---|
| 257 | |
|---|
| 258 | #undef HAVE__STRNCOLL |
|---|
| 259 | |
|---|
| 260 | #undef HAVE__STRNICOLL |
|---|
| 261 | |
|---|
| 262 | #undef HAVE__SNPRINTF |
|---|
| 263 | |
|---|
| 264 | #undef HAVE__VSNPRINTF |
|---|
| 265 | |
|---|
| 266 | #undef HAVE__VSNPRINTF_S |
|---|
| 267 | |
|---|
| 268 | |
|---|
| 269 | #undef HAVE_STRCHRNUL |
|---|
| 270 | |
|---|
| 271 | #undef HAVE_STRDUP |
|---|
| 272 | |
|---|
| 273 | #undef HAVE_STRCOLL |
|---|
| 274 | |
|---|
| 275 | #undef HAVE_STRXFRM |
|---|
| 276 | |
|---|
| 277 | #undef HAS_SYSCONF |
|---|
| 278 | |
|---|
| 279 | #undef HAS_TEXTDOMAIN |
|---|
| 280 | |
|---|
| 281 | #undef HAS_VSNPRINTF |
|---|
| 282 | |
|---|
| 283 | #undef HAVE_WAITPID |
|---|
| 284 | |
|---|
| 285 | #undef HAVE_WAIT3 |
|---|
| 286 | |
|---|
| 287 | #undef HAVE_WAIT |
|---|
| 288 | |
|---|
| 289 | #undef UNION_WAIT |
|---|
| 290 | |
|---|
| 291 | #undef HAVE_IMAXDIV |
|---|
| 292 | |
|---|
| 293 | #undef HAVE_GETPID |
|---|
| 294 | |
|---|
| 295 | #undef HAVE_GETPPID |
|---|
| 296 | |
|---|
| 297 | #undef HAVE_PSELECT |
|---|
| 298 | |
|---|
| 299 | #undef HAVE_POLL |
|---|
| 300 | |
|---|
| 301 | #undef HAVE_PPOLL |
|---|
| 302 | |
|---|
| 303 | #undef HAVE_POLLTS |
|---|
| 304 | |
|---|
| 305 | #undef HAVE_KQUEUE |
|---|
| 306 | |
|---|
| 307 | #undef HAVE_EPOLL_CTL |
|---|
| 308 | |
|---|
| 309 | #undef HAVE_POSIX_MEMALIGN |
|---|
| 310 | |
|---|
| 311 | #undef HAVE_WRITEV |
|---|
| 312 | |
|---|
| 313 | #undef HAVE_FCNTL |
|---|
| 314 | |
|---|
| 315 | #undef HAVE_INOTIFY_INIT |
|---|
| 316 | |
|---|
| 317 | #ifdef HAVE_INOTIFY_INIT |
|---|
| 318 | #define HAVE_INOTIFY |
|---|
| 319 | #endif |
|---|
| 320 | |
|---|
| 321 | #undef HAVE_PREAD |
|---|
| 322 | |
|---|
| 323 | #undef HAVE_PWRITE |
|---|
| 324 | |
|---|
| 325 | #undef HAVE_POSIX_FADVISE |
|---|
| 326 | |
|---|
| 327 | #undef HAVE_POSIX_FALLOCATE |
|---|
| 328 | |
|---|
| 329 | /* Variables and defines */ |
|---|
| 330 | |
|---|
| 331 | #undef HAVE_H_ERRNO |
|---|
| 332 | |
|---|
| 333 | #undef HAVE_SIGCHLD |
|---|
| 334 | |
|---|
| 335 | #undef HAVE_SIGCLD |
|---|
| 336 | |
|---|
| 337 | /* Files */ |
|---|
| 338 | |
|---|
| 339 | #undef HAS_DEV_URANDOM |
|---|
| 340 | |
|---|
| 341 | /* Misc. */ |
|---|
| 342 | |
|---|
| 343 | #undef HAVE_SOCKADDR_IN6 |
|---|
| 344 | |
|---|
| 345 | #undef FORCE_IPV4 |
|---|
| 346 | |
|---|
| 347 | #undef DONT_TRANSLATE |
|---|
| 348 | |
|---|
| 349 | #undef INFO_SLAVE |
|---|
| 350 | |
|---|
| 351 | #undef HAVE_UPTIME |
|---|
| 352 | |
|---|
| 353 | /* Path to uptime */ |
|---|
| 354 | #undef UPTIME |
|---|
| 355 | |
|---|
| 356 | #undef HAVE_SENDMAIL |
|---|
| 357 | |
|---|
| 358 | /* Path to sendmail */ |
|---|
| 359 | #undef SENDMAIL |
|---|
| 360 | |
|---|
| 361 | #undef HAVE_ED |
|---|
| 362 | #undef ED_PATH |
|---|
| 363 | |
|---|
| 364 | #undef HAVE_SAFE_TOUPPER |
|---|
| 365 | |
|---|
| 366 | /* Optional language features */ |
|---|
| 367 | #undef restrict |
|---|
| 368 | #undef inline |
|---|
| 369 | |
|---|
| 370 | #ifdef _MSC_VER |
|---|
| 371 | #define WIN32_CDECL __cdecl |
|---|
| 372 | #else |
|---|
| 373 | #define WIN32_CDECL |
|---|
| 374 | #endif |
|---|
| 375 | |
|---|
| 376 | #undef HAVE___ATTRIBUTE__ |
|---|
| 377 | |
|---|
| 378 | #ifndef HAVE___ATTRIBUTE__ |
|---|
| 379 | #define __attribute__(x) |
|---|
| 380 | #endif |
|---|
| 381 | |
|---|
| 382 | #undef GCC_MALLOC_CALL |
|---|
| 383 | |
|---|
| 384 | |
|---|
| 385 | /* Turn on SSE2 stuff automatically if supported (IE, x86-64 or x86 with the right -march switch) */ |
|---|
| 386 | #undef HAVE_SSE2 |
|---|
| 387 | #ifdef __SSE2__ |
|---|
| 388 | #define HAVE_SSE2 |
|---|
| 389 | #endif |
|---|
| 390 | |
|---|
| 391 | #undef HAVE_SSE3 |
|---|
| 392 | #ifdef __SSE3__ |
|---|
| 393 | #define HAVE_SSE3 |
|---|
| 394 | #endif |
|---|
| 395 | |
|---|
| 396 | #undef HAVE_ALTIVEC |
|---|
| 397 | |
|---|
| 398 | /* TODO: Change in source */ |
|---|
| 399 | #define RESTRICT restrict |
|---|
| 400 | |
|---|
| 401 | #endif /* __CONFIG_H */ |
|---|