| 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 | /* C99ish headers. The first two are really really nice to have. */ |
|---|
| 68 | |
|---|
| 69 | #undef HAVE_STDINT_H |
|---|
| 70 | |
|---|
| 71 | #undef HAVE_INTTYPES_H |
|---|
| 72 | |
|---|
| 73 | #undef HAVE_STDBOOL_H |
|---|
| 74 | |
|---|
| 75 | /* Libraries */ |
|---|
| 76 | |
|---|
| 77 | #undef HAVE_MYSQL |
|---|
| 78 | |
|---|
| 79 | #undef HAVE_POSTGRESQL |
|---|
| 80 | |
|---|
| 81 | #undef HAVE_SQLITE3 |
|---|
| 82 | |
|---|
| 83 | #undef HAVE_SSL |
|---|
| 84 | |
|---|
| 85 | #ifdef HAVE_SSL |
|---|
| 86 | #define HAS_OPENSSL |
|---|
| 87 | #endif |
|---|
| 88 | |
|---|
| 89 | /* Types */ |
|---|
| 90 | |
|---|
| 91 | #undef HAVE__BOOL |
|---|
| 92 | |
|---|
| 93 | #undef ssize_t |
|---|
| 94 | |
|---|
| 95 | /* Should be in <sys/socket.h> */ |
|---|
| 96 | #undef socklen_t |
|---|
| 97 | |
|---|
| 98 | #undef pid_t |
|---|
| 99 | |
|---|
| 100 | /* All of these are in <stdint.h> if present. Otherwise autoconf |
|---|
| 101 | guesses. */ |
|---|
| 102 | |
|---|
| 103 | #undef uint8_t |
|---|
| 104 | |
|---|
| 105 | #undef uint16_t |
|---|
| 106 | |
|---|
| 107 | #undef int32_t |
|---|
| 108 | |
|---|
| 109 | #undef uint32_t |
|---|
| 110 | |
|---|
| 111 | #undef int64_t |
|---|
| 112 | |
|---|
| 113 | #undef uint64_t |
|---|
| 114 | |
|---|
| 115 | /* Type of the largest int type */ |
|---|
| 116 | #undef intmax_t |
|---|
| 117 | |
|---|
| 118 | #undef uintmax_t |
|---|
| 119 | |
|---|
| 120 | /* 4 */ |
|---|
| 121 | #undef SIZEOF_INT |
|---|
| 122 | |
|---|
| 123 | /* 4 or 8 */ |
|---|
| 124 | #undef SIZEOF_LONG |
|---|
| 125 | |
|---|
| 126 | /* 0 if no 64-bit type (We shouldn't be seeing that case) or 8. See below. */ |
|---|
| 127 | #undef SIZEOF_INT64_T |
|---|
| 128 | |
|---|
| 129 | /* 8 on most modern CPUs Penn will be used on. They either have 64-bit |
|---|
| 130 | * words (amd64, sparc64, powerpc64) or support an extended 64-bit type (i386, |
|---|
| 131 | * powerpc32) */ |
|---|
| 132 | #undef SIZEOF_INTMAX_T |
|---|
| 133 | |
|---|
| 134 | #undef SIZEOF_TIME_T |
|---|
| 135 | |
|---|
| 136 | /* 4 or 8 */ |
|---|
| 137 | #undef SIZEOF_VOID_P |
|---|
| 138 | |
|---|
| 139 | /* Taken from autoconf manual */ |
|---|
| 140 | #if HAVE_STDBOOL_H |
|---|
| 141 | # include <stdbool.h> |
|---|
| 142 | #else |
|---|
| 143 | # if ! HAVE__BOOL |
|---|
| 144 | # ifdef __cplusplus |
|---|
| 145 | typedef bool _Bool; |
|---|
| 146 | # else |
|---|
| 147 | # define _Bool signed char |
|---|
| 148 | # endif |
|---|
| 149 | # endif |
|---|
| 150 | # define bool _Bool |
|---|
| 151 | # define false 0 |
|---|
| 152 | # define true 1 |
|---|
| 153 | # define __bool_true_false_are_defined 1 |
|---|
| 154 | #endif |
|---|
| 155 | |
|---|
| 156 | /* Someday work to get rid of these. They're left over from the |
|---|
| 157 | pre-void days */ |
|---|
| 158 | typedef void* Malloc_t; |
|---|
| 159 | typedef void Free_t; |
|---|
| 160 | |
|---|
| 161 | /* Functions */ |
|---|
| 162 | #undef HAS_BINDTEXTDOMAIN |
|---|
| 163 | |
|---|
| 164 | #undef HAVE_CBRT |
|---|
| 165 | |
|---|
| 166 | #undef HAS_CRYPT |
|---|
| 167 | |
|---|
| 168 | #undef HAS_FPSETMASK |
|---|
| 169 | |
|---|
| 170 | #undef HAS_FPSETROUND |
|---|
| 171 | |
|---|
| 172 | #undef HAS_GAI_STRERROR |
|---|
| 173 | |
|---|
| 174 | #undef HAS_GETADDRINFO |
|---|
| 175 | |
|---|
| 176 | #undef HAS_GETDATE |
|---|
| 177 | |
|---|
| 178 | #undef HAS_GETHOSTBYNAME2 |
|---|
| 179 | |
|---|
| 180 | #undef HAS_GETNAMEINFO |
|---|
| 181 | |
|---|
| 182 | #undef HAS_GETPAGESIZE |
|---|
| 183 | |
|---|
| 184 | #undef HAS_GETRLIMIT |
|---|
| 185 | |
|---|
| 186 | #undef HAS_GETRUSAGE |
|---|
| 187 | |
|---|
| 188 | #undef HAVE_GETTEXT |
|---|
| 189 | |
|---|
| 190 | #undef HAS_INET_PTON |
|---|
| 191 | |
|---|
| 192 | #undef HAS_ITIMER |
|---|
| 193 | |
|---|
| 194 | #undef HAS_SETLOCALE |
|---|
| 195 | |
|---|
| 196 | #undef HAVE_FORK |
|---|
| 197 | |
|---|
| 198 | #undef HAVE_SETPGRP |
|---|
| 199 | |
|---|
| 200 | #undef HAVE_SETSID |
|---|
| 201 | |
|---|
| 202 | #undef HAVE_SETPGID |
|---|
| 203 | |
|---|
| 204 | #undef SETPGRP_VOID |
|---|
| 205 | |
|---|
| 206 | #undef HAVE_GETUID |
|---|
| 207 | |
|---|
| 208 | #undef HAVE_GETEUID |
|---|
| 209 | |
|---|
| 210 | #undef HAVE_SETEUID |
|---|
| 211 | |
|---|
| 212 | #undef HAVE_GETPRIORITY |
|---|
| 213 | |
|---|
| 214 | #undef HAVE_SETPRIORITY |
|---|
| 215 | |
|---|
| 216 | #undef HAVE_SIGACTION |
|---|
| 217 | |
|---|
| 218 | #undef HAVE_SIGPROCMASK |
|---|
| 219 | |
|---|
| 220 | #undef HAVE_SNPRINTF |
|---|
| 221 | |
|---|
| 222 | #undef HAVE_SOCKETPAIR |
|---|
| 223 | |
|---|
| 224 | #undef HAVE_STRCASECMP |
|---|
| 225 | |
|---|
| 226 | #undef HAVE_STRNCASECMP |
|---|
| 227 | |
|---|
| 228 | /* Various Windows (And maybe others?) string functions start with _str */ |
|---|
| 229 | |
|---|
| 230 | #undef HAVE__STRICMP |
|---|
| 231 | |
|---|
| 232 | #undef HAVE__STRNICMP |
|---|
| 233 | |
|---|
| 234 | #undef HAVE__STRICOLL |
|---|
| 235 | |
|---|
| 236 | #undef HAVE__STRNCOLL |
|---|
| 237 | |
|---|
| 238 | #undef HAVE__STRNICOLL |
|---|
| 239 | |
|---|
| 240 | #undef HAVE__SNPRINTF |
|---|
| 241 | |
|---|
| 242 | #undef HAVE__VSNPRINTF |
|---|
| 243 | |
|---|
| 244 | #undef HAVE__VSNPRINTF_S |
|---|
| 245 | |
|---|
| 246 | |
|---|
| 247 | #undef HAVE_STRDUP |
|---|
| 248 | |
|---|
| 249 | #undef HAVE_STRCOLL |
|---|
| 250 | |
|---|
| 251 | #undef HAVE_STRXFRM |
|---|
| 252 | |
|---|
| 253 | #undef HAS_SYSCONF |
|---|
| 254 | |
|---|
| 255 | #undef HAS_TEXTDOMAIN |
|---|
| 256 | |
|---|
| 257 | #undef HAS_VSNPRINTF |
|---|
| 258 | |
|---|
| 259 | #undef HAVE_WAITPID |
|---|
| 260 | |
|---|
| 261 | #undef HAVE_WAIT3 |
|---|
| 262 | |
|---|
| 263 | #undef HAVE_WAIT |
|---|
| 264 | |
|---|
| 265 | #undef UNION_WAIT |
|---|
| 266 | |
|---|
| 267 | #undef HAVE_IMAXDIV |
|---|
| 268 | |
|---|
| 269 | #undef HAVE_GETPID |
|---|
| 270 | |
|---|
| 271 | #undef HAVE_GETPPID |
|---|
| 272 | |
|---|
| 273 | #undef HAVE_KQUEUE |
|---|
| 274 | |
|---|
| 275 | /* Variables and defines */ |
|---|
| 276 | |
|---|
| 277 | #undef HAVE_H_ERRNO |
|---|
| 278 | |
|---|
| 279 | #undef HAVE_SIGCHLD |
|---|
| 280 | |
|---|
| 281 | #undef HAVE_SIGCLD |
|---|
| 282 | |
|---|
| 283 | /* Files */ |
|---|
| 284 | |
|---|
| 285 | #undef HAS_DEV_URANDOM |
|---|
| 286 | |
|---|
| 287 | /* Misc. */ |
|---|
| 288 | |
|---|
| 289 | #undef HAVE_SOCKADDR_IN6 |
|---|
| 290 | |
|---|
| 291 | #undef FORCE_IPV4 |
|---|
| 292 | |
|---|
| 293 | #undef DONT_TRANSLATE |
|---|
| 294 | |
|---|
| 295 | #undef HAVE_UPTIME |
|---|
| 296 | |
|---|
| 297 | /* Path to uptime */ |
|---|
| 298 | #undef UPTIME |
|---|
| 299 | |
|---|
| 300 | #undef HAVE_SENDMAIL |
|---|
| 301 | |
|---|
| 302 | /* Path to sendmail */ |
|---|
| 303 | #undef SENDMAIL |
|---|
| 304 | |
|---|
| 305 | #undef HAVE_SAFE_TOUPPER |
|---|
| 306 | |
|---|
| 307 | /* Optional language features */ |
|---|
| 308 | #undef restrict |
|---|
| 309 | #undef inline |
|---|
| 310 | |
|---|
| 311 | #ifdef _MSC_VER |
|---|
| 312 | #define WIN32_CDECL __cdecl |
|---|
| 313 | #else |
|---|
| 314 | #define WIN32_CDECL |
|---|
| 315 | #endif |
|---|
| 316 | |
|---|
| 317 | #undef HAVE___ATTRIBUTE__ |
|---|
| 318 | |
|---|
| 319 | #ifndef HAVE___ATTRIBUTE__ |
|---|
| 320 | #define __attribute__(x) |
|---|
| 321 | #endif |
|---|
| 322 | |
|---|
| 323 | #undef GCC_MALLOC_CALL |
|---|
| 324 | |
|---|
| 325 | /* TODO: Change in source */ |
|---|
| 326 | #define RESTRICT restrict |
|---|
| 327 | |
|---|
| 328 | #endif /* __CONFIG_H */ |
|---|