]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - aclocal/ipv6.m4
tcp_wrappers: Use getifaddrs(3) if it is available
[nfs-utils.git] / aclocal / ipv6.m4
index ba9dcc236b2f37e4205771eef1b861ae187f0727..5ee8fb6e85f1c54e39d2c1016b0b0abfb2aa7ea6 100644 (file)
@@ -11,12 +11,12 @@ AC_DEFUN([AC_IPV6], [
 
     dnl TI-RPC required for IPv6
     if test "$enable_tirpc" = no; then
-      AC_MSG_ERROR(['--enable-ipv6' requires '--enable-tirpc'.])
+      AC_MSG_ERROR(['--enable-ipv6' requires TIRPC support.])
     fi
 
     dnl IPv6-enabled networking functions required for IPv6
-    AC_CHECK_FUNCS([getnameinfo bindresvport_sa], ,
-                   [AC_MSG_ERROR([Missing functions needed for 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