mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Reenable configure.in autodetection.
This commit is contained in:
parent
3f8a70c227
commit
f72999dde9
@ -1,3 +1,7 @@
|
||||
2003-10-29 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* configure.in: Reenable IPv6 autodetection.
|
||||
|
||||
2003-10-26 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* configure.in: Switch from u_int32_t to uint32_t. Check for
|
||||
|
11
configure.in
11
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])
|
||||
|
Loading…
Reference in New Issue
Block a user