Put back the --disable-ipv6 option. This should only be needed if
authorMartin Pool <mbp@samba.org>
Wed, 28 Nov 2001 06:52:04 +0000 (06:52 +0000)
committerMartin Pool <mbp@samba.org>
Wed, 28 Nov 2001 06:52:04 +0000 (06:52 +0000)
your platform seems to support ipv6, but actually it breaks.  This
seems to be the case for "powerpc-apple-darwin1.4".

configure.in

index a701a00..85ecac4 100644 (file)
@@ -94,6 +94,11 @@ ipv6type=unknown
 ipv6lib=none
 ipv6trylibc=yes
 
+AC_ARG_ENABLE(ipv6, 
+       AC_HELP_STRING([--disable-ipv6], [don't even try to use IPv6]))
+
+if test "x$enable_ipv6" != xno
+then
        AC_MSG_CHECKING([ipv6 stack type])
        for i in inria kame linux-glibc linux-inet6 toshiba v6d zeta; do
                case $i in
@@ -179,7 +184,8 @@ yes
        done
        AC_MSG_RESULT($ipv6type)
 
-AC_SEARCH_LIBS(getaddrinfo, inet6)
+       AC_SEARCH_LIBS(getaddrinfo, inet6)
+fi
 
 AC_C_BIGENDIAN
 AC_HEADER_DIRENT