aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-09-21 09:10:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-09-21 09:10:17 +0000
commit0f73af44702f4ce2d3de8c0bab095ca02e24f04c (patch)
treeca50fa1bb7d85304c168b3e51b85dda874df7040 /ares
parent45e26b5c02b66a13a53e0b8ee68f2e25872bc824 (diff)
simplified the sin6_scope_id test and removed some left-overs from the previous
way of detecting it
Diffstat (limited to 'ares')
-rw-r--r--ares/configure.ac5
1 files changed, 1 insertions, 4 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index 16db0f24e..f4cc52372 100644
--- a/ares/configure.ac
+++ b/ares/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,