etc/services - sync with NetBSD-8
[minix.git] / external / bsd / libevent / include / event2 / event-config.h
blob717ca782614e3266ea0d499f04849fb3e56bb673
1 /* $NetBSD: event-config.h,v 1.2 2015/01/29 07:26:02 spz Exp $ */
2 /* event2/event-config.h
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.
7 * DO NOT EDIT THIS FILE.
9 * Do not rely on macros in this file existing in later versions.
12 #ifndef _EVENT2_EVENT_CONFIG_H_
13 #define _EVENT2_EVENT_CONFIG_H_
15 /* config.h. Generated from config.h.in by configure. */
16 /* config.h.in. Generated from configure.ac by autoheader. */
18 /* Define if libevent should build without support for a debug mode */
19 /* #undef _EVENT_DISABLE_DEBUG_MODE */
21 /* Define if libevent should not allow replacing the mm functions */
22 /* #undef _EVENT_DISABLE_MM_REPLACEMENT */
24 #if !defined(__minix)
25 /* Define if libevent should not be compiled with thread support */
26 /* #undef _EVENT_DISABLE_THREAD_SUPPORT */
27 #else
28 #define _EVENT_DISABLE_THREAD_SUPPORT 1
29 #endif /* !defined(__minix) */
31 /* Define to 1 if you have the `arc4random' function. */
32 #define _EVENT_HAVE_ARC4RANDOM 1
34 /* Define to 1 if you have the `arc4random_buf' function. */
35 #define _EVENT_HAVE_ARC4RANDOM_BUF 1
37 /* Define to 1 if you have the <arpa/inet.h> header file. */
38 #define _EVENT_HAVE_ARPA_INET_H 1
40 /* Define to 1 if you have the `clock_gettime' function. */
41 #define _EVENT_HAVE_CLOCK_GETTIME 1
43 /* Define to 1 if you have the declaration of `CTL_KERN', and to 0 if you
44 don't. */
45 #define _EVENT_HAVE_DECL_CTL_KERN 1
47 /* Define to 1 if you have the declaration of `KERN_ARND', and to 0 if you
48 don't. */
49 #define _EVENT_HAVE_DECL_KERN_ARND 1
51 /* Define to 1 if you have the declaration of `KERN_RANDOM', and to 0 if you
52 don't. */
53 #define _EVENT_HAVE_DECL_KERN_RANDOM 0
55 /* Define to 1 if you have the declaration of `RANDOM_UUID', and to 0 if you
56 don't. */
57 #define _EVENT_HAVE_DECL_RANDOM_UUID 0
59 /* Define if /dev/poll is available */
60 /* #undef _EVENT_HAVE_DEVPOLL */
62 /* Define to 1 if you have the <dlfcn.h> header file. */
63 #define _EVENT_HAVE_DLFCN_H 1
65 /* Define if your system supports the epoll system calls */
66 /* #undef _EVENT_HAVE_EPOLL */
68 /* Define to 1 if you have the `epoll_ctl' function. */
69 /* #undef _EVENT_HAVE_EPOLL_CTL */
71 /* Define to 1 if you have the `eventfd' function. */
72 /* #undef _EVENT_HAVE_EVENTFD */
74 /* Define if your system supports event ports */
75 /* #undef _EVENT_HAVE_EVENT_PORTS */
77 /* Define to 1 if you have the `fcntl' function. */
78 #define _EVENT_HAVE_FCNTL 1
80 /* Define to 1 if you have the <fcntl.h> header file. */
81 #define _EVENT_HAVE_FCNTL_H 1
83 /* Define to 1 if the system has the type `fd_mask'. */
84 #define _EVENT_HAVE_FD_MASK 1
86 /* Do we have getaddrinfo()? */
87 #define _EVENT_HAVE_GETADDRINFO 1
89 /* Define to 1 if you have the `getegid' function. */
90 #define _EVENT_HAVE_GETEGID 1
92 /* Define to 1 if you have the `geteuid' function. */
93 #define _EVENT_HAVE_GETEUID 1
95 /* Define this if you have any gethostbyname_r() */
96 /* #undef _EVENT_HAVE_GETHOSTBYNAME_R */
98 /* Define this if gethostbyname_r takes 3 arguments */
99 /* #undef _EVENT_HAVE_GETHOSTBYNAME_R_3_ARG */
101 /* Define this if gethostbyname_r takes 5 arguments */
102 /* #undef _EVENT_HAVE_GETHOSTBYNAME_R_5_ARG */
104 /* Define this if gethostbyname_r takes 6 arguments */
105 /* #undef _EVENT_HAVE_GETHOSTBYNAME_R_6_ARG */
107 /* Define to 1 if you have the `getnameinfo' function. */
108 #define _EVENT_HAVE_GETNAMEINFO 1
110 /* Define to 1 if you have the `getprotobynumber' function. */
111 #define _EVENT_HAVE_GETPROTOBYNUMBER 1
113 /* Define to 1 if you have the `getservbyname' function. */
114 /* #undef _EVENT_HAVE_GETSERVBYNAME */
116 /* Define to 1 if you have the `gettimeofday' function. */
117 #define _EVENT_HAVE_GETTIMEOFDAY 1
119 /* Define to 1 if you have the `inet_aton' function. */
120 #define _EVENT_HAVE_INET_ATON 1
122 /* Define to 1 if you have the `inet_ntop' function. */
123 #define _EVENT_HAVE_INET_NTOP 1
125 /* Define to 1 if you have the `inet_pton' function. */
126 #define _EVENT_HAVE_INET_PTON 1
128 /* Define to 1 if you have the <inttypes.h> header file. */
129 #define _EVENT_HAVE_INTTYPES_H 1
131 /* Define to 1 if you have the `issetugid' function. */
132 #define _EVENT_HAVE_ISSETUGID 1
134 #if !defined(__minix)
135 /* Define to 1 if you have the `kqueue' function. */
136 #define _EVENT_HAVE_KQUEUE 1
137 #endif /* !defined(__minix) */
139 /* Define if the system has zlib */
140 #define _EVENT_HAVE_LIBZ 1
142 /* Define to 1 if you have the <memory.h> header file. */
143 #define _EVENT_HAVE_MEMORY_H 1
145 /* Define to 1 if you have the `mmap' function. */
146 #define _EVENT_HAVE_MMAP 1
148 /* Define to 1 if you have the <netdb.h> header file. */
149 #define _EVENT_HAVE_NETDB_H 1
151 /* Define to 1 if you have the <netinet/in6.h> header file. */
152 /* #undef _EVENT_HAVE_NETINET_IN6_H */
154 /* Define to 1 if you have the <netinet/in.h> header file. */
155 #define _EVENT_HAVE_NETINET_IN_H 1
157 /* Define if the system has openssl */
158 #define _EVENT_HAVE_OPENSSL 1
160 /* Define to 1 if you have the <openssl/bio.h> header file. */
161 #define _EVENT_HAVE_OPENSSL_BIO_H 1
163 /* Define to 1 if you have the `pipe' function. */
164 #define _EVENT_HAVE_PIPE 1
166 /* Define to 1 if you have the `poll' function. */
167 #define _EVENT_HAVE_POLL 1
169 /* Define to 1 if you have the <poll.h> header file. */
170 #define _EVENT_HAVE_POLL_H 1
172 /* Define to 1 if you have the `port_create' function. */
173 /* #undef _EVENT_HAVE_PORT_CREATE */
175 /* Define to 1 if you have the <port.h> header file. */
176 /* #undef _EVENT_HAVE_PORT_H */
178 /* Define if you have POSIX threads libraries and header files. */
179 /* #undef _EVENT_HAVE_PTHREAD */
181 #if !defined(__minix)
182 /* Define if we have pthreads on this system */
183 #define _EVENT_HAVE_PTHREADS 1
184 #endif /* !defined(__minix) */
186 /* Define to 1 if you have the `putenv' function. */
187 #define _EVENT_HAVE_PUTENV 1
189 /* Define to 1 if the system has the type `sa_family_t'. */
190 #define _EVENT_HAVE_SA_FAMILY_T 1
192 /* Define to 1 if you have the `select' function. */
193 #define _EVENT_HAVE_SELECT 1
195 /* Define to 1 if you have the `sendfile' function. */
196 /* #undef _EVENT_HAVE_SENDFILE */
198 /* Define to 1 if you have the `setenv' function. */
199 #define _EVENT_HAVE_SETENV 1
201 /* Define if F_SETFD is defined in <fcntl.h> */
202 #define _EVENT_HAVE_SETFD 1
204 /* Define to 1 if you have the `sigaction' function. */
205 #define _EVENT_HAVE_SIGACTION 1
207 /* Define to 1 if you have the `signal' function. */
208 #define _EVENT_HAVE_SIGNAL 1
210 /* Define to 1 if you have the `splice' function. */
211 /* #undef _EVENT_HAVE_SPLICE */
213 /* Define to 1 if you have the <stdarg.h> header file. */
214 #define _EVENT_HAVE_STDARG_H 1
216 /* Define to 1 if you have the <stddef.h> header file. */
217 #define _EVENT_HAVE_STDDEF_H 1
219 /* Define to 1 if you have the <stdint.h> header file. */
220 #define _EVENT_HAVE_STDINT_H 1
222 /* Define to 1 if you have the <stdlib.h> header file. */
223 #define _EVENT_HAVE_STDLIB_H 1
225 /* Define to 1 if you have the <strings.h> header file. */
226 #define _EVENT_HAVE_STRINGS_H 1
228 /* Define to 1 if you have the <string.h> header file. */
229 #define _EVENT_HAVE_STRING_H 1
231 /* Define to 1 if you have the `strlcpy' function. */
232 #define _EVENT_HAVE_STRLCPY 1
234 /* Define to 1 if you have the `strsep' function. */
235 #define _EVENT_HAVE_STRSEP 1
237 /* Define to 1 if you have the `strtok_r' function. */
238 #define _EVENT_HAVE_STRTOK_R 1
240 /* Define to 1 if you have the `strtoll' function. */
241 #define _EVENT_HAVE_STRTOLL 1
243 /* Define to 1 if the system has the type `struct addrinfo'. */
244 #define _EVENT_HAVE_STRUCT_ADDRINFO 1
246 /* Define to 1 if the system has the type `struct in6_addr'. */
247 #define _EVENT_HAVE_STRUCT_IN6_ADDR 1
249 /* Define to 1 if `s6_addr16' is a member of `struct in6_addr'. */
250 /* #undef _EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR16 */
252 /* Define to 1 if `s6_addr32' is a member of `struct in6_addr'. */
253 /* #undef _EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR32 */
255 /* Define to 1 if the system has the type `struct sockaddr_in6'. */
256 #define _EVENT_HAVE_STRUCT_SOCKADDR_IN6 1
258 /* Define to 1 if `sin6_len' is a member of `struct sockaddr_in6'. */
259 #define _EVENT_HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN 1
261 /* Define to 1 if `sin_len' is a member of `struct sockaddr_in'. */
262 #define _EVENT_HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
264 /* Define to 1 if the system has the type `struct sockaddr_storage'. */
265 #define _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE 1
267 /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */
268 #define _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
270 /* Define to 1 if `__ss_family' is a member of `struct sockaddr_storage'. */
271 /* #undef _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY */
273 /* Define to 1 if you have the `sysctl' function. */
274 #define _EVENT_HAVE_SYSCTL 1
276 /* Define to 1 if you have the <sys/devpoll.h> header file. */
277 /* #undef _EVENT_HAVE_SYS_DEVPOLL_H */
279 /* Define to 1 if you have the <sys/epoll.h> header file. */
280 /* #undef _EVENT_HAVE_SYS_EPOLL_H */
282 /* Define to 1 if you have the <sys/eventfd.h> header file. */
283 /* #undef _EVENT_HAVE_SYS_EVENTFD_H */
285 /* Define to 1 if you have the <sys/event.h> header file. */
286 #define _EVENT_HAVE_SYS_EVENT_H 1
288 /* Define to 1 if you have the <sys/ioctl.h> header file. */
289 #define _EVENT_HAVE_SYS_IOCTL_H 1
291 /* Define to 1 if you have the <sys/mman.h> header file. */
292 #define _EVENT_HAVE_SYS_MMAN_H 1
294 /* Define to 1 if you have the <sys/param.h> header file. */
295 #define _EVENT_HAVE_SYS_PARAM_H 1
297 /* Define to 1 if you have the <sys/queue.h> header file. */
298 #define _EVENT_HAVE_SYS_QUEUE_H 1
300 /* Define to 1 if you have the <sys/select.h> header file. */
301 #define _EVENT_HAVE_SYS_SELECT_H 1
303 /* Define to 1 if you have the <sys/sendfile.h> header file. */
304 /* #undef _EVENT_HAVE_SYS_SENDFILE_H */
306 /* Define to 1 if you have the <sys/socket.h> header file. */
307 #define _EVENT_HAVE_SYS_SOCKET_H 1
309 /* Define to 1 if you have the <sys/stat.h> header file. */
310 #define _EVENT_HAVE_SYS_STAT_H 1
312 /* Define to 1 if you have the <sys/sysctl.h> header file. */
313 #define _EVENT_HAVE_SYS_SYSCTL_H 1
315 /* Define to 1 if you have the <sys/time.h> header file. */
316 #define _EVENT_HAVE_SYS_TIME_H 1
318 /* Define to 1 if you have the <sys/types.h> header file. */
319 #define _EVENT_HAVE_SYS_TYPES_H 1
321 /* Define to 1 if you have the <sys/uio.h> header file. */
322 #define _EVENT_HAVE_SYS_UIO_H 1
324 /* Define to 1 if you have the <sys/wait.h> header file. */
325 #define _EVENT_HAVE_SYS_WAIT_H 1
327 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
328 #define _EVENT_HAVE_TAILQFOREACH 1
330 /* Define if timeradd is defined in <sys/time.h> */
331 #define _EVENT_HAVE_TIMERADD 1
333 /* Define if timerclear is defined in <sys/time.h> */
334 #define _EVENT_HAVE_TIMERCLEAR 1
336 /* Define if timercmp is defined in <sys/time.h> */
337 #define _EVENT_HAVE_TIMERCMP 1
339 /* Define if timerisset is defined in <sys/time.h> */
340 #define _EVENT_HAVE_TIMERISSET 1
342 /* Define to 1 if the system has the type `uint16_t'. */
343 #define _EVENT_HAVE_UINT16_T 1
345 /* Define to 1 if the system has the type `uint32_t'. */
346 #define _EVENT_HAVE_UINT32_T 1
348 /* Define to 1 if the system has the type `uint64_t'. */
349 #define _EVENT_HAVE_UINT64_T 1
351 /* Define to 1 if the system has the type `uint8_t'. */
352 #define _EVENT_HAVE_UINT8_T 1
354 /* Define to 1 if the system has the type `uintptr_t'. */
355 #define _EVENT_HAVE_UINTPTR_T 1
357 /* Define to 1 if you have the `umask' function. */
358 #define _EVENT_HAVE_UMASK 1
360 /* Define to 1 if you have the <unistd.h> header file. */
361 #define _EVENT_HAVE_UNISTD_H 1
363 /* Define to 1 if you have the `unsetenv' function. */
364 #define _EVENT_HAVE_UNSETENV 1
366 /* Define to 1 if you have the `vasprintf' function. */
367 #define _EVENT_HAVE_VASPRINTF 1
369 /* Define if kqueue works correctly with pipes */
370 #if !defined(__minix)
371 #define _EVENT_HAVE_WORKING_KQUEUE 1
372 #endif /* !defined(__minix) */
374 /* Define to 1 if you have the <zlib.h> header file. */
375 #define _EVENT_HAVE_ZLIB_H 1
377 /* Define to the sub-directory in which libtool stores uninstalled libraries.
379 #define _EVENT_LT_OBJDIR ".libs/"
381 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
382 /* #undef _EVENT_NO_MINUS_C_MINUS_O */
384 /* Numeric representation of the version */
385 #define _EVENT_NUMERIC_VERSION 0x02001600
387 /* Name of package */
388 #define _EVENT_PACKAGE "libevent"
390 /* Define to the address where bug reports for this package should be sent. */
391 #define _EVENT_PACKAGE_BUGREPORT ""
393 /* Define to the full name of this package. */
394 #define _EVENT_PACKAGE_NAME ""
396 /* Define to the full name and version of this package. */
397 #define _EVENT_PACKAGE_STRING ""
399 /* Define to the one symbol short name of this package. */
400 #define _EVENT_PACKAGE_TARNAME ""
402 /* Define to the home page for this package. */
403 #define _EVENT_PACKAGE_URL ""
405 /* Define to the version of this package. */
406 #define _EVENT_PACKAGE_VERSION ""
408 /* Define to necessary symbol if this constant uses a non-standard name on
409 your system. */
410 /* #undef _EVENT_PTHREAD_CREATE_JOINABLE */
412 /* The size of `int', as computed by sizeof. */
413 #define _EVENT_SIZEOF_INT 4
415 /* The size of `long', as computed by sizeof. */
416 #ifdef _LP64
417 #define _EVENT_SIZEOF_LONG 8
418 #else
419 #define _EVENT_SIZEOF_LONG 4
420 #endif
422 /* The size of `long long', as computed by sizeof. */
423 #define _EVENT_SIZEOF_LONG_LONG 8
425 /* The size of `off_t', as computed by sizeof. */
426 #define _EVENT_SIZEOF_OFF_T 8
428 #if !defined(__minix)
429 /* The size of `pthread_t', as computed by sizeof. */
430 #ifdef _LP64
431 #define _EVENT_SIZEOF_PTHREAD_T 8
432 #else
433 #define _EVENT_SIZEOF_PTHREAD_T 4
434 #endif
435 #endif /* !defined(__minix) */
436 /* The size of `short', as computed by sizeof. */
437 #define _EVENT_SIZEOF_SHORT 2
439 /* The size of `size_t', as computed by sizeof. */
440 #ifdef _LP64
441 #define _EVENT_SIZEOF_SIZE_T 8
442 #else
443 #define _EVENT_SIZEOF_SIZE_T 4
444 #endif
446 /* The size of `void *', as computed by sizeof. */
447 #ifdef _LP64
448 #define _EVENT_SIZEOF_VOID_P 8
449 #else
450 #define _EVENT_SIZEOF_VOID_P 4
451 #endif
453 /* Define to 1 if you have the ANSI C header files. */
454 #define _EVENT_STDC_HEADERS 1
456 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
457 #define _EVENT_TIME_WITH_SYS_TIME 1
459 /* Version number of package */
460 #define _EVENT_VERSION "2.0.22-stable"
462 /* Define to appropriate substitue if compiler doesnt have __func__ */
463 /* #undef _EVENT___func__ */
465 /* Define to empty if `const' does not conform to ANSI C. */
466 /* #undef _EVENT_const */
468 /* Define to `__inline__' or `__inline' if that's what the C compiler
469 calls it, or to nothing if 'inline' is not supported under any name. */
470 #ifndef _EVENT___cplusplus
471 /* #undef _EVENT_inline */
472 #endif
474 /* Define to `int' if <sys/types.h> does not define. */
475 /* #undef _EVENT_pid_t */
477 /* Define to `unsigned int' if <sys/types.h> does not define. */
478 /* #undef _EVENT_size_t */
480 /* Define to unsigned int if you dont have it */
481 /* #undef _EVENT_socklen_t */
483 /* Define to `int' if <sys/types.h> does not define. */
484 /* #undef _EVENT_ssize_t */
486 #endif /* event2/event-config.h */