diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-03-10 23:30:34 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-03-10 23:30:34 +0000 |
commit | db2370a12f9ac78cedb448439969079b6dc568f3 (patch) | |
tree | ca2a3d8f10fb4cdc39735fac293fffa9397f2af0 /ares/configure.ac | |
parent | d1d35ba85fe6f8a9e6a86d2a6c60109cf90edd6c (diff) |
Dominick Meglio added ares_parse_aaaa_reply.c and did various adjustments. The
first little steps towards IPv6 support!
Diffstat (limited to 'ares/configure.ac')
-rw-r--r-- | ares/configure.ac | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ares/configure.ac b/ares/configure.ac index 64c76c9f9..f4ed76f4f 100644 --- a/ares/configure.ac +++ b/ares/configure.ac @@ -63,4 +63,32 @@ AC_CHECK_HEADERS( sys/socket.h \ ) +dnl check for AF_INET6 +CARES_CHECK_CONSTANT( + [ + #include <sys/types.h> + #include <sys/socket.h> + ], [PF_INET6], + AC_DEFINE_UNQUOTED(HAVE_PF_INET6,1,[Define to 1 if you have PF_INET6.]) +) + +dnl check for PF_INET6 +CARES_CHECK_CONSTANT( + [ + #include <sys/types.h> + #include <sys/socket.h> + ], [AF_INET6], + AC_DEFINE_UNQUOTED(HAVE_AF_INET6,1,[Define to 1 if you have AF_INET6.]) +) + + +dnl check for the in6_addr structure +CARES_CHECK_STRUCT( + [ + #include <sys/types.h> + #include <netinet/in.h> + ], [in6_addr], + AC_DEFINE_UNQUOTED(HAVE_STRUCT_IN6_ADDR,1,[Define to 1 if you have struct in6_addr.]) +) + AC_OUTPUT(Makefile) |