1 /* event2/event-config.h
2 *
3 * This file was generated by autoconf when libevent was built, and post-
4 * processed by Libevent so that its macros would have a uniform prefix.
5 *
6 * DO NOT EDIT THIS FILE.
7 *
8 * Do not rely on macros in this file existing in later versions.
9 */
10 
11 #ifndef EVENT2_EVENT_CONFIG_H_INCLUDED_
12 #define EVENT2_EVENT_CONFIG_H_INCLUDED_
13 
14 /* config.h.  Generated from config.h.in by configure.  */
15 /* config.h.in.  Generated from configure.ac by autoheader.  */
16 
17 /* Define if libevent should build without support for a debug mode */
18 /* #undef EVENT__DISABLE_DEBUG_MODE */
19 
20 /* Define if libevent should not allow replacing the mm functions */
21 /* #undef EVENT__DISABLE_MM_REPLACEMENT */
22 
23 /* Define if libevent should not be compiled with thread support */
24 /* #undef EVENT__DISABLE_THREAD_SUPPORT */
25 
26 /* Define to 1 if you have the `accept4' function. */
27 /* #undef EVENT__HAVE_ACCEPT4 */
28 
29 /* Define to 1 if you have the `arc4random' function. */
30 #define EVENT__HAVE_ARC4RANDOM 1
31 
32 /* Define to 1 if you have the `arc4random_buf' function. */
33 #define EVENT__HAVE_ARC4RANDOM_BUF 1
34 
35 /* Define to 1 if you have the <arpa/inet.h> header file. */
36 #define EVENT__HAVE_ARPA_INET_H 1
37 
38 /* Define to 1 if you have the `clock_gettime' function. */
39 /* #undef EVENT__HAVE_CLOCK_GETTIME */
40 
41 /* Define to 1 if you have the declaration of `CTL_KERN', and to 0 if you
42    don't. */
43 #define EVENT__HAVE_DECL_CTL_KERN 1
44 
45 /* Define to 1 if you have the declaration of `KERN_ARND', and to 0 if you
46    don't. */
47 #define EVENT__HAVE_DECL_KERN_ARND 0
48 
49 /* Define to 1 if you have the declaration of `KERN_RANDOM', and to 0 if you
50    don't. */
51 #define EVENT__HAVE_DECL_KERN_RANDOM 0
52 
53 /* Define to 1 if you have the declaration of `RANDOM_UUID', and to 0 if you
54    don't. */
55 #define EVENT__HAVE_DECL_RANDOM_UUID 0
56 
57 /* Define if /dev/poll is available */
58 /* #undef EVENT__HAVE_DEVPOLL */
59 
60 /* Define to 1 if you have the <dlfcn.h> header file. */
61 #define EVENT__HAVE_DLFCN_H 1
62 
63 /* Define if your system supports the epoll system calls */
64 /* #undef EVENT__HAVE_EPOLL */
65 
66 /* Define to 1 if you have the `epoll_create1' function. */
67 /* #undef EVENT__HAVE_EPOLL_CREATE1 */
68 
69 /* Define to 1 if you have the `epoll_ctl' function. */
70 /* #undef EVENT__HAVE_EPOLL_CTL */
71 
72 /* Define to 1 if you have the <errno.h> header file. */
73 #define EVENT__HAVE_ERRNO_H 1
74 
75 /* Define to 1 if you have ERR_remove_thread_stat(). */
76 /* #undef EVENT__HAVE_ERR_REMOVE_THREAD_STATE */
77 
78 /* Define to 1 if you have the `eventfd' function. */
79 /* #undef EVENT__HAVE_EVENTFD */
80 
81 /* Define if your system supports event ports */
82 /* #undef EVENT__HAVE_EVENT_PORTS */
83 
84 /* Define to 1 if you have the `fcntl' function. */
85 #define EVENT__HAVE_FCNTL 1
86 
87 /* Define to 1 if you have the <fcntl.h> header file. */
88 #define EVENT__HAVE_FCNTL_H 1
89 
90 /* Define to 1 if the system has the type `fd_mask'. */
91 #define EVENT__HAVE_FD_MASK 1
92 
93 /* Do we have getaddrinfo()? */
94 #define EVENT__HAVE_GETADDRINFO 1
95 
96 /* Define to 1 if you have the `getegid' function. */
97 #define EVENT__HAVE_GETEGID 1
98 
99 /* Define to 1 if you have the `geteuid' function. */
100 #define EVENT__HAVE_GETEUID 1
101 
102 /* Define this if you have any gethostbyname_r() */
103 /* #undef EVENT__HAVE_GETHOSTBYNAME_R */
104 
105 /* Define this if gethostbyname_r takes 3 arguments */
106 /* #undef EVENT__HAVE_GETHOSTBYNAME_R_3_ARG */
107 
108 /* Define this if gethostbyname_r takes 5 arguments */
109 /* #undef EVENT__HAVE_GETHOSTBYNAME_R_5_ARG */
110 
111 /* Define this if gethostbyname_r takes 6 arguments */
112 /* #undef EVENT__HAVE_GETHOSTBYNAME_R_6_ARG */
113 
114 /* Define to 1 if you have the `getifaddrs' function. */
115 #define EVENT__HAVE_GETIFADDRS 1
116 
117 /* Define to 1 if you have the `getnameinfo' function. */
118 #define EVENT__HAVE_GETNAMEINFO 1
119 
120 /* Define to 1 if you have the `getprotobynumber' function. */
121 #define EVENT__HAVE_GETPROTOBYNUMBER 1
122 
123 /* Define to 1 if you have the `getservbyname' function. */
124 #define EVENT__HAVE_GETSERVBYNAME 1
125 
126 /* Define to 1 if you have the `gettimeofday' function. */
127 #define EVENT__HAVE_GETTIMEOFDAY 1
128 
129 /* Define to 1 if you have the <ifaddrs.h> header file. */
130 #define EVENT__HAVE_IFADDRS_H 1
131 
132 /* Define to 1 if you have the `inet_ntop' function. */
133 #define EVENT__HAVE_INET_NTOP 1
134 
135 /* Define to 1 if you have the `inet_pton' function. */
136 #define EVENT__HAVE_INET_PTON 1
137 
138 /* Define to 1 if you have the <inttypes.h> header file. */
139 #define EVENT__HAVE_INTTYPES_H 1
140 
141 /* Define to 1 if you have the `issetugid' function. */
142 #define EVENT__HAVE_ISSETUGID 1
143 
144 /* Define to 1 if you have the `kqueue' function. */
145 #define EVENT__HAVE_KQUEUE 1
146 
147 /* Define if the system has zlib */
148 #define EVENT__HAVE_LIBZ 1
149 
150 /* Define to 1 if you have the `mach_absolute_time' function. */
151 #define EVENT__HAVE_MACH_ABSOLUTE_TIME 1
152 
153 /* Define to 1 if you have the <mach/mach_time.h> header file. */
154 #define EVENT__HAVE_MACH_MACH_TIME_H 1
155 
156 /* Define to 1 if you have the <memory.h> header file. */
157 #define EVENT__HAVE_MEMORY_H 1
158 
159 /* Define to 1 if you have the `mmap' function. */
160 #define EVENT__HAVE_MMAP 1
161 
162 /* Define to 1 if you have the `nanosleep' function. */
163 #define EVENT__HAVE_NANOSLEEP 1
164 
165 /* Define to 1 if you have the <netdb.h> header file. */
166 #define EVENT__HAVE_NETDB_H 1
167 
168 /* Define to 1 if you have the <netinet/in6.h> header file. */
169 /* #undef EVENT__HAVE_NETINET_IN6_H */
170 
171 /* Define to 1 if you have the <netinet/in.h> header file. */
172 #define EVENT__HAVE_NETINET_IN_H 1
173 
174 /* Define to 1 if you have the <netinet/tcp.h> header file. */
175 #define EVENT__HAVE_NETINET_TCP_H 1
176 
177 /* Define if the system has openssl */
178 /* #undef EVENT__HAVE_OPENSSL */
179 
180 /* Define to 1 if you have the `pipe' function. */
181 #define EVENT__HAVE_PIPE 1
182 
183 /* Define to 1 if you have the `pipe2' function. */
184 /* #undef EVENT__HAVE_PIPE2 */
185 
186 /* Define to 1 if you have the `poll' function. */
187 #define EVENT__HAVE_POLL 1
188 
189 /* Define to 1 if you have the <poll.h> header file. */
190 #define EVENT__HAVE_POLL_H 1
191 
192 /* Define to 1 if you have the `port_create' function. */
193 /* #undef EVENT__HAVE_PORT_CREATE */
194 
195 /* Define to 1 if you have the <port.h> header file. */
196 /* #undef EVENT__HAVE_PORT_H */
197 
198 /* Define if you have POSIX threads libraries and header files. */
199 /* #undef EVENT__HAVE_PTHREAD */
200 
201 /* Define if we have pthreads on this system */
202 #define EVENT__HAVE_PTHREADS 1
203 
204 /* Define to 1 if you have the `putenv' function. */
205 #define EVENT__HAVE_PUTENV 1
206 
207 /* Define to 1 if the system has the type `sa_family_t'. */
208 #define EVENT__HAVE_SA_FAMILY_T 1
209 
210 /* Define to 1 if you have the `select' function. */
211 #define EVENT__HAVE_SELECT 1
212 
213 /* Define to 1 if you have the `sendfile' function. */
214 #define EVENT__HAVE_SENDFILE 1
215 
216 /* Define to 1 if you have the `setenv' function. */
217 #define EVENT__HAVE_SETENV 1
218 
219 /* Define if F_SETFD is defined in <fcntl.h> */
220 #define EVENT__HAVE_SETFD 1
221 
222 /* Define to 1 if you have the `setrlimit' function. */
223 #define EVENT__HAVE_SETRLIMIT 1
224 
225 /* Define to 1 if you have the `sigaction' function. */
226 #define EVENT__HAVE_SIGACTION 1
227 
228 /* Define to 1 if you have the `signal' function. */
229 #define EVENT__HAVE_SIGNAL 1
230 
231 /* Define to 1 if you have the `splice' function. */
232 /* #undef EVENT__HAVE_SPLICE */
233 
234 /* Define to 1 if you have the <stdarg.h> header file. */
235 #define EVENT__HAVE_STDARG_H 1
236 
237 /* Define to 1 if you have the <stddef.h> header file. */
238 #define EVENT__HAVE_STDDEF_H 1
239 
240 /* Define to 1 if you have the <stdint.h> header file. */
241 #define EVENT__HAVE_STDINT_H 1
242 
243 /* Define to 1 if you have the <stdlib.h> header file. */
244 #define EVENT__HAVE_STDLIB_H 1
245 
246 /* Define to 1 if you have the <strings.h> header file. */
247 #define EVENT__HAVE_STRINGS_H 1
248 
249 /* Define to 1 if you have the <string.h> header file. */
250 #define EVENT__HAVE_STRING_H 1
251 
252 /* Define to 1 if you have the `strlcpy' function. */
253 #define EVENT__HAVE_STRLCPY 1
254 
255 /* Define to 1 if you have the `strsep' function. */
256 #define EVENT__HAVE_STRSEP 1
257 
258 /* Define to 1 if you have the `strtok_r' function. */
259 #define EVENT__HAVE_STRTOK_R 1
260 
261 /* Define to 1 if you have the `strtoll' function. */
262 #define EVENT__HAVE_STRTOLL 1
263 
264 /* Define to 1 if the system has the type `struct addrinfo'. */
265 #define EVENT__HAVE_STRUCT_ADDRINFO 1
266 
267 /* Define to 1 if the system has the type `struct in6_addr'. */
268 #define EVENT__HAVE_STRUCT_IN6_ADDR 1
269 
270 /* Define to 1 if `s6_addr16' is a member of `struct in6_addr'. */
271 /* #undef EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR16 */
272 
273 /* Define to 1 if `s6_addr32' is a member of `struct in6_addr'. */
274 /* #undef EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR32 */
275 
276 /* Define to 1 if the system has the type `struct sockaddr_in6'. */
277 #define EVENT__HAVE_STRUCT_SOCKADDR_IN6 1
278 
279 /* Define to 1 if `sin6_len' is a member of `struct sockaddr_in6'. */
280 #define EVENT__HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN 1
281 
282 /* Define to 1 if `sin_len' is a member of `struct sockaddr_in'. */
283 #define EVENT__HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
284 
285 /* Define to 1 if the system has the type `struct sockaddr_storage'. */
286 #define EVENT__HAVE_STRUCT_SOCKADDR_STORAGE 1
287 
288 /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */
289 #define EVENT__HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
290 
291 /* Define to 1 if `__ss_family' is a member of `struct sockaddr_storage'. */
292 /* #undef EVENT__HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY */
293 
294 /* Define to 1 if the system has the type `struct so_linger'. */
295 #define EVENT__HAVE_STRUCT_SO_LINGER 1
296 
297 /* Define to 1 if you have the `sysctl' function. */
298 #define EVENT__HAVE_SYSCTL 1
299 
300 /* Define to 1 if you have the <sys/devpoll.h> header file. */
301 /* #undef EVENT__HAVE_SYS_DEVPOLL_H */
302 
303 /* Define to 1 if you have the <sys/epoll.h> header file. */
304 /* #undef EVENT__HAVE_SYS_EPOLL_H */
305 
306 /* Define to 1 if you have the <sys/eventfd.h> header file. */
307 /* #undef EVENT__HAVE_SYS_EVENTFD_H */
308 
309 /* Define to 1 if you have the <sys/event.h> header file. */
310 #define EVENT__HAVE_SYS_EVENT_H 1
311 
312 /* Define to 1 if you have the <sys/ioctl.h> header file. */
313 #define EVENT__HAVE_SYS_IOCTL_H 1
314 
315 /* Define to 1 if you have the <sys/mman.h> header file. */
316 #define EVENT__HAVE_SYS_MMAN_H 1
317 
318 /* Define to 1 if you have the <sys/param.h> header file. */
319 #define EVENT__HAVE_SYS_PARAM_H 1
320 
321 /* Define to 1 if you have the <sys/queue.h> header file. */
322 #define EVENT__HAVE_SYS_QUEUE_H 1
323 
324 /* Define to 1 if you have the <sys/resource.h> header file. */
325 #define EVENT__HAVE_SYS_RESOURCE_H 1
326 
327 /* Define to 1 if you have the <sys/select.h> header file. */
328 #define EVENT__HAVE_SYS_SELECT_H 1
329 
330 /* Define to 1 if you have the <sys/sendfile.h> header file. */
331 /* #undef EVENT__HAVE_SYS_SENDFILE_H */
332 
333 /* Define to 1 if you have the <sys/socket.h> header file. */
334 #define EVENT__HAVE_SYS_SOCKET_H 1
335 
336 /* Define to 1 if you have the <sys/stat.h> header file. */
337 #define EVENT__HAVE_SYS_STAT_H 1
338 
339 /* Define to 1 if you have the <sys/sysctl.h> header file. */
340 #define EVENT__HAVE_SYS_SYSCTL_H 1
341 
342 /* Define to 1 if you have the <sys/timerfd.h> header file. */
343 /* #undef EVENT__HAVE_SYS_TIMERFD_H */
344 
345 /* Define to 1 if you have the <sys/time.h> header file. */
346 #define EVENT__HAVE_SYS_TIME_H 1
347 
348 /* Define to 1 if you have the <sys/types.h> header file. */
349 #define EVENT__HAVE_SYS_TYPES_H 1
350 
351 /* Define to 1 if you have the <sys/uio.h> header file. */
352 #define EVENT__HAVE_SYS_UIO_H 1
353 
354 /* Define to 1 if you have the <sys/wait.h> header file. */
355 #define EVENT__HAVE_SYS_WAIT_H 1
356 
357 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
358 #define EVENT__HAVE_TAILQFOREACH 1
359 
360 /* Define if timeradd is defined in <sys/time.h> */
361 #define EVENT__HAVE_TIMERADD 1
362 
363 /* Define if timerclear is defined in <sys/time.h> */
364 #define EVENT__HAVE_TIMERCLEAR 1
365 
366 /* Define if timercmp is defined in <sys/time.h> */
367 #define EVENT__HAVE_TIMERCMP 1
368 
369 /* Define to 1 if you have the `timerfd_create' function. */
370 /* #undef EVENT__HAVE_TIMERFD_CREATE */
371 
372 /* Define if timerisset is defined in <sys/time.h> */
373 #define EVENT__HAVE_TIMERISSET 1
374 
375 /* Define to 1 if the system has the type `uint16_t'. */
376 #define EVENT__HAVE_UINT16_T 1
377 
378 /* Define to 1 if the system has the type `uint32_t'. */
379 #define EVENT__HAVE_UINT32_T 1
380 
381 /* Define to 1 if the system has the type `uint64_t'. */
382 #define EVENT__HAVE_UINT64_T 1
383 
384 /* Define to 1 if the system has the type `uint8_t'. */
385 #define EVENT__HAVE_UINT8_T 1
386 
387 /* Define to 1 if the system has the type `uintptr_t'. */
388 #define EVENT__HAVE_UINTPTR_T 1
389 
390 /* Define to 1 if you have the `umask' function. */
391 #define EVENT__HAVE_UMASK 1
392 
393 /* Define to 1 if you have the <unistd.h> header file. */
394 #define EVENT__HAVE_UNISTD_H 1
395 
396 /* Define to 1 if you have the `unsetenv' function. */
397 #define EVENT__HAVE_UNSETENV 1
398 
399 /* Define to 1 if you have the `usleep' function. */
400 #define EVENT__HAVE_USLEEP 1
401 
402 /* Define to 1 if you have the `vasprintf' function. */
403 #define EVENT__HAVE_VASPRINTF 1
404 
405 /* Define if waitpid() supports WNOWAIT */
406 /* #undef EVENT__HAVE_WAITPID_WITH_WNOWAIT */
407 
408 /* Define if kqueue works correctly with pipes */
409 #define EVENT__HAVE_WORKING_KQUEUE 1
410 
411 /* Define to 1 if you have the <zlib.h> header file. */
412 #define EVENT__HAVE_ZLIB_H 1
413 
414 /* Define to the sub-directory where libtool stores uninstalled libraries. */
415 #define EVENT__LT_OBJDIR ".libs/"
416 
417 /* Numeric representation of the version */
418 #define EVENT__NUMERIC_VERSION 0x02010800
419 
420 /* Name of package */
421 #define EVENT__PACKAGE "libevent"
422 
423 /* Define to the address where bug reports for this package should be sent. */
424 #define EVENT__PACKAGE_BUGREPORT ""
425 
426 /* Define to the full name of this package. */
427 #define EVENT__PACKAGE_NAME "libevent"
428 
429 /* Define to the full name and version of this package. */
430 #define EVENT__PACKAGE_STRING "libevent 2.1.8-stable"
431 
432 /* Define to the one symbol short name of this package. */
433 #define EVENT__PACKAGE_TARNAME "libevent"
434 
435 /* Define to the home page for this package. */
436 #define EVENT__PACKAGE_URL ""
437 
438 /* Define to the version of this package. */
439 #define EVENT__PACKAGE_VERSION "2.1.8-stable"
440 
441 /* Define to necessary symbol if this constant uses a non-standard name on
442    your system. */
443 /* #undef EVENT__PTHREAD_CREATE_JOINABLE */
444 
445 /* The size of `int', as computed by sizeof. */
446 #define EVENT__SIZEOF_INT 4
447 
448 /* The size of `long', as computed by sizeof. */
449 #define EVENT__SIZEOF_LONG 8
450 
451 /* The size of `long long', as computed by sizeof. */
452 #define EVENT__SIZEOF_LONG_LONG 8
453 
454 /* The size of `off_t', as computed by sizeof. */
455 #define EVENT__SIZEOF_OFF_T 8
456 
457 /* The size of `pthread_t', as computed by sizeof. */
458 #define EVENT__SIZEOF_PTHREAD_T 8
459 
460 /* The size of `short', as computed by sizeof. */
461 #define EVENT__SIZEOF_SHORT 2
462 
463 /* The size of `size_t', as computed by sizeof. */
464 #define EVENT__SIZEOF_SIZE_T 8
465 
466 /* The size of `void *', as computed by sizeof. */
467 #define EVENT__SIZEOF_VOID_P 8
468 
469 /* Define to 1 if you have the ANSI C header files. */
470 #define EVENT__STDC_HEADERS 1
471 
472 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
473 #define EVENT__TIME_WITH_SYS_TIME 1
474 
475 /* Enable extensions on AIX 3, Interix.  */
476 #ifndef EVENT___ALL_SOURCE
477 # define EVENT___ALL_SOURCE 1
478 #endif
479 /* Enable GNU extensions on systems that have them.  */
480 #ifndef EVENT___GNU_SOURCE
481 # define EVENT___GNU_SOURCE 1
482 #endif
483 /* Enable threading extensions on Solaris.  */
484 #ifndef EVENT___POSIX_PTHREAD_SEMANTICS
485 # define EVENT___POSIX_PTHREAD_SEMANTICS 1
486 #endif
487 /* Enable extensions on HP NonStop.  */
488 #ifndef EVENT___TANDEM_SOURCE
489 # define EVENT___TANDEM_SOURCE 1
490 #endif
491 /* Enable general extensions on Solaris.  */
492 #ifndef EVENT____EXTENSIONS__
493 # define EVENT____EXTENSIONS__ 1
494 #endif
495 
496 
497 /* Version number of package */
498 #define EVENT__VERSION "2.1.8-stable"
499 
500 /* Enable large inode numbers on Mac OS X 10.5.  */
501 #ifndef EVENT___DARWIN_USE_64_BIT_INODE
502 # define EVENT___DARWIN_USE_64_BIT_INODE 1
503 #endif
504 
505 /* Number of bits in a file offset, on hosts where this is settable. */
506 /* #undef EVENT___FILE_OFFSET_BITS */
507 
508 /* Define for large files, on AIX-style hosts. */
509 /* #undef EVENT___LARGE_FILES */
510 
511 /* Define to 1 if on MINIX. */
512 /* #undef EVENT___MINIX */
513 
514 /* Define to 2 if the system does not provide POSIX.1 features except with
515    this defined. */
516 /* #undef EVENT___POSIX_1_SOURCE */
517 
518 /* Define to 1 if you need to in order for `stat' and other things to work. */
519 /* #undef EVENT___POSIX_SOURCE */
520 
521 /* Define to appropriate substitue if compiler doesnt have __func__ */
522 /* #undef EVENT____func__ */
523 
524 /* Define to empty if `const' does not conform to ANSI C. */
525 /* #undef EVENT__const */
526 
527 /* Define to `__inline__' or `__inline' if that's what the C compiler
528    calls it, or to nothing if 'inline' is not supported under any name.  */
529 #ifndef EVENT____cplusplus
530 /* #undef EVENT__inline */
531 #endif
532 
533 /* Define to `int' if <sys/types.h> does not define. */
534 /* #undef EVENT__pid_t */
535 
536 /* Define to `unsigned int' if <sys/types.h> does not define. */
537 /* #undef EVENT__size_t */
538 
539 /* Define to unsigned int if you dont have it */
540 /* #undef EVENT__socklen_t */
541 
542 /* Define to `int' if <sys/types.h> does not define. */
543 /* #undef EVENT__ssize_t */
544 
545 #endif /* event2/event-config.h */
546