From db2370a12f9ac78cedb448439969079b6dc568f3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 10 Mar 2005 23:30:34 +0000 Subject: Dominick Meglio added ares_parse_aaaa_reply.c and did various adjustments. The first little steps towards IPv6 support! --- ares/configure.ac | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'ares/configure.ac') 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 + #include + ], [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 + #include + ], [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 + #include + ], [in6_addr], + AC_DEFINE_UNQUOTED(HAVE_STRUCT_IN6_ADDR,1,[Define to 1 if you have struct in6_addr.]) +) + AC_OUTPUT(Makefile) -- cgit v1.2.3