1 Index: bind-9.5.0-P1/configure
2 ===================================================================
3 --- bind-9.5.0-P1.orig/configure 2008-05-06 02:33:33.000000000 +0100
4 +++ bind-9.5.0-P1/configure 2008-07-12 08:23:25.000000000 +0100
7 test "$cross_compiling" = yes &&
8 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
9 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
10 - { (exit 1); exit 1; }; }
11 +echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} }
12 if test -r "$devrandom"; then
13 eval "$as_ac_File=yes"
15 @@ -25119,195 +25118,6 @@
16 # which provides some (all?) of the desired functions.
19 -{ echo "$as_me:$LINENO: checking for inet_ntop with IPv6 support" >&5
20 -echo $ECHO_N "checking for inet_ntop with IPv6 support... $ECHO_C" >&6; }
21 -if test "$cross_compiling" = yes; then
22 - { echo "$as_me:$LINENO: result: assuming inet_ntop needed" >&5
23 -echo "${ECHO_T}assuming inet_ntop needed" >&6; }
24 - ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_ntop.$O"
25 - ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_ntop.c"
26 - ISC_PLATFORM_NEEDNTOP="#define ISC_PLATFORM_NEEDNTOP 1"
28 - cat >conftest.$ac_ext <<_ACEOF
31 -cat confdefs.h >>conftest.$ac_ext
32 -cat >>conftest.$ac_ext <<_ACEOF
33 -/* end confdefs.h. */
35 -#include <sys/types.h>
36 -#include <sys/socket.h>
37 -#include <netinet/in.h>
38 -#include <arpa/inet.h>
40 -char a[16],b[64]; return(inet_ntop(AF_INET6, a, b, sizeof(b)) == (char*)0);}
42 -rm -f conftest$ac_exeext
43 -if { (ac_try="$ac_link"
45 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46 - *) ac_try_echo=$ac_try;;
48 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49 - (eval "$ac_link") 2>&5
51 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
52 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53 - { (case "(($ac_try" in
54 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
55 - *) ac_try_echo=$ac_try;;
57 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58 - (eval "$ac_try") 2>&5
60 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61 - (exit $ac_status); }; }; then
62 - { echo "$as_me:$LINENO: result: yes" >&5
63 -echo "${ECHO_T}yes" >&6; }
64 - ISC_PLATFORM_NEEDNTOP="#undef ISC_PLATFORM_NEEDNTOP"
66 - echo "$as_me: program exited with status $ac_status" >&5
67 -echo "$as_me: failed program was:" >&5
68 -sed 's/^/| /' conftest.$ac_ext >&5
71 -{ echo "$as_me:$LINENO: result: no" >&5
72 -echo "${ECHO_T}no" >&6; }
73 - ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_ntop.$O"
74 - ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_ntop.c"
75 - ISC_PLATFORM_NEEDNTOP="#define ISC_PLATFORM_NEEDNTOP 1"
77 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
83 -# On NetBSD 1.4.2 and maybe others, inet_pton() incorrectly accepts
84 -# addresses with less than four octets, like "1.2.3". Also leading
85 -# zeros should also be rejected.
87 -{ echo "$as_me:$LINENO: checking for working inet_pton with IPv6 support" >&5
88 -echo $ECHO_N "checking for working inet_pton with IPv6 support... $ECHO_C" >&6; }
89 -if test "$cross_compiling" = yes; then
90 - { echo "$as_me:$LINENO: result: assuming target platform has working inet_pton" >&5
91 -echo "${ECHO_T}assuming target platform has working inet_pton" >&6; }
92 - ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"
94 - cat >conftest.$ac_ext <<_ACEOF
97 -cat confdefs.h >>conftest.$ac_ext
98 -cat >>conftest.$ac_ext <<_ACEOF
99 -/* end confdefs.h. */
101 -#include <sys/types.h>
102 -#include <sys/socket.h>
103 -#include <netinet/in.h>
104 -#include <arpa/inet.h>
105 -main() { char a[16]; return (inet_pton(AF_INET, "1.2.3", a) == 1 ? 1 :
106 - inet_pton(AF_INET, "1.2.3.04", a) == 1 ? 1 :
107 - (inet_pton(AF_INET6, "::1.2.3.4", a) != 1)); }
109 -rm -f conftest$ac_exeext
110 -if { (ac_try="$ac_link"
112 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
113 - *) ac_try_echo=$ac_try;;
115 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
116 - (eval "$ac_link") 2>&5
118 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
119 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
120 - { (case "(($ac_try" in
121 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
122 - *) ac_try_echo=$ac_try;;
124 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
125 - (eval "$ac_try") 2>&5
127 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
128 - (exit $ac_status); }; }; then
129 - { echo "$as_me:$LINENO: result: yes" >&5
130 -echo "${ECHO_T}yes" >&6; }
131 - ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"
133 - echo "$as_me: program exited with status $ac_status" >&5
134 -echo "$as_me: failed program was:" >&5
135 -sed 's/^/| /' conftest.$ac_ext >&5
138 -{ echo "$as_me:$LINENO: result: no" >&5
139 -echo "${ECHO_T}no" >&6; }
140 - ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_pton.$O"
141 - ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_pton.c"
142 - ISC_PLATFORM_NEEDPTON="#define ISC_PLATFORM_NEEDPTON 1"
144 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
149 -{ echo "$as_me:$LINENO: checking for inet_aton" >&5
150 -echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6; }
151 -cat >conftest.$ac_ext <<_ACEOF
154 -cat confdefs.h >>conftest.$ac_ext
155 -cat >>conftest.$ac_ext <<_ACEOF
156 -/* end confdefs.h. */
158 -#include <sys/types.h>
159 -#include <netinet/in.h>
160 -#include <arpa/inet.h>
164 -struct in_addr in; inet_aton(0, &in); return (0);
169 -rm -f conftest.$ac_objext conftest$ac_exeext
170 -if { (ac_try="$ac_link"
172 - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
173 - *) ac_try_echo=$ac_try;;
175 -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
176 - (eval "$ac_link") 2>conftest.er1
178 - grep -v '^ *+' conftest.er1 >conftest.err
180 - cat conftest.err >&5
181 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
182 - (exit $ac_status); } && {
183 - test -z "$ac_c_werror_flag" ||
184 - test ! -s conftest.err
185 - } && test -s conftest$ac_exeext &&
186 - $as_test_x conftest$ac_exeext; then
187 - { echo "$as_me:$LINENO: result: yes" >&5
188 -echo "${ECHO_T}yes" >&6; }
189 - ISC_PLATFORM_NEEDATON="#undef ISC_PLATFORM_NEEDATON"
191 - echo "$as_me: failed program was:" >&5
192 -sed 's/^/| /' conftest.$ac_ext >&5
194 - { echo "$as_me:$LINENO: result: no" >&5
195 -echo "${ECHO_T}no" >&6; }
196 - ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_aton.$O"
197 - ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_aton.c"
198 - ISC_PLATFORM_NEEDATON="#define ISC_PLATFORM_NEEDATON 1"
201 -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
202 - conftest$ac_exeext conftest.$ac_ext
209 # Look for a 4.4BSD-style sa_len member in struct sockaddr.
211 Index: bind-9.5.0-P1/lib/bind/configure
212 ===================================================================
213 --- bind-9.5.0-P1.orig/lib/bind/configure 2008-04-29 00:51:46.000000000 +0100
214 +++ bind-9.5.0-P1/lib/bind/configure 2008-06-08 15:16:17.000000000 +0100
215 @@ -5292,6 +5292,7 @@
216 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
217 echo $ECHO_N "(cached) $ECHO_C" >&6
220 test "$cross_compiling" = yes &&
221 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
222 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}