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