1 /* event-config.h 2 * Generated by autoconf; post-processed by libevent. 3 * Do not edit this file. 4 * Do not rely on macros in this file existing in later versions. 5 */ 6 #ifndef _EVENT_CONFIG_H_ 7 #define _EVENT_CONFIG_H_ 8 /* config.h. Generated from config.h.in by configure. */ 9 /* config.h.in. Generated from configure.in by autoheader. */ 10 11 /* Define if libevent should build without support for a debug mode */ 12 /* #undef _EVENT_DISABLE_DEBUG_MODE */ 13 14 /* Define if libevent should not allow replacing the mm functions */ 15 /* #undef _EVENT_DISABLE_MM_REPLACEMENT */ 16 17 /* Define if libevent should not be compiled with thread support */ 18 /* #undef _EVENT_DISABLE_THREAD_SUPPORT */ 19 20 /* Define to 1 if you have the `arc4random' function. */ 21 #define _EVENT_HAVE_ARC4RANDOM 1 22 23 /* Define to 1 if you have the `arc4random_buf' function. */ 24 /* #undef _EVENT_HAVE_ARC4RANDOM_BUF */ 25 26 /* Define to 1 if you have the <arpa/inet.h> header file. */ 27 #define _EVENT_HAVE_ARPA_INET_H 1 28 29 /* Define to 1 if you have the `clock_gettime' function. */ 30 /* #undef _EVENT_HAVE_CLOCK_GETTIME */ 31 32 /* Define to 1 if you have the declaration of `CTL_KERN', and to 0 if you 33 don't. */ 34 #define _EVENT_HAVE_DECL_CTL_KERN 1 35 36 /* Define to 1 if you have the declaration of `KERN_ARND', and to 0 if you 37 don't. */ 38 #define _EVENT_HAVE_DECL_KERN_ARND 0 39 40 /* Define to 1 if you have the declaration of `KERN_RANDOM', and to 0 if you 41 don't. */ 42 #define _EVENT_HAVE_DECL_KERN_RANDOM 0 43 44 /* Define to 1 if you have the declaration of `RANDOM_UUID', and to 0 if you 45 don't. */ 46 #define _EVENT_HAVE_DECL_RANDOM_UUID 0 47 48 /* Define if /dev/poll is available */ 49 /* #undef _EVENT_HAVE_DEVPOLL */ 50 51 /* Define to 1 if you have the <dlfcn.h> header file. */ 52 #define _EVENT_HAVE_DLFCN_H 1 53 54 /* Define if your system supports the epoll system calls */ 55 /* #undef _EVENT_HAVE_EPOLL */ 56 57 /* Define to 1 if you have the `epoll_ctl' function. */ 58 /* #undef _EVENT_HAVE_EPOLL_CTL */ 59 60 /* Define to 1 if you have the `eventfd' function. */ 61 /* #undef _EVENT_HAVE_EVENTFD */ 62 63 /* Define if your system supports event ports */ 64 /* #undef _EVENT_HAVE_EVENT_PORTS */ 65 66 /* Define to 1 if you have the `fcntl' function. */ 67 #define _EVENT_HAVE_FCNTL 1 68 69 /* Define to 1 if you have the <fcntl.h> header file. */ 70 #define _EVENT_HAVE_FCNTL_H 1 71 72 /* Define to 1 if the system has the type `fd_mask'. */ 73 #define _EVENT_HAVE_FD_MASK 1 74 75 /* Define to 1 if you have the `getaddrinfo' function. */ 76 #define _EVENT_HAVE_GETADDRINFO 1 77 78 /* Define to 1 if you have the `getegid' function. */ 79 #define _EVENT_HAVE_GETEGID 1 80 81 /* Define to 1 if you have the `geteuid' function. */ 82 #define _EVENT_HAVE_GETEUID 1 83 84 /* Define this if you have any gethostbyname_r() */ 85 /* #undef _EVENT_HAVE_GETHOSTBYNAME_R */ 86 87 /* Define this if gethostbyname_r takes 3 arguments */ 88 /* #undef _EVENT_HAVE_GETHOSTBYNAME_R_3_ARG */ 89 90 /* Define this if gethostbyname_r takes 5 arguments */ 91 /* #undef _EVENT_HAVE_GETHOSTBYNAME_R_5_ARG */ 92 93 /* Define this if gethostbyname_r takes 6 arguments */ 94 /* #undef _EVENT_HAVE_GETHOSTBYNAME_R_6_ARG */ 95 96 /* Define to 1 if you have the `getnameinfo' function. */ 97 #define _EVENT_HAVE_GETNAMEINFO 1 98 99 /* Define to 1 if you have the `getprotobynumber' function. */ 100 #define _EVENT_HAVE_GETPROTOBYNUMBER 1 101 102 /* Define to 1 if you have the `getservbyname' function. */ 103 #define _EVENT_HAVE_GETSERVBYNAME 1 104 105 /* Define to 1 if you have the `gettimeofday' function. */ 106 #define _EVENT_HAVE_GETTIMEOFDAY 1 107 108 /* Define to 1 if you have the `inet_aton' function. */ 109 #define _EVENT_HAVE_INET_ATON 1 110 111 /* Define to 1 if you have the `inet_ntop' function. */ 112 #define _EVENT_HAVE_INET_NTOP 1 113 114 /* Define to 1 if you have the `inet_pton' function. */ 115 #define _EVENT_HAVE_INET_PTON 1 116 117 /* Define to 1 if you have the <inttypes.h> header file. */ 118 #define _EVENT_HAVE_INTTYPES_H 1 119 120 /* Define to 1 if you have the `issetugid' function. */ 121 #define _EVENT_HAVE_ISSETUGID 1 122 123 /* Define to 1 if you have the `kqueue' function. */ 124 #define _EVENT_HAVE_KQUEUE 1 125 126 /* Define if the system has zlib */ 127 #define _EVENT_HAVE_LIBZ 1 128 129 /* Define to 1 if you have the <memory.h> header file. */ 130 #define _EVENT_HAVE_MEMORY_H 1 131 132 /* Define to 1 if you have the `mmap' function. */ 133 #define _EVENT_HAVE_MMAP 1 134 135 /* Define to 1 if you have the <netdb.h> header file. */ 136 #define _EVENT_HAVE_NETDB_H 1 137 138 /* Define to 1 if you have the <netinet/in6.h> header file. */ 139 /* #undef _EVENT_HAVE_NETINET_IN6_H */ 140 141 /* Define to 1 if you have the <netinet/in.h> header file. */ 142 #define _EVENT_HAVE_NETINET_IN_H 1 143 144 /* Define if the system has openssl */ 145 #define _EVENT_HAVE_OPENSSL 1 146 147 /* Define to 1 if you have the `pipe' function. */ 148 #define _EVENT_HAVE_PIPE 1 149 150 /* Define to 1 if you have the `poll' function. */ 151 #define _EVENT_HAVE_POLL 1 152 153 /* Define to 1 if you have the <poll.h> header file. */ 154 #define _EVENT_HAVE_POLL_H 1 155 156 /* Define to 1 if you have the `port_create' function. */ 157 /* #undef _EVENT_HAVE_PORT_CREATE */ 158 159 /* Define to 1 if you have the <port.h> header file. */ 160 /* #undef _EVENT_HAVE_PORT_H */ 161 162 /* Define if you have POSIX threads libraries and header files. */ 163 /* #undef _EVENT_HAVE_PTHREAD */ 164 165 /* Define if we have pthreads on this system */ 166 #define _EVENT_HAVE_PTHREADS 1 167 168 /* Define to 1 if you have the `putenv' function. */ 169 #define _EVENT_HAVE_PUTENV 1 170 171 /* Define to 1 if the system has the type `sa_family_t'. */ 172 #define _EVENT_HAVE_SA_FAMILY_T 1 173 174 /* Define to 1 if you have the `select' function. */ 175 #define _EVENT_HAVE_SELECT 1 176 177 /* Define to 1 if you have the `sendfile' function. */ 178 #define _EVENT_HAVE_SENDFILE 1 179 180 /* Define to 1 if you have the `setenv' function. */ 181 #define _EVENT_HAVE_SETENV 1 182 183 /* Define if F_SETFD is defined in <fcntl.h> */ 184 #define _EVENT_HAVE_SETFD 1 185 186 /* Define to 1 if you have the `sigaction' function. */ 187 #define _EVENT_HAVE_SIGACTION 1 188 189 /* Define to 1 if you have the `signal' function. */ 190 #define _EVENT_HAVE_SIGNAL 1 191 192 /* Define to 1 if you have the `splice' function. */ 193 /* #undef _EVENT_HAVE_SPLICE */ 194 195 /* Define to 1 if you have the <stdarg.h> header file. */ 196 #define _EVENT_HAVE_STDARG_H 1 197 198 /* Define to 1 if you have the <stddef.h> header file. */ 199 #define _EVENT_HAVE_STDDEF_H 1 200 201 /* Define to 1 if you have the <stdint.h> header file. */ 202 #define _EVENT_HAVE_STDINT_H 1 203 204 /* Define to 1 if you have the <stdlib.h> header file. */ 205 #define _EVENT_HAVE_STDLIB_H 1 206 207 /* Define to 1 if you have the <strings.h> header file. */ 208 #define _EVENT_HAVE_STRINGS_H 1 209 210 /* Define to 1 if you have the <string.h> header file. */ 211 #define _EVENT_HAVE_STRING_H 1 212 213 /* Define to 1 if you have the `strlcpy' function. */ 214 #define _EVENT_HAVE_STRLCPY 1 215 216 /* Define to 1 if you have the `strsep' function. */ 217 #define _EVENT_HAVE_STRSEP 1 218 219 /* Define to 1 if you have the `strtok_r' function. */ 220 #define _EVENT_HAVE_STRTOK_R 1 221 222 /* Define to 1 if you have the `strtoll' function. */ 223 #define _EVENT_HAVE_STRTOLL 1 224 225 /* Define to 1 if the system has the type `struct addrinfo'. */ 226 #define _EVENT_HAVE_STRUCT_ADDRINFO 1 227 228 /* Define to 1 if the system has the type `struct in6_addr'. */ 229 #define _EVENT_HAVE_STRUCT_IN6_ADDR 1 230 231 /* Define to 1 if `s6_addr16' is a member of `struct in6_addr'. */ 232 /* #undef _EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR16 */ 233 234 /* Define to 1 if `s6_addr32' is a member of `struct in6_addr'. */ 235 /* #undef _EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR32 */ 236 237 /* Define to 1 if the system has the type `struct sockaddr_in6'. */ 238 #define _EVENT_HAVE_STRUCT_SOCKADDR_IN6 1 239 240 /* Define to 1 if `sin6_len' is a member of `struct sockaddr_in6'. */ 241 #define _EVENT_HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN 1 242 243 /* Define to 1 if `sin_len' is a member of `struct sockaddr_in'. */ 244 #define _EVENT_HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 245 246 /* Define to 1 if the system has the type `struct sockaddr_storage'. */ 247 #define _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE 1 248 249 /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */ 250 #define _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 251 252 /* Define to 1 if `__ss_family' is a member of `struct sockaddr_storage'. */ 253 /* #undef _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY */ 254 255 /* Define to 1 if you have the <sys/devpoll.h> header file. */ 256 /* #undef _EVENT_HAVE_SYS_DEVPOLL_H */ 257 258 /* Define to 1 if you have the <sys/epoll.h> header file. */ 259 /* #undef _EVENT_HAVE_SYS_EPOLL_H */ 260 261 /* Define to 1 if you have the <sys/eventfd.h> header file. */ 262 /* #undef _EVENT_HAVE_SYS_EVENTFD_H */ 263 264 /* Define to 1 if you have the <sys/event.h> header file. */ 265 #define _EVENT_HAVE_SYS_EVENT_H 1 266 267 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 268 #define _EVENT_HAVE_SYS_IOCTL_H 1 269 270 /* Define to 1 if you have the <sys/mman.h> header file. */ 271 #define _EVENT_HAVE_SYS_MMAN_H 1 272 273 /* Define to 1 if you have the <sys/param.h> header file. */ 274 #define _EVENT_HAVE_SYS_PARAM_H 1 275 276 /* Define to 1 if you have the <sys/queue.h> header file. */ 277 #define _EVENT_HAVE_SYS_QUEUE_H 1 278 279 /* Define to 1 if you have the <sys/select.h> header file. */ 280 #define _EVENT_HAVE_SYS_SELECT_H 1 281 282 /* Define to 1 if you have the <sys/sendfile.h> header file. */ 283 /* #undef _EVENT_HAVE_SYS_SENDFILE_H */ 284 285 /* Define to 1 if you have the <sys/socket.h> header file. */ 286 #define _EVENT_HAVE_SYS_SOCKET_H 1 287 288 /* Define to 1 if you have the <sys/stat.h> header file. */ 289 #define _EVENT_HAVE_SYS_STAT_H 1 290 291 /* Define to 1 if you have the <sys/sysctl.h> header file. */ 292 #define _EVENT_HAVE_SYS_SYSCTL_H 1 293 294 /* Define to 1 if you have the <sys/time.h> header file. */ 295 #define _EVENT_HAVE_SYS_TIME_H 1 296 297 /* Define to 1 if you have the <sys/types.h> header file. */ 298 #define _EVENT_HAVE_SYS_TYPES_H 1 299 300 /* Define to 1 if you have the <sys/uio.h> header file. */ 301 #define _EVENT_HAVE_SYS_UIO_H 1 302 303 /* Define to 1 if you have the <sys/wait.h> header file. */ 304 #define _EVENT_HAVE_SYS_WAIT_H 1 305 306 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */ 307 #define _EVENT_HAVE_TAILQFOREACH 1 308 309 /* Define if timeradd is defined in <sys/time.h> */ 310 #define _EVENT_HAVE_TIMERADD 1 311 312 /* Define if timerclear is defined in <sys/time.h> */ 313 #define _EVENT_HAVE_TIMERCLEAR 1 314 315 /* Define if timercmp is defined in <sys/time.h> */ 316 #define _EVENT_HAVE_TIMERCMP 1 317 318 /* Define if timerisset is defined in <sys/time.h> */ 319 #define _EVENT_HAVE_TIMERISSET 1 320 321 /* Define to 1 if the system has the type `uint16_t'. */ 322 #define _EVENT_HAVE_UINT16_T 1 323 324 /* Define to 1 if the system has the type `uint32_t'. */ 325 #define _EVENT_HAVE_UINT32_T 1 326 327 /* Define to 1 if the system has the type `uint64_t'. */ 328 #define _EVENT_HAVE_UINT64_T 1 329 330 /* Define to 1 if the system has the type `uint8_t'. */ 331 #define _EVENT_HAVE_UINT8_T 1 332 333 /* Define to 1 if the system has the type `uintptr_t'. */ 334 #define _EVENT_HAVE_UINTPTR_T 1 335 336 /* Define to 1 if you have the <unistd.h> header file. */ 337 #define _EVENT_HAVE_UNISTD_H 1 338 339 /* Define to 1 if you have the `unsetenv' function. */ 340 #define _EVENT_HAVE_UNSETENV 1 341 342 /* Define to 1 if you have the `vasprintf' function. */ 343 #define _EVENT_HAVE_VASPRINTF 1 344 345 /* Define if kqueue works correctly with pipes */ 346 #define _EVENT_HAVE_WORKING_KQUEUE 1 347 348 /* Define to 1 if you have the <zlib.h> header file. */ 349 #define _EVENT_HAVE_ZLIB_H 1 350 351 /* Define to the sub-directory in which libtool stores uninstalled libraries. 352 */ 353 #define _EVENT_LT_OBJDIR ".libs/" 354 355 /* Numeric representation of the version */ 356 #define _EVENT_NUMERIC_VERSION 0x02000b01 357 358 /* Name of package */ 359 #define _EVENT_PACKAGE "libevent" 360 361 /* Define to the address where bug reports for this package should be sent. */ 362 #define _EVENT_PACKAGE_BUGREPORT "" 363 364 /* Define to the full name of this package. */ 365 #define _EVENT_PACKAGE_NAME "" 366 367 /* Define to the full name and version of this package. */ 368 #define _EVENT_PACKAGE_STRING "" 369 370 /* Define to the one symbol short name of this package. */ 371 #define _EVENT_PACKAGE_TARNAME "" 372 373 /* Define to the version of this package. */ 374 #define _EVENT_PACKAGE_VERSION "" 375 376 /* Define to necessary symbol if this constant uses a non-standard name on 377 your system. */ 378 /* #undef _EVENT_PTHREAD_CREATE_JOINABLE */ 379 380 /* The size of `int', as computed by sizeof. */ 381 #define _EVENT_SIZEOF_INT 4 382 383 /* The size of `long', as computed by sizeof. */ 384 #define _EVENT_SIZEOF_LONG 8 385 386 /* The size of `long long', as computed by sizeof. */ 387 #define _EVENT_SIZEOF_LONG_LONG 8 388 389 /* The size of `pthread_t', as computed by sizeof. */ 390 #define _EVENT_SIZEOF_PTHREAD_T 8 391 392 /* The size of `short', as computed by sizeof. */ 393 #define _EVENT_SIZEOF_SHORT 2 394 395 /* The size of `size_t', as computed by sizeof. */ 396 #define _EVENT_SIZEOF_SIZE_T 8 397 398 /* The size of `void *', as computed by sizeof. */ 399 #define _EVENT_SIZEOF_VOID_P 8 400 401 /* Define to 1 if you have the ANSI C header files. */ 402 #define _EVENT_STDC_HEADERS 1 403 404 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 405 #define _EVENT_TIME_WITH_SYS_TIME 1 406 407 /* Version number of package */ 408 #define _EVENT_VERSION "2.0.11-stable-dev" 409 410 /* Define to appropriate substitue if compiler doesnt have __func__ */ 411 /* #undef _EVENT___func__ */ 412 413 /* Define to empty if `const' does not conform to ANSI C. */ 414 /* #undef _EVENT_const */ 415 416 /* Define to `__inline__' or `__inline' if that's what the C compiler 417 calls it, or to nothing if 'inline' is not supported under any name. */ 418 #ifndef __cplusplus 419 /* #undef _EVENT_inline */ 420 #endif 421 422 /* Define to `int' if <sys/types.h> does not define. */ 423 /* #undef _EVENT_pid_t */ 424 425 /* Define to `unsigned int' if <sys/types.h> does not define. */ 426 /* #undef _EVENT_size_t */ 427 428 /* Define to unsigned int if you dont have it */ 429 /* #undef _EVENT_socklen_t */ 430 431 /* Define to `int' if <sys/types.h> does not define. */ 432 /* #undef _EVENT_ssize_t */ 433 #endif 434