xref: /freebsd/contrib/libevent/config.h.in (revision b50261e2)
1/* config.h.in.  Generated from configure.ac by autoheader.  */
2
3/* Define if libevent should build without support for a debug mode */
4#undef DISABLE_DEBUG_MODE
5
6/* Define if libevent should not allow replacing the mm functions */
7#undef DISABLE_MM_REPLACEMENT
8
9/* Define if libevent should not be compiled with thread support */
10#undef DISABLE_THREAD_SUPPORT
11
12/* Define to 1 if you have the `accept4' function. */
13#undef HAVE_ACCEPT4
14
15/* Define to 1 if you have the <afunix.h> header file. */
16#undef HAVE_AFUNIX_H
17
18/* Define to 1 if you have the `arc4random' function. */
19#undef HAVE_ARC4RANDOM
20
21/* Define to 1 if you have the `arc4random_addrandom' function. */
22#undef HAVE_ARC4RANDOM_ADDRANDOM
23
24/* Define to 1 if you have the `arc4random_buf' function. */
25#undef HAVE_ARC4RANDOM_BUF
26
27/* Define to 1 if you have the <arpa/inet.h> header file. */
28#undef HAVE_ARPA_INET_H
29
30/* Define to 1 if you have the `clock_gettime' function. */
31#undef HAVE_CLOCK_GETTIME
32
33/* Define to 1 if you have the declaration of `CTL_KERN', and to 0 if you
34   don't. */
35#undef HAVE_DECL_CTL_KERN
36
37/* Define to 1 if you have the declaration of `KERN_ARND', and to 0 if you
38   don't. */
39#undef HAVE_DECL_KERN_ARND
40
41/* Define if /dev/poll is available */
42#undef HAVE_DEVPOLL
43
44/* Define to 1 if you have the <dlfcn.h> header file. */
45#undef HAVE_DLFCN_H
46
47/* Define if your system supports the epoll system calls */
48#undef HAVE_EPOLL
49
50/* Define to 1 if you have the `epoll_create1' function. */
51#undef HAVE_EPOLL_CREATE1
52
53/* Define to 1 if you have the `epoll_ctl' function. */
54#undef HAVE_EPOLL_CTL
55
56/* Define to 1 if you have the <errno.h> header file. */
57#undef HAVE_ERRNO_H
58
59/* Define to 1 if you have the `eventfd' function. */
60#undef HAVE_EVENTFD
61
62/* Define if your system supports event ports */
63#undef HAVE_EVENT_PORTS
64
65/* Define to 1 if you have the `fcntl' function. */
66#undef HAVE_FCNTL
67
68/* Define to 1 if you have the <fcntl.h> header file. */
69#undef HAVE_FCNTL_H
70
71/* Define to 1 if the system has the type `fd_mask'. */
72#undef HAVE_FD_MASK
73
74/* Do we have getaddrinfo()? */
75#undef HAVE_GETADDRINFO
76
77/* Define to 1 if you have the `getegid' function. */
78#undef HAVE_GETEGID
79
80/* Define to 1 if you have the `geteuid' function. */
81#undef HAVE_GETEUID
82
83/* Define this if you have any gethostbyname_r() */
84#undef HAVE_GETHOSTBYNAME_R
85
86/* Define this if gethostbyname_r takes 3 arguments */
87#undef HAVE_GETHOSTBYNAME_R_3_ARG
88
89/* Define this if gethostbyname_r takes 5 arguments */
90#undef HAVE_GETHOSTBYNAME_R_5_ARG
91
92/* Define this if gethostbyname_r takes 6 arguments */
93#undef HAVE_GETHOSTBYNAME_R_6_ARG
94
95/* Define to 1 if you have the `getifaddrs' function. */
96#undef HAVE_GETIFADDRS
97
98/* Define to 1 if you have the `getnameinfo' function. */
99#undef HAVE_GETNAMEINFO
100
101/* Define to 1 if you have the `getprotobynumber' function. */
102#undef HAVE_GETPROTOBYNUMBER
103
104/* Define to 1 if you have the `getrandom' function. */
105#undef HAVE_GETRANDOM
106
107/* Define to 1 if you have the `getservbyname' function. */
108#undef HAVE_GETSERVBYNAME
109
110/* Define to 1 if you have the `gettimeofday' function. */
111#undef HAVE_GETTIMEOFDAY
112
113/* Define to 1 if you have the <ifaddrs.h> header file. */
114#undef HAVE_IFADDRS_H
115
116/* Define to 1 if you have the `inet_ntop' function. */
117#undef HAVE_INET_NTOP
118
119/* Define to 1 if you have the `inet_pton' function. */
120#undef HAVE_INET_PTON
121
122/* Define to 1 if you have the <inttypes.h> header file. */
123#undef HAVE_INTTYPES_H
124
125/* Define to 1 if you have the `issetugid' function. */
126#undef HAVE_ISSETUGID
127
128/* Define to 1 if you have the `kqueue' function. */
129#undef HAVE_KQUEUE
130
131/* Define to 1 if you have the `ws2_32' library (-lws2_32). */
132#undef HAVE_LIBWS2_32
133
134/* Define if the system has zlib */
135#undef HAVE_LIBZ
136
137/* Define to 1 if you have the `mach_absolute_time' function. */
138#undef HAVE_MACH_ABSOLUTE_TIME
139
140/* Define to 1 if you have the <mach/mach.h> header file. */
141#undef HAVE_MACH_MACH_H
142
143/* Define to 1 if you have the <mach/mach_time.h> header file. */
144#undef HAVE_MACH_MACH_TIME_H
145
146/* Define to 1 if you have the <memory.h> header file. */
147#undef HAVE_MEMORY_H
148
149/* Define to 1 if you have the `mmap' function. */
150#undef HAVE_MMAP
151
152/* Define to 1 if you have the `nanosleep' function. */
153#undef HAVE_NANOSLEEP
154
155/* Define to 1 if you have the <netdb.h> header file. */
156#undef HAVE_NETDB_H
157
158/* Define to 1 if you have the <netinet/in6.h> header file. */
159#undef HAVE_NETINET_IN6_H
160
161/* Define to 1 if you have the <netinet/in.h> header file. */
162#undef HAVE_NETINET_IN_H
163
164/* Define to 1 if you have the <netinet/tcp.h> header file. */
165#undef HAVE_NETINET_TCP_H
166
167/* Define if the system has openssl */
168#undef HAVE_OPENSSL
169
170/* Define to 1 if you have the <openssl/ssl.h> header file. */
171#undef HAVE_OPENSSL_SSL_H
172
173/* Define to 1 if you have the `pipe' function. */
174#undef HAVE_PIPE
175
176/* Define to 1 if you have the `pipe2' function. */
177#undef HAVE_PIPE2
178
179/* Define to 1 if you have the `poll' function. */
180#undef HAVE_POLL
181
182/* Define to 1 if you have the <poll.h> header file. */
183#undef HAVE_POLL_H
184
185/* Define to 1 if you have the `port_create' function. */
186#undef HAVE_PORT_CREATE
187
188/* Define to 1 if you have the <port.h> header file. */
189#undef HAVE_PORT_H
190
191/* Define if you have POSIX threads libraries and header files. */
192#undef HAVE_PTHREAD
193
194/* Define if we have pthreads on this system */
195#undef HAVE_PTHREADS
196
197/* Define to 1 if you have the `putenv' function. */
198#undef HAVE_PUTENV
199
200/* Define to 1 if the system has the type `sa_family_t'. */
201#undef HAVE_SA_FAMILY_T
202
203/* Define to 1 if you have the `select' function. */
204#undef HAVE_SELECT
205
206/* Define to 1 if you have the `sendfile' function. */
207#undef HAVE_SENDFILE
208
209/* Define to 1 if you have the `setenv' function. */
210#undef HAVE_SETENV
211
212/* Define if F_SETFD is defined in <fcntl.h> */
213#undef HAVE_SETFD
214
215/* Define to 1 if you have the `setrlimit' function. */
216#undef HAVE_SETRLIMIT
217
218/* Define to 1 if you have the `sigaction' function. */
219#undef HAVE_SIGACTION
220
221/* Define to 1 if you have the `signal' function. */
222#undef HAVE_SIGNAL
223
224/* Define to 1 if you have the `splice' function. */
225#undef HAVE_SPLICE
226
227/* Define to 1 if you have the <stdarg.h> header file. */
228#undef HAVE_STDARG_H
229
230/* Define to 1 if you have the <stddef.h> header file. */
231#undef HAVE_STDDEF_H
232
233/* Define to 1 if you have the <stdint.h> header file. */
234#undef HAVE_STDINT_H
235
236/* Define to 1 if you have the <stdlib.h> header file. */
237#undef HAVE_STDLIB_H
238
239/* Define to 1 if you have the <strings.h> header file. */
240#undef HAVE_STRINGS_H
241
242/* Define to 1 if you have the <string.h> header file. */
243#undef HAVE_STRING_H
244
245/* Define to 1 if you have the `strlcpy' function. */
246#undef HAVE_STRLCPY
247
248/* Define to 1 if you have the `strsep' function. */
249#undef HAVE_STRSEP
250
251/* Define to 1 if you have the `strtok_r' function. */
252#undef HAVE_STRTOK_R
253
254/* Define to 1 if you have the `strtoll' function. */
255#undef HAVE_STRTOLL
256
257/* Define to 1 if the system has the type `struct addrinfo'. */
258#undef HAVE_STRUCT_ADDRINFO
259
260/* Define to 1 if the system has the type `struct in6_addr'. */
261#undef HAVE_STRUCT_IN6_ADDR
262
263/* Define to 1 if `s6_addr16' is a member of `struct in6_addr'. */
264#undef HAVE_STRUCT_IN6_ADDR_S6_ADDR16
265
266/* Define to 1 if `s6_addr32' is a member of `struct in6_addr'. */
267#undef HAVE_STRUCT_IN6_ADDR_S6_ADDR32
268
269/* Define to 1 if the system has the type `struct linger'. */
270#undef HAVE_STRUCT_LINGER
271
272/* Define to 1 if the system has the type `struct sockaddr_in6'. */
273#undef HAVE_STRUCT_SOCKADDR_IN6
274
275/* Define to 1 if `sin6_len' is a member of `struct sockaddr_in6'. */
276#undef HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN
277
278/* Define to 1 if `sin_len' is a member of `struct sockaddr_in'. */
279#undef HAVE_STRUCT_SOCKADDR_IN_SIN_LEN
280
281/* Define to 1 if the system has the type `struct sockaddr_storage'. */
282#undef HAVE_STRUCT_SOCKADDR_STORAGE
283
284/* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */
285#undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY
286
287/* Define to 1 if `__ss_family' is a member of `struct sockaddr_storage'. */
288#undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY
289
290/* Define to 1 if the system has the type `struct sockaddr_un'. */
291#undef HAVE_STRUCT_SOCKADDR_UN
292
293/* Define to 1 if you have the `sysctl' function. */
294#undef HAVE_SYSCTL
295
296/* Define to 1 if you have the <sys/devpoll.h> header file. */
297#undef HAVE_SYS_DEVPOLL_H
298
299/* Define to 1 if you have the <sys/epoll.h> header file. */
300#undef HAVE_SYS_EPOLL_H
301
302/* Define to 1 if you have the <sys/eventfd.h> header file. */
303#undef HAVE_SYS_EVENTFD_H
304
305/* Define to 1 if you have the <sys/event.h> header file. */
306#undef HAVE_SYS_EVENT_H
307
308/* Define to 1 if you have the <sys/ioctl.h> header file. */
309#undef HAVE_SYS_IOCTL_H
310
311/* Define to 1 if you have the <sys/mman.h> header file. */
312#undef HAVE_SYS_MMAN_H
313
314/* Define to 1 if you have the <sys/param.h> header file. */
315#undef HAVE_SYS_PARAM_H
316
317/* Define to 1 if you have the <sys/queue.h> header file. */
318#undef HAVE_SYS_QUEUE_H
319
320/* Define to 1 if you have the <sys/random.h> header file. */
321#undef HAVE_SYS_RANDOM_H
322
323/* Define to 1 if you have the <sys/resource.h> header file. */
324#undef HAVE_SYS_RESOURCE_H
325
326/* Define to 1 if you have the <sys/select.h> header file. */
327#undef HAVE_SYS_SELECT_H
328
329/* Define to 1 if you have the <sys/sendfile.h> header file. */
330#undef HAVE_SYS_SENDFILE_H
331
332/* Define to 1 if you have the <sys/socket.h> header file. */
333#undef HAVE_SYS_SOCKET_H
334
335/* Define to 1 if you have the <sys/stat.h> header file. */
336#undef HAVE_SYS_STAT_H
337
338/* Define to 1 if you have the <sys/sysctl.h> header file. */
339#undef HAVE_SYS_SYSCTL_H
340
341/* Define to 1 if you have the <sys/timerfd.h> header file. */
342#undef HAVE_SYS_TIMERFD_H
343
344/* Define to 1 if you have the <sys/time.h> header file. */
345#undef HAVE_SYS_TIME_H
346
347/* Define to 1 if you have the <sys/types.h> header file. */
348#undef HAVE_SYS_TYPES_H
349
350/* Define to 1 if you have the <sys/uio.h> header file. */
351#undef HAVE_SYS_UIO_H
352
353/* Define to 1 if you have the <sys/un.h> header file. */
354#undef HAVE_SYS_UN_H
355
356/* Define to 1 if you have the <sys/wait.h> header file. */
357#undef HAVE_SYS_WAIT_H
358
359/* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
360#undef HAVE_TAILQFOREACH
361
362/* Define if timeradd is defined in <sys/time.h> */
363#undef HAVE_TIMERADD
364
365/* Define if timerclear is defined in <sys/time.h> */
366#undef HAVE_TIMERCLEAR
367
368/* Define if timercmp is defined in <sys/time.h> */
369#undef HAVE_TIMERCMP
370
371/* Define to 1 if you have the `timerfd_create' function. */
372#undef HAVE_TIMERFD_CREATE
373
374/* Define if timerisset is defined in <sys/time.h> */
375#undef HAVE_TIMERISSET
376
377/* Define to 1 if the system has the type `uint16_t'. */
378#undef HAVE_UINT16_T
379
380/* Define to 1 if the system has the type `uint32_t'. */
381#undef HAVE_UINT32_T
382
383/* Define to 1 if the system has the type `uint64_t'. */
384#undef HAVE_UINT64_T
385
386/* Define to 1 if the system has the type `uint8_t'. */
387#undef HAVE_UINT8_T
388
389/* Define to 1 if the system has the type `uintptr_t'. */
390#undef HAVE_UINTPTR_T
391
392/* Define to 1 if you have the `umask' function. */
393#undef HAVE_UMASK
394
395/* Define to 1 if you have the <unistd.h> header file. */
396#undef HAVE_UNISTD_H
397
398/* Define to 1 if you have the `unsetenv' function. */
399#undef HAVE_UNSETENV
400
401/* Define to 1 if you have the `usleep' function. */
402#undef HAVE_USLEEP
403
404/* Define to 1 if you have the `vasprintf' function. */
405#undef HAVE_VASPRINTF
406
407/* Define if kqueue works correctly with pipes */
408#undef HAVE_WORKING_KQUEUE
409
410/* Define to 1 if you have the <zlib.h> header file. */
411#undef HAVE_ZLIB_H
412
413/* Define to 1 if you have the `_gmtime64' function. */
414#undef HAVE__GMTIME64
415
416/* Define to 1 if you have the `_gmtime64_s' function. */
417#undef HAVE__GMTIME64_S
418
419/* Define to 1 if compiler have __FUNCTION__ */
420#undef HAVE___FUNCTION__
421
422/* Define to 1 if compiler have __func__ */
423#undef HAVE___func__
424
425/* Define to the sub-directory where libtool stores uninstalled libraries. */
426#undef LT_OBJDIR
427
428/* Numeric representation of the version */
429#undef NUMERIC_VERSION
430
431/* Name of package */
432#undef PACKAGE
433
434/* Define to the address where bug reports for this package should be sent. */
435#undef PACKAGE_BUGREPORT
436
437/* Define to the full name of this package. */
438#undef PACKAGE_NAME
439
440/* Define to the full name and version of this package. */
441#undef PACKAGE_STRING
442
443/* Define to the one symbol short name of this package. */
444#undef PACKAGE_TARNAME
445
446/* Define to the home page for this package. */
447#undef PACKAGE_URL
448
449/* Define to the version of this package. */
450#undef PACKAGE_VERSION
451
452/* Define to necessary symbol if this constant uses a non-standard name on
453   your system. */
454#undef PTHREAD_CREATE_JOINABLE
455
456/* The size of `int', as computed by sizeof. */
457#undef SIZEOF_INT
458
459/* The size of `long', as computed by sizeof. */
460#undef SIZEOF_LONG
461
462/* The size of `long long', as computed by sizeof. */
463#undef SIZEOF_LONG_LONG
464
465/* The size of `off_t', as computed by sizeof. */
466#undef SIZEOF_OFF_T
467
468/* The size of `pthread_t', as computed by sizeof. */
469#undef SIZEOF_PTHREAD_T
470
471/* The size of `short', as computed by sizeof. */
472#undef SIZEOF_SHORT
473
474/* The size of `size_t', as computed by sizeof. */
475#undef SIZEOF_SIZE_T
476
477/* The size of `time_t', as computed by sizeof. */
478#undef SIZEOF_TIME_T
479
480/* The size of `void *', as computed by sizeof. */
481#undef SIZEOF_VOID_P
482
483/* Define to 1 if you have the ANSI C header files. */
484#undef STDC_HEADERS
485
486/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
487#undef TIME_WITH_SYS_TIME
488
489/* Enable extensions on AIX 3, Interix.  */
490#ifndef _ALL_SOURCE
491# undef _ALL_SOURCE
492#endif
493/* Enable GNU extensions on systems that have them.  */
494#ifndef _GNU_SOURCE
495# undef _GNU_SOURCE
496#endif
497/* Enable threading extensions on Solaris.  */
498#ifndef _POSIX_PTHREAD_SEMANTICS
499# undef _POSIX_PTHREAD_SEMANTICS
500#endif
501/* Enable extensions on HP NonStop.  */
502#ifndef _TANDEM_SOURCE
503# undef _TANDEM_SOURCE
504#endif
505/* Enable general extensions on Solaris.  */
506#ifndef __EXTENSIONS__
507# undef __EXTENSIONS__
508#endif
509
510
511/* Version number of package */
512#undef VERSION
513
514/* Enable large inode numbers on Mac OS X 10.5.  */
515#ifndef _DARWIN_USE_64_BIT_INODE
516# define _DARWIN_USE_64_BIT_INODE 1
517#endif
518
519/* Number of bits in a file offset, on hosts where this is settable. */
520#undef _FILE_OFFSET_BITS
521
522/* Define for large files, on AIX-style hosts. */
523#undef _LARGE_FILES
524
525/* Define to 1 if on MINIX. */
526#undef _MINIX
527
528/* Define to 2 if the system does not provide POSIX.1 features except with
529   this defined. */
530#undef _POSIX_1_SOURCE
531
532/* Define to 1 if you need to in order for `stat' and other things to work. */
533#undef _POSIX_SOURCE
534
535/* Define to empty if `const' does not conform to ANSI C. */
536#undef const
537
538/* Define to `__inline__' or `__inline' if that's what the C compiler
539   calls it, or to nothing if 'inline' is not supported under any name.  */
540#ifndef __cplusplus
541#undef inline
542#endif
543
544/* Define to `int' if <sys/types.h> does not define. */
545#undef pid_t
546
547/* Define to `unsigned int' if <sys/types.h> does not define. */
548#undef size_t
549
550/* Define to unsigned int if you dont have it */
551#undef socklen_t
552
553/* Define to `int' if <sys/types.h> does not define. */
554#undef ssize_t
555