configure.ac: Don't check for AI_ADDRCONFIG
[nfs-utils.git] / aclocal / ipv6.m4
1 dnl Checks for IPv6 support
2 dnl
3 AC_DEFUN([AC_IPV6], [
4
5   if test "$enable_ipv6" = yes; then
6
7     dnl TI-RPC required for IPv6
8     if test "$enable_tirpc" = no; then
9       AC_MSG_ERROR(['--enable-ipv6' requires TIRPC support.])
10     fi
11
12     dnl IPv6-enabled networking functions required for IPv6
13     AC_CHECK_FUNCS([getifaddrs getnameinfo bindresvport_sa], ,
14                    [AC_MSG_ERROR([Missing library functions needed for IPv6.])])
15
16   fi
17
18 ])dnl