]> git.pld-linux.org Git - packages/bind.git/blob - bind-noinet6.patch
- use root-hints from ftp, not the one bundled years ago.
[packages/bind.git] / bind-noinet6.patch
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 @@
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.
17 -       if test $want_getifaddrs = glibc
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
33 +
34 +AC_CHECK_FUNC(getifaddrs, AC_DEFINE(HAVE_GETIFADDRS))
35  ;;
36  no)
37  ;;
This page took 0.151975 seconds and 3 git commands to generate.