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