config.h 15 KB

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