]> sjero.net Git - wget/blobdiff - aclocal.m4
[svn] Improve handling of numeric hosts when ENABLE_IPV6.
[wget] / aclocal.m4
index 9a2a0666621613f8dfb0f2add4816a9224727300..805c4bbb552032b276a9bafc0ccefe28c52d0629 100644 (file)
@@ -239,30 +239,6 @@ AC_DEFUN([PROTO_INET6],[
 ])
 
 
-AC_DEFUN([GETADDRINFO_AI_ADDRCONFIG],[
-  AC_CACHE_CHECK([if getaddrinfo supports AI_ADDRCONFIG],
-    [wget_cv_gai_ai_addrconfig],[
-    AC_TRY_CPP([
-#include <netdb.h>
-
-#ifndef AI_ADDRCONFIG
- #error Missing AI_ADDRCONFIG
-#endif
-    ],[
-      wget_cv_gai_ai_addrconfig=yes
-    ],[
-      wget_cv_gai_ai_addrconfig=no
-    ])
-  ])
-
-  if test "X$wget_cv_gai_ai_addrconfig" = "Xyes"; then :
-    $1
-  else :
-    $2
-  fi
-])
-
-
 AC_DEFUN([WGET_STRUCT_SOCKADDR_STORAGE],[
   AC_CHECK_TYPES([struct sockaddr_storage],[], [], [
 #include <sys/types.h>