update freeradius to v1.1.1.
[openwrt/svn-archive/archive.git] / openwrt / package / freeradius / patches / 03-freeradius-1.1.1-configure_cross.patch
1 diff -ruN freeradius-1.1.1-old/aclocal.m4 freeradius-1.1.1-new/aclocal.m4
2 --- freeradius-1.1.1-old/aclocal.m4 2006-02-06 13:52:10.000000000 +0100
3 +++ freeradius-1.1.1-new/aclocal.m4 2006-05-21 19:27:12.000000000 +0200
4 @@ -1931,7 +1931,23 @@
5 version_type=none
6 dynamic_linker="$host_os ld.so"
7 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8 -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9 +if test "$cross_compiling" = yes; then
10 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries: *=*//"`
11 + if echo "$sys_lib_search_path_spec" | egrep ';' >/dev/null ; then
12 + # if the path contains ";" then we assume it to be the separator
13 + # otherwise default to the standard path separator (i.e. ":") - it is
14 + # assumed that no part of a normal pathname contains ";" but that should
15 + # okay in the real world where ";" in dirpaths is itself problematic.
16 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
17 + else
18 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
19 + fi
20 +else
21 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
22 +fi
23 +if test "x$lt_sys_lib_search_path_spec" != "x"; then
24 + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_sys_lib_search_path_spec"
25 +fi
26
27 case $host_os in
28 aix3*)
29 diff -ruN freeradius-1.1.1-old/configure freeradius-1.1.1-new/configure
30 --- freeradius-1.1.1-old/configure 2006-02-06 13:55:53.000000000 +0100
31 +++ freeradius-1.1.1-new/configure 2006-05-21 19:31:52.000000000 +0200
32 @@ -4024,7 +4024,23 @@
33 version_type=none
34 dynamic_linker="$host_os ld.so"
35 sys_lib_dlsearch_path_spec="/lib /usr/lib"
36 -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
37 +if test "$cross_compiling" = yes; then
38 + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries: *=*//"`
39 + if echo "$sys_lib_search_path_spec" | egrep ';' >/dev/null ; then
40 + # if the path contains ";" then we assume it to be the separator
41 + # otherwise default to the standard path separator (i.e. ":") - it is
42 + # assumed that no part of a normal pathname contains ";" but that should
43 + # okay in the real world where ";" in dirpaths is itself problematic.
44 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
45 + else
46 + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
47 + fi
48 +else
49 + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
50 +fi
51 +if test "x$lt_sys_lib_search_path_spec" != "x"; then
52 + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_sys_lib_search_path_spec"
53 +fi
54
55 case $host_os in
56 aix3*)
57 @@ -4412,7 +4428,7 @@
58 ##
59 # Report the final consequences.
60 echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
61 -echo "configure:4416: checking if libtool supports shared libraries" >&5
62 +echo "configure:4432: checking if libtool supports shared libraries" >&5
63 echo "$ac_t""$can_build_shared" 1>&6
64 ##
65 ## END FIXME
66 @@ -4420,7 +4436,7 @@
67 ## FIXME: this should be a separate macro
68 ##
69 echo $ac_n "checking whether to build shared libraries""... $ac_c" 1>&6
70 -echo "configure:4424: checking whether to build shared libraries" >&5
71 +echo "configure:4440: checking whether to build shared libraries" >&5
72 test "$can_build_shared" = "no" && enable_shared=no
73
74 # On AIX, shared libraries and static libraries use the same namespace, and
75 @@ -4447,7 +4463,7 @@
76 ## FIXME: this should be a separate macro
77 ##
78 echo $ac_n "checking whether to build static libraries""... $ac_c" 1>&6
79 -echo "configure:4451: checking whether to build static libraries" >&5
80 +echo "configure:4467: checking whether to build static libraries" >&5
81 # Make sure either enable_shared or enable_static is yes.
82 test "$enable_shared" = yes || enable_static=yes
83 echo "$ac_t""$enable_static" 1>&6
84 @@ -4490,12 +4506,12 @@
85
86 *)
87 echo $ac_n "checking for shl_load""... $ac_c" 1>&6
88 -echo "configure:4494: checking for shl_load" >&5
89 +echo "configure:4510: checking for shl_load" >&5
90 if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
91 echo $ac_n "(cached) $ac_c" 1>&6
92 else
93 cat > conftest.$ac_ext <<EOF
94 -#line 4499 "configure"
95 +#line 4515 "configure"
96 #include "confdefs.h"
97 /* System header to define __stub macros and hopefully few prototypes,
98 which can conflict with char shl_load(); below. */
99 @@ -4518,7 +4534,7 @@
100
101 ; return 0; }
102 EOF
103 -if { (eval echo configure:4522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
104 +if { (eval echo configure:4538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
105 rm -rf conftest*
106 eval "ac_cv_func_shl_load=yes"
107 else
108 @@ -4536,7 +4552,7 @@
109 else
110 echo "$ac_t""no" 1>&6
111 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
112 -echo "configure:4540: checking for shl_load in -ldld" >&5
113 +echo "configure:4556: checking for shl_load in -ldld" >&5
114 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
115 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
116 echo $ac_n "(cached) $ac_c" 1>&6
117 @@ -4544,7 +4560,7 @@
118 ac_save_LIBS="$LIBS"
119 LIBS="-ldld $LIBS"
120 cat > conftest.$ac_ext <<EOF
121 -#line 4548 "configure"
122 +#line 4564 "configure"
123 #include "confdefs.h"
124 /* Override any gcc2 internal prototype to avoid an error. */
125 /* We use char because int might match the return type of a gcc2
126 @@ -4555,7 +4571,7 @@
127 shl_load()
128 ; return 0; }
129 EOF
130 -if { (eval echo configure:4559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
131 +if { (eval echo configure:4575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
132 rm -rf conftest*
133 eval "ac_cv_lib_$ac_lib_var=yes"
134 else
135 @@ -4574,12 +4590,12 @@
136 else
137 echo "$ac_t""no" 1>&6
138 echo $ac_n "checking for dlopen""... $ac_c" 1>&6
139 -echo "configure:4578: checking for dlopen" >&5
140 +echo "configure:4594: checking for dlopen" >&5
141 if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
142 echo $ac_n "(cached) $ac_c" 1>&6
143 else
144 cat > conftest.$ac_ext <<EOF
145 -#line 4583 "configure"
146 +#line 4599 "configure"
147 #include "confdefs.h"
148 /* System header to define __stub macros and hopefully few prototypes,
149 which can conflict with char dlopen(); below. */
150 @@ -4602,7 +4618,7 @@
151
152 ; return 0; }
153 EOF
154 -if { (eval echo configure:4606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
155 +if { (eval echo configure:4622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
156 rm -rf conftest*
157 eval "ac_cv_func_dlopen=yes"
158 else
159 @@ -4620,7 +4636,7 @@
160 else
161 echo "$ac_t""no" 1>&6
162 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
163 -echo "configure:4624: checking for dlopen in -ldl" >&5
164 +echo "configure:4640: checking for dlopen in -ldl" >&5
165 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
166 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
167 echo $ac_n "(cached) $ac_c" 1>&6
168 @@ -4628,7 +4644,7 @@
169 ac_save_LIBS="$LIBS"
170 LIBS="-ldl $LIBS"
171 cat > conftest.$ac_ext <<EOF
172 -#line 4632 "configure"
173 +#line 4648 "configure"
174 #include "confdefs.h"
175 /* Override any gcc2 internal prototype to avoid an error. */
176 /* We use char because int might match the return type of a gcc2
177 @@ -4639,7 +4655,7 @@
178 dlopen()
179 ; return 0; }
180 EOF
181 -if { (eval echo configure:4643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
182 +if { (eval echo configure:4659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
183 rm -rf conftest*
184 eval "ac_cv_lib_$ac_lib_var=yes"
185 else
186 @@ -4658,7 +4674,7 @@
187 else
188 echo "$ac_t""no" 1>&6
189 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
190 -echo "configure:4662: checking for dlopen in -lsvld" >&5
191 +echo "configure:4678: checking for dlopen in -lsvld" >&5
192 ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
193 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
194 echo $ac_n "(cached) $ac_c" 1>&6
195 @@ -4666,7 +4682,7 @@
196 ac_save_LIBS="$LIBS"
197 LIBS="-lsvld $LIBS"
198 cat > conftest.$ac_ext <<EOF
199 -#line 4670 "configure"
200 +#line 4686 "configure"
201 #include "confdefs.h"
202 /* Override any gcc2 internal prototype to avoid an error. */
203 /* We use char because int might match the return type of a gcc2
204 @@ -4677,7 +4693,7 @@
205 dlopen()
206 ; return 0; }
207 EOF
208 -if { (eval echo configure:4681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
209 +if { (eval echo configure:4697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
210 rm -rf conftest*
211 eval "ac_cv_lib_$ac_lib_var=yes"
212 else
213 @@ -4696,7 +4712,7 @@
214 else
215 echo "$ac_t""no" 1>&6
216 echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
217 -echo "configure:4700: checking for dld_link in -ldld" >&5
218 +echo "configure:4716: checking for dld_link in -ldld" >&5
219 ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
220 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
221 echo $ac_n "(cached) $ac_c" 1>&6
222 @@ -4704,7 +4720,7 @@
223 ac_save_LIBS="$LIBS"
224 LIBS="-ldld $LIBS"
225 cat > conftest.$ac_ext <<EOF
226 -#line 4708 "configure"
227 +#line 4724 "configure"
228 #include "confdefs.h"
229 /* Override any gcc2 internal prototype to avoid an error. */
230 /* We use char because int might match the return type of a gcc2
231 @@ -4715,7 +4731,7 @@
232 dld_link()
233 ; return 0; }
234 EOF
235 -if { (eval echo configure:4719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
236 +if { (eval echo configure:4735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
237 rm -rf conftest*
238 eval "ac_cv_lib_$ac_lib_var=yes"
239 else
240 @@ -4771,7 +4787,7 @@
241 LIBS="$lt_cv_dlopen_libs $LIBS"
242
243 echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6
244 -echo "configure:4775: checking whether a program can dlopen itself" >&5
245 +echo "configure:4791: checking whether a program can dlopen itself" >&5
246 if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
247 echo $ac_n "(cached) $ac_c" 1>&6
248 else
249 @@ -4781,7 +4797,7 @@
250 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
251 lt_status=$lt_dlunknown
252 cat > conftest.$ac_ext <<EOF
253 -#line 4785 "configure"
254 +#line 4801 "configure"
255 #include "confdefs.h"
256
257 #if HAVE_DLFCN_H
258 @@ -4842,7 +4858,7 @@
259 exit (status);
260 }
261 EOF
262 - if { (eval echo configure:4846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
263 + if { (eval echo configure:4862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
264 (./conftest; exit; ) 2>/dev/null
265 lt_status=$?
266 case x$lt_status in
267 @@ -4865,7 +4881,7 @@
268 if test "x$lt_cv_dlopen_self" = xyes; then
269 LDFLAGS="$LDFLAGS $link_static_flag"
270 echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6
271 -echo "configure:4869: checking whether a statically linked program can dlopen itself" >&5
272 +echo "configure:4885: checking whether a statically linked program can dlopen itself" >&5
273 if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
274 echo $ac_n "(cached) $ac_c" 1>&6
275 else
276 @@ -4875,7 +4891,7 @@
277 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
278 lt_status=$lt_dlunknown
279 cat > conftest.$ac_ext <<EOF
280 -#line 4879 "configure"
281 +#line 4895 "configure"
282 #include "confdefs.h"
283
284 #if HAVE_DLFCN_H
285 @@ -4936,7 +4952,7 @@
286 exit (status);
287 }
288 EOF
289 - if { (eval echo configure:4940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
290 + if { (eval echo configure:4956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
291 (./conftest; exit; ) 2>/dev/null
292 lt_status=$?
293 case x$lt_status in
294 @@ -4987,14 +5003,14 @@
295 # systems, -lgcc has to come before -lc. If gcc already passes -lc
296 # to ld, don't add -lc before -lgcc.
297 echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6
298 -echo "configure:4991: checking whether -lc should be explicitly linked in" >&5
299 +echo "configure:5007: checking whether -lc should be explicitly linked in" >&5
300 if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then
301 echo $ac_n "(cached) $ac_c" 1>&6
302 else
303 $rm conftest*
304 echo 'static int dummy;' > conftest.$ac_ext
305
306 - if { (eval echo configure:4998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
307 + if { (eval echo configure:5014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
308 soname=conftest
309 lib=conftest
310 libobjs=conftest.$ac_objext
311 @@ -5007,7 +5023,7 @@
312 libname=conftest
313 save_allow_undefined_flag=$allow_undefined_flag
314 allow_undefined_flag=
315 - if { (eval echo configure:5011: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
316 + if { (eval echo configure:5027: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
317 then
318 lt_cv_archive_cmds_need_lc=no
319 else
320 @@ -5590,7 +5606,7 @@
321 # Extract the first word of "libtool", so it can be a program name with args.
322 set dummy libtool; ac_word=$2
323 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
324 -echo "configure:5594: checking for $ac_word" >&5
325 +echo "configure:5610: checking for $ac_word" >&5
326 if eval "test \"`echo '$''{'ac_cv_path_LIBTOOL'+set}'`\" = set"; then
327 echo $ac_n "(cached) $ac_c" 1>&6
328 else
329 @@ -5650,7 +5666,7 @@
330
331 logdir='${localstatedir}/log/radius'
332 echo $ac_n "checking logdir""... $ac_c" 1>&6
333 -echo "configure:5654: checking logdir" >&5
334 +echo "configure:5670: checking logdir" >&5
335 # Check whether --with-logdir or --without-logdir was given.
336 if test "${with_logdir+set}" = set; then
337 withval="$with_logdir"
338 @@ -5672,7 +5688,7 @@
339
340 radacctdir='${logdir}/radacct'
341 echo $ac_n "checking radacctdir""... $ac_c" 1>&6
342 -echo "configure:5676: checking radacctdir" >&5
343 +echo "configure:5692: checking radacctdir" >&5
344 # Check whether --with-radacctdir or --without-radacctdir was given.
345 if test "${with_radacctdir+set}" = set; then
346 withval="$with_radacctdir"
347 @@ -5694,7 +5710,7 @@
348
349 raddbdir='${sysconfdir}/raddb'
350 echo $ac_n "checking raddbdir""... $ac_c" 1>&6
351 -echo "configure:5698: checking raddbdir" >&5
352 +echo "configure:5714: checking raddbdir" >&5
353 # Check whether --with-raddbdir or --without-raddbdir was given.
354 if test "${with_raddbdir+set}" = set; then
355 withval="$with_raddbdir"
356 @@ -5905,7 +5921,7 @@
357 # Extract the first word of "perl", so it can be a program name with args.
358 set dummy perl; ac_word=$2
359 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
360 -echo "configure:5909: checking for $ac_word" >&5
361 +echo "configure:5925: checking for $ac_word" >&5
362 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
363 echo $ac_n "(cached) $ac_c" 1>&6
364 else
365 @@ -5944,7 +5960,7 @@
366 # Extract the first word of "snmpget", so it can be a program name with args.
367 set dummy snmpget; ac_word=$2
368 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
369 -echo "configure:5948: checking for $ac_word" >&5
370 +echo "configure:5964: checking for $ac_word" >&5
371 if eval "test \"`echo '$''{'ac_cv_path_SNMPGET'+set}'`\" = set"; then
372 echo $ac_n "(cached) $ac_c" 1>&6
373 else
374 @@ -5983,7 +5999,7 @@
375 # Extract the first word of "snmpwalk", so it can be a program name with args.
376 set dummy snmpwalk; ac_word=$2
377 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
378 -echo "configure:5987: checking for $ac_word" >&5
379 +echo "configure:6003: checking for $ac_word" >&5
380 if eval "test \"`echo '$''{'ac_cv_path_SNMPWALK'+set}'`\" = set"; then
381 echo $ac_n "(cached) $ac_c" 1>&6
382 else
383 @@ -6022,7 +6038,7 @@
384 # Extract the first word of "rusers", so it can be a program name with args.
385 set dummy rusers; ac_word=$2
386 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
387 -echo "configure:6026: checking for $ac_word" >&5
388 +echo "configure:6042: checking for $ac_word" >&5
389 if eval "test \"`echo '$''{'ac_cv_path_RUSERS'+set}'`\" = set"; then
390 echo $ac_n "(cached) $ac_c" 1>&6
391 else
392 @@ -6058,7 +6074,7 @@
393
394 missing_dir=`cd $ac_aux_dir && pwd`
395 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
396 -echo "configure:6062: checking for working aclocal" >&5
397 +echo "configure:6078: checking for working aclocal" >&5
398 # Run test in a subshell; some versions of sh will print an error if
399 # an executable is not found, even if stderr is redirected.
400 # Redirect stdin to placate older versions of autoconf. Sigh.
401 @@ -6071,7 +6087,7 @@
402 fi
403
404 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
405 -echo "configure:6075: checking for working autoconf" >&5
406 +echo "configure:6091: checking for working autoconf" >&5
407 # Run test in a subshell; some versions of sh will print an error if
408 # an executable is not found, even if stderr is redirected.
409 # Redirect stdin to placate older versions of autoconf. Sigh.
410 @@ -6084,7 +6100,7 @@
411 fi
412
413 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
414 -echo "configure:6088: checking for working autoheader" >&5
415 +echo "configure:6104: checking for working autoheader" >&5
416 # Run test in a subshell; some versions of sh will print an error if
417 # an executable is not found, even if stderr is redirected.
418 # Redirect stdin to placate older versions of autoconf. Sigh.
419 @@ -6100,7 +6116,7 @@
420 # Extract the first word of "locate", so it can be a program name with args.
421 set dummy locate; ac_word=$2
422 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
423 -echo "configure:6104: checking for $ac_word" >&5
424 +echo "configure:6120: checking for $ac_word" >&5
425 if eval "test \"`echo '$''{'ac_cv_path_LOCATE'+set}'`\" = set"; then
426 echo $ac_n "(cached) $ac_c" 1>&6
427 else
428 @@ -6135,7 +6151,7 @@
429 # Extract the first word of "dirname", so it can be a program name with args.
430 set dummy dirname; ac_word=$2
431 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
432 -echo "configure:6139: checking for $ac_word" >&5
433 +echo "configure:6155: checking for $ac_word" >&5
434 if eval "test \"`echo '$''{'ac_cv_path_DIRNAME'+set}'`\" = set"; then
435 echo $ac_n "(cached) $ac_c" 1>&6
436 else
437 @@ -6170,7 +6186,7 @@
438 # Extract the first word of "grep", so it can be a program name with args.
439 set dummy grep; ac_word=$2
440 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
441 -echo "configure:6174: checking for $ac_word" >&5
442 +echo "configure:6190: checking for $ac_word" >&5
443 if eval "test \"`echo '$''{'ac_cv_path_GREP'+set}'`\" = set"; then
444 echo $ac_n "(cached) $ac_c" 1>&6
445 else
446 @@ -6214,17 +6230,17 @@
447 do
448 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
449 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
450 -echo "configure:6218: checking for $ac_hdr" >&5
451 +echo "configure:6234: checking for $ac_hdr" >&5
452 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
453 echo $ac_n "(cached) $ac_c" 1>&6
454 else
455 cat > conftest.$ac_ext <<EOF
456 -#line 6223 "configure"
457 +#line 6239 "configure"
458 #include "confdefs.h"
459 #include <$ac_hdr>
460 EOF
461 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
462 -{ (eval echo configure:6228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
463 +{ (eval echo configure:6244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
464 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
465 if test -z "$ac_err"; then
466 rm -rf conftest*
467 @@ -6253,7 +6269,7 @@
468
469
470 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
471 -echo "configure:6257: checking for pthread_create in -lpthread" >&5
472 +echo "configure:6273: checking for pthread_create in -lpthread" >&5
473 ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
474 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
475 echo $ac_n "(cached) $ac_c" 1>&6
476 @@ -6261,7 +6277,7 @@
477 ac_save_LIBS="$LIBS"
478 LIBS="-lpthread $LIBS"
479 cat > conftest.$ac_ext <<EOF
480 -#line 6265 "configure"
481 +#line 6281 "configure"
482 #include "confdefs.h"
483 /* Override any gcc2 internal prototype to avoid an error. */
484 /* We use char because int might match the return type of a gcc2
485 @@ -6272,7 +6288,7 @@
486 pthread_create()
487 ; return 0; }
488 EOF
489 -if { (eval echo configure:6276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
490 +if { (eval echo configure:6292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
491 rm -rf conftest*
492 eval "ac_cv_lib_$ac_lib_var=yes"
493 else
494 @@ -6292,7 +6308,7 @@
495 else
496 echo "$ac_t""no" 1>&6
497 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
498 -echo "configure:6296: checking for pthread_create in -lc_r" >&5
499 +echo "configure:6312: checking for pthread_create in -lc_r" >&5
500 ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
501 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
502 echo $ac_n "(cached) $ac_c" 1>&6
503 @@ -6300,7 +6316,7 @@
504 ac_save_LIBS="$LIBS"
505 LIBS="-lc_r $LIBS"
506 cat > conftest.$ac_ext <<EOF
507 -#line 6304 "configure"
508 +#line 6320 "configure"
509 #include "confdefs.h"
510 /* Override any gcc2 internal prototype to avoid an error. */
511 /* We use char because int might match the return type of a gcc2
512 @@ -6311,7 +6327,7 @@
513 pthread_create()
514 ; return 0; }
515 EOF
516 -if { (eval echo configure:6315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
517 +if { (eval echo configure:6331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
518 rm -rf conftest*
519 eval "ac_cv_lib_$ac_lib_var=yes"
520 else
521 @@ -6346,14 +6362,14 @@
522
523
524 echo $ac_n "checking for library containing sem_init""... $ac_c" 1>&6
525 -echo "configure:6350: checking for library containing sem_init" >&5
526 +echo "configure:6366: checking for library containing sem_init" >&5
527 if eval "test \"`echo '$''{'ac_cv_search_sem_init'+set}'`\" = set"; then
528 echo $ac_n "(cached) $ac_c" 1>&6
529 else
530 ac_func_search_save_LIBS="$LIBS"
531 ac_cv_search_sem_init="no"
532 cat > conftest.$ac_ext <<EOF
533 -#line 6357 "configure"
534 +#line 6373 "configure"
535 #include "confdefs.h"
536 /* Override any gcc2 internal prototype to avoid an error. */
537 /* We use char because int might match the return type of a gcc2
538 @@ -6364,7 +6380,7 @@
539 sem_init()
540 ; return 0; }
541 EOF
542 -if { (eval echo configure:6368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
543 +if { (eval echo configure:6384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
544 rm -rf conftest*
545 ac_cv_search_sem_init="none required"
546 else
547 @@ -6375,7 +6391,7 @@
548 test "$ac_cv_search_sem_init" = "no" && for i in pthread sem posix4 rt; do
549 LIBS="-l$i $ac_func_search_save_LIBS"
550 cat > conftest.$ac_ext <<EOF
551 -#line 6379 "configure"
552 +#line 6395 "configure"
553 #include "confdefs.h"
554 /* Override any gcc2 internal prototype to avoid an error. */
555 /* We use char because int might match the return type of a gcc2
556 @@ -6386,7 +6402,7 @@
557 sem_init()
558 ; return 0; }
559 EOF
560 -if { (eval echo configure:6390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
561 +if { (eval echo configure:6406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
562 rm -rf conftest*
563 ac_cv_search_sem_init="-l$i"
564 break
565 @@ -6410,7 +6426,7 @@
566 fi
567
568 echo $ac_n "checking for getsockname in -lsocket""... $ac_c" 1>&6
569 -echo "configure:6414: checking for getsockname in -lsocket" >&5
570 +echo "configure:6430: checking for getsockname in -lsocket" >&5
571 ac_lib_var=`echo socket'_'getsockname | sed 'y%./+-%__p_%'`
572 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
573 echo $ac_n "(cached) $ac_c" 1>&6
574 @@ -6418,7 +6434,7 @@
575 ac_save_LIBS="$LIBS"
576 LIBS="-lsocket $LIBS"
577 cat > conftest.$ac_ext <<EOF
578 -#line 6422 "configure"
579 +#line 6438 "configure"
580 #include "confdefs.h"
581 /* Override any gcc2 internal prototype to avoid an error. */
582 /* We use char because int might match the return type of a gcc2
583 @@ -6429,7 +6445,7 @@
584 getsockname()
585 ; return 0; }
586 EOF
587 -if { (eval echo configure:6433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
588 +if { (eval echo configure:6449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
589 rm -rf conftest*
590 eval "ac_cv_lib_$ac_lib_var=yes"
591 else
592 @@ -6458,7 +6474,7 @@
593
594
595 echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
596 -echo "configure:6462: checking for inet_aton in -lresolv" >&5
597 +echo "configure:6478: checking for inet_aton in -lresolv" >&5
598 ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
599 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
600 echo $ac_n "(cached) $ac_c" 1>&6
601 @@ -6466,7 +6482,7 @@
602 ac_save_LIBS="$LIBS"
603 LIBS="-lresolv $LIBS"
604 cat > conftest.$ac_ext <<EOF
605 -#line 6470 "configure"
606 +#line 6486 "configure"
607 #include "confdefs.h"
608 /* Override any gcc2 internal prototype to avoid an error. */
609 /* We use char because int might match the return type of a gcc2
610 @@ -6477,7 +6493,7 @@
611 inet_aton()
612 ; return 0; }
613 EOF
614 -if { (eval echo configure:6481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
615 +if { (eval echo configure:6497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
616 rm -rf conftest*
617 eval "ac_cv_lib_$ac_lib_var=yes"
618 else
619 @@ -6506,7 +6522,7 @@
620
621
622 echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
623 -echo "configure:6510: checking for inet_ntoa in -lnsl" >&5
624 +echo "configure:6526: checking for inet_ntoa in -lnsl" >&5
625 ac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
626 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
627 echo $ac_n "(cached) $ac_c" 1>&6
628 @@ -6514,7 +6530,7 @@
629 ac_save_LIBS="$LIBS"
630 LIBS="-lnsl $LIBS"
631 cat > conftest.$ac_ext <<EOF
632 -#line 6518 "configure"
633 +#line 6534 "configure"
634 #include "confdefs.h"
635 /* Override any gcc2 internal prototype to avoid an error. */
636 /* We use char because int might match the return type of a gcc2
637 @@ -6525,7 +6541,7 @@
638 inet_ntoa()
639 ; return 0; }
640 EOF
641 -if { (eval echo configure:6529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
642 +if { (eval echo configure:6545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
643 rm -rf conftest*
644 eval "ac_cv_lib_$ac_lib_var=yes"
645 else
646 @@ -6559,7 +6575,7 @@
647 LIBS="-L$OPENSSL_LIB_DIR $LIBS"
648 fi
649 echo $ac_n "checking for DH_new in -lcrypto""... $ac_c" 1>&6
650 -echo "configure:6563: checking for DH_new in -lcrypto" >&5
651 +echo "configure:6579: checking for DH_new in -lcrypto" >&5
652 ac_lib_var=`echo crypto'_'DH_new | sed 'y%./+-%__p_%'`
653 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
654 echo $ac_n "(cached) $ac_c" 1>&6
655 @@ -6567,7 +6583,7 @@
656 ac_save_LIBS="$LIBS"
657 LIBS="-lcrypto $LIBS"
658 cat > conftest.$ac_ext <<EOF
659 -#line 6571 "configure"
660 +#line 6587 "configure"
661 #include "confdefs.h"
662 /* Override any gcc2 internal prototype to avoid an error. */
663 /* We use char because int might match the return type of a gcc2
664 @@ -6578,7 +6594,7 @@
665 DH_new()
666 ; return 0; }
667 EOF
668 -if { (eval echo configure:6582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
669 +if { (eval echo configure:6598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
670 rm -rf conftest*
671 eval "ac_cv_lib_$ac_lib_var=yes"
672 else
673 @@ -6599,7 +6615,7 @@
674 EOF
675
676 echo $ac_n "checking for SSL_new in -lssl""... $ac_c" 1>&6
677 -echo "configure:6603: checking for SSL_new in -lssl" >&5
678 +echo "configure:6619: checking for SSL_new in -lssl" >&5
679 ac_lib_var=`echo ssl'_'SSL_new | sed 'y%./+-%__p_%'`
680 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
681 echo $ac_n "(cached) $ac_c" 1>&6
682 @@ -6607,7 +6623,7 @@
683 ac_save_LIBS="$LIBS"
684 LIBS="-lssl $LIBS"
685 cat > conftest.$ac_ext <<EOF
686 -#line 6611 "configure"
687 +#line 6627 "configure"
688 #include "confdefs.h"
689 /* Override any gcc2 internal prototype to avoid an error. */
690 /* We use char because int might match the return type of a gcc2
691 @@ -6618,7 +6634,7 @@
692 SSL_new()
693 ; return 0; }
694 EOF
695 -if { (eval echo configure:6622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
696 +if { (eval echo configure:6638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
697 rm -rf conftest*
698 eval "ac_cv_lib_$ac_lib_var=yes"
699 else
700 @@ -6669,12 +6685,12 @@
701 do
702 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
703 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
704 -echo "configure:6673: checking for $ac_hdr that defines DIR" >&5
705 +echo "configure:6689: checking for $ac_hdr that defines DIR" >&5
706 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
707 echo $ac_n "(cached) $ac_c" 1>&6
708 else
709 cat > conftest.$ac_ext <<EOF
710 -#line 6678 "configure"
711 +#line 6694 "configure"
712 #include "confdefs.h"
713 #include <sys/types.h>
714 #include <$ac_hdr>
715 @@ -6682,7 +6698,7 @@
716 DIR *dirp = 0;
717 ; return 0; }
718 EOF
719 -if { (eval echo configure:6686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
720 +if { (eval echo configure:6702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
721 rm -rf conftest*
722 eval "ac_cv_header_dirent_$ac_safe=yes"
723 else
724 @@ -6707,7 +6723,7 @@
725 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
726 if test $ac_header_dirent = dirent.h; then
727 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
728 -echo "configure:6711: checking for opendir in -ldir" >&5
729 +echo "configure:6727: checking for opendir in -ldir" >&5
730 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
732 echo $ac_n "(cached) $ac_c" 1>&6
733 @@ -6715,7 +6731,7 @@
734 ac_save_LIBS="$LIBS"
735 LIBS="-ldir $LIBS"
736 cat > conftest.$ac_ext <<EOF
737 -#line 6719 "configure"
738 +#line 6735 "configure"
739 #include "confdefs.h"
740 /* Override any gcc2 internal prototype to avoid an error. */
741 /* We use char because int might match the return type of a gcc2
742 @@ -6726,7 +6742,7 @@
743 opendir()
744 ; return 0; }
745 EOF
746 -if { (eval echo configure:6730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
747 +if { (eval echo configure:6746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
748 rm -rf conftest*
749 eval "ac_cv_lib_$ac_lib_var=yes"
750 else
751 @@ -6748,7 +6764,7 @@
752
753 else
754 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
755 -echo "configure:6752: checking for opendir in -lx" >&5
756 +echo "configure:6768: checking for opendir in -lx" >&5
757 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
758 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
759 echo $ac_n "(cached) $ac_c" 1>&6
760 @@ -6756,7 +6772,7 @@
761 ac_save_LIBS="$LIBS"
762 LIBS="-lx $LIBS"
763 cat > conftest.$ac_ext <<EOF
764 -#line 6760 "configure"
765 +#line 6776 "configure"
766 #include "confdefs.h"
767 /* Override any gcc2 internal prototype to avoid an error. */
768 /* We use char because int might match the return type of a gcc2
769 @@ -6767,7 +6783,7 @@
770 opendir()
771 ; return 0; }
772 EOF
773 -if { (eval echo configure:6771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
774 +if { (eval echo configure:6787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
775 rm -rf conftest*
776 eval "ac_cv_lib_$ac_lib_var=yes"
777 else
778 @@ -6790,12 +6806,12 @@
779 fi
780
781 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
782 -echo "configure:6794: checking for ANSI C header files" >&5
783 +echo "configure:6810: checking for ANSI C header files" >&5
784 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
785 echo $ac_n "(cached) $ac_c" 1>&6
786 else
787 cat > conftest.$ac_ext <<EOF
788 -#line 6799 "configure"
789 +#line 6815 "configure"
790 #include "confdefs.h"
791 #include <stdlib.h>
792 #include <stdarg.h>
793 @@ -6803,7 +6819,7 @@
794 #include <float.h>
795 EOF
796 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
797 -{ (eval echo configure:6807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
798 +{ (eval echo configure:6823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
799 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
800 if test -z "$ac_err"; then
801 rm -rf conftest*
802 @@ -6820,7 +6836,7 @@
803 if test $ac_cv_header_stdc = yes; then
804 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
805 cat > conftest.$ac_ext <<EOF
806 -#line 6824 "configure"
807 +#line 6840 "configure"
808 #include "confdefs.h"
809 #include <string.h>
810 EOF
811 @@ -6838,7 +6854,7 @@
812 if test $ac_cv_header_stdc = yes; then
813 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
814 cat > conftest.$ac_ext <<EOF
815 -#line 6842 "configure"
816 +#line 6858 "configure"
817 #include "confdefs.h"
818 #include <stdlib.h>
819 EOF
820 @@ -6859,7 +6875,7 @@
821 :
822 else
823 cat > conftest.$ac_ext <<EOF
824 -#line 6863 "configure"
825 +#line 6879 "configure"
826 #include "confdefs.h"
827 #include <ctype.h>
828 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
829 @@ -6870,7 +6886,7 @@
830 exit (0); }
831
832 EOF
833 -if { (eval echo configure:6874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
834 +if { (eval echo configure:6890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
835 then
836 :
837 else
838 @@ -6894,12 +6910,12 @@
839 fi
840
841 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
842 -echo "configure:6898: checking whether time.h and sys/time.h may both be included" >&5
843 +echo "configure:6914: checking whether time.h and sys/time.h may both be included" >&5
844 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
845 echo $ac_n "(cached) $ac_c" 1>&6
846 else
847 cat > conftest.$ac_ext <<EOF
848 -#line 6903 "configure"
849 +#line 6919 "configure"
850 #include "confdefs.h"
851 #include <sys/types.h>
852 #include <sys/time.h>
853 @@ -6908,7 +6924,7 @@
854 struct tm *tp;
855 ; return 0; }
856 EOF
857 -if { (eval echo configure:6912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
858 +if { (eval echo configure:6928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
859 rm -rf conftest*
860 ac_cv_header_time=yes
861 else
862 @@ -6929,12 +6945,12 @@
863 fi
864
865 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
866 -echo "configure:6933: checking for sys/wait.h that is POSIX.1 compatible" >&5
867 +echo "configure:6949: checking for sys/wait.h that is POSIX.1 compatible" >&5
868 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
869 echo $ac_n "(cached) $ac_c" 1>&6
870 else
871 cat > conftest.$ac_ext <<EOF
872 -#line 6938 "configure"
873 +#line 6954 "configure"
874 #include "confdefs.h"
875 #include <sys/types.h>
876 #include <sys/wait.h>
877 @@ -6950,7 +6966,7 @@
878 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
879 ; return 0; }
880 EOF
881 -if { (eval echo configure:6954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
882 +if { (eval echo configure:6970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
883 rm -rf conftest*
884 ac_cv_header_sys_wait_h=yes
885 else
886 @@ -7005,17 +7021,17 @@
887 do
888 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
889 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
890 -echo "configure:7009: checking for $ac_hdr" >&5
891 +echo "configure:7025: checking for $ac_hdr" >&5
892 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
893 echo $ac_n "(cached) $ac_c" 1>&6
894 else
895 cat > conftest.$ac_ext <<EOF
896 -#line 7014 "configure"
897 +#line 7030 "configure"
898 #include "confdefs.h"
899 #include <$ac_hdr>
900 EOF
901 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
902 -{ (eval echo configure:7019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
903 +{ (eval echo configure:7035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
904 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
905 if test -z "$ac_err"; then
906 rm -rf conftest*
907 @@ -7045,17 +7061,17 @@
908 REGEX=no
909 ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
910 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
911 -echo "configure:7049: checking for regex.h" >&5
912 +echo "configure:7065: checking for regex.h" >&5
913 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
914 echo $ac_n "(cached) $ac_c" 1>&6
915 else
916 cat > conftest.$ac_ext <<EOF
917 -#line 7054 "configure"
918 +#line 7070 "configure"
919 #include "confdefs.h"
920 #include <regex.h>
921 EOF
922 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
923 -{ (eval echo configure:7059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
924 +{ (eval echo configure:7075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
925 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
926 if test -z "$ac_err"; then
927 rm -rf conftest*
928 @@ -7083,7 +7099,7 @@
929 REGEX_EXTENDED=no
930 REGEX=yes
931 cat > conftest.$ac_ext <<EOF
932 -#line 7087 "configure"
933 +#line 7103 "configure"
934 #include "confdefs.h"
935 #include <regex.h>
936 #ifdef REG_EXTENDED
937 @@ -7138,17 +7154,17 @@
938 do
939 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
940 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
941 -echo "configure:7142: checking for $ac_hdr" >&5
942 +echo "configure:7158: checking for $ac_hdr" >&5
943 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
944 echo $ac_n "(cached) $ac_c" 1>&6
945 else
946 cat > conftest.$ac_ext <<EOF
947 -#line 7147 "configure"
948 +#line 7163 "configure"
949 #include "confdefs.h"
950 #include <$ac_hdr>
951 EOF
952 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
953 -{ (eval echo configure:7152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
954 +{ (eval echo configure:7168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
955 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
956 if test -z "$ac_err"; then
957 rm -rf conftest*
958 @@ -7178,9 +7194,9 @@
959
960 if test "x$OPENSSL_LIBS" != "x"; then
961 echo $ac_n "checking for OpenSSL version >= 0.9.7""... $ac_c" 1>&6
962 -echo "configure:7182: checking for OpenSSL version >= 0.9.7" >&5
963 +echo "configure:7198: checking for OpenSSL version >= 0.9.7" >&5
964 cat > conftest.$ac_ext <<EOF
965 -#line 7184 "configure"
966 +#line 7200 "configure"
967 #include "confdefs.h"
968 #include <openssl/crypto.h>
969 #if (OPENSSL_VERSION_NUMBER >= 0x00907000L)
970 @@ -7215,12 +7231,12 @@
971
972
973 echo $ac_n "checking for off_t""... $ac_c" 1>&6
974 -echo "configure:7219: checking for off_t" >&5
975 +echo "configure:7235: checking for off_t" >&5
976 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
977 echo $ac_n "(cached) $ac_c" 1>&6
978 else
979 cat > conftest.$ac_ext <<EOF
980 -#line 7224 "configure"
981 +#line 7240 "configure"
982 #include "confdefs.h"
983 #include <sys/types.h>
984 #if STDC_HEADERS
985 @@ -7248,12 +7264,12 @@
986 fi
987
988 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
989 -echo "configure:7252: checking for pid_t" >&5
990 +echo "configure:7268: checking for pid_t" >&5
991 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
992 echo $ac_n "(cached) $ac_c" 1>&6
993 else
994 cat > conftest.$ac_ext <<EOF
995 -#line 7257 "configure"
996 +#line 7273 "configure"
997 #include "confdefs.h"
998 #include <sys/types.h>
999 #if STDC_HEADERS
1000 @@ -7281,12 +7297,12 @@
1001 fi
1002
1003 echo $ac_n "checking for size_t""... $ac_c" 1>&6
1004 -echo "configure:7285: checking for size_t" >&5
1005 +echo "configure:7301: checking for size_t" >&5
1006 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
1007 echo $ac_n "(cached) $ac_c" 1>&6
1008 else
1009 cat > conftest.$ac_ext <<EOF
1010 -#line 7290 "configure"
1011 +#line 7306 "configure"
1012 #include "confdefs.h"
1013 #include <sys/types.h>
1014 #if STDC_HEADERS
1015 @@ -7314,12 +7330,12 @@
1016 fi
1017
1018 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
1019 -echo "configure:7318: checking for uid_t in sys/types.h" >&5
1020 +echo "configure:7334: checking for uid_t in sys/types.h" >&5
1021 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
1022 echo $ac_n "(cached) $ac_c" 1>&6
1023 else
1024 cat > conftest.$ac_ext <<EOF
1025 -#line 7323 "configure"
1026 +#line 7339 "configure"
1027 #include "confdefs.h"
1028 #include <sys/types.h>
1029 EOF
1030 @@ -7350,13 +7366,13 @@
1031
1032
1033 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
1034 -echo "configure:7354: checking for socklen_t" >&5
1035 +echo "configure:7370: checking for socklen_t" >&5
1036 if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
1037 echo $ac_n "(cached) $ac_c" 1>&6
1038 else
1039 ac_cv_type_socklen_t=no
1040 cat > conftest.$ac_ext <<EOF
1041 -#line 7360 "configure"
1042 +#line 7376 "configure"
1043 #include "confdefs.h"
1044 #ifdef HAVE_SYS_TYPES_H
1045 #include <sys/types.h>
1046 @@ -7369,7 +7385,7 @@
1047 socklen_t foo
1048 ; return 0; }
1049 EOF
1050 -if { (eval echo configure:7373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1051 +if { (eval echo configure:7389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1052 rm -rf conftest*
1053 ac_cv_type_socklen_t=yes
1054 else
1055 @@ -7393,13 +7409,13 @@
1056
1057
1058 echo $ac_n "checking for uint8_t""... $ac_c" 1>&6
1059 -echo "configure:7397: checking for uint8_t" >&5
1060 +echo "configure:7413: checking for uint8_t" >&5
1061 if eval "test \"`echo '$''{'ac_cv_type_uint8_t'+set}'`\" = set"; then
1062 echo $ac_n "(cached) $ac_c" 1>&6
1063 else
1064 ac_cv_type_uint8_t=no
1065 cat > conftest.$ac_ext <<EOF
1066 -#line 7403 "configure"
1067 +#line 7419 "configure"
1068 #include "confdefs.h"
1069 #ifdef HAVE_INTTYPES_H
1070 #include <inttypes.h>
1071 @@ -7412,7 +7428,7 @@
1072 uint8_t foo
1073 ; return 0; }
1074 EOF
1075 -if { (eval echo configure:7416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1076 +if { (eval echo configure:7432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1077 rm -rf conftest*
1078 ac_cv_type_uint8_t=yes
1079 else
1080 @@ -7436,13 +7452,13 @@
1081
1082
1083 echo $ac_n "checking for uint16_t""... $ac_c" 1>&6
1084 -echo "configure:7440: checking for uint16_t" >&5
1085 +echo "configure:7456: checking for uint16_t" >&5
1086 if eval "test \"`echo '$''{'ac_cv_type_uint16_t'+set}'`\" = set"; then
1087 echo $ac_n "(cached) $ac_c" 1>&6
1088 else
1089 ac_cv_type_uint16_t=no
1090 cat > conftest.$ac_ext <<EOF
1091 -#line 7446 "configure"
1092 +#line 7462 "configure"
1093 #include "confdefs.h"
1094 #ifdef HAVE_INTTYPES_H
1095 #include <inttypes.h>
1096 @@ -7455,7 +7471,7 @@
1097 uint16_t foo
1098 ; return 0; }
1099 EOF
1100 -if { (eval echo configure:7459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1101 +if { (eval echo configure:7475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1102 rm -rf conftest*
1103 ac_cv_type_uint16_t=yes
1104 else
1105 @@ -7479,13 +7495,13 @@
1106
1107
1108 echo $ac_n "checking for uint32_t""... $ac_c" 1>&6
1109 -echo "configure:7483: checking for uint32_t" >&5
1110 +echo "configure:7499: checking for uint32_t" >&5
1111 if eval "test \"`echo '$''{'ac_cv_type_uint32_t'+set}'`\" = set"; then
1112 echo $ac_n "(cached) $ac_c" 1>&6
1113 else
1114 ac_cv_type_uint32_t=no
1115 cat > conftest.$ac_ext <<EOF
1116 -#line 7489 "configure"
1117 +#line 7505 "configure"
1118 #include "confdefs.h"
1119 #ifdef HAVE_INTTYPES_H
1120 #include <inttypes.h>
1121 @@ -7498,7 +7514,7 @@
1122 uint32_t foo
1123 ; return 0; }
1124 EOF
1125 -if { (eval echo configure:7502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1126 +if { (eval echo configure:7518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1127 rm -rf conftest*
1128 ac_cv_type_uint32_t=yes
1129 else
1130 @@ -7547,12 +7563,12 @@
1131
1132 do
1133 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1134 -echo "configure:7551: checking for $ac_func" >&5
1135 +echo "configure:7567: checking for $ac_func" >&5
1136 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1137 echo $ac_n "(cached) $ac_c" 1>&6
1138 else
1139 cat > conftest.$ac_ext <<EOF
1140 -#line 7556 "configure"
1141 +#line 7572 "configure"
1142 #include "confdefs.h"
1143 /* System header to define __stub macros and hopefully few prototypes,
1144 which can conflict with char $ac_func(); below. */
1145 @@ -7575,7 +7591,7 @@
1146
1147 ; return 0; }
1148 EOF
1149 -if { (eval echo configure:7579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1150 +if { (eval echo configure:7595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1151 rm -rf conftest*
1152 eval "ac_cv_func_$ac_func=yes"
1153 else
1154 @@ -7611,12 +7627,12 @@
1155
1156 do
1157 echo $ac_n "checking whether $ac_func must be declared""... $ac_c" 1>&6
1158 -echo "configure:7615: checking whether $ac_func must be declared" >&5
1159 +echo "configure:7631: checking whether $ac_func must be declared" >&5
1160 if eval "test \"`echo '$''{'radius_cv_decl_needed_$ac_func'+set}'`\" = set"; then
1161 echo $ac_n "(cached) $ac_c" 1>&6
1162 else
1163 cat > conftest.$ac_ext <<EOF
1164 -#line 7620 "configure"
1165 +#line 7636 "configure"
1166 #include "confdefs.h"
1167
1168 #include <stdio.h>
1169 @@ -7671,7 +7687,7 @@
1170 char *(*pfn) = (char *(*)) $ac_func
1171 ; return 0; }
1172 EOF
1173 -if { (eval echo configure:7675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1174 +if { (eval echo configure:7691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1175 rm -rf conftest*
1176 eval "radius_cv_decl_needed_$ac_func=no"
1177 else
1178 @@ -7698,12 +7714,12 @@
1179
1180
1181 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
1182 -echo "configure:7702: checking return type of signal handlers" >&5
1183 +echo "configure:7718: checking return type of signal handlers" >&5
1184 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
1185 echo $ac_n "(cached) $ac_c" 1>&6
1186 else
1187 cat > conftest.$ac_ext <<EOF
1188 -#line 7707 "configure"
1189 +#line 7723 "configure"
1190 #include "confdefs.h"
1191 #include <sys/types.h>
1192 #include <signal.h>
1193 @@ -7720,7 +7736,7 @@
1194 int i;
1195 ; return 0; }
1196 EOF
1197 -if { (eval echo configure:7724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1198 +if { (eval echo configure:7740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1199 rm -rf conftest*
1200 ac_cv_type_signal=void
1201 else
1202 @@ -7743,11 +7759,11 @@
1203 then
1204
1205 echo $ac_n "checking for ut_xtime in struct utmpx""... $ac_c" 1>&6
1206 -echo "configure:7747: checking for ut_xtime in struct utmpx" >&5
1207 +echo "configure:7763: checking for ut_xtime in struct utmpx" >&5
1208
1209
1210 cat > conftest.$ac_ext <<EOF
1211 -#line 7751 "configure"
1212 +#line 7767 "configure"
1213 #include "confdefs.h"
1214
1215 #include <utmpx.h>
1216 @@ -7759,7 +7775,7 @@
1217 int foo = offsetof(struct utmpx, ut_xtime)
1218 ; return 0; }
1219 EOF
1220 -if { (eval echo configure:7763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1221 +if { (eval echo configure:7779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1222 rm -rf conftest*
1223 has_element=" "
1224 else
1225 @@ -7790,11 +7806,11 @@
1226
1227
1228 echo $ac_n "checking for ipi_addr in struct in_pktinfo""... $ac_c" 1>&6
1229 -echo "configure:7794: checking for ipi_addr in struct in_pktinfo" >&5
1230 +echo "configure:7810: checking for ipi_addr in struct in_pktinfo" >&5
1231
1232
1233 cat > conftest.$ac_ext <<EOF
1234 -#line 7798 "configure"
1235 +#line 7814 "configure"
1236 #include "confdefs.h"
1237
1238 #include <netinet/in.h>
1239 @@ -7806,7 +7822,7 @@
1240 int foo = offsetof(struct in_pktinfo, ipi_addr)
1241 ; return 0; }
1242 EOF
1243 -if { (eval echo configure:7810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1244 +if { (eval echo configure:7826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1245 rm -rf conftest*
1246 has_element=" "
1247 else
1248 @@ -7836,12 +7852,12 @@
1249
1250
1251 echo $ac_n "checking for working const""... $ac_c" 1>&6
1252 -echo "configure:7840: checking for working const" >&5
1253 +echo "configure:7856: checking for working const" >&5
1254 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1255 echo $ac_n "(cached) $ac_c" 1>&6
1256 else
1257 cat > conftest.$ac_ext <<EOF
1258 -#line 7845 "configure"
1259 +#line 7861 "configure"
1260 #include "confdefs.h"
1261
1262 int main() {
1263 @@ -7890,7 +7906,7 @@
1264
1265 ; return 0; }
1266 EOF
1267 -if { (eval echo configure:7894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1268 +if { (eval echo configure:7910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1269 rm -rf conftest*
1270 ac_cv_c_const=yes
1271 else
1272 @@ -7912,7 +7928,7 @@
1273
1274
1275 echo $ac_n "checking type of OS""... $ac_c" 1>&6
1276 -echo "configure:7916: checking type of OS" >&5
1277 +echo "configure:7932: checking type of OS" >&5
1278 OS=`uname -s`
1279 echo "$ac_t""$OS" 1>&6
1280 if test "$OS" = "OS/2"; then
1281 @@ -7927,7 +7943,7 @@
1282 fi
1283
1284 echo $ac_n "checking for developer gcc flags""... $ac_c" 1>&6
1285 -echo "configure:7931: checking for developer gcc flags" >&5
1286 +echo "configure:7947: checking for developer gcc flags" >&5
1287 if test "x$developer" = "xyes" -a "x$GCC" = "xyes"; then
1288 devflags="-g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef"
1289 CFLAGS="$CFLAGS $devflags"
1290 @@ -7942,7 +7958,7 @@
1291
1292
1293 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
1294 -echo "configure:7946: checking for crypt in -lcrypt" >&5
1295 +echo "configure:7962: checking for crypt in -lcrypt" >&5
1296 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
1297 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1298 echo $ac_n "(cached) $ac_c" 1>&6
1299 @@ -7950,7 +7966,7 @@
1300 ac_save_LIBS="$LIBS"
1301 LIBS="-lcrypt $LIBS"
1302 cat > conftest.$ac_ext <<EOF
1303 -#line 7954 "configure"
1304 +#line 7970 "configure"
1305 #include "confdefs.h"
1306 /* Override any gcc2 internal prototype to avoid an error. */
1307 /* We use char because int might match the return type of a gcc2
1308 @@ -7961,7 +7977,7 @@
1309 crypt()
1310 ; return 0; }
1311 EOF
1312 -if { (eval echo configure:7965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1313 +if { (eval echo configure:7981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1314 rm -rf conftest*
1315 eval "ac_cv_lib_$ac_lib_var=yes"
1316 else
1317 @@ -7989,12 +8005,12 @@
1318
1319 else
1320 echo $ac_n "checking for crypt""... $ac_c" 1>&6
1321 -echo "configure:7993: checking for crypt" >&5
1322 +echo "configure:8009: checking for crypt" >&5
1323 if eval "test \"`echo '$''{'ac_cv_func_crypt'+set}'`\" = set"; then
1324 echo $ac_n "(cached) $ac_c" 1>&6
1325 else
1326 cat > conftest.$ac_ext <<EOF
1327 -#line 7998 "configure"
1328 +#line 8014 "configure"
1329 #include "confdefs.h"
1330 /* System header to define __stub macros and hopefully few prototypes,
1331 which can conflict with char crypt(); below. */
1332 @@ -8017,7 +8033,7 @@
1333
1334 ; return 0; }
1335 EOF
1336 -if { (eval echo configure:8021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1337 +if { (eval echo configure:8037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1338 rm -rf conftest*
1339 eval "ac_cv_func_crypt=yes"
1340 else
1341 @@ -8042,7 +8058,7 @@
1342 fi
1343
1344 echo $ac_n "checking for setkey in -lcipher""... $ac_c" 1>&6
1345 -echo "configure:8046: checking for setkey in -lcipher" >&5
1346 +echo "configure:8062: checking for setkey in -lcipher" >&5
1347 ac_lib_var=`echo cipher'_'setkey | sed 'y%./+-%__p_%'`
1348 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1349 echo $ac_n "(cached) $ac_c" 1>&6
1350 @@ -8050,7 +8066,7 @@
1351 ac_save_LIBS="$LIBS"
1352 LIBS="-lcipher $LIBS"
1353 cat > conftest.$ac_ext <<EOF
1354 -#line 8054 "configure"
1355 +#line 8070 "configure"
1356 #include "confdefs.h"
1357 /* Override any gcc2 internal prototype to avoid an error. */
1358 /* We use char because int might match the return type of a gcc2
1359 @@ -8061,7 +8077,7 @@
1360 setkey()
1361 ; return 0; }
1362 EOF
1363 -if { (eval echo configure:8065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1364 +if { (eval echo configure:8081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1365 rm -rf conftest*
1366 eval "ac_cv_lib_$ac_lib_var=yes"
1367 else
1368 @@ -8090,10 +8106,10 @@
1369
1370
1371 echo $ac_n "checking for asn1.h,snmp.h,snmp_impl.h""... $ac_c" 1>&6
1372 -echo "configure:8094: checking for asn1.h,snmp.h,snmp_impl.h" >&5
1373 +echo "configure:8110: checking for asn1.h,snmp.h,snmp_impl.h" >&5
1374
1375 cat > conftest.$ac_ext <<EOF
1376 -#line 8097 "configure"
1377 +#line 8113 "configure"
1378 #include "confdefs.h"
1379
1380 #ifdef HAVE_SYS_TYPES_H
1381 @@ -8119,7 +8135,7 @@
1382 int a = 1;
1383 ; return 0; }
1384 EOF
1385 -if { (eval echo configure:8123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1386 +if { (eval echo configure:8139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1387 rm -rf conftest*
1388 SNMP_INCLUDE="";ucdsnmp=yes
1389 else
1390 @@ -8135,7 +8151,7 @@
1391 for try in /usr/include /usr/local/include $with_snmp_include_dir; do
1392 CFLAGS="$old_CFLAGS -I$try"
1393 cat > conftest.$ac_ext <<EOF
1394 -#line 8139 "configure"
1395 +#line 8155 "configure"
1396 #include "confdefs.h"
1397
1398 #ifdef HAVE_SYS_TYPES_H
1399 @@ -8161,7 +8177,7 @@
1400 int a = 1;
1401 ; return 0; }
1402 EOF
1403 -if { (eval echo configure:8165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1404 +if { (eval echo configure:8181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1405 rm -rf conftest*
1406 SNMP_INCLUDE="-I$try";ucdsnmp=yes
1407 else
1408 @@ -8183,7 +8199,7 @@
1409 for try in /usr/include/ucd-snmp /usr/local/include/ucd-snmp $with_snmp_include_dir; do
1410 CFLAGS="$old_CFLAGS -I$try"
1411 cat > conftest.$ac_ext <<EOF
1412 -#line 8187 "configure"
1413 +#line 8203 "configure"
1414 #include "confdefs.h"
1415
1416 #ifdef HAVE_SYS_TYPES_H
1417 @@ -8208,7 +8224,7 @@
1418 int a = 1;
1419 ; return 0; }
1420 EOF
1421 -if { (eval echo configure:8212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1422 +if { (eval echo configure:8228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1423 rm -rf conftest*
1424 SNMP_INCLUDE="";ucdsnmp=no
1425 else
1426 @@ -8230,7 +8246,7 @@
1427 for try in /usr/include/ucd-snmp /usr/local/include/ucd-snmp $with_snmp_include_dir; do
1428 CFLAGS="$old_CFLAGS -I$try"
1429 cat > conftest.$ac_ext <<EOF
1430 -#line 8234 "configure"
1431 +#line 8250 "configure"
1432 #include "confdefs.h"
1433
1434 #ifdef HAVE_SYS_TYPES_H
1435 @@ -8255,7 +8271,7 @@
1436 int a = 1;
1437 ; return 0; }
1438 EOF
1439 -if { (eval echo configure:8259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1440 +if { (eval echo configure:8275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1441 rm -rf conftest*
1442 SNMP_INCLUDE="-I$try";ucdsnmp=no
1443 else
1444 @@ -8289,19 +8305,19 @@
1445
1446 fi
1447 echo $ac_n "checking for snmp_build_var_op in -lsnmp""... $ac_c" 1>&6
1448 -echo "configure:8293: checking for snmp_build_var_op in -lsnmp" >&5
1449 +echo "configure:8309: checking for snmp_build_var_op in -lsnmp" >&5
1450
1451 old_LIBS="$LIBS"
1452 LIBS="$old_LIBS -lsnmp"
1453 cat > conftest.$ac_ext <<EOF
1454 -#line 8298 "configure"
1455 +#line 8314 "configure"
1456 #include "confdefs.h"
1457 extern char snmp_build_var_op();
1458 int main() {
1459 snmp_build_var_op()
1460 ; return 0; }
1461 EOF
1462 -if { (eval echo configure:8305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1463 +if { (eval echo configure:8321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1464 rm -rf conftest*
1465 SNMP_LIBS="-lsnmp"
1466 else
1467 @@ -8316,14 +8332,14 @@
1468 for try in /usr/lib /usr/local/lib /usr/local/snmp/lib $with_snmp_lib_dir; do
1469 LIBS="$old_LIBS -L$try -lsnmp"
1470 cat > conftest.$ac_ext <<EOF
1471 -#line 8320 "configure"
1472 +#line 8336 "configure"
1473 #include "confdefs.h"
1474 extern char snmp_build_var_op();
1475 int main() {
1476 snmp_build_var_op()
1477 ; return 0; }
1478 EOF
1479 -if { (eval echo configure:8327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1480 +if { (eval echo configure:8343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1481 rm -rf conftest*
1482 SNMP_LIBS="-L$try -lsnmp"
1483 else
1484 @@ -8338,14 +8354,14 @@
1485 fi
1486 LIBS="$old_LIBS -L$try -lsnmp -lcrypto"
1487 cat > conftest.$ac_ext <<EOF
1488 -#line 8342 "configure"
1489 +#line 8358 "configure"
1490 #include "confdefs.h"
1491 extern char snmp_build_var_op();
1492 int main() {
1493 snmp_build_var_op()
1494 ; return 0; }
1495 EOF
1496 -if { (eval echo configure:8349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1497 +if { (eval echo configure:8365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1498 rm -rf conftest*
1499 SNMP_LIBS="-L$try -lsnmp -lcrypto"
1500 else
1501 @@ -8360,14 +8376,14 @@
1502 fi
1503 LIBS="$old_LIBS -L$try -lsnmp -lcrypto -lkstat"
1504 cat > conftest.$ac_ext <<EOF
1505 -#line 8364 "configure"
1506 +#line 8380 "configure"
1507 #include "confdefs.h"
1508 extern char snmp_build_var_op();
1509 int main() {
1510 snmp_build_var_op()
1511 ; return 0; }
1512 EOF
1513 -if { (eval echo configure:8371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1514 +if { (eval echo configure:8387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1515 rm -rf conftest*
1516 SNMP_LIBS="-L$try -lsnmp -lcrypto -lkstat"
1517 else
1518 @@ -8405,7 +8421,7 @@
1519
1520 gethostbyaddrrstyle=""
1521 echo $ac_n "checking gethostbyaddr_r() syntax""... $ac_c" 1>&6
1522 -echo "configure:8409: checking gethostbyaddr_r() syntax" >&5
1523 +echo "configure:8425: checking gethostbyaddr_r() syntax" >&5
1524 case "$host" in
1525 *-freebsd*)
1526 cat >> confdefs.h <<\EOF
1527 @@ -8418,7 +8434,7 @@
1528 esac
1529 if test "x$gethostbyaddrrstyle" = "x"; then
1530 cat > conftest.$ac_ext <<EOF
1531 -#line 8422 "configure"
1532 +#line 8438 "configure"
1533 #include "confdefs.h"
1534
1535 #include <stdio.h>
1536 @@ -8428,7 +8444,7 @@
1537 gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL, NULL)
1538 ; return 0; }
1539 EOF
1540 -if { (eval echo configure:8432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1541 +if { (eval echo configure:8448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1542 rm -rf conftest*
1543
1544 cat >> confdefs.h <<\EOF
1545 @@ -8445,7 +8461,7 @@
1546 fi
1547 if test "x$gethostbyaddrrstyle" = "x"; then
1548 cat > conftest.$ac_ext <<EOF
1549 -#line 8449 "configure"
1550 +#line 8465 "configure"
1551 #include "confdefs.h"
1552
1553 #include <stdio.h>
1554 @@ -8455,7 +8471,7 @@
1555 gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL)
1556 ; return 0; }
1557 EOF
1558 -if { (eval echo configure:8459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1559 +if { (eval echo configure:8475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1560 rm -rf conftest*
1561
1562 cat >> confdefs.h <<\EOF
1563 @@ -8472,7 +8488,7 @@
1564 fi
1565 if test "x$gethostbyaddrrstyle" = "x"; then
1566 cat > conftest.$ac_ext <<EOF
1567 -#line 8476 "configure"
1568 +#line 8492 "configure"
1569 #include "confdefs.h"
1570
1571 #include <stdio.h>
1572 @@ -8482,7 +8498,7 @@
1573 gethostbyaddr(NULL, 0, 0)
1574 ; return 0; }
1575 EOF
1576 -if { (eval echo configure:8486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1577 +if { (eval echo configure:8502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1578 rm -rf conftest*
1579
1580 cat >> confdefs.h <<\EOF
1581 @@ -8510,9 +8526,9 @@
1582
1583 gethostbynamerstyle=""
1584 echo $ac_n "checking gethostbyname_r() syntax""... $ac_c" 1>&6
1585 -echo "configure:8514: checking gethostbyname_r() syntax" >&5
1586 +echo "configure:8530: checking gethostbyname_r() syntax" >&5
1587 cat > conftest.$ac_ext <<EOF
1588 -#line 8516 "configure"
1589 +#line 8532 "configure"
1590 #include "confdefs.h"
1591
1592 #include <stdio.h>
1593 @@ -8522,7 +8538,7 @@
1594 gethostbyname_r(NULL, NULL, NULL, 0, NULL, NULL)
1595 ; return 0; }
1596 EOF
1597 -if { (eval echo configure:8526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1598 +if { (eval echo configure:8542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1599 rm -rf conftest*
1600
1601 cat >> confdefs.h <<\EOF
1602 @@ -8538,7 +8554,7 @@
1603 rm -f conftest*
1604 if test "x$gethostbynamerstyle" = "x"; then
1605 cat > conftest.$ac_ext <<EOF
1606 -#line 8542 "configure"
1607 +#line 8558 "configure"
1608 #include "confdefs.h"
1609
1610 #include <stdio.h>
1611 @@ -8548,7 +8564,7 @@
1612 gethostbyname_r(NULL, NULL, NULL, 0, NULL)
1613 ; return 0; }
1614 EOF
1615 -if { (eval echo configure:8552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1616 +if { (eval echo configure:8568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1617 rm -rf conftest*
1618
1619 cat >> confdefs.h <<\EOF
1620 @@ -8565,7 +8581,7 @@
1621 fi
1622 if test "x$gethostbynamerstyle" = "x"; then
1623 cat > conftest.$ac_ext <<EOF
1624 -#line 8569 "configure"
1625 +#line 8585 "configure"
1626 #include "confdefs.h"
1627
1628 #include <stdio.h>
1629 @@ -8575,7 +8591,7 @@
1630 gethostbyname(NULL)
1631 ; return 0; }
1632 EOF
1633 -if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1634 +if { (eval echo configure:8595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1635 rm -rf conftest*
1636
1637 cat >> confdefs.h <<\EOF
1638 @@ -8603,9 +8619,9 @@
1639
1640 ctimerstyle=""
1641 echo $ac_n "checking ctime_r() syntax""... $ac_c" 1>&6
1642 -echo "configure:8607: checking ctime_r() syntax" >&5
1643 +echo "configure:8623: checking ctime_r() syntax" >&5
1644 cat > conftest.$ac_ext <<EOF
1645 -#line 8609 "configure"
1646 +#line 8625 "configure"
1647 #include "confdefs.h"
1648
1649 #include <time.h>
1650 @@ -8614,7 +8630,7 @@
1651 ctime_r(NULL, NULL, 0)
1652 ; return 0; }
1653 EOF
1654 -if { (eval echo configure:8618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1655 +if { (eval echo configure:8634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1656 rm -rf conftest*
1657
1658 cat >> confdefs.h <<\EOF
1659 @@ -8630,7 +8646,7 @@
1660 rm -f conftest*
1661 if test "x$ctimerstyle" = "x"; then
1662 cat > conftest.$ac_ext <<EOF
1663 -#line 8634 "configure"
1664 +#line 8650 "configure"
1665 #include "confdefs.h"
1666
1667 #include <time.h>
1668 @@ -8639,7 +8655,7 @@
1669 ctime_r(NULL, NULL)
1670 ; return 0; }
1671 EOF
1672 -if { (eval echo configure:8643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1673 +if { (eval echo configure:8659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1674 rm -rf conftest*
1675
1676 cat >> confdefs.h <<\EOF
1677 @@ -8664,7 +8680,7 @@
1678
1679 if test x"$rad_enable_largefiles" = xyes ; then
1680 echo $ac_n "checking for largefile linkage""... $ac_c" 1>&6
1681 -echo "configure:8668: checking for largefile linkage" >&5
1682 +echo "configure:8684: checking for largefile linkage" >&5
1683 case "$host" in
1684 *-aix4.01*)
1685 echo "$ac_t""no" 1>&6
1686 @@ -8701,7 +8717,7 @@
1687 # Extract the first word of "getconf", so it can be a program name with args.
1688 set dummy getconf; ac_word=$2
1689 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1690 -echo "configure:8705: checking for $ac_word" >&5
1691 +echo "configure:8721: checking for $ac_word" >&5
1692 if eval "test \"`echo '$''{'ac_cv_path_GETCONF'+set}'`\" = set"; then
1693 echo $ac_n "(cached) $ac_c" 1>&6
1694 else