File: ipv6.m4

package info (click to toggle)
nfs-utils 1%3A1.2.6-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,548 kB
  • sloc: ansic: 35,152; sh: 11,734; python: 1,001; makefile: 728
file content (20 lines) | stat: -rw-r--r-- 551 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
dnl Checks for IPv6 support
dnl
AC_DEFUN([AC_IPV6], [

  if test "$enable_ipv6" = yes; then

    dnl TI-RPC required for IPv6
    if test "$enable_tirpc" = no; then
      AC_MSG_ERROR(['--enable-ipv6' requires TIRPC support.])
    fi

    dnl IPv6-enabled networking functions required for IPv6
    AC_CHECK_FUNCS([getifaddrs getnameinfo], ,
                   [AC_MSG_ERROR([Missing library functions needed for IPv6.])])

    AC_CHECK_LIB([tirpc], [bindresvport_sa], [:],
		 [AC_MSG_ERROR([Missing library functions needed for IPv6.])])
  fi

])dnl