diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-09-21 09:10:17 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-09-21 09:10:17 +0000 |
commit | af27d8743d6e2fe0c4b6ff2a2793bff950eaa724 (patch) | |
tree | 28d086a3bf5d0fb8d6483a61a4f78d6757f82d18 /configure.ac | |
parent | cbe5ec459708e78eed6c3b8db236e43a35342c29 (diff) | |
download | c-ares-af27d8743d6e2fe0c4b6ff2a2793bff950eaa724.tar.gz c-ares-af27d8743d6e2fe0c4b6ff2a2793bff950eaa724.tar.bz2 c-ares-af27d8743d6e2fe0c4b6ff2a2793bff950eaa724.zip |
simplified the sin6_scope_id test and removed some left-overs from the previous
way of detecting it
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 16db0f2..f4cc523 100644 --- a/configure.ac +++ b/configure.ac @@ -176,7 +176,6 @@ CARES_CHECK_STRUCT( [Define to 1 if you have struct sockaddr_in6.]) ac_have_sockaddr_in6=yes ) -if test "$ac_have_sockaddr_in6" = "yes" ; then AC_CHECK_MEMBER(struct sockaddr_in6.sin6_scope_id, AC_DEFINE_UNQUOTED(HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID,1, [Define to 1 if your struct sockaddr_in6 has sin6_scope_id.]) @@ -191,9 +190,7 @@ AC_CHECK_MEMBER(struct sockaddr_in6.sin6_scope_id, #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif - ], [sockaddr_in6], [sin6_scope_id], -) -fi + ]) dnl check for the addrinfo structure AC_CHECK_MEMBER(struct addrinfo.ai_flags, |