From f72999dde9f40c96308c5046a9258d18a2d77073 Mon Sep 17 00:00:00 2001 From: hniksic Date: Thu, 30 Oct 2003 11:11:03 -0800 Subject: [PATCH] [svn] Reenable configure.in autodetection. --- ChangeLog | 4 ++++ configure.in | 11 +++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e25a3a6b..31c57460 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-10-29 Hrvoje Niksic + + * configure.in: Reenable IPv6 autodetection. + 2003-10-26 Hrvoje Niksic * configure.in: Switch from u_int32_t to uint32_t. Check for diff --git a/configure.in b/configure.in index 9c026dd6..dd155ec0 100644 --- a/configure.in +++ b/configure.in @@ -453,6 +453,12 @@ dnl ********************************************************************** dnl Checks for IPv6 dnl ********************************************************************** +dnl +dnl If --enable-ipv6 is specified, we try to use IPv6 (as long as +dnl getaddrinfo is also present). If --disable-ipv6 is specified, we +dnl don't use IPv6 or getaddrinfo. +dnl + ipv6= check_for_ipv6=no AC_ARG_ENABLE(ipv6, @@ -466,7 +472,8 @@ AC_ARG_ENABLE(ipv6, ipv6=yes ;; esac], - [check_for_ipv6=no] + dnl If unspecified, check for IPv6 and use it where available. + [check_for_ipv6=yes] ) if test "X$ipv6" = "Xyes" || test "X$check_for_ipv6" = "Xyes"; then @@ -494,7 +501,7 @@ if test "X$ipv6" = "Xyes" || test "X$check_for_ipv6" = "Xyes"; then ipv6=no ]) fi - + if test "X$ipv6" = "Xyes" || test "X$check_for_ipv6" = "Xyes"; then PROTO_INET6(,[ AC_MSG_NOTICE([Disabling IPv6 support: your system does not support the PF_INET6 protocol family])