changed HAVE_SIN6_SCOPE_ID define to HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID since just found that ares already uses this define.

This commit is contained in:
Gunter Knauf
2008-12-30 08:05:38 +00:00
parent 104377d718
commit 1cc50d31f9
12 changed files with 16 additions and 14 deletions

View File

@@ -826,10 +826,10 @@ if test "$ipv6" = yes; then
#include <netinet/in.h>] ,
struct sockaddr_in6 s; s.sin6_scope_id = 0; , have_sin6_scope_id=yes)
if test "$have_sin6_scope_id" = yes; then
AC_MSG_RESULT([yes])
AC_DEFINE(HAVE_SIN6_SCOPE_ID, 1, [Define to 1 if struct sockaddr_in6 has the sin6_scope_id member])
AC_MSG_RESULT([yes])
AC_DEFINE(HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID, 1, [Define to 1 if struct sockaddr_in6 has the sin6_scope_id member])
else
AC_MSG_RESULT([no])
AC_MSG_RESULT([no])
fi
fi