ares_config.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505
  1. /* ares_config.h. Generated from ares_config.h.in by configure. */
  2. /* ares_config.h.in. Generated from configure.ac by autoheader. */
  3. /* Define if building universal (internal helper macro) */
  4. /* #undef AC_APPLE_UNIVERSAL_BUILD */
  5. /* define this if ares is built for a big endian system */
  6. /* #undef ARES_BIG_ENDIAN */
  7. /* when building as static part of libcurl */
  8. /* #undef BUILDING_LIBCURL */
  9. /* Defined for build that exposes internal static functions for testing. */
  10. /* #undef CARES_EXPOSE_STATICS */
  11. /* Defined for build with symbol hiding. */
  12. #define CARES_SYMBOL_HIDING 1
  13. /* Definition to make a library symbol externally visible. */
  14. #define CARES_SYMBOL_SCOPE_EXTERN __attribute__ ((__visibility__ ("default")))
  15. /* the signed version of size_t */
  16. #define CARES_TYPEOF_ARES_SSIZE_T ssize_t
  17. /* Use resolver library to configure cares */
  18. /* #undef CARES_USE_LIBRESOLV */
  19. /* if a /etc/inet dir is being used */
  20. /* #undef ETC_INET */
  21. /* Define to the type of arg 2 for gethostname. */
  22. #define GETHOSTNAME_TYPE_ARG2 size_t
  23. /* Define to the type qualifier of arg 1 for getnameinfo. */
  24. #define GETNAMEINFO_QUAL_ARG1 const
  25. /* Define to the type of arg 1 for getnameinfo. */
  26. #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
  27. /* Define to the type of arg 2 for getnameinfo. */
  28. #define GETNAMEINFO_TYPE_ARG2 socklen_t
  29. /* Define to the type of args 4 and 6 for getnameinfo. */
  30. #define GETNAMEINFO_TYPE_ARG46 size_t
  31. /* Define to the type of arg 7 for getnameinfo. */
  32. #define GETNAMEINFO_TYPE_ARG7 int
  33. /* Specifies the number of arguments to getservbyport_r */
  34. #define GETSERVBYPORT_R_ARGS 4
  35. /* Specifies the size of the buffer to pass to getservbyport_r */
  36. #define GETSERVBYPORT_R_BUFSIZE sizeof(struct servent_data)
  37. /* Define to 1 if you have AF_INET6. */
  38. #define HAVE_AF_INET6 1
  39. /* Define to 1 if you have the <arpa/inet.h> header file. */
  40. #define HAVE_ARPA_INET_H 1
  41. /* Define to 1 if you have the <arpa/nameser_compat.h> header file. */
  42. /* #undef HAVE_ARPA_NAMESER_COMPAT_H */
  43. /* Define to 1 if you have the <arpa/nameser.h> header file. */
  44. #define HAVE_ARPA_NAMESER_H 1
  45. /* Define to 1 if you have the <assert.h> header file. */
  46. #define HAVE_ASSERT_H 1
  47. /* Define to 1 if you have the `bitncmp' function. */
  48. /* #undef HAVE_BITNCMP */
  49. /* Define to 1 if bool is an available type. */
  50. #define HAVE_BOOL_T 1
  51. /* Define to 1 if you have the clock_gettime function and monotonic timer. */
  52. #define HAVE_CLOCK_GETTIME_MONOTONIC 1
  53. /* Define to 1 if you have the closesocket function. */
  54. /* #undef HAVE_CLOSESOCKET */
  55. /* Define to 1 if you have the CloseSocket camel case function. */
  56. /* #undef HAVE_CLOSESOCKET_CAMEL */
  57. /* Define to 1 if you have the connect function. */
  58. #define HAVE_CONNECT 1
  59. /* define if the compiler supports basic C++11 syntax */
  60. /* #undef HAVE_CXX11 */
  61. /* Define to 1 if you have the <dlfcn.h> header file. */
  62. #define HAVE_DLFCN_H 1
  63. /* Define to 1 if you have the <errno.h> header file. */
  64. #define HAVE_ERRNO_H 1
  65. /* Define to 1 if you have the fcntl function. */
  66. #define HAVE_FCNTL 1
  67. /* Define to 1 if you have the <fcntl.h> header file. */
  68. #define HAVE_FCNTL_H 1
  69. /* Define to 1 if you have a working fcntl O_NONBLOCK function. */
  70. #define HAVE_FCNTL_O_NONBLOCK 1
  71. /* Define to 1 if you have the freeaddrinfo function. */
  72. #define HAVE_FREEADDRINFO 1
  73. /* Define to 1 if you have a working getaddrinfo function. */
  74. #define HAVE_GETADDRINFO 1
  75. /* Define to 1 if the getaddrinfo function is threadsafe. */
  76. /* #undef HAVE_GETADDRINFO_THREADSAFE */
  77. /* Define to 1 if you have the getenv function. */
  78. #define HAVE_GETENV 1
  79. /* Define to 1 if you have the gethostbyaddr function. */
  80. #define HAVE_GETHOSTBYADDR 1
  81. /* Define to 1 if you have the gethostbyname function. */
  82. #define HAVE_GETHOSTBYNAME 1
  83. /* Define to 1 if you have the gethostname function. */
  84. #define HAVE_GETHOSTNAME 1
  85. /* Define to 1 if you have the getnameinfo function. */
  86. #define HAVE_GETNAMEINFO 1
  87. /* Define to 1 if you have the getservbyport_r function. */
  88. #define HAVE_GETSERVBYPORT_R 1
  89. /* Define to 1 if you have the `gettimeofday' function. */
  90. #define HAVE_GETTIMEOFDAY 1
  91. /* Define to 1 if you have the `if_indextoname' function. */
  92. #define HAVE_IF_INDEXTONAME 1
  93. /* Define to 1 if you have a IPv6 capable working inet_net_pton function. */
  94. /* #undef HAVE_INET_NET_PTON */
  95. /* Define to 1 if you have a IPv6 capable working inet_ntop function. */
  96. #define HAVE_INET_NTOP 1
  97. /* Define to 1 if you have a IPv6 capable working inet_pton function. */
  98. #define HAVE_INET_PTON 1
  99. /* Define to 1 if you have the <inttypes.h> header file. */
  100. #define HAVE_INTTYPES_H 1
  101. /* Define to 1 if you have the ioctl function. */
  102. #define HAVE_IOCTL 1
  103. /* Define to 1 if you have the ioctlsocket function. */
  104. /* #undef HAVE_IOCTLSOCKET */
  105. /* Define to 1 if you have the IoctlSocket camel case function. */
  106. /* #undef HAVE_IOCTLSOCKET_CAMEL */
  107. /* Define to 1 if you have a working IoctlSocket camel case FIONBIO function.
  108. */
  109. /* #undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO */
  110. /* Define to 1 if you have a working ioctlsocket FIONBIO function. */
  111. /* #undef HAVE_IOCTLSOCKET_FIONBIO */
  112. /* Define to 1 if you have a working ioctl FIONBIO function. */
  113. #define HAVE_IOCTL_FIONBIO 1
  114. /* Define to 1 if you have a working ioctl SIOCGIFADDR function. */
  115. #define HAVE_IOCTL_SIOCGIFADDR 1
  116. /* Define to 1 if you have the `resolve' library (-lresolve). */
  117. /* #undef HAVE_LIBRESOLVE */
  118. /* Define to 1 if you have the <limits.h> header file. */
  119. #define HAVE_LIMITS_H 1
  120. /* if your compiler supports LL */
  121. #define HAVE_LL 1
  122. /* Define to 1 if the compiler supports the 'long long' data type. */
  123. #define HAVE_LONGLONG 1
  124. /* Define to 1 if you have the malloc.h header file. */
  125. /* #undef HAVE_MALLOC_H */
  126. /* Define to 1 if you have the memory.h header file. */
  127. #define HAVE_MEMORY_H 1
  128. /* Define to 1 if you have the MSG_NOSIGNAL flag. */
  129. #define HAVE_MSG_NOSIGNAL 1
  130. /* Define to 1 if you have the <netdb.h> header file. */
  131. #define HAVE_NETDB_H 1
  132. /* Define to 1 if you have the <netinet/in.h> header file. */
  133. #define HAVE_NETINET_IN_H 1
  134. /* Define to 1 if you have the <netinet/tcp.h> header file. */
  135. #define HAVE_NETINET_TCP_H 1
  136. /* Define to 1 if you have the <net/if.h> header file. */
  137. #define HAVE_NET_IF_H 1
  138. /* Define to 1 if you have PF_INET6. */
  139. #define HAVE_PF_INET6 1
  140. /* Define to 1 if you have the recv function. */
  141. #define HAVE_RECV 1
  142. /* Define to 1 if you have the recvfrom function. */
  143. #define HAVE_RECVFROM 1
  144. /* Define to 1 if you have the send function. */
  145. #define HAVE_SEND 1
  146. /* Define to 1 if you have the setsockopt function. */
  147. #define HAVE_SETSOCKOPT 1
  148. /* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */
  149. /* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */
  150. /* Define to 1 if you have the <signal.h> header file. */
  151. #define HAVE_SIGNAL_H 1
  152. /* Define to 1 if sig_atomic_t is an available typedef. */
  153. #define HAVE_SIG_ATOMIC_T 1
  154. /* Define to 1 if sig_atomic_t is already defined as volatile. */
  155. /* #undef HAVE_SIG_ATOMIC_T_VOLATILE */
  156. /* Define to 1 if your struct sockaddr_in6 has sin6_scope_id. */
  157. #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
  158. /* Define to 1 if you have the socket function. */
  159. #define HAVE_SOCKET 1
  160. /* Define to 1 if you have the <socket.h> header file. */
  161. /* #undef HAVE_SOCKET_H */
  162. /* Define to 1 if you have the <stdbool.h> header file. */
  163. #define HAVE_STDBOOL_H 1
  164. /* Define to 1 if you have the <stdint.h> header file. */
  165. #define HAVE_STDINT_H 1
  166. /* Define to 1 if you have the <stdlib.h> header file. */
  167. #define HAVE_STDLIB_H 1
  168. /* Define to 1 if you have the strcasecmp function. */
  169. #define HAVE_STRCASECMP 1
  170. /* Define to 1 if you have the strcmpi function. */
  171. /* #undef HAVE_STRCMPI */
  172. /* Define to 1 if you have the strdup function. */
  173. #define HAVE_STRDUP 1
  174. /* Define to 1 if you have the stricmp function. */
  175. /* #undef HAVE_STRICMP */
  176. /* Define to 1 if you have the <strings.h> header file. */
  177. #define HAVE_STRINGS_H 1
  178. /* Define to 1 if you have the <string.h> header file. */
  179. #define HAVE_STRING_H 1
  180. /* Define to 1 if you have the strncasecmp function. */
  181. #define HAVE_STRNCASECMP 1
  182. /* Define to 1 if you have the strncmpi function. */
  183. /* #undef HAVE_STRNCMPI */
  184. /* Define to 1 if you have the strnicmp function. */
  185. /* #undef HAVE_STRNICMP */
  186. /* Define to 1 if you have the <stropts.h> header file. */
  187. /* #undef HAVE_STROPTS_H */
  188. /* Define to 1 if you have struct addrinfo. */
  189. #define HAVE_STRUCT_ADDRINFO 1
  190. /* Define to 1 if you have struct in6_addr. */
  191. #define HAVE_STRUCT_IN6_ADDR 1
  192. /* Define to 1 if you have struct sockaddr_in6. */
  193. #define HAVE_STRUCT_SOCKADDR_IN6 1
  194. /* if struct sockaddr_storage is defined */
  195. #define HAVE_STRUCT_SOCKADDR_STORAGE 1
  196. /* Define to 1 if you have the timeval struct. */
  197. #define HAVE_STRUCT_TIMEVAL 1
  198. /* Define to 1 if you have the <sys/ioctl.h> header file. */
  199. #define HAVE_SYS_IOCTL_H 1
  200. /* Define to 1 if you have the <sys/param.h> header file. */
  201. #define HAVE_SYS_PARAM_H 1
  202. /* Define to 1 if you have the <sys/select.h> header file. */
  203. #define HAVE_SYS_SELECT_H 1
  204. /* Define to 1 if you have the <sys/socket.h> header file. */
  205. #define HAVE_SYS_SOCKET_H 1
  206. /* Define to 1 if you have the <sys/stat.h> header file. */
  207. #define HAVE_SYS_STAT_H 1
  208. /* Define to 1 if you have the <sys/time.h> header file. */
  209. #define HAVE_SYS_TIME_H 1
  210. /* Define to 1 if you have the <sys/types.h> header file. */
  211. #define HAVE_SYS_TYPES_H 1
  212. /* Define to 1 if you have the <sys/uio.h> header file. */
  213. #define HAVE_SYS_UIO_H 1
  214. /* Define to 1 if you have the <time.h> header file. */
  215. #define HAVE_TIME_H 1
  216. /* Define to 1 if you have the <unistd.h> header file. */
  217. #define HAVE_UNISTD_H 1
  218. /* Define to 1 if you have the windows.h header file. */
  219. /* #undef HAVE_WINDOWS_H */
  220. /* Define to 1 if you have the winsock2.h header file. */
  221. /* #undef HAVE_WINSOCK2_H */
  222. /* Define to 1 if you have the winsock.h header file. */
  223. /* #undef HAVE_WINSOCK_H */
  224. /* Define to 1 if you have the writev function. */
  225. #define HAVE_WRITEV 1
  226. /* Define to 1 if you have the ws2tcpip.h header file. */
  227. /* #undef HAVE_WS2TCPIP_H */
  228. /* Define if __system_property_get exists. */
  229. /* #undef HAVE___SYSTEM_PROPERTY_GET */
  230. /* Define to the sub-directory where libtool stores uninstalled libraries. */
  231. #define LT_OBJDIR ".libs/"
  232. /* Define to 1 if you need the malloc.h header file even with stdlib.h */
  233. /* #undef NEED_MALLOC_H */
  234. /* Define to 1 if you need the memory.h header file even with stdlib.h */
  235. /* #undef NEED_MEMORY_H */
  236. /* Define to 1 if _REENTRANT preprocessor symbol must be defined. */
  237. /* #undef NEED_REENTRANT */
  238. /* Define to 1 if _THREAD_SAFE preprocessor symbol must be defined. */
  239. /* #undef NEED_THREAD_SAFE */
  240. /* cpu-machine-OS */
  241. #define OS "x86_64-unknown-openbsd6.2"
  242. /* Name of package */
  243. #define PACKAGE "c-ares"
  244. /* Define to the address where bug reports for this package should be sent. */
  245. #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
  246. /* Define to the full name of this package. */
  247. #define PACKAGE_NAME "c-ares"
  248. /* Define to the full name and version of this package. */
  249. #define PACKAGE_STRING "c-ares 1.13.0"
  250. /* Define to the one symbol short name of this package. */
  251. #define PACKAGE_TARNAME "c-ares"
  252. /* Define to the home page for this package. */
  253. #define PACKAGE_URL ""
  254. /* Define to the version of this package. */
  255. #define PACKAGE_VERSION "1.13.0"
  256. /* a suitable file/device to read random data from */
  257. #define RANDOM_FILE "/dev/urandom"
  258. /* Define to the type qualifier pointed by arg 5 for recvfrom. */
  259. #define RECVFROM_QUAL_ARG5
  260. /* Define to the type of arg 1 for recvfrom. */
  261. #define RECVFROM_TYPE_ARG1 int
  262. /* Define to the type pointed by arg 2 for recvfrom. */
  263. #define RECVFROM_TYPE_ARG2 void
  264. /* Define to 1 if the type pointed by arg 2 for recvfrom is void. */
  265. #define RECVFROM_TYPE_ARG2_IS_VOID 1
  266. /* Define to the type of arg 3 for recvfrom. */
  267. #define RECVFROM_TYPE_ARG3 size_t
  268. /* Define to the type of arg 4 for recvfrom. */
  269. #define RECVFROM_TYPE_ARG4 int
  270. /* Define to the type pointed by arg 5 for recvfrom. */
  271. #define RECVFROM_TYPE_ARG5 struct sockaddr
  272. /* Define to 1 if the type pointed by arg 5 for recvfrom is void. */
  273. /* #undef RECVFROM_TYPE_ARG5_IS_VOID */
  274. /* Define to the type pointed by arg 6 for recvfrom. */
  275. #define RECVFROM_TYPE_ARG6 socklen_t
  276. /* Define to 1 if the type pointed by arg 6 for recvfrom is void. */
  277. /* #undef RECVFROM_TYPE_ARG6_IS_VOID */
  278. /* Define to the function return type for recvfrom. */
  279. #define RECVFROM_TYPE_RETV ssize_t
  280. /* Define to the type of arg 1 for recv. */
  281. #define RECV_TYPE_ARG1 int
  282. /* Define to the type of arg 2 for recv. */
  283. #define RECV_TYPE_ARG2 void *
  284. /* Define to the type of arg 3 for recv. */
  285. #define RECV_TYPE_ARG3 size_t
  286. /* Define to the type of arg 4 for recv. */
  287. #define RECV_TYPE_ARG4 int
  288. /* Define to the function return type for recv. */
  289. #define RECV_TYPE_RETV ssize_t
  290. /* Define as the return type of signal handlers (`int' or `void'). */
  291. #define RETSIGTYPE void
  292. /* Define to the type qualifier of arg 2 for send. */
  293. #define SEND_QUAL_ARG2 const
  294. /* Define to the type of arg 1 for send. */
  295. #define SEND_TYPE_ARG1 int
  296. /* Define to the type of arg 2 for send. */
  297. #define SEND_TYPE_ARG2 void *
  298. /* Define to the type of arg 3 for send. */
  299. #define SEND_TYPE_ARG3 size_t
  300. /* Define to the type of arg 4 for send. */
  301. #define SEND_TYPE_ARG4 int
  302. /* Define to the function return type for send. */
  303. #define SEND_TYPE_RETV ssize_t
  304. /* Define to 1 if you have the ANSI C header files. */
  305. #define STDC_HEADERS 1
  306. /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  307. #define TIME_WITH_SYS_TIME 1
  308. /* Define to disable non-blocking sockets. */
  309. /* #undef USE_BLOCKING_SOCKETS */
  310. /* Version number of package */
  311. #define VERSION "1.13.0"
  312. /* Define to avoid automatic inclusion of winsock.h */
  313. /* #undef WIN32_LEAN_AND_MEAN */
  314. /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  315. significant byte first (like Motorola and SPARC, unlike Intel). */
  316. #if defined AC_APPLE_UNIVERSAL_BUILD
  317. # if defined __BIG_ENDIAN__
  318. # define WORDS_BIGENDIAN 1
  319. # endif
  320. #else
  321. # ifndef WORDS_BIGENDIAN
  322. /* # undef WORDS_BIGENDIAN */
  323. # endif
  324. #endif
  325. /* Define to 1 if OS is AIX. */
  326. #ifndef _ALL_SOURCE
  327. /* # undef _ALL_SOURCE */
  328. #endif
  329. /* Enable large inode numbers on Mac OS X 10.5. */
  330. #ifndef _DARWIN_USE_64_BIT_INODE
  331. # define _DARWIN_USE_64_BIT_INODE 1
  332. #endif
  333. /* Number of bits in a file offset, on hosts where this is settable. */
  334. /* #undef _FILE_OFFSET_BITS */
  335. /* Define for large files, on AIX-style hosts. */
  336. /* #undef _LARGE_FILES */
  337. /* Define to empty if `const' does not conform to ANSI C. */
  338. /* #undef const */
  339. /* Type to use in place of in_addr_t when system does not provide it. */
  340. /* #undef in_addr_t */
  341. /* Define to `unsigned int' if <sys/types.h> does not define. */
  342. /* #undef size_t */