Fix typo in Source: URL
[openwrt.git] / package / snort / patches / 250-inline-libnet.patch
1 diff -ruN snort-2.3.3-old/configure snort-2.3.3-new/configure
2 --- snort-2.3.3-old/configure 2005-04-23 21:47:27.000000000 +0200
3 +++ snort-2.3.3-new/configure 2005-05-03 03:01:43.000000000 +0200
4 @@ -1,19 +1,10 @@
5 #! /bin/sh
6 # Guess values for system-dependent variables and create Makefiles.
7 -# Generated by GNU Autoconf 2.53.
8 +# Generated by GNU Autoconf 2.59.
9 #
10 -# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
11 -# Free Software Foundation, Inc.
12 +# Copyright (C) 2003 Free Software Foundation, Inc.
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 -
16 -if expr a : '\(a\)' >/dev/null 2>&1; then
17 - as_expr=expr
18 -else
19 - as_expr=false
20 -fi
21 -
22 -
23 ## --------------------- ##
24 ## M4sh Initialization. ##
25 ## --------------------- ##
26 @@ -22,46 +13,57 @@
27 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28 emulate sh
29 NULLCMD=:
30 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
31 + # is contrary to our usage. Disable this feature.
32 + alias -g '${1+"$@"}'='"$@"'
33 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34 set -o posix
35 fi
36 +DUALCASE=1; export DUALCASE # for MKS sh
37
38 -# NLS nuisances.
39 # Support unset when possible.
40 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
41 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
42 as_unset=unset
43 else
44 as_unset=false
45 fi
46
47 -(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
48 - { $as_unset LANG || test "${LANG+set}" != set; } ||
49 - { LANG=C; export LANG; }
50 -(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
51 - { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
52 - { LC_ALL=C; export LC_ALL; }
53 -(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
54 - { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
55 - { LC_TIME=C; export LC_TIME; }
56 -(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
57 - { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
58 - { LC_CTYPE=C; export LC_CTYPE; }
59 -(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
60 - { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
61 - { LANGUAGE=C; export LANGUAGE; }
62 -(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
63 - { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
64 - { LC_COLLATE=C; export LC_COLLATE; }
65 -(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
66 - { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
67 - { LC_NUMERIC=C; export LC_NUMERIC; }
68 -(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
69 - { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
70 - { LC_MESSAGES=C; export LC_MESSAGES; }
71 +
72 +# Work around bugs in pre-3.0 UWIN ksh.
73 +$as_unset ENV MAIL MAILPATH
74 +PS1='$ '
75 +PS2='> '
76 +PS4='+ '
77 +
78 +# NLS nuisances.
79 +for as_var in \
80 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
81 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
82 + LC_TELEPHONE LC_TIME
83 +do
84 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
85 + eval $as_var=C; export $as_var
86 + else
87 + $as_unset $as_var
88 + fi
89 +done
90 +
91 +# Required to use basename.
92 +if expr a : '\(a\)' >/dev/null 2>&1; then
93 + as_expr=expr
94 +else
95 + as_expr=false
96 +fi
97 +
98 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
99 + as_basename=basename
100 +else
101 + as_basename=false
102 +fi
103
104
105 # Name of the executable.
106 -as_me=`(basename "$0") 2>/dev/null ||
107 +as_me=`$as_basename "$0" ||
108 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
109 X"$0" : 'X\(//\)$' \| \
110 X"$0" : 'X\(/\)$' \| \
111 @@ -72,6 +74,7 @@
112 /^X\/\(\/\).*/{ s//\1/; q; }
113 s/.*/./; q'`
114
115 +
116 # PATH needs CR, and LINENO needs CR and PATH.
117 # Avoid depending upon Character Ranges.
118 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
119 @@ -82,15 +85,15 @@
120
121 # The user is always right.
122 if test "${PATH_SEPARATOR+set}" != set; then
123 - echo "#! /bin/sh" >conftest.sh
124 - echo "exit 0" >>conftest.sh
125 - chmod +x conftest.sh
126 - if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
127 + echo "#! /bin/sh" >conf$$.sh
128 + echo "exit 0" >>conf$$.sh
129 + chmod +x conf$$.sh
130 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
131 PATH_SEPARATOR=';'
132 else
133 PATH_SEPARATOR=:
134 fi
135 - rm -f conftest.sh
136 + rm -f conf$$.sh
137 fi
138
139
140 @@ -138,6 +141,8 @@
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 @@ -210,13 +215,20 @@
150 fi
151 rm -f conf$$ conf$$.exe conf$$.file
152
153 +if mkdir -p . 2>/dev/null; then
154 + as_mkdir_p=:
155 +else
156 + test -d ./-p && rmdir ./-p
157 + as_mkdir_p=false
158 +fi
159 +
160 as_executable_p="test -f"
161
162 # Sed expression to map a string onto a valid CPP name.
163 -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
164 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
165
166 # Sed expression to map a string onto a valid variable name.
167 -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
168 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
169
170
171 # IFS
172 @@ -226,7 +238,7 @@
173 IFS=" $as_nl"
174
175 # CDPATH.
176 -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
177 +$as_unset CDPATH
178
179
180 # Name of the host.
181 @@ -240,6 +252,7 @@
182 # Initializations.
183 #
184 ac_default_prefix=/usr/local
185 +ac_config_libobj_dir=.
186 cross_compiling=no
187 subdirs=
188 MFLAGS=
189 @@ -296,6 +309,8 @@
190 # include <unistd.h>
191 #endif"
192
193 +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os extra_incl CPP EGREP INCLUDES LIBOBJS LTLIBOBJS'
194 +ac_subst_files=''
195
196 # Initialize some variables set by options.
197 ac_init_help=
198 @@ -653,7 +668,7 @@
199
200 # Be sure to have absolute paths.
201 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
202 - localstatedir libdir includedir oldincludedir infodir mandir
203 + localstatedir libdir includedir oldincludedir infodir mandir
204 do
205 eval ac_val=$`echo $ac_var`
206 case $ac_val in
207 @@ -693,10 +708,10 @@
208 # Try the directory containing this script, then its parent.
209 ac_confdir=`(dirname "$0") 2>/dev/null ||
210 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
211 - X"$0" : 'X\(//\)[^/]' \| \
212 - X"$0" : 'X\(//\)$' \| \
213 - X"$0" : 'X\(/\)' \| \
214 - . : '\(.\)' 2>/dev/null ||
215 + X"$0" : 'X\(//\)[^/]' \| \
216 + X"$0" : 'X\(//\)$' \| \
217 + X"$0" : 'X\(/\)' \| \
218 + . : '\(.\)' 2>/dev/null ||
219 echo X"$0" |
220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
221 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
222 @@ -719,6 +734,9 @@
223 { (exit 1); exit 1; }; }
224 fi
225 fi
226 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
227 + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
228 + { (exit 1); exit 1; }; }
229 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
230 ac_env_build_alias_set=${build_alias+set}
231 ac_env_build_alias_value=$build_alias
232 @@ -785,9 +803,9 @@
233 cat <<_ACEOF
234 Installation directories:
235 --prefix=PREFIX install architecture-independent files in PREFIX
236 - [$ac_default_prefix]
237 + [$ac_default_prefix]
238 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
239 - [PREFIX]
240 + [PREFIX]
241
242 By default, \`make install' will install all the files in
243 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
244 @@ -904,12 +922,45 @@
245 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
246 ac_top_srcdir=$ac_top_builddir$srcdir ;;
247 esac
248 -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
249 -# absolute.
250 -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
251 -ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
252 -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
253 -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
254 +
255 +# Do not use `cd foo && pwd` to compute absolute paths, because
256 +# the directories may not exist.
257 +case `pwd` in
258 +.) ac_abs_builddir="$ac_dir";;
259 +*)
260 + case "$ac_dir" in
261 + .) ac_abs_builddir=`pwd`;;
262 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
263 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
264 + esac;;
265 +esac
266 +case $ac_abs_builddir in
267 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
268 +*)
269 + case ${ac_top_builddir}. in
270 + .) ac_abs_top_builddir=$ac_abs_builddir;;
271 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
272 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
273 + esac;;
274 +esac
275 +case $ac_abs_builddir in
276 +.) ac_abs_srcdir=$ac_srcdir;;
277 +*)
278 + case $ac_srcdir in
279 + .) ac_abs_srcdir=$ac_abs_builddir;;
280 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
281 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
282 + esac;;
283 +esac
284 +case $ac_abs_builddir in
285 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
286 +*)
287 + case $ac_top_srcdir in
288 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
289 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
290 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
291 + esac;;
292 +esac
293
294 cd $ac_dir
295 # Check for guested configure; otherwise get Cygnus style configure.
296 @@ -920,13 +971,13 @@
297 echo
298 $SHELL $ac_srcdir/configure --help=recursive
299 elif test -f $ac_srcdir/configure.ac ||
300 - test -f $ac_srcdir/configure.in; then
301 + test -f $ac_srcdir/configure.in; then
302 echo
303 $ac_configure --help
304 else
305 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
306 fi
307 - cd $ac_popdir
308 + cd "$ac_popdir"
309 done
310 fi
311
312 @@ -934,8 +985,7 @@
313 if $ac_init_version; then
314 cat <<\_ACEOF
315
316 -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
317 -Free Software Foundation, Inc.
318 +Copyright (C) 2003 Free Software Foundation, Inc.
319 This configure script is free software; the Free Software Foundation
320 gives unlimited permission to copy, distribute and modify it.
321 _ACEOF
322 @@ -947,7 +997,7 @@
323 running configure, to aid debugging if configure makes a mistake.
324
325 It was created by $as_me, which was
326 -generated by GNU Autoconf 2.53. Invocation command line was
327 +generated by GNU Autoconf 2.59. Invocation command line was
328
329 $ $0 $@
330
331 @@ -999,27 +1049,54 @@
332
333 # Keep a trace of the command line.
334 # Strip out --no-create and --no-recursion so they do not pile up.
335 +# Strip out --silent because we don't want to record it for future runs.
336 # Also quote any args containing shell meta-characters.
337 +# Make two passes to allow for proper duplicate-argument suppression.
338 ac_configure_args=
339 +ac_configure_args0=
340 +ac_configure_args1=
341 ac_sep=
342 -for ac_arg
343 +ac_must_keep_next=false
344 +for ac_pass in 1 2
345 do
346 - case $ac_arg in
347 - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
348 - | --no-cr | --no-c | -n ) continue ;;
349 - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
350 - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
351 - continue ;;
352 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
353 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
354 - esac
355 - case " $ac_configure_args " in
356 - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
357 - *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
358 - ac_sep=" " ;;
359 - esac
360 - # Get rid of the leading space.
361 + for ac_arg
362 + do
363 + case $ac_arg in
364 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
365 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
366 + | -silent | --silent | --silen | --sile | --sil)
367 + continue ;;
368 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
369 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
370 + esac
371 + case $ac_pass in
372 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
373 + 2)
374 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
375 + if test $ac_must_keep_next = true; then
376 + ac_must_keep_next=false # Got value, back to normal.
377 + else
378 + case $ac_arg in
379 + *=* | --config-cache | -C | -disable-* | --disable-* \
380 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
381 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
382 + | -with-* | --with-* | -without-* | --without-* | --x)
383 + case "$ac_configure_args0 " in
384 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
385 + esac
386 + ;;
387 + -* ) ac_must_keep_next=true ;;
388 + esac
389 + fi
390 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
391 + # Get rid of the leading space.
392 + ac_sep=" "
393 + ;;
394 + esac
395 + done
396 done
397 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
398 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
399
400 # When interrupted or exit'd, cleanup temporary files, and complete
401 # config.log. We remove comments because anyway the quotes in there
402 @@ -1030,6 +1107,7 @@
403 # Save into config.log some information that might help in debugging.
404 {
405 echo
406 +
407 cat <<\_ASBOX
408 ## ---------------- ##
409 ## Cache variables. ##
410 @@ -1042,16 +1120,45 @@
411 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
412 *ac_space=\ *)
413 sed -n \
414 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
415 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
416 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
417 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
418 ;;
419 *)
420 sed -n \
421 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
422 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
423 ;;
424 esac;
425 }
426 echo
427 +
428 + cat <<\_ASBOX
429 +## ----------------- ##
430 +## Output variables. ##
431 +## ----------------- ##
432 +_ASBOX
433 + echo
434 + for ac_var in $ac_subst_vars
435 + do
436 + eval ac_val=$`echo $ac_var`
437 + echo "$ac_var='"'"'$ac_val'"'"'"
438 + done | sort
439 + echo
440 +
441 + if test -n "$ac_subst_files"; then
442 + cat <<\_ASBOX
443 +## ------------- ##
444 +## Output files. ##
445 +## ------------- ##
446 +_ASBOX
447 + echo
448 + for ac_var in $ac_subst_files
449 + do
450 + eval ac_val=$`echo $ac_var`
451 + echo "$ac_var='"'"'$ac_val'"'"'"
452 + done | sort
453 + echo
454 + fi
455 +
456 if test -s confdefs.h; then
457 cat <<\_ASBOX
458 ## ----------- ##
459 @@ -1059,14 +1166,14 @@
460 ## ----------- ##
461 _ASBOX
462 echo
463 - sed "/^$/d" confdefs.h
464 + sed "/^$/d" confdefs.h | sort
465 echo
466 fi
467 test "$ac_signal" != 0 &&
468 echo "$as_me: caught signal $ac_signal"
469 echo "$as_me: exit $exit_status"
470 } >&5
471 - rm -f core core.* *.core &&
472 + rm -f core *.core &&
473 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
474 exit $exit_status
475 ' 0
476 @@ -1146,7 +1253,7 @@
477 # value.
478 ac_cache_corrupted=false
479 for ac_var in `(set) 2>&1 |
480 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
481 + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
482 eval ac_old_set=\$ac_cv_env_${ac_var}_set
483 eval ac_new_set=\$ac_env_${ac_var}_set
484 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
485 @@ -1163,13 +1270,13 @@
486 ,);;
487 *)
488 if test "x$ac_old_val" != "x$ac_new_val"; then
489 - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
490 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
491 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
492 - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
493 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
494 echo "$as_me: former value: $ac_old_val" >&2;}
495 - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
496 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
497 echo "$as_me: current value: $ac_new_val" >&2;}
498 - ac_cache_corrupted=:
499 + ac_cache_corrupted=:
500 fi;;
501 esac
502 # Pass precious variables to config.status.
503 @@ -1216,9 +1323,10 @@
504
505
506
507 +
508 # Add the stamp file to the list of files AC keeps track of,
509 # along with our hook.
510 -ac_config_headers="$ac_config_headers config.h"
511 + ac_config_headers="$ac_config_headers config.h"
512
513
514
515 @@ -1261,6 +1369,7 @@
516 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
517 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
518 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
519 +# OS/2's system install, which has a completely different semantic
520 # ./install, which can be erroneously created by make from ./install.sh.
521 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
522 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
523 @@ -1277,6 +1386,7 @@
524 case $as_dir/ in
525 ./ | .// | /cC/* | \
526 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
527 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
528 /usr/ucb/* ) ;;
529 *)
530 # OSF1 and SCO ODT 3.0 have their own names for install.
531 @@ -1284,20 +1394,20 @@
532 # by default.
533 for ac_prog in ginstall scoinst install; do
534 for ac_exec_ext in '' $ac_executable_extensions; do
535 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
536 - if test $ac_prog = install &&
537 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
538 - # AIX install. It has an incompatible calling convention.
539 - :
540 - elif test $ac_prog = install &&
541 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
542 - # program-specific install script used by HP pwplus--don't use.
543 - :
544 - else
545 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
546 - break 3
547 - fi
548 - fi
549 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
550 + if test $ac_prog = install &&
551 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
552 + # AIX install. It has an incompatible calling convention.
553 + :
554 + elif test $ac_prog = install &&
555 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
556 + # program-specific install script used by HP pwplus--don't use.
557 + :
558 + else
559 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
560 + break 3
561 + fi
562 + fi
563 done
564 done
565 ;;
566 @@ -1439,15 +1549,15 @@
567 test -n "$AWK" && break
568 done
569
570 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
571 -echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
572 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
573 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
574 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
575 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
576 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
577 echo $ECHO_N "(cached) $ECHO_C" >&6
578 else
579 cat >conftest.make <<\_ACEOF
580 all:
581 - @echo 'ac_maketemp="${MAKE}"'
582 + @echo 'ac_maketemp="$(MAKE)"'
583 _ACEOF
584 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
585 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
586 @@ -1623,7 +1733,7 @@
587 rmdir .deps 2>/dev/null
588
589
590 -ac_config_commands="$ac_config_commands depfiles"
591 + ac_config_commands="$ac_config_commands depfiles"
592
593
594 am_make=${MAKE-make}
595 @@ -1889,9 +1999,7 @@
596 # However, it has the same basename, so the bogon will be chosen
597 # first if we set CC to just the basename; use the full file name.
598 shift
599 - set dummy "$as_dir/$ac_word" ${1+"$@"}
600 - shift
601 - ac_cv_prog_CC="$@"
602 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
603 fi
604 fi
605 fi
606 @@ -1996,8 +2104,10 @@
607 fi
608
609
610 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
611 -echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
612 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
613 +See \`config.log' for more details." >&5
614 +echo "$as_me: error: no acceptable C compiler found in \$PATH
615 +See \`config.log' for more details." >&2;}
616 { (exit 1); exit 1; }; }
617
618 # Provide some information about the compiler.
619 @@ -2021,15 +2131,12 @@
620 (exit $ac_status); }
621
622 cat >conftest.$ac_ext <<_ACEOF
623 -#line $LINENO "configure"
624 -#include "confdefs.h"
625 +/* confdefs.h. */
626 +_ACEOF
627 +cat confdefs.h >>conftest.$ac_ext
628 +cat >>conftest.$ac_ext <<_ACEOF
629 +/* end confdefs.h. */
630
631 -#ifdef F77_DUMMY_MAIN
632 -# ifdef __cplusplus
633 - extern "C"
634 -# endif
635 - int F77_DUMMY_MAIN() { return 1; }
636 -#endif
637 int
638 main ()
639 {
640 @@ -2039,12 +2146,12 @@
641 }
642 _ACEOF
643 ac_clean_files_save=$ac_clean_files
644 -ac_clean_files="$ac_clean_files a.out a.exe"
645 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
646 # Try to create an executable without -o first, disregard a.out.
647 # It will help us diagnose broken compilers, and finding out an intuition
648 # of exeext.
649 -echo "$as_me:$LINENO: checking for C compiler default output" >&5
650 -echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
651 +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
652 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
653 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
654 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
655 (eval $ac_link_default) 2>&5
656 @@ -2058,26 +2165,39 @@
657 # Be careful to initialize this variable, since it used to be cached.
658 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
659 ac_cv_exeext=
660 -for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
661 - ls a.out conftest 2>/dev/null;
662 - ls a.* conftest.* 2>/dev/null`; do
663 +# b.out is created by i960 compilers.
664 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
665 +do
666 + test -f "$ac_file" || continue
667 case $ac_file in
668 - *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
669 - a.out ) # We found the default executable, but exeext='' is most
670 - # certainly right.
671 - break;;
672 - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
673 - # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
674 - export ac_cv_exeext
675 - break;;
676 - * ) break;;
677 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
678 + ;;
679 + conftest.$ac_ext )
680 + # This is the source file.
681 + ;;
682 + [ab].out )
683 + # We found the default executable, but exeext='' is most
684 + # certainly right.
685 + break;;
686 + *.* )
687 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
688 + # FIXME: I believe we export ac_cv_exeext for Libtool,
689 + # but it would be cool to find out if it's true. Does anybody
690 + # maintain Libtool? --akim.
691 + export ac_cv_exeext
692 + break;;
693 + * )
694 + break;;
695 esac
696 done
697 else
698 echo "$as_me: failed program was:" >&5
699 -cat conftest.$ac_ext >&5
700 -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
701 -echo "$as_me: error: C compiler cannot create executables" >&2;}
702 +sed 's/^/| /' conftest.$ac_ext >&5
703 +
704 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
705 +See \`config.log' for more details." >&5
706 +echo "$as_me: error: C compiler cannot create executables
707 +See \`config.log' for more details." >&2;}
708 { (exit 77); exit 77; }; }
709 fi
710
711 @@ -2104,9 +2224,11 @@
712 cross_compiling=yes
713 else
714 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
715 -If you meant to cross compile, use \`--host'." >&5
716 +If you meant to cross compile, use \`--host'.
717 +See \`config.log' for more details." >&5
718 echo "$as_me: error: cannot run C compiled programs.
719 -If you meant to cross compile, use \`--host'." >&2;}
720 +If you meant to cross compile, use \`--host'.
721 +See \`config.log' for more details." >&2;}
722 { (exit 1); exit 1; }; }
723 fi
724 fi
725 @@ -2114,7 +2236,7 @@
726 echo "$as_me:$LINENO: result: yes" >&5
727 echo "${ECHO_T}yes" >&6
728
729 -rm -f a.out a.exe conftest$ac_cv_exeext
730 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
731 ac_clean_files=$ac_clean_files_save
732 # Check the compiler produces executables we can run. If not, either
733 # the compiler is broken, or we cross compile.
734 @@ -2134,18 +2256,21 @@
735 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
736 # work properly (i.e., refer to `conftest.exe'), while it won't with
737 # `rm'.
738 -for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
739 +for ac_file in conftest.exe conftest conftest.*; do
740 + test -f "$ac_file" || continue
741 case $ac_file in
742 - *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
743 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
744 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
745 - export ac_cv_exeext
746 - break;;
747 + export ac_cv_exeext
748 + break;;
749 * ) break;;
750 esac
751 done
752 else
753 - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
754 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
755 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
756 +See \`config.log' for more details." >&5
757 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
758 +See \`config.log' for more details." >&2;}
759 { (exit 1); exit 1; }; }
760 fi
761
762 @@ -2162,15 +2287,12 @@
763 echo $ECHO_N "(cached) $ECHO_C" >&6
764 else
765 cat >conftest.$ac_ext <<_ACEOF
766 -#line $LINENO "configure"
767 -#include "confdefs.h"
768 +/* confdefs.h. */
769 +_ACEOF
770 +cat confdefs.h >>conftest.$ac_ext
771 +cat >>conftest.$ac_ext <<_ACEOF
772 +/* end confdefs.h. */
773
774 -#ifdef F77_DUMMY_MAIN
775 -# ifdef __cplusplus
776 - extern "C"
777 -# endif
778 - int F77_DUMMY_MAIN() { return 1; }
779 -#endif
780 int
781 main ()
782 {
783 @@ -2187,16 +2309,19 @@
784 (exit $ac_status); }; then
785 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
786 case $ac_file in
787 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
788 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
789 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
790 break;;
791 esac
792 done
793 else
794 echo "$as_me: failed program was:" >&5
795 -cat conftest.$ac_ext >&5
796 -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
797 -echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
798 +sed 's/^/| /' conftest.$ac_ext >&5
799 +
800 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
801 +See \`config.log' for more details." >&5
802 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
803 +See \`config.log' for more details." >&2;}
804 { (exit 1); exit 1; }; }
805 fi
806
807 @@ -2212,15 +2337,12 @@
808 echo $ECHO_N "(cached) $ECHO_C" >&6
809 else
810 cat >conftest.$ac_ext <<_ACEOF
811 -#line $LINENO "configure"
812 -#include "confdefs.h"
813 +/* confdefs.h. */
814 +_ACEOF
815 +cat confdefs.h >>conftest.$ac_ext
816 +cat >>conftest.$ac_ext <<_ACEOF
817 +/* end confdefs.h. */
818
819 -#ifdef F77_DUMMY_MAIN
820 -# ifdef __cplusplus
821 - extern "C"
822 -# endif
823 - int F77_DUMMY_MAIN() { return 1; }
824 -#endif
825 int
826 main ()
827 {
828 @@ -2234,11 +2356,20 @@
829 _ACEOF
830 rm -f conftest.$ac_objext
831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
832 - (eval $ac_compile) 2>&5
833 + (eval $ac_compile) 2>conftest.er1
834 ac_status=$?
835 + grep -v '^ *+' conftest.er1 >conftest.err
836 + rm -f conftest.er1
837 + cat conftest.err >&5
838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
839 (exit $ac_status); } &&
840 - { ac_try='test -s conftest.$ac_objext'
841 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
842 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
843 + (eval $ac_try) 2>&5
844 + ac_status=$?
845 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
846 + (exit $ac_status); }; } &&
847 + { ac_try='test -s conftest.$ac_objext'
848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
849 (eval $ac_try) 2>&5
850 ac_status=$?
851 @@ -2247,10 +2378,11 @@
852 ac_compiler_gnu=yes
853 else
854 echo "$as_me: failed program was:" >&5
855 -cat conftest.$ac_ext >&5
856 +sed 's/^/| /' conftest.$ac_ext >&5
857 +
858 ac_compiler_gnu=no
859 fi
860 -rm -f conftest.$ac_objext conftest.$ac_ext
861 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
862 ac_cv_c_compiler_gnu=$ac_compiler_gnu
863
864 fi
865 @@ -2266,15 +2398,12 @@
866 echo $ECHO_N "(cached) $ECHO_C" >&6
867 else
868 cat >conftest.$ac_ext <<_ACEOF
869 -#line $LINENO "configure"
870 -#include "confdefs.h"
871 +/* confdefs.h. */
872 +_ACEOF
873 +cat confdefs.h >>conftest.$ac_ext
874 +cat >>conftest.$ac_ext <<_ACEOF
875 +/* end confdefs.h. */
876
877 -#ifdef F77_DUMMY_MAIN
878 -# ifdef __cplusplus
879 - extern "C"
880 -# endif
881 - int F77_DUMMY_MAIN() { return 1; }
882 -#endif
883 int
884 main ()
885 {
886 @@ -2285,11 +2414,20 @@
887 _ACEOF
888 rm -f conftest.$ac_objext
889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
890 - (eval $ac_compile) 2>&5
891 + (eval $ac_compile) 2>conftest.er1
892 ac_status=$?
893 + grep -v '^ *+' conftest.er1 >conftest.err
894 + rm -f conftest.er1
895 + cat conftest.err >&5
896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
897 (exit $ac_status); } &&
898 - { ac_try='test -s conftest.$ac_objext'
899 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
900 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
901 + (eval $ac_try) 2>&5
902 + ac_status=$?
903 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
904 + (exit $ac_status); }; } &&
905 + { ac_try='test -s conftest.$ac_objext'
906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
907 (eval $ac_try) 2>&5
908 ac_status=$?
909 @@ -2298,10 +2436,11 @@
910 ac_cv_prog_cc_g=yes
911 else
912 echo "$as_me: failed program was:" >&5
913 -cat conftest.$ac_ext >&5
914 +sed 's/^/| /' conftest.$ac_ext >&5
915 +
916 ac_cv_prog_cc_g=no
917 fi
918 -rm -f conftest.$ac_objext conftest.$ac_ext
919 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
920 fi
921 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
922 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
923 @@ -2320,6 +2459,120 @@
924 CFLAGS=
925 fi
926 fi
927 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
928 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
929 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
930 + echo $ECHO_N "(cached) $ECHO_C" >&6
931 +else
932 + ac_cv_prog_cc_stdc=no
933 +ac_save_CC=$CC
934 +cat >conftest.$ac_ext <<_ACEOF
935 +/* confdefs.h. */
936 +_ACEOF
937 +cat confdefs.h >>conftest.$ac_ext
938 +cat >>conftest.$ac_ext <<_ACEOF
939 +/* end confdefs.h. */
940 +#include <stdarg.h>
941 +#include <stdio.h>
942 +#include <sys/types.h>
943 +#include <sys/stat.h>
944 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
945 +struct buf { int x; };
946 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
947 +static char *e (p, i)
948 + char **p;
949 + int i;
950 +{
951 + return p[i];
952 +}
953 +static char *f (char * (*g) (char **, int), char **p, ...)
954 +{
955 + char *s;
956 + va_list v;
957 + va_start (v,p);
958 + s = g (p, va_arg (v,int));
959 + va_end (v);
960 + return s;
961 +}
962 +
963 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
964 + function prototypes and stuff, but not '\xHH' hex character constants.
965 + These don't provoke an error unfortunately, instead are silently treated
966 + as 'x'. The following induces an error, until -std1 is added to get
967 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
968 + array size at least. It's necessary to write '\x00'==0 to get something
969 + that's true only with -std1. */
970 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
971 +
972 +int test (int i, double x);
973 +struct s1 {int (*f) (int a);};
974 +struct s2 {int (*f) (double a);};
975 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
976 +int argc;
977 +char **argv;
978 +int
979 +main ()
980 +{
981 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
982 + ;
983 + return 0;
984 +}
985 +_ACEOF
986 +# Don't try gcc -ansi; that turns off useful extensions and
987 +# breaks some systems' header files.
988 +# AIX -qlanglvl=ansi
989 +# Ultrix and OSF/1 -std1
990 +# HP-UX 10.20 and later -Ae
991 +# HP-UX older versions -Aa -D_HPUX_SOURCE
992 +# SVR4 -Xc -D__EXTENSIONS__
993 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
994 +do
995 + CC="$ac_save_CC $ac_arg"
996 + rm -f conftest.$ac_objext
997 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
998 + (eval $ac_compile) 2>conftest.er1
999 + ac_status=$?
1000 + grep -v '^ *+' conftest.er1 >conftest.err
1001 + rm -f conftest.er1
1002 + cat conftest.err >&5
1003 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1004 + (exit $ac_status); } &&
1005 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1006 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1007 + (eval $ac_try) 2>&5
1008 + ac_status=$?
1009 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1010 + (exit $ac_status); }; } &&
1011 + { ac_try='test -s conftest.$ac_objext'
1012 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1013 + (eval $ac_try) 2>&5
1014 + ac_status=$?
1015 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1016 + (exit $ac_status); }; }; then
1017 + ac_cv_prog_cc_stdc=$ac_arg
1018 +break
1019 +else
1020 + echo "$as_me: failed program was:" >&5
1021 +sed 's/^/| /' conftest.$ac_ext >&5
1022 +
1023 +fi
1024 +rm -f conftest.err conftest.$ac_objext
1025 +done
1026 +rm -f conftest.$ac_ext conftest.$ac_objext
1027 +CC=$ac_save_CC
1028 +
1029 +fi
1030 +
1031 +case "x$ac_cv_prog_cc_stdc" in
1032 + x|xno)
1033 + echo "$as_me:$LINENO: result: none needed" >&5
1034 +echo "${ECHO_T}none needed" >&6 ;;
1035 + *)
1036 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
1037 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
1038 + CC="$CC $ac_cv_prog_cc_stdc" ;;
1039 +esac
1040 +
1041 # Some people use a C++ compiler to compile C. Since we use `exit',
1042 # in C++ we need to declare it. In case someone uses the same compiler
1043 # for both compiling C and C++ we need to have the C++ compiler decide
1044 @@ -2331,19 +2584,27 @@
1045 _ACEOF
1046 rm -f conftest.$ac_objext
1047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1048 - (eval $ac_compile) 2>&5
1049 + (eval $ac_compile) 2>conftest.er1
1050 ac_status=$?
1051 + grep -v '^ *+' conftest.er1 >conftest.err
1052 + rm -f conftest.er1
1053 + cat conftest.err >&5
1054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1055 (exit $ac_status); } &&
1056 - { ac_try='test -s conftest.$ac_objext'
1057 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1058 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1059 + (eval $ac_try) 2>&5
1060 + ac_status=$?
1061 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1062 + (exit $ac_status); }; } &&
1063 + { ac_try='test -s conftest.$ac_objext'
1064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1065 (eval $ac_try) 2>&5
1066 ac_status=$?
1067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1068 (exit $ac_status); }; }; then
1069 for ac_declaration in \
1070 - ''\
1071 - '#include <stdlib.h>' \
1072 + '' \
1073 'extern "C" void std::exit (int) throw (); using std::exit;' \
1074 'extern "C" void std::exit (int); using std::exit;' \
1075 'extern "C" void exit (int) throw ();' \
1076 @@ -2351,16 +2612,13 @@
1077 'void exit (int);'
1078 do
1079 cat >conftest.$ac_ext <<_ACEOF
1080 -#line $LINENO "configure"
1081 -#include "confdefs.h"
1082 -#include <stdlib.h>
1083 +/* confdefs.h. */
1084 +_ACEOF
1085 +cat confdefs.h >>conftest.$ac_ext
1086 +cat >>conftest.$ac_ext <<_ACEOF
1087 +/* end confdefs.h. */
1088 $ac_declaration
1089 -#ifdef F77_DUMMY_MAIN
1090 -# ifdef __cplusplus
1091 - extern "C"
1092 -# endif
1093 - int F77_DUMMY_MAIN() { return 1; }
1094 -#endif
1095 +#include <stdlib.h>
1096 int
1097 main ()
1098 {
1099 @@ -2371,11 +2629,20 @@
1100 _ACEOF
1101 rm -f conftest.$ac_objext
1102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1103 - (eval $ac_compile) 2>&5
1104 + (eval $ac_compile) 2>conftest.er1
1105 ac_status=$?
1106 + grep -v '^ *+' conftest.er1 >conftest.err
1107 + rm -f conftest.er1
1108 + cat conftest.err >&5
1109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1110 (exit $ac_status); } &&
1111 - { ac_try='test -s conftest.$ac_objext'
1112 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1113 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1114 + (eval $ac_try) 2>&5
1115 + ac_status=$?
1116 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1117 + (exit $ac_status); }; } &&
1118 + { ac_try='test -s conftest.$ac_objext'
1119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1120 (eval $ac_try) 2>&5
1121 ac_status=$?
1122 @@ -2384,20 +2651,18 @@
1123 :
1124 else
1125 echo "$as_me: failed program was:" >&5
1126 -cat conftest.$ac_ext >&5
1127 +sed 's/^/| /' conftest.$ac_ext >&5
1128 +
1129 continue
1130 fi
1131 -rm -f conftest.$ac_objext conftest.$ac_ext
1132 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1133 cat >conftest.$ac_ext <<_ACEOF
1134 -#line $LINENO "configure"
1135 -#include "confdefs.h"
1136 +/* confdefs.h. */
1137 +_ACEOF
1138 +cat confdefs.h >>conftest.$ac_ext
1139 +cat >>conftest.$ac_ext <<_ACEOF
1140 +/* end confdefs.h. */
1141 $ac_declaration
1142 -#ifdef F77_DUMMY_MAIN
1143 -# ifdef __cplusplus
1144 - extern "C"
1145 -# endif
1146 - int F77_DUMMY_MAIN() { return 1; }
1147 -#endif
1148 int
1149 main ()
1150 {
1151 @@ -2408,11 +2673,20 @@
1152 _ACEOF
1153 rm -f conftest.$ac_objext
1154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1155 - (eval $ac_compile) 2>&5
1156 + (eval $ac_compile) 2>conftest.er1
1157 ac_status=$?
1158 + grep -v '^ *+' conftest.er1 >conftest.err
1159 + rm -f conftest.er1
1160 + cat conftest.err >&5
1161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1162 (exit $ac_status); } &&
1163 - { ac_try='test -s conftest.$ac_objext'
1164 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1165 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1166 + (eval $ac_try) 2>&5
1167 + ac_status=$?
1168 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1169 + (exit $ac_status); }; } &&
1170 + { ac_try='test -s conftest.$ac_objext'
1171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1172 (eval $ac_try) 2>&5
1173 ac_status=$?
1174 @@ -2421,9 +2695,10 @@
1175 break
1176 else
1177 echo "$as_me: failed program was:" >&5
1178 -cat conftest.$ac_ext >&5
1179 +sed 's/^/| /' conftest.$ac_ext >&5
1180 +
1181 fi
1182 -rm -f conftest.$ac_objext conftest.$ac_ext
1183 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1184 done
1185 rm -f conftest*
1186 if test -n "$ac_declaration"; then
1187 @@ -2434,9 +2709,10 @@
1188
1189 else
1190 echo "$as_me: failed program was:" >&5
1191 -cat conftest.$ac_ext >&5
1192 +sed 's/^/| /' conftest.$ac_ext >&5
1193 +
1194 fi
1195 -rm -f conftest.$ac_objext conftest.$ac_ext
1196 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1197 ac_ext=c
1198 ac_cpp='$CPP $CPPFLAGS'
1199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1200 @@ -2534,8 +2810,11 @@
1201 do
1202 CC="$ac_save_CC $ac_arg"
1203 cat >conftest.$ac_ext <<_ACEOF
1204 -#line $LINENO "configure"
1205 -#include "confdefs.h"
1206 +/* confdefs.h. */
1207 +_ACEOF
1208 +cat confdefs.h >>conftest.$ac_ext
1209 +cat >>conftest.$ac_ext <<_ACEOF
1210 +/* end confdefs.h. */
1211 #include <stdarg.h>
1212 #include <stdio.h>
1213 #include <sys/types.h>
1214 @@ -2565,12 +2844,6 @@
1215 int argc;
1216 char **argv;
1217
1218 -#ifdef F77_DUMMY_MAIN
1219 -# ifdef __cplusplus
1220 - extern "C"
1221 -# endif
1222 - int F77_DUMMY_MAIN() { return 1; }
1223 -#endif
1224 int
1225 main ()
1226 {
1227 @@ -2583,11 +2856,20 @@
1228 _ACEOF
1229 rm -f conftest.$ac_objext
1230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1231 - (eval $ac_compile) 2>&5
1232 + (eval $ac_compile) 2>conftest.er1
1233 ac_status=$?
1234 + grep -v '^ *+' conftest.er1 >conftest.err
1235 + rm -f conftest.er1
1236 + cat conftest.err >&5
1237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1238 (exit $ac_status); } &&
1239 - { ac_try='test -s conftest.$ac_objext'
1240 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1241 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1242 + (eval $ac_try) 2>&5
1243 + ac_status=$?
1244 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1245 + (exit $ac_status); }; } &&
1246 + { ac_try='test -s conftest.$ac_objext'
1247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1248 (eval $ac_try) 2>&5
1249 ac_status=$?
1250 @@ -2596,9 +2878,10 @@
1251 am_cv_prog_cc_stdc="$ac_arg"; break
1252 else
1253 echo "$as_me: failed program was:" >&5
1254 -cat conftest.$ac_ext >&5
1255 +sed 's/^/| /' conftest.$ac_ext >&5
1256 +
1257 fi
1258 -rm -f conftest.$ac_objext conftest.$ac_ext
1259 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1260 done
1261 CC="$ac_save_CC"
1262
1263 @@ -2900,9 +3183,7 @@
1264 # However, it has the same basename, so the bogon will be chosen
1265 # first if we set CC to just the basename; use the full file name.
1266 shift
1267 - set dummy "$as_dir/$ac_word" ${1+"$@"}
1268 - shift
1269 - ac_cv_prog_CC="$@"
1270 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1271 fi
1272 fi
1273 fi
1274 @@ -3007,8 +3288,10 @@
1275 fi
1276
1277
1278 -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1279 -echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1280 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1281 +See \`config.log' for more details." >&5
1282 +echo "$as_me: error: no acceptable C compiler found in \$PATH
1283 +See \`config.log' for more details." >&2;}
1284 { (exit 1); exit 1; }; }
1285
1286 # Provide some information about the compiler.
1287 @@ -3037,15 +3320,12 @@
1288 echo $ECHO_N "(cached) $ECHO_C" >&6
1289 else
1290 cat >conftest.$ac_ext <<_ACEOF
1291 -#line $LINENO "configure"
1292 -#include "confdefs.h"
1293 +/* confdefs.h. */
1294 +_ACEOF
1295 +cat confdefs.h >>conftest.$ac_ext
1296 +cat >>conftest.$ac_ext <<_ACEOF
1297 +/* end confdefs.h. */
1298
1299 -#ifdef F77_DUMMY_MAIN
1300 -# ifdef __cplusplus
1301 - extern "C"
1302 -# endif
1303 - int F77_DUMMY_MAIN() { return 1; }
1304 -#endif
1305 int
1306 main ()
1307 {
1308 @@ -3059,11 +3339,20 @@
1309 _ACEOF
1310 rm -f conftest.$ac_objext
1311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1312 - (eval $ac_compile) 2>&5
1313 + (eval $ac_compile) 2>conftest.er1
1314 ac_status=$?
1315 + grep -v '^ *+' conftest.er1 >conftest.err
1316 + rm -f conftest.er1
1317 + cat conftest.err >&5
1318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1319 (exit $ac_status); } &&
1320 - { ac_try='test -s conftest.$ac_objext'
1321 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1322 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1323 + (eval $ac_try) 2>&5
1324 + ac_status=$?
1325 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1326 + (exit $ac_status); }; } &&
1327 + { ac_try='test -s conftest.$ac_objext'
1328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1329 (eval $ac_try) 2>&5
1330 ac_status=$?
1331 @@ -3072,10 +3361,11 @@
1332 ac_compiler_gnu=yes
1333 else
1334 echo "$as_me: failed program was:" >&5
1335 -cat conftest.$ac_ext >&5
1336 +sed 's/^/| /' conftest.$ac_ext >&5
1337 +
1338 ac_compiler_gnu=no
1339 fi
1340 -rm -f conftest.$ac_objext conftest.$ac_ext
1341 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1342 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1343
1344 fi
1345 @@ -3091,15 +3381,12 @@
1346 echo $ECHO_N "(cached) $ECHO_C" >&6
1347 else
1348 cat >conftest.$ac_ext <<_ACEOF
1349 -#line $LINENO "configure"
1350 -#include "confdefs.h"
1351 +/* confdefs.h. */
1352 +_ACEOF
1353 +cat confdefs.h >>conftest.$ac_ext
1354 +cat >>conftest.$ac_ext <<_ACEOF
1355 +/* end confdefs.h. */
1356
1357 -#ifdef F77_DUMMY_MAIN
1358 -# ifdef __cplusplus
1359 - extern "C"
1360 -# endif
1361 - int F77_DUMMY_MAIN() { return 1; }
1362 -#endif
1363 int
1364 main ()
1365 {
1366 @@ -3110,11 +3397,20 @@
1367 _ACEOF
1368 rm -f conftest.$ac_objext
1369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1370 - (eval $ac_compile) 2>&5
1371 + (eval $ac_compile) 2>conftest.er1
1372 ac_status=$?
1373 + grep -v '^ *+' conftest.er1 >conftest.err
1374 + rm -f conftest.er1
1375 + cat conftest.err >&5
1376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1377 (exit $ac_status); } &&
1378 - { ac_try='test -s conftest.$ac_objext'
1379 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1380 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1381 + (eval $ac_try) 2>&5
1382 + ac_status=$?
1383 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1384 + (exit $ac_status); }; } &&
1385 + { ac_try='test -s conftest.$ac_objext'
1386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1387 (eval $ac_try) 2>&5
1388 ac_status=$?
1389 @@ -3123,10 +3419,11 @@
1390 ac_cv_prog_cc_g=yes
1391 else
1392 echo "$as_me: failed program was:" >&5
1393 -cat conftest.$ac_ext >&5
1394 +sed 's/^/| /' conftest.$ac_ext >&5
1395 +
1396 ac_cv_prog_cc_g=no
1397 fi
1398 -rm -f conftest.$ac_objext conftest.$ac_ext
1399 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1400 fi
1401 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1402 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1403 @@ -3145,30 +3442,152 @@
1404 CFLAGS=
1405 fi
1406 fi
1407 -# Some people use a C++ compiler to compile C. Since we use `exit',
1408 -# in C++ we need to declare it. In case someone uses the same compiler
1409 -# for both compiling C and C++ we need to have the C++ compiler decide
1410 -# the declaration of exit, since it's the most demanding environment.
1411 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1412 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1413 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
1414 + echo $ECHO_N "(cached) $ECHO_C" >&6
1415 +else
1416 + ac_cv_prog_cc_stdc=no
1417 +ac_save_CC=$CC
1418 cat >conftest.$ac_ext <<_ACEOF
1419 -#ifndef __cplusplus
1420 - choke me
1421 -#endif
1422 +/* confdefs.h. */
1423 _ACEOF
1424 -rm -f conftest.$ac_objext
1425 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1426 - (eval $ac_compile) 2>&5
1427 - ac_status=$?
1428 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
1429 - (exit $ac_status); } &&
1430 - { ac_try='test -s conftest.$ac_objext'
1431 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1432 - (eval $ac_try) 2>&5
1433 +cat confdefs.h >>conftest.$ac_ext
1434 +cat >>conftest.$ac_ext <<_ACEOF
1435 +/* end confdefs.h. */
1436 +#include <stdarg.h>
1437 +#include <stdio.h>
1438 +#include <sys/types.h>
1439 +#include <sys/stat.h>
1440 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1441 +struct buf { int x; };
1442 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
1443 +static char *e (p, i)
1444 + char **p;
1445 + int i;
1446 +{
1447 + return p[i];
1448 +}
1449 +static char *f (char * (*g) (char **, int), char **p, ...)
1450 +{
1451 + char *s;
1452 + va_list v;
1453 + va_start (v,p);
1454 + s = g (p, va_arg (v,int));
1455 + va_end (v);
1456 + return s;
1457 +}
1458 +
1459 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1460 + function prototypes and stuff, but not '\xHH' hex character constants.
1461 + These don't provoke an error unfortunately, instead are silently treated
1462 + as 'x'. The following induces an error, until -std1 is added to get
1463 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1464 + array size at least. It's necessary to write '\x00'==0 to get something
1465 + that's true only with -std1. */
1466 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1467 +
1468 +int test (int i, double x);
1469 +struct s1 {int (*f) (int a);};
1470 +struct s2 {int (*f) (double a);};
1471 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1472 +int argc;
1473 +char **argv;
1474 +int
1475 +main ()
1476 +{
1477 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1478 + ;
1479 + return 0;
1480 +}
1481 +_ACEOF
1482 +# Don't try gcc -ansi; that turns off useful extensions and
1483 +# breaks some systems' header files.
1484 +# AIX -qlanglvl=ansi
1485 +# Ultrix and OSF/1 -std1
1486 +# HP-UX 10.20 and later -Ae
1487 +# HP-UX older versions -Aa -D_HPUX_SOURCE
1488 +# SVR4 -Xc -D__EXTENSIONS__
1489 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1490 +do
1491 + CC="$ac_save_CC $ac_arg"
1492 + rm -f conftest.$ac_objext
1493 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1494 + (eval $ac_compile) 2>conftest.er1
1495 + ac_status=$?
1496 + grep -v '^ *+' conftest.er1 >conftest.err
1497 + rm -f conftest.er1
1498 + cat conftest.err >&5
1499 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1500 + (exit $ac_status); } &&
1501 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1502 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1503 + (eval $ac_try) 2>&5
1504 + ac_status=$?
1505 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1506 + (exit $ac_status); }; } &&
1507 + { ac_try='test -s conftest.$ac_objext'
1508 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1509 + (eval $ac_try) 2>&5
1510 + ac_status=$?
1511 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1512 + (exit $ac_status); }; }; then
1513 + ac_cv_prog_cc_stdc=$ac_arg
1514 +break
1515 +else
1516 + echo "$as_me: failed program was:" >&5
1517 +sed 's/^/| /' conftest.$ac_ext >&5
1518 +
1519 +fi
1520 +rm -f conftest.err conftest.$ac_objext
1521 +done
1522 +rm -f conftest.$ac_ext conftest.$ac_objext
1523 +CC=$ac_save_CC
1524 +
1525 +fi
1526 +
1527 +case "x$ac_cv_prog_cc_stdc" in
1528 + x|xno)
1529 + echo "$as_me:$LINENO: result: none needed" >&5
1530 +echo "${ECHO_T}none needed" >&6 ;;
1531 + *)
1532 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
1533 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
1534 + CC="$CC $ac_cv_prog_cc_stdc" ;;
1535 +esac
1536 +
1537 +# Some people use a C++ compiler to compile C. Since we use `exit',
1538 +# in C++ we need to declare it. In case someone uses the same compiler
1539 +# for both compiling C and C++ we need to have the C++ compiler decide
1540 +# the declaration of exit, since it's the most demanding environment.
1541 +cat >conftest.$ac_ext <<_ACEOF
1542 +#ifndef __cplusplus
1543 + choke me
1544 +#endif
1545 +_ACEOF
1546 +rm -f conftest.$ac_objext
1547 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1548 + (eval $ac_compile) 2>conftest.er1
1549 + ac_status=$?
1550 + grep -v '^ *+' conftest.er1 >conftest.err
1551 + rm -f conftest.er1
1552 + cat conftest.err >&5
1553 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1554 + (exit $ac_status); } &&
1555 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1556 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1557 + (eval $ac_try) 2>&5
1558 + ac_status=$?
1559 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1560 + (exit $ac_status); }; } &&
1561 + { ac_try='test -s conftest.$ac_objext'
1562 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1563 + (eval $ac_try) 2>&5
1564 ac_status=$?
1565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1566 (exit $ac_status); }; }; then
1567 for ac_declaration in \
1568 - ''\
1569 - '#include <stdlib.h>' \
1570 + '' \
1571 'extern "C" void std::exit (int) throw (); using std::exit;' \
1572 'extern "C" void std::exit (int); using std::exit;' \
1573 'extern "C" void exit (int) throw ();' \
1574 @@ -3176,16 +3595,13 @@
1575 'void exit (int);'
1576 do
1577 cat >conftest.$ac_ext <<_ACEOF
1578 -#line $LINENO "configure"
1579 -#include "confdefs.h"
1580 -#include <stdlib.h>
1581 +/* confdefs.h. */
1582 +_ACEOF
1583 +cat confdefs.h >>conftest.$ac_ext
1584 +cat >>conftest.$ac_ext <<_ACEOF
1585 +/* end confdefs.h. */
1586 $ac_declaration
1587 -#ifdef F77_DUMMY_MAIN
1588 -# ifdef __cplusplus
1589 - extern "C"
1590 -# endif
1591 - int F77_DUMMY_MAIN() { return 1; }
1592 -#endif
1593 +#include <stdlib.h>
1594 int
1595 main ()
1596 {
1597 @@ -3196,11 +3612,20 @@
1598 _ACEOF
1599 rm -f conftest.$ac_objext
1600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1601 - (eval $ac_compile) 2>&5
1602 + (eval $ac_compile) 2>conftest.er1
1603 ac_status=$?
1604 + grep -v '^ *+' conftest.er1 >conftest.err
1605 + rm -f conftest.er1
1606 + cat conftest.err >&5
1607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1608 (exit $ac_status); } &&
1609 - { ac_try='test -s conftest.$ac_objext'
1610 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1611 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1612 + (eval $ac_try) 2>&5
1613 + ac_status=$?
1614 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1615 + (exit $ac_status); }; } &&
1616 + { ac_try='test -s conftest.$ac_objext'
1617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1618 (eval $ac_try) 2>&5
1619 ac_status=$?
1620 @@ -3209,20 +3634,18 @@
1621 :
1622 else
1623 echo "$as_me: failed program was:" >&5
1624 -cat conftest.$ac_ext >&5
1625 +sed 's/^/| /' conftest.$ac_ext >&5
1626 +
1627 continue
1628 fi
1629 -rm -f conftest.$ac_objext conftest.$ac_ext
1630 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1631 cat >conftest.$ac_ext <<_ACEOF
1632 -#line $LINENO "configure"
1633 -#include "confdefs.h"
1634 +/* confdefs.h. */
1635 +_ACEOF
1636 +cat confdefs.h >>conftest.$ac_ext
1637 +cat >>conftest.$ac_ext <<_ACEOF
1638 +/* end confdefs.h. */
1639 $ac_declaration
1640 -#ifdef F77_DUMMY_MAIN
1641 -# ifdef __cplusplus
1642 - extern "C"
1643 -# endif
1644 - int F77_DUMMY_MAIN() { return 1; }
1645 -#endif
1646 int
1647 main ()
1648 {
1649 @@ -3233,11 +3656,20 @@
1650 _ACEOF
1651 rm -f conftest.$ac_objext
1652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1653 - (eval $ac_compile) 2>&5
1654 + (eval $ac_compile) 2>conftest.er1
1655 ac_status=$?
1656 + grep -v '^ *+' conftest.er1 >conftest.err
1657 + rm -f conftest.er1
1658 + cat conftest.err >&5
1659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1660 (exit $ac_status); } &&
1661 - { ac_try='test -s conftest.$ac_objext'
1662 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1663 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1664 + (eval $ac_try) 2>&5
1665 + ac_status=$?
1666 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1667 + (exit $ac_status); }; } &&
1668 + { ac_try='test -s conftest.$ac_objext'
1669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1670 (eval $ac_try) 2>&5
1671 ac_status=$?
1672 @@ -3246,9 +3678,10 @@
1673 break
1674 else
1675 echo "$as_me: failed program was:" >&5
1676 -cat conftest.$ac_ext >&5
1677 +sed 's/^/| /' conftest.$ac_ext >&5
1678 +
1679 fi
1680 -rm -f conftest.$ac_objext conftest.$ac_ext
1681 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1682 done
1683 rm -f conftest*
1684 if test -n "$ac_declaration"; then
1685 @@ -3259,9 +3692,10 @@
1686
1687 else
1688 echo "$as_me: failed program was:" >&5
1689 -cat conftest.$ac_ext >&5
1690 +sed 's/^/| /' conftest.$ac_ext >&5
1691 +
1692 fi
1693 -rm -f conftest.$ac_objext conftest.$ac_ext
1694 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1695 ac_ext=c
1696 ac_cpp='$CPP $CPPFLAGS'
1697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1698 @@ -3427,17 +3861,14 @@
1699 else
1700 # See if sys/param.h defines the BYTE_ORDER macro.
1701 cat >conftest.$ac_ext <<_ACEOF
1702 -#line $LINENO "configure"
1703 -#include "confdefs.h"
1704 +/* confdefs.h. */
1705 +_ACEOF
1706 +cat confdefs.h >>conftest.$ac_ext
1707 +cat >>conftest.$ac_ext <<_ACEOF
1708 +/* end confdefs.h. */
1709 #include <sys/types.h>
1710 #include <sys/param.h>
1711
1712 -#ifdef F77_DUMMY_MAIN
1713 -# ifdef __cplusplus
1714 - extern "C"
1715 -# endif
1716 - int F77_DUMMY_MAIN() { return 1; }
1717 -#endif
1718 int
1719 main ()
1720 {
1721 @@ -3451,11 +3882,20 @@
1722 _ACEOF
1723 rm -f conftest.$ac_objext
1724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1725 - (eval $ac_compile) 2>&5
1726 + (eval $ac_compile) 2>conftest.er1
1727 ac_status=$?
1728 + grep -v '^ *+' conftest.er1 >conftest.err
1729 + rm -f conftest.er1
1730 + cat conftest.err >&5
1731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1732 (exit $ac_status); } &&
1733 - { ac_try='test -s conftest.$ac_objext'
1734 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1735 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1736 + (eval $ac_try) 2>&5
1737 + ac_status=$?
1738 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1739 + (exit $ac_status); }; } &&
1740 + { ac_try='test -s conftest.$ac_objext'
1741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1742 (eval $ac_try) 2>&5
1743 ac_status=$?
1744 @@ -3463,17 +3903,14 @@
1745 (exit $ac_status); }; }; then
1746 # It does; now see whether it defined to BIG_ENDIAN or not.
1747 cat >conftest.$ac_ext <<_ACEOF
1748 -#line $LINENO "configure"
1749 -#include "confdefs.h"
1750 +/* confdefs.h. */
1751 +_ACEOF
1752 +cat confdefs.h >>conftest.$ac_ext
1753 +cat >>conftest.$ac_ext <<_ACEOF
1754 +/* end confdefs.h. */
1755 #include <sys/types.h>
1756 #include <sys/param.h>
1757
1758 -#ifdef F77_DUMMY_MAIN
1759 -# ifdef __cplusplus
1760 - extern "C"
1761 -# endif
1762 - int F77_DUMMY_MAIN() { return 1; }
1763 -#endif
1764 int
1765 main ()
1766 {
1767 @@ -3487,11 +3924,20 @@
1768 _ACEOF
1769 rm -f conftest.$ac_objext
1770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1771 - (eval $ac_compile) 2>&5
1772 + (eval $ac_compile) 2>conftest.er1
1773 ac_status=$?
1774 + grep -v '^ *+' conftest.er1 >conftest.err
1775 + rm -f conftest.er1
1776 + cat conftest.err >&5
1777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1778 (exit $ac_status); } &&
1779 - { ac_try='test -s conftest.$ac_objext'
1780 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1781 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1782 + (eval $ac_try) 2>&5
1783 + ac_status=$?
1784 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1785 + (exit $ac_status); }; } &&
1786 + { ac_try='test -s conftest.$ac_objext'
1787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1788 (eval $ac_try) 2>&5
1789 ac_status=$?
1790 @@ -3500,32 +3946,31 @@
1791 ac_cv_c_bigendian=yes
1792 else
1793 echo "$as_me: failed program was:" >&5
1794 -cat conftest.$ac_ext >&5
1795 +sed 's/^/| /' conftest.$ac_ext >&5
1796 +
1797 ac_cv_c_bigendian=no
1798 fi
1799 -rm -f conftest.$ac_objext conftest.$ac_ext
1800 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1801 else
1802 echo "$as_me: failed program was:" >&5
1803 -cat conftest.$ac_ext >&5
1804 +sed 's/^/| /' conftest.$ac_ext >&5
1805 +
1806 # It does not; compile a test program.
1807 if test "$cross_compiling" = yes; then
1808 - # try to guess the endianess by grep'ing values into an object file
1809 + # try to guess the endianness by grepping values into an object file
1810 ac_cv_c_bigendian=unknown
1811 cat >conftest.$ac_ext <<_ACEOF
1812 -#line $LINENO "configure"
1813 -#include "confdefs.h"
1814 +/* confdefs.h. */
1815 +_ACEOF
1816 +cat confdefs.h >>conftest.$ac_ext
1817 +cat >>conftest.$ac_ext <<_ACEOF
1818 +/* end confdefs.h. */
1819 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
1820 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
1821 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
1822 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
1823 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
1824 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
1825 -#ifdef F77_DUMMY_MAIN
1826 -# ifdef __cplusplus
1827 - extern "C"
1828 -# endif
1829 - int F77_DUMMY_MAIN() { return 1; }
1830 -#endif
1831 int
1832 main ()
1833 {
1834 @@ -3536,20 +3981,29 @@
1835 _ACEOF
1836 rm -f conftest.$ac_objext
1837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1838 - (eval $ac_compile) 2>&5
1839 + (eval $ac_compile) 2>conftest.er1
1840 ac_status=$?
1841 + grep -v '^ *+' conftest.er1 >conftest.err
1842 + rm -f conftest.er1
1843 + cat conftest.err >&5
1844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1845 (exit $ac_status); } &&
1846 - { ac_try='test -s conftest.$ac_objext'
1847 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1848 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1849 + (eval $ac_try) 2>&5
1850 + ac_status=$?
1851 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1852 + (exit $ac_status); }; } &&
1853 + { ac_try='test -s conftest.$ac_objext'
1854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1855 (eval $ac_try) 2>&5
1856 ac_status=$?
1857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1858 (exit $ac_status); }; }; then
1859 - if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
1860 + if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
1861 ac_cv_c_bigendian=yes
1862 fi
1863 -if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
1864 +if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
1865 if test "$ac_cv_c_bigendian" = unknown; then
1866 ac_cv_c_bigendian=no
1867 else
1868 @@ -3559,13 +4013,17 @@
1869 fi
1870 else
1871 echo "$as_me: failed program was:" >&5
1872 -cat conftest.$ac_ext >&5
1873 +sed 's/^/| /' conftest.$ac_ext >&5
1874 +
1875 fi
1876 -rm -f conftest.$ac_objext conftest.$ac_ext
1877 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1878 else
1879 cat >conftest.$ac_ext <<_ACEOF
1880 -#line $LINENO "configure"
1881 -#include "confdefs.h"
1882 +/* confdefs.h. */
1883 +_ACEOF
1884 +cat confdefs.h >>conftest.$ac_ext
1885 +cat >>conftest.$ac_ext <<_ACEOF
1886 +/* end confdefs.h. */
1887 int
1888 main ()
1889 {
1890 @@ -3594,14 +4052,15 @@
1891 else
1892 echo "$as_me: program exited with status $ac_status" >&5
1893 echo "$as_me: failed program was:" >&5
1894 -cat conftest.$ac_ext >&5
1895 +sed 's/^/| /' conftest.$ac_ext >&5
1896 +
1897 ( exit $ac_status )
1898 ac_cv_c_bigendian=yes
1899 fi
1900 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1901 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1902 fi
1903 fi
1904 -rm -f conftest.$ac_objext conftest.$ac_ext
1905 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1906 fi
1907 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
1908 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
1909 @@ -3615,9 +4074,9 @@
1910 no)
1911 ;;
1912 *)
1913 - { { echo "$as_me:$LINENO: error: unknown endianess
1914 + { { echo "$as_me:$LINENO: error: unknown endianness
1915 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
1916 -echo "$as_me: error: unknown endianess
1917 +echo "$as_me: error: unknown endianness
1918 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
1919 { (exit 1); exit 1; }; } ;;
1920 esac
1921 @@ -3816,24 +4275,34 @@
1922 do
1923 # Use a header file that comes with gcc, so configuring glibc
1924 # with a fresh cross-compiler works.
1925 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1926 + # <limits.h> exists even on freestanding compilers.
1927 # On the NeXT, cc -E runs the code through the compiler's parser,
1928 # not just through cpp. "Syntax error" is here to catch this case.
1929 cat >conftest.$ac_ext <<_ACEOF
1930 -#line $LINENO "configure"
1931 -#include "confdefs.h"
1932 -#include <assert.h>
1933 - Syntax error
1934 +/* confdefs.h. */
1935 +_ACEOF
1936 +cat confdefs.h >>conftest.$ac_ext
1937 +cat >>conftest.$ac_ext <<_ACEOF
1938 +/* end confdefs.h. */
1939 +#ifdef __STDC__
1940 +# include <limits.h>
1941 +#else
1942 +# include <assert.h>
1943 +#endif
1944 + Syntax error
1945 _ACEOF
1946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1948 ac_status=$?
1949 - egrep -v '^ *\+' conftest.er1 >conftest.err
1950 + grep -v '^ *+' conftest.er1 >conftest.err
1951 rm -f conftest.er1
1952 cat conftest.err >&5
1953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1954 (exit $ac_status); } >/dev/null; then
1955 if test -s conftest.err; then
1956 ac_cpp_err=$ac_c_preproc_warn_flag
1957 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1958 else
1959 ac_cpp_err=
1960 fi
1961 @@ -3844,7 +4313,8 @@
1962 :
1963 else
1964 echo "$as_me: failed program was:" >&5
1965 - cat conftest.$ac_ext >&5
1966 +sed 's/^/| /' conftest.$ac_ext >&5
1967 +
1968 # Broken: fails on valid input.
1969 continue
1970 fi
1971 @@ -3853,20 +4323,24 @@
1972 # OK, works on sane cases. Now check whether non-existent headers
1973 # can be detected and how.
1974 cat >conftest.$ac_ext <<_ACEOF
1975 -#line $LINENO "configure"
1976 -#include "confdefs.h"
1977 +/* confdefs.h. */
1978 +_ACEOF
1979 +cat confdefs.h >>conftest.$ac_ext
1980 +cat >>conftest.$ac_ext <<_ACEOF
1981 +/* end confdefs.h. */
1982 #include <ac_nonexistent.h>
1983 _ACEOF
1984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1985 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1986 ac_status=$?
1987 - egrep -v '^ *\+' conftest.er1 >conftest.err
1988 + grep -v '^ *+' conftest.er1 >conftest.err
1989 rm -f conftest.er1
1990 cat conftest.err >&5
1991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992 (exit $ac_status); } >/dev/null; then
1993 if test -s conftest.err; then
1994 ac_cpp_err=$ac_c_preproc_warn_flag
1995 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1996 else
1997 ac_cpp_err=
1998 fi
1999 @@ -3878,7 +4352,8 @@
2000 continue
2001 else
2002 echo "$as_me: failed program was:" >&5
2003 - cat conftest.$ac_ext >&5
2004 +sed 's/^/| /' conftest.$ac_ext >&5
2005 +
2006 # Passes both tests.
2007 ac_preproc_ok=:
2008 break
2009 @@ -3907,24 +4382,34 @@
2010 do
2011 # Use a header file that comes with gcc, so configuring glibc
2012 # with a fresh cross-compiler works.
2013 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2014 + # <limits.h> exists even on freestanding compilers.
2015 # On the NeXT, cc -E runs the code through the compiler's parser,
2016 # not just through cpp. "Syntax error" is here to catch this case.
2017 cat >conftest.$ac_ext <<_ACEOF
2018 -#line $LINENO "configure"
2019 -#include "confdefs.h"
2020 -#include <assert.h>
2021 - Syntax error
2022 +/* confdefs.h. */
2023 +_ACEOF
2024 +cat confdefs.h >>conftest.$ac_ext
2025 +cat >>conftest.$ac_ext <<_ACEOF
2026 +/* end confdefs.h. */
2027 +#ifdef __STDC__
2028 +# include <limits.h>
2029 +#else
2030 +# include <assert.h>
2031 +#endif
2032 + Syntax error
2033 _ACEOF
2034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2036 ac_status=$?
2037 - egrep -v '^ *\+' conftest.er1 >conftest.err
2038 + grep -v '^ *+' conftest.er1 >conftest.err
2039 rm -f conftest.er1
2040 cat conftest.err >&5
2041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042 (exit $ac_status); } >/dev/null; then
2043 if test -s conftest.err; then
2044 ac_cpp_err=$ac_c_preproc_warn_flag
2045 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2046 else
2047 ac_cpp_err=
2048 fi
2049 @@ -3935,7 +4420,8 @@
2050 :
2051 else
2052 echo "$as_me: failed program was:" >&5
2053 - cat conftest.$ac_ext >&5
2054 +sed 's/^/| /' conftest.$ac_ext >&5
2055 +
2056 # Broken: fails on valid input.
2057 continue
2058 fi
2059 @@ -3944,20 +4430,24 @@
2060 # OK, works on sane cases. Now check whether non-existent headers
2061 # can be detected and how.
2062 cat >conftest.$ac_ext <<_ACEOF
2063 -#line $LINENO "configure"
2064 -#include "confdefs.h"
2065 +/* confdefs.h. */
2066 +_ACEOF
2067 +cat confdefs.h >>conftest.$ac_ext
2068 +cat >>conftest.$ac_ext <<_ACEOF
2069 +/* end confdefs.h. */
2070 #include <ac_nonexistent.h>
2071 _ACEOF
2072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2073 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2074 ac_status=$?
2075 - egrep -v '^ *\+' conftest.er1 >conftest.err
2076 + grep -v '^ *+' conftest.er1 >conftest.err
2077 rm -f conftest.er1
2078 cat conftest.err >&5
2079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2080 (exit $ac_status); } >/dev/null; then
2081 if test -s conftest.err; then
2082 ac_cpp_err=$ac_c_preproc_warn_flag
2083 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2084 else
2085 ac_cpp_err=
2086 fi
2087 @@ -3969,7 +4459,8 @@
2088 continue
2089 else
2090 echo "$as_me: failed program was:" >&5
2091 - cat conftest.$ac_ext >&5
2092 +sed 's/^/| /' conftest.$ac_ext >&5
2093 +
2094 # Passes both tests.
2095 ac_preproc_ok=:
2096 break
2097 @@ -3982,8 +4473,10 @@
2098 if $ac_preproc_ok; then
2099 :
2100 else
2101 - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2102 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2103 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2104 +See \`config.log' for more details." >&5
2105 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2106 +See \`config.log' for more details." >&2;}
2107 { (exit 1); exit 1; }; }
2108 fi
2109
2110 @@ -3994,55 +4487,88 @@
2111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2112
2113
2114 +echo "$as_me:$LINENO: checking for egrep" >&5
2115 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2116 +if test "${ac_cv_prog_egrep+set}" = set; then
2117 + echo $ECHO_N "(cached) $ECHO_C" >&6
2118 +else
2119 + if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2120 + then ac_cv_prog_egrep='grep -E'
2121 + else ac_cv_prog_egrep='egrep'
2122 + fi
2123 +fi
2124 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2125 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2126 + EGREP=$ac_cv_prog_egrep
2127 +
2128 +
2129 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2130 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2131 if test "${ac_cv_header_stdc+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 else
2134 cat >conftest.$ac_ext <<_ACEOF
2135 -#line $LINENO "configure"
2136 -#include "confdefs.h"
2137 +/* confdefs.h. */
2138 +_ACEOF
2139 +cat confdefs.h >>conftest.$ac_ext
2140 +cat >>conftest.$ac_ext <<_ACEOF
2141 +/* end confdefs.h. */
2142 #include <stdlib.h>
2143 #include <stdarg.h>
2144 #include <string.h>
2145 #include <float.h>
2146
2147 +int
2148 +main ()
2149 +{
2150 +
2151 + ;
2152 + return 0;
2153 +}
2154 _ACEOF
2155 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2156 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2157 +rm -f conftest.$ac_objext
2158 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2159 + (eval $ac_compile) 2>conftest.er1
2160 ac_status=$?
2161 - egrep -v '^ *\+' conftest.er1 >conftest.err
2162 + grep -v '^ *+' conftest.er1 >conftest.err
2163 rm -f conftest.er1
2164 cat conftest.err >&5
2165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166 - (exit $ac_status); } >/dev/null; then
2167 - if test -s conftest.err; then
2168 - ac_cpp_err=$ac_c_preproc_warn_flag
2169 - else
2170 - ac_cpp_err=
2171 - fi
2172 -else
2173 - ac_cpp_err=yes
2174 -fi
2175 -if test -z "$ac_cpp_err"; then
2176 + (exit $ac_status); } &&
2177 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2178 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179 + (eval $ac_try) 2>&5
2180 + ac_status=$?
2181 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 + (exit $ac_status); }; } &&
2183 + { ac_try='test -s conftest.$ac_objext'
2184 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185 + (eval $ac_try) 2>&5
2186 + ac_status=$?
2187 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 + (exit $ac_status); }; }; then
2189 ac_cv_header_stdc=yes
2190 else
2191 echo "$as_me: failed program was:" >&5
2192 - cat conftest.$ac_ext >&5
2193 - ac_cv_header_stdc=no
2194 +sed 's/^/| /' conftest.$ac_ext >&5
2195 +
2196 +ac_cv_header_stdc=no
2197 fi
2198 -rm -f conftest.err conftest.$ac_ext
2199 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2200
2201 if test $ac_cv_header_stdc = yes; then
2202 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2203 cat >conftest.$ac_ext <<_ACEOF
2204 -#line $LINENO "configure"
2205 -#include "confdefs.h"
2206 +/* confdefs.h. */
2207 +_ACEOF
2208 +cat confdefs.h >>conftest.$ac_ext
2209 +cat >>conftest.$ac_ext <<_ACEOF
2210 +/* end confdefs.h. */
2211 #include <string.h>
2212
2213 _ACEOF
2214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2215 - egrep "memchr" >/dev/null 2>&1; then
2216 + $EGREP "memchr" >/dev/null 2>&1; then
2217 :
2218 else
2219 ac_cv_header_stdc=no
2220 @@ -4054,13 +4580,16 @@
2221 if test $ac_cv_header_stdc = yes; then
2222 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2223 cat >conftest.$ac_ext <<_ACEOF
2224 -#line $LINENO "configure"
2225 -#include "confdefs.h"
2226 +/* confdefs.h. */
2227 +_ACEOF
2228 +cat confdefs.h >>conftest.$ac_ext
2229 +cat >>conftest.$ac_ext <<_ACEOF
2230 +/* end confdefs.h. */
2231 #include <stdlib.h>
2232
2233 _ACEOF
2234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2235 - egrep "free" >/dev/null 2>&1; then
2236 + $EGREP "free" >/dev/null 2>&1; then
2237 :
2238 else
2239 ac_cv_header_stdc=no
2240 @@ -4075,16 +4604,20 @@
2241 :
2242 else
2243 cat >conftest.$ac_ext <<_ACEOF
2244 -#line $LINENO "configure"
2245 -#include "confdefs.h"
2246 +/* confdefs.h. */
2247 +_ACEOF
2248 +cat confdefs.h >>conftest.$ac_ext
2249 +cat >>conftest.$ac_ext <<_ACEOF
2250 +/* end confdefs.h. */
2251 #include <ctype.h>
2252 #if ((' ' & 0x0FF) == 0x020)
2253 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2254 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2255 #else
2256 -# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2257 - || ('j' <= (c) && (c) <= 'r') \
2258 - || ('s' <= (c) && (c) <= 'z'))
2259 +# define ISLOWER(c) \
2260 + (('a' <= (c) && (c) <= 'i') \
2261 + || ('j' <= (c) && (c) <= 'r') \
2262 + || ('s' <= (c) && (c) <= 'z'))
2263 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2264 #endif
2265
2266 @@ -4095,7 +4628,7 @@
2267 int i;
2268 for (i = 0; i < 256; i++)
2269 if (XOR (islower (i), ISLOWER (i))
2270 - || toupper (i) != TOUPPER (i))
2271 + || toupper (i) != TOUPPER (i))
2272 exit(2);
2273 exit (0);
2274 }
2275 @@ -4115,11 +4648,12 @@
2276 else
2277 echo "$as_me: program exited with status $ac_status" >&5
2278 echo "$as_me: failed program was:" >&5
2279 -cat conftest.$ac_ext >&5
2280 +sed 's/^/| /' conftest.$ac_ext >&5
2281 +
2282 ( exit $ac_status )
2283 ac_cv_header_stdc=no
2284 fi
2285 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2286 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2287 fi
2288 fi
2289 fi
2290 @@ -4144,7 +4678,7 @@
2291
2292
2293 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2294 - inttypes.h stdint.h unistd.h
2295 + inttypes.h stdint.h unistd.h
2296 do
2297 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2298 echo "$as_me:$LINENO: checking for $ac_header" >&5
2299 @@ -4153,19 +4687,31 @@
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 else
2302 cat >conftest.$ac_ext <<_ACEOF
2303 -#line $LINENO "configure"
2304 -#include "confdefs.h"
2305 +/* confdefs.h. */
2306 +_ACEOF
2307 +cat confdefs.h >>conftest.$ac_ext
2308 +cat >>conftest.$ac_ext <<_ACEOF
2309 +/* end confdefs.h. */
2310 $ac_includes_default
2311
2312 #include <$ac_header>
2313 _ACEOF
2314 rm -f conftest.$ac_objext
2315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2316 - (eval $ac_compile) 2>&5
2317 + (eval $ac_compile) 2>conftest.er1
2318 ac_status=$?
2319 + grep -v '^ *+' conftest.er1 >conftest.err
2320 + rm -f conftest.er1
2321 + cat conftest.err >&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); } &&
2324 - { ac_try='test -s conftest.$ac_objext'
2325 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2326 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327 + (eval $ac_try) 2>&5
2328 + ac_status=$?
2329 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 + (exit $ac_status); }; } &&
2331 + { ac_try='test -s conftest.$ac_objext'
2332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333 (eval $ac_try) 2>&5
2334 ac_status=$?
2335 @@ -4174,10 +4720,11 @@
2336 eval "$as_ac_Header=yes"
2337 else
2338 echo "$as_me: failed program was:" >&5
2339 -cat conftest.$ac_ext >&5
2340 +sed 's/^/| /' conftest.$ac_ext >&5
2341 +
2342 eval "$as_ac_Header=no"
2343 fi
2344 -rm -f conftest.$ac_objext conftest.$ac_ext
2345 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2346 fi
2347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2349 @@ -4208,18 +4755,30 @@
2350 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2351 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2352 cat >conftest.$ac_ext <<_ACEOF
2353 -#line $LINENO "configure"
2354 -#include "confdefs.h"
2355 +/* confdefs.h. */
2356 +_ACEOF
2357 +cat confdefs.h >>conftest.$ac_ext
2358 +cat >>conftest.$ac_ext <<_ACEOF
2359 +/* end confdefs.h. */
2360 $ac_includes_default
2361 #include <$ac_header>
2362 _ACEOF
2363 rm -f conftest.$ac_objext
2364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2365 - (eval $ac_compile) 2>&5
2366 + (eval $ac_compile) 2>conftest.er1
2367 ac_status=$?
2368 + grep -v '^ *+' conftest.er1 >conftest.err
2369 + rm -f conftest.er1
2370 + cat conftest.err >&5
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); } &&
2373 - { ac_try='test -s conftest.$ac_objext'
2374 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2375 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2376 + (eval $ac_try) 2>&5
2377 + ac_status=$?
2378 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 + (exit $ac_status); }; } &&
2380 + { ac_try='test -s conftest.$ac_objext'
2381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2382 (eval $ac_try) 2>&5
2383 ac_status=$?
2384 @@ -4228,10 +4787,11 @@
2385 ac_header_compiler=yes
2386 else
2387 echo "$as_me: failed program was:" >&5
2388 -cat conftest.$ac_ext >&5
2389 +sed 's/^/| /' conftest.$ac_ext >&5
2390 +
2391 ac_header_compiler=no
2392 fi
2393 -rm -f conftest.$ac_objext conftest.$ac_ext
2394 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2395 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2396 echo "${ECHO_T}$ac_header_compiler" >&6
2397
2398 @@ -4239,20 +4799,24 @@
2399 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2401 cat >conftest.$ac_ext <<_ACEOF
2402 -#line $LINENO "configure"
2403 -#include "confdefs.h"
2404 +/* confdefs.h. */
2405 +_ACEOF
2406 +cat confdefs.h >>conftest.$ac_ext
2407 +cat >>conftest.$ac_ext <<_ACEOF
2408 +/* end confdefs.h. */
2409 #include <$ac_header>
2410 _ACEOF
2411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2413 ac_status=$?
2414 - egrep -v '^ *\+' conftest.er1 >conftest.err
2415 + grep -v '^ *+' conftest.er1 >conftest.err
2416 rm -f conftest.er1
2417 cat conftest.err >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); } >/dev/null; then
2420 if test -s conftest.err; then
2421 ac_cpp_err=$ac_c_preproc_warn_flag
2422 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2423 else
2424 ac_cpp_err=
2425 fi
2426 @@ -4263,7 +4827,8 @@
2427 ac_header_preproc=yes
2428 else
2429 echo "$as_me: failed program was:" >&5
2430 - cat conftest.$ac_ext >&5
2431 +sed 's/^/| /' conftest.$ac_ext >&5
2432 +
2433 ac_header_preproc=no
2434 fi
2435 rm -f conftest.err conftest.$ac_ext
2436 @@ -4271,26 +4836,43 @@
2437 echo "${ECHO_T}$ac_header_preproc" >&6
2438
2439 # So? What about this header?
2440 -case $ac_header_compiler:$ac_header_preproc in
2441 - yes:no )
2442 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2443 + yes:no: )
2444 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2445 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2446 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2447 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
2448 - no:yes )
2449 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
2450 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
2451 + ac_header_preproc=yes
2452 + ;;
2453 + no:yes:* )
2454 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2455 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2456 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2457 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2458 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2459 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2460 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
2461 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
2462 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
2463 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
2464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2465 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
2466 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2467 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2468 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2469 + (
2470 + cat <<\_ASBOX
2471 +## ------------------------------------------ ##
2472 +## Report this to the AC_PACKAGE_NAME lists. ##
2473 +## ------------------------------------------ ##
2474 +_ASBOX
2475 + ) |
2476 + sed "s/^/$as_me: WARNING: /" >&2
2477 + ;;
2478 esac
2479 echo "$as_me:$LINENO: checking for $ac_header" >&5
2480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2483 else
2484 - eval "$as_ac_Header=$ac_header_preproc"
2485 + eval "$as_ac_Header=\$ac_header_preproc"
2486 fi
2487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2489 @@ -4322,18 +4904,30 @@
2490 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2491 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2492 cat >conftest.$ac_ext <<_ACEOF
2493 -#line $LINENO "configure"
2494 -#include "confdefs.h"
2495 +/* confdefs.h. */
2496 +_ACEOF
2497 +cat confdefs.h >>conftest.$ac_ext
2498 +cat >>conftest.$ac_ext <<_ACEOF
2499 +/* end confdefs.h. */
2500 $ac_includes_default
2501 #include <$ac_header>
2502 _ACEOF
2503 rm -f conftest.$ac_objext
2504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2505 - (eval $ac_compile) 2>&5
2506 + (eval $ac_compile) 2>conftest.er1
2507 ac_status=$?
2508 + grep -v '^ *+' conftest.er1 >conftest.err
2509 + rm -f conftest.er1
2510 + cat conftest.err >&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); } &&
2513 - { ac_try='test -s conftest.$ac_objext'
2514 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2515 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2516 + (eval $ac_try) 2>&5
2517 + ac_status=$?
2518 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 + (exit $ac_status); }; } &&
2520 + { ac_try='test -s conftest.$ac_objext'
2521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2522 (eval $ac_try) 2>&5
2523 ac_status=$?
2524 @@ -4342,10 +4936,11 @@
2525 ac_header_compiler=yes
2526 else
2527 echo "$as_me: failed program was:" >&5
2528 -cat conftest.$ac_ext >&5
2529 +sed 's/^/| /' conftest.$ac_ext >&5
2530 +
2531 ac_header_compiler=no
2532 fi
2533 -rm -f conftest.$ac_objext conftest.$ac_ext
2534 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2535 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2536 echo "${ECHO_T}$ac_header_compiler" >&6
2537
2538 @@ -4353,20 +4948,24 @@
2539 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2541 cat >conftest.$ac_ext <<_ACEOF
2542 -#line $LINENO "configure"
2543 -#include "confdefs.h"
2544 +/* confdefs.h. */
2545 +_ACEOF
2546 +cat confdefs.h >>conftest.$ac_ext
2547 +cat >>conftest.$ac_ext <<_ACEOF
2548 +/* end confdefs.h. */
2549 #include <$ac_header>
2550 _ACEOF
2551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2553 ac_status=$?
2554 - egrep -v '^ *\+' conftest.er1 >conftest.err
2555 + grep -v '^ *+' conftest.er1 >conftest.err
2556 rm -f conftest.er1
2557 cat conftest.err >&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); } >/dev/null; then
2560 if test -s conftest.err; then
2561 ac_cpp_err=$ac_c_preproc_warn_flag
2562 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2563 else
2564 ac_cpp_err=
2565 fi
2566 @@ -4377,7 +4976,8 @@
2567 ac_header_preproc=yes
2568 else
2569 echo "$as_me: failed program was:" >&5
2570 - cat conftest.$ac_ext >&5
2571 +sed 's/^/| /' conftest.$ac_ext >&5
2572 +
2573 ac_header_preproc=no
2574 fi
2575 rm -f conftest.err conftest.$ac_ext
2576 @@ -4385,26 +4985,43 @@
2577 echo "${ECHO_T}$ac_header_preproc" >&6
2578
2579 # So? What about this header?
2580 -case $ac_header_compiler:$ac_header_preproc in
2581 - yes:no )
2582 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2583 + yes:no: )
2584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2585 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2586 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2587 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
2588 - no:yes )
2589 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
2590 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
2591 + ac_header_preproc=yes
2592 + ;;
2593 + no:yes:* )
2594 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2595 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2596 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2597 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2598 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2599 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2600 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
2601 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
2602 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
2603 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
2604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2605 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
2606 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2607 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2608 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2609 + (
2610 + cat <<\_ASBOX
2611 +## ------------------------------------------ ##
2612 +## Report this to the AC_PACKAGE_NAME lists. ##
2613 +## ------------------------------------------ ##
2614 +_ASBOX
2615 + ) |
2616 + sed "s/^/$as_me: WARNING: /" >&2
2617 + ;;
2618 esac
2619 echo "$as_me:$LINENO: checking for $ac_header" >&5
2620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2622 echo $ECHO_N "(cached) $ECHO_C" >&6
2623 else
2624 - eval "$as_ac_Header=$ac_header_preproc"
2625 + eval "$as_ac_Header=\$ac_header_preproc"
2626 fi
2627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2629 @@ -4436,18 +5053,30 @@
2630 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2631 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2632 cat >conftest.$ac_ext <<_ACEOF
2633 -#line $LINENO "configure"
2634 -#include "confdefs.h"
2635 +/* confdefs.h. */
2636 +_ACEOF
2637 +cat confdefs.h >>conftest.$ac_ext
2638 +cat >>conftest.$ac_ext <<_ACEOF
2639 +/* end confdefs.h. */
2640 $ac_includes_default
2641 #include <$ac_header>
2642 _ACEOF
2643 rm -f conftest.$ac_objext
2644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2645 - (eval $ac_compile) 2>&5
2646 + (eval $ac_compile) 2>conftest.er1
2647 ac_status=$?
2648 + grep -v '^ *+' conftest.er1 >conftest.err
2649 + rm -f conftest.er1
2650 + cat conftest.err >&5
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); } &&
2653 - { ac_try='test -s conftest.$ac_objext'
2654 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2655 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656 + (eval $ac_try) 2>&5
2657 + ac_status=$?
2658 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 + (exit $ac_status); }; } &&
2660 + { ac_try='test -s conftest.$ac_objext'
2661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2662 (eval $ac_try) 2>&5
2663 ac_status=$?
2664 @@ -4456,10 +5085,11 @@
2665 ac_header_compiler=yes
2666 else
2667 echo "$as_me: failed program was:" >&5
2668 -cat conftest.$ac_ext >&5
2669 +sed 's/^/| /' conftest.$ac_ext >&5
2670 +
2671 ac_header_compiler=no
2672 fi
2673 -rm -f conftest.$ac_objext conftest.$ac_ext
2674 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2675 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2676 echo "${ECHO_T}$ac_header_compiler" >&6
2677
2678 @@ -4467,20 +5097,24 @@
2679 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2680 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2681 cat >conftest.$ac_ext <<_ACEOF
2682 -#line $LINENO "configure"
2683 -#include "confdefs.h"
2684 +/* confdefs.h. */
2685 +_ACEOF
2686 +cat confdefs.h >>conftest.$ac_ext
2687 +cat >>conftest.$ac_ext <<_ACEOF
2688 +/* end confdefs.h. */
2689 #include <$ac_header>
2690 _ACEOF
2691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2692 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2693 ac_status=$?
2694 - egrep -v '^ *\+' conftest.er1 >conftest.err
2695 + grep -v '^ *+' conftest.er1 >conftest.err
2696 rm -f conftest.er1
2697 cat conftest.err >&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); } >/dev/null; then
2700 if test -s conftest.err; then
2701 ac_cpp_err=$ac_c_preproc_warn_flag
2702 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2703 else
2704 ac_cpp_err=
2705 fi
2706 @@ -4491,7 +5125,8 @@
2707 ac_header_preproc=yes
2708 else
2709 echo "$as_me: failed program was:" >&5
2710 - cat conftest.$ac_ext >&5
2711 +sed 's/^/| /' conftest.$ac_ext >&5
2712 +
2713 ac_header_preproc=no
2714 fi
2715 rm -f conftest.err conftest.$ac_ext
2716 @@ -4499,26 +5134,43 @@
2717 echo "${ECHO_T}$ac_header_preproc" >&6
2718
2719 # So? What about this header?
2720 -case $ac_header_compiler:$ac_header_preproc in
2721 - yes:no )
2722 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2723 + yes:no: )
2724 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2725 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2726 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2727 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
2728 - no:yes )
2729 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
2730 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
2731 + ac_header_preproc=yes
2732 + ;;
2733 + no:yes:* )
2734 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2735 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2736 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2737 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2738 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2739 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2740 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
2741 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
2742 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
2743 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
2744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2745 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
2746 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2747 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2748 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2749 + (
2750 + cat <<\_ASBOX
2751 +## ------------------------------------------ ##
2752 +## Report this to the AC_PACKAGE_NAME lists. ##
2753 +## ------------------------------------------ ##
2754 +_ASBOX
2755 + ) |
2756 + sed "s/^/$as_me: WARNING: /" >&2
2757 + ;;
2758 esac
2759 echo "$as_me:$LINENO: checking for $ac_header" >&5
2760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2762 echo $ECHO_N "(cached) $ECHO_C" >&6
2763 else
2764 - eval "$as_ac_Header=$ac_header_preproc"
2765 + eval "$as_ac_Header=\$ac_header_preproc"
2766 fi
2767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2769 @@ -4550,18 +5202,30 @@
2770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2772 cat >conftest.$ac_ext <<_ACEOF
2773 -#line $LINENO "configure"
2774 -#include "confdefs.h"
2775 +/* confdefs.h. */
2776 +_ACEOF
2777 +cat confdefs.h >>conftest.$ac_ext
2778 +cat >>conftest.$ac_ext <<_ACEOF
2779 +/* end confdefs.h. */
2780 $ac_includes_default
2781 #include <$ac_header>
2782 _ACEOF
2783 rm -f conftest.$ac_objext
2784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2785 - (eval $ac_compile) 2>&5
2786 + (eval $ac_compile) 2>conftest.er1
2787 ac_status=$?
2788 + grep -v '^ *+' conftest.er1 >conftest.err
2789 + rm -f conftest.er1
2790 + cat conftest.err >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); } &&
2793 - { ac_try='test -s conftest.$ac_objext'
2794 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2795 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2796 + (eval $ac_try) 2>&5
2797 + ac_status=$?
2798 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 + (exit $ac_status); }; } &&
2800 + { ac_try='test -s conftest.$ac_objext'
2801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2802 (eval $ac_try) 2>&5
2803 ac_status=$?
2804 @@ -4570,10 +5234,11 @@
2805 ac_header_compiler=yes
2806 else
2807 echo "$as_me: failed program was:" >&5
2808 -cat conftest.$ac_ext >&5
2809 +sed 's/^/| /' conftest.$ac_ext >&5
2810 +
2811 ac_header_compiler=no
2812 fi
2813 -rm -f conftest.$ac_objext conftest.$ac_ext
2814 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2815 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2816 echo "${ECHO_T}$ac_header_compiler" >&6
2817
2818 @@ -4581,20 +5246,24 @@
2819 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2820 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2821 cat >conftest.$ac_ext <<_ACEOF
2822 -#line $LINENO "configure"
2823 -#include "confdefs.h"
2824 +/* confdefs.h. */
2825 +_ACEOF
2826 +cat confdefs.h >>conftest.$ac_ext
2827 +cat >>conftest.$ac_ext <<_ACEOF
2828 +/* end confdefs.h. */
2829 #include <$ac_header>
2830 _ACEOF
2831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2833 ac_status=$?
2834 - egrep -v '^ *\+' conftest.er1 >conftest.err
2835 + grep -v '^ *+' conftest.er1 >conftest.err
2836 rm -f conftest.er1
2837 cat conftest.err >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); } >/dev/null; then
2840 if test -s conftest.err; then
2841 ac_cpp_err=$ac_c_preproc_warn_flag
2842 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2843 else
2844 ac_cpp_err=
2845 fi
2846 @@ -4605,7 +5274,8 @@
2847 ac_header_preproc=yes
2848 else
2849 echo "$as_me: failed program was:" >&5
2850 - cat conftest.$ac_ext >&5
2851 +sed 's/^/| /' conftest.$ac_ext >&5
2852 +
2853 ac_header_preproc=no
2854 fi
2855 rm -f conftest.err conftest.$ac_ext
2856 @@ -4613,26 +5283,43 @@
2857 echo "${ECHO_T}$ac_header_preproc" >&6
2858
2859 # So? What about this header?
2860 -case $ac_header_compiler:$ac_header_preproc in
2861 - yes:no )
2862 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2863 + yes:no: )
2864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2866 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2867 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
2868 - no:yes )
2869 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
2870 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
2871 + ac_header_preproc=yes
2872 + ;;
2873 + no:yes:* )
2874 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2875 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2876 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2877 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2878 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2879 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2880 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
2881 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
2882 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
2883 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
2884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2885 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
2886 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2887 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2888 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2889 + (
2890 + cat <<\_ASBOX
2891 +## ------------------------------------------ ##
2892 +## Report this to the AC_PACKAGE_NAME lists. ##
2893 +## ------------------------------------------ ##
2894 +_ASBOX
2895 + ) |
2896 + sed "s/^/$as_me: WARNING: /" >&2
2897 + ;;
2898 esac
2899 echo "$as_me:$LINENO: checking for $ac_header" >&5
2900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2902 echo $ECHO_N "(cached) $ECHO_C" >&6
2903 else
2904 - eval "$as_ac_Header=$ac_header_preproc"
2905 + eval "$as_ac_Header=\$ac_header_preproc"
2906 fi
2907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2909 @@ -4664,18 +5351,30 @@
2910 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2911 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2912 cat >conftest.$ac_ext <<_ACEOF
2913 -#line $LINENO "configure"
2914 -#include "confdefs.h"
2915 +/* confdefs.h. */
2916 +_ACEOF
2917 +cat confdefs.h >>conftest.$ac_ext
2918 +cat >>conftest.$ac_ext <<_ACEOF
2919 +/* end confdefs.h. */
2920 $ac_includes_default
2921 #include <$ac_header>
2922 _ACEOF
2923 rm -f conftest.$ac_objext
2924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2925 - (eval $ac_compile) 2>&5
2926 + (eval $ac_compile) 2>conftest.er1
2927 ac_status=$?
2928 + grep -v '^ *+' conftest.er1 >conftest.err
2929 + rm -f conftest.er1
2930 + cat conftest.err >&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); } &&
2933 - { ac_try='test -s conftest.$ac_objext'
2934 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2935 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936 + (eval $ac_try) 2>&5
2937 + ac_status=$?
2938 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 + (exit $ac_status); }; } &&
2940 + { ac_try='test -s conftest.$ac_objext'
2941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2942 (eval $ac_try) 2>&5
2943 ac_status=$?
2944 @@ -4684,10 +5383,11 @@
2945 ac_header_compiler=yes
2946 else
2947 echo "$as_me: failed program was:" >&5
2948 -cat conftest.$ac_ext >&5
2949 +sed 's/^/| /' conftest.$ac_ext >&5
2950 +
2951 ac_header_compiler=no
2952 fi
2953 -rm -f conftest.$ac_objext conftest.$ac_ext
2954 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2956 echo "${ECHO_T}$ac_header_compiler" >&6
2957
2958 @@ -4695,20 +5395,24 @@
2959 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2960 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2961 cat >conftest.$ac_ext <<_ACEOF
2962 -#line $LINENO "configure"
2963 -#include "confdefs.h"
2964 +/* confdefs.h. */
2965 +_ACEOF
2966 +cat confdefs.h >>conftest.$ac_ext
2967 +cat >>conftest.$ac_ext <<_ACEOF
2968 +/* end confdefs.h. */
2969 #include <$ac_header>
2970 _ACEOF
2971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2972 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2973 ac_status=$?
2974 - egrep -v '^ *\+' conftest.er1 >conftest.err
2975 + grep -v '^ *+' conftest.er1 >conftest.err
2976 rm -f conftest.er1
2977 cat conftest.err >&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); } >/dev/null; then
2980 if test -s conftest.err; then
2981 ac_cpp_err=$ac_c_preproc_warn_flag
2982 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2983 else
2984 ac_cpp_err=
2985 fi
2986 @@ -4719,7 +5423,8 @@
2987 ac_header_preproc=yes
2988 else
2989 echo "$as_me: failed program was:" >&5
2990 - cat conftest.$ac_ext >&5
2991 +sed 's/^/| /' conftest.$ac_ext >&5
2992 +
2993 ac_header_preproc=no
2994 fi
2995 rm -f conftest.err conftest.$ac_ext
2996 @@ -4727,26 +5432,43 @@
2997 echo "${ECHO_T}$ac_header_preproc" >&6
2998
2999 # So? What about this header?
3000 -case $ac_header_compiler:$ac_header_preproc in
3001 - yes:no )
3002 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3003 + yes:no: )
3004 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3005 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3006 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3007 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3008 - no:yes )
3009 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3010 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3011 + ac_header_preproc=yes
3012 + ;;
3013 + no:yes:* )
3014 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3015 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3016 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3017 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3018 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3019 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3020 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3021 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3022 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3023 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3025 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3026 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3027 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3028 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3029 + (
3030 + cat <<\_ASBOX
3031 +## ------------------------------------------ ##
3032 +## Report this to the AC_PACKAGE_NAME lists. ##
3033 +## ------------------------------------------ ##
3034 +_ASBOX
3035 + ) |
3036 + sed "s/^/$as_me: WARNING: /" >&2
3037 + ;;
3038 esac
3039 echo "$as_me:$LINENO: checking for $ac_header" >&5
3040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3042 echo $ECHO_N "(cached) $ECHO_C" >&6
3043 else
3044 - eval "$as_ac_Header=$ac_header_preproc"
3045 + eval "$as_ac_Header=\$ac_header_preproc"
3046 fi
3047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3049 @@ -4778,18 +5500,30 @@
3050 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3051 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3052 cat >conftest.$ac_ext <<_ACEOF
3053 -#line $LINENO "configure"
3054 -#include "confdefs.h"
3055 +/* confdefs.h. */
3056 +_ACEOF
3057 +cat confdefs.h >>conftest.$ac_ext
3058 +cat >>conftest.$ac_ext <<_ACEOF
3059 +/* end confdefs.h. */
3060 $ac_includes_default
3061 #include <$ac_header>
3062 _ACEOF
3063 rm -f conftest.$ac_objext
3064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3065 - (eval $ac_compile) 2>&5
3066 + (eval $ac_compile) 2>conftest.er1
3067 ac_status=$?
3068 + grep -v '^ *+' conftest.er1 >conftest.err
3069 + rm -f conftest.er1
3070 + cat conftest.err >&5
3071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 (exit $ac_status); } &&
3073 - { ac_try='test -s conftest.$ac_objext'
3074 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3075 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3076 + (eval $ac_try) 2>&5
3077 + ac_status=$?
3078 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 + (exit $ac_status); }; } &&
3080 + { ac_try='test -s conftest.$ac_objext'
3081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3082 (eval $ac_try) 2>&5
3083 ac_status=$?
3084 @@ -4798,10 +5532,11 @@
3085 ac_header_compiler=yes
3086 else
3087 echo "$as_me: failed program was:" >&5
3088 -cat conftest.$ac_ext >&5
3089 +sed 's/^/| /' conftest.$ac_ext >&5
3090 +
3091 ac_header_compiler=no
3092 fi
3093 -rm -f conftest.$ac_objext conftest.$ac_ext
3094 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3095 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3096 echo "${ECHO_T}$ac_header_compiler" >&6
3097
3098 @@ -4809,20 +5544,24 @@
3099 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3100 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3101 cat >conftest.$ac_ext <<_ACEOF
3102 -#line $LINENO "configure"
3103 -#include "confdefs.h"
3104 +/* confdefs.h. */
3105 +_ACEOF
3106 +cat confdefs.h >>conftest.$ac_ext
3107 +cat >>conftest.$ac_ext <<_ACEOF
3108 +/* end confdefs.h. */
3109 #include <$ac_header>
3110 _ACEOF
3111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3113 ac_status=$?
3114 - egrep -v '^ *\+' conftest.er1 >conftest.err
3115 + grep -v '^ *+' conftest.er1 >conftest.err
3116 rm -f conftest.er1
3117 cat conftest.err >&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); } >/dev/null; then
3120 if test -s conftest.err; then
3121 ac_cpp_err=$ac_c_preproc_warn_flag
3122 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3123 else
3124 ac_cpp_err=
3125 fi
3126 @@ -4833,7 +5572,8 @@
3127 ac_header_preproc=yes
3128 else
3129 echo "$as_me: failed program was:" >&5
3130 - cat conftest.$ac_ext >&5
3131 +sed 's/^/| /' conftest.$ac_ext >&5
3132 +
3133 ac_header_preproc=no
3134 fi
3135 rm -f conftest.err conftest.$ac_ext
3136 @@ -4841,26 +5581,43 @@
3137 echo "${ECHO_T}$ac_header_preproc" >&6
3138
3139 # So? What about this header?
3140 -case $ac_header_compiler:$ac_header_preproc in
3141 - yes:no )
3142 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3143 + yes:no: )
3144 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3145 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3146 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3147 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3148 - no:yes )
3149 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3150 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3151 + ac_header_preproc=yes
3152 + ;;
3153 + no:yes:* )
3154 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3155 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3156 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3157 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3158 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3159 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3160 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3161 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3162 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3163 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3165 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3166 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3167 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3168 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3169 + (
3170 + cat <<\_ASBOX
3171 +## ------------------------------------------ ##
3172 +## Report this to the AC_PACKAGE_NAME lists. ##
3173 +## ------------------------------------------ ##
3174 +_ASBOX
3175 + ) |
3176 + sed "s/^/$as_me: WARNING: /" >&2
3177 + ;;
3178 esac
3179 echo "$as_me:$LINENO: checking for $ac_header" >&5
3180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6
3183 else
3184 - eval "$as_ac_Header=$ac_header_preproc"
3185 + eval "$as_ac_Header=\$ac_header_preproc"
3186 fi
3187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3189 @@ -4886,8 +5643,11 @@
3190 ac_check_lib_save_LIBS=$LIBS
3191 LIBS="-lnsl $LIBS"
3192 cat >conftest.$ac_ext <<_ACEOF
3193 -#line $LINENO "configure"
3194 -#include "confdefs.h"
3195 +/* confdefs.h. */
3196 +_ACEOF
3197 +cat confdefs.h >>conftest.$ac_ext
3198 +cat >>conftest.$ac_ext <<_ACEOF
3199 +/* end confdefs.h. */
3200
3201 /* Override any gcc2 internal prototype to avoid an error. */
3202 #ifdef __cplusplus
3203 @@ -4896,12 +5656,6 @@
3204 /* We use char because int might match the return type of a gcc2
3205 builtin and then its argument prototype would still apply. */
3206 char inet_ntoa ();
3207 -#ifdef F77_DUMMY_MAIN
3208 -# ifdef __cplusplus
3209 - extern "C"
3210 -# endif
3211 - int F77_DUMMY_MAIN() { return 1; }
3212 -#endif
3213 int
3214 main ()
3215 {
3216 @@ -4912,11 +5666,20 @@
3217 _ACEOF
3218 rm -f conftest.$ac_objext conftest$ac_exeext
3219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3220 - (eval $ac_link) 2>&5
3221 + (eval $ac_link) 2>conftest.er1
3222 ac_status=$?
3223 + grep -v '^ *+' conftest.er1 >conftest.err
3224 + rm -f conftest.er1
3225 + cat conftest.err >&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); } &&
3228 - { ac_try='test -s conftest$ac_exeext'
3229 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3230 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3231 + (eval $ac_try) 2>&5
3232 + ac_status=$?
3233 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 + (exit $ac_status); }; } &&
3235 + { ac_try='test -s conftest$ac_exeext'
3236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3237 (eval $ac_try) 2>&5
3238 ac_status=$?
3239 @@ -4925,10 +5688,12 @@
3240 ac_cv_lib_nsl_inet_ntoa=yes
3241 else
3242 echo "$as_me: failed program was:" >&5
3243 -cat conftest.$ac_ext >&5
3244 +sed 's/^/| /' conftest.$ac_ext >&5
3245 +
3246 ac_cv_lib_nsl_inet_ntoa=no
3247 fi
3248 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3249 +rm -f conftest.err conftest.$ac_objext \
3250 + conftest$ac_exeext conftest.$ac_ext
3251 LIBS=$ac_check_lib_save_LIBS
3252 fi
3253 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
3254 @@ -4954,8 +5719,11 @@
3255 ac_check_lib_save_LIBS=$LIBS
3256 LIBS="-lsocket $LIBS"
3257 cat >conftest.$ac_ext <<_ACEOF
3258 -#line $LINENO "configure"
3259 -#include "confdefs.h"
3260 +/* confdefs.h. */
3261 +_ACEOF
3262 +cat confdefs.h >>conftest.$ac_ext
3263 +cat >>conftest.$ac_ext <<_ACEOF
3264 +/* end confdefs.h. */
3265
3266 /* Override any gcc2 internal prototype to avoid an error. */
3267 #ifdef __cplusplus
3268 @@ -4964,12 +5732,6 @@
3269 /* We use char because int might match the return type of a gcc2
3270 builtin and then its argument prototype would still apply. */
3271 char socket ();
3272 -#ifdef F77_DUMMY_MAIN
3273 -# ifdef __cplusplus
3274 - extern "C"
3275 -# endif
3276 - int F77_DUMMY_MAIN() { return 1; }
3277 -#endif
3278 int
3279 main ()
3280 {
3281 @@ -4980,11 +5742,20 @@
3282 _ACEOF
3283 rm -f conftest.$ac_objext conftest$ac_exeext
3284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3285 - (eval $ac_link) 2>&5
3286 + (eval $ac_link) 2>conftest.er1
3287 ac_status=$?
3288 + grep -v '^ *+' conftest.er1 >conftest.err
3289 + rm -f conftest.er1
3290 + cat conftest.err >&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); } &&
3293 - { ac_try='test -s conftest$ac_exeext'
3294 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3295 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3296 + (eval $ac_try) 2>&5
3297 + ac_status=$?
3298 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 + (exit $ac_status); }; } &&
3300 + { ac_try='test -s conftest$ac_exeext'
3301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3302 (eval $ac_try) 2>&5
3303 ac_status=$?
3304 @@ -4993,10 +5764,12 @@
3305 ac_cv_lib_socket_socket=yes
3306 else
3307 echo "$as_me: failed program was:" >&5
3308 -cat conftest.$ac_ext >&5
3309 +sed 's/^/| /' conftest.$ac_ext >&5
3310 +
3311 ac_cv_lib_socket_socket=no
3312 fi
3313 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3314 +rm -f conftest.err conftest.$ac_objext \
3315 + conftest$ac_exeext conftest.$ac_ext
3316 LIBS=$ac_check_lib_save_LIBS
3317 fi
3318 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3319 @@ -5027,49 +5800,72 @@
3320 echo $ECHO_N "(cached) $ECHO_C" >&6
3321 else
3322 cat >conftest.$ac_ext <<_ACEOF
3323 -#line $LINENO "configure"
3324 -#include "confdefs.h"
3325 +/* confdefs.h. */
3326 +_ACEOF
3327 +cat confdefs.h >>conftest.$ac_ext
3328 +cat >>conftest.$ac_ext <<_ACEOF
3329 +/* end confdefs.h. */
3330 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3331 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
3332 +#define $ac_func innocuous_$ac_func
3333 +
3334 /* System header to define __stub macros and hopefully few prototypes,
3335 - which can conflict with char $ac_func (); below. */
3336 -#include <assert.h>
3337 + which can conflict with char $ac_func (); below.
3338 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3339 + <limits.h> exists even on freestanding compilers. */
3340 +
3341 +#ifdef __STDC__
3342 +# include <limits.h>
3343 +#else
3344 +# include <assert.h>
3345 +#endif
3346 +
3347 +#undef $ac_func
3348 +
3349 /* Override any gcc2 internal prototype to avoid an error. */
3350 #ifdef __cplusplus
3351 extern "C"
3352 +{
3353 #endif
3354 /* We use char because int might match the return type of a gcc2
3355 builtin and then its argument prototype would still apply. */
3356 char $ac_func ();
3357 -char (*f) ();
3358 -
3359 -#ifdef F77_DUMMY_MAIN
3360 -# ifdef __cplusplus
3361 - extern "C"
3362 -# endif
3363 - int F77_DUMMY_MAIN() { return 1; }
3364 -#endif
3365 -int
3366 -main ()
3367 -{
3368 /* The GNU C library defines this for functions which it implements
3369 to always fail with ENOSYS. Some functions are actually named
3370 something starting with __ and the normal name is an alias. */
3371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3372 choke me
3373 #else
3374 -f = $ac_func;
3375 +char (*f) () = $ac_func;
3376 +#endif
3377 +#ifdef __cplusplus
3378 +}
3379 #endif
3380
3381 +int
3382 +main ()
3383 +{
3384 +return f != $ac_func;
3385 ;
3386 return 0;
3387 }
3388 _ACEOF
3389 rm -f conftest.$ac_objext conftest$ac_exeext
3390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3391 - (eval $ac_link) 2>&5
3392 + (eval $ac_link) 2>conftest.er1
3393 ac_status=$?
3394 + grep -v '^ *+' conftest.er1 >conftest.err
3395 + rm -f conftest.er1
3396 + cat conftest.err >&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); } &&
3399 - { ac_try='test -s conftest$ac_exeext'
3400 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3401 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3402 + (eval $ac_try) 2>&5
3403 + ac_status=$?
3404 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 + (exit $ac_status); }; } &&
3406 + { ac_try='test -s conftest$ac_exeext'
3407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3408 (eval $ac_try) 2>&5
3409 ac_status=$?
3410 @@ -5078,10 +5874,12 @@
3411 eval "$as_ac_var=yes"
3412 else
3413 echo "$as_me: failed program was:" >&5
3414 -cat conftest.$ac_ext >&5
3415 +sed 's/^/| /' conftest.$ac_ext >&5
3416 +
3417 eval "$as_ac_var=no"
3418 fi
3419 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3420 +rm -f conftest.err conftest.$ac_objext \
3421 + conftest$ac_exeext conftest.$ac_ext
3422 fi
3423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3425 @@ -5105,49 +5903,72 @@
3426 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 else
3428 cat >conftest.$ac_ext <<_ACEOF
3429 -#line $LINENO "configure"
3430 -#include "confdefs.h"
3431 +/* confdefs.h. */
3432 +_ACEOF
3433 +cat confdefs.h >>conftest.$ac_ext
3434 +cat >>conftest.$ac_ext <<_ACEOF
3435 +/* end confdefs.h. */
3436 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3437 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
3438 +#define $ac_func innocuous_$ac_func
3439 +
3440 /* System header to define __stub macros and hopefully few prototypes,
3441 - which can conflict with char $ac_func (); below. */
3442 -#include <assert.h>
3443 + which can conflict with char $ac_func (); below.
3444 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3445 + <limits.h> exists even on freestanding compilers. */
3446 +
3447 +#ifdef __STDC__
3448 +# include <limits.h>
3449 +#else
3450 +# include <assert.h>
3451 +#endif
3452 +
3453 +#undef $ac_func
3454 +
3455 /* Override any gcc2 internal prototype to avoid an error. */
3456 #ifdef __cplusplus
3457 extern "C"
3458 +{
3459 #endif
3460 /* We use char because int might match the return type of a gcc2
3461 builtin and then its argument prototype would still apply. */
3462 char $ac_func ();
3463 -char (*f) ();
3464 -
3465 -#ifdef F77_DUMMY_MAIN
3466 -# ifdef __cplusplus
3467 - extern "C"
3468 -# endif
3469 - int F77_DUMMY_MAIN() { return 1; }
3470 -#endif
3471 -int
3472 -main ()
3473 -{
3474 /* The GNU C library defines this for functions which it implements
3475 to always fail with ENOSYS. Some functions are actually named
3476 something starting with __ and the normal name is an alias. */
3477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3478 choke me
3479 #else
3480 -f = $ac_func;
3481 +char (*f) () = $ac_func;
3482 +#endif
3483 +#ifdef __cplusplus
3484 +}
3485 #endif
3486
3487 +int
3488 +main ()
3489 +{
3490 +return f != $ac_func;
3491 ;
3492 return 0;
3493 }
3494 _ACEOF
3495 rm -f conftest.$ac_objext conftest$ac_exeext
3496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3497 - (eval $ac_link) 2>&5
3498 + (eval $ac_link) 2>conftest.er1
3499 ac_status=$?
3500 + grep -v '^ *+' conftest.er1 >conftest.err
3501 + rm -f conftest.er1
3502 + cat conftest.err >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); } &&
3505 - { ac_try='test -s conftest$ac_exeext'
3506 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3507 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3508 + (eval $ac_try) 2>&5
3509 + ac_status=$?
3510 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 + (exit $ac_status); }; } &&
3512 + { ac_try='test -s conftest$ac_exeext'
3513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3514 (eval $ac_try) 2>&5
3515 ac_status=$?
3516 @@ -5156,10 +5977,12 @@
3517 eval "$as_ac_var=yes"
3518 else
3519 echo "$as_me: failed program was:" >&5
3520 -cat conftest.$ac_ext >&5
3521 +sed 's/^/| /' conftest.$ac_ext >&5
3522 +
3523 eval "$as_ac_var=no"
3524 fi
3525 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3526 +rm -f conftest.err conftest.$ac_objext \
3527 + conftest$ac_exeext conftest.$ac_ext
3528 fi
3529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3531 @@ -5202,8 +6025,11 @@
3532 echo $ECHO_N "(cached) $ECHO_C" >&6
3533 else
3534 cat >conftest.$ac_ext <<_ACEOF
3535 -#line $LINENO "configure"
3536 -#include "confdefs.h"
3537 +/* confdefs.h. */
3538 +_ACEOF
3539 +cat confdefs.h >>conftest.$ac_ext
3540 +cat >>conftest.$ac_ext <<_ACEOF
3541 +/* end confdefs.h. */
3542
3543 #include <stdio.h>
3544 #ifdef HAVE_STRING_H
3545 @@ -5222,12 +6048,6 @@
3546 #include <sys/socket.h>
3547 #include <syslog.h>
3548
3549 -#ifdef F77_DUMMY_MAIN
3550 -# ifdef __cplusplus
3551 - extern "C"
3552 -# endif
3553 - int F77_DUMMY_MAIN() { return 1; }
3554 -#endif
3555 int
3556 main ()
3557 {
3558 @@ -5238,11 +6058,20 @@
3559 _ACEOF
3560 rm -f conftest.$ac_objext
3561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3562 - (eval $ac_compile) 2>&5
3563 + (eval $ac_compile) 2>conftest.er1
3564 ac_status=$?
3565 + grep -v '^ *+' conftest.er1 >conftest.err
3566 + rm -f conftest.er1
3567 + cat conftest.err >&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); } &&
3570 - { ac_try='test -s conftest.$ac_objext'
3571 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3572 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3573 + (eval $ac_try) 2>&5
3574 + ac_status=$?
3575 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576 + (exit $ac_status); }; } &&
3577 + { ac_try='test -s conftest.$ac_objext'
3578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3579 (eval $ac_try) 2>&5
3580 ac_status=$?
3581 @@ -5251,10 +6080,11 @@
3582 eval "sn_cv_decl_needed_$sn_decl=no"
3583 else
3584 echo "$as_me: failed program was:" >&5
3585 -cat conftest.$ac_ext >&5
3586 +sed 's/^/| /' conftest.$ac_ext >&5
3587 +
3588 eval "sn_cv_decl_needed_$sn_decl=yes"
3589 fi
3590 -rm -f conftest.$ac_objext conftest.$ac_ext
3591 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3592 fi
3593
3594
3595 @@ -5286,49 +6116,72 @@
3596 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 else
3598 cat >conftest.$ac_ext <<_ACEOF
3599 -#line $LINENO "configure"
3600 -#include "confdefs.h"
3601 +/* confdefs.h. */
3602 +_ACEOF
3603 +cat confdefs.h >>conftest.$ac_ext
3604 +cat >>conftest.$ac_ext <<_ACEOF
3605 +/* end confdefs.h. */
3606 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3607 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
3608 +#define $ac_func innocuous_$ac_func
3609 +
3610 /* System header to define __stub macros and hopefully few prototypes,
3611 - which can conflict with char $ac_func (); below. */
3612 -#include <assert.h>
3613 + which can conflict with char $ac_func (); below.
3614 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3615 + <limits.h> exists even on freestanding compilers. */
3616 +
3617 +#ifdef __STDC__
3618 +# include <limits.h>
3619 +#else
3620 +# include <assert.h>
3621 +#endif
3622 +
3623 +#undef $ac_func
3624 +
3625 /* Override any gcc2 internal prototype to avoid an error. */
3626 #ifdef __cplusplus
3627 extern "C"
3628 +{
3629 #endif
3630 /* We use char because int might match the return type of a gcc2
3631 builtin and then its argument prototype would still apply. */
3632 char $ac_func ();
3633 -char (*f) ();
3634 -
3635 -#ifdef F77_DUMMY_MAIN
3636 -# ifdef __cplusplus
3637 - extern "C"
3638 -# endif
3639 - int F77_DUMMY_MAIN() { return 1; }
3640 -#endif
3641 -int
3642 -main ()
3643 -{
3644 /* The GNU C library defines this for functions which it implements
3645 to always fail with ENOSYS. Some functions are actually named
3646 something starting with __ and the normal name is an alias. */
3647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3648 choke me
3649 #else
3650 -f = $ac_func;
3651 +char (*f) () = $ac_func;
3652 +#endif
3653 +#ifdef __cplusplus
3654 +}
3655 #endif
3656
3657 +int
3658 +main ()
3659 +{
3660 +return f != $ac_func;
3661 ;
3662 return 0;
3663 }
3664 _ACEOF
3665 rm -f conftest.$ac_objext conftest$ac_exeext
3666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3667 - (eval $ac_link) 2>&5
3668 + (eval $ac_link) 2>conftest.er1
3669 ac_status=$?
3670 + grep -v '^ *+' conftest.er1 >conftest.err
3671 + rm -f conftest.er1
3672 + cat conftest.err >&5
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); } &&
3675 - { ac_try='test -s conftest$ac_exeext'
3676 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3677 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3678 + (eval $ac_try) 2>&5
3679 + ac_status=$?
3680 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 + (exit $ac_status); }; } &&
3682 + { ac_try='test -s conftest$ac_exeext'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3684 (eval $ac_try) 2>&5
3685 ac_status=$?
3686 @@ -5337,10 +6190,12 @@
3687 eval "$as_ac_var=yes"
3688 else
3689 echo "$as_me: failed program was:" >&5
3690 -cat conftest.$ac_ext >&5
3691 +sed 's/^/| /' conftest.$ac_ext >&5
3692 +
3693 eval "$as_ac_var=no"
3694 fi
3695 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3696 +rm -f conftest.err conftest.$ac_objext \
3697 + conftest$ac_exeext conftest.$ac_ext
3698 fi
3699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3701 @@ -5362,49 +6217,72 @@
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 else
3704 cat >conftest.$ac_ext <<_ACEOF
3705 -#line $LINENO "configure"
3706 -#include "confdefs.h"
3707 +/* confdefs.h. */
3708 +_ACEOF
3709 +cat confdefs.h >>conftest.$ac_ext
3710 +cat >>conftest.$ac_ext <<_ACEOF
3711 +/* end confdefs.h. */
3712 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3713 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
3714 +#define $ac_func innocuous_$ac_func
3715 +
3716 /* System header to define __stub macros and hopefully few prototypes,
3717 - which can conflict with char $ac_func (); below. */
3718 -#include <assert.h>
3719 + which can conflict with char $ac_func (); below.
3720 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3721 + <limits.h> exists even on freestanding compilers. */
3722 +
3723 +#ifdef __STDC__
3724 +# include <limits.h>
3725 +#else
3726 +# include <assert.h>
3727 +#endif
3728 +
3729 +#undef $ac_func
3730 +
3731 /* Override any gcc2 internal prototype to avoid an error. */
3732 #ifdef __cplusplus
3733 extern "C"
3734 +{
3735 #endif
3736 /* We use char because int might match the return type of a gcc2
3737 builtin and then its argument prototype would still apply. */
3738 char $ac_func ();
3739 -char (*f) ();
3740 -
3741 -#ifdef F77_DUMMY_MAIN
3742 -# ifdef __cplusplus
3743 - extern "C"
3744 -# endif
3745 - int F77_DUMMY_MAIN() { return 1; }
3746 -#endif
3747 -int
3748 -main ()
3749 -{
3750 /* The GNU C library defines this for functions which it implements
3751 to always fail with ENOSYS. Some functions are actually named
3752 something starting with __ and the normal name is an alias. */
3753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3754 choke me
3755 #else
3756 -f = $ac_func;
3757 +char (*f) () = $ac_func;
3758 +#endif
3759 +#ifdef __cplusplus
3760 +}
3761 #endif
3762
3763 +int
3764 +main ()
3765 +{
3766 +return f != $ac_func;
3767 ;
3768 return 0;
3769 }
3770 _ACEOF
3771 rm -f conftest.$ac_objext conftest$ac_exeext
3772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3773 - (eval $ac_link) 2>&5
3774 + (eval $ac_link) 2>conftest.er1
3775 ac_status=$?
3776 + grep -v '^ *+' conftest.er1 >conftest.err
3777 + rm -f conftest.er1
3778 + cat conftest.err >&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); } &&
3781 - { ac_try='test -s conftest$ac_exeext'
3782 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3783 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3784 + (eval $ac_try) 2>&5
3785 + ac_status=$?
3786 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787 + (exit $ac_status); }; } &&
3788 + { ac_try='test -s conftest$ac_exeext'
3789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3790 (eval $ac_try) 2>&5
3791 ac_status=$?
3792 @@ -5413,10 +6291,12 @@
3793 eval "$as_ac_var=yes"
3794 else
3795 echo "$as_me: failed program was:" >&5
3796 -cat conftest.$ac_ext >&5
3797 +sed 's/^/| /' conftest.$ac_ext >&5
3798 +
3799 eval "$as_ac_var=no"
3800 fi
3801 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3802 +rm -f conftest.err conftest.$ac_objext \
3803 + conftest$ac_exeext conftest.$ac_ext
3804 fi
3805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3807 @@ -5438,49 +6318,72 @@
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3809 else
3810 cat >conftest.$ac_ext <<_ACEOF
3811 -#line $LINENO "configure"
3812 -#include "confdefs.h"
3813 +/* confdefs.h. */
3814 +_ACEOF
3815 +cat confdefs.h >>conftest.$ac_ext
3816 +cat >>conftest.$ac_ext <<_ACEOF
3817 +/* end confdefs.h. */
3818 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3819 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
3820 +#define $ac_func innocuous_$ac_func
3821 +
3822 /* System header to define __stub macros and hopefully few prototypes,
3823 - which can conflict with char $ac_func (); below. */
3824 -#include <assert.h>
3825 + which can conflict with char $ac_func (); below.
3826 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3827 + <limits.h> exists even on freestanding compilers. */
3828 +
3829 +#ifdef __STDC__
3830 +# include <limits.h>
3831 +#else
3832 +# include <assert.h>
3833 +#endif
3834 +
3835 +#undef $ac_func
3836 +
3837 /* Override any gcc2 internal prototype to avoid an error. */
3838 #ifdef __cplusplus
3839 extern "C"
3840 +{
3841 #endif
3842 /* We use char because int might match the return type of a gcc2
3843 builtin and then its argument prototype would still apply. */
3844 char $ac_func ();
3845 -char (*f) ();
3846 -
3847 -#ifdef F77_DUMMY_MAIN
3848 -# ifdef __cplusplus
3849 - extern "C"
3850 -# endif
3851 - int F77_DUMMY_MAIN() { return 1; }
3852 -#endif
3853 -int
3854 -main ()
3855 -{
3856 /* The GNU C library defines this for functions which it implements
3857 to always fail with ENOSYS. Some functions are actually named
3858 something starting with __ and the normal name is an alias. */
3859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3860 choke me
3861 #else
3862 -f = $ac_func;
3863 +char (*f) () = $ac_func;
3864 +#endif
3865 +#ifdef __cplusplus
3866 +}
3867 #endif
3868
3869 +int
3870 +main ()
3871 +{
3872 +return f != $ac_func;
3873 ;
3874 return 0;
3875 }
3876 _ACEOF
3877 rm -f conftest.$ac_objext conftest$ac_exeext
3878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3879 - (eval $ac_link) 2>&5
3880 + (eval $ac_link) 2>conftest.er1
3881 ac_status=$?
3882 + grep -v '^ *+' conftest.er1 >conftest.err
3883 + rm -f conftest.er1
3884 + cat conftest.err >&5
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); } &&
3887 - { ac_try='test -s conftest$ac_exeext'
3888 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3889 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3890 + (eval $ac_try) 2>&5
3891 + ac_status=$?
3892 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 + (exit $ac_status); }; } &&
3894 + { ac_try='test -s conftest$ac_exeext'
3895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3896 (eval $ac_try) 2>&5
3897 ac_status=$?
3898 @@ -5489,10 +6392,12 @@
3899 eval "$as_ac_var=yes"
3900 else
3901 echo "$as_me: failed program was:" >&5
3902 -cat conftest.$ac_ext >&5
3903 +sed 's/^/| /' conftest.$ac_ext >&5
3904 +
3905 eval "$as_ac_var=no"
3906 fi
3907 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3908 +rm -f conftest.err conftest.$ac_objext \
3909 + conftest$ac_exeext conftest.$ac_ext
3910 fi
3911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3913 @@ -5514,49 +6419,72 @@
3914 echo $ECHO_N "(cached) $ECHO_C" >&6
3915 else
3916 cat >conftest.$ac_ext <<_ACEOF
3917 -#line $LINENO "configure"
3918 -#include "confdefs.h"
3919 +/* confdefs.h. */
3920 +_ACEOF
3921 +cat confdefs.h >>conftest.$ac_ext
3922 +cat >>conftest.$ac_ext <<_ACEOF
3923 +/* end confdefs.h. */
3924 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3925 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
3926 +#define $ac_func innocuous_$ac_func
3927 +
3928 /* System header to define __stub macros and hopefully few prototypes,
3929 - which can conflict with char $ac_func (); below. */
3930 -#include <assert.h>
3931 + which can conflict with char $ac_func (); below.
3932 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3933 + <limits.h> exists even on freestanding compilers. */
3934 +
3935 +#ifdef __STDC__
3936 +# include <limits.h>
3937 +#else
3938 +# include <assert.h>
3939 +#endif
3940 +
3941 +#undef $ac_func
3942 +
3943 /* Override any gcc2 internal prototype to avoid an error. */
3944 #ifdef __cplusplus
3945 extern "C"
3946 +{
3947 #endif
3948 /* We use char because int might match the return type of a gcc2
3949 builtin and then its argument prototype would still apply. */
3950 char $ac_func ();
3951 -char (*f) ();
3952 -
3953 -#ifdef F77_DUMMY_MAIN
3954 -# ifdef __cplusplus
3955 - extern "C"
3956 -# endif
3957 - int F77_DUMMY_MAIN() { return 1; }
3958 -#endif
3959 -int
3960 -main ()
3961 -{
3962 /* The GNU C library defines this for functions which it implements
3963 to always fail with ENOSYS. Some functions are actually named
3964 something starting with __ and the normal name is an alias. */
3965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3966 choke me
3967 #else
3968 -f = $ac_func;
3969 +char (*f) () = $ac_func;
3970 +#endif
3971 +#ifdef __cplusplus
3972 +}
3973 #endif
3974
3975 +int
3976 +main ()
3977 +{
3978 +return f != $ac_func;
3979 ;
3980 return 0;
3981 }
3982 _ACEOF
3983 rm -f conftest.$ac_objext conftest$ac_exeext
3984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3985 - (eval $ac_link) 2>&5
3986 + (eval $ac_link) 2>conftest.er1
3987 ac_status=$?
3988 + grep -v '^ *+' conftest.er1 >conftest.err
3989 + rm -f conftest.er1
3990 + cat conftest.err >&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); } &&
3993 - { ac_try='test -s conftest$ac_exeext'
3994 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3995 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3996 + (eval $ac_try) 2>&5
3997 + ac_status=$?
3998 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 + (exit $ac_status); }; } &&
4000 + { ac_try='test -s conftest$ac_exeext'
4001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4002 (eval $ac_try) 2>&5
4003 ac_status=$?
4004 @@ -5565,10 +6493,12 @@
4005 eval "$as_ac_var=yes"
4006 else
4007 echo "$as_me: failed program was:" >&5
4008 -cat conftest.$ac_ext >&5
4009 +sed 's/^/| /' conftest.$ac_ext >&5
4010 +
4011 eval "$as_ac_var=no"
4012 fi
4013 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4014 +rm -f conftest.err conftest.$ac_objext \
4015 + conftest$ac_exeext conftest.$ac_ext
4016 fi
4017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4019 @@ -5582,17 +6512,14 @@
4020
4021
4022 cat >conftest.$ac_ext <<_ACEOF
4023 -#line $LINENO "configure"
4024 -#include "confdefs.h"
4025 +/* confdefs.h. */
4026 +_ACEOF
4027 +cat confdefs.h >>conftest.$ac_ext
4028 +cat >>conftest.$ac_ext <<_ACEOF
4029 +/* end confdefs.h. */
4030
4031 #include <stdio.h>
4032
4033 -#ifdef F77_DUMMY_MAIN
4034 -# ifdef __cplusplus
4035 - extern "C"
4036 -# endif
4037 - int F77_DUMMY_MAIN() { return 1; }
4038 -#endif
4039 int
4040 main ()
4041 {
4042 @@ -5603,11 +6530,20 @@
4043 _ACEOF
4044 rm -f conftest.$ac_objext
4045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4046 - (eval $ac_compile) 2>&5
4047 + (eval $ac_compile) 2>conftest.er1
4048 ac_status=$?
4049 + grep -v '^ *+' conftest.er1 >conftest.err
4050 + rm -f conftest.er1
4051 + cat conftest.err >&5
4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); } &&
4054 - { ac_try='test -s conftest.$ac_objext'
4055 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4056 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4057 + (eval $ac_try) 2>&5
4058 + ac_status=$?
4059 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060 + (exit $ac_status); }; } &&
4061 + { ac_try='test -s conftest.$ac_objext'
4062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4063 (eval $ac_try) 2>&5
4064 ac_status=$?
4065 @@ -5620,24 +6556,22 @@
4066
4067 else
4068 echo "$as_me: failed program was:" >&5
4069 -cat conftest.$ac_ext >&5
4070 +sed 's/^/| /' conftest.$ac_ext >&5
4071 +
4072 fi
4073 -rm -f conftest.$ac_objext conftest.$ac_ext
4074 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4075
4076 echo "$as_me:$LINENO: checking for __FUNCTION__" >&5
4077 echo $ECHO_N "checking for __FUNCTION__... $ECHO_C" >&6
4078 cat >conftest.$ac_ext <<_ACEOF
4079 -#line $LINENO "configure"
4080 -#include "confdefs.h"
4081 +/* confdefs.h. */
4082 +_ACEOF
4083 +cat confdefs.h >>conftest.$ac_ext
4084 +cat >>conftest.$ac_ext <<_ACEOF
4085 +/* end confdefs.h. */
4086
4087 #include <stdio.h>
4088
4089 -#ifdef F77_DUMMY_MAIN
4090 -# ifdef __cplusplus
4091 - extern "C"
4092 -# endif
4093 - int F77_DUMMY_MAIN() { return 1; }
4094 -#endif
4095 int
4096 main ()
4097 {
4098 @@ -5648,11 +6582,20 @@
4099 _ACEOF
4100 rm -f conftest.$ac_objext
4101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4102 - (eval $ac_compile) 2>&5
4103 + (eval $ac_compile) 2>conftest.er1
4104 ac_status=$?
4105 + grep -v '^ *+' conftest.er1 >conftest.err
4106 + rm -f conftest.er1
4107 + cat conftest.err >&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); } &&
4110 - { ac_try='test -s conftest.$ac_objext'
4111 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4112 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4113 + (eval $ac_try) 2>&5
4114 + ac_status=$?
4115 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116 + (exit $ac_status); }; } &&
4117 + { ac_try='test -s conftest.$ac_objext'
4118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4119 (eval $ac_try) 2>&5
4120 ac_status=$?
4121 @@ -5661,10 +6604,11 @@
4122 sn_cv_have___FUNCTION__=yes
4123 else
4124 echo "$as_me: failed program was:" >&5
4125 -cat conftest.$ac_ext >&5
4126 +sed 's/^/| /' conftest.$ac_ext >&5
4127 +
4128 sn_cv__have___FUNCTION__=no
4129 fi
4130 -rm -f conftest.$ac_objext conftest.$ac_ext
4131 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4132 if test "x$sn_cv_have___FUNCTION__" = "xyes"; then
4133 echo "$as_me:$LINENO: result: yes" >&5
4134 echo "${ECHO_T}yes" >&6
4135 @@ -5679,17 +6623,14 @@
4136 echo "$as_me:$LINENO: checking for __func__" >&5
4137 echo $ECHO_N "checking for __func__... $ECHO_C" >&6
4138 cat >conftest.$ac_ext <<_ACEOF
4139 -#line $LINENO "configure"
4140 -#include "confdefs.h"
4141 +/* confdefs.h. */
4142 +_ACEOF
4143 +cat confdefs.h >>conftest.$ac_ext
4144 +cat >>conftest.$ac_ext <<_ACEOF
4145 +/* end confdefs.h. */
4146
4147 #include <stdio.h>
4148
4149 -#ifdef F77_DUMMY_MAIN
4150 -# ifdef __cplusplus
4151 - extern "C"
4152 -# endif
4153 - int F77_DUMMY_MAIN() { return 1; }
4154 -#endif
4155 int
4156 main ()
4157 {
4158 @@ -5700,11 +6641,20 @@
4159 _ACEOF
4160 rm -f conftest.$ac_objext
4161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4162 - (eval $ac_compile) 2>&5
4163 + (eval $ac_compile) 2>conftest.er1
4164 ac_status=$?
4165 + grep -v '^ *+' conftest.er1 >conftest.err
4166 + rm -f conftest.er1
4167 + cat conftest.err >&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); } &&
4170 - { ac_try='test -s conftest.$ac_objext'
4171 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4172 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4173 + (eval $ac_try) 2>&5
4174 + ac_status=$?
4175 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176 + (exit $ac_status); }; } &&
4177 + { ac_try='test -s conftest.$ac_objext'
4178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4179 (eval $ac_try) 2>&5
4180 ac_status=$?
4181 @@ -5713,10 +6663,11 @@
4182 sn_cv_have___func__=yes
4183 else
4184 echo "$as_me: failed program was:" >&5
4185 -cat conftest.$ac_ext >&5
4186 +sed 's/^/| /' conftest.$ac_ext >&5
4187 +
4188 sn_cv__have___func__=no
4189 fi
4190 -rm -f conftest.$ac_objext conftest.$ac_ext
4191 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4192 if test "x$sn_cv_have___func__" = "xyes"; then
4193 echo "$as_me:$LINENO: result: yes" >&5
4194 echo "${ECHO_T}yes" >&6
4195 @@ -5777,8 +6728,11 @@
4196 ac_check_lib_save_LIBS=$LIBS
4197 LIBS="-lm $LIBS"
4198 cat >conftest.$ac_ext <<_ACEOF
4199 -#line $LINENO "configure"
4200 -#include "confdefs.h"
4201 +/* confdefs.h. */
4202 +_ACEOF
4203 +cat confdefs.h >>conftest.$ac_ext
4204 +cat >>conftest.$ac_ext <<_ACEOF
4205 +/* end confdefs.h. */
4206
4207 /* Override any gcc2 internal prototype to avoid an error. */
4208 #ifdef __cplusplus
4209 @@ -5787,12 +6741,6 @@
4210 /* We use char because int might match the return type of a gcc2
4211 builtin and then its argument prototype would still apply. */
4212 char floor ();
4213 -#ifdef F77_DUMMY_MAIN
4214 -# ifdef __cplusplus
4215 - extern "C"
4216 -# endif
4217 - int F77_DUMMY_MAIN() { return 1; }
4218 -#endif
4219 int
4220 main ()
4221 {
4222 @@ -5803,11 +6751,20 @@
4223 _ACEOF
4224 rm -f conftest.$ac_objext conftest$ac_exeext
4225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4226 - (eval $ac_link) 2>&5
4227 + (eval $ac_link) 2>conftest.er1
4228 ac_status=$?
4229 + grep -v '^ *+' conftest.er1 >conftest.err
4230 + rm -f conftest.er1
4231 + cat conftest.err >&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); } &&
4234 - { ac_try='test -s conftest$ac_exeext'
4235 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4236 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4237 + (eval $ac_try) 2>&5
4238 + ac_status=$?
4239 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240 + (exit $ac_status); }; } &&
4241 + { ac_try='test -s conftest$ac_exeext'
4242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4243 (eval $ac_try) 2>&5
4244 ac_status=$?
4245 @@ -5816,10 +6773,12 @@
4246 ac_cv_lib_m_floor=yes
4247 else
4248 echo "$as_me: failed program was:" >&5
4249 -cat conftest.$ac_ext >&5
4250 +sed 's/^/| /' conftest.$ac_ext >&5
4251 +
4252 ac_cv_lib_m_floor=no
4253 fi
4254 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4255 +rm -f conftest.err conftest.$ac_objext \
4256 + conftest$ac_exeext conftest.$ac_ext
4257 LIBS=$ac_check_lib_save_LIBS
4258 fi
4259 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
4260 @@ -5844,8 +6803,11 @@
4261 ac_check_lib_save_LIBS=$LIBS
4262 LIBS="-lpcap $LIBS"
4263 cat >conftest.$ac_ext <<_ACEOF
4264 -#line $LINENO "configure"
4265 -#include "confdefs.h"
4266 +/* confdefs.h. */
4267 +_ACEOF
4268 +cat confdefs.h >>conftest.$ac_ext
4269 +cat >>conftest.$ac_ext <<_ACEOF
4270 +/* end confdefs.h. */
4271
4272 /* Override any gcc2 internal prototype to avoid an error. */
4273 #ifdef __cplusplus
4274 @@ -5854,12 +6816,6 @@
4275 /* We use char because int might match the return type of a gcc2
4276 builtin and then its argument prototype would still apply. */
4277 char pcap_datalink ();
4278 -#ifdef F77_DUMMY_MAIN
4279 -# ifdef __cplusplus
4280 - extern "C"
4281 -# endif
4282 - int F77_DUMMY_MAIN() { return 1; }
4283 -#endif
4284 int
4285 main ()
4286 {
4287 @@ -5870,11 +6826,20 @@
4288 _ACEOF
4289 rm -f conftest.$ac_objext conftest$ac_exeext
4290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4291 - (eval $ac_link) 2>&5
4292 + (eval $ac_link) 2>conftest.er1
4293 ac_status=$?
4294 + grep -v '^ *+' conftest.er1 >conftest.err
4295 + rm -f conftest.er1
4296 + cat conftest.err >&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); } &&
4299 - { ac_try='test -s conftest$ac_exeext'
4300 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4301 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4302 + (eval $ac_try) 2>&5
4303 + ac_status=$?
4304 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 + (exit $ac_status); }; } &&
4306 + { ac_try='test -s conftest$ac_exeext'
4307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4308 (eval $ac_try) 2>&5
4309 ac_status=$?
4310 @@ -5883,10 +6848,12 @@
4311 ac_cv_lib_pcap_pcap_datalink=yes
4312 else
4313 echo "$as_me: failed program was:" >&5
4314 -cat conftest.$ac_ext >&5
4315 +sed 's/^/| /' conftest.$ac_ext >&5
4316 +
4317 ac_cv_lib_pcap_pcap_datalink=no
4318 fi
4319 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4320 +rm -f conftest.err conftest.$ac_objext \
4321 + conftest$ac_exeext conftest.$ac_ext
4322 LIBS=$ac_check_lib_save_LIBS
4323 fi
4324 echo "$as_me:$LINENO: result: $ac_cv_lib_pcap_pcap_datalink" >&5
4325 @@ -5966,18 +6933,30 @@
4326 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4327 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4328 cat >conftest.$ac_ext <<_ACEOF
4329 -#line $LINENO "configure"
4330 -#include "confdefs.h"
4331 +/* confdefs.h. */
4332 +_ACEOF
4333 +cat confdefs.h >>conftest.$ac_ext
4334 +cat >>conftest.$ac_ext <<_ACEOF
4335 +/* end confdefs.h. */
4336 $ac_includes_default
4337 #include <$ac_header>
4338 _ACEOF
4339 rm -f conftest.$ac_objext
4340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4341 - (eval $ac_compile) 2>&5
4342 + (eval $ac_compile) 2>conftest.er1
4343 ac_status=$?
4344 + grep -v '^ *+' conftest.er1 >conftest.err
4345 + rm -f conftest.er1
4346 + cat conftest.err >&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } &&
4349 - { ac_try='test -s conftest.$ac_objext'
4350 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4351 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4352 + (eval $ac_try) 2>&5
4353 + ac_status=$?
4354 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4355 + (exit $ac_status); }; } &&
4356 + { ac_try='test -s conftest.$ac_objext'
4357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4358 (eval $ac_try) 2>&5
4359 ac_status=$?
4360 @@ -5986,10 +6965,11 @@
4361 ac_header_compiler=yes
4362 else
4363 echo "$as_me: failed program was:" >&5
4364 -cat conftest.$ac_ext >&5
4365 +sed 's/^/| /' conftest.$ac_ext >&5
4366 +
4367 ac_header_compiler=no
4368 fi
4369 -rm -f conftest.$ac_objext conftest.$ac_ext
4370 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4371 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4372 echo "${ECHO_T}$ac_header_compiler" >&6
4373
4374 @@ -5997,20 +6977,24 @@
4375 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4376 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4377 cat >conftest.$ac_ext <<_ACEOF
4378 -#line $LINENO "configure"
4379 -#include "confdefs.h"
4380 +/* confdefs.h. */
4381 +_ACEOF
4382 +cat confdefs.h >>conftest.$ac_ext
4383 +cat >>conftest.$ac_ext <<_ACEOF
4384 +/* end confdefs.h. */
4385 #include <$ac_header>
4386 _ACEOF
4387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4388 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4389 ac_status=$?
4390 - egrep -v '^ *\+' conftest.er1 >conftest.err
4391 + grep -v '^ *+' conftest.er1 >conftest.err
4392 rm -f conftest.er1
4393 cat conftest.err >&5
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); } >/dev/null; then
4396 if test -s conftest.err; then
4397 ac_cpp_err=$ac_c_preproc_warn_flag
4398 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4399 else
4400 ac_cpp_err=
4401 fi
4402 @@ -6021,7 +7005,8 @@
4403 ac_header_preproc=yes
4404 else
4405 echo "$as_me: failed program was:" >&5
4406 - cat conftest.$ac_ext >&5
4407 +sed 's/^/| /' conftest.$ac_ext >&5
4408 +
4409 ac_header_preproc=no
4410 fi
4411 rm -f conftest.err conftest.$ac_ext
4412 @@ -6029,26 +7014,43 @@
4413 echo "${ECHO_T}$ac_header_preproc" >&6
4414
4415 # So? What about this header?
4416 -case $ac_header_compiler:$ac_header_preproc in
4417 - yes:no )
4418 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4419 + yes:no: )
4420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4422 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4423 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4424 - no:yes )
4425 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4426 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4427 + ac_header_preproc=yes
4428 + ;;
4429 + no:yes:* )
4430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4432 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4433 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4434 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4435 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4436 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4437 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4438 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4439 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4441 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4442 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4443 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4444 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4445 + (
4446 + cat <<\_ASBOX
4447 +## ------------------------------------------ ##
4448 +## Report this to the AC_PACKAGE_NAME lists. ##
4449 +## ------------------------------------------ ##
4450 +_ASBOX
4451 + ) |
4452 + sed "s/^/$as_me: WARNING: /" >&2
4453 + ;;
4454 esac
4455 echo "$as_me:$LINENO: checking for $ac_header" >&5
4456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4458 echo $ECHO_N "(cached) $ECHO_C" >&6
4459 else
4460 - eval "$as_ac_Header=$ac_header_preproc"
4461 + eval "$as_ac_Header=\$ac_header_preproc"
4462 fi
4463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4465 @@ -6083,8 +7085,11 @@
4466 ac_check_lib_save_LIBS=$LIBS
4467 LIBS="-lpcre $LIBS"
4468 cat >conftest.$ac_ext <<_ACEOF
4469 -#line $LINENO "configure"
4470 -#include "confdefs.h"
4471 +/* confdefs.h. */
4472 +_ACEOF
4473 +cat confdefs.h >>conftest.$ac_ext
4474 +cat >>conftest.$ac_ext <<_ACEOF
4475 +/* end confdefs.h. */
4476
4477 /* Override any gcc2 internal prototype to avoid an error. */
4478 #ifdef __cplusplus
4479 @@ -6093,12 +7098,6 @@
4480 /* We use char because int might match the return type of a gcc2
4481 builtin and then its argument prototype would still apply. */
4482 char pcre_compile ();
4483 -#ifdef F77_DUMMY_MAIN
4484 -# ifdef __cplusplus
4485 - extern "C"
4486 -# endif
4487 - int F77_DUMMY_MAIN() { return 1; }
4488 -#endif
4489 int
4490 main ()
4491 {
4492 @@ -6109,11 +7108,20 @@
4493 _ACEOF
4494 rm -f conftest.$ac_objext conftest$ac_exeext
4495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4496 - (eval $ac_link) 2>&5
4497 + (eval $ac_link) 2>conftest.er1
4498 ac_status=$?
4499 + grep -v '^ *+' conftest.er1 >conftest.err
4500 + rm -f conftest.er1
4501 + cat conftest.err >&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); } &&
4504 - { ac_try='test -s conftest$ac_exeext'
4505 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4506 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4507 + (eval $ac_try) 2>&5
4508 + ac_status=$?
4509 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 + (exit $ac_status); }; } &&
4511 + { ac_try='test -s conftest$ac_exeext'
4512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4513 (eval $ac_try) 2>&5
4514 ac_status=$?
4515 @@ -6122,10 +7130,12 @@
4516 ac_cv_lib_pcre_pcre_compile=yes
4517 else
4518 echo "$as_me: failed program was:" >&5
4519 -cat conftest.$ac_ext >&5
4520 +sed 's/^/| /' conftest.$ac_ext >&5
4521 +
4522 ac_cv_lib_pcre_pcre_compile=no
4523 fi
4524 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4525 +rm -f conftest.err conftest.$ac_objext \
4526 + conftest$ac_exeext conftest.$ac_ext
4527 LIBS=$ac_check_lib_save_LIBS
4528 fi
4529 echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_pcre_compile" >&5
4530 @@ -6277,8 +7287,11 @@
4531 ac_check_lib_save_LIBS=$LIBS
4532 LIBS="-lz $LIBS"
4533 cat >conftest.$ac_ext <<_ACEOF
4534 -#line $LINENO "configure"
4535 -#include "confdefs.h"
4536 +/* confdefs.h. */
4537 +_ACEOF
4538 +cat confdefs.h >>conftest.$ac_ext
4539 +cat >>conftest.$ac_ext <<_ACEOF
4540 +/* end confdefs.h. */
4541
4542 /* Override any gcc2 internal prototype to avoid an error. */
4543 #ifdef __cplusplus
4544 @@ -6287,12 +7300,6 @@
4545 /* We use char because int might match the return type of a gcc2
4546 builtin and then its argument prototype would still apply. */
4547 char compress ();
4548 -#ifdef F77_DUMMY_MAIN
4549 -# ifdef __cplusplus
4550 - extern "C"
4551 -# endif
4552 - int F77_DUMMY_MAIN() { return 1; }
4553 -#endif
4554 int
4555 main ()
4556 {
4557 @@ -6303,11 +7310,20 @@
4558 _ACEOF
4559 rm -f conftest.$ac_objext conftest$ac_exeext
4560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4561 - (eval $ac_link) 2>&5
4562 + (eval $ac_link) 2>conftest.er1
4563 ac_status=$?
4564 + grep -v '^ *+' conftest.er1 >conftest.err
4565 + rm -f conftest.er1
4566 + cat conftest.err >&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); } &&
4569 - { ac_try='test -s conftest$ac_exeext'
4570 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4571 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4572 + (eval $ac_try) 2>&5
4573 + ac_status=$?
4574 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 + (exit $ac_status); }; } &&
4576 + { ac_try='test -s conftest$ac_exeext'
4577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4578 (eval $ac_try) 2>&5
4579 ac_status=$?
4580 @@ -6316,10 +7332,12 @@
4581 ac_cv_lib_z_compress=yes
4582 else
4583 echo "$as_me: failed program was:" >&5
4584 -cat conftest.$ac_ext >&5
4585 +sed 's/^/| /' conftest.$ac_ext >&5
4586 +
4587 ac_cv_lib_z_compress=no
4588 fi
4589 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4590 +rm -f conftest.err conftest.$ac_objext \
4591 + conftest$ac_exeext conftest.$ac_ext
4592 LIBS=$ac_check_lib_save_LIBS
4593 fi
4594 echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
4595 @@ -6682,18 +7700,30 @@
4596 echo "$as_me:$LINENO: checking libipq.h usability" >&5
4597 echo $ECHO_N "checking libipq.h usability... $ECHO_C" >&6
4598 cat >conftest.$ac_ext <<_ACEOF
4599 -#line $LINENO "configure"
4600 -#include "confdefs.h"
4601 +/* confdefs.h. */
4602 +_ACEOF
4603 +cat confdefs.h >>conftest.$ac_ext
4604 +cat >>conftest.$ac_ext <<_ACEOF
4605 +/* end confdefs.h. */
4606 $ac_includes_default
4607 #include <libipq.h>
4608 _ACEOF
4609 rm -f conftest.$ac_objext
4610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4611 - (eval $ac_compile) 2>&5
4612 + (eval $ac_compile) 2>conftest.er1
4613 ac_status=$?
4614 + grep -v '^ *+' conftest.er1 >conftest.err
4615 + rm -f conftest.er1
4616 + cat conftest.err >&5
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); } &&
4619 - { ac_try='test -s conftest.$ac_objext'
4620 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4621 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4622 + (eval $ac_try) 2>&5
4623 + ac_status=$?
4624 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 + (exit $ac_status); }; } &&
4626 + { ac_try='test -s conftest.$ac_objext'
4627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4628 (eval $ac_try) 2>&5
4629 ac_status=$?
4630 @@ -6702,10 +7732,11 @@
4631 ac_header_compiler=yes
4632 else
4633 echo "$as_me: failed program was:" >&5
4634 -cat conftest.$ac_ext >&5
4635 +sed 's/^/| /' conftest.$ac_ext >&5
4636 +
4637 ac_header_compiler=no
4638 fi
4639 -rm -f conftest.$ac_objext conftest.$ac_ext
4640 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4642 echo "${ECHO_T}$ac_header_compiler" >&6
4643
4644 @@ -6713,20 +7744,24 @@
4645 echo "$as_me:$LINENO: checking libipq.h presence" >&5
4646 echo $ECHO_N "checking libipq.h presence... $ECHO_C" >&6
4647 cat >conftest.$ac_ext <<_ACEOF
4648 -#line $LINENO "configure"
4649 -#include "confdefs.h"
4650 +/* confdefs.h. */
4651 +_ACEOF
4652 +cat confdefs.h >>conftest.$ac_ext
4653 +cat >>conftest.$ac_ext <<_ACEOF
4654 +/* end confdefs.h. */
4655 #include <libipq.h>
4656 _ACEOF
4657 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4658 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4659 ac_status=$?
4660 - egrep -v '^ *\+' conftest.er1 >conftest.err
4661 + grep -v '^ *+' conftest.er1 >conftest.err
4662 rm -f conftest.er1
4663 cat conftest.err >&5
4664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4665 (exit $ac_status); } >/dev/null; then
4666 if test -s conftest.err; then
4667 ac_cpp_err=$ac_c_preproc_warn_flag
4668 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4669 else
4670 ac_cpp_err=
4671 fi
4672 @@ -6737,7 +7772,8 @@
4673 ac_header_preproc=yes
4674 else
4675 echo "$as_me: failed program was:" >&5
4676 - cat conftest.$ac_ext >&5
4677 +sed 's/^/| /' conftest.$ac_ext >&5
4678 +
4679 ac_header_preproc=no
4680 fi
4681 rm -f conftest.err conftest.$ac_ext
4682 @@ -6745,19 +7781,36 @@
4683 echo "${ECHO_T}$ac_header_preproc" >&6
4684
4685 # So? What about this header?
4686 -case $ac_header_compiler:$ac_header_preproc in
4687 - yes:no )
4688 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4689 + yes:no: )
4690 { echo "$as_me:$LINENO: WARNING: libipq.h: accepted by the compiler, rejected by the preprocessor!" >&5
4691 echo "$as_me: WARNING: libipq.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4692 - { echo "$as_me:$LINENO: WARNING: libipq.h: proceeding with the preprocessor's result" >&5
4693 -echo "$as_me: WARNING: libipq.h: proceeding with the preprocessor's result" >&2;};;
4694 - no:yes )
4695 + { echo "$as_me:$LINENO: WARNING: libipq.h: proceeding with the compiler's result" >&5
4696 +echo "$as_me: WARNING: libipq.h: proceeding with the compiler's result" >&2;}
4697 + ac_header_preproc=yes
4698 + ;;
4699 + no:yes:* )
4700 { echo "$as_me:$LINENO: WARNING: libipq.h: present but cannot be compiled" >&5
4701 echo "$as_me: WARNING: libipq.h: present but cannot be compiled" >&2;}
4702 - { echo "$as_me:$LINENO: WARNING: libipq.h: check for missing prerequisite headers?" >&5
4703 -echo "$as_me: WARNING: libipq.h: check for missing prerequisite headers?" >&2;}
4704 + { echo "$as_me:$LINENO: WARNING: libipq.h: check for missing prerequisite headers?" >&5
4705 +echo "$as_me: WARNING: libipq.h: check for missing prerequisite headers?" >&2;}
4706 + { echo "$as_me:$LINENO: WARNING: libipq.h: see the Autoconf documentation" >&5
4707 +echo "$as_me: WARNING: libipq.h: see the Autoconf documentation" >&2;}
4708 + { echo "$as_me:$LINENO: WARNING: libipq.h: section \"Present But Cannot Be Compiled\"" >&5
4709 +echo "$as_me: WARNING: libipq.h: section \"Present But Cannot Be Compiled\"" >&2;}
4710 { echo "$as_me:$LINENO: WARNING: libipq.h: proceeding with the preprocessor's result" >&5
4711 -echo "$as_me: WARNING: libipq.h: proceeding with the preprocessor's result" >&2;};;
4712 +echo "$as_me: WARNING: libipq.h: proceeding with the preprocessor's result" >&2;}
4713 + { echo "$as_me:$LINENO: WARNING: libipq.h: in the future, the compiler will take precedence" >&5
4714 +echo "$as_me: WARNING: libipq.h: in the future, the compiler will take precedence" >&2;}
4715 + (
4716 + cat <<\_ASBOX
4717 +## ------------------------------------------ ##
4718 +## Report this to the AC_PACKAGE_NAME lists. ##
4719 +## ------------------------------------------ ##
4720 +_ASBOX
4721 + ) |
4722 + sed "s/^/$as_me: WARNING: /" >&2
4723 + ;;
4724 esac
4725 echo "$as_me:$LINENO: checking for libipq.h" >&5
4726 echo $ECHO_N "checking for libipq.h... $ECHO_C" >&6
4727 @@ -6793,8 +7846,11 @@
4728 ac_check_lib_save_LIBS=$LIBS
4729 LIBS="-lipq $LIBS"
4730 cat >conftest.$ac_ext <<_ACEOF
4731 -#line $LINENO "configure"
4732 -#include "confdefs.h"
4733 +/* confdefs.h. */
4734 +_ACEOF
4735 +cat confdefs.h >>conftest.$ac_ext
4736 +cat >>conftest.$ac_ext <<_ACEOF
4737 +/* end confdefs.h. */
4738
4739 /* Override any gcc2 internal prototype to avoid an error. */
4740 #ifdef __cplusplus
4741 @@ -6803,12 +7859,6 @@
4742 /* We use char because int might match the return type of a gcc2
4743 builtin and then its argument prototype would still apply. */
4744 char ipq_set_mode ();
4745 -#ifdef F77_DUMMY_MAIN
4746 -# ifdef __cplusplus
4747 - extern "C"
4748 -# endif
4749 - int F77_DUMMY_MAIN() { return 1; }
4750 -#endif
4751 int
4752 main ()
4753 {
4754 @@ -6819,11 +7869,20 @@
4755 _ACEOF
4756 rm -f conftest.$ac_objext conftest$ac_exeext
4757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4758 - (eval $ac_link) 2>&5
4759 + (eval $ac_link) 2>conftest.er1
4760 ac_status=$?
4761 + grep -v '^ *+' conftest.er1 >conftest.err
4762 + rm -f conftest.er1
4763 + cat conftest.err >&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); } &&
4766 - { ac_try='test -s conftest$ac_exeext'
4767 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4768 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4769 + (eval $ac_try) 2>&5
4770 + ac_status=$?
4771 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 + (exit $ac_status); }; } &&
4773 + { ac_try='test -s conftest$ac_exeext'
4774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4775 (eval $ac_try) 2>&5
4776 ac_status=$?
4777 @@ -6832,10 +7891,12 @@
4778 ac_cv_lib_ipq_ipq_set_mode=yes
4779 else
4780 echo "$as_me: failed program was:" >&5
4781 -cat conftest.$ac_ext >&5
4782 +sed 's/^/| /' conftest.$ac_ext >&5
4783 +
4784 ac_cv_lib_ipq_ipq_set_mode=no
4785 fi
4786 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4787 +rm -f conftest.err conftest.$ac_objext \
4788 + conftest$ac_exeext conftest.$ac_ext
4789 LIBS=$ac_check_lib_save_LIBS
4790 fi
4791 echo "$as_me:$LINENO: result: $ac_cv_lib_ipq_ipq_set_mode" >&5
4792 @@ -6847,59 +7908,21 @@
4793
4794 LIBS="-lipq $LIBS"
4795
4796 -else
4797 - LIPQ="no"
4798 -fi
4799 -
4800 -
4801 - if test "$LIPQ" = "no"; then
4802 - echo
4803 - echo " ERROR! Libipq library/headers not found, go get it from"
4804 - echo " www.netfilter.org or use the --with-libipq-* options, "
4805 - echo " if you have it installed in unusual place"
4806 - echo
4807 - exit
4808 - fi
4809 - fi
4810 -
4811 - LIBNET_INC_DIR=""
4812 - echo "$as_me:$LINENO: checking \"for libnet.h version 1.0.x\"" >&5
4813 -echo $ECHO_N "checking \"for libnet.h version 1.0.x\"... $ECHO_C" >&6
4814 - libnet_dir="/usr/include /usr/local/include"
4815 - for i in $libnet_dir; do
4816 - if test -r $i/libnet.h; then
4817 - LIBNET_INC_DIR=$i
4818 - fi
4819 - done
4820 -
4821 - if test "$LIBNET_INC_DIR" != ""; then
4822 - if eval "grep LIBNET_VERSION $LIBNET_INC_DIR/libnet.h | grep -v 1.0 >/dev/null"; then
4823 -
4824 - echo
4825 - echo
4826 - echo "**********************************************"
4827 - echo " ERROR: unable to find" "libnet 1.0.x (libnet.h)"
4828 - echo " checked in the following places"
4829 - for i in `echo $tmp`; do
4830 - echo " $i"
4831 - done
4832 - echo "**********************************************"
4833 - echo
4834 - exit
4835 +else
4836 + LIPQ="no"
4837 +fi
4838
4839 - fi
4840 - CFLAGS="${CFLAGS} `libnet-config --defines` `libnet-config --cflags`"
4841 - LIBS="${LIBS} `libnet-config --libs`"
4842 - CPPFLAGS="${CPPFLAGS} -I${LIBNET_INC_DIR}"
4843 - echo "$as_me:$LINENO: result: $i" >&5
4844 -echo "${ECHO_T}$i" >&6
4845 - else
4846 - echo "$as_me:$LINENO: result: no" >&5
4847 -echo "${ECHO_T}no" >&6
4848 - { { echo "$as_me:$LINENO: error: \"libnet 1.0.x could not be found. please download and install the library from http://www.packetfactory.net/libnet/\"" >&5
4849 -echo "$as_me: error: \"libnet 1.0.x could not be found. please download and install the library from http://www.packetfactory.net/libnet/\"" >&2;}
4850 - { (exit 1); exit 1; }; }
4851 +
4852 + if test "$LIPQ" = "no"; then
4853 + echo
4854 + echo " ERROR! Libipq library/headers not found, go get it from"
4855 + echo " www.netfilter.org or use the --with-libipq-* options, "
4856 + echo " if you have it installed in unusual place"
4857 + echo
4858 + exit
4859 + fi
4860 fi
4861 +
4862 fi
4863 fi
4864
4865 @@ -6910,7 +7933,7 @@
4866 fi;
4867
4868
4869 -if test "$enable_flexresp" != "no" -a "$enable_flexresp" = "yes"; then
4870 +if test "$enable_inline" = "yes" -o "$enable_flexresp" = "yes"; then
4871
4872 if test `libnet-config --cflags | wc -c` = "1"; then
4873 CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/sw/include"
4874 @@ -6946,18 +7969,30 @@
4875 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4876 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4877 cat >conftest.$ac_ext <<_ACEOF
4878 -#line $LINENO "configure"
4879 -#include "confdefs.h"
4880 +/* confdefs.h. */
4881 +_ACEOF
4882 +cat confdefs.h >>conftest.$ac_ext
4883 +cat >>conftest.$ac_ext <<_ACEOF
4884 +/* end confdefs.h. */
4885 $ac_includes_default
4886 #include <$ac_header>
4887 _ACEOF
4888 rm -f conftest.$ac_objext
4889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4890 - (eval $ac_compile) 2>&5
4891 + (eval $ac_compile) 2>conftest.er1
4892 ac_status=$?
4893 + grep -v '^ *+' conftest.er1 >conftest.err
4894 + rm -f conftest.er1
4895 + cat conftest.err >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); } &&
4898 - { ac_try='test -s conftest.$ac_objext'
4899 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4900 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4901 + (eval $ac_try) 2>&5
4902 + ac_status=$?
4903 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 + (exit $ac_status); }; } &&
4905 + { ac_try='test -s conftest.$ac_objext'
4906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4907 (eval $ac_try) 2>&5
4908 ac_status=$?
4909 @@ -6966,10 +8001,11 @@
4910 ac_header_compiler=yes
4911 else
4912 echo "$as_me: failed program was:" >&5
4913 -cat conftest.$ac_ext >&5
4914 +sed 's/^/| /' conftest.$ac_ext >&5
4915 +
4916 ac_header_compiler=no
4917 fi
4918 -rm -f conftest.$ac_objext conftest.$ac_ext
4919 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4920 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4921 echo "${ECHO_T}$ac_header_compiler" >&6
4922
4923 @@ -6977,20 +8013,24 @@
4924 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4925 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4926 cat >conftest.$ac_ext <<_ACEOF
4927 -#line $LINENO "configure"
4928 -#include "confdefs.h"
4929 +/* confdefs.h. */
4930 +_ACEOF
4931 +cat confdefs.h >>conftest.$ac_ext
4932 +cat >>conftest.$ac_ext <<_ACEOF
4933 +/* end confdefs.h. */
4934 #include <$ac_header>
4935 _ACEOF
4936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4938 ac_status=$?
4939 - egrep -v '^ *\+' conftest.er1 >conftest.err
4940 + grep -v '^ *+' conftest.er1 >conftest.err
4941 rm -f conftest.er1
4942 cat conftest.err >&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); } >/dev/null; then
4945 if test -s conftest.err; then
4946 ac_cpp_err=$ac_c_preproc_warn_flag
4947 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4948 else
4949 ac_cpp_err=
4950 fi
4951 @@ -7001,7 +8041,8 @@
4952 ac_header_preproc=yes
4953 else
4954 echo "$as_me: failed program was:" >&5
4955 - cat conftest.$ac_ext >&5
4956 +sed 's/^/| /' conftest.$ac_ext >&5
4957 +
4958 ac_header_preproc=no
4959 fi
4960 rm -f conftest.err conftest.$ac_ext
4961 @@ -7009,26 +8050,43 @@
4962 echo "${ECHO_T}$ac_header_preproc" >&6
4963
4964 # So? What about this header?
4965 -case $ac_header_compiler:$ac_header_preproc in
4966 - yes:no )
4967 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4968 + yes:no: )
4969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4971 - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4972 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4973 - no:yes )
4974 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4975 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4976 + ac_header_preproc=yes
4977 + ;;
4978 + no:yes:* )
4979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4981 - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4982 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4983 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4984 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4985 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4986 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4987 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4988 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4990 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
4991 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4992 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4993 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4994 + (
4995 + cat <<\_ASBOX
4996 +## ------------------------------------------ ##
4997 +## Report this to the AC_PACKAGE_NAME lists. ##
4998 +## ------------------------------------------ ##
4999 +_ASBOX
5000 + ) |
5001 + sed "s/^/$as_me: WARNING: /" >&2
5002 + ;;
5003 esac
5004 echo "$as_me:$LINENO: checking for $ac_header" >&5
5005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5007 echo $ECHO_N "(cached) $ECHO_C" >&6
5008 else
5009 - eval "$as_ac_Header=$ac_header_preproc"
5010 + eval "$as_ac_Header=\$ac_header_preproc"
5011 fi
5012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5013 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5014 @@ -7125,8 +8183,11 @@
5015 ac_check_lib_save_LIBS=$LIBS
5016 LIBS="-lnet $LIBS"
5017 cat >conftest.$ac_ext <<_ACEOF
5018 -#line $LINENO "configure"
5019 -#include "confdefs.h"
5020 +/* confdefs.h. */
5021 +_ACEOF
5022 +cat confdefs.h >>conftest.$ac_ext
5023 +cat >>conftest.$ac_ext <<_ACEOF
5024 +/* end confdefs.h. */
5025
5026 /* Override any gcc2 internal prototype to avoid an error. */
5027 #ifdef __cplusplus
5028 @@ -7135,12 +8196,6 @@
5029 /* We use char because int might match the return type of a gcc2
5030 builtin and then its argument prototype would still apply. */
5031 char libnet_build_ip ();
5032 -#ifdef F77_DUMMY_MAIN
5033 -# ifdef __cplusplus
5034 - extern "C"
5035 -# endif
5036 - int F77_DUMMY_MAIN() { return 1; }
5037 -#endif
5038 int
5039 main ()
5040 {
5041 @@ -7151,11 +8206,20 @@
5042 _ACEOF
5043 rm -f conftest.$ac_objext conftest$ac_exeext
5044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5045 - (eval $ac_link) 2>&5
5046 + (eval $ac_link) 2>conftest.er1
5047 ac_status=$?
5048 + grep -v '^ *+' conftest.er1 >conftest.err
5049 + rm -f conftest.er1
5050 + cat conftest.err >&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); } &&
5053 - { ac_try='test -s conftest$ac_exeext'
5054 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5055 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5056 + (eval $ac_try) 2>&5
5057 + ac_status=$?
5058 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 + (exit $ac_status); }; } &&
5060 + { ac_try='test -s conftest$ac_exeext'
5061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5062 (eval $ac_try) 2>&5
5063 ac_status=$?
5064 @@ -7164,10 +8228,12 @@
5065 ac_cv_lib_net_libnet_build_ip=yes
5066 else
5067 echo "$as_me: failed program was:" >&5
5068 -cat conftest.$ac_ext >&5
5069 +sed 's/^/| /' conftest.$ac_ext >&5
5070 +
5071 ac_cv_lib_net_libnet_build_ip=no
5072 fi
5073 -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5074 +rm -f conftest.err conftest.$ac_objext \
5075 + conftest$ac_exeext conftest.$ac_ext
5076 LIBS=$ac_check_lib_save_LIBS
5077 fi
5078 echo "$as_me:$LINENO: result: $ac_cv_lib_net_libnet_build_ip" >&5
5079 @@ -7201,15 +8267,12 @@
5080 echo $ECHO_N "(cached) $ECHO_C" >&6
5081 else
5082 cat >conftest.$ac_ext <<_ACEOF
5083 -#line $LINENO "configure"
5084 -#include "confdefs.h"
5085 +/* confdefs.h. */
5086 +_ACEOF
5087 +cat confdefs.h >>conftest.$ac_ext
5088 +cat >>conftest.$ac_ext <<_ACEOF
5089 +/* end confdefs.h. */
5090 $ac_includes_default
5091 -#ifdef F77_DUMMY_MAIN
5092 -# ifdef __cplusplus
5093 - extern "C"
5094 -# endif
5095 - int F77_DUMMY_MAIN() { return 1; }
5096 -#endif
5097 int
5098 main ()
5099 {
5100 @@ -7223,11 +8286,20 @@
5101 _ACEOF
5102 rm -f conftest.$ac_objext
5103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5104 - (eval $ac_compile) 2>&5
5105 + (eval $ac_compile) 2>conftest.er1
5106 ac_status=$?
5107 + grep -v '^ *+' conftest.er1 >conftest.err
5108 + rm -f conftest.er1
5109 + cat conftest.err >&5
5110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5111 (exit $ac_status); } &&
5112 - { ac_try='test -s conftest.$ac_objext'
5113 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5114 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5115 + (eval $ac_try) 2>&5
5116 + ac_status=$?
5117 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 + (exit $ac_status); }; } &&
5119 + { ac_try='test -s conftest.$ac_objext'
5120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5121 (eval $ac_try) 2>&5
5122 ac_status=$?
5123 @@ -7236,10 +8308,11 @@
5124 ac_cv_type_u_int8_t=yes
5125 else
5126 echo "$as_me: failed program was:" >&5
5127 -cat conftest.$ac_ext >&5
5128 +sed 's/^/| /' conftest.$ac_ext >&5
5129 +
5130 ac_cv_type_u_int8_t=no
5131 fi
5132 -rm -f conftest.$ac_objext conftest.$ac_ext
5133 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5134 fi
5135 echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
5136 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
5137 @@ -7259,15 +8332,12 @@
5138 echo $ECHO_N "(cached) $ECHO_C" >&6
5139 else
5140 cat >conftest.$ac_ext <<_ACEOF
5141 -#line $LINENO "configure"
5142 -#include "confdefs.h"
5143 +/* confdefs.h. */
5144 +_ACEOF
5145 +cat confdefs.h >>conftest.$ac_ext
5146 +cat >>conftest.$ac_ext <<_ACEOF
5147 +/* end confdefs.h. */
5148 $ac_includes_default
5149 -#ifdef F77_DUMMY_MAIN
5150 -# ifdef __cplusplus
5151 - extern "C"
5152 -# endif
5153 - int F77_DUMMY_MAIN() { return 1; }
5154 -#endif
5155 int
5156 main ()
5157 {
5158 @@ -7281,11 +8351,20 @@
5159 _ACEOF
5160 rm -f conftest.$ac_objext
5161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5162 - (eval $ac_compile) 2>&5
5163 + (eval $ac_compile) 2>conftest.er1
5164 ac_status=$?
5165 + grep -v '^ *+' conftest.er1 >conftest.err
5166 + rm -f conftest.er1
5167 + cat conftest.err >&5
5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169 (exit $ac_status); } &&
5170 - { ac_try='test -s conftest.$ac_objext'
5171 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5172 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5173 + (eval $ac_try) 2>&5
5174 + ac_status=$?
5175 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5176 + (exit $ac_status); }; } &&
5177 + { ac_try='test -s conftest.$ac_objext'
5178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5179 (eval $ac_try) 2>&5
5180 ac_status=$?
5181 @@ -7294,10 +8373,11 @@
5182 ac_cv_type_u_int16_t=yes
5183 else
5184 echo "$as_me: failed program was:" >&5
5185 -cat conftest.$ac_ext >&5
5186 +sed 's/^/| /' conftest.$ac_ext >&5
5187 +
5188 ac_cv_type_u_int16_t=no
5189 fi
5190 -rm -f conftest.$ac_objext conftest.$ac_ext
5191 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5192 fi
5193 echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
5194 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
5195 @@ -7317,15 +8397,12 @@
5196 echo $ECHO_N "(cached) $ECHO_C" >&6
5197 else
5198 cat >conftest.$ac_ext <<_ACEOF
5199 -#line $LINENO "configure"
5200 -#include "confdefs.h"
5201 +/* confdefs.h. */
5202 +_ACEOF
5203 +cat confdefs.h >>conftest.$ac_ext
5204 +cat >>conftest.$ac_ext <<_ACEOF
5205 +/* end confdefs.h. */
5206 $ac_includes_default
5207 -#ifdef F77_DUMMY_MAIN
5208 -# ifdef __cplusplus
5209 - extern "C"
5210 -# endif
5211 - int F77_DUMMY_MAIN() { return 1; }
5212 -#endif
5213 int
5214 main ()
5215 {
5216 @@ -7339,11 +8416,20 @@
5217 _ACEOF
5218 rm -f conftest.$ac_objext
5219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5220 - (eval $ac_compile) 2>&5
5221 + (eval $ac_compile) 2>conftest.er1
5222 ac_status=$?
5223 + grep -v '^ *+' conftest.er1 >conftest.err
5224 + rm -f conftest.er1
5225 + cat conftest.err >&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); } &&
5228 - { ac_try='test -s conftest.$ac_objext'
5229 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5230 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5231 + (eval $ac_try) 2>&5
5232 + ac_status=$?
5233 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 + (exit $ac_status); }; } &&
5235 + { ac_try='test -s conftest.$ac_objext'
5236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5237 (eval $ac_try) 2>&5
5238 ac_status=$?
5239 @@ -7352,10 +8438,11 @@
5240 ac_cv_type_u_int32_t=yes
5241 else
5242 echo "$as_me: failed program was:" >&5
5243 -cat conftest.$ac_ext >&5
5244 +sed 's/^/| /' conftest.$ac_ext >&5
5245 +
5246 ac_cv_type_u_int32_t=no
5247 fi
5248 -rm -f conftest.$ac_objext conftest.$ac_ext
5249 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5250 fi
5251 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
5252 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
5253 @@ -7377,15 +8464,12 @@
5254 echo $ECHO_N "(cached) $ECHO_C" >&6
5255 else
5256 cat >conftest.$ac_ext <<_ACEOF
5257 -#line $LINENO "configure"
5258 -#include "confdefs.h"
5259 +/* confdefs.h. */
5260 +_ACEOF
5261 +cat confdefs.h >>conftest.$ac_ext
5262 +cat >>conftest.$ac_ext <<_ACEOF
5263 +/* end confdefs.h. */
5264 $ac_includes_default
5265 -#ifdef F77_DUMMY_MAIN
5266 -# ifdef __cplusplus
5267 - extern "C"
5268 -# endif
5269 - int F77_DUMMY_MAIN() { return 1; }
5270 -#endif
5271 int
5272 main ()
5273 {
5274 @@ -7399,11 +8483,20 @@
5275 _ACEOF
5276 rm -f conftest.$ac_objext
5277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5278 - (eval $ac_compile) 2>&5
5279 + (eval $ac_compile) 2>conftest.er1
5280 ac_status=$?
5281 + grep -v '^ *+' conftest.er1 >conftest.err
5282 + rm -f conftest.er1
5283 + cat conftest.err >&5
5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); } &&
5286 - { ac_try='test -s conftest.$ac_objext'
5287 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5288 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 + (eval $ac_try) 2>&5
5290 + ac_status=$?
5291 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 + (exit $ac_status); }; } &&
5293 + { ac_try='test -s conftest.$ac_objext'
5294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5295 (eval $ac_try) 2>&5
5296 ac_status=$?
5297 @@ -7412,10 +8505,11 @@
5298 ac_cv_type_u_int8_t=yes
5299 else
5300 echo "$as_me: failed program was:" >&5
5301 -cat conftest.$ac_ext >&5
5302 +sed 's/^/| /' conftest.$ac_ext >&5
5303 +
5304 ac_cv_type_u_int8_t=no
5305 fi
5306 -rm -f conftest.$ac_objext conftest.$ac_ext
5307 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5308 fi
5309 echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
5310 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
5311 @@ -7435,15 +8529,12 @@
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5313 else
5314 cat >conftest.$ac_ext <<_ACEOF
5315 -#line $LINENO "configure"
5316 -#include "confdefs.h"
5317 +/* confdefs.h. */
5318 +_ACEOF
5319 +cat confdefs.h >>conftest.$ac_ext
5320 +cat >>conftest.$ac_ext <<_ACEOF
5321 +/* end confdefs.h. */
5322 $ac_includes_default
5323 -#ifdef F77_DUMMY_MAIN
5324 -# ifdef __cplusplus
5325 - extern "C"
5326 -# endif
5327 - int F77_DUMMY_MAIN() { return 1; }
5328 -#endif
5329 int
5330 main ()
5331 {
5332 @@ -7457,11 +8548,20 @@
5333 _ACEOF
5334 rm -f conftest.$ac_objext
5335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5336 - (eval $ac_compile) 2>&5
5337 + (eval $ac_compile) 2>conftest.er1
5338 ac_status=$?
5339 + grep -v '^ *+' conftest.er1 >conftest.err
5340 + rm -f conftest.er1
5341 + cat conftest.err >&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); } &&
5344 - { ac_try='test -s conftest.$ac_objext'
5345 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5346 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5347 + (eval $ac_try) 2>&5
5348 + ac_status=$?
5349 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 + (exit $ac_status); }; } &&
5351 + { ac_try='test -s conftest.$ac_objext'
5352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5353 (eval $ac_try) 2>&5
5354 ac_status=$?
5355 @@ -7470,10 +8570,11 @@
5356 ac_cv_type_u_int16_t=yes
5357 else
5358 echo "$as_me: failed program was:" >&5
5359 -cat conftest.$ac_ext >&5
5360 +sed 's/^/| /' conftest.$ac_ext >&5
5361 +
5362 ac_cv_type_u_int16_t=no
5363 fi
5364 -rm -f conftest.$ac_objext conftest.$ac_ext
5365 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5366 fi
5367 echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
5368 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
5369 @@ -7493,15 +8594,12 @@
5370 echo $ECHO_N "(cached) $ECHO_C" >&6
5371 else
5372 cat >conftest.$ac_ext <<_ACEOF
5373 -#line $LINENO "configure"
5374 -#include "confdefs.h"
5375 +/* confdefs.h. */
5376 +_ACEOF
5377 +cat confdefs.h >>conftest.$ac_ext
5378 +cat >>conftest.$ac_ext <<_ACEOF
5379 +/* end confdefs.h. */
5380 $ac_includes_default
5381 -#ifdef F77_DUMMY_MAIN
5382 -# ifdef __cplusplus
5383 - extern "C"
5384 -# endif
5385 - int F77_DUMMY_MAIN() { return 1; }
5386 -#endif
5387 int
5388 main ()
5389 {
5390 @@ -7515,11 +8613,20 @@
5391 _ACEOF
5392 rm -f conftest.$ac_objext
5393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5394 - (eval $ac_compile) 2>&5
5395 + (eval $ac_compile) 2>conftest.er1
5396 ac_status=$?
5397 + grep -v '^ *+' conftest.er1 >conftest.err
5398 + rm -f conftest.er1
5399 + cat conftest.err >&5
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); } &&
5402 - { ac_try='test -s conftest.$ac_objext'
5403 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5404 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5405 + (eval $ac_try) 2>&5
5406 + ac_status=$?
5407 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5408 + (exit $ac_status); }; } &&
5409 + { ac_try='test -s conftest.$ac_objext'
5410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5411 (eval $ac_try) 2>&5
5412 ac_status=$?
5413 @@ -7528,10 +8635,11 @@
5414 ac_cv_type_u_int32_t=yes
5415 else
5416 echo "$as_me: failed program was:" >&5
5417 -cat conftest.$ac_ext >&5
5418 +sed 's/^/| /' conftest.$ac_ext >&5
5419 +
5420 ac_cv_type_u_int32_t=no
5421 fi
5422 -rm -f conftest.$ac_objext conftest.$ac_ext
5423 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5424 fi
5425 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
5426 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
5427 @@ -7552,15 +8660,12 @@
5428 echo $ECHO_N "(cached) $ECHO_C" >&6
5429 else
5430 cat >conftest.$ac_ext <<_ACEOF
5431 -#line $LINENO "configure"
5432 -#include "confdefs.h"
5433 +/* confdefs.h. */
5434 +_ACEOF
5435 +cat confdefs.h >>conftest.$ac_ext
5436 +cat >>conftest.$ac_ext <<_ACEOF
5437 +/* end confdefs.h. */
5438 $ac_includes_default
5439 -#ifdef F77_DUMMY_MAIN
5440 -# ifdef __cplusplus
5441 - extern "C"
5442 -# endif
5443 - int F77_DUMMY_MAIN() { return 1; }
5444 -#endif
5445 int
5446 main ()
5447 {
5448 @@ -7574,11 +8679,20 @@
5449 _ACEOF
5450 rm -f conftest.$ac_objext
5451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5452 - (eval $ac_compile) 2>&5
5453 + (eval $ac_compile) 2>conftest.er1
5454 ac_status=$?
5455 + grep -v '^ *+' conftest.er1 >conftest.err
5456 + rm -f conftest.er1
5457 + cat conftest.err >&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); } &&
5460 - { ac_try='test -s conftest.$ac_objext'
5461 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5462 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5463 + (eval $ac_try) 2>&5
5464 + ac_status=$?
5465 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466 + (exit $ac_status); }; } &&
5467 + { ac_try='test -s conftest.$ac_objext'
5468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5469 (eval $ac_try) 2>&5
5470 ac_status=$?
5471 @@ -7587,10 +8701,11 @@
5472 ac_cv_type_u_int8_t=yes
5473 else
5474 echo "$as_me: failed program was:" >&5
5475 -cat conftest.$ac_ext >&5
5476 +sed 's/^/| /' conftest.$ac_ext >&5
5477 +
5478 ac_cv_type_u_int8_t=no
5479 fi
5480 -rm -f conftest.$ac_objext conftest.$ac_ext
5481 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5482 fi
5483 echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
5484 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
5485 @@ -7610,15 +8725,12 @@
5486 echo $ECHO_N "(cached) $ECHO_C" >&6
5487 else
5488 cat >conftest.$ac_ext <<_ACEOF
5489 -#line $LINENO "configure"
5490 -#include "confdefs.h"
5491 +/* confdefs.h. */
5492 +_ACEOF
5493 +cat confdefs.h >>conftest.$ac_ext
5494 +cat >>conftest.$ac_ext <<_ACEOF
5495 +/* end confdefs.h. */
5496 $ac_includes_default
5497 -#ifdef F77_DUMMY_MAIN
5498 -# ifdef __cplusplus
5499 - extern "C"
5500 -# endif
5501 - int F77_DUMMY_MAIN() { return 1; }
5502 -#endif
5503 int
5504 main ()
5505 {
5506 @@ -7632,11 +8744,20 @@
5507 _ACEOF
5508 rm -f conftest.$ac_objext
5509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5510 - (eval $ac_compile) 2>&5
5511 + (eval $ac_compile) 2>conftest.er1
5512 ac_status=$?
5513 + grep -v '^ *+' conftest.er1 >conftest.err
5514 + rm -f conftest.er1
5515 + cat conftest.err >&5
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); } &&
5518 - { ac_try='test -s conftest.$ac_objext'
5519 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5520 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5521 + (eval $ac_try) 2>&5
5522 + ac_status=$?
5523 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 + (exit $ac_status); }; } &&
5525 + { ac_try='test -s conftest.$ac_objext'
5526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5527 (eval $ac_try) 2>&5
5528 ac_status=$?
5529 @@ -7645,10 +8766,11 @@
5530 ac_cv_type_u_int16_t=yes
5531 else
5532 echo "$as_me: failed program was:" >&5
5533 -cat conftest.$ac_ext >&5
5534 +sed 's/^/| /' conftest.$ac_ext >&5
5535 +
5536 ac_cv_type_u_int16_t=no
5537 fi
5538 -rm -f conftest.$ac_objext conftest.$ac_ext
5539 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5540 fi
5541 echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
5542 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
5543 @@ -7668,15 +8790,12 @@
5544 echo $ECHO_N "(cached) $ECHO_C" >&6
5545 else
5546 cat >conftest.$ac_ext <<_ACEOF
5547 -#line $LINENO "configure"
5548 -#include "confdefs.h"
5549 +/* confdefs.h. */
5550 +_ACEOF
5551 +cat confdefs.h >>conftest.$ac_ext
5552 +cat >>conftest.$ac_ext <<_ACEOF
5553 +/* end confdefs.h. */
5554 $ac_includes_default
5555 -#ifdef F77_DUMMY_MAIN
5556 -# ifdef __cplusplus
5557 - extern "C"
5558 -# endif
5559 - int F77_DUMMY_MAIN() { return 1; }
5560 -#endif
5561 int
5562 main ()
5563 {
5564 @@ -7690,11 +8809,20 @@
5565 _ACEOF
5566 rm -f conftest.$ac_objext
5567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5568 - (eval $ac_compile) 2>&5
5569 + (eval $ac_compile) 2>conftest.er1
5570 ac_status=$?
5571 + grep -v '^ *+' conftest.er1 >conftest.err
5572 + rm -f conftest.er1
5573 + cat conftest.err >&5
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); } &&
5576 - { ac_try='test -s conftest.$ac_objext'
5577 + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5578 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5579 + (eval $ac_try) 2>&5
5580 + ac_status=$?
5581 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 + (exit $ac_status); }; } &&
5583 + { ac_try='test -s conftest.$ac_objext'
5584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5585 (eval $ac_try) 2>&5
5586 ac_status=$?
5587 @@ -7703,10 +8831,11 @@
5588 ac_cv_type_u_int32_t=yes
5589 else
5590 echo "$as_me: failed program was:" >&5
5591 -cat conftest.$ac_ext >&5
5592 +sed 's/^/| /' conftest.$ac_ext >&5
5593 +
5594 ac_cv_type_u_int32_t=no
5595 fi
5596 -rm -f conftest.$ac_objext conftest.$ac_ext
5597 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5598 fi
5599 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
5600 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
5601 @@ -7744,6 +8873,7 @@
5602 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5603 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5604 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5605 +# OS/2's system install, which has a completely different semantic
5606 # ./install, which can be erroneously created by make from ./install.sh.
5607 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5608 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5609 @@ -7760,6 +8890,7 @@
5610 case $as_dir/ in
5611 ./ | .// | /cC/* | \
5612 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5613 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5614 /usr/ucb/* ) ;;
5615 *)
5616 # OSF1 and SCO ODT 3.0 have their own names for install.
5617 @@ -7767,20 +8898,20 @@
5618 # by default.
5619 for ac_prog in ginstall scoinst install; do
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5622 - if test $ac_prog = install &&
5623 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5624 - # AIX install. It has an incompatible calling convention.
5625 - :
5626 - elif test $ac_prog = install &&
5627 - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5628 - # program-specific install script used by HP pwplus--don't use.
5629 - :
5630 - else
5631 - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5632 - break 3
5633 - fi
5634 - fi
5635 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5636 + if test $ac_prog = install &&
5637 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5638 + # AIX install. It has an incompatible calling convention.
5639 + :
5640 + elif test $ac_prog = install &&
5641 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5642 + # program-specific install script used by HP pwplus--don't use.
5643 + :
5644 + else
5645 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5646 + break 3
5647 + fi
5648 + fi
5649 done
5650 done
5651 ;;
5652 @@ -7810,7 +8941,7 @@
5653
5654 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5655
5656 -ac_config_files="$ac_config_files Makefile src/Makefile src/sfutil/Makefile src/detection-plugins/Makefile src/output-plugins/Makefile src/preprocessors/Makefile src/preprocessors/HttpInspect/Makefile src/preprocessors/HttpInspect/include/Makefile src/preprocessors/HttpInspect/utils/Makefile src/preprocessors/HttpInspect/anomaly_detection/Makefile src/preprocessors/HttpInspect/client/Makefile src/preprocessors/HttpInspect/event_output/Makefile src/preprocessors/HttpInspect/mode_inspection/Makefile src/preprocessors/HttpInspect/normalization/Makefile src/preprocessors/HttpInspect/server/Makefile src/preprocessors/HttpInspect/session_inspection/Makefile src/preprocessors/HttpInspect/user_interface/Makefile src/preprocessors/flow/Makefile src/preprocessors/flow/int-snort/Makefile src/preprocessors/flow/portscan/Makefile src/parser/Makefile doc/Makefile contrib/Makefile schemas/Makefile rpm/Makefile etc/Makefile rules/Makefile templates/Makefile src/win32/Makefile"
5657 + ac_config_files="$ac_config_files Makefile src/Makefile src/sfutil/Makefile src/detection-plugins/Makefile src/output-plugins/Makefile src/preprocessors/Makefile src/preprocessors/HttpInspect/Makefile src/preprocessors/HttpInspect/include/Makefile src/preprocessors/HttpInspect/utils/Makefile src/preprocessors/HttpInspect/anomaly_detection/Makefile src/preprocessors/HttpInspect/client/Makefile src/preprocessors/HttpInspect/event_output/Makefile src/preprocessors/HttpInspect/mode_inspection/Makefile src/preprocessors/HttpInspect/normalization/Makefile src/preprocessors/HttpInspect/server/Makefile src/preprocessors/HttpInspect/session_inspection/Makefile src/preprocessors/HttpInspect/user_interface/Makefile src/preprocessors/flow/Makefile src/preprocessors/flow/int-snort/Makefile src/preprocessors/flow/portscan/Makefile src/parser/Makefile doc/Makefile contrib/Makefile schemas/Makefile rpm/Makefile etc/Makefile rules/Makefile templates/Makefile src/win32/Makefile"
5658 cat >confcache <<\_ACEOF
5659 # This file is a shell script that caches the results of configure
5660 # tests run on this system so they can be shared between configure
5661 @@ -7821,7 +8952,7 @@
5662 # config.status only pays attention to the cache file if you give it
5663 # the --recheck option to rerun configure.
5664 #
5665 -# `ac_cv_env_foo' variables (set or unset) will be overriden when
5666 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
5667 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5668 # following values.
5669
5670 @@ -7839,13 +8970,13 @@
5671 # `set' does not quote correctly, so add quotes (double-quote
5672 # substitution turns \\\\ into \\, and sed turns \\ into \).
5673 sed -n \
5674 - "s/'/'\\\\''/g;
5675 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5676 + "s/'/'\\\\''/g;
5677 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5678 ;;
5679 *)
5680 # `set' quotes correctly as required by POSIX, so do not add quotes.
5681 sed -n \
5682 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5683 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5684 ;;
5685 esac;
5686 } |
5687 @@ -7856,7 +8987,7 @@
5688 t end
5689 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5690 : end' >>confcache
5691 -if cmp -s $cache_file confcache; then :; else
5692 +if diff $cache_file confcache >/dev/null 2>&1; then :; else
5693 if test -w $cache_file; then
5694 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5695 cat confcache >$cache_file
5696 @@ -7875,18 +9006,33 @@
5697 # trailing colons and then remove the whole line if VPATH becomes empty
5698 # (actually we leave an empty line to preserve line numbers).
5699 if test "x$srcdir" = x.; then
5700 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
5701 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
5702 s/:*\$(srcdir):*/:/;
5703 s/:*\${srcdir}:*/:/;
5704 s/:*@srcdir@:*/:/;
5705 -s/^\([^=]*=[ ]*\):*/\1/;
5706 +s/^\([^=]*=[ ]*\):*/\1/;
5707 s/:*$//;
5708 -s/^[^=]*=[ ]*$//;
5709 +s/^[^=]*=[ ]*$//;
5710 }'
5711 fi
5712
5713 DEFS=-DHAVE_CONFIG_H
5714
5715 +ac_libobjs=
5716 +ac_ltlibobjs=
5717 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5718 + # 1. Remove the extension, and $U if already installed.
5719 + ac_i=`echo "$ac_i" |
5720 + sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5721 + # 2. Add them.
5722 + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5723 + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5724 +done
5725 +LIBOBJS=$ac_libobjs
5726 +
5727 +LTLIBOBJS=$ac_ltlibobjs
5728 +
5729 +
5730 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5731 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5732 Usually this means the macro was only invoked conditionally." >&5
5733 @@ -7908,11 +9054,12 @@
5734 # configure, is in config.log if it exists.
5735
5736 debug=false
5737 +ac_cs_recheck=false
5738 +ac_cs_silent=false
5739 SHELL=\${CONFIG_SHELL-$SHELL}
5740 _ACEOF
5741
5742 cat >>$CONFIG_STATUS <<\_ACEOF
5743 -
5744 ## --------------------- ##
5745 ## M4sh Initialization. ##
5746 ## --------------------- ##
5747 @@ -7921,46 +9068,57 @@
5748 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5749 emulate sh
5750 NULLCMD=:
5751 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5752 + # is contrary to our usage. Disable this feature.
5753 + alias -g '${1+"$@"}'='"$@"'
5754 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5755 set -o posix
5756 fi
5757 +DUALCASE=1; export DUALCASE # for MKS sh
5758
5759 -# NLS nuisances.
5760 # Support unset when possible.
5761 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
5762 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5763 as_unset=unset
5764 else
5765 as_unset=false
5766 fi
5767
5768 -(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
5769 - { $as_unset LANG || test "${LANG+set}" != set; } ||
5770 - { LANG=C; export LANG; }
5771 -(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
5772 - { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
5773 - { LC_ALL=C; export LC_ALL; }
5774 -(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
5775 - { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
5776 - { LC_TIME=C; export LC_TIME; }
5777 -(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
5778 - { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
5779 - { LC_CTYPE=C; export LC_CTYPE; }
5780 -(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
5781 - { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
5782 - { LANGUAGE=C; export LANGUAGE; }
5783 -(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
5784 - { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
5785 - { LC_COLLATE=C; export LC_COLLATE; }
5786 -(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
5787 - { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
5788 - { LC_NUMERIC=C; export LC_NUMERIC; }
5789 -(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
5790 - { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
5791 - { LC_MESSAGES=C; export LC_MESSAGES; }
5792 +
5793 +# Work around bugs in pre-3.0 UWIN ksh.
5794 +$as_unset ENV MAIL MAILPATH
5795 +PS1='$ '
5796 +PS2='> '
5797 +PS4='+ '
5798 +
5799 +# NLS nuisances.
5800 +for as_var in \
5801 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5802 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5803 + LC_TELEPHONE LC_TIME
5804 +do
5805 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5806 + eval $as_var=C; export $as_var
5807 + else
5808 + $as_unset $as_var
5809 + fi
5810 +done
5811 +
5812 +# Required to use basename.
5813 +if expr a : '\(a\)' >/dev/null 2>&1; then
5814 + as_expr=expr
5815 +else
5816 + as_expr=false
5817 +fi
5818 +
5819 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5820 + as_basename=basename
5821 +else
5822 + as_basename=false
5823 +fi
5824
5825
5826 # Name of the executable.
5827 -as_me=`(basename "$0") 2>/dev/null ||
5828 +as_me=`$as_basename "$0" ||
5829 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5830 X"$0" : 'X\(//\)$' \| \
5831 X"$0" : 'X\(/\)$' \| \
5832 @@ -7971,6 +9129,7 @@
5833 /^X\/\(\/\).*/{ s//\1/; q; }
5834 s/.*/./; q'`
5835
5836 +
5837 # PATH needs CR, and LINENO needs CR and PATH.
5838 # Avoid depending upon Character Ranges.
5839 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5840 @@ -7981,15 +9140,15 @@
5841
5842 # The user is always right.
5843 if test "${PATH_SEPARATOR+set}" != set; then
5844 - echo "#! /bin/sh" >conftest.sh
5845 - echo "exit 0" >>conftest.sh
5846 - chmod +x conftest.sh
5847 - if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
5848 + echo "#! /bin/sh" >conf$$.sh
5849 + echo "exit 0" >>conf$$.sh
5850 + chmod +x conf$$.sh
5851 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5852 PATH_SEPARATOR=';'
5853 else
5854 PATH_SEPARATOR=:
5855 fi
5856 - rm -f conftest.sh
5857 + rm -f conf$$.sh
5858 fi
5859
5860
5861 @@ -8038,6 +9197,8 @@
5862 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5863 test "x$as_lineno_1" != "x$as_lineno_2" &&
5864 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5865 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5866 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5867 CONFIG_SHELL=$as_dir/$as_base
5868 export CONFIG_SHELL
5869 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5870 @@ -8111,13 +9272,20 @@
5871 fi
5872 rm -f conf$$ conf$$.exe conf$$.file
5873
5874 +if mkdir -p . 2>/dev/null; then
5875 + as_mkdir_p=:
5876 +else
5877 + test -d ./-p && rmdir ./-p
5878 + as_mkdir_p=false
5879 +fi
5880 +
5881 as_executable_p="test -f"
5882
5883 # Sed expression to map a string onto a valid CPP name.
5884 -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5885 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5886
5887 # Sed expression to map a string onto a valid variable name.
5888 -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5889 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5890
5891
5892 # IFS
5893 @@ -8127,7 +9295,7 @@
5894 IFS=" $as_nl"
5895
5896 # CDPATH.
5897 -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
5898 +$as_unset CDPATH
5899
5900 exec 6>&1
5901
5902 @@ -8144,7 +9312,7 @@
5903 cat >&5 <<_CSEOF
5904
5905 This file was extended by $as_me, which was
5906 -generated by GNU Autoconf 2.53. Invocation command line was
5907 +generated by GNU Autoconf 2.59. Invocation command line was
5908
5909 CONFIG_FILES = $CONFIG_FILES
5910 CONFIG_HEADERS = $CONFIG_HEADERS
5911 @@ -8184,12 +9352,13 @@
5912
5913 -h, --help print this help, then exit
5914 -V, --version print version number, then exit
5915 + -q, --quiet do not print progress messages
5916 -d, --debug don't remove temporary files
5917 --recheck update $as_me by reconfiguring in the same conditions
5918 --file=FILE[:TEMPLATE]
5919 - instantiate the configuration file FILE
5920 + instantiate the configuration file FILE
5921 --header=FILE[:TEMPLATE]
5922 - instantiate the configuration header FILE
5923 + instantiate the configuration header FILE
5924
5925 Configuration files:
5926 $config_files
5927 @@ -8206,11 +9375,10 @@
5928 cat >>$CONFIG_STATUS <<_ACEOF
5929 ac_cs_version="\\
5930 config.status
5931 -configured by $0, generated by GNU Autoconf 2.53,
5932 +configured by $0, generated by GNU Autoconf 2.59,
5933 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5934
5935 -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5936 -Free Software Foundation, Inc.
5937 +Copyright (C) 2003 Free Software Foundation, Inc.
5938 This config.status script is free software; the Free Software Foundation
5939 gives unlimited permission to copy, distribute and modify it."
5940 srcdir=$srcdir
5941 @@ -8227,25 +9395,25 @@
5942 --*=*)
5943 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5944 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5945 - shift
5946 - set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
5947 - shift
5948 + ac_shift=:
5949 + ;;
5950 + -*)
5951 + ac_option=$1
5952 + ac_optarg=$2
5953 + ac_shift=shift
5954 ;;
5955 - -*);;
5956 *) # This is not an option, so the user has probably given explicit
5957 # arguments.
5958 + ac_option=$1
5959 ac_need_defaults=false;;
5960 esac
5961
5962 - case $1 in
5963 + case $ac_option in
5964 # Handling of the options.
5965 _ACEOF
5966 -cat >>$CONFIG_STATUS <<_ACEOF
5967 - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5968 - echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5969 - exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5970 -_ACEOF
5971 cat >>$CONFIG_STATUS <<\_ACEOF
5972 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5973 + ac_cs_recheck=: ;;
5974 --version | --vers* | -V )
5975 echo "$ac_cs_version"; exit 0 ;;
5976 --he | --h)
5977 @@ -8260,13 +9428,16 @@
5978 --debug | --d* | -d )
5979 debug=: ;;
5980 --file | --fil | --fi | --f )
5981 - shift
5982 - CONFIG_FILES="$CONFIG_FILES $1"
5983 + $ac_shift
5984 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5985 ac_need_defaults=false;;
5986 --header | --heade | --head | --hea )
5987 - shift
5988 - CONFIG_HEADERS="$CONFIG_HEADERS $1"
5989 + $ac_shift
5990 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5991 ac_need_defaults=false;;
5992 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5993 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
5994 + ac_cs_silent=: ;;
5995
5996 # This is an error.
5997 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5998 @@ -8281,6 +9452,20 @@
5999 shift
6000 done
6001
6002 +ac_configure_extra_args=
6003 +
6004 +if $ac_cs_silent; then
6005 + exec 6>/dev/null
6006 + ac_configure_extra_args="$ac_configure_extra_args --silent"
6007 +fi
6008 +
6009 +_ACEOF
6010 +cat >>$CONFIG_STATUS <<_ACEOF
6011 +if \$ac_cs_recheck; then
6012 + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6013 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6014 +fi
6015 +
6016 _ACEOF
6017
6018 cat >>$CONFIG_STATUS <<_ACEOF
6019 @@ -8346,6 +9531,9 @@
6020 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6021 fi
6022
6023 +# Have a temporary directory for convenience. Make it in the build tree
6024 +# simply because there is no reason to put it here, and in addition,
6025 +# creating and moving files from /tmp can sometimes cause problems.
6026 # Create a temporary directory, and hook for its removal unless debugging.
6027 $debug ||
6028 {
6029 @@ -8354,17 +9542,17 @@
6030 }
6031
6032 # Create a (secure) tmp directory for tmp files.
6033 -: ${TMPDIR=/tmp}
6034 +
6035 {
6036 - tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
6037 + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6038 test -n "$tmp" && test -d "$tmp"
6039 } ||
6040 {
6041 - tmp=$TMPDIR/cs$$-$RANDOM
6042 + tmp=./confstat$$-$RANDOM
6043 (umask 077 && mkdir $tmp)
6044 } ||
6045 {
6046 - echo "$me: cannot create a temporary directory in $TMPDIR" >&2
6047 + echo "$me: cannot create a temporary directory in ." >&2
6048 { (exit 1); exit 1; }
6049 }
6050
6051 @@ -8455,7 +9643,10 @@
6052 s,@host_os@,$host_os,;t t
6053 s,@extra_incl@,$extra_incl,;t t
6054 s,@CPP@,$CPP,;t t
6055 +s,@EGREP@,$EGREP,;t t
6056 s,@INCLUDES@,$INCLUDES,;t t
6057 +s,@LIBOBJS@,$LIBOBJS,;t t
6058 +s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6059 CEOF
6060
6061 _ACEOF
6062 @@ -8485,9 +9676,9 @@
6063 (echo ':t
6064 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6065 if test -z "$ac_sed_cmds"; then
6066 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6067 + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6068 else
6069 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6070 + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6071 fi
6072 ac_sed_frag=`expr $ac_sed_frag + 1`
6073 ac_beg=$ac_end
6074 @@ -8505,46 +9696,51 @@
6075 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6076 case $ac_file in
6077 - | *:- | *:-:* ) # input from stdin
6078 - cat >$tmp/stdin
6079 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6080 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6081 + cat >$tmp/stdin
6082 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6083 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6084 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6085 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6086 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6087 * ) ac_file_in=$ac_file.in ;;
6088 esac
6089
6090 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6091 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6092 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6093 - X"$ac_file" : 'X\(//\)[^/]' \| \
6094 - X"$ac_file" : 'X\(//\)$' \| \
6095 - X"$ac_file" : 'X\(/\)' \| \
6096 - . : '\(.\)' 2>/dev/null ||
6097 + X"$ac_file" : 'X\(//\)[^/]' \| \
6098 + X"$ac_file" : 'X\(//\)$' \| \
6099 + X"$ac_file" : 'X\(/\)' \| \
6100 + . : '\(.\)' 2>/dev/null ||
6101 echo X"$ac_file" |
6102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6103 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6104 /^X\(\/\/\)$/{ s//\1/; q; }
6105 /^X\(\/\).*/{ s//\1/; q; }
6106 s/.*/./; q'`
6107 - { case "$ac_dir" in
6108 - [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6109 - *) as_incr_dir=.;;
6110 -esac
6111 -as_dummy="$ac_dir"
6112 -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6113 - case $as_mkdir_dir in
6114 - # Skip DOS drivespec
6115 - ?:) as_incr_dir=$as_mkdir_dir ;;
6116 - *)
6117 - as_incr_dir=$as_incr_dir/$as_mkdir_dir
6118 - test -d "$as_incr_dir" ||
6119 - mkdir "$as_incr_dir" ||
6120 - { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
6121 -echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
6122 - { (exit 1); exit 1; }; }
6123 - ;;
6124 - esac
6125 -done; }
6126 + { if $as_mkdir_p; then
6127 + mkdir -p "$ac_dir"
6128 + else
6129 + as_dir="$ac_dir"
6130 + as_dirs=
6131 + while test ! -d "$as_dir"; do
6132 + as_dirs="$as_dir $as_dirs"
6133 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
6134 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6135 + X"$as_dir" : 'X\(//\)[^/]' \| \
6136 + X"$as_dir" : 'X\(//\)$' \| \
6137 + X"$as_dir" : 'X\(/\)' \| \
6138 + . : '\(.\)' 2>/dev/null ||
6139 +echo X"$as_dir" |
6140 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6141 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6142 + /^X\(\/\/\)$/{ s//\1/; q; }
6143 + /^X\(\/\).*/{ s//\1/; q; }
6144 + s/.*/./; q'`
6145 + done
6146 + test ! -n "$as_dirs" || mkdir $as_dirs
6147 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6148 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6149 + { (exit 1); exit 1; }; }; }
6150
6151 ac_builddir=.
6152
6153 @@ -8571,12 +9767,45 @@
6154 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6155 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6156 esac
6157 -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6158 -# absolute.
6159 -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6160 -ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
6161 -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6162 -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6163 +
6164 +# Do not use `cd foo && pwd` to compute absolute paths, because
6165 +# the directories may not exist.
6166 +case `pwd` in
6167 +.) ac_abs_builddir="$ac_dir";;
6168 +*)
6169 + case "$ac_dir" in
6170 + .) ac_abs_builddir=`pwd`;;
6171 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6172 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
6173 + esac;;
6174 +esac
6175 +case $ac_abs_builddir in
6176 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
6177 +*)
6178 + case ${ac_top_builddir}. in
6179 + .) ac_abs_top_builddir=$ac_abs_builddir;;
6180 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6181 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6182 + esac;;
6183 +esac
6184 +case $ac_abs_builddir in
6185 +.) ac_abs_srcdir=$ac_srcdir;;
6186 +*)
6187 + case $ac_srcdir in
6188 + .) ac_abs_srcdir=$ac_abs_builddir;;
6189 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6190 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6191 + esac;;
6192 +esac
6193 +case $ac_abs_builddir in
6194 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
6195 +*)
6196 + case $ac_top_srcdir in
6197 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
6198 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6199 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6200 + esac;;
6201 +esac
6202
6203
6204 case $INSTALL in
6205 @@ -8584,11 +9813,6 @@
6206 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6207 esac
6208
6209 - if test x"$ac_file" != x-; then
6210 - { echo "$as_me:$LINENO: creating $ac_file" >&5
6211 -echo "$as_me: creating $ac_file" >&6;}
6212 - rm -f "$ac_file"
6213 - fi
6214 # Let's still pretend it is `configure' which instantiates (i.e., don't
6215 # use $as_me), people would be surprised to read:
6216 # /* config.h. Generated by config.status. */
6217 @@ -8598,7 +9822,7 @@
6218 configure_input="$ac_file. "
6219 fi
6220 configure_input=$configure_input"Generated from `echo $ac_file_in |
6221 - sed 's,.*/,,'` by configure."
6222 + sed 's,.*/,,'` by configure."
6223
6224 # First look for the input files in the build tree, otherwise in the
6225 # src tree.
6226 @@ -8607,26 +9831,32 @@
6227 case $f in
6228 -) echo $tmp/stdin ;;
6229 [\\/$]*)
6230 - # Absolute (can't be DOS-style, as IFS=:)
6231 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6232 + # Absolute (can't be DOS-style, as IFS=:)
6233 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6234 echo "$as_me: error: cannot find input file: $f" >&2;}
6235 { (exit 1); exit 1; }; }
6236 - echo $f;;
6237 + echo "$f";;
6238 *) # Relative
6239 - if test -f "$f"; then
6240 - # Build tree
6241 - echo $f
6242 - elif test -f "$srcdir/$f"; then
6243 - # Source tree
6244 - echo $srcdir/$f
6245 - else
6246 - # /dev/null tree
6247 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6248 + if test -f "$f"; then
6249 + # Build tree
6250 + echo "$f"
6251 + elif test -f "$srcdir/$f"; then
6252 + # Source tree
6253 + echo "$srcdir/$f"
6254 + else
6255 + # /dev/null tree
6256 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6257 echo "$as_me: error: cannot find input file: $f" >&2;}
6258 { (exit 1); exit 1; }; }
6259 - fi;;
6260 + fi;;
6261 esac
6262 done` || { (exit 1); exit 1; }
6263 +
6264 + if test x"$ac_file" != x-; then
6265 + { echo "$as_me:$LINENO: creating $ac_file" >&5
6266 +echo "$as_me: creating $ac_file" >&6;}
6267 + rm -f "$ac_file"
6268 + fi
6269 _ACEOF
6270 cat >>$CONFIG_STATUS <<_ACEOF
6271 sed "$ac_vpsub
6272 @@ -8666,12 +9896,12 @@
6273 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6274 #
6275 # ac_d sets the value in "#define NAME VALUE" lines.
6276 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6277 -ac_dB='[ ].*$,\1#\2'
6278 +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6279 +ac_dB='[ ].*$,\1#\2'
6280 ac_dC=' '
6281 ac_dD=',;t'
6282 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6283 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6284 +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6285 ac_uB='$,\1#\2define\3'
6286 ac_uC=' '
6287 ac_uD=',;t'
6288 @@ -8680,11 +9910,11 @@
6289 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6290 case $ac_file in
6291 - | *:- | *:-:* ) # input from stdin
6292 - cat >$tmp/stdin
6293 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6294 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6295 + cat >$tmp/stdin
6296 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6297 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6298 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6299 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6300 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6301 * ) ac_file_in=$ac_file.in ;;
6302 esac
6303
6304 @@ -8698,28 +9928,29 @@
6305 case $f in
6306 -) echo $tmp/stdin ;;
6307 [\\/$]*)
6308 - # Absolute (can't be DOS-style, as IFS=:)
6309 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6310 + # Absolute (can't be DOS-style, as IFS=:)
6311 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6312 echo "$as_me: error: cannot find input file: $f" >&2;}
6313 { (exit 1); exit 1; }; }
6314 - echo $f;;
6315 + # Do quote $f, to prevent DOS paths from being IFS'd.
6316 + echo "$f";;
6317 *) # Relative
6318 - if test -f "$f"; then
6319 - # Build tree
6320 - echo $f
6321 - elif test -f "$srcdir/$f"; then
6322 - # Source tree
6323 - echo $srcdir/$f
6324 - else
6325 - # /dev/null tree
6326 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6327 + if test -f "$f"; then
6328 + # Build tree
6329 + echo "$f"
6330 + elif test -f "$srcdir/$f"; then
6331 + # Source tree
6332 + echo "$srcdir/$f"
6333 + else
6334 + # /dev/null tree
6335 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6336 echo "$as_me: error: cannot find input file: $f" >&2;}
6337 { (exit 1); exit 1; }; }
6338 - fi;;
6339 + fi;;
6340 esac
6341 done` || { (exit 1); exit 1; }
6342 # Remove the trailing spaces.
6343 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6344 + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6345
6346 _ACEOF
6347
6348 @@ -8742,9 +9973,9 @@
6349 s,[\\$`],\\&,g
6350 t clear
6351 : clear
6352 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6353 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6354 t end
6355 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6356 +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6357 : end
6358 _ACEOF
6359 # If some macros were called several times there might be several times
6360 @@ -8758,13 +9989,13 @@
6361 # example, in the case of _POSIX_SOURCE, which is predefined and required
6362 # on some systems where configure will not decide to define it.
6363 cat >>conftest.undefs <<\_ACEOF
6364 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6365 +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6366 _ACEOF
6367
6368 # Break up conftest.defines because some shells have a limit on the size
6369 # of here documents, and old seds have small limits too (100 cmds).
6370 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6371 -echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6372 +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6373 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6374 echo ' :' >>$CONFIG_STATUS
6375 rm -f conftest.tail
6376 @@ -8773,7 +10004,7 @@
6377 # Write a limited-size here document to $tmp/defines.sed.
6378 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6379 # Speed up: don't consider the non `#define' lines.
6380 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6381 + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6382 # Work around the forget-to-reset-the-flag bug.
6383 echo 't clr' >>$CONFIG_STATUS
6384 echo ': clr' >>$CONFIG_STATUS
6385 @@ -8788,7 +10019,7 @@
6386 mv conftest.tail conftest.defines
6387 done
6388 rm -f conftest.defines
6389 -echo ' fi # egrep' >>$CONFIG_STATUS
6390 +echo ' fi # grep' >>$CONFIG_STATUS
6391 echo >>$CONFIG_STATUS
6392
6393 # Break up conftest.undefs because some shells have a limit on the size
6394 @@ -8800,7 +10031,7 @@
6395 # Write a limited-size here document to $tmp/undefs.sed.
6396 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6397 # Speed up: don't consider the non `#undef'
6398 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6399 + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6400 # Work around the forget-to-reset-the-flag bug.
6401 echo 't clr' >>$CONFIG_STATUS
6402 echo ': clr' >>$CONFIG_STATUS
6403 @@ -8828,41 +10059,46 @@
6404 cat $tmp/in >>$tmp/config.h
6405 rm -f $tmp/in
6406 if test x"$ac_file" != x-; then
6407 - if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
6408 + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6409 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6410 echo "$as_me: $ac_file is unchanged" >&6;}
6411 else
6412 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6413 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6414 - X"$ac_file" : 'X\(//\)[^/]' \| \
6415 - X"$ac_file" : 'X\(//\)$' \| \
6416 - X"$ac_file" : 'X\(/\)' \| \
6417 - . : '\(.\)' 2>/dev/null ||
6418 + X"$ac_file" : 'X\(//\)[^/]' \| \
6419 + X"$ac_file" : 'X\(//\)$' \| \
6420 + X"$ac_file" : 'X\(/\)' \| \
6421 + . : '\(.\)' 2>/dev/null ||
6422 echo X"$ac_file" |
6423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6424 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6425 /^X\(\/\/\)$/{ s//\1/; q; }
6426 /^X\(\/\).*/{ s//\1/; q; }
6427 s/.*/./; q'`
6428 - { case "$ac_dir" in
6429 - [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6430 - *) as_incr_dir=.;;
6431 -esac
6432 -as_dummy="$ac_dir"
6433 -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6434 - case $as_mkdir_dir in
6435 - # Skip DOS drivespec
6436 - ?:) as_incr_dir=$as_mkdir_dir ;;
6437 - *)
6438 - as_incr_dir=$as_incr_dir/$as_mkdir_dir
6439 - test -d "$as_incr_dir" ||
6440 - mkdir "$as_incr_dir" ||
6441 - { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
6442 -echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
6443 - { (exit 1); exit 1; }; }
6444 - ;;
6445 - esac
6446 -done; }
6447 + { if $as_mkdir_p; then
6448 + mkdir -p "$ac_dir"
6449 + else
6450 + as_dir="$ac_dir"
6451 + as_dirs=
6452 + while test ! -d "$as_dir"; do
6453 + as_dirs="$as_dir $as_dirs"
6454 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
6455 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6456 + X"$as_dir" : 'X\(//\)[^/]' \| \
6457 + X"$as_dir" : 'X\(//\)$' \| \
6458 + X"$as_dir" : 'X\(/\)' \| \
6459 + . : '\(.\)' 2>/dev/null ||
6460 +echo X"$as_dir" |
6461 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6462 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6463 + /^X\(\/\/\)$/{ s//\1/; q; }
6464 + /^X\(\/\).*/{ s//\1/; q; }
6465 + s/.*/./; q'`
6466 + done
6467 + test ! -n "$as_dirs" || mkdir $as_dirs
6468 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6469 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6470 + { (exit 1); exit 1; }; }; }
6471
6472 rm -f $ac_file
6473 mv $tmp/config.h $ac_file
6474 @@ -8889,16 +10125,41 @@
6475 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6476 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6477 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6478 - X"$ac_dest" : 'X\(//\)[^/]' \| \
6479 - X"$ac_dest" : 'X\(//\)$' \| \
6480 - X"$ac_dest" : 'X\(/\)' \| \
6481 - . : '\(.\)' 2>/dev/null ||
6482 + X"$ac_dest" : 'X\(//\)[^/]' \| \
6483 + X"$ac_dest" : 'X\(//\)$' \| \
6484 + X"$ac_dest" : 'X\(/\)' \| \
6485 + . : '\(.\)' 2>/dev/null ||
6486 echo X"$ac_dest" |
6487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6488 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6489 /^X\(\/\/\)$/{ s//\1/; q; }
6490 /^X\(\/\).*/{ s//\1/; q; }
6491 s/.*/./; q'`
6492 + { if $as_mkdir_p; then
6493 + mkdir -p "$ac_dir"
6494 + else
6495 + as_dir="$ac_dir"
6496 + as_dirs=
6497 + while test ! -d "$as_dir"; do
6498 + as_dirs="$as_dir $as_dirs"
6499 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
6500 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6501 + X"$as_dir" : 'X\(//\)[^/]' \| \
6502 + X"$as_dir" : 'X\(//\)$' \| \
6503 + X"$as_dir" : 'X\(/\)' \| \
6504 + . : '\(.\)' 2>/dev/null ||
6505 +echo X"$as_dir" |
6506 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6507 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6508 + /^X\(\/\/\)$/{ s//\1/; q; }
6509 + /^X\(\/\).*/{ s//\1/; q; }
6510 + s/.*/./; q'`
6511 + done
6512 + test ! -n "$as_dirs" || mkdir $as_dirs
6513 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6514 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6515 + { (exit 1); exit 1; }; }; }
6516 +
6517 ac_builddir=.
6518
6519 if test "$ac_dir" != .; then
6520 @@ -8924,12 +10185,45 @@
6521 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6522 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6523 esac
6524 -# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6525 -# absolute.
6526 -ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6527 -ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
6528 -ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6529 -ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6530 +
6531 +# Do not use `cd foo && pwd` to compute absolute paths, because
6532 +# the directories may not exist.
6533 +case `pwd` in
6534 +.) ac_abs_builddir="$ac_dir";;
6535 +*)
6536 + case "$ac_dir" in
6537 + .) ac_abs_builddir=`pwd`;;
6538 + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6539 + *) ac_abs_builddir=`pwd`/"$ac_dir";;
6540 + esac;;
6541 +esac
6542 +case $ac_abs_builddir in
6543 +.) ac_abs_top_builddir=${ac_top_builddir}.;;
6544 +*)
6545 + case ${ac_top_builddir}. in
6546 + .) ac_abs_top_builddir=$ac_abs_builddir;;
6547 + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6548 + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6549 + esac;;
6550 +esac
6551 +case $ac_abs_builddir in
6552 +.) ac_abs_srcdir=$ac_srcdir;;
6553 +*)
6554 + case $ac_srcdir in
6555 + .) ac_abs_srcdir=$ac_abs_builddir;;
6556 + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6557 + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6558 + esac;;
6559 +esac
6560 +case $ac_abs_builddir in
6561 +.) ac_abs_top_srcdir=$ac_top_srcdir;;
6562 +*)
6563 + case $ac_top_srcdir in
6564 + .) ac_abs_top_srcdir=$ac_abs_builddir;;
6565 + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6566 + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6567 + esac;;
6568 +esac
6569
6570
6571 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6572 @@ -8947,10 +10241,10 @@
6573 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6574 dirpart=`(dirname "$mf") 2>/dev/null ||
6575 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6576 - X"$mf" : 'X\(//\)[^/]' \| \
6577 - X"$mf" : 'X\(//\)$' \| \
6578 - X"$mf" : 'X\(/\)' \| \
6579 - . : '\(.\)' 2>/dev/null ||
6580 + X"$mf" : 'X\(//\)[^/]' \| \
6581 + X"$mf" : 'X\(//\)$' \| \
6582 + X"$mf" : 'X\(/\)' \| \
6583 + . : '\(.\)' 2>/dev/null ||
6584 echo X"$mf" |
6585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6586 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6587 @@ -8986,35 +10280,40 @@
6588 test -f "$dirpart/$file" && continue
6589 fdir=`(dirname "$file") 2>/dev/null ||
6590 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6591 - X"$file" : 'X\(//\)[^/]' \| \
6592 - X"$file" : 'X\(//\)$' \| \
6593 - X"$file" : 'X\(/\)' \| \
6594 - . : '\(.\)' 2>/dev/null ||
6595 + X"$file" : 'X\(//\)[^/]' \| \
6596 + X"$file" : 'X\(//\)$' \| \
6597 + X"$file" : 'X\(/\)' \| \
6598 + . : '\(.\)' 2>/dev/null ||
6599 echo X"$file" |
6600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6601 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6602 /^X\(\/\/\)$/{ s//\1/; q; }
6603 /^X\(\/\).*/{ s//\1/; q; }
6604 s/.*/./; q'`
6605 - { case $dirpart/$fdir in
6606 - [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6607 - *) as_incr_dir=.;;
6608 -esac
6609 -as_dummy=$dirpart/$fdir
6610 -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6611 - case $as_mkdir_dir in
6612 - # Skip DOS drivespec
6613 - ?:) as_incr_dir=$as_mkdir_dir ;;
6614 - *)
6615 - as_incr_dir=$as_incr_dir/$as_mkdir_dir
6616 - test -d "$as_incr_dir" ||
6617 - mkdir "$as_incr_dir" ||
6618 - { { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5
6619 -echo "$as_me: error: cannot create $dirpart/$fdir" >&2;}
6620 - { (exit 1); exit 1; }; }
6621 - ;;
6622 - esac
6623 -done; }
6624 + { if $as_mkdir_p; then
6625 + mkdir -p $dirpart/$fdir
6626 + else
6627 + as_dir=$dirpart/$fdir
6628 + as_dirs=
6629 + while test ! -d "$as_dir"; do
6630 + as_dirs="$as_dir $as_dirs"
6631 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
6632 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6633 + X"$as_dir" : 'X\(//\)[^/]' \| \
6634 + X"$as_dir" : 'X\(//\)$' \| \
6635 + X"$as_dir" : 'X\(/\)' \| \
6636 + . : '\(.\)' 2>/dev/null ||
6637 +echo X"$as_dir" |
6638 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6639 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6640 + /^X\(\/\/\)$/{ s//\1/; q; }
6641 + /^X\(\/\).*/{ s//\1/; q; }
6642 + s/.*/./; q'`
6643 + done
6644 + test ! -n "$as_dirs" || mkdir $as_dirs
6645 + fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6646 +echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6647 + { (exit 1); exit 1; }; }; }
6648
6649 # echo "creating $dirpart/$file"
6650 echo '# dummy' > "$dirpart/$file"
6651 @@ -9043,8 +10342,11 @@
6652 # need to make the FD available again.
6653 if test "$no_create" != yes; then
6654 ac_cs_success=:
6655 + ac_config_status_args=
6656 + test "$silent" = yes &&
6657 + ac_config_status_args="$ac_config_status_args --quiet"
6658 exec 5>/dev/null
6659 - $SHELL $CONFIG_STATUS || ac_cs_success=false
6660 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6661 exec 5>>config.log
6662 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6663 # would make configure fail if this is the last instruction.
6664 diff -ruN snort-2.3.3-old/configure.in snort-2.3.3-new/configure.in
6665 --- snort-2.3.3-old/configure.in 2005-04-22 21:07:18.000000000 +0200
6666 +++ snort-2.3.3-new/configure.in 2005-05-03 03:01:31.000000000 +0200
6667 @@ -685,27 +685,6 @@
6668 fi
6669 fi
6670
6671 - LIBNET_INC_DIR=""
6672 - AC_MSG_CHECKING("for libnet.h version 1.0.x")
6673 - libnet_dir="/usr/include /usr/local/include"
6674 - for i in $libnet_dir; do
6675 - if test -r $i/libnet.h; then
6676 - LIBNET_INC_DIR=$i
6677 - fi
6678 - done
6679 -
6680 - if test "$LIBNET_INC_DIR" != ""; then
6681 - if eval "grep LIBNET_VERSION $LIBNET_INC_DIR/libnet.h | grep -v 1.0 >/dev/null"; then
6682 - FAIL_MESSAGE("libnet 1.0.x (libnet.h)", $tmp)
6683 - fi
6684 - CFLAGS="${CFLAGS} `libnet-config --defines` `libnet-config --cflags`"
6685 - LIBS="${LIBS} `libnet-config --libs`"
6686 - CPPFLAGS="${CPPFLAGS} -I${LIBNET_INC_DIR}"
6687 - AC_MSG_RESULT($i)
6688 - else
6689 - AC_MSG_RESULT(no)
6690 - AC_MSG_ERROR("libnet 1.0.x could not be found. please download and install the library from http://www.packetfactory.net/libnet/")
6691 - fi
6692 fi
6693 fi
6694
6695 @@ -714,7 +693,7 @@
6696 [ CPPFLAGS="${CPPFLAGS} -DENABLE_RESPONSE `libnet-config --defines --cflags`" LDFLAGS="${LDFLAGS} `libnet-config --libs`"],)
6697
6698
6699 -if test "$enable_flexresp" != "no" -a "$enable_flexresp" = "yes"; then
6700 +if test "$enable_inline" = "yes" -o "$enable_flexresp" = "yes"; then
6701
6702 if test `libnet-config --cflags | wc -c` = "1"; then
6703 CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/sw/include"
This page took 0.401182 seconds and 5 git commands to generate.