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