]> git.pld-linux.org Git - packages/bind.git/blame - bind-noinet6.patch
- updated IDN patch, rel 2, STBR
[packages/bind.git] / bind-noinet6.patch
CommitLineData
5936fe97 1diff -ur bind-9.3.0rc3.orig/configure.in bind-9.3.0rc3/configure.in
2--- bind-9.3.0rc3.orig/configure.in 2004-07-23 06:40:00.000000000 +0200
3+++ bind-9.3.0rc3/configure.in 2004-09-02 21:50:22.318104392 +0200
4@@ -1111,45 +1111,6 @@
5 found_ipv6=no])
6
7 #
8-# See whether IPv6 support is provided via a Kame add-on.
9-# This is done before other IPv6 linking tests to LIBS is properly set.
10-#
11-AC_MSG_CHECKING(for Kame IPv6 support)
12-AC_ARG_WITH(kame,
13- [ --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]],
14- use_kame="$withval", use_kame="no")
15-
16-case "$use_kame" in
17- no)
18- ;;
19- yes)
20- kame_path=/usr/local/v6
21- ;;
22- *)
23- kame_path="$use_kame"
24- ;;
25-esac
26-
27-case "$use_kame" in
28- no)
29- AC_MSG_RESULT(no)
30- ;;
31- *)
32- if test -f $kame_path/lib/libinet6.a; then
33- AC_MSG_RESULT($kame_path/lib/libinet6.a)
34- LIBS="-L$kame_path/lib -linet6 $LIBS"
35- else
36- AC_MSG_ERROR([$kame_path/lib/libinet6.a not found.
37-
38-Please choose the proper path with the following command:
39-
40- configure --with-kame=PATH
41-])
42- fi
43- ;;
44-esac
45-
46-#
47 # Whether netinet6/in6.h is needed has to be defined in isc/platform.h.
48 # Including it on Kame-using platforms is very bad, though, because
49 # Kame uses #error against direct inclusion. So include it on only
50@@ -1577,32 +1538,7 @@
51
52 case $want_getifaddrs in
53 yes|glibc)
54-#
55-# Do we have getifaddrs() ?
56-#
57-case $host in
58-*-linux*)
59- # Some recent versions of glibc support getifaddrs() which does not
60- # provide AF_INET6 addresses while the function provided by the USAGI
61- # project handles the AF_INET6 case correctly. We need to avoid
62- # using the former but prefer the latter unless overridden by
63- # --enable-getifaddrs=glibc.
64- if test $use_getifaddrs = glibc
65- then
66- AC_CHECK_FUNC(getifaddrs, AC_DEFINE(HAVE_GETIFADDRS))
67- else
68- save_LIBS="$LIBS"
69- LIBS="-L/usr/local/v6/lib $LIBS"
70- AC_CHECK_LIB(inet6, getifaddrs,
71- LIBS="$LIBS -linet6"
72- AC_DEFINE(HAVE_GETIFADDRS),
73- LIBS=${save_LIBS})
74- fi
75- ;;
76-*)
77- AC_CHECK_FUNC(getifaddrs, AC_DEFINE(HAVE_GETIFADDRS))
78- ;;
79-esac
80+AC_CHECK_FUNC(getifaddrs, AC_DEFINE(HAVE_GETIFADDRS))
81 ;;
82 no)
83 ;;
84diff -ur bind-9.3.0rc3.orig/lib/bind/configure.in bind-9.3.0rc3/lib/bind/configure.in
85--- bind-9.3.0rc3.orig/lib/bind/configure.in 2004-08-10 04:19:54.000000000 +0200
86+++ bind-9.3.0rc3/lib/bind/configure.in 2004-09-02 21:48:06.216794936 +0200
87@@ -790,45 +790,6 @@
88 found_ipv6=no])
89
90 #
91-# See whether IPv6 support is provided via a Kame add-on.
92-# This is done before other IPv6 linking tests to LIBS is properly set.
93-#
94-AC_MSG_CHECKING(for Kame IPv6 support)
95-AC_ARG_WITH(kame,
96- [ --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]],
97- use_kame="$withval", use_kame="no")
98-
99-case "$use_kame" in
100- no)
101- ;;
102- yes)
103- kame_path=/usr/local/v6
104- ;;
105- *)
106- kame_path="$use_kame"
107- ;;
108-esac
109-
110-case "$use_kame" in
111- no)
112- AC_MSG_RESULT(no)
113- ;;
114- *)
115- if test -f $kame_path/lib/libinet6.a; then
116- AC_MSG_RESULT($kame_path/lib/libinet6.a)
117- LIBS="-L$kame_path/lib -linet6 $LIBS"
118- else
119- AC_MSG_ERROR([$kame_path/lib/libinet6.a not found.
120-
121-Please choose the proper path with the following command:
122-
123- configure --with-kame=PATH
124-])
125- fi
126- ;;
127-esac
128-
129-#
130 # Whether netinet6/in6.h is needed has to be defined in isc/platform.h.
131 # Including it on Kame-using platforms is very bad, though, because
132 # Kame uses #error against direct inclusion. So include it on only
This page took 0.065149 seconds and 4 git commands to generate.