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 | 958690522090718e23b12ccd5000e87c5544fbd7 (patch) | |
tree | 007ba99c4d45b4c0bbb18bfc1a027759c56c03c5 /configure.ac | |
parent | 989849366122cdd1abd7caa1ce979145e96ccdca (diff) | |
download | c-ares-958690522090718e23b12ccd5000e87c5544fbd7.tar.gz c-ares-958690522090718e23b12ccd5000e87c5544fbd7.tar.bz2 c-ares-958690522090718e23b12ccd5000e87c5544fbd7.zip |
Dominick Meglio added ares_parse_aaaa_reply.c and did various adjustments. The
first little steps towards IPv6 support!
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 64c76c9..f4ed76f 100644 --- a/configure.ac +++ b/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) |