copy trunk to buildroot-ng branch
[15.05/openwrt.git] / package / freeradius / patches / 04-freeradius-1.0.5-autoconf.patch
1 diff -ruN freeradius-1.0.5-old/aclocal.m4 freeradius-1.0.5-new/aclocal.m4
2 --- freeradius-1.0.5-old/aclocal.m4     2005-08-19 19:29:04.000000000 +0200
3 +++ freeradius-1.0.5-new/aclocal.m4     2005-10-03 05:19:15.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 @@ -3374,7 +3390,7 @@
30      lt_cv_deplibs_check_method=pass_all ;;
31    *)
32      # glibc up to 2.1.1 does not perform some relocations on ARM
33 -    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
34 +    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB.*(shared object|dynamic lib )' ;;
35    esac
36    lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
37    ;;
38 diff -ruN freeradius-1.0.5-old/configure freeradius-1.0.5-new/configure
39 --- freeradius-1.0.5-old/configure      2005-08-19 21:00:02.000000000 +0200
40 +++ freeradius-1.0.5-new/configure      2005-10-03 05:20:47.000000000 +0200
41 @@ -1988,7 +1988,7 @@
42      lt_cv_deplibs_check_method=pass_all ;;
43    *)
44      # glibc up to 2.1.1 does not perform some relocations on ARM
45 -    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
46 +    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB.*(shared object|dynamic lib )' ;;
47    esac
48    lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
49    ;;
50 @@ -4024,7 +4024,23 @@
51  version_type=none
52  dynamic_linker="$host_os ld.so"
53  sys_lib_dlsearch_path_spec="/lib /usr/lib"
54 -sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
55 +if test "$cross_compiling" = yes; then
56 +  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries: *=*//"`
57 +  if echo "$sys_lib_search_path_spec" | egrep ';' >/dev/null ; then
58 +    # if the path contains ";" then we assume it to be the separator
59 +    # otherwise default to the standard path separator (i.e. ":") - it is
60 +    # assumed that no part of a normal pathname contains ";" but that should
61 +    # okay in the real world where ";" in dirpaths is itself problematic.
62 +    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
63 +  else
64 +    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed  -e "s/$PATH_SEPARATOR/ /g"`
65 +  fi
66 +else
67 +  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
68 +fi
69 +if test "x$lt_sys_lib_search_path_spec" != "x"; then
70 +  sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_sys_lib_search_path_spec"
71 +fi
72  
73  case $host_os in
74  aix3*)
75 @@ -4412,7 +4428,7 @@
76  ##
77  # Report the final consequences.
78  echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
79 -echo "configure:4416: checking if libtool supports shared libraries" >&5
80 +echo "configure:4432: checking if libtool supports shared libraries" >&5
81  echo "$ac_t""$can_build_shared" 1>&6
82  ##
83  ## END FIXME
84 @@ -4420,7 +4436,7 @@
85  ## FIXME: this should be a separate macro
86  ##
87  echo $ac_n "checking whether to build shared libraries""... $ac_c" 1>&6
88 -echo "configure:4424: checking whether to build shared libraries" >&5
89 +echo "configure:4440: checking whether to build shared libraries" >&5
90  test "$can_build_shared" = "no" && enable_shared=no
91  
92  # On AIX, shared libraries and static libraries use the same namespace, and
93 @@ -4447,7 +4463,7 @@
94  ## FIXME: this should be a separate macro
95  ##
96  echo $ac_n "checking whether to build static libraries""... $ac_c" 1>&6
97 -echo "configure:4451: checking whether to build static libraries" >&5
98 +echo "configure:4467: checking whether to build static libraries" >&5
99  # Make sure either enable_shared or enable_static is yes.
100  test "$enable_shared" = yes || enable_static=yes
101  echo "$ac_t""$enable_static" 1>&6
102 @@ -4490,12 +4506,12 @@
103  
104    *)
105      echo $ac_n "checking for shl_load""... $ac_c" 1>&6
106 -echo "configure:4494: checking for shl_load" >&5
107 +echo "configure:4510: checking for shl_load" >&5
108  if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
109    echo $ac_n "(cached) $ac_c" 1>&6
110  else
111    cat > conftest.$ac_ext <<EOF
112 -#line 4499 "configure"
113 +#line 4515 "configure"
114  #include "confdefs.h"
115  /* System header to define __stub macros and hopefully few prototypes,
116      which can conflict with char shl_load(); below.  */
117 @@ -4518,7 +4534,7 @@
118  
119  ; return 0; }
120  EOF
121 -if { (eval echo configure:4522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
122 +if { (eval echo configure:4538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
123    rm -rf conftest*
124    eval "ac_cv_func_shl_load=yes"
125  else
126 @@ -4536,7 +4552,7 @@
127  else
128    echo "$ac_t""no" 1>&6
129  echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
130 -echo "configure:4540: checking for shl_load in -ldld" >&5
131 +echo "configure:4556: checking for shl_load in -ldld" >&5
132  ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
133  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
134    echo $ac_n "(cached) $ac_c" 1>&6
135 @@ -4544,7 +4560,7 @@
136    ac_save_LIBS="$LIBS"
137  LIBS="-ldld  $LIBS"
138  cat > conftest.$ac_ext <<EOF
139 -#line 4548 "configure"
140 +#line 4564 "configure"
141  #include "confdefs.h"
142  /* Override any gcc2 internal prototype to avoid an error.  */
143  /* We use char because int might match the return type of a gcc2
144 @@ -4555,7 +4571,7 @@
145  shl_load()
146  ; return 0; }
147  EOF
148 -if { (eval echo configure:4559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
149 +if { (eval echo configure:4575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
150    rm -rf conftest*
151    eval "ac_cv_lib_$ac_lib_var=yes"
152  else
153 @@ -4574,12 +4590,12 @@
154  else
155    echo "$ac_t""no" 1>&6
156  echo $ac_n "checking for dlopen""... $ac_c" 1>&6
157 -echo "configure:4578: checking for dlopen" >&5
158 +echo "configure:4594: checking for dlopen" >&5
159  if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
160    echo $ac_n "(cached) $ac_c" 1>&6
161  else
162    cat > conftest.$ac_ext <<EOF
163 -#line 4583 "configure"
164 +#line 4599 "configure"
165  #include "confdefs.h"
166  /* System header to define __stub macros and hopefully few prototypes,
167      which can conflict with char dlopen(); below.  */
168 @@ -4602,7 +4618,7 @@
169  
170  ; return 0; }
171  EOF
172 -if { (eval echo configure:4606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
173 +if { (eval echo configure:4622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
174    rm -rf conftest*
175    eval "ac_cv_func_dlopen=yes"
176  else
177 @@ -4620,7 +4636,7 @@
178  else
179    echo "$ac_t""no" 1>&6
180  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
181 -echo "configure:4624: checking for dlopen in -ldl" >&5
182 +echo "configure:4640: checking for dlopen in -ldl" >&5
183  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
184  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
185    echo $ac_n "(cached) $ac_c" 1>&6
186 @@ -4628,7 +4644,7 @@
187    ac_save_LIBS="$LIBS"
188  LIBS="-ldl  $LIBS"
189  cat > conftest.$ac_ext <<EOF
190 -#line 4632 "configure"
191 +#line 4648 "configure"
192  #include "confdefs.h"
193  /* Override any gcc2 internal prototype to avoid an error.  */
194  /* We use char because int might match the return type of a gcc2
195 @@ -4639,7 +4655,7 @@
196  dlopen()
197  ; return 0; }
198  EOF
199 -if { (eval echo configure:4643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
200 +if { (eval echo configure:4659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
201    rm -rf conftest*
202    eval "ac_cv_lib_$ac_lib_var=yes"
203  else
204 @@ -4658,7 +4674,7 @@
205  else
206    echo "$ac_t""no" 1>&6
207  echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
208 -echo "configure:4662: checking for dlopen in -lsvld" >&5
209 +echo "configure:4678: checking for dlopen in -lsvld" >&5
210  ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
211  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
212    echo $ac_n "(cached) $ac_c" 1>&6
213 @@ -4666,7 +4682,7 @@
214    ac_save_LIBS="$LIBS"
215  LIBS="-lsvld  $LIBS"
216  cat > conftest.$ac_ext <<EOF
217 -#line 4670 "configure"
218 +#line 4686 "configure"
219  #include "confdefs.h"
220  /* Override any gcc2 internal prototype to avoid an error.  */
221  /* We use char because int might match the return type of a gcc2
222 @@ -4677,7 +4693,7 @@
223  dlopen()
224  ; return 0; }
225  EOF
226 -if { (eval echo configure:4681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
227 +if { (eval echo configure:4697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
228    rm -rf conftest*
229    eval "ac_cv_lib_$ac_lib_var=yes"
230  else
231 @@ -4696,7 +4712,7 @@
232  else
233    echo "$ac_t""no" 1>&6
234  echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
235 -echo "configure:4700: checking for dld_link in -ldld" >&5
236 +echo "configure:4716: checking for dld_link in -ldld" >&5
237  ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
238  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
239    echo $ac_n "(cached) $ac_c" 1>&6
240 @@ -4704,7 +4720,7 @@
241    ac_save_LIBS="$LIBS"
242  LIBS="-ldld  $LIBS"
243  cat > conftest.$ac_ext <<EOF
244 -#line 4708 "configure"
245 +#line 4724 "configure"
246  #include "confdefs.h"
247  /* Override any gcc2 internal prototype to avoid an error.  */
248  /* We use char because int might match the return type of a gcc2
249 @@ -4715,7 +4731,7 @@
250  dld_link()
251  ; return 0; }
252  EOF
253 -if { (eval echo configure:4719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
254 +if { (eval echo configure:4735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
255    rm -rf conftest*
256    eval "ac_cv_lib_$ac_lib_var=yes"
257  else
258 @@ -4771,7 +4787,7 @@
259      LIBS="$lt_cv_dlopen_libs $LIBS"
260  
261      echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6
262 -echo "configure:4775: checking whether a program can dlopen itself" >&5
263 +echo "configure:4791: checking whether a program can dlopen itself" >&5
264  if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
265    echo $ac_n "(cached) $ac_c" 1>&6
266  else
267 @@ -4781,7 +4797,7 @@
268      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
269    lt_status=$lt_dlunknown
270    cat > conftest.$ac_ext <<EOF
271 -#line 4785 "configure"
272 +#line 4801 "configure"
273  #include "confdefs.h"
274  
275  #if HAVE_DLFCN_H
276 @@ -4842,7 +4858,7 @@
277      exit (status);
278  }
279  EOF
280 -  if { (eval echo configure:4846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
281 +  if { (eval echo configure:4862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
282      (./conftest; exit; ) 2>/dev/null
283      lt_status=$?
284      case x$lt_status in
285 @@ -4865,7 +4881,7 @@
286      if test "x$lt_cv_dlopen_self" = xyes; then
287        LDFLAGS="$LDFLAGS $link_static_flag"
288        echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6
289 -echo "configure:4869: checking whether a statically linked program can dlopen itself" >&5
290 +echo "configure:4885: checking whether a statically linked program can dlopen itself" >&5
291  if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
292    echo $ac_n "(cached) $ac_c" 1>&6
293  else
294 @@ -4875,7 +4891,7 @@
295      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
296    lt_status=$lt_dlunknown
297    cat > conftest.$ac_ext <<EOF
298 -#line 4879 "configure"
299 +#line 4895 "configure"
300  #include "confdefs.h"
301  
302  #if HAVE_DLFCN_H
303 @@ -4936,7 +4952,7 @@
304      exit (status);
305  }
306  EOF
307 -  if { (eval echo configure:4940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
308 +  if { (eval echo configure:4956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
309      (./conftest; exit; ) 2>/dev/null
310      lt_status=$?
311      case x$lt_status in
312 @@ -4987,14 +5003,14 @@
313      # systems, -lgcc has to come before -lc. If gcc already passes -lc
314      # to ld, don't add -lc before -lgcc.
315      echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6
316 -echo "configure:4991: checking whether -lc should be explicitly linked in" >&5
317 +echo "configure:5007: checking whether -lc should be explicitly linked in" >&5
318      if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then
319    echo $ac_n "(cached) $ac_c" 1>&6
320  else
321    $rm conftest*
322      echo 'static int dummy;' > conftest.$ac_ext
323  
324 -    if { (eval echo configure:4998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
325 +    if { (eval echo configure:5014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
326        soname=conftest
327        lib=conftest
328        libobjs=conftest.$ac_objext
329 @@ -5007,7 +5023,7 @@
330        libname=conftest
331        save_allow_undefined_flag=$allow_undefined_flag
332        allow_undefined_flag=
333 -      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; }
334 +      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; }
335        then
336         lt_cv_archive_cmds_need_lc=no
337        else
338 @@ -5590,7 +5606,7 @@
339     # Extract the first word of "libtool", so it can be a program name with args.
340  set dummy libtool; ac_word=$2
341  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
342 -echo "configure:5594: checking for $ac_word" >&5
343 +echo "configure:5610: checking for $ac_word" >&5
344  if eval "test \"`echo '$''{'ac_cv_path_LIBTOOL'+set}'`\" = set"; then
345    echo $ac_n "(cached) $ac_c" 1>&6
346  else
347 @@ -5650,7 +5666,7 @@
348  
349  logdir='${localstatedir}/log/radius'
350  echo $ac_n "checking logdir""... $ac_c" 1>&6
351 -echo "configure:5654: checking logdir" >&5
352 +echo "configure:5670: checking logdir" >&5
353  # Check whether --with-logdir or --without-logdir was given.
354  if test "${with_logdir+set}" = set; then
355    withval="$with_logdir"
356 @@ -5672,7 +5688,7 @@
357  
358  radacctdir='${logdir}/radacct'
359  echo $ac_n "checking radacctdir""... $ac_c" 1>&6
360 -echo "configure:5676: checking radacctdir" >&5
361 +echo "configure:5692: checking radacctdir" >&5
362  # Check whether --with-radacctdir or --without-radacctdir was given.
363  if test "${with_radacctdir+set}" = set; then
364    withval="$with_radacctdir"
365 @@ -5694,7 +5710,7 @@
366  
367  raddbdir='${sysconfdir}/raddb'
368  echo $ac_n "checking raddbdir""... $ac_c" 1>&6
369 -echo "configure:5698: checking raddbdir" >&5
370 +echo "configure:5714: checking raddbdir" >&5
371  # Check whether --with-raddbdir or --without-raddbdir was given.
372  if test "${with_raddbdir+set}" = set; then
373    withval="$with_raddbdir"
374 @@ -5906,7 +5922,7 @@
375  # Extract the first word of "perl", so it can be a program name with args.
376  set dummy perl; ac_word=$2
377  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
378 -echo "configure:5910: checking for $ac_word" >&5
379 +echo "configure:5926: checking for $ac_word" >&5
380  if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
381    echo $ac_n "(cached) $ac_c" 1>&6
382  else
383 @@ -5945,7 +5961,7 @@
384  # Extract the first word of "snmpget", so it can be a program name with args.
385  set dummy snmpget; ac_word=$2
386  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
387 -echo "configure:5949: checking for $ac_word" >&5
388 +echo "configure:5965: checking for $ac_word" >&5
389  if eval "test \"`echo '$''{'ac_cv_path_SNMPGET'+set}'`\" = set"; then
390    echo $ac_n "(cached) $ac_c" 1>&6
391  else
392 @@ -5984,7 +6000,7 @@
393  # Extract the first word of "snmpwalk", so it can be a program name with args.
394  set dummy snmpwalk; ac_word=$2
395  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
396 -echo "configure:5988: checking for $ac_word" >&5
397 +echo "configure:6004: checking for $ac_word" >&5
398  if eval "test \"`echo '$''{'ac_cv_path_SNMPWALK'+set}'`\" = set"; then
399    echo $ac_n "(cached) $ac_c" 1>&6
400  else
401 @@ -6023,7 +6039,7 @@
402  # Extract the first word of "rusers", so it can be a program name with args.
403  set dummy rusers; ac_word=$2
404  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
405 -echo "configure:6027: checking for $ac_word" >&5
406 +echo "configure:6043: checking for $ac_word" >&5
407  if eval "test \"`echo '$''{'ac_cv_path_RUSERS'+set}'`\" = set"; then
408    echo $ac_n "(cached) $ac_c" 1>&6
409  else
410 @@ -6059,7 +6075,7 @@
411  
412  missing_dir=`cd $ac_aux_dir && pwd`
413  echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
414 -echo "configure:6063: checking for working aclocal" >&5
415 +echo "configure:6079: checking for working aclocal" >&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 @@ -6072,7 +6088,7 @@
420  fi
421  
422  echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
423 -echo "configure:6076: checking for working autoconf" >&5
424 +echo "configure:6092: checking for working autoconf" >&5
425  # Run test in a subshell; some versions of sh will print an error if
426  # an executable is not found, even if stderr is redirected.
427  # Redirect stdin to placate older versions of autoconf.  Sigh.
428 @@ -6085,7 +6101,7 @@
429  fi
430  
431  echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
432 -echo "configure:6089: checking for working autoheader" >&5
433 +echo "configure:6105: checking for working autoheader" >&5
434  # Run test in a subshell; some versions of sh will print an error if
435  # an executable is not found, even if stderr is redirected.
436  # Redirect stdin to placate older versions of autoconf.  Sigh.
437 @@ -6101,7 +6117,7 @@
438  # Extract the first word of "locate", so it can be a program name with args.
439  set dummy locate; ac_word=$2
440  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
441 -echo "configure:6105: checking for $ac_word" >&5
442 +echo "configure:6121: checking for $ac_word" >&5
443  if eval "test \"`echo '$''{'ac_cv_path_LOCATE'+set}'`\" = set"; then
444    echo $ac_n "(cached) $ac_c" 1>&6
445  else
446 @@ -6136,7 +6152,7 @@
447  # Extract the first word of "dirname", so it can be a program name with args.
448  set dummy dirname; ac_word=$2
449  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
450 -echo "configure:6140: checking for $ac_word" >&5
451 +echo "configure:6156: checking for $ac_word" >&5
452  if eval "test \"`echo '$''{'ac_cv_path_DIRNAME'+set}'`\" = set"; then
453    echo $ac_n "(cached) $ac_c" 1>&6
454  else
455 @@ -6171,7 +6187,7 @@
456  # Extract the first word of "grep", so it can be a program name with args.
457  set dummy grep; ac_word=$2
458  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
459 -echo "configure:6175: checking for $ac_word" >&5
460 +echo "configure:6191: checking for $ac_word" >&5
461  if eval "test \"`echo '$''{'ac_cv_path_GREP'+set}'`\" = set"; then
462    echo $ac_n "(cached) $ac_c" 1>&6
463  else
464 @@ -6215,17 +6231,17 @@
465  do
466  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
467  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
468 -echo "configure:6219: checking for $ac_hdr" >&5
469 +echo "configure:6235: checking for $ac_hdr" >&5
470  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
471    echo $ac_n "(cached) $ac_c" 1>&6
472  else
473    cat > conftest.$ac_ext <<EOF
474 -#line 6224 "configure"
475 +#line 6240 "configure"
476  #include "confdefs.h"
477  #include <$ac_hdr>
478  EOF
479  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
480 -{ (eval echo configure:6229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
481 +{ (eval echo configure:6245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
482  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
483  if test -z "$ac_err"; then
484    rm -rf conftest*
485 @@ -6254,7 +6270,7 @@
486  
487  
488    echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
489 -echo "configure:6258: checking for pthread_create in -lpthread" >&5
490 +echo "configure:6274: checking for pthread_create in -lpthread" >&5
491  ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
492  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
493    echo $ac_n "(cached) $ac_c" 1>&6
494 @@ -6262,7 +6278,7 @@
495    ac_save_LIBS="$LIBS"
496  LIBS="-lpthread  $LIBS"
497  cat > conftest.$ac_ext <<EOF
498 -#line 6266 "configure"
499 +#line 6282 "configure"
500  #include "confdefs.h"
501  /* Override any gcc2 internal prototype to avoid an error.  */
502  /* We use char because int might match the return type of a gcc2
503 @@ -6273,7 +6289,7 @@
504  pthread_create()
505  ; return 0; }
506  EOF
507 -if { (eval echo configure:6277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
508 +if { (eval echo configure:6293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
509    rm -rf conftest*
510    eval "ac_cv_lib_$ac_lib_var=yes"
511  else
512 @@ -6293,7 +6309,7 @@
513  else
514    echo "$ac_t""no" 1>&6
515  echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
516 -echo "configure:6297: checking for pthread_create in -lc_r" >&5
517 +echo "configure:6313: checking for pthread_create in -lc_r" >&5
518  ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
519  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
520    echo $ac_n "(cached) $ac_c" 1>&6
521 @@ -6301,7 +6317,7 @@
522    ac_save_LIBS="$LIBS"
523  LIBS="-lc_r  $LIBS"
524  cat > conftest.$ac_ext <<EOF
525 -#line 6305 "configure"
526 +#line 6321 "configure"
527  #include "confdefs.h"
528  /* Override any gcc2 internal prototype to avoid an error.  */
529  /* We use char because int might match the return type of a gcc2
530 @@ -6312,7 +6328,7 @@
531  pthread_create()
532  ; return 0; }
533  EOF
534 -if { (eval echo configure:6316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
535 +if { (eval echo configure:6332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
536    rm -rf conftest*
537    eval "ac_cv_lib_$ac_lib_var=yes"
538  else
539 @@ -6347,14 +6363,14 @@
540                
541    
542  echo $ac_n "checking for library containing sem_init""... $ac_c" 1>&6
543 -echo "configure:6351: checking for library containing sem_init" >&5
544 +echo "configure:6367: checking for library containing sem_init" >&5
545  if eval "test \"`echo '$''{'ac_cv_search_sem_init'+set}'`\" = set"; then
546    echo $ac_n "(cached) $ac_c" 1>&6
547  else
548    ac_func_search_save_LIBS="$LIBS"
549  ac_cv_search_sem_init="no"
550  cat > conftest.$ac_ext <<EOF
551 -#line 6358 "configure"
552 +#line 6374 "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 @@ -6365,7 +6381,7 @@
557  sem_init()
558  ; return 0; }
559  EOF
560 -if { (eval echo configure:6369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
561 +if { (eval echo configure:6385: \"$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="none required"
564  else
565 @@ -6376,7 +6392,7 @@
566  test "$ac_cv_search_sem_init" = "no" && for i in pthread sem posix4 rt; do
567  LIBS="-l$i  $ac_func_search_save_LIBS"
568  cat > conftest.$ac_ext <<EOF
569 -#line 6380 "configure"
570 +#line 6396 "configure"
571  #include "confdefs.h"
572  /* Override any gcc2 internal prototype to avoid an error.  */
573  /* We use char because int might match the return type of a gcc2
574 @@ -6387,7 +6403,7 @@
575  sem_init()
576  ; return 0; }
577  EOF
578 -if { (eval echo configure:6391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
579 +if { (eval echo configure:6407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
580    rm -rf conftest*
581    ac_cv_search_sem_init="-l$i"
582  break
583 @@ -6411,7 +6427,7 @@
584  fi
585  
586  echo $ac_n "checking for getsockname in -lsocket""... $ac_c" 1>&6
587 -echo "configure:6415: checking for getsockname in -lsocket" >&5
588 +echo "configure:6431: checking for getsockname in -lsocket" >&5
589  ac_lib_var=`echo socket'_'getsockname | sed 'y%./+-%__p_%'`
590  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
591    echo $ac_n "(cached) $ac_c" 1>&6
592 @@ -6419,7 +6435,7 @@
593    ac_save_LIBS="$LIBS"
594  LIBS="-lsocket  $LIBS"
595  cat > conftest.$ac_ext <<EOF
596 -#line 6423 "configure"
597 +#line 6439 "configure"
598  #include "confdefs.h"
599  /* Override any gcc2 internal prototype to avoid an error.  */
600  /* We use char because int might match the return type of a gcc2
601 @@ -6430,7 +6446,7 @@
602  getsockname()
603  ; return 0; }
604  EOF
605 -if { (eval echo configure:6434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
606 +if { (eval echo configure:6450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
607    rm -rf conftest*
608    eval "ac_cv_lib_$ac_lib_var=yes"
609  else
610 @@ -6459,7 +6475,7 @@
611  
612  
613  echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
614 -echo "configure:6463: checking for inet_aton in -lresolv" >&5
615 +echo "configure:6479: checking for inet_aton in -lresolv" >&5
616  ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
617  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
618    echo $ac_n "(cached) $ac_c" 1>&6
619 @@ -6467,7 +6483,7 @@
620    ac_save_LIBS="$LIBS"
621  LIBS="-lresolv  $LIBS"
622  cat > conftest.$ac_ext <<EOF
623 -#line 6471 "configure"
624 +#line 6487 "configure"
625  #include "confdefs.h"
626  /* Override any gcc2 internal prototype to avoid an error.  */
627  /* We use char because int might match the return type of a gcc2
628 @@ -6478,7 +6494,7 @@
629  inet_aton()
630  ; return 0; }
631  EOF
632 -if { (eval echo configure:6482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
633 +if { (eval echo configure:6498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
634    rm -rf conftest*
635    eval "ac_cv_lib_$ac_lib_var=yes"
636  else
637 @@ -6507,7 +6523,7 @@
638  
639  
640  echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
641 -echo "configure:6511: checking for inet_ntoa in -lnsl" >&5
642 +echo "configure:6527: checking for inet_ntoa in -lnsl" >&5
643  ac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
644  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
645    echo $ac_n "(cached) $ac_c" 1>&6
646 @@ -6515,7 +6531,7 @@
647    ac_save_LIBS="$LIBS"
648  LIBS="-lnsl  $LIBS"
649  cat > conftest.$ac_ext <<EOF
650 -#line 6519 "configure"
651 +#line 6535 "configure"
652  #include "confdefs.h"
653  /* Override any gcc2 internal prototype to avoid an error.  */
654  /* We use char because int might match the return type of a gcc2
655 @@ -6526,7 +6542,7 @@
656  inet_ntoa()
657  ; return 0; }
658  EOF
659 -if { (eval echo configure:6530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
660 +if { (eval echo configure:6546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
661    rm -rf conftest*
662    eval "ac_cv_lib_$ac_lib_var=yes"
663  else
664 @@ -6569,12 +6585,12 @@
665  do
666  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
667  echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
668 -echo "configure:6573: checking for $ac_hdr that defines DIR" >&5
669 +echo "configure:6589: checking for $ac_hdr that defines DIR" >&5
670  if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
671    echo $ac_n "(cached) $ac_c" 1>&6
672  else
673    cat > conftest.$ac_ext <<EOF
674 -#line 6578 "configure"
675 +#line 6594 "configure"
676  #include "confdefs.h"
677  #include <sys/types.h>
678  #include <$ac_hdr>
679 @@ -6582,7 +6598,7 @@
680  DIR *dirp = 0;
681  ; return 0; }
682  EOF
683 -if { (eval echo configure:6586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
684 +if { (eval echo configure:6602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
685    rm -rf conftest*
686    eval "ac_cv_header_dirent_$ac_safe=yes"
687  else
688 @@ -6607,7 +6623,7 @@
689  # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
690  if test $ac_header_dirent = dirent.h; then
691  echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
692 -echo "configure:6611: checking for opendir in -ldir" >&5
693 +echo "configure:6627: checking for opendir in -ldir" >&5
694  ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
695  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
696    echo $ac_n "(cached) $ac_c" 1>&6
697 @@ -6615,7 +6631,7 @@
698    ac_save_LIBS="$LIBS"
699  LIBS="-ldir  $LIBS"
700  cat > conftest.$ac_ext <<EOF
701 -#line 6619 "configure"
702 +#line 6635 "configure"
703  #include "confdefs.h"
704  /* Override any gcc2 internal prototype to avoid an error.  */
705  /* We use char because int might match the return type of a gcc2
706 @@ -6626,7 +6642,7 @@
707  opendir()
708  ; return 0; }
709  EOF
710 -if { (eval echo configure:6630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
711 +if { (eval echo configure:6646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
712    rm -rf conftest*
713    eval "ac_cv_lib_$ac_lib_var=yes"
714  else
715 @@ -6648,7 +6664,7 @@
716  
717  else
718  echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
719 -echo "configure:6652: checking for opendir in -lx" >&5
720 +echo "configure:6668: checking for opendir in -lx" >&5
721  ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
722  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
723    echo $ac_n "(cached) $ac_c" 1>&6
724 @@ -6656,7 +6672,7 @@
725    ac_save_LIBS="$LIBS"
726  LIBS="-lx  $LIBS"
727  cat > conftest.$ac_ext <<EOF
728 -#line 6660 "configure"
729 +#line 6676 "configure"
730  #include "confdefs.h"
731  /* Override any gcc2 internal prototype to avoid an error.  */
732  /* We use char because int might match the return type of a gcc2
733 @@ -6667,7 +6683,7 @@
734  opendir()
735  ; return 0; }
736  EOF
737 -if { (eval echo configure:6671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
738 +if { (eval echo configure:6687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
739    rm -rf conftest*
740    eval "ac_cv_lib_$ac_lib_var=yes"
741  else
742 @@ -6690,12 +6706,12 @@
743  fi
744  
745  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
746 -echo "configure:6694: checking for ANSI C header files" >&5
747 +echo "configure:6710: checking for ANSI C header files" >&5
748  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
749    echo $ac_n "(cached) $ac_c" 1>&6
750  else
751    cat > conftest.$ac_ext <<EOF
752 -#line 6699 "configure"
753 +#line 6715 "configure"
754  #include "confdefs.h"
755  #include <stdlib.h>
756  #include <stdarg.h>
757 @@ -6703,7 +6719,7 @@
758  #include <float.h>
759  EOF
760  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
761 -{ (eval echo configure:6707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
762 +{ (eval echo configure:6723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
763  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
764  if test -z "$ac_err"; then
765    rm -rf conftest*
766 @@ -6720,7 +6736,7 @@
767  if test $ac_cv_header_stdc = yes; then
768    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
769  cat > conftest.$ac_ext <<EOF
770 -#line 6724 "configure"
771 +#line 6740 "configure"
772  #include "confdefs.h"
773  #include <string.h>
774  EOF
775 @@ -6738,7 +6754,7 @@
776  if test $ac_cv_header_stdc = yes; then
777    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
778  cat > conftest.$ac_ext <<EOF
779 -#line 6742 "configure"
780 +#line 6758 "configure"
781  #include "confdefs.h"
782  #include <stdlib.h>
783  EOF
784 @@ -6759,7 +6775,7 @@
785    :
786  else
787    cat > conftest.$ac_ext <<EOF
788 -#line 6763 "configure"
789 +#line 6779 "configure"
790  #include "confdefs.h"
791  #include <ctype.h>
792  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
793 @@ -6770,7 +6786,7 @@
794  exit (0); }
795  
796  EOF
797 -if { (eval echo configure:6774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
798 +if { (eval echo configure:6790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
799  then
800    :
801  else
802 @@ -6794,12 +6810,12 @@
803  fi
804  
805  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
806 -echo "configure:6798: checking whether time.h and sys/time.h may both be included" >&5
807 +echo "configure:6814: checking whether time.h and sys/time.h may both be included" >&5
808  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
809    echo $ac_n "(cached) $ac_c" 1>&6
810  else
811    cat > conftest.$ac_ext <<EOF
812 -#line 6803 "configure"
813 +#line 6819 "configure"
814  #include "confdefs.h"
815  #include <sys/types.h>
816  #include <sys/time.h>
817 @@ -6808,7 +6824,7 @@
818  struct tm *tp;
819  ; return 0; }
820  EOF
821 -if { (eval echo configure:6812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
822 +if { (eval echo configure:6828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
823    rm -rf conftest*
824    ac_cv_header_time=yes
825  else
826 @@ -6829,12 +6845,12 @@
827  fi
828  
829  echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
830 -echo "configure:6833: checking for sys/wait.h that is POSIX.1 compatible" >&5
831 +echo "configure:6849: checking for sys/wait.h that is POSIX.1 compatible" >&5
832  if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
833    echo $ac_n "(cached) $ac_c" 1>&6
834  else
835    cat > conftest.$ac_ext <<EOF
836 -#line 6838 "configure"
837 +#line 6854 "configure"
838  #include "confdefs.h"
839  #include <sys/types.h>
840  #include <sys/wait.h>
841 @@ -6850,7 +6866,7 @@
842  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
843  ; return 0; }
844  EOF
845 -if { (eval echo configure:6854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
846 +if { (eval echo configure:6870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
847    rm -rf conftest*
848    ac_cv_header_sys_wait_h=yes
849  else
850 @@ -6904,17 +6920,17 @@
851  do
852  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
853  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
854 -echo "configure:6908: checking for $ac_hdr" >&5
855 +echo "configure:6924: checking for $ac_hdr" >&5
856  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
857    echo $ac_n "(cached) $ac_c" 1>&6
858  else
859    cat > conftest.$ac_ext <<EOF
860 -#line 6913 "configure"
861 +#line 6929 "configure"
862  #include "confdefs.h"
863  #include <$ac_hdr>
864  EOF
865  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
866 -{ (eval echo configure:6918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
867 +{ (eval echo configure:6934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
868  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
869  if test -z "$ac_err"; then
870    rm -rf conftest*
871 @@ -6944,17 +6960,17 @@
872  REGEX=no
873  ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
874  echo $ac_n "checking for regex.h""... $ac_c" 1>&6
875 -echo "configure:6948: checking for regex.h" >&5
876 +echo "configure:6964: checking for regex.h" >&5
877  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
878    echo $ac_n "(cached) $ac_c" 1>&6
879  else
880    cat > conftest.$ac_ext <<EOF
881 -#line 6953 "configure"
882 +#line 6969 "configure"
883  #include "confdefs.h"
884  #include <regex.h>
885  EOF
886  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
887 -{ (eval echo configure:6958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
888 +{ (eval echo configure:6974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
889  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
890  if test -z "$ac_err"; then
891    rm -rf conftest*
892 @@ -6982,7 +6998,7 @@
893    REGEX_EXTENDED=no
894    REGEX=yes
895    cat > conftest.$ac_ext <<EOF
896 -#line 6986 "configure"
897 +#line 7002 "configure"
898  #include "confdefs.h"
899  #include <regex.h>
900       #ifdef REG_EXTENDED
901 @@ -7026,7 +7042,7 @@
902  
903  ac_safe=`echo "openssl/ssl.h" | sed 'y%./+-%__pm%'`
904  echo $ac_n "checking for openssl/ssl.h""... $ac_c" 1>&6
905 -echo "configure:7030: checking for openssl/ssl.h" >&5
906 +echo "configure:7046: checking for openssl/ssl.h" >&5
907  
908  old_CFLAGS="$CFLAGS"
909  smart_include=
910 @@ -7036,7 +7052,7 @@
911    for try in $smart_try_dir; do
912      CFLAGS="$old_CFLAGS -I$try"
913      cat > conftest.$ac_ext <<EOF
914 -#line 7040 "configure"
915 +#line 7056 "configure"
916  #include "confdefs.h"
917  
918                     #include <openssl/ssl.h>
919 @@ -7044,7 +7060,7 @@
920   int a = 1;
921  ; return 0; }
922  EOF
923 -if { (eval echo configure:7048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
924 +if { (eval echo configure:7064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
925    rm -rf conftest*
926    smart_include="-I$try"
927  else
928 @@ -7063,7 +7079,7 @@
929  
930  if test "x$smart_include" = "x"; then
931    cat > conftest.$ac_ext <<EOF
932 -#line 7067 "configure"
933 +#line 7083 "configure"
934  #include "confdefs.h"
935  
936                   #include <openssl/ssl.h>
937 @@ -7071,7 +7087,7 @@
938   int a = 1;
939  ; return 0; }
940  EOF
941 -if { (eval echo configure:7075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
942 +if { (eval echo configure:7091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
943    rm -rf conftest*
944    smart_include=" "
945  else
946 @@ -7115,7 +7131,7 @@
947    for try in $smart_include_dir /usr/local/include /opt/include; do
948      CFLAGS="$old_CFLAGS -I$try"
949      cat > conftest.$ac_ext <<EOF
950 -#line 7119 "configure"
951 +#line 7135 "configure"
952  #include "confdefs.h"
953  
954                     #include <openssl/ssl.h>
955 @@ -7123,7 +7139,7 @@
956   int a = 1;
957  ; return 0; }
958  EOF
959 -if { (eval echo configure:7127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
960 +if { (eval echo configure:7143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
961    rm -rf conftest*
962    smart_include="-I$try"
963  else
964 @@ -7167,17 +7183,17 @@
965  do
966  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
967  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
968 -echo "configure:7171: checking for $ac_hdr" >&5
969 +echo "configure:7187: checking for $ac_hdr" >&5
970  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
971    echo $ac_n "(cached) $ac_c" 1>&6
972  else
973    cat > conftest.$ac_ext <<EOF
974 -#line 7176 "configure"
975 +#line 7192 "configure"
976  #include "confdefs.h"
977  #include <$ac_hdr>
978  EOF
979  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
980 -{ (eval echo configure:7181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
981 +{ (eval echo configure:7197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
982  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
983  if test -z "$ac_err"; then
984    rm -rf conftest*
985 @@ -7206,13 +7222,13 @@
986    CPPFLAGS="$old_CPPFLAGS"
987  
988    echo $ac_n "checking for OpenSSL version >= 0.9.7""... $ac_c" 1>&6
989 -echo "configure:7210: checking for OpenSSL version >= 0.9.7" >&5
990 +echo "configure:7226: checking for OpenSSL version >= 0.9.7" >&5
991         old_CPPFLAGS=$CPPFLAGS
992         if test "x$OPENSSL_INCLUDE" != "x"; then
993             CPPFLAGS="-I$OPENSSL_INCLUDE"
994            fi
995         cat > conftest.$ac_ext <<EOF
996 -#line 7216 "configure"
997 +#line 7232 "configure"
998  #include "confdefs.h"
999  #include <openssl/crypto.h>
1000         #if (OPENSSL_VERSION_NUMBER >= 0x00907000L)
1001 @@ -7241,7 +7257,7 @@
1002  sm_lib_safe=`echo "crypto" | sed 'y%./+-%__p_%'`
1003  sm_func_safe=`echo "DH_new" | sed 'y%./+-%__p_%'`
1004  echo $ac_n "checking for DH_new in -lcrypto""... $ac_c" 1>&6
1005 -echo "configure:7245: checking for DH_new in -lcrypto" >&5
1006 +echo "configure:7261: checking for DH_new in -lcrypto" >&5
1007  
1008  old_LIBS="$LIBS"
1009  smart_lib=
1010 @@ -7251,14 +7267,14 @@
1011    for try in $smart_try_dir; do
1012      LIBS="-L$try -lcrypto $old_LIBS"
1013      cat > conftest.$ac_ext <<EOF
1014 -#line 7255 "configure"
1015 +#line 7271 "configure"
1016  #include "confdefs.h"
1017  extern char DH_new();
1018  int main() {
1019   DH_new()
1020  ; return 0; }
1021  EOF
1022 -if { (eval echo configure:7262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1023 +if { (eval echo configure:7278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1024    rm -rf conftest*
1025    smart_lib="-L$try -lcrypto"
1026  else
1027 @@ -7276,14 +7292,14 @@
1028  if test "x$smart_lib" = "x"; then
1029    LIBS="-lcrypto $old_LIBS"
1030    cat > conftest.$ac_ext <<EOF
1031 -#line 7280 "configure"
1032 +#line 7296 "configure"
1033  #include "confdefs.h"
1034  extern char DH_new();
1035  int main() {
1036   DH_new()
1037  ; return 0; }
1038  EOF
1039 -if { (eval echo configure:7287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1040 +if { (eval echo configure:7303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1041    rm -rf conftest*
1042    smart_lib="-lcrypto"
1043  else
1044 @@ -7353,14 +7369,14 @@
1045    for try in $smart_lib_dir /usr/local/lib /opt/lib; do
1046      LIBS="-L$try -lcrypto $old_LIBS"
1047      cat > conftest.$ac_ext <<EOF
1048 -#line 7357 "configure"
1049 +#line 7373 "configure"
1050  #include "confdefs.h"
1051  extern char DH_new();
1052  int main() {
1053   DH_new()
1054  ; return 0; }
1055  EOF
1056 -if { (eval echo configure:7364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1057 +if { (eval echo configure:7380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1058    rm -rf conftest*
1059    smart_lib="-L$try -lcrypto"
1060  else
1061 @@ -7390,7 +7406,7 @@
1062  sm_lib_safe=`echo "ssl" | sed 'y%./+-%__p_%'`
1063  sm_func_safe=`echo "SSL_new" | sed 'y%./+-%__p_%'`
1064  echo $ac_n "checking for SSL_new in -lssl""... $ac_c" 1>&6
1065 -echo "configure:7394: checking for SSL_new in -lssl" >&5
1066 +echo "configure:7410: checking for SSL_new in -lssl" >&5
1067  
1068  old_LIBS="$LIBS"
1069  smart_lib=
1070 @@ -7400,14 +7416,14 @@
1071    for try in $smart_try_dir; do
1072      LIBS="-L$try -lssl $old_LIBS"
1073      cat > conftest.$ac_ext <<EOF
1074 -#line 7404 "configure"
1075 +#line 7420 "configure"
1076  #include "confdefs.h"
1077  extern char SSL_new();
1078  int main() {
1079   SSL_new()
1080  ; return 0; }
1081  EOF
1082 -if { (eval echo configure:7411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1083 +if { (eval echo configure:7427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1084    rm -rf conftest*
1085    smart_lib="-L$try -lssl"
1086  else
1087 @@ -7425,14 +7441,14 @@
1088  if test "x$smart_lib" = "x"; then
1089    LIBS="-lssl $old_LIBS"
1090    cat > conftest.$ac_ext <<EOF
1091 -#line 7429 "configure"
1092 +#line 7445 "configure"
1093  #include "confdefs.h"
1094  extern char SSL_new();
1095  int main() {
1096   SSL_new()
1097  ; return 0; }
1098  EOF
1099 -if { (eval echo configure:7436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1100 +if { (eval echo configure:7452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1101    rm -rf conftest*
1102    smart_lib="-lssl"
1103  else
1104 @@ -7502,14 +7518,14 @@
1105    for try in $smart_lib_dir /usr/local/lib /opt/lib; do
1106      LIBS="-L$try -lssl $old_LIBS"
1107      cat > conftest.$ac_ext <<EOF
1108 -#line 7506 "configure"
1109 +#line 7522 "configure"
1110  #include "confdefs.h"
1111  extern char SSL_new();
1112  int main() {
1113   SSL_new()
1114  ; return 0; }
1115  EOF
1116 -if { (eval echo configure:7513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1117 +if { (eval echo configure:7529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1118    rm -rf conftest*
1119    smart_lib="-L$try -lssl"
1120  else
1121 @@ -7545,12 +7561,12 @@
1122  
1123  
1124  echo $ac_n "checking for off_t""... $ac_c" 1>&6
1125 -echo "configure:7549: checking for off_t" >&5
1126 +echo "configure:7565: checking for off_t" >&5
1127  if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
1128    echo $ac_n "(cached) $ac_c" 1>&6
1129  else
1130    cat > conftest.$ac_ext <<EOF
1131 -#line 7554 "configure"
1132 +#line 7570 "configure"
1133  #include "confdefs.h"
1134  #include <sys/types.h>
1135  #if STDC_HEADERS
1136 @@ -7578,12 +7594,12 @@
1137  fi
1138   
1139  echo $ac_n "checking for pid_t""... $ac_c" 1>&6
1140 -echo "configure:7582: checking for pid_t" >&5
1141 +echo "configure:7598: checking for pid_t" >&5
1142  if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
1143    echo $ac_n "(cached) $ac_c" 1>&6
1144  else
1145    cat > conftest.$ac_ext <<EOF
1146 -#line 7587 "configure"
1147 +#line 7603 "configure"
1148  #include "confdefs.h"
1149  #include <sys/types.h>
1150  #if STDC_HEADERS
1151 @@ -7611,12 +7627,12 @@
1152  fi
1153  
1154  echo $ac_n "checking for size_t""... $ac_c" 1>&6
1155 -echo "configure:7615: checking for size_t" >&5
1156 +echo "configure:7631: checking for size_t" >&5
1157  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
1158    echo $ac_n "(cached) $ac_c" 1>&6
1159  else
1160    cat > conftest.$ac_ext <<EOF
1161 -#line 7620 "configure"
1162 +#line 7636 "configure"
1163  #include "confdefs.h"
1164  #include <sys/types.h>
1165  #if STDC_HEADERS
1166 @@ -7644,12 +7660,12 @@
1167  fi
1168  
1169  echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
1170 -echo "configure:7648: checking for uid_t in sys/types.h" >&5
1171 +echo "configure:7664: checking for uid_t in sys/types.h" >&5
1172  if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
1173    echo $ac_n "(cached) $ac_c" 1>&6
1174  else
1175    cat > conftest.$ac_ext <<EOF
1176 -#line 7653 "configure"
1177 +#line 7669 "configure"
1178  #include "confdefs.h"
1179  #include <sys/types.h>
1180  EOF
1181 @@ -7680,13 +7696,13 @@
1182  
1183  
1184    echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
1185 -echo "configure:7684: checking for socklen_t" >&5
1186 +echo "configure:7700: checking for socklen_t" >&5
1187  if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
1188    echo $ac_n "(cached) $ac_c" 1>&6
1189  else
1190     ac_cv_type_socklen_t=no
1191        cat > conftest.$ac_ext <<EOF
1192 -#line 7690 "configure"
1193 +#line 7706 "configure"
1194  #include "confdefs.h"
1195  #ifdef HAVE_SYS_TYPES_H
1196  #include <sys/types.h>
1197 @@ -7699,7 +7715,7 @@
1198  socklen_t foo
1199  ; return 0; }
1200  EOF
1201 -if { (eval echo configure:7703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1202 +if { (eval echo configure:7719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1203    rm -rf conftest*
1204    ac_cv_type_socklen_t=yes
1205  else
1206 @@ -7723,13 +7739,13 @@
1207  
1208  
1209    echo $ac_n "checking for uint8_t""... $ac_c" 1>&6
1210 -echo "configure:7727: checking for uint8_t" >&5
1211 +echo "configure:7743: checking for uint8_t" >&5
1212  if eval "test \"`echo '$''{'ac_cv_type_uint8_t'+set}'`\" = set"; then
1213    echo $ac_n "(cached) $ac_c" 1>&6
1214  else
1215     ac_cv_type_uint8_t=no
1216        cat > conftest.$ac_ext <<EOF
1217 -#line 7733 "configure"
1218 +#line 7749 "configure"
1219  #include "confdefs.h"
1220  #ifdef HAVE_INTTYPES_H
1221  #include <inttypes.h>
1222 @@ -7742,7 +7758,7 @@
1223  uint8_t foo
1224  ; return 0; }
1225  EOF
1226 -if { (eval echo configure:7746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1227 +if { (eval echo configure:7762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1228    rm -rf conftest*
1229    ac_cv_type_uint8_t=yes
1230  else
1231 @@ -7766,13 +7782,13 @@
1232  
1233  
1234    echo $ac_n "checking for uint16_t""... $ac_c" 1>&6
1235 -echo "configure:7770: checking for uint16_t" >&5
1236 +echo "configure:7786: checking for uint16_t" >&5
1237  if eval "test \"`echo '$''{'ac_cv_type_uint16_t'+set}'`\" = set"; then
1238    echo $ac_n "(cached) $ac_c" 1>&6
1239  else
1240     ac_cv_type_uint16_t=no
1241        cat > conftest.$ac_ext <<EOF
1242 -#line 7776 "configure"
1243 +#line 7792 "configure"
1244  #include "confdefs.h"
1245  #ifdef HAVE_INTTYPES_H
1246  #include <inttypes.h>
1247 @@ -7785,7 +7801,7 @@
1248  uint16_t foo
1249  ; return 0; }
1250  EOF
1251 -if { (eval echo configure:7789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1252 +if { (eval echo configure:7805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1253    rm -rf conftest*
1254    ac_cv_type_uint16_t=yes
1255  else
1256 @@ -7809,13 +7825,13 @@
1257  
1258  
1259    echo $ac_n "checking for uint32_t""... $ac_c" 1>&6
1260 -echo "configure:7813: checking for uint32_t" >&5
1261 +echo "configure:7829: checking for uint32_t" >&5
1262  if eval "test \"`echo '$''{'ac_cv_type_uint32_t'+set}'`\" = set"; then
1263    echo $ac_n "(cached) $ac_c" 1>&6
1264  else
1265     ac_cv_type_uint32_t=no
1266        cat > conftest.$ac_ext <<EOF
1267 -#line 7819 "configure"
1268 +#line 7835 "configure"
1269  #include "confdefs.h"
1270  #ifdef HAVE_INTTYPES_H
1271  #include <inttypes.h>
1272 @@ -7828,7 +7844,7 @@
1273  uint32_t foo
1274  ; return 0; }
1275  EOF
1276 -if { (eval echo configure:7832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1277 +if { (eval echo configure:7848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1278    rm -rf conftest*
1279    ac_cv_type_uint32_t=yes
1280  else
1281 @@ -7877,12 +7893,12 @@
1282  
1283  do
1284  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1285 -echo "configure:7881: checking for $ac_func" >&5
1286 +echo "configure:7897: checking for $ac_func" >&5
1287  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1288    echo $ac_n "(cached) $ac_c" 1>&6
1289  else
1290    cat > conftest.$ac_ext <<EOF
1291 -#line 7886 "configure"
1292 +#line 7902 "configure"
1293  #include "confdefs.h"
1294  /* System header to define __stub macros and hopefully few prototypes,
1295      which can conflict with char $ac_func(); below.  */
1296 @@ -7905,7 +7921,7 @@
1297  
1298  ; return 0; }
1299  EOF
1300 -if { (eval echo configure:7909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1301 +if { (eval echo configure:7925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1302    rm -rf conftest*
1303    eval "ac_cv_func_$ac_func=yes"
1304  else
1305 @@ -7941,12 +7957,12 @@
1306  
1307  do
1308  echo $ac_n "checking whether $ac_func must be declared""... $ac_c" 1>&6
1309 -echo "configure:7945: checking whether $ac_func must be declared" >&5
1310 +echo "configure:7961: checking whether $ac_func must be declared" >&5
1311  if eval "test \"`echo '$''{'radius_cv_decl_needed_$ac_func'+set}'`\" = set"; then
1312    echo $ac_n "(cached) $ac_c" 1>&6
1313  else
1314    cat > conftest.$ac_ext <<EOF
1315 -#line 7950 "configure"
1316 +#line 7966 "configure"
1317  #include "confdefs.h"
1318  
1319  #include <stdio.h>
1320 @@ -8001,7 +8017,7 @@
1321  char *(*pfn) = (char *(*)) $ac_func
1322  ; return 0; }
1323  EOF
1324 -if { (eval echo configure:8005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1325 +if { (eval echo configure:8021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1326    rm -rf conftest*
1327    eval "radius_cv_decl_needed_$ac_func=no"
1328  else
1329 @@ -8028,12 +8044,12 @@
1330  
1331  
1332  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
1333 -echo "configure:8032: checking return type of signal handlers" >&5
1334 +echo "configure:8048: checking return type of signal handlers" >&5
1335  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
1336    echo $ac_n "(cached) $ac_c" 1>&6
1337  else
1338    cat > conftest.$ac_ext <<EOF
1339 -#line 8037 "configure"
1340 +#line 8053 "configure"
1341  #include "confdefs.h"
1342  #include <sys/types.h>
1343  #include <signal.h>
1344 @@ -8050,7 +8066,7 @@
1345  int i;
1346  ; return 0; }
1347  EOF
1348 -if { (eval echo configure:8054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1349 +if { (eval echo configure:8070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1350    rm -rf conftest*
1351    ac_cv_type_signal=void
1352  else
1353 @@ -8073,11 +8089,11 @@
1354  then
1355   
1356    echo $ac_n "checking for ut_xtime in struct utmpx""... $ac_c" 1>&6
1357 -echo "configure:8077: checking for ut_xtime in struct utmpx" >&5
1358 +echo "configure:8093: checking for ut_xtime in struct utmpx" >&5
1359  
1360  
1361    cat > conftest.$ac_ext <<EOF
1362 -#line 8081 "configure"
1363 +#line 8097 "configure"
1364  #include "confdefs.h"
1365  
1366  #include <utmpx.h>
1367 @@ -8089,7 +8105,7 @@
1368   int foo = offsetof(struct utmpx, ut_xtime) 
1369  ; return 0; }
1370  EOF
1371 -if { (eval echo configure:8093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1372 +if { (eval echo configure:8109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1373    rm -rf conftest*
1374    has_element=" "
1375  else
1376 @@ -8120,11 +8136,11 @@
1377  
1378  
1379    echo $ac_n "checking for ipi_addr in struct in_pktinfo""... $ac_c" 1>&6
1380 -echo "configure:8124: checking for ipi_addr in struct in_pktinfo" >&5
1381 +echo "configure:8140: checking for ipi_addr in struct in_pktinfo" >&5
1382  
1383  
1384    cat > conftest.$ac_ext <<EOF
1385 -#line 8128 "configure"
1386 +#line 8144 "configure"
1387  #include "confdefs.h"
1388  
1389  #include <netinet/in.h>
1390 @@ -8136,7 +8152,7 @@
1391   int foo = offsetof(struct in_pktinfo, ipi_addr) 
1392  ; return 0; }
1393  EOF
1394 -if { (eval echo configure:8140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1395 +if { (eval echo configure:8156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1396    rm -rf conftest*
1397    has_element=" "
1398  else
1399 @@ -8166,12 +8182,12 @@
1400  
1401  
1402  echo $ac_n "checking for working const""... $ac_c" 1>&6
1403 -echo "configure:8170: checking for working const" >&5
1404 +echo "configure:8186: checking for working const" >&5
1405  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1406    echo $ac_n "(cached) $ac_c" 1>&6
1407  else
1408    cat > conftest.$ac_ext <<EOF
1409 -#line 8175 "configure"
1410 +#line 8191 "configure"
1411  #include "confdefs.h"
1412  
1413  int main() {
1414 @@ -8220,7 +8236,7 @@
1415  
1416  ; return 0; }
1417  EOF
1418 -if { (eval echo configure:8224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1419 +if { (eval echo configure:8240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1420    rm -rf conftest*
1421    ac_cv_c_const=yes
1422  else
1423 @@ -8242,7 +8258,7 @@
1424   
1425  
1426  echo $ac_n "checking type of OS""... $ac_c" 1>&6
1427 -echo "configure:8246: checking type of OS" >&5
1428 +echo "configure:8262: checking type of OS" >&5
1429  OS=`uname -s`
1430  echo "$ac_t""$OS" 1>&6
1431  if test "$OS" = "OS/2"; then
1432 @@ -8257,7 +8273,7 @@
1433  fi
1434  
1435  echo $ac_n "checking for developer gcc flags""... $ac_c" 1>&6
1436 -echo "configure:8261: checking for developer gcc flags" >&5
1437 +echo "configure:8277: checking for developer gcc flags" >&5
1438  if test "x$developer" = "xyes" -a "x$GCC" = "xyes"; then
1439    devflags="-g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef"
1440    CFLAGS="$CFLAGS $devflags"
1441 @@ -8272,7 +8288,7 @@
1442  
1443  
1444  echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
1445 -echo "configure:8276: checking for crypt in -lcrypt" >&5
1446 +echo "configure:8292: checking for crypt in -lcrypt" >&5
1447  ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
1448  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1449    echo $ac_n "(cached) $ac_c" 1>&6
1450 @@ -8280,7 +8296,7 @@
1451    ac_save_LIBS="$LIBS"
1452  LIBS="-lcrypt  $LIBS"
1453  cat > conftest.$ac_ext <<EOF
1454 -#line 8284 "configure"
1455 +#line 8300 "configure"
1456  #include "confdefs.h"
1457  /* Override any gcc2 internal prototype to avoid an error.  */
1458  /* We use char because int might match the return type of a gcc2
1459 @@ -8291,7 +8307,7 @@
1460  crypt()
1461  ; return 0; }
1462  EOF
1463 -if { (eval echo configure:8295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1464 +if { (eval echo configure:8311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1465    rm -rf conftest*
1466    eval "ac_cv_lib_$ac_lib_var=yes"
1467  else
1468 @@ -8319,12 +8335,12 @@
1469  
1470  else
1471    echo $ac_n "checking for crypt""... $ac_c" 1>&6
1472 -echo "configure:8323: checking for crypt" >&5
1473 +echo "configure:8339: checking for crypt" >&5
1474  if eval "test \"`echo '$''{'ac_cv_func_crypt'+set}'`\" = set"; then
1475    echo $ac_n "(cached) $ac_c" 1>&6
1476  else
1477    cat > conftest.$ac_ext <<EOF
1478 -#line 8328 "configure"
1479 +#line 8344 "configure"
1480  #include "confdefs.h"
1481  /* System header to define __stub macros and hopefully few prototypes,
1482      which can conflict with char crypt(); below.  */
1483 @@ -8347,7 +8363,7 @@
1484  
1485  ; return 0; }
1486  EOF
1487 -if { (eval echo configure:8351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1488 +if { (eval echo configure:8367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1489    rm -rf conftest*
1490    eval "ac_cv_func_crypt=yes"
1491  else
1492 @@ -8372,7 +8388,7 @@
1493  fi
1494  
1495  echo $ac_n "checking for setkey in -lcipher""... $ac_c" 1>&6
1496 -echo "configure:8376: checking for setkey in -lcipher" >&5
1497 +echo "configure:8392: checking for setkey in -lcipher" >&5
1498  ac_lib_var=`echo cipher'_'setkey | sed 'y%./+-%__p_%'`
1499  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1500    echo $ac_n "(cached) $ac_c" 1>&6
1501 @@ -8380,7 +8396,7 @@
1502    ac_save_LIBS="$LIBS"
1503  LIBS="-lcipher  $LIBS"
1504  cat > conftest.$ac_ext <<EOF
1505 -#line 8384 "configure"
1506 +#line 8400 "configure"
1507  #include "confdefs.h"
1508  /* Override any gcc2 internal prototype to avoid an error.  */
1509  /* We use char because int might match the return type of a gcc2
1510 @@ -8391,7 +8407,7 @@
1511  setkey()
1512  ; return 0; }
1513  EOF
1514 -if { (eval echo configure:8395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1515 +if { (eval echo configure:8411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1516    rm -rf conftest*
1517    eval "ac_cv_lib_$ac_lib_var=yes"
1518  else
1519 @@ -8420,10 +8436,10 @@
1520         
1521  
1522  echo $ac_n "checking for asn1.h,snmp.h,snmp_impl.h""... $ac_c" 1>&6
1523 -echo "configure:8424: checking for asn1.h,snmp.h,snmp_impl.h" >&5
1524 +echo "configure:8440: checking for asn1.h,snmp.h,snmp_impl.h" >&5
1525  
1526  cat > conftest.$ac_ext <<EOF
1527 -#line 8427 "configure"
1528 +#line 8443 "configure"
1529  #include "confdefs.h"
1530  
1531  #ifdef HAVE_SYS_TYPES_H
1532 @@ -8448,7 +8464,7 @@
1533   int a = 1;
1534  ; return 0; }
1535  EOF
1536 -if { (eval echo configure:8452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1537 +if { (eval echo configure:8468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1538    rm -rf conftest*
1539    SNMP_INCLUDE="";ucdsnmp=yes
1540  else
1541 @@ -8464,7 +8480,7 @@
1542    for try in /usr/include /usr/local/include $with_snmp_include_dir; do
1543      CFLAGS="$old_CFLAGS -I$try"
1544      cat > conftest.$ac_ext <<EOF
1545 -#line 8468 "configure"
1546 +#line 8484 "configure"
1547  #include "confdefs.h"
1548  
1549  #ifdef HAVE_SYS_TYPES_H
1550 @@ -8489,7 +8505,7 @@
1551   int a = 1;
1552  ; return 0; }
1553  EOF
1554 -if { (eval echo configure:8493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1555 +if { (eval echo configure:8509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1556    rm -rf conftest*
1557    SNMP_INCLUDE="-I$try";ucdsnmp=yes
1558  else
1559 @@ -8511,7 +8527,7 @@
1560    for try in /usr/include/ucd-snmp /usr/local/include/ucd-snmp $with_snmp_include_dir; do
1561      CFLAGS="$old_CFLAGS -I$try"
1562  cat > conftest.$ac_ext <<EOF
1563 -#line 8515 "configure"
1564 +#line 8531 "configure"
1565  #include "confdefs.h"
1566  
1567  #ifdef HAVE_SYS_TYPES_H
1568 @@ -8536,7 +8552,7 @@
1569   int a = 1;
1570  ; return 0; }
1571  EOF
1572 -if { (eval echo configure:8540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1573 +if { (eval echo configure:8556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1574    rm -rf conftest*
1575    SNMP_INCLUDE="";ucdsnmp=no
1576  else
1577 @@ -8558,7 +8574,7 @@
1578    for try in /usr/include/ucd-snmp /usr/local/include/ucd-snmp $with_snmp_include_dir; do
1579      CFLAGS="$old_CFLAGS -I$try"
1580      cat > conftest.$ac_ext <<EOF
1581 -#line 8562 "configure"
1582 +#line 8578 "configure"
1583  #include "confdefs.h"
1584  
1585  #ifdef HAVE_SYS_TYPES_H
1586 @@ -8583,7 +8599,7 @@
1587   int a = 1;
1588  ; return 0; }
1589  EOF
1590 -if { (eval echo configure:8587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1591 +if { (eval echo configure:8603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1592    rm -rf conftest*
1593    SNMP_INCLUDE="-I$try";ucdsnmp=no
1594  else
1595 @@ -8617,19 +8633,19 @@
1596  
1597    fi
1598    echo $ac_n "checking for snmp_build_var_op in -lsnmp""... $ac_c" 1>&6
1599 -echo "configure:8621: checking for snmp_build_var_op in -lsnmp" >&5
1600 +echo "configure:8637: checking for snmp_build_var_op in -lsnmp" >&5
1601  
1602    old_LIBS="$LIBS"
1603    LIBS="$old_LIBS -lsnmp"
1604    cat > conftest.$ac_ext <<EOF
1605 -#line 8626 "configure"
1606 +#line 8642 "configure"
1607  #include "confdefs.h"
1608  extern char snmp_build_var_op();
1609  int main() {
1610   snmp_build_var_op()
1611  ; return 0; }
1612  EOF
1613 -if { (eval echo configure:8633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1614 +if { (eval echo configure:8649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1615    rm -rf conftest*
1616    SNMP_LIBS="-lsnmp"
1617  else
1618 @@ -8644,14 +8660,14 @@
1619      for try in /usr/lib /usr/local/lib /usr/local/snmp/lib $with_snmp_lib_dir; do
1620        LIBS="$old_LIBS -L$try -lsnmp"
1621        cat > conftest.$ac_ext <<EOF
1622 -#line 8648 "configure"
1623 +#line 8664 "configure"
1624  #include "confdefs.h"
1625  extern char snmp_build_var_op();
1626  int main() {
1627   snmp_build_var_op()
1628  ; return 0; }
1629  EOF
1630 -if { (eval echo configure:8655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1631 +if { (eval echo configure:8671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1632    rm -rf conftest*
1633    SNMP_LIBS="-L$try -lsnmp"
1634  else
1635 @@ -8666,14 +8682,14 @@
1636        fi
1637        LIBS="$old_LIBS -L$try -lsnmp -lcrypto"
1638        cat > conftest.$ac_ext <<EOF
1639 -#line 8670 "configure"
1640 +#line 8686 "configure"
1641  #include "confdefs.h"
1642  extern char snmp_build_var_op();
1643  int main() {
1644   snmp_build_var_op()
1645  ; return 0; }
1646  EOF
1647 -if { (eval echo configure:8677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1648 +if { (eval echo configure:8693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1649    rm -rf conftest*
1650    SNMP_LIBS="-L$try -lsnmp -lcrypto"
1651  else
1652 @@ -8688,14 +8704,14 @@
1653        fi
1654        LIBS="$old_LIBS -L$try -lsnmp -lcrypto -lkstat"
1655        cat > conftest.$ac_ext <<EOF
1656 -#line 8692 "configure"
1657 +#line 8708 "configure"
1658  #include "confdefs.h"
1659  extern char snmp_build_var_op();
1660  int main() {
1661   snmp_build_var_op()
1662  ; return 0; }
1663  EOF
1664 -if { (eval echo configure:8699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1665 +if { (eval echo configure:8715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1666    rm -rf conftest*
1667    SNMP_LIBS="-L$try -lsnmp -lcrypto -lkstat"
1668  else
1669 @@ -8733,7 +8749,7 @@
1670  
1671  gethostbyaddrrstyle=""
1672  echo $ac_n "checking gethostbyaddr_r() syntax""... $ac_c" 1>&6
1673 -echo "configure:8737: checking gethostbyaddr_r() syntax" >&5
1674 +echo "configure:8753: checking gethostbyaddr_r() syntax" >&5
1675  case "$host" in
1676  *-freebsd*)
1677         cat >> confdefs.h <<\EOF
1678 @@ -8746,7 +8762,7 @@
1679  esac
1680  if test "x$gethostbyaddrrstyle" = "x"; then
1681         cat > conftest.$ac_ext <<EOF
1682 -#line 8750 "configure"
1683 +#line 8766 "configure"
1684  #include "confdefs.h"
1685  
1686  #include <stdio.h>
1687 @@ -8756,7 +8772,7 @@
1688   gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL, NULL) 
1689  ; return 0; }
1690  EOF
1691 -if { (eval echo configure:8760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1692 +if { (eval echo configure:8776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1693    rm -rf conftest*
1694    
1695         cat >> confdefs.h <<\EOF
1696 @@ -8773,7 +8789,7 @@
1697  fi
1698  if test "x$gethostbyaddrrstyle" = "x"; then
1699         cat > conftest.$ac_ext <<EOF
1700 -#line 8777 "configure"
1701 +#line 8793 "configure"
1702  #include "confdefs.h"
1703  
1704  #include <stdio.h>
1705 @@ -8783,7 +8799,7 @@
1706   gethostbyaddr_r(NULL, 0, 0, NULL, NULL, 0, NULL)  
1707  ; return 0; }
1708  EOF
1709 -if { (eval echo configure:8787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1710 +if { (eval echo configure:8803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1711    rm -rf conftest*
1712    
1713                 cat >> confdefs.h <<\EOF
1714 @@ -8800,7 +8816,7 @@
1715  fi
1716  if test "x$gethostbyaddrrstyle" = "x"; then
1717         cat > conftest.$ac_ext <<EOF
1718 -#line 8804 "configure"
1719 +#line 8820 "configure"
1720  #include "confdefs.h"
1721  
1722  #include <stdio.h>
1723 @@ -8810,7 +8826,7 @@
1724   gethostbyaddr(NULL, 0, 0)  
1725  ; return 0; }
1726  EOF
1727 -if { (eval echo configure:8814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1728 +if { (eval echo configure:8830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1729    rm -rf conftest*
1730    
1731                 cat >> confdefs.h <<\EOF
1732 @@ -8838,9 +8854,9 @@
1733  
1734  gethostbynamerstyle=""
1735  echo $ac_n "checking gethostbyname_r() syntax""... $ac_c" 1>&6
1736 -echo "configure:8842: checking gethostbyname_r() syntax" >&5
1737 +echo "configure:8858: checking gethostbyname_r() syntax" >&5
1738  cat > conftest.$ac_ext <<EOF
1739 -#line 8844 "configure"
1740 +#line 8860 "configure"
1741  #include "confdefs.h"
1742  
1743  #include <stdio.h>
1744 @@ -8850,7 +8866,7 @@
1745   gethostbyname_r(NULL, NULL, NULL, 0, NULL, NULL) 
1746  ; return 0; }
1747  EOF
1748 -if { (eval echo configure:8854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1749 +if { (eval echo configure:8870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1750    rm -rf conftest*
1751    
1752         cat >> confdefs.h <<\EOF
1753 @@ -8866,7 +8882,7 @@
1754  rm -f conftest*
1755  if test "x$gethostbynamerstyle" = "x"; then
1756         cat > conftest.$ac_ext <<EOF
1757 -#line 8870 "configure"
1758 +#line 8886 "configure"
1759  #include "confdefs.h"
1760  
1761  #include <stdio.h>
1762 @@ -8876,7 +8892,7 @@
1763   gethostbyname_r(NULL, NULL, NULL, 0, NULL)  
1764  ; return 0; }
1765  EOF
1766 -if { (eval echo configure:8880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1767 +if { (eval echo configure:8896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1768    rm -rf conftest*
1769    
1770                 cat >> confdefs.h <<\EOF
1771 @@ -8893,7 +8909,7 @@
1772  fi
1773  if test "x$gethostbynamerstyle" = "x"; then
1774         cat > conftest.$ac_ext <<EOF
1775 -#line 8897 "configure"
1776 +#line 8913 "configure"
1777  #include "confdefs.h"
1778  
1779  #include <stdio.h>
1780 @@ -8903,7 +8919,7 @@
1781   gethostbyname(NULL)  
1782  ; return 0; }
1783  EOF
1784 -if { (eval echo configure:8907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1785 +if { (eval echo configure:8923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1786    rm -rf conftest*
1787    
1788                 cat >> confdefs.h <<\EOF
1789 @@ -8931,9 +8947,9 @@
1790  
1791  ctimerstyle=""
1792  echo $ac_n "checking ctime_r() syntax""... $ac_c" 1>&6
1793 -echo "configure:8935: checking ctime_r() syntax" >&5
1794 +echo "configure:8951: checking ctime_r() syntax" >&5
1795  cat > conftest.$ac_ext <<EOF
1796 -#line 8937 "configure"
1797 +#line 8953 "configure"
1798  #include "confdefs.h"
1799  
1800  #include <time.h>
1801 @@ -8942,7 +8958,7 @@
1802   ctime_r(NULL, NULL, 0) 
1803  ; return 0; }
1804  EOF
1805 -if { (eval echo configure:8946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1806 +if { (eval echo configure:8962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1807    rm -rf conftest*
1808    
1809         cat >> confdefs.h <<\EOF
1810 @@ -8958,7 +8974,7 @@
1811  rm -f conftest*
1812  if test "x$ctimerstyle" = "x"; then
1813         cat > conftest.$ac_ext <<EOF
1814 -#line 8962 "configure"
1815 +#line 8978 "configure"
1816  #include "confdefs.h"
1817  
1818  #include <time.h>
1819 @@ -8967,7 +8983,7 @@
1820   ctime_r(NULL, NULL) 
1821  ; return 0; }
1822  EOF
1823 -if { (eval echo configure:8971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1824 +if { (eval echo configure:8987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1825    rm -rf conftest*
1826    
1827                 cat >> confdefs.h <<\EOF
1828 @@ -8992,7 +9008,7 @@
1829  
1830  if test x"$rad_enable_largefiles" = xyes ; then
1831      echo $ac_n "checking for largefile linkage""... $ac_c" 1>&6
1832 -echo "configure:8996: checking for largefile linkage" >&5
1833 +echo "configure:9012: checking for largefile linkage" >&5
1834      case "$host" in
1835      *-aix4.01*)
1836          echo "$ac_t""no" 1>&6
1837 @@ -9029,7 +9045,7 @@
1838          # Extract the first word of "getconf", so it can be a program name with args.
1839  set dummy getconf; ac_word=$2
1840  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1841 -echo "configure:9033: checking for $ac_word" >&5
1842 +echo "configure:9049: checking for $ac_word" >&5
1843  if eval "test \"`echo '$''{'ac_cv_path_GETCONF'+set}'`\" = set"; then
1844    echo $ac_n "(cached) $ac_c" 1>&6
1845  else