]> git.pld-linux.org Git - packages/bind.git/blame - bind-noinet6.patch
- up to 9.4.2
[packages/bind.git] / bind-noinet6.patch
CommitLineData
51a1fdb5 1--- bind-9.3.1/configure.in~ 2005-03-15 08:50:04.942697232 +0100
2+++ bind-9.3.1/configure.in 2005-03-15 08:55:33.325775416 +0100
3@@ -1630,32 +1630,8 @@
5936fe97 4
5 case $want_getifaddrs in
6 yes|glibc)
7-#
8-# Do we have getifaddrs() ?
9-#
10-case $host in
11-*-linux*)
12- # Some recent versions of glibc support getifaddrs() which does not
13- # provide AF_INET6 addresses while the function provided by the USAGI
14- # project handles the AF_INET6 case correctly. We need to avoid
15- # using the former but prefer the latter unless overridden by
16- # --enable-getifaddrs=glibc.
51a1fdb5 17- if test $want_getifaddrs = glibc
5936fe97 18- then
19- AC_CHECK_FUNC(getifaddrs, AC_DEFINE(HAVE_GETIFADDRS))
20- else
21- save_LIBS="$LIBS"
22- LIBS="-L/usr/local/v6/lib $LIBS"
23- AC_CHECK_LIB(inet6, getifaddrs,
24- LIBS="$LIBS -linet6"
25- AC_DEFINE(HAVE_GETIFADDRS),
26- LIBS=${save_LIBS})
27- fi
28- ;;
29-*)
30- AC_CHECK_FUNC(getifaddrs, AC_DEFINE(HAVE_GETIFADDRS))
31- ;;
32-esac
51a1fdb5 33+
5936fe97 34+AC_CHECK_FUNC(getifaddrs, AC_DEFINE(HAVE_GETIFADDRS))
35 ;;
36 no)
37 ;;
This page took 0.055686 seconds and 4 git commands to generate.