1 --- rp-pppoe-3.8.oorig/src/configure 2006-04-02 16:29:42.000000000 +0200
2 +++ rp-pppoe-3.8/src/configure 2007-08-24 11:52:30.000000000 +0200
5 # Guess values for system-dependent variables and create Makefiles.
6 -# Generated by GNU Autoconf 2.59.
7 +# Generated by GNU Autoconf 2.61.
9 -# Copyright (C) 2003 Free Software Foundation, Inc.
10 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
11 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## --------------------- ##
15 ## M4sh Initialization. ##
16 ## --------------------- ##
18 -# Be Bourne compatible
19 +# Be more Bourne compatible
20 +DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
29 + setopt NO_GLOB_SUBST
31 + case `(set -o) 2>/dev/null` in
32 + *posix*) set -o posix ;;
41 +# Avoid depending upon Character Ranges.
42 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
43 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
45 +as_cr_digits='0123456789'
46 +as_cr_alnum=$as_cr_Letters$as_cr_digits
48 +# The user is always right.
49 +if test "${PATH_SEPARATOR+set}" != set; then
50 + echo "#! /bin/sh" >conf$$.sh
51 + echo "exit 0" >>conf$$.sh
53 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
60 -DUALCASE=1; export DUALCASE # for MKS sh
62 # Support unset when possible.
63 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 @@ -29,8 +58,43 @@ else
69 +# We need space, tab and new line, in precisely that order. Quoting is
70 +# there to prevent editors from complaining about space-tab.
71 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
72 +# splitting by setting IFS to empty value.)
77 +# Find who we are. Look in the path if we contain no directory separator.
79 + *[\\/]* ) as_myself=$0 ;;
80 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
84 + test -z "$as_dir" && as_dir=.
85 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
91 +# We did not find ourselves, most probably we were run as `sh COMMAND'
92 +# in which case we are not to be found in the path.
93 +if test "x$as_myself" = x; then
96 +if test ! -f "$as_myself"; then
97 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
98 + { (exit 1); exit 1; }
101 # Work around bugs in pre-3.0 UWIN ksh.
102 -$as_unset ENV MAIL MAILPATH
103 +for as_var in ENV MAIL MAILPATH
104 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
109 @@ -44,18 +108,19 @@ do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
114 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 -if expr a : '\(a\)' >/dev/null 2>&1; then
120 +if expr a : '\(a\)' >/dev/null 2>&1 &&
121 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
127 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
128 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 @@ -63,157 +128,388 @@ fi
135 # Name of the executable.
136 -as_me=`$as_basename "$0" ||
137 +as_me=`$as_basename -- "$0" ||
138 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
139 X"$0" : 'X\(//\)$' \| \
140 - X"$0" : 'X\(/\)$' \| \
141 - . : '\(.\)' 2>/dev/null ||
142 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
144 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
145 - /^X\/\(\/\/\)$/{ s//\1/; q; }
146 - /^X\/\(\/\).*/{ s//\1/; q; }
148 + sed '/^.*\/\([^/][^/]*\)\/*$/{
165 -# PATH needs CR, and LINENO needs CR and PATH.
166 -# Avoid depending upon Character Ranges.
167 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
168 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
169 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
170 -as_cr_digits='0123456789'
171 -as_cr_alnum=$as_cr_Letters$as_cr_digits
173 -# The user is always right.
174 -if test "${PATH_SEPARATOR+set}" != set; then
175 - echo "#! /bin/sh" >conf$$.sh
176 - echo "exit 0" >>conf$$.sh
178 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
184 +if test "x$CONFIG_SHELL" = x; then
185 + if (eval ":") 2>/dev/null; then
186 + as_have_required=yes
188 + as_have_required=no
191 + if test $as_have_required = yes && (eval ":
192 +(as_func_return () {
195 +as_func_success () {
198 +as_func_failure () {
201 +as_func_ret_success () {
204 +as_func_ret_failure () {
208 - as_lineno_1=$LINENO
209 - as_lineno_2=$LINENO
210 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
211 - test "x$as_lineno_1" != "x$as_lineno_2" &&
212 - test "x$as_lineno_3" = "x$as_lineno_2" || {
213 - # Find who we are. Look in the path if we contain no path at all
216 - *[\\/]* ) as_myself=$0 ;;
217 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 - test -z "$as_dir" && as_dir=.
222 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
225 +if as_func_success; then
229 + echo as_func_success failed.
234 - # We did not find ourselves, most probably we were run as `sh COMMAND'
235 - # in which case we are not to be found in the path.
236 - if test "x$as_myself" = x; then
239 - if test ! -f "$as_myself"; then
240 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
241 - { (exit 1); exit 1; }; }
243 - case $CONFIG_SHELL in
245 +if as_func_failure; then
247 + echo as_func_failure succeeded.
250 +if as_func_ret_success; then
254 + echo as_func_ret_success failed.
257 +if as_func_ret_failure; then
259 + echo as_func_ret_failure succeeded.
262 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
266 + echo positional parameters were not saved.
269 +test \$exitcode = 0) || { (exit 1); exit 1; }
272 + as_lineno_1=\$LINENO
273 + as_lineno_2=\$LINENO
274 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
275 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
276 +") 2> /dev/null; then
279 + as_candidate_shells=
280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
281 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
284 test -z "$as_dir" && as_dir=.
285 - for as_base in sh bash ksh sh5; do
289 - if ("$as_dir/$as_base" -c '
290 + for as_base in sh bash ksh sh5; do
291 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
298 + for as_shell in $as_candidate_shells $SHELL; do
299 + # Try only shells that exist, to save several forks.
300 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
301 + { ("$as_shell") 2> /dev/null <<\_ASEOF
302 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
305 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
306 + # is contrary to our usage. Disable this feature.
307 + alias -g '${1+"$@"}'='"$@"'
308 + setopt NO_GLOB_SUBST
310 + case `(set -o) 2>/dev/null` in
311 + *posix*) set -o posix ;;
320 + CONFIG_SHELL=$as_shell
321 + as_have_required=yes
322 + if { "$as_shell" 2> /dev/null <<\_ASEOF
323 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
326 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
327 + # is contrary to our usage. Disable this feature.
328 + alias -g '${1+"$@"}'='"$@"'
329 + setopt NO_GLOB_SUBST
331 + case `(set -o) 2>/dev/null` in
332 + *posix*) set -o posix ;;
339 +(as_func_return () {
342 +as_func_success () {
345 +as_func_failure () {
348 +as_func_ret_success () {
351 +as_func_ret_failure () {
356 +if as_func_success; then
360 + echo as_func_success failed.
363 +if as_func_failure; then
365 + echo as_func_failure succeeded.
368 +if as_func_ret_success; then
372 + echo as_func_ret_success failed.
375 +if as_func_ret_failure; then
377 + echo as_func_ret_failure succeeded.
380 +if ( set x; as_func_ret_success y && test x = "$1" ); then
384 + echo positional parameters were not saved.
387 +test $exitcode = 0) || { (exit 1); exit 1; }
392 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
393 test "x$as_lineno_1" != "x$as_lineno_2" &&
394 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
395 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
396 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
397 - CONFIG_SHELL=$as_dir/$as_base
398 - export CONFIG_SHELL
399 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
406 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
417 + if test "x$CONFIG_SHELL" != x; then
418 + for as_var in BASH_ENV ENV
419 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
421 + export CONFIG_SHELL
422 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
426 + if test $as_have_required = no; then
427 + echo This script requires a shell more modern than all the
428 + echo shells that I found on your system. Please install a
429 + echo modern shell, or manually run the script under such a
430 + echo shell if you do have one.
431 + { (exit 1); exit 1; }
441 +(eval "as_func_return () {
444 +as_func_success () {
447 +as_func_failure () {
450 +as_func_ret_success () {
453 +as_func_ret_failure () {
458 +if as_func_success; then
462 + echo as_func_success failed.
465 +if as_func_failure; then
467 + echo as_func_failure succeeded.
470 +if as_func_ret_success; then
474 + echo as_func_ret_success failed.
477 +if as_func_ret_failure; then
479 + echo as_func_ret_failure succeeded.
482 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
486 + echo positional parameters were not saved.
489 +test \$exitcode = 0") || {
490 + echo No shell found that supports shell functions.
491 + echo Please tell autoconf@gnu.org about your system,
492 + echo including any error possibly output before this
498 + as_lineno_1=$LINENO
499 + as_lineno_2=$LINENO
500 + test "x$as_lineno_1" != "x$as_lineno_2" &&
501 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
503 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
504 # uniformly replaced by the line number. The first 'sed' inserts a
505 - # line-number line before each line; the second 'sed' does the real
506 - # work. The second script uses 'N' to pair each line-number line
507 - # with the numbered line, and appends trailing '-' during
508 - # substitution so that $LINENO is not a special case at line end.
509 + # line-number line after each line using $LINENO; the second 'sed'
510 + # does the real work. The second script uses 'N' to pair each
511 + # line-number line with the line containing $LINENO, and appends
512 + # trailing '-' during substitution so that $LINENO is not a special
513 + # case at line end.
514 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
515 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
516 - sed '=' <$as_myself |
517 + # scripts with optimization help from Paolo Bonzini. Blame Lee
518 + # E. McMahon (1931-1989) for sed's syntax. :-)
531 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
533 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
536 - s,^['$as_cr_digits']*\n,,
539 - chmod +x $as_me.lineno ||
540 + chmod +x "$as_me.lineno" ||
541 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
542 { (exit 1); exit 1; }; }
544 # Don't try to exec as it changes $[0], causing all sort of problems
545 # (the dirname of $[0] is not the place where we might find the
546 - # original and so on. Autoconf is especially sensible to this).
548 + # original and so on. Autoconf is especially sensitive to this).
549 + . "./$as_me.lineno"
550 # Exit status is that of the last command.
555 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
556 - *c*,-n*) ECHO_N= ECHO_C='
558 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
559 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
560 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
566 +ECHO_C= ECHO_N= ECHO_T=
569 + case `echo 'x\c'` in
570 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
577 -if expr a : '\(a\)' >/dev/null 2>&1; then
578 +if expr a : '\(a\)' >/dev/null 2>&1 &&
579 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
585 rm -f conf$$ conf$$.exe conf$$.file
586 +if test -d conf$$.dir; then
587 + rm -f conf$$.dir/conf$$.file
593 if ln -s conf$$.file conf$$ 2>/dev/null; then
594 - # We could just check for DJGPP; but this test a) works b) is more generic
595 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
596 - if test -f conf$$.exe; then
597 - # Don't use ln at all; we don't have any links
599 + # ... but there are two gotchas:
600 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
601 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
602 + # In both cases, we have to default to `cp -p'.
603 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
608 elif ln conf$$.file conf$$ 2>/dev/null; then
613 -rm -f conf$$ conf$$.exe conf$$.file
614 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
615 +rmdir conf$$.dir 2>/dev/null
617 if mkdir -p . 2>/dev/null; then
619 @@ -222,7 +518,28 @@ else
623 -as_executable_p="test -f"
624 +if test -x / >/dev/null 2>&1; then
625 + as_test_x='test -x'
627 + if ls -dL / >/dev/null 2>&1; then
634 + if test -d "$1"; then
640 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
641 + ???[sx]*):;;*)false;;esac;fi
645 +as_executable_p=$as_test_x
647 # Sed expression to map a string onto a valid CPP name.
648 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
649 @@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
650 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
654 -# We need space, tab and new line, in precisely that order.
662 +exec 7<&0 </dev/null 6>&1
665 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
666 # so uname gets run too.
667 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
674 ac_default_prefix=/usr/local
676 ac_config_libobj_dir=.
682 SHELL=${CONFIG_SHELL-/bin/sh}
684 -# Maximum number of lines to put in a shell here document.
685 -# This variable seems obsolete. It should probably be removed, and
686 -# only ac_max_sed_lines should be used.
687 -: ${ac_max_here_lines=38}
689 # Identity of this package.
692 @@ -276,42 +581,122 @@ ac_default_prefix=/usr
693 # Factoring default headers for most tests.
694 ac_includes_default="\
696 -#if HAVE_SYS_TYPES_H
697 +#ifdef HAVE_SYS_TYPES_H
698 # include <sys/types.h>
701 +#ifdef HAVE_SYS_STAT_H
702 # include <sys/stat.h>
710 +# ifdef HAVE_STDLIB_H
715 -# if !STDC_HEADERS && HAVE_MEMORY_H
716 +#ifdef HAVE_STRING_H
717 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
723 +#ifdef HAVE_STRINGS_H
724 # include <strings.h>
727 +#ifdef HAVE_INTTYPES_H
728 # include <inttypes.h>
731 -# include <stdint.h>
735 +#ifdef HAVE_STDINT_H
736 +# include <stdint.h>
738 +#ifdef HAVE_UNISTD_H
742 -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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB CPP EGREP PPPD_H LINUX_KERNELMODE_PLUGIN PPPD_INCDIR PPPOE_RELAY LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PPPD ECHO SETSID ID WRAPPER TARGETS LIC_INCDIR LIC_LIBDIR LIC_LIB LIC_MAKEFILE_INCLUDE LIC_DEFINE PPPOE_SERVER_DEPS RDYNAMIC LIBEVENT datadir_evaluated LTLIBOBJS'
743 +ac_subst_vars='SHELL
752 +program_transform_name
792 +LINUX_KERNELMODE_PLUGIN
808 +LIC_MAKEFILE_INCLUDE
816 + ac_precious_vars='build_alias
827 # Initialize some variables set by options.
829 @@ -338,34 +723,48 @@ x_libraries=NONE
830 # and all the variables that are supposed to be based on exec_prefix
831 # by default will actually change.
832 # Use braces instead of parens because sh, perl, etc. also accept them.
833 +# (The list follows the same order as the GNU Coding Standards.)
834 bindir='${exec_prefix}/bin'
835 sbindir='${exec_prefix}/sbin'
836 libexecdir='${exec_prefix}/libexec'
837 -datadir='${prefix}/share'
838 +datarootdir='${prefix}/share'
839 +datadir='${datarootdir}'
840 sysconfdir='${prefix}/etc'
841 sharedstatedir='${prefix}/com'
842 localstatedir='${prefix}/var'
843 -libdir='${exec_prefix}/lib'
844 includedir='${prefix}/include'
845 oldincludedir='/usr/include'
846 -infodir='${prefix}/info'
847 -mandir='${prefix}/man'
848 +docdir='${datarootdir}/doc/${PACKAGE}'
849 +infodir='${datarootdir}/info'
854 +libdir='${exec_prefix}/lib'
855 +localedir='${datarootdir}/locale'
856 +mandir='${datarootdir}/man'
862 # If the previous option needs an argument, assign it.
863 if test -n "$ac_prev"; then
864 - eval "$ac_prev=\$ac_option"
865 + eval $ac_prev=\$ac_option
870 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
872 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
873 + *) ac_optarg=yes ;;
876 # Accept the important Cygnus configure options, so we can diagnose typos.
879 + case $ac_dashdash$ac_option in
883 -bindir | --bindir | --bindi | --bind | --bin | --bi)
885 @@ -387,33 +786,45 @@ do
887 cache_file=config.cache ;;
889 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
890 + -datadir | --datadir | --datadi | --datad)
892 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
894 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
895 datadir=$ac_optarg ;;
897 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
898 + | --dataroo | --dataro | --datar)
899 + ac_prev=datarootdir ;;
900 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
901 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
902 + datarootdir=$ac_optarg ;;
904 -disable-* | --disable-*)
905 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
906 # Reject names that are not valid shell variable names.
907 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
908 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
909 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
910 { (exit 1); exit 1; }; }
911 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
912 - eval "enable_$ac_feature=no" ;;
913 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
914 + eval enable_$ac_feature=no ;;
916 + -docdir | --docdir | --docdi | --doc | --do)
918 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
919 + docdir=$ac_optarg ;;
921 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
923 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
924 + dvidir=$ac_optarg ;;
926 -enable-* | --enable-*)
927 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
928 # Reject names that are not valid shell variable names.
929 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
930 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
931 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
932 { (exit 1); exit 1; }; }
933 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
935 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
936 - *) ac_optarg=yes ;;
938 - eval "enable_$ac_feature='$ac_optarg'" ;;
939 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
940 + eval enable_$ac_feature=\$ac_optarg ;;
942 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
943 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
944 @@ -440,6 +851,12 @@ do
945 -host=* | --host=* | --hos=* | --ho=*)
946 host_alias=$ac_optarg ;;
948 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952 + htmldir=$ac_optarg ;;
954 -includedir | --includedir | --includedi | --included | --include \
955 | --includ | --inclu | --incl | --inc)
956 ac_prev=includedir ;;
957 @@ -464,13 +881,16 @@ do
958 | --libexe=* | --libex=* | --libe=*)
959 libexecdir=$ac_optarg ;;
961 + -localedir | --localedir | --localedi | --localed | --locale)
962 + ac_prev=localedir ;;
963 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
964 + localedir=$ac_optarg ;;
966 -localstatedir | --localstatedir | --localstatedi | --localstated \
967 - | --localstate | --localstat | --localsta | --localst \
968 - | --locals | --local | --loca | --loc | --lo)
969 + | --localstate | --localstat | --localsta | --localst | --locals)
970 ac_prev=localstatedir ;;
971 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
972 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
973 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
974 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
975 localstatedir=$ac_optarg ;;
977 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
978 @@ -535,6 +955,16 @@ do
979 | --progr-tra=* | --program-tr=* | --program-t=*)
980 program_transform_name=$ac_optarg ;;
982 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
984 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
985 + pdfdir=$ac_optarg ;;
987 + -psdir | --psdir | --psdi | --psd | --ps)
989 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
990 + psdir=$ac_optarg ;;
992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
993 | -silent | --silent | --silen | --sile | --sil)
995 @@ -587,24 +1017,20 @@ do
997 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
998 # Reject names that are not valid shell variable names.
999 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1000 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1001 { echo "$as_me: error: invalid package name: $ac_package" >&2
1002 { (exit 1); exit 1; }; }
1003 - ac_package=`echo $ac_package| sed 's/-/_/g'`
1004 - case $ac_option in
1005 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1006 - *) ac_optarg=yes ;;
1008 - eval "with_$ac_package='$ac_optarg'" ;;
1009 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1010 + eval with_$ac_package=\$ac_optarg ;;
1012 -without-* | --without-*)
1013 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1014 # Reject names that are not valid shell variable names.
1015 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1016 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1017 { echo "$as_me: error: invalid package name: $ac_package" >&2
1018 { (exit 1); exit 1; }; }
1019 - ac_package=`echo $ac_package | sed 's/-/_/g'`
1020 - eval "with_$ac_package=no" ;;
1021 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1022 + eval with_$ac_package=no ;;
1025 # Obsolete; use --with-x.
1026 @@ -635,8 +1061,7 @@ Try \`$0 --help' for more information."
1027 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1028 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1029 { (exit 1); exit 1; }; }
1030 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1031 - eval "$ac_envvar='$ac_optarg'"
1032 + eval $ac_envvar=\$ac_optarg
1033 export $ac_envvar ;;
1036 @@ -656,27 +1081,19 @@ if test -n "$ac_prev"; then
1037 { (exit 1); exit 1; }; }
1040 -# Be sure to have absolute paths.
1041 -for ac_var in exec_prefix prefix
1043 - eval ac_val=$`echo $ac_var`
1045 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1046 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1047 - { (exit 1); exit 1; }; };;
1051 -# Be sure to have absolute paths.
1052 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1053 - localstatedir libdir includedir oldincludedir infodir mandir
1054 +# Be sure to have absolute directory names.
1055 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1056 + datadir sysconfdir sharedstatedir localstatedir includedir \
1057 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1058 + libdir localedir mandir
1060 - eval ac_val=$`echo $ac_var`
1061 + eval ac_val=\$$ac_var
1063 - [\\/$]* | ?:[\\/]* ) ;;
1064 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1065 - { (exit 1); exit 1; }; };;
1066 + [\\/$]* | ?:[\\/]* ) continue;;
1067 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1069 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1070 + { (exit 1); exit 1; }; }
1073 # There might be people who depend on the old broken behavior: `$host'
1074 @@ -703,74 +1120,76 @@ test -n "$host_alias" && ac_tool_prefix=
1075 test "$silent" = yes && exec 6>/dev/null
1078 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1079 +ac_ls_di=`ls -di .` &&
1080 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1081 + { echo "$as_me: error: Working directory cannot be determined" >&2
1082 + { (exit 1); exit 1; }; }
1083 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1084 + { echo "$as_me: error: pwd does not report name of working directory" >&2
1085 + { (exit 1); exit 1; }; }
1088 # Find the source files, if location was not specified.
1089 if test -z "$srcdir"; then
1090 ac_srcdir_defaulted=yes
1091 - # Try the directory containing this script, then its parent.
1092 - ac_confdir=`(dirname "$0") 2>/dev/null ||
1093 + # Try the directory containing this script, then the parent directory.
1094 + ac_confdir=`$as_dirname -- "$0" ||
1095 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1096 X"$0" : 'X\(//\)[^/]' \| \
1097 X"$0" : 'X\(//\)$' \| \
1098 - X"$0" : 'X\(/\)' \| \
1099 - . : '\(.\)' 2>/dev/null ||
1100 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1102 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1103 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1104 - /^X\(\/\/\)$/{ s//\1/; q; }
1105 - /^X\(\/\).*/{ s//\1/; q; }
1107 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1111 + /^X\(\/\/\)[^/].*/{
1125 - if test ! -r $srcdir/$ac_unique_file; then
1126 + if test ! -r "$srcdir/$ac_unique_file"; then
1130 ac_srcdir_defaulted=no
1132 -if test ! -r $srcdir/$ac_unique_file; then
1133 - if test "$ac_srcdir_defaulted" = yes; then
1134 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1135 - { (exit 1); exit 1; }; }
1137 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1138 +if test ! -r "$srcdir/$ac_unique_file"; then
1139 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1140 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1141 { (exit 1); exit 1; }; }
1144 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1145 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1146 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1148 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1149 { (exit 1); exit 1; }; }
1150 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1151 -ac_env_build_alias_set=${build_alias+set}
1152 -ac_env_build_alias_value=$build_alias
1153 -ac_cv_env_build_alias_set=${build_alias+set}
1154 -ac_cv_env_build_alias_value=$build_alias
1155 -ac_env_host_alias_set=${host_alias+set}
1156 -ac_env_host_alias_value=$host_alias
1157 -ac_cv_env_host_alias_set=${host_alias+set}
1158 -ac_cv_env_host_alias_value=$host_alias
1159 -ac_env_target_alias_set=${target_alias+set}
1160 -ac_env_target_alias_value=$target_alias
1161 -ac_cv_env_target_alias_set=${target_alias+set}
1162 -ac_cv_env_target_alias_value=$target_alias
1163 -ac_env_CC_set=${CC+set}
1164 -ac_env_CC_value=$CC
1165 -ac_cv_env_CC_set=${CC+set}
1166 -ac_cv_env_CC_value=$CC
1167 -ac_env_CFLAGS_set=${CFLAGS+set}
1168 -ac_env_CFLAGS_value=$CFLAGS
1169 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
1170 -ac_cv_env_CFLAGS_value=$CFLAGS
1171 -ac_env_LDFLAGS_set=${LDFLAGS+set}
1172 -ac_env_LDFLAGS_value=$LDFLAGS
1173 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1174 -ac_cv_env_LDFLAGS_value=$LDFLAGS
1175 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1176 -ac_env_CPPFLAGS_value=$CPPFLAGS
1177 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1178 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1179 -ac_env_CPP_set=${CPP+set}
1180 -ac_env_CPP_value=$CPP
1181 -ac_cv_env_CPP_set=${CPP+set}
1182 -ac_cv_env_CPP_value=$CPP
1184 +# When building in place, set srcdir=.
1185 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1188 +# Remove unnecessary trailing slashes from srcdir.
1189 +# Double slashes in file names in object file debugging info
1190 +# mess up M-x gdb in Emacs.
1192 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1194 +for ac_var in $ac_precious_vars; do
1195 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
1196 + eval ac_env_${ac_var}_value=\$${ac_var}
1197 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1198 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
1202 # Report the --help message.
1203 @@ -799,9 +1218,6 @@ Configuration:
1204 -n, --no-create do not create output files
1205 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1210 Installation directories:
1211 --prefix=PREFIX install architecture-independent files in PREFIX
1212 [$ac_default_prefix]
1213 @@ -819,15 +1235,22 @@ Fine tuning of the installation director
1214 --bindir=DIR user executables [EPREFIX/bin]
1215 --sbindir=DIR system admin executables [EPREFIX/sbin]
1216 --libexecdir=DIR program executables [EPREFIX/libexec]
1217 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
1218 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1219 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1220 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1221 --libdir=DIR object code libraries [EPREFIX/lib]
1222 --includedir=DIR C header files [PREFIX/include]
1223 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1224 - --infodir=DIR info documentation [PREFIX/info]
1225 - --mandir=DIR man documentation [PREFIX/man]
1226 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1227 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1228 + --infodir=DIR info documentation [DATAROOTDIR/info]
1229 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1230 + --mandir=DIR man documentation [DATAROOTDIR/man]
1231 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1232 + --htmldir=DIR html documentation [DOCDIR]
1233 + --dvidir=DIR dvi documentation [DOCDIR]
1234 + --pdfdir=DIR pdf documentation [DOCDIR]
1235 + --psdir=DIR ps documentation [DOCDIR]
1239 @@ -850,126 +1273,95 @@ Some influential environment variables:
1240 CFLAGS C compiler flags
1241 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1242 nonstandard directory <lib dir>
1243 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1244 - headers in a nonstandard directory <include dir>
1245 + LIBS libraries to pass to the linker, e.g. -l<library>
1246 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1247 + you have headers in a nonstandard directory <include dir>
1250 Use these variables to override the choices made by `configure' or to help
1251 it to find libraries and programs with nonstandard names/locations.
1257 if test "$ac_init_help" = "recursive"; then
1258 # If there are subdirs, report their specific --help.
1260 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1261 - test -d $ac_dir || continue
1262 + test -d "$ac_dir" || continue
1265 -if test "$ac_dir" != .; then
1267 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1269 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1270 - # A "../" for each directory in $ac_dir_suffix.
1271 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1273 - ac_dir_suffix= ac_top_builddir=
1275 + # A ".." for each directory in $ac_dir_suffix.
1276 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1277 + case $ac_top_builddir_sub in
1278 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1279 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1282 +ac_abs_top_builddir=$ac_pwd
1283 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
1284 +# for backward compatibility:
1285 +ac_top_builddir=$ac_top_build_prefix
1288 - .) # No --srcdir option. We are building in place.
1289 + .) # We are building in place.
1291 - if test -z "$ac_top_builddir"; then
1294 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1296 - [\\/]* | ?:[\\/]* ) # Absolute path.
1297 + ac_top_srcdir=$ac_top_builddir_sub
1298 + ac_abs_top_srcdir=$ac_pwd ;;
1299 + [\\/]* | ?:[\\/]* ) # Absolute name.
1300 ac_srcdir=$srcdir$ac_dir_suffix;
1301 - ac_top_srcdir=$srcdir ;;
1302 - *) # Relative path.
1303 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1304 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
1307 -# Do not use `cd foo && pwd` to compute absolute paths, because
1308 -# the directories may not exist.
1310 -.) ac_abs_builddir="$ac_dir";;
1313 - .) ac_abs_builddir=`pwd`;;
1314 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1315 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
1318 -case $ac_abs_builddir in
1319 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
1321 - case ${ac_top_builddir}. in
1322 - .) ac_abs_top_builddir=$ac_abs_builddir;;
1323 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1324 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1327 -case $ac_abs_builddir in
1328 -.) ac_abs_srcdir=$ac_srcdir;;
1330 - case $ac_srcdir in
1331 - .) ac_abs_srcdir=$ac_abs_builddir;;
1332 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1333 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1336 -case $ac_abs_builddir in
1337 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
1339 - case $ac_top_srcdir in
1340 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
1341 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1342 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1344 + ac_top_srcdir=$srcdir
1345 + ac_abs_top_srcdir=$srcdir ;;
1346 + *) # Relative name.
1347 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1348 + ac_top_srcdir=$ac_top_build_prefix$srcdir
1349 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1351 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1354 - # Check for guested configure; otherwise get Cygnus style configure.
1355 - if test -f $ac_srcdir/configure.gnu; then
1357 - $SHELL $ac_srcdir/configure.gnu --help=recursive
1358 - elif test -f $ac_srcdir/configure; then
1360 - $SHELL $ac_srcdir/configure --help=recursive
1361 - elif test -f $ac_srcdir/configure.ac ||
1362 - test -f $ac_srcdir/configure.in; then
1364 - $ac_configure --help
1365 + cd "$ac_dir" || { ac_status=$?; continue; }
1366 + # Check for guested configure.
1367 + if test -f "$ac_srcdir/configure.gnu"; then
1369 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1370 + elif test -f "$ac_srcdir/configure"; then
1372 + $SHELL "$ac_srcdir/configure" --help=recursive
1374 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377 + fi || ac_status=$?
1378 + cd "$ac_pwd" || { ac_status=$?; break; }
1382 -test -n "$ac_init_help" && exit 0
1383 +test -n "$ac_init_help" && exit $ac_status
1384 if $ac_init_version; then
1387 +generated by GNU Autoconf 2.61
1389 -Copyright (C) 2003 Free Software Foundation, Inc.
1390 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1391 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1392 This configure script is free software; the Free Software Foundation
1393 gives unlimited permission to copy, distribute and modify it.
1400 +cat >config.log <<_ACEOF
1401 This file contains any messages produced by compilers while
1402 running configure, to aid debugging if configure makes a mistake.
1404 It was created by $as_me, which was
1405 -generated by GNU Autoconf 2.59. Invocation command line was
1406 +generated by GNU Autoconf 2.61. Invocation command line was
1415 @@ -988,7 +1380,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
1416 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1417 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1418 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1419 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1420 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1421 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1422 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1423 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1424 @@ -1002,6 +1394,7 @@ do
1425 test -z "$as_dir" && as_dir=.
1426 echo "PATH: $as_dir"
1432 @@ -1023,7 +1416,6 @@ _ACEOF
1437 ac_must_keep_next=false
1440 @@ -1034,7 +1426,7 @@ do
1441 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1442 | -silent | --silent | --silen | --sile | --sil)
1444 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1446 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1449 @@ -1056,9 +1448,7 @@ do
1450 -* ) ac_must_keep_next=true ;;
1453 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1454 - # Get rid of the leading space.
1456 + ac_configure_args="$ac_configure_args '$ac_arg'"
1460 @@ -1069,8 +1459,8 @@ $as_unset ac_configure_args1 || test "${
1461 # When interrupted or exit'd, cleanup temporary files, and complete
1462 # config.log. We remove comments because anyway the quotes in there
1463 # would cause problems or look ugly.
1464 -# WARNING: Be sure not to use single quotes in there, as some shells,
1465 -# such as our DU 5.0 friend, will then `close' the trap.
1466 +# WARNING: Use '\'' to represent an apostrophe within the trap.
1467 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1468 trap 'exit_status=$?
1469 # Save into config.log some information that might help in debugging.
1471 @@ -1083,20 +1473,34 @@ trap 'exit_status=$?
1474 # The following way of writing the cache mishandles newlines in values,
1477 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1478 + eval ac_val=\$$ac_var
1479 + case $ac_val in #(
1481 + case $ac_var in #(
1482 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1483 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1485 + case $ac_var in #(
1486 + _ | IFS | as_nl) ;; #(
1487 + *) $as_unset $ac_var ;;
1492 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1494 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1495 + *${as_nl}ac_space=\ *)
1497 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1498 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1500 + "s/'\''/'\''\\\\'\'''\''/g;
1501 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1505 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1506 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1516 @@ -1107,22 +1511,28 @@ _ASBOX
1518 for ac_var in $ac_subst_vars
1520 - eval ac_val=$`echo $ac_var`
1521 - echo "$ac_var='"'"'$ac_val'"'"'"
1522 + eval ac_val=\$$ac_var
1524 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1526 + echo "$ac_var='\''$ac_val'\''"
1530 if test -n "$ac_subst_files"; then
1532 -## ------------- ##
1533 -## Output files. ##
1534 -## ------------- ##
1535 +## ------------------- ##
1536 +## File substitutions. ##
1537 +## ------------------- ##
1540 for ac_var in $ac_subst_files
1542 - eval ac_val=$`echo $ac_var`
1543 - echo "$ac_var='"'"'$ac_val'"'"'"
1544 + eval ac_val=\$$ac_var
1546 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1548 + echo "$ac_var='\''$ac_val'\''"
1552 @@ -1134,26 +1544,24 @@ _ASBOX
1556 - sed "/^$/d" confdefs.h | sort
1560 test "$ac_signal" != 0 &&
1561 echo "$as_me: caught signal $ac_signal"
1562 echo "$as_me: exit $exit_status"
1564 - rm -f core *.core &&
1565 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1566 + rm -f core *.core core.conftest.* &&
1567 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1571 for ac_signal in 1 2 13 15; do
1572 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1576 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1577 -rm -rf conftest* confdefs.h
1578 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1580 +rm -f -r conftest* confdefs.h
1582 # Predefined preprocessor variables.
1584 @@ -1184,14 +1592,17 @@ _ACEOF
1586 # Let the site file select an alternate cache file if it wants to.
1587 # Prefer explicitly selected file to automatically selected ones.
1588 -if test -z "$CONFIG_SITE"; then
1589 - if test "x$prefix" != xNONE; then
1590 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1592 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1594 +if test -n "$CONFIG_SITE"; then
1595 + set x "$CONFIG_SITE"
1596 +elif test "x$prefix" != xNONE; then
1597 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
1599 + set x "$ac_default_prefix/share/config.site" \
1600 + "$ac_default_prefix/etc/config.site"
1602 -for ac_site_file in $CONFIG_SITE; do
1606 if test -r "$ac_site_file"; then
1607 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1608 echo "$as_me: loading site script $ac_site_file" >&6;}
1609 @@ -1207,8 +1618,8 @@ if test -r "$cache_file"; then
1610 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1611 echo "$as_me: loading cache $cache_file" >&6;}
1613 - [\\/]* | ?:[\\/]* ) . $cache_file;;
1614 - *) . ./$cache_file;;
1615 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
1616 + *) . "./$cache_file";;
1620 @@ -1220,12 +1631,11 @@ fi
1621 # Check that the precious variables saved in the cache have kept the same
1623 ac_cache_corrupted=false
1624 -for ac_var in `(set) 2>&1 |
1625 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1626 +for ac_var in $ac_precious_vars; do
1627 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1628 eval ac_new_set=\$ac_env_${ac_var}_set
1629 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1630 - eval ac_new_val="\$ac_env_${ac_var}_value"
1631 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
1632 + eval ac_new_val=\$ac_env_${ac_var}_value
1633 case $ac_old_set,$ac_new_set in
1635 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1636 @@ -1250,8 +1660,7 @@ echo "$as_me: current value: $ac_new_v
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1640 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1641 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1643 *) ac_arg=$ac_var=$ac_new_val ;;
1645 case " $ac_configure_args " in
1646 @@ -1268,12 +1677,6 @@ echo "$as_me: error: run \`make distclea
1647 { (exit 1); exit 1; }; }
1651 -ac_cpp='$CPP $CPPFLAGS'
1652 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1653 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1654 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1659 @@ -1290,12 +1693,17 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1664 +ac_cpp='$CPP $CPPFLAGS'
1665 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1666 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1667 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1671 PPPD_DIR=ppp-2.4.1.pppoe2
1673 - ac_config_headers="$ac_config_headers config.h"
1674 +ac_config_headers="$ac_config_headers config.h"
1678 @@ -1308,8 +1716,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1679 if test -n "$ac_tool_prefix"; then
1680 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1681 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1682 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1683 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1684 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1685 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1686 if test "${ac_cv_prog_CC+set}" = set; then
1687 echo $ECHO_N "(cached) $ECHO_C" >&6
1689 @@ -1322,32 +1730,34 @@ do
1691 test -z "$as_dir" && as_dir=.
1692 for ac_exec_ext in '' $ac_executable_extensions; do
1693 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1695 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1706 if test -n "$CC"; then
1707 - echo "$as_me:$LINENO: result: $CC" >&5
1708 -echo "${ECHO_T}$CC" >&6
1709 + { echo "$as_me:$LINENO: result: $CC" >&5
1710 +echo "${ECHO_T}$CC" >&6; }
1712 - echo "$as_me:$LINENO: result: no" >&5
1713 -echo "${ECHO_T}no" >&6
1714 + { echo "$as_me:$LINENO: result: no" >&5
1715 +echo "${ECHO_T}no" >&6; }
1720 if test -z "$ac_cv_prog_CC"; then
1722 # Extract the first word of "gcc", so it can be a program name with args.
1723 set dummy gcc; ac_word=$2
1724 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1727 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1728 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1731 @@ -1360,36 +1770,51 @@ do
1733 test -z "$as_dir" && as_dir=.
1734 for ac_exec_ext in '' $ac_executable_extensions; do
1735 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1736 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1737 ac_cv_prog_ac_ct_CC="gcc"
1738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1747 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1748 if test -n "$ac_ct_CC"; then
1749 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1750 -echo "${ECHO_T}$ac_ct_CC" >&6
1751 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1752 +echo "${ECHO_T}$ac_ct_CC" >&6; }
1754 - echo "$as_me:$LINENO: result: no" >&5
1755 -echo "${ECHO_T}no" >&6
1756 + { echo "$as_me:$LINENO: result: no" >&5
1757 +echo "${ECHO_T}no" >&6; }
1761 + if test "x$ac_ct_CC" = x; then
1764 + case $cross_compiling:$ac_tool_warned in
1766 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1767 +whose name does not start with the host triplet. If you think this
1768 +configuration is useful to you, please write to autoconf@gnu.org." >&5
1769 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1770 +whose name does not start with the host triplet. If you think this
1771 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1772 +ac_tool_warned=yes ;;
1780 if test -z "$CC"; then
1781 - if test -n "$ac_tool_prefix"; then
1782 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1783 + if test -n "$ac_tool_prefix"; then
1784 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1785 set dummy ${ac_tool_prefix}cc; ac_word=$2
1786 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1787 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1788 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1789 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1790 if test "${ac_cv_prog_CC+set}" = set; then
1791 echo $ECHO_N "(cached) $ECHO_C" >&6
1793 @@ -1402,74 +1827,34 @@ do
1795 test -z "$as_dir" && as_dir=.
1796 for ac_exec_ext in '' $ac_executable_extensions; do
1797 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1798 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1799 ac_cv_prog_CC="${ac_tool_prefix}cc"
1800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1810 if test -n "$CC"; then
1811 - echo "$as_me:$LINENO: result: $CC" >&5
1812 -echo "${ECHO_T}$CC" >&6
1814 - echo "$as_me:$LINENO: result: no" >&5
1815 -echo "${ECHO_T}no" >&6
1819 -if test -z "$ac_cv_prog_CC"; then
1821 - # Extract the first word of "cc", so it can be a program name with args.
1822 -set dummy cc; ac_word=$2
1823 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1824 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1825 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1826 - echo $ECHO_N "(cached) $ECHO_C" >&6
1828 - if test -n "$ac_ct_CC"; then
1829 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1831 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1832 -for as_dir in $PATH
1835 - test -z "$as_dir" && as_dir=.
1836 - for ac_exec_ext in '' $ac_executable_extensions; do
1837 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1838 - ac_cv_prog_ac_ct_CC="cc"
1839 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1847 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1848 -if test -n "$ac_ct_CC"; then
1849 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1850 -echo "${ECHO_T}$ac_ct_CC" >&6
1851 + { echo "$as_me:$LINENO: result: $CC" >&5
1852 +echo "${ECHO_T}$CC" >&6; }
1854 - echo "$as_me:$LINENO: result: no" >&5
1855 -echo "${ECHO_T}no" >&6
1856 + { echo "$as_me:$LINENO: result: no" >&5
1857 +echo "${ECHO_T}no" >&6; }
1862 - CC="$ac_cv_prog_CC"
1867 if test -z "$CC"; then
1868 # Extract the first word of "cc", so it can be a program name with args.
1869 set dummy cc; ac_word=$2
1870 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1871 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1872 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1874 if test "${ac_cv_prog_CC+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1877 @@ -1483,7 +1868,7 @@ do
1879 test -z "$as_dir" && as_dir=.
1880 for ac_exec_ext in '' $ac_executable_extensions; do
1881 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1882 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1883 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1884 ac_prog_rejected=yes
1886 @@ -1494,6 +1879,7 @@ do
1892 if test $ac_prog_rejected = yes; then
1893 # We found a bogon in the path, so make sure we never use it.
1894 @@ -1511,22 +1897,23 @@ fi
1897 if test -n "$CC"; then
1898 - echo "$as_me:$LINENO: result: $CC" >&5
1899 -echo "${ECHO_T}$CC" >&6
1900 + { echo "$as_me:$LINENO: result: $CC" >&5
1901 +echo "${ECHO_T}$CC" >&6; }
1903 - echo "$as_me:$LINENO: result: no" >&5
1904 -echo "${ECHO_T}no" >&6
1905 + { echo "$as_me:$LINENO: result: no" >&5
1906 +echo "${ECHO_T}no" >&6; }
1911 if test -z "$CC"; then
1912 if test -n "$ac_tool_prefix"; then
1914 + for ac_prog in cl.exe
1916 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1917 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1918 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1919 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1920 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1921 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1922 if test "${ac_cv_prog_CC+set}" = set; then
1923 echo $ECHO_N "(cached) $ECHO_C" >&6
1925 @@ -1539,36 +1926,38 @@ do
1927 test -z "$as_dir" && as_dir=.
1928 for ac_exec_ext in '' $ac_executable_extensions; do
1929 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1930 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1931 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1942 if test -n "$CC"; then
1943 - echo "$as_me:$LINENO: result: $CC" >&5
1944 -echo "${ECHO_T}$CC" >&6
1945 + { echo "$as_me:$LINENO: result: $CC" >&5
1946 +echo "${ECHO_T}$CC" >&6; }
1948 - echo "$as_me:$LINENO: result: no" >&5
1949 -echo "${ECHO_T}no" >&6
1950 + { echo "$as_me:$LINENO: result: no" >&5
1951 +echo "${ECHO_T}no" >&6; }
1955 test -n "$CC" && break
1958 if test -z "$CC"; then
1961 + for ac_prog in cl.exe
1963 # Extract the first word of "$ac_prog", so it can be a program name with args.
1964 set dummy $ac_prog; ac_word=$2
1965 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1966 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1967 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1968 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1969 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 @@ -1581,29 +1970,45 @@ do
1974 test -z "$as_dir" && as_dir=.
1975 for ac_exec_ext in '' $ac_executable_extensions; do
1976 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1977 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1978 ac_cv_prog_ac_ct_CC="$ac_prog"
1979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1989 if test -n "$ac_ct_CC"; then
1990 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1991 -echo "${ECHO_T}$ac_ct_CC" >&6
1992 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1993 +echo "${ECHO_T}$ac_ct_CC" >&6; }
1995 - echo "$as_me:$LINENO: result: no" >&5
1996 -echo "${ECHO_T}no" >&6
1997 + { echo "$as_me:$LINENO: result: no" >&5
1998 +echo "${ECHO_T}no" >&6; }
2002 test -n "$ac_ct_CC" && break
2006 + if test "x$ac_ct_CC" = x; then
2009 + case $cross_compiling:$ac_tool_warned in
2011 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2012 +whose name does not start with the host triplet. If you think this
2013 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2014 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2015 +whose name does not start with the host triplet. If you think this
2016 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2017 +ac_tool_warned=yes ;;
2024 @@ -1616,21 +2021,35 @@ See \`config.log' for more details." >&2
2025 { (exit 1); exit 1; }; }
2027 # Provide some information about the compiler.
2028 -echo "$as_me:$LINENO:" \
2029 - "checking for C compiler version" >&5
2030 +echo "$as_me:$LINENO: checking for C compiler version" >&5
2031 ac_compiler=`set X $ac_compile; echo $2`
2032 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2033 - (eval $ac_compiler --version </dev/null >&5) 2>&5
2034 +{ (ac_try="$ac_compiler --version >&5"
2035 +case "(($ac_try" in
2036 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2037 + *) ac_try_echo=$ac_try;;
2039 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2040 + (eval "$ac_compiler --version >&5") 2>&5
2042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2043 (exit $ac_status); }
2044 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2045 - (eval $ac_compiler -v </dev/null >&5) 2>&5
2046 +{ (ac_try="$ac_compiler -v >&5"
2047 +case "(($ac_try" in
2048 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2049 + *) ac_try_echo=$ac_try;;
2051 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2052 + (eval "$ac_compiler -v >&5") 2>&5
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); }
2056 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2057 - (eval $ac_compiler -V </dev/null >&5) 2>&5
2058 +{ (ac_try="$ac_compiler -V >&5"
2059 +case "(($ac_try" in
2060 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2061 + *) ac_try_echo=$ac_try;;
2063 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2064 + (eval "$ac_compiler -V >&5") 2>&5
2066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067 (exit $ac_status); }
2068 @@ -1655,47 +2074,77 @@ ac_clean_files="$ac_clean_files a.out a.
2069 # Try to create an executable without -o first, disregard a.out.
2070 # It will help us diagnose broken compilers, and finding out an intuition
2072 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2073 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2074 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2075 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2076 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2077 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2078 - (eval $ac_link_default) 2>&5
2080 +# List of possible output files, starting from the most likely.
2081 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2082 +# only as a last resort. b.out is created by i960 compilers.
2083 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2085 +# The IRIX 6 linker writes into existing files which may not be
2086 +# executable, retaining their permissions. Remove them first so a
2087 +# subsequent execution test works.
2089 +for ac_file in $ac_files
2092 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2093 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2098 +if { (ac_try="$ac_link_default"
2099 +case "(($ac_try" in
2100 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2101 + *) ac_try_echo=$ac_try;;
2103 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2104 + (eval "$ac_link_default") 2>&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); }; then
2108 - # Find the output, starting from the most likely. This scheme is
2109 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2112 -# Be careful to initialize this variable, since it used to be cached.
2113 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2115 -# b.out is created by i960 compilers.
2116 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2117 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2118 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2119 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
2120 +# so that the user can short-circuit this test for compilers unknown to
2122 +for ac_file in $ac_files ''
2124 test -f "$ac_file" || continue
2126 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2128 - conftest.$ac_ext )
2129 - # This is the source file.
2130 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2133 # We found the default executable, but exeext='' is most
2137 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2138 - # FIXME: I believe we export ac_cv_exeext for Libtool,
2139 - # but it would be cool to find out if it's true. Does anybody
2140 - # maintain Libtool? --akim.
2141 - export ac_cv_exeext
2142 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2144 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2146 + # We set ac_cv_exeext here because the later test for it is not
2147 + # safe: cross compilers may not add the suffix if given an `-o'
2148 + # argument, so we may need to know it at that point already.
2149 + # Even if this section looks crufty: it has the advantage of
2150 + # actually working.
2156 +test "$ac_cv_exeext" = no && ac_cv_exeext=
2162 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
2163 +echo "${ECHO_T}$ac_file" >&6; }
2164 +if test -z "$ac_file"; then
2165 echo "$as_me: failed program was:" >&5
2166 sed 's/^/| /' conftest.$ac_ext >&5
2168 @@ -1707,19 +2156,21 @@ See \`config.log' for more details." >&2
2171 ac_exeext=$ac_cv_exeext
2172 -echo "$as_me:$LINENO: result: $ac_file" >&5
2173 -echo "${ECHO_T}$ac_file" >&6
2175 -# Check the compiler produces executables we can run. If not, either
2176 +# Check that the compiler produces executables we can run. If not, either
2177 # the compiler is broken, or we cross compile.
2178 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2179 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2180 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2181 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2182 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2183 # If not cross compiling, check that we can run a simple program.
2184 if test "$cross_compiling" != yes; then
2185 if { ac_try='./$ac_file'
2186 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187 - (eval $ac_try) 2>&5
2188 + { (case "(($ac_try" in
2189 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2190 + *) ac_try_echo=$ac_try;;
2192 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2193 + (eval "$ac_try") 2>&5
2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196 (exit $ac_status); }; }; then
2197 @@ -1738,22 +2189,27 @@ See \`config.log' for more details." >&2
2201 -echo "$as_me:$LINENO: result: yes" >&5
2202 -echo "${ECHO_T}yes" >&6
2203 +{ echo "$as_me:$LINENO: result: yes" >&5
2204 +echo "${ECHO_T}yes" >&6; }
2206 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2207 ac_clean_files=$ac_clean_files_save
2208 -# Check the compiler produces executables we can run. If not, either
2209 +# Check that the compiler produces executables we can run. If not, either
2210 # the compiler is broken, or we cross compile.
2211 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2212 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2213 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
2214 -echo "${ECHO_T}$cross_compiling" >&6
2215 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2216 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2217 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2218 +echo "${ECHO_T}$cross_compiling" >&6; }
2220 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
2221 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2222 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2223 - (eval $ac_link) 2>&5
2224 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2225 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2226 +if { (ac_try="$ac_link"
2227 +case "(($ac_try" in
2228 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2229 + *) ac_try_echo=$ac_try;;
2231 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2232 + (eval "$ac_link") 2>&5
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); }; then
2236 @@ -1764,9 +2220,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
2237 for ac_file in conftest.exe conftest conftest.*; do
2238 test -f "$ac_file" || continue
2240 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2241 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2242 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2243 - export ac_cv_exeext
2247 @@ -1780,14 +2235,14 @@ See \`config.log' for more details." >&2
2250 rm -f conftest$ac_cv_exeext
2251 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2252 -echo "${ECHO_T}$ac_cv_exeext" >&6
2253 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2254 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
2256 rm -f conftest.$ac_ext
2257 EXEEXT=$ac_cv_exeext
2259 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
2260 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2261 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2262 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2263 if test "${ac_cv_objext+set}" = set; then
2264 echo $ECHO_N "(cached) $ECHO_C" >&6
2266 @@ -1807,14 +2262,20 @@ main ()
2269 rm -f conftest.o conftest.obj
2270 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2271 - (eval $ac_compile) 2>&5
2272 +if { (ac_try="$ac_compile"
2273 +case "(($ac_try" in
2274 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2275 + *) ac_try_echo=$ac_try;;
2277 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2278 + (eval "$ac_compile") 2>&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }; then
2282 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2283 + for ac_file in conftest.o conftest.obj conftest.*; do
2284 + test -f "$ac_file" || continue;
2286 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2287 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2288 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2291 @@ -1832,12 +2293,12 @@ fi
2293 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2295 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2296 -echo "${ECHO_T}$ac_cv_objext" >&6
2297 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2298 +echo "${ECHO_T}$ac_cv_objext" >&6; }
2299 OBJEXT=$ac_cv_objext
2301 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2302 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2303 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2304 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2305 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2306 echo $ECHO_N "(cached) $ECHO_C" >&6
2308 @@ -1860,49 +2321,49 @@ main ()
2311 rm -f conftest.$ac_objext
2312 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2313 - (eval $ac_compile) 2>conftest.er1
2314 +if { (ac_try="$ac_compile"
2315 +case "(($ac_try" in
2316 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2317 + *) ac_try_echo=$ac_try;;
2319 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2320 + (eval "$ac_compile") 2>conftest.er1
2322 grep -v '^ *+' conftest.er1 >conftest.err
2324 cat conftest.err >&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 - (exit $ac_status); } &&
2327 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2328 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 - (eval $ac_try) 2>&5
2331 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 - (exit $ac_status); }; } &&
2333 - { ac_try='test -s conftest.$ac_objext'
2334 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2335 - (eval $ac_try) 2>&5
2337 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 - (exit $ac_status); }; }; then
2339 + (exit $ac_status); } && {
2340 + test -z "$ac_c_werror_flag" ||
2341 + test ! -s conftest.err
2342 + } && test -s conftest.$ac_objext; then
2345 echo "$as_me: failed program was:" >&5
2346 sed 's/^/| /' conftest.$ac_ext >&5
2349 + ac_compiler_gnu=no
2351 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2353 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2357 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2358 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2359 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2360 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2361 GCC=`test $ac_compiler_gnu = yes && echo yes`
2362 ac_test_CFLAGS=${CFLAGS+set}
2363 ac_save_CFLAGS=$CFLAGS
2365 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2366 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2367 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2368 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2369 if test "${ac_cv_prog_cc_g+set}" = set; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2372 - cat >conftest.$ac_ext <<_ACEOF
2373 + ac_save_c_werror_flag=$ac_c_werror_flag
2374 + ac_c_werror_flag=yes
2375 + ac_cv_prog_cc_g=no
2377 + cat >conftest.$ac_ext <<_ACEOF
2380 cat confdefs.h >>conftest.$ac_ext
2381 @@ -1918,37 +2379,118 @@ main ()
2384 rm -f conftest.$ac_objext
2385 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2386 - (eval $ac_compile) 2>conftest.er1
2387 +if { (ac_try="$ac_compile"
2388 +case "(($ac_try" in
2389 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390 + *) ac_try_echo=$ac_try;;
2392 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2393 + (eval "$ac_compile") 2>conftest.er1
2395 grep -v '^ *+' conftest.er1 >conftest.err
2397 cat conftest.err >&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 - (exit $ac_status); } &&
2400 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2401 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2402 - (eval $ac_try) 2>&5
2403 + (exit $ac_status); } && {
2404 + test -z "$ac_c_werror_flag" ||
2405 + test ! -s conftest.err
2406 + } && test -s conftest.$ac_objext; then
2407 + ac_cv_prog_cc_g=yes
2409 + echo "$as_me: failed program was:" >&5
2410 +sed 's/^/| /' conftest.$ac_ext >&5
2413 + cat >conftest.$ac_ext <<_ACEOF
2416 +cat confdefs.h >>conftest.$ac_ext
2417 +cat >>conftest.$ac_ext <<_ACEOF
2418 +/* end confdefs.h. */
2428 +rm -f conftest.$ac_objext
2429 +if { (ac_try="$ac_compile"
2430 +case "(($ac_try" in
2431 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2432 + *) ac_try_echo=$ac_try;;
2434 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2435 + (eval "$ac_compile") 2>conftest.er1
2437 + grep -v '^ *+' conftest.er1 >conftest.err
2438 + rm -f conftest.er1
2439 + cat conftest.err >&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 - (exit $ac_status); }; } &&
2442 - { ac_try='test -s conftest.$ac_objext'
2443 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2444 - (eval $ac_try) 2>&5
2445 + (exit $ac_status); } && {
2446 + test -z "$ac_c_werror_flag" ||
2447 + test ! -s conftest.err
2448 + } && test -s conftest.$ac_objext; then
2451 + echo "$as_me: failed program was:" >&5
2452 +sed 's/^/| /' conftest.$ac_ext >&5
2454 + ac_c_werror_flag=$ac_save_c_werror_flag
2456 + cat >conftest.$ac_ext <<_ACEOF
2459 +cat confdefs.h >>conftest.$ac_ext
2460 +cat >>conftest.$ac_ext <<_ACEOF
2461 +/* end confdefs.h. */
2471 +rm -f conftest.$ac_objext
2472 +if { (ac_try="$ac_compile"
2473 +case "(($ac_try" in
2474 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 + *) ac_try_echo=$ac_try;;
2477 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2478 + (eval "$ac_compile") 2>conftest.er1
2480 + grep -v '^ *+' conftest.er1 >conftest.err
2481 + rm -f conftest.er1
2482 + cat conftest.err >&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 - (exit $ac_status); }; }; then
2485 + (exit $ac_status); } && {
2486 + test -z "$ac_c_werror_flag" ||
2487 + test ! -s conftest.err
2488 + } && test -s conftest.$ac_objext; then
2491 echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.$ac_ext >&5
2497 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2499 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2502 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2504 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2508 + ac_c_werror_flag=$ac_save_c_werror_flag
2510 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2511 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2512 if test "$ac_test_CFLAGS" = set; then
2513 CFLAGS=$ac_save_CFLAGS
2514 elif test $ac_cv_prog_cc_g = yes; then
2515 @@ -1964,12 +2506,12 @@ else
2519 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2520 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2521 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
2522 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2523 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2524 +if test "${ac_cv_prog_cc_c89+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 - ac_cv_prog_cc_stdc=no
2528 + ac_cv_prog_cc_c89=no
2530 cat >conftest.$ac_ext <<_ACEOF
2532 @@ -2003,12 +2545,17 @@ static char *f (char * (*g) (char **, in
2533 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2534 function prototypes and stuff, but not '\xHH' hex character constants.
2535 These don't provoke an error unfortunately, instead are silently treated
2536 - as 'x'. The following induces an error, until -std1 is added to get
2537 + as 'x'. The following induces an error, until -std is added to get
2538 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2539 array size at least. It's necessary to write '\x00'==0 to get something
2540 - that's true only with -std1. */
2541 + that's true only with -std. */
2542 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2544 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2545 + inside strings and character constants. */
2547 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2549 int test (int i, double x);
2550 struct s1 {int (*f) (int a);};
2551 struct s2 {int (*f) (double a);};
2552 @@ -2023,201 +2570,57 @@ return f (e, argv, 0) != argv[0] || f
2556 -# Don't try gcc -ansi; that turns off useful extensions and
2557 -# breaks some systems' header files.
2558 -# AIX -qlanglvl=ansi
2559 -# Ultrix and OSF/1 -std1
2560 -# HP-UX 10.20 and later -Ae
2561 -# HP-UX older versions -Aa -D_HPUX_SOURCE
2562 -# SVR4 -Xc -D__EXTENSIONS__
2563 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2564 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2565 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2567 CC="$ac_save_CC $ac_arg"
2568 rm -f conftest.$ac_objext
2569 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2570 - (eval $ac_compile) 2>conftest.er1
2571 +if { (ac_try="$ac_compile"
2572 +case "(($ac_try" in
2573 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2574 + *) ac_try_echo=$ac_try;;
2576 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2577 + (eval "$ac_compile") 2>conftest.er1
2579 grep -v '^ *+' conftest.er1 >conftest.err
2581 cat conftest.err >&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 - (exit $ac_status); } &&
2584 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2585 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586 - (eval $ac_try) 2>&5
2588 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 - (exit $ac_status); }; } &&
2590 - { ac_try='test -s conftest.$ac_objext'
2591 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 - (eval $ac_try) 2>&5
2594 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 - (exit $ac_status); }; }; then
2596 - ac_cv_prog_cc_stdc=$ac_arg
2598 + (exit $ac_status); } && {
2599 + test -z "$ac_c_werror_flag" ||
2600 + test ! -s conftest.err
2601 + } && test -s conftest.$ac_objext; then
2602 + ac_cv_prog_cc_c89=$ac_arg
2604 echo "$as_me: failed program was:" >&5
2605 sed 's/^/| /' conftest.$ac_ext >&5
2609 -rm -f conftest.err conftest.$ac_objext
2611 +rm -f core conftest.err conftest.$ac_objext
2612 + test "x$ac_cv_prog_cc_c89" != "xno" && break
2614 -rm -f conftest.$ac_ext conftest.$ac_objext
2615 +rm -f conftest.$ac_ext
2620 -case "x$ac_cv_prog_cc_stdc" in
2622 - echo "$as_me:$LINENO: result: none needed" >&5
2623 -echo "${ECHO_T}none needed" >&6 ;;
2625 +case "x$ac_cv_prog_cc_c89" in
2627 + { echo "$as_me:$LINENO: result: none needed" >&5
2628 +echo "${ECHO_T}none needed" >&6; } ;;
2630 + { echo "$as_me:$LINENO: result: unsupported" >&5
2631 +echo "${ECHO_T}unsupported" >&6; } ;;
2633 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2634 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2635 - CC="$CC $ac_cv_prog_cc_stdc" ;;
2636 + CC="$CC $ac_cv_prog_cc_c89"
2637 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2638 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2641 -# Some people use a C++ compiler to compile C. Since we use `exit',
2642 -# in C++ we need to declare it. In case someone uses the same compiler
2643 -# for both compiling C and C++ we need to have the C++ compiler decide
2644 -# the declaration of exit, since it's the most demanding environment.
2645 -cat >conftest.$ac_ext <<_ACEOF
2646 -#ifndef __cplusplus
2650 -rm -f conftest.$ac_objext
2651 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2652 - (eval $ac_compile) 2>conftest.er1
2654 - grep -v '^ *+' conftest.er1 >conftest.err
2655 - rm -f conftest.er1
2656 - cat conftest.err >&5
2657 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 - (exit $ac_status); } &&
2659 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2660 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 - (eval $ac_try) 2>&5
2663 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 - (exit $ac_status); }; } &&
2665 - { ac_try='test -s conftest.$ac_objext'
2666 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2667 - (eval $ac_try) 2>&5
2669 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 - (exit $ac_status); }; }; then
2671 - for ac_declaration in \
2673 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
2674 - 'extern "C" void std::exit (int); using std::exit;' \
2675 - 'extern "C" void exit (int) throw ();' \
2676 - 'extern "C" void exit (int);' \
2677 - 'void exit (int);'
2679 - cat >conftest.$ac_ext <<_ACEOF
2682 -cat confdefs.h >>conftest.$ac_ext
2683 -cat >>conftest.$ac_ext <<_ACEOF
2684 -/* end confdefs.h. */
2686 -#include <stdlib.h>
2695 -rm -f conftest.$ac_objext
2696 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2697 - (eval $ac_compile) 2>conftest.er1
2699 - grep -v '^ *+' conftest.er1 >conftest.err
2700 - rm -f conftest.er1
2701 - cat conftest.err >&5
2702 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 - (exit $ac_status); } &&
2704 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2705 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2706 - (eval $ac_try) 2>&5
2708 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 - (exit $ac_status); }; } &&
2710 - { ac_try='test -s conftest.$ac_objext'
2711 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712 - (eval $ac_try) 2>&5
2714 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 - (exit $ac_status); }; }; then
2718 - echo "$as_me: failed program was:" >&5
2719 -sed 's/^/| /' conftest.$ac_ext >&5
2723 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2724 - cat >conftest.$ac_ext <<_ACEOF
2727 -cat confdefs.h >>conftest.$ac_ext
2728 -cat >>conftest.$ac_ext <<_ACEOF
2729 -/* end confdefs.h. */
2739 -rm -f conftest.$ac_objext
2740 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2741 - (eval $ac_compile) 2>conftest.er1
2743 - grep -v '^ *+' conftest.er1 >conftest.err
2744 - rm -f conftest.er1
2745 - cat conftest.err >&5
2746 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 - (exit $ac_status); } &&
2748 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2749 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2750 - (eval $ac_try) 2>&5
2752 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 - (exit $ac_status); }; } &&
2754 - { ac_try='test -s conftest.$ac_objext'
2755 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756 - (eval $ac_try) 2>&5
2758 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 - (exit $ac_status); }; }; then
2762 - echo "$as_me: failed program was:" >&5
2763 -sed 's/^/| /' conftest.$ac_ext >&5
2766 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2769 -if test -n "$ac_declaration"; then
2770 - echo '#ifdef __cplusplus' >>confdefs.h
2771 - echo $ac_declaration >>confdefs.h
2772 - echo '#endif' >>confdefs.h
2776 - echo "$as_me: failed program was:" >&5
2777 -sed 's/^/| /' conftest.$ac_ext >&5
2780 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2782 ac_cpp='$CPP $CPPFLAGS'
2783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2784 @@ -2227,8 +2630,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2785 if test -n "$ac_tool_prefix"; then
2786 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2787 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2788 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2789 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2790 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2791 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2792 if test "${ac_cv_prog_RANLIB+set}" = set; then
2793 echo $ECHO_N "(cached) $ECHO_C" >&6
2795 @@ -2241,32 +2644,34 @@ do
2797 test -z "$as_dir" && as_dir=.
2798 for ac_exec_ext in '' $ac_executable_extensions; do
2799 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2800 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2801 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 RANLIB=$ac_cv_prog_RANLIB
2812 if test -n "$RANLIB"; then
2813 - echo "$as_me:$LINENO: result: $RANLIB" >&5
2814 -echo "${ECHO_T}$RANLIB" >&6
2815 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
2816 +echo "${ECHO_T}$RANLIB" >&6; }
2818 - echo "$as_me:$LINENO: result: no" >&5
2819 -echo "${ECHO_T}no" >&6
2820 + { echo "$as_me:$LINENO: result: no" >&5
2821 +echo "${ECHO_T}no" >&6; }
2826 if test -z "$ac_cv_prog_RANLIB"; then
2827 ac_ct_RANLIB=$RANLIB
2828 # Extract the first word of "ranlib", so it can be a program name with args.
2829 set dummy ranlib; ac_word=$2
2830 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2831 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2832 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2833 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2834 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2835 echo $ECHO_N "(cached) $ECHO_C" >&6
2837 @@ -2279,27 +2684,41 @@ do
2839 test -z "$as_dir" && as_dir=.
2840 for ac_exec_ext in '' $ac_executable_extensions; do
2841 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2842 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2843 ac_cv_prog_ac_ct_RANLIB="ranlib"
2844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2851 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2854 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2855 if test -n "$ac_ct_RANLIB"; then
2856 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2857 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
2858 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2859 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2861 - echo "$as_me:$LINENO: result: no" >&5
2862 -echo "${ECHO_T}no" >&6
2863 + { echo "$as_me:$LINENO: result: no" >&5
2864 +echo "${ECHO_T}no" >&6; }
2867 - RANLIB=$ac_ct_RANLIB
2868 + if test "x$ac_ct_RANLIB" = x; then
2871 + case $cross_compiling:$ac_tool_warned in
2873 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2874 +whose name does not start with the host triplet. If you think this
2875 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2876 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2877 +whose name does not start with the host triplet. If you think this
2878 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2879 +ac_tool_warned=yes ;;
2881 + RANLIB=$ac_ct_RANLIB
2884 RANLIB="$ac_cv_prog_RANLIB"
2886 @@ -2312,8 +2731,8 @@ ac_cpp='$CPP $CPPFLAGS'
2887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2890 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2891 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2892 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2893 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2894 # On Suns, sometimes $CPP names a directory.
2895 if test -n "$CPP" && test -d "$CPP"; then
2897 @@ -2347,24 +2766,22 @@ cat >>conftest.$ac_ext <<_ACEOF
2901 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2902 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2903 +if { (ac_try="$ac_cpp conftest.$ac_ext"
2904 +case "(($ac_try" in
2905 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2906 + *) ac_try_echo=$ac_try;;
2908 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2909 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2911 grep -v '^ *+' conftest.er1 >conftest.err
2913 cat conftest.err >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 - (exit $ac_status); } >/dev/null; then
2916 - if test -s conftest.err; then
2917 - ac_cpp_err=$ac_c_preproc_warn_flag
2918 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2925 -if test -z "$ac_cpp_err"; then
2926 + (exit $ac_status); } >/dev/null && {
2927 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2928 + test ! -s conftest.err
2932 echo "$as_me: failed program was:" >&5
2933 @@ -2373,9 +2790,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
2934 # Broken: fails on valid input.
2938 rm -f conftest.err conftest.$ac_ext
2940 - # OK, works on sane cases. Now check whether non-existent headers
2941 + # OK, works on sane cases. Now check whether nonexistent headers
2942 # can be detected and how.
2943 cat >conftest.$ac_ext <<_ACEOF
2945 @@ -2385,24 +2803,22 @@ cat >>conftest.$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2947 #include <ac_nonexistent.h>
2949 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2950 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2951 +if { (ac_try="$ac_cpp conftest.$ac_ext"
2952 +case "(($ac_try" in
2953 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2954 + *) ac_try_echo=$ac_try;;
2956 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2957 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2959 grep -v '^ *+' conftest.er1 >conftest.err
2961 cat conftest.err >&5
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 - (exit $ac_status); } >/dev/null; then
2964 - if test -s conftest.err; then
2965 - ac_cpp_err=$ac_c_preproc_warn_flag
2966 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2973 -if test -z "$ac_cpp_err"; then
2974 + (exit $ac_status); } >/dev/null && {
2975 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2976 + test ! -s conftest.err
2978 # Broken: success on invalid input.
2981 @@ -2413,6 +2829,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
2986 rm -f conftest.err conftest.$ac_ext
2989 @@ -2430,8 +2847,8 @@ fi
2993 -echo "$as_me:$LINENO: result: $CPP" >&5
2994 -echo "${ECHO_T}$CPP" >&6
2995 +{ echo "$as_me:$LINENO: result: $CPP" >&5
2996 +echo "${ECHO_T}$CPP" >&6; }
2998 for ac_c_preproc_warn_flag in '' yes
3000 @@ -2454,24 +2871,22 @@ cat >>conftest.$ac_ext <<_ACEOF
3004 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3005 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3006 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3007 +case "(($ac_try" in
3008 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 + *) ac_try_echo=$ac_try;;
3011 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3012 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3014 grep -v '^ *+' conftest.er1 >conftest.err
3016 cat conftest.err >&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 - (exit $ac_status); } >/dev/null; then
3019 - if test -s conftest.err; then
3020 - ac_cpp_err=$ac_c_preproc_warn_flag
3021 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3028 -if test -z "$ac_cpp_err"; then
3029 + (exit $ac_status); } >/dev/null && {
3030 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3031 + test ! -s conftest.err
3035 echo "$as_me: failed program was:" >&5
3036 @@ -2480,9 +2895,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
3037 # Broken: fails on valid input.
3041 rm -f conftest.err conftest.$ac_ext
3043 - # OK, works on sane cases. Now check whether non-existent headers
3044 + # OK, works on sane cases. Now check whether nonexistent headers
3045 # can be detected and how.
3046 cat >conftest.$ac_ext <<_ACEOF
3048 @@ -2492,24 +2908,22 @@ cat >>conftest.$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3050 #include <ac_nonexistent.h>
3052 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3053 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3054 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3055 +case "(($ac_try" in
3056 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 + *) ac_try_echo=$ac_try;;
3059 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3060 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3062 grep -v '^ *+' conftest.er1 >conftest.err
3064 cat conftest.err >&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 - (exit $ac_status); } >/dev/null; then
3067 - if test -s conftest.err; then
3068 - ac_cpp_err=$ac_c_preproc_warn_flag
3069 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3076 -if test -z "$ac_cpp_err"; then
3077 + (exit $ac_status); } >/dev/null && {
3078 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3079 + test ! -s conftest.err
3081 # Broken: success on invalid input.
3084 @@ -2520,6 +2934,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
3089 rm -f conftest.err conftest.$ac_ext
3092 @@ -2542,23 +2957,170 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
3093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3096 -echo "$as_me:$LINENO: checking for egrep" >&5
3097 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3098 -if test "${ac_cv_prog_egrep+set}" = set; then
3099 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3100 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3101 +if test "${ac_cv_path_GREP+set}" = set; then
3102 echo $ECHO_N "(cached) $ECHO_C" >&6
3104 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3105 - then ac_cv_prog_egrep='grep -E'
3106 - else ac_cv_prog_egrep='egrep'
3107 + # Extract the first word of "grep ggrep" to use in msg output
3108 +if test -z "$GREP"; then
3109 +set dummy grep ggrep; ac_prog_name=$2
3110 +if test "${ac_cv_path_GREP+set}" = set; then
3111 + echo $ECHO_N "(cached) $ECHO_C" >&6
3113 + ac_path_GREP_found=false
3114 +# Loop through the user's path and test for each of PROGNAME-LIST
3115 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3116 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3119 + test -z "$as_dir" && as_dir=.
3120 + for ac_prog in grep ggrep; do
3121 + for ac_exec_ext in '' $ac_executable_extensions; do
3122 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3123 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3124 + # Check for GNU ac_path_GREP and select it if it is found.
3125 + # Check for GNU $ac_path_GREP
3126 +case `"$ac_path_GREP" --version 2>&1` in
3128 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3131 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3134 + cat "conftest.in" "conftest.in" >"conftest.tmp"
3135 + mv "conftest.tmp" "conftest.in"
3136 + cp "conftest.in" "conftest.nl"
3137 + echo 'GREP' >> "conftest.nl"
3138 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3139 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3140 + ac_count=`expr $ac_count + 1`
3141 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
3142 + # Best one so far, save it but keep looking for a better one
3143 + ac_cv_path_GREP="$ac_path_GREP"
3144 + ac_path_GREP_max=$ac_count
3146 + # 10*(2^10) chars as input seems more than enough
3147 + test $ac_count -gt 10 && break
3149 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3153 + $ac_path_GREP_found && break 3
3163 +GREP="$ac_cv_path_GREP"
3164 +if test -z "$GREP"; then
3165 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3166 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3167 + { (exit 1); exit 1; }; }
3169 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3170 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3171 - EGREP=$ac_cv_prog_egrep
3174 + ac_cv_path_GREP=$GREP
3177 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3178 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3181 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3182 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3183 + GREP="$ac_cv_path_GREP"
3186 +{ echo "$as_me:$LINENO: checking for egrep" >&5
3187 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3188 +if test "${ac_cv_path_EGREP+set}" = set; then
3189 + echo $ECHO_N "(cached) $ECHO_C" >&6
3191 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3192 + then ac_cv_path_EGREP="$GREP -E"
3194 + # Extract the first word of "egrep" to use in msg output
3195 +if test -z "$EGREP"; then
3196 +set dummy egrep; ac_prog_name=$2
3197 +if test "${ac_cv_path_EGREP+set}" = set; then
3198 + echo $ECHO_N "(cached) $ECHO_C" >&6
3200 + ac_path_EGREP_found=false
3201 +# Loop through the user's path and test for each of PROGNAME-LIST
3202 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3206 + test -z "$as_dir" && as_dir=.
3207 + for ac_prog in egrep; do
3208 + for ac_exec_ext in '' $ac_executable_extensions; do
3209 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3210 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3211 + # Check for GNU ac_path_EGREP and select it if it is found.
3212 + # Check for GNU $ac_path_EGREP
3213 +case `"$ac_path_EGREP" --version 2>&1` in
3215 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3218 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3221 + cat "conftest.in" "conftest.in" >"conftest.tmp"
3222 + mv "conftest.tmp" "conftest.in"
3223 + cp "conftest.in" "conftest.nl"
3224 + echo 'EGREP' >> "conftest.nl"
3225 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3226 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3227 + ac_count=`expr $ac_count + 1`
3228 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3229 + # Best one so far, save it but keep looking for a better one
3230 + ac_cv_path_EGREP="$ac_path_EGREP"
3231 + ac_path_EGREP_max=$ac_count
3233 + # 10*(2^10) chars as input seems more than enough
3234 + test $ac_count -gt 10 && break
3236 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3240 + $ac_path_EGREP_found && break 3
3250 +EGREP="$ac_cv_path_EGREP"
3251 +if test -z "$EGREP"; then
3252 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3253 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3254 + { (exit 1); exit 1; }; }
3258 + ac_cv_path_EGREP=$EGREP
3264 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3265 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3266 + EGREP="$ac_cv_path_EGREP"
3269 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3270 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3271 if test "${ac_cv_header_stdc+set}" = set; then
3272 echo $ECHO_N "(cached) $ECHO_C" >&6
3274 @@ -2582,34 +3144,31 @@ main ()
3277 rm -f conftest.$ac_objext
3278 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3279 - (eval $ac_compile) 2>conftest.er1
3280 +if { (ac_try="$ac_compile"
3281 +case "(($ac_try" in
3282 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283 + *) ac_try_echo=$ac_try;;
3285 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3286 + (eval "$ac_compile") 2>conftest.er1
3288 grep -v '^ *+' conftest.er1 >conftest.err
3290 cat conftest.err >&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 - (exit $ac_status); } &&
3293 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3294 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3295 - (eval $ac_try) 2>&5
3297 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 - (exit $ac_status); }; } &&
3299 - { ac_try='test -s conftest.$ac_objext'
3300 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301 - (eval $ac_try) 2>&5
3303 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 - (exit $ac_status); }; }; then
3305 + (exit $ac_status); } && {
3306 + test -z "$ac_c_werror_flag" ||
3307 + test ! -s conftest.err
3308 + } && test -s conftest.$ac_objext; then
3309 ac_cv_header_stdc=yes
3311 echo "$as_me: failed program was:" >&5
3312 sed 's/^/| /' conftest.$ac_ext >&5
3314 -ac_cv_header_stdc=no
3315 + ac_cv_header_stdc=no
3317 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3319 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3321 if test $ac_cv_header_stdc = yes; then
3322 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3323 @@ -2665,6 +3224,7 @@ cat confdefs.h >>conftest.$ac_ext
3324 cat >>conftest.$ac_ext <<_ACEOF
3325 /* end confdefs.h. */
3327 +#include <stdlib.h>
3328 #if ((' ' & 0x0FF) == 0x020)
3329 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3330 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3331 @@ -2684,18 +3244,27 @@ main ()
3332 for (i = 0; i < 256; i++)
3333 if (XOR (islower (i), ISLOWER (i))
3334 || toupper (i) != TOUPPER (i))
3341 rm -f conftest$ac_exeext
3342 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3343 - (eval $ac_link) 2>&5
3344 +if { (ac_try="$ac_link"
3345 +case "(($ac_try" in
3346 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347 + *) ac_try_echo=$ac_try;;
3349 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3350 + (eval "$ac_link") 2>&5
3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3354 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355 - (eval $ac_try) 2>&5
3356 + { (case "(($ac_try" in
3357 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 + *) ac_try_echo=$ac_try;;
3360 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3361 + (eval "$ac_try") 2>&5
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; }; then
3365 @@ -2708,12 +3277,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
3367 ac_cv_header_stdc=no
3369 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3370 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3376 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3377 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
3378 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3379 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3380 if test $ac_cv_header_stdc = yes; then
3382 cat >>confdefs.h <<\_ACEOF
3383 @@ -2722,8 +3293,8 @@ _ACEOF
3387 -echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
3388 -echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
3389 +{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
3390 +echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
3391 if test "${ac_cv_header_sys_wait_h+set}" = set; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6
3394 @@ -2736,7 +3307,7 @@ cat >>conftest.$ac_ext <<_ACEOF
3395 #include <sys/types.h>
3396 #include <sys/wait.h>
3398 -# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3399 +# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
3402 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3403 @@ -2753,37 +3324,34 @@ main ()
3406 rm -f conftest.$ac_objext
3407 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3408 - (eval $ac_compile) 2>conftest.er1
3409 +if { (ac_try="$ac_compile"
3410 +case "(($ac_try" in
3411 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412 + *) ac_try_echo=$ac_try;;
3414 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3415 + (eval "$ac_compile") 2>conftest.er1
3417 grep -v '^ *+' conftest.er1 >conftest.err
3419 cat conftest.err >&5
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 - (exit $ac_status); } &&
3422 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3423 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3424 - (eval $ac_try) 2>&5
3426 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 - (exit $ac_status); }; } &&
3428 - { ac_try='test -s conftest.$ac_objext'
3429 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3430 - (eval $ac_try) 2>&5
3432 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 - (exit $ac_status); }; }; then
3434 + (exit $ac_status); } && {
3435 + test -z "$ac_c_werror_flag" ||
3436 + test ! -s conftest.err
3437 + } && test -s conftest.$ac_objext; then
3438 ac_cv_header_sys_wait_h=yes
3440 echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3443 -ac_cv_header_sys_wait_h=no
3444 + ac_cv_header_sys_wait_h=no
3446 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3448 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3450 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
3451 -echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
3452 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
3453 +echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
3454 if test $ac_cv_header_sys_wait_h = yes; then
3456 cat >>confdefs.h <<\_ACEOF
3457 @@ -2806,9 +3374,9 @@ for ac_header in sys/types.h sys/stat.h
3458 inttypes.h stdint.h unistd.h
3460 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3461 -echo "$as_me:$LINENO: checking for $ac_header" >&5
3462 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3463 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
3464 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3465 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3466 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3467 echo $ECHO_N "(cached) $ECHO_C" >&6
3469 cat >conftest.$ac_ext <<_ACEOF
3470 @@ -2822,37 +3390,35 @@ $ac_includes_default
3471 #include <$ac_header>
3473 rm -f conftest.$ac_objext
3474 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3475 - (eval $ac_compile) 2>conftest.er1
3476 +if { (ac_try="$ac_compile"
3477 +case "(($ac_try" in
3478 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479 + *) ac_try_echo=$ac_try;;
3481 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3482 + (eval "$ac_compile") 2>conftest.er1
3484 grep -v '^ *+' conftest.er1 >conftest.err
3486 cat conftest.err >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 - (exit $ac_status); } &&
3489 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3490 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3491 - (eval $ac_try) 2>&5
3493 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 - (exit $ac_status); }; } &&
3495 - { ac_try='test -s conftest.$ac_objext'
3496 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3497 - (eval $ac_try) 2>&5
3499 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 - (exit $ac_status); }; }; then
3501 + (exit $ac_status); } && {
3502 + test -z "$ac_c_werror_flag" ||
3503 + test ! -s conftest.err
3504 + } && test -s conftest.$ac_objext; then
3505 eval "$as_ac_Header=yes"
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 -eval "$as_ac_Header=no"
3511 + eval "$as_ac_Header=no"
3513 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3515 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3518 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3519 +ac_res=`eval echo '${'$as_ac_Header'}'`
3520 + { echo "$as_me:$LINENO: result: $ac_res" >&5
3521 +echo "${ECHO_T}$ac_res" >&6; }
3522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3523 cat >>confdefs.h <<_ACEOF
3524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3525 @@ -2893,18 +3459,19 @@ done
3526 for ac_header in fcntl.h sys/dlpi.h sys/ioctl.h sys/time.h syslog.h unistd.h net/if_arp.h netinet/if_ether.h getopt.h sys/uio.h sys/param.h fcntl.h net/bpf.h netpacket/packet.h net/ethernet.h asm/types.h linux/if_packet.h linux/if_ether.h sys/socket.h sys/cdefs.h net/if.h net/if_dl.h net/if_ether.h net/if_types.h netinet/if_ether.h net/if_types.h net/if_dl.h
3528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3529 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
3530 - echo "$as_me:$LINENO: checking for $ac_header" >&5
3531 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3532 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
3533 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3534 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
3535 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3536 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3539 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3540 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3541 +ac_res=`eval echo '${'$as_ac_Header'}'`
3542 + { echo "$as_me:$LINENO: result: $ac_res" >&5
3543 +echo "${ECHO_T}$ac_res" >&6; }
3545 # Is the header compilable?
3546 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
3547 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3548 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
3549 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3550 cat >conftest.$ac_ext <<_ACEOF
3553 @@ -2915,40 +3482,37 @@ $ac_includes_default
3554 #include <$ac_header>
3556 rm -f conftest.$ac_objext
3557 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3558 - (eval $ac_compile) 2>conftest.er1
3559 +if { (ac_try="$ac_compile"
3560 +case "(($ac_try" in
3561 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3562 + *) ac_try_echo=$ac_try;;
3564 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3565 + (eval "$ac_compile") 2>conftest.er1
3567 grep -v '^ *+' conftest.er1 >conftest.err
3569 cat conftest.err >&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 - (exit $ac_status); } &&
3572 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3573 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574 - (eval $ac_try) 2>&5
3576 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 - (exit $ac_status); }; } &&
3578 - { ac_try='test -s conftest.$ac_objext'
3579 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3580 - (eval $ac_try) 2>&5
3582 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 - (exit $ac_status); }; }; then
3584 + (exit $ac_status); } && {
3585 + test -z "$ac_c_werror_flag" ||
3586 + test ! -s conftest.err
3587 + } && test -s conftest.$ac_objext; then
3588 ac_header_compiler=yes
3590 echo "$as_me: failed program was:" >&5
3591 sed 's/^/| /' conftest.$ac_ext >&5
3593 -ac_header_compiler=no
3594 + ac_header_compiler=no
3596 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3597 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3598 -echo "${ECHO_T}$ac_header_compiler" >&6
3600 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3601 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3602 +echo "${ECHO_T}$ac_header_compiler" >&6; }
3604 # Is the header present?
3605 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
3606 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3607 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
3608 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3609 cat >conftest.$ac_ext <<_ACEOF
3612 @@ -2957,24 +3521,22 @@ cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3614 #include <$ac_header>
3616 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3617 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3618 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3619 +case "(($ac_try" in
3620 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3621 + *) ac_try_echo=$ac_try;;
3623 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3624 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3626 grep -v '^ *+' conftest.er1 >conftest.err
3628 cat conftest.err >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 - (exit $ac_status); } >/dev/null; then
3631 - if test -s conftest.err; then
3632 - ac_cpp_err=$ac_c_preproc_warn_flag
3633 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3640 -if test -z "$ac_cpp_err"; then
3641 + (exit $ac_status); } >/dev/null && {
3642 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3643 + test ! -s conftest.err
3645 ac_header_preproc=yes
3647 echo "$as_me: failed program was:" >&5
3648 @@ -2982,9 +3544,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
3650 ac_header_preproc=no
3653 rm -f conftest.err conftest.$ac_ext
3654 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3655 -echo "${ECHO_T}$ac_header_preproc" >&6
3656 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3657 +echo "${ECHO_T}$ac_header_preproc" >&6; }
3659 # So? What about this header?
3660 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3661 @@ -3008,25 +3571,19 @@ echo "$as_me: WARNING: $ac_header: s
3662 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3663 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3664 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3667 -## ------------------------------------------ ##
3668 -## Report this to the AC_PACKAGE_NAME lists. ##
3669 -## ------------------------------------------ ##
3672 - sed "s/^/$as_me: WARNING: /" >&2
3676 -echo "$as_me:$LINENO: checking for $ac_header" >&5
3677 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3678 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
3679 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3680 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3681 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3682 echo $ECHO_N "(cached) $ECHO_C" >&6
3684 eval "$as_ac_Header=\$ac_header_preproc"
3686 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3687 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3688 +ac_res=`eval echo '${'$as_ac_Header'}'`
3689 + { echo "$as_me:$LINENO: result: $ac_res" >&5
3690 +echo "${ECHO_T}$ac_res" >&6; }
3693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3694 @@ -3042,9 +3599,9 @@ done
3695 for ac_header in linux/if.h
3697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3698 -echo "$as_me:$LINENO: checking for $ac_header" >&5
3699 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3700 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
3701 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3702 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3703 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3706 cat >conftest.$ac_ext <<_ACEOF
3707 @@ -3058,37 +3615,35 @@ cat >>conftest.$ac_ext <<_ACEOF
3708 #include <$ac_header>
3710 rm -f conftest.$ac_objext
3711 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3712 - (eval $ac_compile) 2>conftest.er1
3713 +if { (ac_try="$ac_compile"
3714 +case "(($ac_try" in
3715 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716 + *) ac_try_echo=$ac_try;;
3718 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3719 + (eval "$ac_compile") 2>conftest.er1
3721 grep -v '^ *+' conftest.er1 >conftest.err
3723 cat conftest.err >&5
3724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725 - (exit $ac_status); } &&
3726 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3727 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3728 - (eval $ac_try) 2>&5
3730 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 - (exit $ac_status); }; } &&
3732 - { ac_try='test -s conftest.$ac_objext'
3733 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3734 - (eval $ac_try) 2>&5
3736 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737 - (exit $ac_status); }; }; then
3738 + (exit $ac_status); } && {
3739 + test -z "$ac_c_werror_flag" ||
3740 + test ! -s conftest.err
3741 + } && test -s conftest.$ac_objext; then
3742 eval "$as_ac_Header=yes"
3744 echo "$as_me: failed program was:" >&5
3745 sed 's/^/| /' conftest.$ac_ext >&5
3747 -eval "$as_ac_Header=no"
3748 + eval "$as_ac_Header=no"
3750 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3752 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3754 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3755 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3756 +ac_res=`eval echo '${'$as_ac_Header'}'`
3757 + { echo "$as_me:$LINENO: result: $ac_res" >&5
3758 +echo "${ECHO_T}$ac_res" >&6; }
3759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3760 cat >>confdefs.h <<_ACEOF
3761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3762 @@ -3102,9 +3657,9 @@ done
3763 for ac_header in linux/if_pppox.h
3765 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3766 -echo "$as_me:$LINENO: checking for $ac_header" >&5
3767 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3768 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
3769 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3770 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3771 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 cat >conftest.$ac_ext <<_ACEOF
3775 @@ -3122,37 +3677,35 @@ cat >>conftest.$ac_ext <<_ACEOF
3776 #include <$ac_header>
3778 rm -f conftest.$ac_objext
3779 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3780 - (eval $ac_compile) 2>conftest.er1
3781 +if { (ac_try="$ac_compile"
3782 +case "(($ac_try" in
3783 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3784 + *) ac_try_echo=$ac_try;;
3786 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3787 + (eval "$ac_compile") 2>conftest.er1
3789 grep -v '^ *+' conftest.er1 >conftest.err
3791 cat conftest.err >&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 - (exit $ac_status); } &&
3794 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3795 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3796 - (eval $ac_try) 2>&5
3798 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 - (exit $ac_status); }; } &&
3800 - { ac_try='test -s conftest.$ac_objext'
3801 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3802 - (eval $ac_try) 2>&5
3804 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 - (exit $ac_status); }; }; then
3806 + (exit $ac_status); } && {
3807 + test -z "$ac_c_werror_flag" ||
3808 + test ! -s conftest.err
3809 + } && test -s conftest.$ac_objext; then
3810 eval "$as_ac_Header=yes"
3812 echo "$as_me: failed program was:" >&5
3813 sed 's/^/| /' conftest.$ac_ext >&5
3815 -eval "$as_ac_Header=no"
3816 + eval "$as_ac_Header=no"
3818 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3820 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3822 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3823 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3824 +ac_res=`eval echo '${'$as_ac_Header'}'`
3825 + { echo "$as_me:$LINENO: result: $ac_res" >&5
3826 +echo "${ECHO_T}$ac_res" >&6; }
3827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3828 cat >>confdefs.h <<_ACEOF
3829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3830 @@ -3163,8 +3716,8 @@ fi
3834 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3835 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3836 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3837 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
3838 if test "${ac_cv_c_const+set}" = set; then
3839 echo $ECHO_N "(cached) $ECHO_C" >&6
3841 @@ -3182,10 +3735,10 @@ main ()
3843 /* Ultrix mips cc rejects this. */
3844 typedef int charset[2];
3847 /* SunOS 4.1.1 cc rejects this. */
3848 - char const *const *ccp;
3850 + char const *const *pcpcc;
3852 /* NEC SVR4.0.2 mips cc rejects this. */
3853 struct point {int x, y;};
3854 static struct point const zero = {0,0};
3855 @@ -3194,16 +3747,17 @@ main ()
3856 an arm of an if-expression whose if-part is not a constant
3858 const char *g = "string";
3859 - ccp = &g + (g ? g-g : 0);
3860 + pcpcc = &g + (g ? g-g : 0);
3861 /* HPUX 7.0 cc rejects these. */
3864 - ccp = (char const *const *) p;
3866 + ppc = (char**) pcpcc;
3867 + pcpcc = (char const *const *) ppc;
3868 { /* SCO 3.2v4 cc rejects this. */
3870 char const *s = 0 ? (char *) 0 : (char const *) 0;
3875 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3877 @@ -3222,7 +3776,9 @@ main ()
3879 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3881 + if (!foo) return 0;
3883 + return !cs[0] && !zero.x;
3887 @@ -3230,37 +3786,34 @@ main ()
3890 rm -f conftest.$ac_objext
3891 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3892 - (eval $ac_compile) 2>conftest.er1
3893 +if { (ac_try="$ac_compile"
3894 +case "(($ac_try" in
3895 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3896 + *) ac_try_echo=$ac_try;;
3898 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3899 + (eval "$ac_compile") 2>conftest.er1
3901 grep -v '^ *+' conftest.er1 >conftest.err
3903 cat conftest.err >&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 - (exit $ac_status); } &&
3906 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3907 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3908 - (eval $ac_try) 2>&5
3910 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 - (exit $ac_status); }; } &&
3912 - { ac_try='test -s conftest.$ac_objext'
3913 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3914 - (eval $ac_try) 2>&5
3916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 - (exit $ac_status); }; }; then
3918 + (exit $ac_status); } && {
3919 + test -z "$ac_c_werror_flag" ||
3920 + test ! -s conftest.err
3921 + } && test -s conftest.$ac_objext; then
3924 echo "$as_me: failed program was:" >&5
3925 sed 's/^/| /' conftest.$ac_ext >&5
3930 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3932 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3935 -echo "${ECHO_T}$ac_cv_c_const" >&6
3936 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3937 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
3938 if test $ac_cv_c_const = no; then
3940 cat >>confdefs.h <<\_ACEOF
3941 @@ -3269,8 +3822,8 @@ _ACEOF
3945 -echo "$as_me:$LINENO: checking for pid_t" >&5
3946 -echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
3947 +{ echo "$as_me:$LINENO: checking for pid_t" >&5
3948 +echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
3949 if test "${ac_cv_type_pid_t+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3952 @@ -3281,49 +3834,47 @@ cat confdefs.h >>conftest.$ac_ext
3953 cat >>conftest.$ac_ext <<_ACEOF
3954 /* end confdefs.h. */
3955 $ac_includes_default
3956 +typedef pid_t ac__type_new_;
3961 +if ((ac__type_new_ *) 0)
3963 -if (sizeof (pid_t))
3964 +if (sizeof (ac__type_new_))
3970 rm -f conftest.$ac_objext
3971 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3972 - (eval $ac_compile) 2>conftest.er1
3973 +if { (ac_try="$ac_compile"
3974 +case "(($ac_try" in
3975 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3976 + *) ac_try_echo=$ac_try;;
3978 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3979 + (eval "$ac_compile") 2>conftest.er1
3981 grep -v '^ *+' conftest.er1 >conftest.err
3983 cat conftest.err >&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 - (exit $ac_status); } &&
3986 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3987 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3988 - (eval $ac_try) 2>&5
3990 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 - (exit $ac_status); }; } &&
3992 - { ac_try='test -s conftest.$ac_objext'
3993 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3994 - (eval $ac_try) 2>&5
3996 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997 - (exit $ac_status); }; }; then
3998 + (exit $ac_status); } && {
3999 + test -z "$ac_c_werror_flag" ||
4000 + test ! -s conftest.err
4001 + } && test -s conftest.$ac_objext; then
4002 ac_cv_type_pid_t=yes
4004 echo "$as_me: failed program was:" >&5
4005 sed 's/^/| /' conftest.$ac_ext >&5
4007 -ac_cv_type_pid_t=no
4008 + ac_cv_type_pid_t=no
4010 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4012 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4014 -echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
4015 -echo "${ECHO_T}$ac_cv_type_pid_t" >&6
4016 +{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
4017 +echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
4018 if test $ac_cv_type_pid_t = yes; then
4021 @@ -3334,8 +3885,8 @@ _ACEOF
4025 -echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4026 -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4027 +{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4028 +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
4029 if test "${ac_cv_header_time+set}" = set; then
4030 echo $ECHO_N "(cached) $ECHO_C" >&6
4032 @@ -3359,37 +3910,34 @@ return 0;
4035 rm -f conftest.$ac_objext
4036 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4037 - (eval $ac_compile) 2>conftest.er1
4038 +if { (ac_try="$ac_compile"
4039 +case "(($ac_try" in
4040 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041 + *) ac_try_echo=$ac_try;;
4043 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4044 + (eval "$ac_compile") 2>conftest.er1
4046 grep -v '^ *+' conftest.er1 >conftest.err
4048 cat conftest.err >&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 - (exit $ac_status); } &&
4051 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4052 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4053 - (eval $ac_try) 2>&5
4055 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 - (exit $ac_status); }; } &&
4057 - { ac_try='test -s conftest.$ac_objext'
4058 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4059 - (eval $ac_try) 2>&5
4061 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062 - (exit $ac_status); }; }; then
4063 + (exit $ac_status); } && {
4064 + test -z "$ac_c_werror_flag" ||
4065 + test ! -s conftest.err
4066 + } && test -s conftest.$ac_objext; then
4067 ac_cv_header_time=yes
4069 echo "$as_me: failed program was:" >&5
4070 sed 's/^/| /' conftest.$ac_ext >&5
4072 -ac_cv_header_time=no
4073 + ac_cv_header_time=no
4075 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4077 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4079 -echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4080 -echo "${ECHO_T}$ac_cv_header_time" >&6
4081 +{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4082 +echo "${ECHO_T}$ac_cv_header_time" >&6; }
4083 if test $ac_cv_header_time = yes; then
4085 cat >>confdefs.h <<\_ACEOF
4086 @@ -3398,8 +3946,8 @@ _ACEOF
4090 -echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4091 -echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4092 +{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4093 +echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
4094 if test "${ac_cv_struct_tm+set}" = set; then
4095 echo $ECHO_N "(cached) $ECHO_C" >&6
4097 @@ -3415,43 +3963,42 @@ cat >>conftest.$ac_ext <<_ACEOF
4101 -struct tm *tp; tp->tm_sec;
4103 + int *p = &tm.tm_sec;
4109 rm -f conftest.$ac_objext
4110 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4111 - (eval $ac_compile) 2>conftest.er1
4112 +if { (ac_try="$ac_compile"
4113 +case "(($ac_try" in
4114 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4115 + *) ac_try_echo=$ac_try;;
4117 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4118 + (eval "$ac_compile") 2>conftest.er1
4120 grep -v '^ *+' conftest.er1 >conftest.err
4122 cat conftest.err >&5
4123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124 - (exit $ac_status); } &&
4125 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4126 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4127 - (eval $ac_try) 2>&5
4129 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 - (exit $ac_status); }; } &&
4131 - { ac_try='test -s conftest.$ac_objext'
4132 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4133 - (eval $ac_try) 2>&5
4135 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 - (exit $ac_status); }; }; then
4137 + (exit $ac_status); } && {
4138 + test -z "$ac_c_werror_flag" ||
4139 + test ! -s conftest.err
4140 + } && test -s conftest.$ac_objext; then
4141 ac_cv_struct_tm=time.h
4143 echo "$as_me: failed program was:" >&5
4144 sed 's/^/| /' conftest.$ac_ext >&5
4146 -ac_cv_struct_tm=sys/time.h
4147 + ac_cv_struct_tm=sys/time.h
4149 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4151 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 -echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4154 -echo "${ECHO_T}$ac_cv_struct_tm" >&6
4155 +{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4156 +echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
4157 if test $ac_cv_struct_tm = sys/time.h; then
4159 cat >>confdefs.h <<\_ACEOF
4160 @@ -3461,8 +4008,8 @@ _ACEOF
4164 -echo "$as_me:$LINENO: checking for struct sockaddr_ll" >&5
4165 -echo $ECHO_N "checking for struct sockaddr_ll... $ECHO_C" >&6
4166 +{ echo "$as_me:$LINENO: checking for struct sockaddr_ll" >&5
4167 +echo $ECHO_N "checking for struct sockaddr_ll... $ECHO_C" >&6; }
4168 cat >conftest.$ac_ext <<_ACEOF
4171 @@ -3482,36 +4029,33 @@ struct sockaddr_ll sa;
4174 rm -f conftest.$ac_objext
4175 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4176 - (eval $ac_compile) 2>conftest.er1
4177 +if { (ac_try="$ac_compile"