config.h revision 5821806d5e7f356e8fa4b058a389a808ea183019
1/* Copied from Linux version and changed the features according Android, which
2 * is close to Linux */
3
4/* Define if clock_gettime is available in libc */
5#define DNS_USE_CPU_CLOCK_FOR_ID 1
6
7/* Define is no secure id variant is available */
8/* #undef DNS_USE_GETTIMEOFDAY_FOR_ID */
9
10/* Define to 1 if you have the `clock_gettime' function. */
11#define HAVE_CLOCK_GETTIME 1
12
13/* Define if /dev/poll is available */
14/* #undef HAVE_DEVPOLL */
15
16/* Define to 1 if you have the <dlfcn.h> header file. */
17#define HAVE_DLFCN_H 1
18
19/* Define if your system supports the epoll system calls */
20#define HAVE_EPOLL 1
21
22/* Define to 1 if you have the `epoll_ctl' function. */
23#define HAVE_EPOLL_CTL 1
24
25/* Define if your system supports event ports */
26/* #undef HAVE_EVENT_PORTS */
27
28/* Define to 1 if you have the `fcntl' function. */
29#define HAVE_FCNTL 1
30
31/* Define to 1 if you have the <fcntl.h> header file. */
32#define HAVE_FCNTL_H 1
33
34/* Define to 1 if the system has the type `fd_mask'. */
35/* #undef HAVE_FD_MASK */
36
37/* Define to 1 if you have the `getaddrinfo' function. */
38#define HAVE_GETADDRINFO 1
39
40/* Define to 1 if you have the `getegid' function. */
41#define HAVE_GETEGID 1
42
43/* Define to 1 if you have the `geteuid' function. */
44#define HAVE_GETEUID 1
45
46/* Define to 1 if you have the `getnameinfo' function. */
47#define HAVE_GETNAMEINFO 1
48
49/* Define to 1 if you have the `gettimeofday' function. */
50#define HAVE_GETTIMEOFDAY 1
51
52/* Define to 1 if you have the `inet_ntop' function. */
53#define HAVE_INET_NTOP 1
54
55/* Define to 1 if you have the <inttypes.h> header file. */
56#define HAVE_INTTYPES_H 1
57
58/* Define to 1 if you have the `issetugid' function. */
59/* #undef HAVE_ISSETUGID */
60
61/* Define to 1 if you have the `kqueue' function. */
62/* #undef HAVE_KQUEUE */
63
64/* Define to 1 if you have the `nsl' library (-lnsl). */
65#define HAVE_LIBNSL 1
66
67/* Define to 1 if you have the `resolv' library (-lresolv). */
68#define HAVE_LIBRESOLV 1
69
70/* Define to 1 if you have the `rt' library (-lrt). */
71#define HAVE_LIBRT 1
72
73/* Define to 1 if you have the `socket' library (-lsocket). */
74/* #undef HAVE_LIBSOCKET */
75
76/* Define to 1 if you have the <memory.h> header file. */
77#define HAVE_MEMORY_H 1
78
79/* Define to 1 if you have the <netinet/in6.h> header file. */
80/* #undef HAVE_NETINET_IN6_H */
81
82/* Define to 1 if you have the `poll' function. */
83#define HAVE_POLL 1
84
85/* Define to 1 if you have the <poll.h> header file. */
86#define HAVE_POLL_H 1
87
88/* Define to 1 if you have the `port_create' function. */
89/* #undef HAVE_PORT_CREATE */
90
91/* Define to 1 if you have the <port.h> header file. */
92/* #undef HAVE_PORT_H */
93
94/* Define to 1 if you have the `select' function. */
95#define HAVE_SELECT 1
96
97/* Define if F_SETFD is defined in <fcntl.h> */
98#define HAVE_SETFD 1
99
100/* Define to 1 if you have the `sigaction' function. */
101#define HAVE_SIGACTION 1
102
103/* Define to 1 if you have the `signal' function. */
104#define HAVE_SIGNAL 1
105
106/* Define to 1 if you have the <signal.h> header file. */
107#define HAVE_SIGNAL_H 1
108
109/* Define to 1 if you have the <stdarg.h> header file. */
110#define HAVE_STDARG_H 1
111
112/* Define to 1 if you have the <stdint.h> header file. */
113#define HAVE_STDINT_H 1
114
115/* Define to 1 if you have the <stdlib.h> header file. */
116#define HAVE_STDLIB_H 1
117
118/* Define to 1 if you have the <strings.h> header file. */
119#define HAVE_STRINGS_H 1
120
121/* Define to 1 if you have the <string.h> header file. */
122#define HAVE_STRING_H 1
123
124/* Define to 1 if you have the `strlcpy' function. */
125#define HAVE_STRLCPY 1
126
127/* Define to 1 if you have the `strsep' function. */
128#define HAVE_STRSEP 1
129
130/* Define to 1 if you have the `strtok_r' function. */
131#define HAVE_STRTOK_R 1
132
133/* Define to 1 if you have the `strtoll' function. */
134#define HAVE_STRTOLL 1
135
136/* Define to 1 if the system has the type `struct in6_addr'. */
137#define HAVE_STRUCT_IN6_ADDR 1
138
139/* Define to 1 if you have the <sys/devpoll.h> header file. */
140/* #undef HAVE_SYS_DEVPOLL_H */
141
142/* Define to 1 if you have the <sys/epoll.h> header file. */
143#define HAVE_SYS_EPOLL_H 1
144
145/* Define to 1 if you have the <sys/event.h> header file. */
146/* #undef HAVE_SYS_EVENT_H */
147
148/* Define to 1 if you have the <sys/ioctl.h> header file. */
149#define HAVE_SYS_IOCTL_H 1
150
151/* Define to 1 if you have the <sys/param.h> header file. */
152#define HAVE_SYS_PARAM_H 1
153
154/* Define to 1 if you have the <sys/queue.h> header file. */
155#define HAVE_SYS_QUEUE_H 1
156
157/* Define to 1 if you have the <sys/select.h> header file. */
158#define HAVE_SYS_SELECT_H 1
159
160/* Define to 1 if you have the <sys/socket.h> header file. */
161#define HAVE_SYS_SOCKET_H 1
162
163/* Define to 1 if you have the <sys/stat.h> header file. */
164#define HAVE_SYS_STAT_H 1
165
166/* Define to 1 if you have the <sys/time.h> header file. */
167#define HAVE_SYS_TIME_H 1
168
169/* Define to 1 if you have the <sys/types.h> header file. */
170#define HAVE_SYS_TYPES_H 1
171
172/* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
173#define HAVE_TAILQFOREACH 1
174
175/* Define if timeradd is defined in <sys/time.h> */
176#define HAVE_TIMERADD 1
177
178/* Define if timerclear is defined in <sys/time.h> */
179#define HAVE_TIMERCLEAR 1
180
181/* Define if timercmp is defined in <sys/time.h> */
182#define HAVE_TIMERCMP 1
183
184/* Define if timerisset is defined in <sys/time.h> */
185#define HAVE_TIMERISSET 1
186
187/* Define to 1 if the system has the type `uint16_t'. */
188#define HAVE_UINT16_T 1
189
190/* Define to 1 if the system has the type `uint32_t'. */
191#define HAVE_UINT32_T 1
192
193/* Define to 1 if the system has the type `uint64_t'. */
194#define HAVE_UINT64_T 1
195
196/* Define to 1 if the system has the type `uint8_t'. */
197#define HAVE_UINT8_T 1
198
199/* Define to 1 if you have the <unistd.h> header file. */
200#define HAVE_UNISTD_H 1
201
202/* Define to 1 if you have the `vasprintf' function. */
203#define HAVE_VASPRINTF 1
204
205/* Define if kqueue works correctly with pipes */
206/* #undef HAVE_WORKING_KQUEUE */
207
208/* Name of package */
209#define PACKAGE "libevent"
210
211/* Define to the address where bug reports for this package should be sent. */
212#define PACKAGE_BUGREPORT ""
213
214/* Define to the full name of this package. */
215#define PACKAGE_NAME ""
216
217/* Define to the full name and version of this package. */
218#define PACKAGE_STRING ""
219
220/* Define to the one symbol short name of this package. */
221#define PACKAGE_TARNAME ""
222
223/* Define to the version of this package. */
224#define PACKAGE_VERSION ""
225
226/* The size of `int', as computed by sizeof. */
227#define SIZEOF_INT 4
228
229/* The size of `long', as computed by sizeof. */
230#define SIZEOF_LONG 8
231
232/* The size of `long long', as computed by sizeof. */
233#define SIZEOF_LONG_LONG 8
234
235/* The size of `short', as computed by sizeof. */
236#define SIZEOF_SHORT 2
237
238/* Define to 1 if you have the ANSI C header files. */
239#define STDC_HEADERS 1
240
241/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
242#define TIME_WITH_SYS_TIME 1
243
244/* Version number of package */
245#define VERSION "1.4.13-stable"
246
247/* Define to appropriate substitue if compiler doesnt have __func__ */
248/* #undef __func__ */
249
250/* Define to empty if `const' does not conform to ANSI C. */
251/* #undef const */
252
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 __cplusplus
256/* #undef inline */
257#endif
258
259/* Define to `int' if <sys/types.h> does not define. */
260/* #undef pid_t */
261
262/* Define to `unsigned int' if <sys/types.h> does not define. */
263/* #undef size_t */
264
265/* Define to unsigned int if you dont have it */
266/* #undef socklen_t */
267