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