1 /* ares_config.h.in. Generated from configure.ac by autoheader. */ 2 3 /* Define if building universal (internal helper macro) */ 4 #undef AC_APPLE_UNIVERSAL_BUILD 5 6 /* define this if ares is built for a big endian system */ 7 #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ 8 # define ARES_BIG_ENDIAN 1 9 #endif 10 11 /* when building as static part of libcurl */ 12 #undef BUILDING_LIBCURL 13 14 /* when building c-ares library */ 15 #define CARES_BUILDING_LIBRARY 1 16 17 /* when not building a shared library */ 18 #undef CARES_STATICLIB 19 20 /* Define to 1 to enable hiding of library internal symbols. */ 21 #undef CARES_SYMBOL_HIDING 22 23 /* Definition to make a library symbol externally visible. */ 24 #undef CARES_SYMBOL_SCOPE_EXTERN 25 26 /* if a /etc/inet dir is being used */ 27 #undef ETC_INET 28 29 /* Define to the type qualifier of arg 1 for getnameinfo. */ 30 #define GETNAMEINFO_QUAL_ARG1 const 31 32 /* Define to the type of arg 1 for getnameinfo. */ 33 #define GETNAMEINFO_TYPE_ARG1 struct sockaddr * 34 35 /* Define to the type of arg 2 for getnameinfo. */ 36 #define GETNAMEINFO_TYPE_ARG2 socklen_t 37 38 /* Define to the type of args 4 and 6 for getnameinfo. */ 39 #define GETNAMEINFO_TYPE_ARG46 size_t 40 41 /* Define to the type of arg 7 for getnameinfo. */ 42 #define GETNAMEINFO_TYPE_ARG7 int 43 44 /* Specifies the number of arguments to getservbyport_r */ 45 #undef GETSERVBYPORT_R_ARGS 46 47 /* Specifies the size of the buffer to pass to getservbyport_r */ 48 #undef GETSERVBYPORT_R_BUFSIZE 49 50 /* Define to 1 if you have AF_INET6. */ 51 #define HAVE_AF_INET6 52 53 /* Define to 1 if you have the <arpa/inet.h> header file. */ 54 #define HAVE_ARPA_INET_H 1 55 56 /* Define to 1 if you have the <arpa/nameser_compat.h> header file. */ 57 #define HAVE_ARPA_NAMESER_COMPAT_H 1 58 59 /* Define to 1 if you have the <arpa/nameser.h> header file. */ 60 #define HAVE_ARPA_NAMESER_H 1 61 62 /* Define to 1 if you have the <assert.h> header file. */ 63 #define HAVE_ASSERT_H 1 64 65 /* Define to 1 if you have the `bitncmp' function. */ 66 #undef HAVE_BITNCMP 67 68 /* Define to 1 if bool is an available type. */ 69 #define HAVE_BOOL_T 1 70 71 /* Define to 1 if you have the clock_gettime function and monotonic timer. */ 72 #define HAVE_CLOCK_GETTIME_MONOTONIC 1 73 74 /* Define to 1 if you have the closesocket function. */ 75 #undef HAVE_CLOSESOCKET 76 77 /* Define to 1 if you have the CloseSocket camel case function. */ 78 #undef HAVE_CLOSESOCKET_CAMEL 79 80 /* Define to 1 if you have the connect function. */ 81 #define HAVE_CONNECT 1 82 83 /* Define to 1 if you have the <dlfcn.h> header file. */ 84 #define HAVE_DLFCN_H 1 85 86 /* Define to 1 if you have the <errno.h> header file. */ 87 #define HAVE_ERRNO_H 1 88 89 /* Define to 1 if you have the fcntl function. */ 90 #define HAVE_FCNTL 1 91 92 /* Define to 1 if you have the <fcntl.h> header file. */ 93 #define HAVE_FCNTL_H 1 94 95 /* Define to 1 if you have a working fcntl O_NONBLOCK function. */ 96 #define HAVE_FCNTL_O_NONBLOCK 1 97 98 /* Define to 1 if you have the freeaddrinfo function. */ 99 #define HAVE_FREEADDRINFO 1 100 101 /* Define to 1 if you have a working getaddrinfo function. */ 102 #define HAVE_GETADDRINFO 1 103 104 /* Define to 1 if the getaddrinfo function is threadsafe. */ 105 #define HAVE_GETADDRINFO_THREADSAFE 1 106 107 /* Define to 1 if you have the getenv function. */ 108 #define HAVE_GETENV 1 109 110 /* Define to 1 if you have the gethostbyaddr function. */ 111 #define HAVE_GETHOSTBYADDR 1 112 113 /* Define to 1 if you have the gethostbyname function. */ 114 #define HAVE_GETHOSTBYNAME 1 115 116 /* Define to 1 if you have the gethostname function. */ 117 #define HAVE_GETHOSTNAME 1 118 119 /* Define to 1 if you have the getnameinfo function. */ 120 #define HAVE_GETNAMEINFO 1 121 122 /* Define to 1 if you have the getservbyport_r function. */ 123 #undef HAVE_GETSERVBYPORT_R 124 125 /* Define to 1 if you have the `gettimeofday' function. */ 126 #define HAVE_GETTIMEOFDAY 1 127 128 /* Define to 1 if you have the `if_indextoname' function. */ 129 #define HAVE_IF_INDEXTONAME 1 130 131 /* Define to 1 if you have a IPv6 capable working inet_net_pton function. */ 132 #undef HAVE_INET_NET_PTON 133 134 /* Define to 1 if you have a IPv6 capable working inet_ntop function. */ 135 #define HAVE_INET_NTOP 1 136 137 /* Define to 1 if you have a IPv6 capable working inet_pton function. */ 138 #define HAVE_INET_PTON 1 139 140 /* Define to 1 if you have the <inttypes.h> header file. */ 141 #define HAVE_INTTYPES_H 1 142 143 /* Define to 1 if you have the ioctl function. */ 144 #define HAVE_IOCTL 1 145 146 /* Define to 1 if you have the ioctlsocket function. */ 147 #define HAVE_IOCTLSOCKET 1 148 149 /* Define to 1 if you have the IoctlSocket camel case function. */ 150 #define HAVE_IOCTLSOCKET_CAMEL 1 151 152 /* Define to 1 if you have a working IoctlSocket camel case FIONBIO function. 153 */ 154 #define HAVE_IOCTLSOCKET_CAMEL_FIONBIO 1 155 156 /* Define to 1 if you have a working ioctlsocket FIONBIO function. */ 157 #define HAVE_IOCTLSOCKET_FIONBIO 1 158 159 /* Define to 1 if you have a working ioctl FIONBIO function. */ 160 #define HAVE_IOCTL_FIONBIO 1 161 162 /* Define to 1 if you have a working ioctl SIOCGIFADDR function. */ 163 #define HAVE_IOCTL_SIOCGIFADDR 1 164 165 /* Define to 1 if you have the `resolve' library (-lresolve). */ 166 #define HAVE_LIBRESOLVE 1 167 168 /* Define to 1 if you have the <limits.h> header file. */ 169 #define HAVE_LIMITS_H 1 170 171 /* if your compiler supports LL */ 172 #define HAVE_LL 1 173 174 /* Define to 1 if the compiler supports the 'long long' data type. */ 175 #define HAVE_LONGLONG 1 176 177 /* Define to 1 if you have the malloc.h header file. */ 178 #define HAVE_MALLOC_H 1 179 180 /* Define to 1 if you have the memory.h header file. */ 181 #define HAVE_MEMORY_H 1 182 183 /* Define to 1 if you have the MSG_NOSIGNAL flag. */ 184 #define HAVE_MSG_NOSIGNAL 1 185 186 /* Define to 1 if you have the <netdb.h> header file. */ 187 #define HAVE_NETDB_H 1 188 189 /* Define to 1 if you have the <netinet/in.h> header file. */ 190 #define HAVE_NETINET_IN_H 1 191 192 /* Define to 1 if you have the <netinet/tcp.h> header file. */ 193 #define HAVE_NETINET_TCP_H 1 194 195 /* Define to 1 if you have the <net/if.h> header file. */ 196 #define HAVE_NET_IF_H 1 197 198 /* Define to 1 if you have PF_INET6. */ 199 #define HAVE_PF_INET6 1 200 201 /* Define to 1 if you have the recv function. */ 202 #define HAVE_RECV 1 203 204 /* Define to 1 if you have the recvfrom function. */ 205 #define HAVE_RECVFROM 1 206 207 /* Define to 1 if you have the send function. */ 208 #define HAVE_SEND 1 209 210 /* Define to 1 if you have the setsockopt function. */ 211 #define HAVE_SETSOCKOPT 1 212 213 /* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */ 214 #define HAVE_SETSOCKOPT_SO_NONBLOCK 1 215 216 /* Define to 1 if you have the <signal.h> header file. */ 217 #define HAVE_SIGNAL_H 1 218 219 /* Define to 1 if sig_atomic_t is an available typedef. */ 220 #define HAVE_SIG_ATOMIC_T 1 221 222 /* Define to 1 if sig_atomic_t is already defined as volatile. */ 223 #define HAVE_SIG_ATOMIC_T_VOLATILE 1 224 225 /* Define to 1 if your struct sockaddr_in6 has sin6_scope_id. */ 226 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 227 228 /* Define to 1 if you have the socket function. */ 229 #define HAVE_SOCKET 1 230 231 /* Define to 1 if you have the <socket.h> header file. */ 232 #define HAVE_SOCKET_H 1 233 234 /* Define to 1 if you have the <stdbool.h> header file. */ 235 #define HAVE_STDBOOL_H 1 236 237 /* Define to 1 if you have the <stdint.h> header file. */ 238 #define HAVE_STDINT_H 1 239 240 /* Define to 1 if you have the <stdlib.h> header file. */ 241 #define HAVE_STDLIB_H 1 242 243 /* Define to 1 if you have the strcasecmp function. */ 244 #define HAVE_STRCASECMP 1 245 246 /* Define to 1 if you have the strcmpi function. */ 247 #define HAVE_STRCMPI 1 248 249 /* Define to 1 if you have the strdup function. */ 250 #define HAVE_STRDUP 1 251 252 /* Define to 1 if you have the stricmp function. */ 253 #define HAVE_STRICMP 1 254 255 /* Define to 1 if you have the <strings.h> header file. */ 256 #define HAVE_STRINGS_H 1 257 258 /* Define to 1 if you have the <string.h> header file. */ 259 #define HAVE_STRING_H 1 260 261 /* Define to 1 if you have the strncasecmp function. */ 262 #define HAVE_STRNCASECMP 1 263 264 /* Define to 1 if you have the strncmpi function. */ 265 #define HAVE_STRNCMPI 1 266 267 /* Define to 1 if you have the strnicmp function. */ 268 #define HAVE_STRNICMP 1 269 270 /* Define to 1 if you have the <stropts.h> header file. */ 271 #define HAVE_STROPTS_H 1 272 273 /* Define to 1 if you have struct addrinfo. */ 274 #define HAVE_STRUCT_ADDRINFO 1 275 276 /* Define to 1 if you have struct in6_addr. */ 277 #define HAVE_STRUCT_IN6_ADDR 1 278 279 /* Define to 1 if you have struct sockaddr_in6. */ 280 #define HAVE_STRUCT_SOCKADDR_IN6 1 281 282 /* if struct sockaddr_storage is defined */ 283 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 284 285 /* Define to 1 if you have the timeval struct. */ 286 #define HAVE_STRUCT_TIMEVAL 287 288 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 289 #define HAVE_SYS_IOCTL_H 1 290 291 /* Define to 1 if you have the <sys/param.h> header file. */ 292 #define HAVE_SYS_PARAM_H 1 293 294 /* Define to 1 if you have the <sys/select.h> header file. */ 295 #define HAVE_SYS_SELECT_H 1 296 297 /* Define to 1 if you have the <sys/socket.h> header file. */ 298 #define HAVE_SYS_SOCKET_H 1 299 300 /* Define to 1 if you have the <sys/stat.h> header file. */ 301 #define HAVE_SYS_STAT_H 1 302 303 /* Define to 1 if you have the <sys/time.h> header file. */ 304 #define HAVE_SYS_TIME_H 1 305 306 /* Define to 1 if you have the <sys/types.h> header file. */ 307 #define HAVE_SYS_TYPES_H 1 308 309 /* Define to 1 if you have the <sys/uio.h> header file. */ 310 #define HAVE_SYS_UIO_H 1 311 312 /* Define to 1 if you have the <time.h> header file. */ 313 #define HAVE_TIME_H 1 314 315 /* Define to 1 if you have the <unistd.h> header file. */ 316 #define HAVE_UNISTD_H 1 317 318 /* Define to 1 if you have the windows.h header file. */ 319 #undef HAVE_WINDOWS_H 320 321 /* Define to 1 if you have the winsock2.h header file. */ 322 #undef HAVE_WINSOCK2_H 323 324 /* Define to 1 if you have the winsock.h header file. */ 325 #undef HAVE_WINSOCK_H 326 327 /* Define to 1 if you have the writev function. */ 328 #define HAVE_WRITEV 1 329 330 /* Define to 1 if you have the ws2tcpip.h header file. */ 331 #undef HAVE_WS2TCPIP_H 332 333 /* Define to the sub-directory in which libtool stores uninstalled libraries. 334 */ 335 #undef LT_OBJDIR 336 337 /* Define to 1 if you are building a native Windows target. */ 338 #undef NATIVE_WINDOWS 339 340 /* Define to 1 if you need the malloc.h header file even with stdlib.h */ 341 #undef NEED_MALLOC_H 342 343 /* Define to 1 if you need the memory.h header file even with stdlib.h */ 344 #undef NEED_MEMORY_H 345 346 /* Define to 1 if _REENTRANT preprocessor symbol must be defined. */ 347 #undef NEED_REENTRANT 348 349 /* Define to 1 if _THREAD_SAFE preprocessor symbol must be defined. */ 350 #undef NEED_THREAD_SAFE 351 352 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ 353 #undef NO_MINUS_C_MINUS_O 354 355 /* cpu-machine-OS */ 356 #undef OS 357 358 /* Name of package */ 359 #undef PACKAGE 360 361 /* Define to the address where bug reports for this package should be sent. */ 362 #undef PACKAGE_BUGREPORT 363 364 /* Define to the full name of this package. */ 365 #undef PACKAGE_NAME 366 367 /* Define to the full name and version of this package. */ 368 #undef PACKAGE_STRING 369 370 /* Define to the one symbol short name of this package. */ 371 #undef PACKAGE_TARNAME 372 373 /* Define to the home page for this package. */ 374 #undef PACKAGE_URL 375 376 /* Define to the version of this package. */ 377 #undef PACKAGE_VERSION 378 379 /* a suitable file/device to read random data from */ 380 #undef RANDOM_FILE 381 382 /* Define to the type qualifier pointed by arg 5 for recvfrom. */ 383 #define RECVFROM_QUAL_ARG5 const 384 385 /* Define to the type of arg 1 for recvfrom. */ 386 #define RECVFROM_TYPE_ARG1 int 387 388 /* Define to the type pointed by arg 2 for recvfrom. */ 389 #define RECVFROM_TYPE_ARG2 void 390 391 /* Define to 1 if the type pointed by arg 2 for recvfrom is void. */ 392 #define RECVFROM_TYPE_ARG2_IS_VOID 1 393 394 /* Define to the type of arg 3 for recvfrom. */ 395 #define RECVFROM_TYPE_ARG3 size_t 396 397 /* Define to the type of arg 4 for recvfrom. */ 398 #define RECVFROM_TYPE_ARG4 int 399 400 /* Define to the type pointed by arg 5 for recvfrom. */ 401 #define RECVFROM_TYPE_ARG5 struct sockaddr 402 403 /* Define to 1 if the type pointed by arg 5 for recvfrom is void. */ 404 #undef RECVFROM_TYPE_ARG5_IS_VOID 405 406 /* Define to the type pointed by arg 6 for recvfrom. */ 407 #define RECVFROM_TYPE_ARG6 socklen_t 408 409 /* Define to 1 if the type pointed by arg 6 for recvfrom is void. */ 410 #undef RECVFROM_TYPE_ARG6_IS_VOID 411 412 /* Define to the function return type for recvfrom. */ 413 #define RECVFROM_TYPE_RETV ssize_t 414 415 /* Define to the type of arg 1 for recv. */ 416 #define RECV_TYPE_ARG1 int 417 418 /* Define to the type of arg 2 for recv. */ 419 #define RECV_TYPE_ARG2 void * 420 421 /* Define to the type of arg 3 for recv. */ 422 #define RECV_TYPE_ARG3 size_t 423 424 /* Define to the type of arg 4 for recv. */ 425 #define RECV_TYPE_ARG4 int 426 427 /* Define to the function return type for recv. */ 428 #define RECV_TYPE_RETV ssize_t 429 430 /* Define as the return type of signal handlers (`int' or `void'). */ 431 #define RETSIGTYPE void 432 433 /* Define to the type qualifier of arg 2 for send. */ 434 #define SEND_QUAL_ARG2 const 435 436 /* Define to the type of arg 1 for send. */ 437 #define SEND_TYPE_ARG1 int 438 439 /* Define to the type of arg 2 for send. */ 440 #define SEND_TYPE_ARG2 void * 441 442 /* Define to the type of arg 3 for send. */ 443 #define SEND_TYPE_ARG3 size_t 444 445 /* Define to the type of arg 4 for send. */ 446 #define SEND_TYPE_ARG4 int 447 448 /* Define to the function return type for send. */ 449 #define SEND_TYPE_RETV ssize_t 450 451 /* The size of `int', as computed by sizeof. */ 452 #undef SIZEOF_INT 453 454 /* The size of `long', as computed by sizeof. */ 455 #undef SIZEOF_LONG 456 457 /* The size of `size_t', as computed by sizeof. */ 458 #undef SIZEOF_SIZE_T 459 460 /* The size of `struct in6_addr', as computed by sizeof. */ 461 #undef SIZEOF_STRUCT_IN6_ADDR 462 463 /* The size of `struct in_addr', as computed by sizeof. */ 464 #undef SIZEOF_STRUCT_IN_ADDR 465 466 /* The size of `time_t', as computed by sizeof. */ 467 #undef SIZEOF_TIME_T 468 469 /* Define to 1 if you have the ANSI C header files. */ 470 #undef STDC_HEADERS 471 472 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 473 #define TIME_WITH_SYS_TIME 1 474 475 /* Define to disable non-blocking sockets. */ 476 #undef USE_BLOCKING_SOCKETS 477 478 /* Version number of package */ 479 #undef VERSION 480 481 /* Define to avoid automatic inclusion of winsock.h */ 482 #undef WIN32_LEAN_AND_MEAN 483 484 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 485 significant byte first (like Motorola and SPARC, unlike Intel). */ 486 #if defined AC_APPLE_UNIVERSAL_BUILD 487 # if defined __BIG_ENDIAN__ 488 # define WORDS_BIGENDIAN 1 489 # endif 490 #else 491 # ifndef WORDS_BIGENDIAN 492 # undef WORDS_BIGENDIAN 493 # endif 494 #endif 495 496 /* Define to 1 if OS is AIX. */ 497 #ifndef _ALL_SOURCE 498 # undef _ALL_SOURCE 499 #endif 500 501 /* Number of bits in a file offset, on hosts where this is settable. */ 502 #define _FILE_OFFSET_BITS 64 503 504 /* Define for large files, on AIX-style hosts. */ 505 #undef _LARGE_FILES 506 507 /* Define to empty if `const' does not conform to ANSI C. */ 508 #undef const 509 510 /* Type to use in place of in_addr_t when system does not provide it. */ 511 #undef in_addr_t 512 513 /* Define to `unsigned int' if <sys/types.h> does not define. */ 514 #undef size_t 515 516 /* the signed version of size_t */ 517 #undef ssize_t 518