X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=configure.ac;h=fa3d5b977b9c0afaa115e968cd651b5377b76175;hp=1cdba2f4519b9981202ebc1c63647c730016baab;hb=f9c765d8e635728753572db7af242a8c167980d7;hpb=5af14a75892045a0bab75881eb884db7d60013e1 diff --git a/configure.ac b/configure.ac index 1cdba2f4..fa3d5b97 100644 --- a/configure.ac +++ b/configure.ac @@ -301,9 +301,9 @@ dnl ********************************************************************** dnl dnl We test for IPv6 by checking, in turn, for availability of -dnl getaddrinfo, presence of the INET6 address/protocol family, and -dnl the existence of struct sockaddr_in6. If any of them is missing, -dnl IPv6 is disabled, and the code reverts to old-style gethostbyname. +dnl presence of the INET6 address/protocol family and the existence of +dnl struct sockaddr_in6. If any of them is missing, IPv6 is disabled, +dnl and the code reverts to old-style gethostbyname. dnl dnl If --enable-ipv6 is explicitly specified on the configure command dnl line, we check for IPv6 and abort if not found. If --disable-ipv6 @@ -338,13 +338,6 @@ AC_ARG_ENABLE(ipv6, ] ) -if test "X$ipv6" = "Xyes"; then - AC_CHECK_FUNCS(getaddrinfo, [], [ - AC_MSG_NOTICE([Disabling IPv6 support: your system does not support getaddrinfo(3)]) - ipv6=no - ]) -fi - if test "X$ipv6" = "Xyes"; then PROTO_INET6([], [ AC_MSG_NOTICE([Disabling IPv6 support: your system does not support the PF_INET6 protocol family])