From: Chuck Lever Date: Thu, 5 Jan 2012 20:54:00 +0000 (-0500) Subject: configure.ac: Don't check for AI_ADDRCONFIG X-Git-Tag: nfs-utils-1-2-6-rc5~3 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=fa14db707efd309cd567648a4a0ffdbf06f5e2c9;p=nfs-utils.git configure.ac: Don't check for AI_ADDRCONFIG Commit 1ea2c3be: "nfs-utils: Remove all uses of AI_ADDRCONFIG," (October 28, 2010) removed the last use of AI_ADDRCONFIG. Even so, ipv6.m4 uses this check to ensure that the local getaddrinfo(3) implementation is recent. Maybe we shouldn't bother. Signed-off-by: Chuck Lever Signed-off-by: Steve Dickson --- diff --git a/aclocal/ipv6.m4 b/aclocal/ipv6.m4 index 5ee8fb6..4e39fbe 100644 --- a/aclocal/ipv6.m4 +++ b/aclocal/ipv6.m4 @@ -2,11 +2,6 @@ dnl Checks for IPv6 support dnl AC_DEFUN([AC_IPV6], [ - AC_CHECK_DECL([AI_ADDRCONFIG], - [AC_DEFINE([HAVE_DECL_AI_ADDRCONFIG], 1, - [Define this to 1 if AI_ADDRCONFIG macro is defined])], , - [ #include ]) - if test "$enable_ipv6" = yes; then dnl TI-RPC required for IPv6 @@ -18,12 +13,6 @@ AC_DEFUN([AC_IPV6], [ AC_CHECK_FUNCS([getifaddrs getnameinfo bindresvport_sa], , [AC_MSG_ERROR([Missing library functions needed for IPv6.])]) - dnl Need to detect presence of IPv6 networking at run time via - dnl getaddrinfo(3); old versions of glibc do not support ADDRCONFIG - AC_CHECK_DECL([AI_ADDRCONFIG], , - [AC_MSG_ERROR([full getaddrinfo(3) implementation needed for IPv6 support])], - [ #include ]) - fi ])dnl