1 /* $NetBSD: event-config.h,v 1.1 2009/11/02 10:03:56 plunky Exp $ */
3 * Generated by autoconf; post-processed by libevent.
4 * Do not edit this file.
5 * Do not rely on macros in this file existing in later versions.
7 #ifndef _EVENT_CONFIG_H_
8 #define _EVENT_CONFIG_H_
9 /* config.h. Generated from config.h.in by configure. */
10 /* config.h.in. Generated from configure.in by autoheader. */
12 /* Define if clock_gettime is available in libc */
13 #define _EVENT_DNS_USE_CPU_CLOCK_FOR_ID 1
15 /* Define is no secure id variant is available */
16 /* #undef _EVENT_DNS_USE_GETTIMEOFDAY_FOR_ID */
18 /* Define to 1 if you have the `clock_gettime' function. */
19 #define _EVENT_HAVE_CLOCK_GETTIME 1
21 /* Define if /dev/poll is available */
22 /* #undef _EVENT_HAVE_DEVPOLL */
24 /* Define to 1 if you have the <dlfcn.h> header file. */
25 #define _EVENT_HAVE_DLFCN_H 1
27 /* Define if your system supports the epoll system calls */
28 /* #undef _EVENT_HAVE_EPOLL */
30 /* Define to 1 if you have the `epoll_ctl' function. */
31 /* #undef _EVENT_HAVE_EPOLL_CTL */
33 /* Define if your system supports event ports */
34 /* #undef _EVENT_HAVE_EVENT_PORTS */
36 /* Define to 1 if you have the `fcntl' function. */
37 #define _EVENT_HAVE_FCNTL 1
39 /* Define to 1 if you have the <fcntl.h> header file. */
40 #define _EVENT_HAVE_FCNTL_H 1
42 /* Define to 1 if you have the `getaddrinfo' function. */
43 #define _EVENT_HAVE_GETADDRINFO 1
45 /* Define to 1 if you have the `getnameinfo' function. */
46 #define _EVENT_HAVE_GETNAMEINFO 1
48 /* Define to 1 if you have the `gettimeofday' function. */
49 #define _EVENT_HAVE_GETTIMEOFDAY 1
51 /* Define to 1 if you have the `inet_ntop' function. */
52 #define _EVENT_HAVE_INET_NTOP 1
54 /* Define to 1 if you have the <inttypes.h> header file. */
55 #define _EVENT_HAVE_INTTYPES_H 1
58 /* Define to 1 if you have the `kqueue' function. */
59 #define _EVENT_HAVE_KQUEUE 1
60 #endif /* !defined(__minix) */
62 /* Define to 1 if you have the `nsl' library (-lnsl). */
63 /* #undef _EVENT_HAVE_LIBNSL */
65 /* Define to 1 if you have the `resolv' library (-lresolv). */
66 #define _EVENT_HAVE_LIBRESOLV 1
68 /* Define to 1 if you have the `rt' library (-lrt). */
69 #define _EVENT_HAVE_LIBRT 1
71 /* Define to 1 if you have the `socket' library (-lsocket). */
72 /* #undef _EVENT_HAVE_LIBSOCKET */
74 /* Define to 1 if you have the <memory.h> header file. */
75 #define _EVENT_HAVE_MEMORY_H 1
77 /* Define to 1 if you have the <netinet/in6.h> header file. */
78 /* #undef _EVENT_HAVE_NETINET_IN6_H */
80 /* Define to 1 if you have the `poll' function. */
81 #define _EVENT_HAVE_POLL 1
83 /* Define to 1 if you have the <poll.h> header file. */
84 #define _EVENT_HAVE_POLL_H 1
86 /* Define to 1 if you have the `port_create' function. */
87 /* #undef _EVENT_HAVE_PORT_CREATE */
89 /* Define to 1 if you have the <port.h> header file. */
90 /* #undef _EVENT_HAVE_PORT_H */
92 /* Define to 1 if you have the `select' function. */
93 #define _EVENT_HAVE_SELECT 1
95 /* Define if F_SETFD is defined in <fcntl.h> */
96 #define _EVENT_HAVE_SETFD 1
98 /* Define to 1 if you have the `sigaction' function. */
99 #define _EVENT_HAVE_SIGACTION 1
101 /* Define to 1 if you have the `signal' function. */
102 #define _EVENT_HAVE_SIGNAL 1
104 /* Define to 1 if you have the <signal.h> header file. */
105 #define _EVENT_HAVE_SIGNAL_H 1
107 /* Define to 1 if you have the <stdarg.h> header file. */
108 #define _EVENT_HAVE_STDARG_H 1
110 /* Define to 1 if you have the <stdint.h> header file. */
111 #define _EVENT_HAVE_STDINT_H 1
113 /* Define to 1 if you have the <stdlib.h> header file. */
114 #define _EVENT_HAVE_STDLIB_H 1
116 /* Define to 1 if you have the <strings.h> header file. */
117 #define _EVENT_HAVE_STRINGS_H 1
119 /* Define to 1 if you have the <string.h> header file. */
120 #define _EVENT_HAVE_STRING_H 1
122 /* Define to 1 if you have the `strlcpy' function. */
123 #define _EVENT_HAVE_STRLCPY 1
125 /* Define to 1 if you have the `strsep' function. */
126 #define _EVENT_HAVE_STRSEP 1
128 /* Define to 1 if you have the `strtok_r' function. */
129 #define _EVENT_HAVE_STRTOK_R 1
131 /* Define to 1 if you have the `strtoll' function. */
132 #define _EVENT_HAVE_STRTOLL 1
134 /* Define to 1 if the system has the type `struct in6_addr'. */
135 #define _EVENT_HAVE_STRUCT_IN6_ADDR 1
137 /* Define to 1 if you have the <sys/devpoll.h> header file. */
138 /* #undef _EVENT_HAVE_SYS_DEVPOLL_H */
140 /* Define to 1 if you have the <sys/epoll.h> header file. */
141 /* #undef _EVENT_HAVE_SYS_EPOLL_H */
143 /* Define to 1 if you have the <sys/event.h> header file. */
144 #define _EVENT_HAVE_SYS_EVENT_H 1
146 /* Define to 1 if you have the <sys/ioctl.h> header file. */
147 #define _EVENT_HAVE_SYS_IOCTL_H 1
149 /* Define to 1 if you have the <sys/param.h> header file. */
150 #define _EVENT_HAVE_SYS_PARAM_H 1
152 /* Define to 1 if you have the <sys/queue.h> header file. */
153 #define _EVENT_HAVE_SYS_QUEUE_H 1
155 /* Define to 1 if you have the <sys/select.h> header file. */
156 #define _EVENT_HAVE_SYS_SELECT_H 1
158 /* Define to 1 if you have the <sys/socket.h> header file. */
159 #define _EVENT_HAVE_SYS_SOCKET_H 1
161 /* Define to 1 if you have the <sys/stat.h> header file. */
162 #define _EVENT_HAVE_SYS_STAT_H 1
164 /* Define to 1 if you have the <sys/time.h> header file. */
165 #define _EVENT_HAVE_SYS_TIME_H 1
167 /* Define to 1 if you have the <sys/types.h> header file. */
168 #define _EVENT_HAVE_SYS_TYPES_H 1
170 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
171 #define _EVENT_HAVE_TAILQFOREACH 1
173 /* Define if timeradd is defined in <sys/time.h> */
174 #define _EVENT_HAVE_TIMERADD 1
176 /* Define if timerclear is defined in <sys/time.h> */
177 #define _EVENT_HAVE_TIMERCLEAR 1
179 /* Define if timercmp is defined in <sys/time.h> */
180 #define _EVENT_HAVE_TIMERCMP 1
182 /* Define if timerisset is defined in <sys/time.h> */
183 #define _EVENT_HAVE_TIMERISSET 1
185 /* Define to 1 if the system has the type `uint16_t'. */
186 #define _EVENT_HAVE_UINT16_T 1
188 /* Define to 1 if the system has the type `uint32_t'. */
189 #define _EVENT_HAVE_UINT32_T 1
191 /* Define to 1 if the system has the type `uint64_t'. */
192 #define _EVENT_HAVE_UINT64_T 1
194 /* Define to 1 if the system has the type `uint8_t'. */
195 #define _EVENT_HAVE_UINT8_T 1
197 /* Define to 1 if you have the <unistd.h> header file. */
198 #define _EVENT_HAVE_UNISTD_H 1
200 /* Define to 1 if you have the `vasprintf' function. */
201 #define _EVENT_HAVE_VASPRINTF 1
203 #if !defined(__minix)
204 /* Define if kqueue works correctly with pipes */
205 #define _EVENT_HAVE_WORKING_KQUEUE 1
206 #endif /* !defined(__minix) */
208 /* Name of package */
209 #define _EVENT_PACKAGE "libevent"
211 /* Define to the address where bug reports for this package should be sent. */
212 #define _EVENT_PACKAGE_BUGREPORT ""
214 /* Define to the full name of this package. */
215 #define _EVENT_PACKAGE_NAME ""
217 /* Define to the full name and version of this package. */
218 #define _EVENT_PACKAGE_STRING ""
220 /* Define to the one symbol short name of this package. */
221 #define _EVENT_PACKAGE_TARNAME ""
223 /* Define to the version of this package. */
224 #define _EVENT_PACKAGE_VERSION ""
226 /* The size of `int', as computed by sizeof. */
227 #define _EVENT_SIZEOF_INT 4
229 /* The size of `long', as computed by sizeof. */
230 #define _EVENT_SIZEOF_LONG 4
232 /* The size of `long long', as computed by sizeof. */
233 #define _EVENT_SIZEOF_LONG_LONG 8
235 /* The size of `short', as computed by sizeof. */
236 #define _EVENT_SIZEOF_SHORT 2
238 /* Define to 1 if you have the ANSI C header files. */
239 #define _EVENT_STDC_HEADERS 1
241 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
242 #define _EVENT_TIME_WITH_SYS_TIME 1
244 /* Version number of package */
245 #define _EVENT_VERSION "1.4.12-stable"
247 /* Define to appropriate substitue if compiler doesnt have __func__ */
248 /* #undef _EVENT___func__ */
250 /* Define to empty if `const' does not conform to ANSI C. */
251 /* #undef _EVENT_const */
253 /* Define to `__inline__' or `__inline' if that's what the C compiler
254 calls it, or to nothing if 'inline' is not supported under any name. */
255 #ifndef _EVENT___cplusplus
256 /* #undef _EVENT_inline */
259 /* Define to `int' if <sys/types.h> does not define. */
260 /* #undef _EVENT_pid_t */
262 /* Define to `unsigned int' if <sys/types.h> does not define. */
263 /* #undef _EVENT_size_t */
265 /* Define to unsigned int if you dont have it */
266 /* #undef _EVENT_socklen_t */