2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.69-a1ef66 for dhcpd-pools 2.13.
5 # Report bugs to <kerolasa@iki.fi>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
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 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and kerolasa@iki.fi
242 $0: about your system, including any error possibly output
243 $0: before this message. Then install a modern shell, or
244 $0: manually run the script under such a shell if you do
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
561 PACKAGE_NAME='dhcpd-pools'
562 PACKAGE_TARNAME='dhcpd-pools'
563 PACKAGE_VERSION='2.13'
564 PACKAGE_STRING='dhcpd-pools 2.13'
565 PACKAGE_BUGREPORT='kerolasa@iki.fi'
566 PACKAGE_URL='http://dhcpd-pools.sourceforge.net/'
568 ac_unique_file="config.h.in"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
605 ac_subst_vars='am__EXEEXT_FALSE
636 INSTALL_STRIP_PROGRAM
678 program_transform_name
691 enable_option_checking
692 enable_dependency_tracking
698 ac_precious_vars='build_alias
709 # Initialize some variables set by options.
711 ac_init_version=false
712 ac_unrecognized_opts=
714 # The variables have the same names as the options, with
715 # dashes changed to underlines.
723 program_transform_name=s,x,x,
731 # Installation directory options.
732 # These are left unexpanded so users can "make install exec_prefix=/foo"
733 # and all the variables that are supposed to be based on exec_prefix
734 # by default will actually change.
735 # Use braces instead of parens because sh, perl, etc. also accept them.
736 # (The list follows the same order as the GNU Coding Standards.)
737 bindir='${exec_prefix}/bin'
738 sbindir='${exec_prefix}/sbin'
739 libexecdir='${exec_prefix}/libexec'
740 datarootdir='${prefix}/share'
741 datadir='${datarootdir}'
742 sysconfdir='${prefix}/etc'
743 sharedstatedir='${prefix}/com'
744 localstatedir='${prefix}/var'
745 includedir='${prefix}/include'
746 oldincludedir='/usr/include'
747 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
748 infodir='${datarootdir}/info'
753 libdir='${exec_prefix}/lib'
754 localedir='${datarootdir}/locale'
755 mandir='${datarootdir}/man'
761 # If the previous option needs an argument, assign it.
762 if test -n "$ac_prev"; then
763 eval $ac_prev=\$ac_option
769 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
774 # Accept the important Cygnus configure options, so we can diagnose typos.
776 case $ac_dashdash$ac_option in
780 -bindir | --bindir | --bindi | --bind | --bin | --bi)
782 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
785 -build | --build | --buil | --bui | --bu)
786 ac_prev=build_alias ;;
787 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
788 build_alias=$ac_optarg ;;
790 -cache-file | --cache-file | --cache-fil | --cache-fi \
791 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
792 ac_prev=cache_file ;;
793 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
794 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
795 cache_file=$ac_optarg ;;
798 cache_file=config.cache ;;
800 -datadir | --datadir | --datadi | --datad)
802 -datadir=* | --datadir=* | --datadi=* | --datad=*)
803 datadir=$ac_optarg ;;
805 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
806 | --dataroo | --dataro | --datar)
807 ac_prev=datarootdir ;;
808 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
809 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
810 datarootdir=$ac_optarg ;;
812 -disable-* | --disable-*)
813 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
814 # Reject names that are not valid shell variable names.
815 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
816 as_fn_error $? "invalid feature name: $ac_useropt"
817 ac_useropt_orig=$ac_useropt
818 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
819 case $ac_user_opts in
823 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
824 ac_unrecognized_sep=', ';;
826 eval enable_$ac_useropt=no ;;
828 -docdir | --docdir | --docdi | --doc | --do)
830 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
833 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
835 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
838 -enable-* | --enable-*)
839 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
840 # Reject names that are not valid shell variable names.
841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
842 as_fn_error $? "invalid feature name: $ac_useropt"
843 ac_useropt_orig=$ac_useropt
844 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
845 case $ac_user_opts in
849 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
850 ac_unrecognized_sep=', ';;
852 eval enable_$ac_useropt=\$ac_optarg ;;
854 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
855 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
856 | --exec | --exe | --ex)
857 ac_prev=exec_prefix ;;
858 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
859 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
860 | --exec=* | --exe=* | --ex=*)
861 exec_prefix=$ac_optarg ;;
863 -gas | --gas | --ga | --g)
864 # Obsolete; use --with-gas.
867 -help | --help | --hel | --he | -h)
869 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
870 ac_init_help=recursive ;;
871 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
872 ac_init_help=short ;;
874 -host | --host | --hos | --ho)
875 ac_prev=host_alias ;;
876 -host=* | --host=* | --hos=* | --ho=*)
877 host_alias=$ac_optarg ;;
879 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
881 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
883 htmldir=$ac_optarg ;;
885 -includedir | --includedir | --includedi | --included | --include \
886 | --includ | --inclu | --incl | --inc)
887 ac_prev=includedir ;;
888 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
889 | --includ=* | --inclu=* | --incl=* | --inc=*)
890 includedir=$ac_optarg ;;
892 -infodir | --infodir | --infodi | --infod | --info | --inf)
894 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
895 infodir=$ac_optarg ;;
897 -libdir | --libdir | --libdi | --libd)
899 -libdir=* | --libdir=* | --libdi=* | --libd=*)
902 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
903 | --libexe | --libex | --libe)
904 ac_prev=libexecdir ;;
905 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
906 | --libexe=* | --libex=* | --libe=*)
907 libexecdir=$ac_optarg ;;
909 -localedir | --localedir | --localedi | --localed | --locale)
911 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
912 localedir=$ac_optarg ;;
914 -localstatedir | --localstatedir | --localstatedi | --localstated \
915 | --localstate | --localstat | --localsta | --localst | --locals)
916 ac_prev=localstatedir ;;
917 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
918 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
919 localstatedir=$ac_optarg ;;
921 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
923 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
927 # Obsolete; use --without-fp.
930 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
931 | --no-cr | --no-c | -n)
934 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
935 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
938 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
939 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
940 | --oldin | --oldi | --old | --ol | --o)
941 ac_prev=oldincludedir ;;
942 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
943 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
944 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
945 oldincludedir=$ac_optarg ;;
947 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
949 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
952 -program-prefix | --program-prefix | --program-prefi | --program-pref \
953 | --program-pre | --program-pr | --program-p)
954 ac_prev=program_prefix ;;
955 -program-prefix=* | --program-prefix=* | --program-prefi=* \
956 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
957 program_prefix=$ac_optarg ;;
959 -program-suffix | --program-suffix | --program-suffi | --program-suff \
960 | --program-suf | --program-su | --program-s)
961 ac_prev=program_suffix ;;
962 -program-suffix=* | --program-suffix=* | --program-suffi=* \
963 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
964 program_suffix=$ac_optarg ;;
966 -program-transform-name | --program-transform-name \
967 | --program-transform-nam | --program-transform-na \
968 | --program-transform-n | --program-transform- \
969 | --program-transform | --program-transfor \
970 | --program-transfo | --program-transf \
971 | --program-trans | --program-tran \
972 | --progr-tra | --program-tr | --program-t)
973 ac_prev=program_transform_name ;;
974 -program-transform-name=* | --program-transform-name=* \
975 | --program-transform-nam=* | --program-transform-na=* \
976 | --program-transform-n=* | --program-transform-=* \
977 | --program-transform=* | --program-transfor=* \
978 | --program-transfo=* | --program-transf=* \
979 | --program-trans=* | --program-tran=* \
980 | --progr-tra=* | --program-tr=* | --program-t=*)
981 program_transform_name=$ac_optarg ;;
983 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
985 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
988 -psdir | --psdir | --psdi | --psd | --ps)
990 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
994 | -silent | --silent | --silen | --sile | --sil)
997 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
999 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1001 sbindir=$ac_optarg ;;
1003 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1004 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1005 | --sharedst | --shareds | --shared | --share | --shar \
1007 ac_prev=sharedstatedir ;;
1008 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1009 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1010 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1012 sharedstatedir=$ac_optarg ;;
1014 -site | --site | --sit)
1016 -site=* | --site=* | --sit=*)
1019 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1021 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1022 srcdir=$ac_optarg ;;
1024 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1025 | --syscon | --sysco | --sysc | --sys | --sy)
1026 ac_prev=sysconfdir ;;
1027 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1028 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1029 sysconfdir=$ac_optarg ;;
1031 -target | --target | --targe | --targ | --tar | --ta | --t)
1032 ac_prev=target_alias ;;
1033 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1034 target_alias=$ac_optarg ;;
1036 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1039 -version | --version | --versio | --versi | --vers | -V)
1040 ac_init_version=: ;;
1043 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error $? "invalid package name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1056 eval with_$ac_useropt=\$ac_optarg ;;
1058 -without-* | --without-*)
1059 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062 as_fn_error $? "invalid package name: $ac_useropt"
1063 ac_useropt_orig=$ac_useropt
1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1070 ac_unrecognized_sep=', ';;
1072 eval with_$ac_useropt=no ;;
1075 # Obsolete; use --with-x.
1078 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1079 | --x-incl | --x-inc | --x-in | --x-i)
1080 ac_prev=x_includes ;;
1081 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1082 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1083 x_includes=$ac_optarg ;;
1085 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1086 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1087 ac_prev=x_libraries ;;
1088 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1089 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1090 x_libraries=$ac_optarg ;;
1092 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1093 Try \`$0 --help' for more information"
1097 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1098 # Reject names that are not valid shell variable names.
1099 case $ac_envvar in #(
1100 '' | [0-9]* | *[!_$as_cr_alnum]* )
1101 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1103 eval $ac_envvar=\$ac_optarg
1104 export $ac_envvar ;;
1107 # FIXME: should be removed in autoconf 3.0.
1108 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1109 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1110 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1111 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1117 if test -n "$ac_prev"; then
1118 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1119 as_fn_error $? "missing argument to $ac_option"
1122 if test -n "$ac_unrecognized_opts"; then
1123 case $enable_option_checking in
1125 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1126 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1130 # Check all directory arguments for consistency.
1131 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1132 datadir sysconfdir sharedstatedir localstatedir includedir \
1133 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1134 libdir localedir mandir
1136 eval ac_val=\$$ac_var
1137 # Remove trailing slashes.
1140 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1141 eval $ac_var=\$ac_val;;
1143 # Be sure to have absolute directory names.
1145 [\\/$]* | ?:[\\/]* ) continue;;
1146 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1148 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1151 # There might be people who depend on the old broken behavior: `$host'
1152 # used to hold the argument of --host etc.
1153 # FIXME: To remove some day.
1156 target=$target_alias
1158 # FIXME: To remove some day.
1159 if test "x$host_alias" != x; then
1160 if test "x$build_alias" = x; then
1161 cross_compiling=maybe
1162 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1163 If a cross compiler is detected then cross compile mode will be used" >&2
1164 elif test "x$build_alias" != "x$host_alias"; then
1170 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1172 test "$silent" = yes && exec 6>/dev/null
1175 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1176 ac_ls_di=`ls -di .` &&
1177 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1178 as_fn_error $? "working directory cannot be determined"
1179 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1180 as_fn_error $? "pwd does not report name of working directory"
1183 # Find the source files, if location was not specified.
1184 if test -z "$srcdir"; then
1185 ac_srcdir_defaulted=yes
1186 # Try the directory containing this script, then the parent directory.
1187 ac_confdir=`$as_dirname -- "$as_myself" ||
1188 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1189 X"$as_myself" : 'X\(//\)[^/]' \| \
1190 X"$as_myself" : 'X\(//\)$' \| \
1191 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1192 $as_echo X"$as_myself" |
1193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1211 if test ! -r "$srcdir/$ac_unique_file"; then
1215 ac_srcdir_defaulted=no
1217 if test ! -r "$srcdir/$ac_unique_file"; then
1218 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1219 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1221 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1223 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1225 # When building in place, set srcdir=.
1226 if test "$ac_abs_confdir" = "$ac_pwd"; then
1229 # Remove unnecessary trailing slashes from srcdir.
1230 # Double slashes in file names in object file debugging info
1231 # mess up M-x gdb in Emacs.
1233 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1235 for ac_var in $ac_precious_vars; do
1236 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1237 eval ac_env_${ac_var}_value=\$${ac_var}
1238 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1239 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1243 # Report the --help message.
1245 if test "$ac_init_help" = "long"; then
1246 # Omit some internal or obsolete options to make the list less imposing.
1247 # This message is too long to be a string in the A/UX 3.1 sh.
1249 \`configure' configures dhcpd-pools 2.13 to adapt to many kinds of systems.
1251 Usage: $0 [OPTION]... [VAR=VALUE]...
1253 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1254 VAR=VALUE. See below for descriptions of some of the useful variables.
1256 Defaults for the options are specified in brackets.
1259 -h, --help display this help and exit
1260 --help=short display options specific to this package
1261 --help=recursive display the short help of all the included packages
1262 -V, --version display version information and exit
1263 -q, --quiet, --silent do not print \`checking ...' messages
1264 --cache-file=FILE cache test results in FILE [disabled]
1265 -C, --config-cache alias for \`--cache-file=config.cache'
1266 -n, --no-create do not create output files
1267 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1269 Installation directories:
1270 --prefix=PREFIX install architecture-independent files in PREFIX
1271 [$ac_default_prefix]
1272 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1275 By default, \`make install' will install all the files in
1276 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1277 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1278 for instance \`--prefix=\$HOME'.
1280 For better control, use the options below.
1282 Fine tuning of the installation directories:
1283 --bindir=DIR user executables [EPREFIX/bin]
1284 --sbindir=DIR system admin executables [EPREFIX/sbin]
1285 --libexecdir=DIR program executables [EPREFIX/libexec]
1286 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1287 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1288 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1289 --libdir=DIR object code libraries [EPREFIX/lib]
1290 --includedir=DIR C header files [PREFIX/include]
1291 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1292 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1293 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1294 --infodir=DIR info documentation [DATAROOTDIR/info]
1295 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1296 --mandir=DIR man documentation [DATAROOTDIR/man]
1297 --docdir=DIR documentation root [DATAROOTDIR/doc/dhcpd-pools]
1298 --htmldir=DIR html documentation [DOCDIR]
1299 --dvidir=DIR dvi documentation [DOCDIR]
1300 --pdfdir=DIR pdf documentation [DOCDIR]
1301 --psdir=DIR ps documentation [DOCDIR]
1307 --program-prefix=PREFIX prepend PREFIX to installed program names
1308 --program-suffix=SUFFIX append SUFFIX to installed program names
1309 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1313 if test -n "$ac_init_help"; then
1314 case $ac_init_help in
1315 short | recursive ) echo "Configuration of dhcpd-pools 2.13:";;
1320 --disable-option-checking ignore unrecognized --enable/--with options
1321 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1322 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1323 --disable-dependency-tracking speeds up one-time build
1324 --enable-dependency-tracking do not reject slow dependency extractors
1327 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1328 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1329 --with-dhcpd-conf default path of dhcpd.conf
1330 --with-dhcpd-leases default path of dhcpd.leases
1331 --with-output-format default output format
1332 --with-output-limit default output limitations
1334 Some influential environment variables:
1335 CC C compiler command
1336 CFLAGS C compiler flags
1337 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1338 nonstandard directory <lib dir>
1339 LIBS libraries to pass to the linker, e.g. -l<library>
1340 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1341 you have headers in a nonstandard directory <include dir>
1344 Use these variables to override the choices made by `configure' or to help
1345 it to find libraries and programs with nonstandard names/locations.
1347 Report bugs to <kerolasa@iki.fi>.
1348 dhcpd-pools home page: <http://dhcpd-pools.sourceforge.net/>.
1353 if test "$ac_init_help" = "recursive"; then
1354 # If there are subdirs, report their specific --help.
1355 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1356 test -d "$ac_dir" ||
1357 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1362 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1365 # A ".." for each directory in $ac_dir_suffix.
1366 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1367 case $ac_top_builddir_sub in
1368 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1369 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1372 ac_abs_top_builddir=$ac_pwd
1373 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1374 # for backward compatibility:
1375 ac_top_builddir=$ac_top_build_prefix
1378 .) # We are building in place.
1380 ac_top_srcdir=$ac_top_builddir_sub
1381 ac_abs_top_srcdir=$ac_pwd ;;
1382 [\\/]* | ?:[\\/]* ) # Absolute name.
1383 ac_srcdir=$srcdir$ac_dir_suffix;
1384 ac_top_srcdir=$srcdir
1385 ac_abs_top_srcdir=$srcdir ;;
1387 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1388 ac_top_srcdir=$ac_top_build_prefix$srcdir
1389 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1391 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1393 cd "$ac_dir" || { ac_status=$?; continue; }
1394 # Check for guested configure.
1395 if test -f "$ac_srcdir/configure.gnu"; then
1397 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1398 elif test -f "$ac_srcdir/configure"; then
1400 $SHELL "$ac_srcdir/configure" --help=recursive
1402 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1404 cd "$ac_pwd" || { ac_status=$?; break; }
1408 test -n "$ac_init_help" && exit $ac_status
1409 if $ac_init_version; then
1411 dhcpd-pools configure 2.13
1412 generated by GNU Autoconf 2.67.69-a1ef66
1414 Copyright (C) 2010 Free Software Foundation, Inc.
1415 This configure script is free software; the Free Software Foundation
1416 gives unlimited permission to copy, distribute and modify it.
1421 ## ------------------------ ##
1422 ## Autoconf initialization. ##
1423 ## ------------------------ ##
1425 # ac_fn_c_try_compile LINENO
1426 # --------------------------
1427 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1428 ac_fn_c_try_compile ()
1430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1431 rm -f conftest.$ac_objext
1432 if { { ac_try="$ac_compile"
1434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1435 *) ac_try_echo=$ac_try;;
1437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1438 $as_echo "$ac_try_echo"; } >&5
1439 (eval "$ac_compile") 2>conftest.err
1441 if test -s conftest.err; then
1442 grep -v '^ *+' conftest.err >conftest.er1
1443 cat conftest.er1 >&5
1444 mv -f conftest.er1 conftest.err
1446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1447 test $ac_status = 0; } && {
1448 test -z "$ac_c_werror_flag" ||
1449 test ! -s conftest.err
1450 } && test -s conftest.$ac_objext; then :
1453 $as_echo "$as_me: failed program was:" >&5
1454 sed 's/^/| /' conftest.$ac_ext >&5
1458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1459 as_fn_set_status $ac_retval
1461 } # ac_fn_c_try_compile
1463 # ac_fn_c_try_cpp LINENO
1464 # ----------------------
1465 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1469 if { { ac_try="$ac_cpp conftest.$ac_ext"
1471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1472 *) ac_try_echo=$ac_try;;
1474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1475 $as_echo "$ac_try_echo"; } >&5
1476 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1478 if test -s conftest.err; then
1479 grep -v '^ *+' conftest.err >conftest.er1
1480 cat conftest.er1 >&5
1481 mv -f conftest.er1 conftest.err
1483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1484 test $ac_status = 0; } > conftest.i && {
1485 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1486 test ! -s conftest.err
1490 $as_echo "$as_me: failed program was:" >&5
1491 sed 's/^/| /' conftest.$ac_ext >&5
1495 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1496 as_fn_set_status $ac_retval
1500 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1501 # -------------------------------------------------------
1502 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1503 # the include files in INCLUDES and setting the cache variable VAR
1505 ac_fn_c_check_header_mongrel ()
1507 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1508 if eval \${$3+:} false; then :
1509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1510 $as_echo_n "checking for $2... " >&6; }
1511 if eval \${$3+:} false; then :
1512 $as_echo_n "(cached) " >&6
1515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1516 $as_echo "$ac_res" >&6; }
1518 # Is the header compilable?
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1520 $as_echo_n "checking $2 usability... " >&6; }
1521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1522 /* end confdefs.h. */
1526 if ac_fn_c_try_compile "$LINENO"; then :
1527 ac_header_compiler=yes
1529 ac_header_compiler=no
1531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1533 $as_echo "$ac_header_compiler" >&6; }
1535 # Is the header present?
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1537 $as_echo_n "checking $2 presence... " >&6; }
1538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1539 /* end confdefs.h. */
1542 if ac_fn_c_try_cpp "$LINENO"; then :
1543 ac_header_preproc=yes
1545 ac_header_preproc=no
1547 rm -f conftest.err conftest.i conftest.$ac_ext
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1549 $as_echo "$ac_header_preproc" >&6; }
1551 # So? What about this header?
1552 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1555 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1557 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1561 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1563 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1565 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1567 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1569 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1570 ( $as_echo "## ------------------------------ ##
1571 ## Report this to kerolasa@iki.fi ##
1572 ## ------------------------------ ##"
1573 ) | sed "s/^/$as_me: WARNING: /" >&2
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1577 $as_echo_n "checking for $2... " >&6; }
1578 if eval \${$3+:} false; then :
1579 $as_echo_n "(cached) " >&6
1581 eval "$3=\$ac_header_compiler"
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1585 $as_echo "$ac_res" >&6; }
1587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589 } # ac_fn_c_check_header_mongrel
1591 # ac_fn_c_try_run LINENO
1592 # ----------------------
1593 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1594 # that executables *can* be run.
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 if { { ac_try="$ac_link"
1600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1601 *) ac_try_echo=$ac_try;;
1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605 (eval "$ac_link") 2>&5
1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1608 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1609 { { case "(($ac_try" in
1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_try") 2>&5
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; }; }; then :
1621 $as_echo "$as_me: program exited with status $ac_status" >&5
1622 $as_echo "$as_me: failed program was:" >&5
1623 sed 's/^/| /' conftest.$ac_ext >&5
1625 ac_retval=$ac_status
1627 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629 as_fn_set_status $ac_retval
1633 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1634 # -------------------------------------------------------
1635 # Tests whether HEADER exists and can be compiled using the include files in
1636 # INCLUDES, setting the cache variable VAR accordingly.
1637 ac_fn_c_check_header_compile ()
1639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1641 $as_echo_n "checking for $2... " >&6; }
1642 if eval \${$3+:} false; then :
1643 $as_echo_n "(cached) " >&6
1645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1646 /* end confdefs.h. */
1650 if ac_fn_c_try_compile "$LINENO"; then :
1655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1659 $as_echo "$ac_res" >&6; }
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662 } # ac_fn_c_check_header_compile
1664 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1665 # -------------------------------------------
1666 # Tests whether TYPE exists after having included INCLUDES, setting cache
1667 # variable VAR accordingly.
1668 ac_fn_c_check_type ()
1670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval \${$3+:} false; then :
1674 $as_echo_n "(cached) " >&6
1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1689 if ac_fn_c_try_compile "$LINENO"; then :
1690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1691 /* end confdefs.h. */
1702 if ac_fn_c_try_compile "$LINENO"; then :
1707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 } # ac_fn_c_check_type
1718 # ac_fn_c_try_link LINENO
1719 # -----------------------
1720 # Try to link conftest.$ac_ext, and return whether this succeeded.
1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724 rm -f conftest.$ac_objext conftest$ac_exeext
1725 if { { ac_try="$ac_link"
1727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728 *) ac_try_echo=$ac_try;;
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_link") 2>conftest.err
1734 if test -s conftest.err; then
1735 grep -v '^ *+' conftest.err >conftest.er1
1736 cat conftest.er1 >&5
1737 mv -f conftest.er1 conftest.err
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; } && {
1741 test -z "$ac_c_werror_flag" ||
1742 test ! -s conftest.err
1743 } && test -s conftest$ac_exeext && {
1744 test "$cross_compiling" = yes ||
1745 $as_test_x conftest$ac_exeext
1749 $as_echo "$as_me: failed program was:" >&5
1750 sed 's/^/| /' conftest.$ac_ext >&5
1754 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1755 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1756 # interfere with the next link command; also delete a directory that is
1757 # left behind by Apple's compiler. We do this before executing the actions.
1758 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760 as_fn_set_status $ac_retval
1762 } # ac_fn_c_try_link
1764 # ac_fn_c_check_func LINENO FUNC VAR
1765 # ----------------------------------
1766 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1767 ac_fn_c_check_func ()
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771 $as_echo_n "checking for $2... " >&6; }
1772 if eval \${$3+:} false; then :
1773 $as_echo_n "(cached) " >&6
1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776 /* end confdefs.h. */
1777 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1779 #define $2 innocuous_$2
1781 /* System header to define __stub macros and hopefully few prototypes,
1782 which can conflict with char $2 (); below.
1783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1784 <limits.h> exists even on freestanding compilers. */
1787 # include <limits.h>
1789 # include <assert.h>
1794 /* Override any GCC internal prototype to avoid an error.
1795 Use char because int might match the return type of a GCC
1796 builtin and then its argument prototype would still apply. */
1801 /* The GNU C library defines this for functions which it implements
1802 to always fail with ENOSYS. Some functions are actually named
1803 something starting with __ and the normal name is an alias. */
1804 #if defined __stub_$2 || defined __stub___$2
1816 if ac_fn_c_try_link "$LINENO"; then :
1821 rm -f core conftest.err conftest.$ac_objext \
1822 conftest$ac_exeext conftest.$ac_ext
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826 $as_echo "$ac_res" >&6; }
1827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 } # ac_fn_c_check_func
1830 cat >config.log <<_ACEOF
1831 This file contains any messages produced by compilers while
1832 running configure, to aid debugging if configure makes a mistake.
1834 It was created by dhcpd-pools $as_me 2.13, which was
1835 generated by GNU Autoconf 2.67.69-a1ef66. Invocation command line was
1847 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1848 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1849 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1850 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1851 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1853 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1854 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1856 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1857 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1858 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1859 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1860 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1861 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1862 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1870 test -z "$as_dir" && as_dir=.
1871 $as_echo "PATH: $as_dir"
1887 # Keep a trace of the command line.
1888 # Strip out --no-create and --no-recursion so they do not pile up.
1889 # Strip out --silent because we don't want to record it for future runs.
1890 # Also quote any args containing shell meta-characters.
1891 # Make two passes to allow for proper duplicate-argument suppression.
1895 ac_must_keep_next=false
1901 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1902 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1903 | -silent | --silent | --silen | --sile | --sil)
1906 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1909 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1911 as_fn_append ac_configure_args1 " '$ac_arg'"
1912 if test $ac_must_keep_next = true; then
1913 ac_must_keep_next=false # Got value, back to normal.
1916 *=* | --config-cache | -C | -disable-* | --disable-* \
1917 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1918 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1919 | -with-* | --with-* | -without-* | --without-* | --x)
1920 case "$ac_configure_args0 " in
1921 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1924 -* ) ac_must_keep_next=true ;;
1927 as_fn_append ac_configure_args " '$ac_arg'"
1932 { ac_configure_args0=; unset ac_configure_args0;}
1933 { ac_configure_args1=; unset ac_configure_args1;}
1935 # When interrupted or exit'd, cleanup temporary files, and complete
1936 # config.log. We remove comments because anyway the quotes in there
1937 # would cause problems or look ugly.
1938 # WARNING: Use '\'' to represent an apostrophe within the trap.
1939 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1940 trap 'exit_status=$?
1941 # Save into config.log some information that might help in debugging.
1945 $as_echo "## ---------------- ##
1946 ## Cache variables. ##
1947 ## ---------------- ##"
1949 # The following way of writing the cache mishandles newlines in values,
1951 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1952 eval ac_val=\$$ac_var
1956 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1957 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1960 _ | IFS | as_nl) ;; #(
1961 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1962 *) { eval $ac_var=; unset $ac_var;} ;;
1967 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1968 *${as_nl}ac_space=\ *)
1970 "s/'\''/'\''\\\\'\'''\''/g;
1971 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1974 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1981 $as_echo "## ----------------- ##
1982 ## Output variables. ##
1983 ## ----------------- ##"
1985 for ac_var in $ac_subst_vars
1987 eval ac_val=\$$ac_var
1989 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1991 $as_echo "$ac_var='\''$ac_val'\''"
1995 if test -n "$ac_subst_files"; then
1996 $as_echo "## ------------------- ##
1997 ## File substitutions. ##
1998 ## ------------------- ##"
2000 for ac_var in $ac_subst_files
2002 eval ac_val=\$$ac_var
2004 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2006 $as_echo "$ac_var='\''$ac_val'\''"
2011 if test -s confdefs.h; then
2012 $as_echo "## ----------- ##
2019 test "$ac_signal" != 0 &&
2020 $as_echo "$as_me: caught signal $ac_signal"
2021 $as_echo "$as_me: exit $exit_status"
2023 rm -f core *.core core.conftest.* &&
2024 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2027 for ac_signal in 1 2 13 15; do
2028 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2032 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2033 rm -f -r conftest* confdefs.h
2035 $as_echo "/* confdefs.h */" > confdefs.h
2037 # Predefined preprocessor variables.
2039 cat >>confdefs.h <<_ACEOF
2040 #define PACKAGE_NAME "$PACKAGE_NAME"
2043 cat >>confdefs.h <<_ACEOF
2044 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2047 cat >>confdefs.h <<_ACEOF
2048 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2051 cat >>confdefs.h <<_ACEOF
2052 #define PACKAGE_STRING "$PACKAGE_STRING"
2055 cat >>confdefs.h <<_ACEOF
2056 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2059 cat >>confdefs.h <<_ACEOF
2060 #define PACKAGE_URL "$PACKAGE_URL"
2064 # Let the site file select an alternate cache file if it wants to.
2065 # Prefer an explicitly selected file to automatically selected ones.
2068 if test -n "$CONFIG_SITE"; then
2069 # We do not want a PATH search for config.site.
2070 case $CONFIG_SITE in #((
2071 -*) ac_site_file1=./$CONFIG_SITE;;
2072 */*) ac_site_file1=$CONFIG_SITE;;
2073 *) ac_site_file1=./$CONFIG_SITE;;
2075 elif test "x$prefix" != xNONE; then
2076 ac_site_file1=$prefix/share/config.site
2077 ac_site_file2=$prefix/etc/config.site
2079 ac_site_file1=$ac_default_prefix/share/config.site
2080 ac_site_file2=$ac_default_prefix/etc/config.site
2082 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2084 test "x$ac_site_file" = xNONE && continue
2085 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2087 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2088 sed 's/^/| /' "$ac_site_file" >&5
2090 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2092 as_fn_error $? "failed to load site script $ac_site_file
2093 See \`config.log' for more details" "$LINENO" 5; }
2097 if test -r "$cache_file"; then
2098 # Some versions of bash will fail to source /dev/null (special files
2099 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2100 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2102 $as_echo "$as_me: loading cache $cache_file" >&6;}
2104 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2105 *) . "./$cache_file";;
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2110 $as_echo "$as_me: creating cache $cache_file" >&6;}
2114 # Check that the precious variables saved in the cache have kept the same
2116 ac_cache_corrupted=false
2117 for ac_var in $ac_precious_vars; do
2118 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2119 eval ac_new_set=\$ac_env_${ac_var}_set
2120 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2121 eval ac_new_val=\$ac_env_${ac_var}_value
2122 case $ac_old_set,$ac_new_set in
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2125 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2126 ac_cache_corrupted=: ;;
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2129 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2130 ac_cache_corrupted=: ;;
2133 if test "x$ac_old_val" != "x$ac_new_val"; then
2134 # differences in whitespace do not lead to failure.
2135 ac_old_val_w=`echo x $ac_old_val`
2136 ac_new_val_w=`echo x $ac_new_val`
2137 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2139 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2140 ac_cache_corrupted=:
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2143 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2144 eval $ac_var=\$ac_old_val
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2147 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2149 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2152 # Pass precious variables to config.status.
2153 if test "$ac_new_set" = set; then
2155 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2156 *) ac_arg=$ac_var=$ac_new_val ;;
2158 case " $ac_configure_args " in
2159 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2160 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2164 if $ac_cache_corrupted; then
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2168 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2169 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2171 ## -------------------- ##
2172 ## Main body of script. ##
2173 ## -------------------- ##
2176 ac_cpp='$CPP $CPPFLAGS'
2177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2182 am__api_version='1.11'
2185 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2186 if test -f "$ac_dir/install-sh"; then
2188 ac_install_sh="$ac_aux_dir/install-sh -c"
2190 elif test -f "$ac_dir/install.sh"; then
2192 ac_install_sh="$ac_aux_dir/install.sh -c"
2194 elif test -f "$ac_dir/shtool"; then
2196 ac_install_sh="$ac_aux_dir/shtool install -c"
2200 if test -z "$ac_aux_dir"; then
2201 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2204 # These three variables are undocumented and unsupported,
2205 # and are intended to be withdrawn in a future Autoconf release.
2206 # They can cause serious problems if a builder's source tree is in a directory
2207 # whose full name contains unusual characters.
2208 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2209 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2210 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2213 # Find a good install program. We prefer a C program (faster),
2214 # so one script is as good as another. But avoid the broken or
2215 # incompatible versions:
2216 # SysV /etc/install, /usr/sbin/install
2217 # SunOS /usr/etc/install
2218 # IRIX /sbin/install
2220 # AmigaOS /C/install, which installs bootblocks on floppy discs
2221 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2222 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2223 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2224 # OS/2's system install, which has a completely different semantic
2225 # ./install, which can be erroneously created by make from ./install.sh.
2226 # Reject install programs that cannot install multiple files.
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2228 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2229 if test -z "$INSTALL"; then
2230 if ${ac_cv_path_install+:} false; then :
2231 $as_echo_n "(cached) " >&6
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 test -z "$as_dir" && as_dir=.
2238 # Account for people who put trailing slashes in PATH elements.
2239 case $as_dir/ in #((
2240 ./ | .// | /[cC]/* | \
2241 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2242 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2245 # OSF1 and SCO ODT 3.0 have their own names for install.
2246 # Don't use installbsd from OSF since it installs stuff as root
2248 for ac_prog in ginstall scoinst install; do
2249 for ac_exec_ext in '' $ac_executable_extensions; do
2250 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2251 if test $ac_prog = install &&
2252 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2253 # AIX install. It has an incompatible calling convention.
2255 elif test $ac_prog = install &&
2256 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2257 # program-specific install script used by HP pwplus--don't use.
2260 rm -rf conftest.one conftest.two conftest.dir
2261 echo one > conftest.one
2262 echo two > conftest.two
2264 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2265 test -s conftest.one && test -s conftest.two &&
2266 test -s conftest.dir/conftest.one &&
2267 test -s conftest.dir/conftest.two
2269 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2282 rm -rf conftest.one conftest.two conftest.dir
2285 if test "${ac_cv_path_install+set}" = set; then
2286 INSTALL=$ac_cv_path_install
2288 # As a last resort, use the slow shell script. Don't cache a
2289 # value for INSTALL within a source directory, because that will
2290 # break other packages using the cache if that directory is
2291 # removed, or if the value is a relative name.
2292 INSTALL=$ac_install_sh
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2296 $as_echo "$INSTALL" >&6; }
2298 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2299 # It thinks the first close brace ends the variable substitution.
2300 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2302 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2304 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2307 $as_echo_n "checking whether build environment is sane... " >&6; }
2310 echo timestamp > conftest.file
2311 # Reject unsafe characters in $srcdir or the absolute working directory
2312 # name. Accept space and tab only in the latter.
2316 *[\\\"\#\$\&\'\`$am_lf]*)
2317 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2320 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2321 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2324 # Do `set' in a subshell so we don't clobber the current shell's
2325 # arguments. Must try -L first in case configure is actually a
2326 # symlink; some systems play weird games with the mod time of symlinks
2327 # (eg FreeBSD returns the mod time of the symlink's containing
2330 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2331 if test "$*" = "X"; then
2333 set X `ls -t "$srcdir/configure" conftest.file`
2336 if test "$*" != "X $srcdir/configure conftest.file" \
2337 && test "$*" != "X conftest.file $srcdir/configure"; then
2339 # If neither matched, then we have a broken ls. This can happen
2340 # if, for instance, CONFIG_SHELL is bash and it inherits a
2341 # broken ls alias from the environment. This has actually
2342 # happened. Such a system could not be considered "sane".
2343 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2344 alias in your environment" "$LINENO" 5
2347 test "$2" = conftest.file
2353 as_fn_error $? "newly created file is older than distributed files!
2354 Check your system clock" "$LINENO" 5
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2357 $as_echo "yes" >&6; }
2358 test "$program_prefix" != NONE &&
2359 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2360 # Use a double $ so make ignores it.
2361 test "$program_suffix" != NONE &&
2362 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2363 # Double any \ or $.
2364 # By default was `s,x,x', remove it if useless.
2365 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2366 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2368 # expand $ac_aux_dir to an absolute path
2369 am_aux_dir=`cd $ac_aux_dir && pwd`
2371 if test x"${MISSING+set}" != xset; then
2374 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2376 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2379 # Use eval to expand $SHELL
2380 if eval "$MISSING --run true"; then
2381 am_missing_run="$MISSING --run "
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2385 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2388 if test x"${install_sh}" != xset; then
2391 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2393 install_sh="\${SHELL} $am_aux_dir/install-sh"
2397 # Installed binaries are usually stripped using `strip' when the user
2398 # run `make install-strip'. However `strip' might not be the right
2399 # tool to use in cross-compilation environments, therefore Automake
2400 # will honor the `STRIP' environment variable to overrule this program.
2401 if test "$cross_compiling" != no; then
2402 if test -n "$ac_tool_prefix"; then
2403 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2404 set dummy ${ac_tool_prefix}strip; ac_word=$2
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2406 $as_echo_n "checking for $ac_word... " >&6; }
2407 if ${ac_cv_prog_STRIP+:} false; then :
2408 $as_echo_n "(cached) " >&6
2410 if test -n "$STRIP"; then
2411 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417 test -z "$as_dir" && as_dir=.
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2420 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2430 STRIP=$ac_cv_prog_STRIP
2431 if test -n "$STRIP"; then
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2433 $as_echo "$STRIP" >&6; }
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2436 $as_echo "no" >&6; }
2441 if test -z "$ac_cv_prog_STRIP"; then
2443 # Extract the first word of "strip", so it can be a program name with args.
2444 set dummy strip; ac_word=$2
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2446 $as_echo_n "checking for $ac_word... " >&6; }
2447 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2448 $as_echo_n "(cached) " >&6
2450 if test -n "$ac_ct_STRIP"; then
2451 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 test -z "$as_dir" && as_dir=.
2458 for ac_exec_ext in '' $ac_executable_extensions; do
2459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2460 ac_cv_prog_ac_ct_STRIP="strip"
2461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2470 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2471 if test -n "$ac_ct_STRIP"; then
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2473 $as_echo "$ac_ct_STRIP" >&6; }
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2476 $as_echo "no" >&6; }
2479 if test "x$ac_ct_STRIP" = x; then
2482 case $cross_compiling:$ac_tool_warned in
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2486 ac_tool_warned=yes ;;
2491 STRIP="$ac_cv_prog_STRIP"
2495 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2498 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2499 if test -z "$MKDIR_P"; then
2500 if ${ac_cv_path_mkdir+:} false; then :
2501 $as_echo_n "(cached) " >&6
2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2507 test -z "$as_dir" && as_dir=.
2508 for ac_prog in mkdir gmkdir; do
2509 for ac_exec_ext in '' $ac_executable_extensions; do
2510 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2511 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2512 'mkdir (GNU coreutils) '* | \
2513 'mkdir (coreutils) '* | \
2514 'mkdir (fileutils) '4.1*)
2515 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2525 test -d ./--version && rmdir ./--version
2526 if test "${ac_cv_path_mkdir+set}" = set; then
2527 MKDIR_P="$ac_cv_path_mkdir -p"
2529 # As a last resort, use the slow shell script. Don't cache a
2530 # value for MKDIR_P within a source directory, because that will
2531 # break other packages using the cache if that directory is
2532 # removed, or if the value is a relative name.
2533 MKDIR_P="$ac_install_sh -d"
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2537 $as_echo "$MKDIR_P" >&6; }
2541 [\\/$]* | ?:[\\/]*) ;;
2542 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2545 for ac_prog in gawk mawk nawk awk
2547 # Extract the first word of "$ac_prog", so it can be a program name with args.
2548 set dummy $ac_prog; ac_word=$2
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if ${ac_cv_prog_AWK+:} false; then :
2552 $as_echo_n "(cached) " >&6
2554 if test -n "$AWK"; then
2555 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir=.
2562 for ac_exec_ext in '' $ac_executable_extensions; do
2563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564 ac_cv_prog_AWK="$ac_prog"
2565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2575 if test -n "$AWK"; then
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2577 $as_echo "$AWK" >&6; }
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580 $as_echo "no" >&6; }
2584 test -n "$AWK" && break
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2588 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2590 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2591 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2592 $as_echo_n "(cached) " >&6
2594 cat >conftest.make <<\_ACEOF
2597 @echo '@@@%%%=$(MAKE)=@@@%%%'
2599 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2600 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2602 eval ac_cv_prog_make_${ac_make}_set=yes;;
2604 eval ac_cv_prog_make_${ac_make}_set=no;;
2608 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2610 $as_echo "yes" >&6; }
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2614 $as_echo "no" >&6; }
2615 SET_MAKE="MAKE=${MAKE-make}"
2618 rm -rf .tst 2>/dev/null
2619 mkdir .tst 2>/dev/null
2620 if test -d .tst; then
2625 rmdir .tst 2>/dev/null
2627 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2628 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2629 # is not polluted with repeated "-I."
2630 am__isrc=' -I$(srcdir)'
2631 # test to see if srcdir already configured
2632 if test -f $srcdir/config.status; then
2633 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2637 # test whether we have cygpath
2638 if test -z "$CYGPATH_W"; then
2639 if (cygpath --version) >/dev/null 2>/dev/null; then
2640 CYGPATH_W='cygpath -w'
2647 # Define the identity of the package.
2652 cat >>confdefs.h <<_ACEOF
2653 #define PACKAGE "$PACKAGE"
2657 cat >>confdefs.h <<_ACEOF
2658 #define VERSION "$VERSION"
2661 # Some tools Automake needs.
2663 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2666 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2669 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2672 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2675 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2677 # We need awk for the "check" target. The system "awk" is bad on
2679 # Always define AMTAR for backward compatibility.
2681 AMTAR=${AMTAR-"${am_missing_run}tar"}
2683 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2690 ac_config_headers="$ac_config_headers config.h"
2693 # Checks for programs.
2695 ac_cpp='$CPP $CPPFLAGS'
2696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2699 if test -n "$ac_tool_prefix"; then
2700 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2701 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2703 $as_echo_n "checking for $ac_word... " >&6; }
2704 if ${ac_cv_prog_CC+:} false; then :
2705 $as_echo_n "(cached) " >&6
2707 if test -n "$CC"; then
2708 ac_cv_prog_CC="$CC" # Let the user override the test.
2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir=.
2715 for ac_exec_ext in '' $ac_executable_extensions; do
2716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2717 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 if test -n "$CC"; then
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2730 $as_echo "$CC" >&6; }
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2733 $as_echo "no" >&6; }
2738 if test -z "$ac_cv_prog_CC"; then
2740 # Extract the first word of "gcc", so it can be a program name with args.
2741 set dummy gcc; ac_word=$2
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2743 $as_echo_n "checking for $ac_word... " >&6; }
2744 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2745 $as_echo_n "(cached) " >&6
2747 if test -n "$ac_ct_CC"; then
2748 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754 test -z "$as_dir" && as_dir=.
2755 for ac_exec_ext in '' $ac_executable_extensions; do
2756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2757 ac_cv_prog_ac_ct_CC="gcc"
2758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2767 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2768 if test -n "$ac_ct_CC"; then
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2770 $as_echo "$ac_ct_CC" >&6; }
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2773 $as_echo "no" >&6; }
2776 if test "x$ac_ct_CC" = x; then
2779 case $cross_compiling:$ac_tool_warned in
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2783 ac_tool_warned=yes ;;
2791 if test -z "$CC"; then
2792 if test -n "$ac_tool_prefix"; then
2793 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2794 set dummy ${ac_tool_prefix}cc; ac_word=$2
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2796 $as_echo_n "checking for $ac_word... " >&6; }
2797 if ${ac_cv_prog_CC+:} false; then :
2798 $as_echo_n "(cached) " >&6
2800 if test -n "$CC"; then
2801 ac_cv_prog_CC="$CC" # Let the user override the test.
2803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807 test -z "$as_dir" && as_dir=.
2808 for ac_exec_ext in '' $ac_executable_extensions; do
2809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2810 ac_cv_prog_CC="${ac_tool_prefix}cc"
2811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 if test -n "$CC"; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2823 $as_echo "$CC" >&6; }
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826 $as_echo "no" >&6; }
2832 if test -z "$CC"; then
2833 # Extract the first word of "cc", so it can be a program name with args.
2834 set dummy cc; ac_word=$2
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if ${ac_cv_prog_CC+:} false; then :
2838 $as_echo_n "(cached) " >&6
2840 if test -n "$CC"; then
2841 ac_cv_prog_CC="$CC" # Let the user override the test.
2844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2848 test -z "$as_dir" && as_dir=.
2849 for ac_exec_ext in '' $ac_executable_extensions; do
2850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2851 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2852 ac_prog_rejected=yes
2856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 if test $ac_prog_rejected = yes; then
2864 # We found a bogon in the path, so make sure we never use it.
2865 set dummy $ac_cv_prog_CC
2867 if test $# != 0; then
2868 # We chose a different compiler from the bogus one.
2869 # However, it has the same basename, so the bogon will be chosen
2870 # first if we set CC to just the basename; use the full file name.
2872 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2878 if test -n "$CC"; then
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2880 $as_echo "$CC" >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2888 if test -z "$CC"; then
2889 if test -n "$ac_tool_prefix"; then
2890 for ac_prog in cl.exe
2892 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2893 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 $as_echo_n "checking for $ac_word... " >&6; }
2896 if ${ac_cv_prog_CC+:} false; then :
2897 $as_echo_n "(cached) " >&6
2899 if test -n "$CC"; then
2900 ac_cv_prog_CC="$CC" # Let the user override the test.
2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir=.
2907 for ac_exec_ext in '' $ac_executable_extensions; do
2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2909 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 if test -n "$CC"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2922 $as_echo "$CC" >&6; }
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2929 test -n "$CC" && break
2932 if test -z "$CC"; then
2934 for ac_prog in cl.exe
2936 # Extract the first word of "$ac_prog", so it can be a program name with args.
2937 set dummy $ac_prog; ac_word=$2
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939 $as_echo_n "checking for $ac_word... " >&6; }
2940 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2941 $as_echo_n "(cached) " >&6
2943 if test -n "$ac_ct_CC"; then
2944 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir=.
2951 for ac_exec_ext in '' $ac_executable_extensions; do
2952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2953 ac_cv_prog_ac_ct_CC="$ac_prog"
2954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2964 if test -n "$ac_ct_CC"; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2966 $as_echo "$ac_ct_CC" >&6; }
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2973 test -n "$ac_ct_CC" && break
2976 if test "x$ac_ct_CC" = x; then
2979 case $cross_compiling:$ac_tool_warned in
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2983 ac_tool_warned=yes ;;
2992 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2994 as_fn_error $? "no acceptable C compiler found in \$PATH
2995 See \`config.log' for more details" "$LINENO" 5; }
2997 # Provide some information about the compiler.
2998 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3001 for ac_option in --version -v -V -qversion; do
3002 { { ac_try="$ac_compiler $ac_option >&5"
3004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005 *) ac_try_echo=$ac_try;;
3007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3008 $as_echo "$ac_try_echo"; } >&5
3009 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3011 if test -s conftest.err; then
3013 ... rest of stderr output deleted ...
3014 10q' conftest.err >conftest.er1
3015 cat conftest.er1 >&5
3017 rm -f conftest.er1 conftest.err
3018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3019 test $ac_status = 0; }
3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3023 /* end confdefs.h. */
3033 ac_clean_files_save=$ac_clean_files
3034 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3035 # Try to create an executable without -o first, disregard a.out.
3036 # It will help us diagnose broken compilers, and finding out an intuition
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3039 $as_echo_n "checking whether the C compiler works... " >&6; }
3040 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3042 # The possible output files:
3043 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3046 for ac_file in $ac_files
3049 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3050 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3055 if { { ac_try="$ac_link_default"
3057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3058 *) ac_try_echo=$ac_try;;
3060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3061 $as_echo "$ac_try_echo"; } >&5
3062 (eval "$ac_link_default") 2>&5
3064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3065 test $ac_status = 0; }; then :
3066 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3067 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3068 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3069 # so that the user can short-circuit this test for compilers unknown to
3071 for ac_file in $ac_files ''
3073 test -f "$ac_file" || continue
3075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3078 # We found the default executable, but exeext='' is most
3082 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3084 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3086 # We set ac_cv_exeext here because the later test for it is not
3087 # safe: cross compilers may not add the suffix if given an `-o'
3088 # argument, so we may need to know it at that point already.
3089 # Even if this section looks crufty: it has the advantage of
3096 test "$ac_cv_exeext" = no && ac_cv_exeext=
3101 if test -z "$ac_file"; then :
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103 $as_echo "no" >&6; }
3104 $as_echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.$ac_ext >&5
3107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3109 as_fn_error 77 "C compiler cannot create executables
3110 See \`config.log' for more details" "$LINENO" 5; }
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3113 $as_echo "yes" >&6; }
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3116 $as_echo_n "checking for C compiler default output file name... " >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3118 $as_echo "$ac_file" >&6; }
3119 ac_exeext=$ac_cv_exeext
3121 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3122 ac_clean_files=$ac_clean_files_save
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3124 $as_echo_n "checking for suffix of executables... " >&6; }
3125 if { { ac_try="$ac_link"
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3131 $as_echo "$ac_try_echo"; } >&5
3132 (eval "$ac_link") 2>&5
3134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3135 test $ac_status = 0; }; then :
3136 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3137 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3138 # work properly (i.e., refer to `conftest.exe'), while it won't with
3140 for ac_file in conftest.exe conftest conftest.*; do
3141 test -f "$ac_file" || continue
3143 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3144 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3152 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3153 See \`config.log' for more details" "$LINENO" 5; }
3155 rm -f conftest conftest$ac_cv_exeext
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3157 $as_echo "$ac_cv_exeext" >&6; }
3159 rm -f conftest.$ac_ext
3160 EXEEXT=$ac_cv_exeext
3162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3168 FILE *f = fopen ("conftest.out", "w");
3169 return ferror (f) || fclose (f) != 0;
3175 ac_clean_files="$ac_clean_files conftest.out"
3176 # Check that the compiler produces executables we can run. If not, either
3177 # the compiler is broken, or we cross compile.
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3179 $as_echo_n "checking whether we are cross compiling... " >&6; }
3180 if test "$cross_compiling" != yes; then
3181 { { ac_try="$ac_link"
3183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184 *) ac_try_echo=$ac_try;;
3186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3187 $as_echo "$ac_try_echo"; } >&5
3188 (eval "$ac_link") 2>&5
3190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191 test $ac_status = 0; }
3192 if { ac_try='./conftest$ac_cv_exeext'
3193 { { case "(($ac_try" in
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3198 $as_echo "$ac_try_echo"; } >&5
3199 (eval "$ac_try") 2>&5
3201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3202 test $ac_status = 0; }; }; then
3205 if test "$cross_compiling" = maybe; then
3208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3210 as_fn_error $? "cannot run C compiled programs.
3211 If you meant to cross compile, use \`--host'.
3212 See \`config.log' for more details" "$LINENO" 5; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3217 $as_echo "$cross_compiling" >&6; }
3219 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3220 ac_clean_files=$ac_clean_files_save
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3222 $as_echo_n "checking for suffix of object files... " >&6; }
3223 if ${ac_cv_objext+:} false; then :
3224 $as_echo_n "(cached) " >&6
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3237 rm -f conftest.o conftest.obj
3238 if { { ac_try="$ac_compile"
3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3244 $as_echo "$ac_try_echo"; } >&5
3245 (eval "$ac_compile") 2>&5
3247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3248 test $ac_status = 0; }; then :
3249 for ac_file in conftest.o conftest.obj conftest.*; do
3250 test -f "$ac_file" || continue;
3252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3253 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3258 $as_echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.$ac_ext >&5
3261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3263 as_fn_error $? "cannot compute suffix of object files: cannot compile
3264 See \`config.log' for more details" "$LINENO" 5; }
3266 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3269 $as_echo "$ac_cv_objext" >&6; }
3270 OBJEXT=$ac_cv_objext
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3273 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3274 if ${ac_cv_c_compiler_gnu+:} false; then :
3275 $as_echo_n "(cached) " >&6
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3291 if ac_fn_c_try_compile "$LINENO"; then :
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3301 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3302 if test $ac_compiler_gnu = yes; then
3307 ac_test_CFLAGS=${CFLAGS+set}
3308 ac_save_CFLAGS=$CFLAGS
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3310 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3311 if ${ac_cv_prog_cc_g+:} false; then :
3312 $as_echo_n "(cached) " >&6
3314 ac_save_c_werror_flag=$ac_c_werror_flag
3315 ac_c_werror_flag=yes
3318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h. */
3329 if ac_fn_c_try_compile "$LINENO"; then :
3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3334 /* end confdefs.h. */
3344 if ac_fn_c_try_compile "$LINENO"; then :
3347 ac_c_werror_flag=$ac_save_c_werror_flag
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3360 if ac_fn_c_try_compile "$LINENO"; then :
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 ac_c_werror_flag=$ac_save_c_werror_flag
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3371 $as_echo "$ac_cv_prog_cc_g" >&6; }
3372 if test "$ac_test_CFLAGS" = set; then
3373 CFLAGS=$ac_save_CFLAGS
3374 elif test $ac_cv_prog_cc_g = yes; then
3375 if test "$GCC" = yes; then
3381 if test "$GCC" = yes; then
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3388 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3389 if ${ac_cv_prog_cc_c89+:} false; then :
3390 $as_echo_n "(cached) " >&6
3392 ac_cv_prog_cc_c89=no
3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3398 #include <sys/types.h>
3399 #include <sys/stat.h>
3400 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3401 struct buf { int x; };
3402 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3403 static char *e (p, i)
3409 static char *f (char * (*g) (char **, int), char **p, ...)
3414 s = g (p, va_arg (v,int));
3419 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3420 function prototypes and stuff, but not '\xHH' hex character constants.
3421 These don't provoke an error unfortunately, instead are silently treated
3422 as 'x'. The following induces an error, until -std is added to get
3423 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3424 array size at least. It's necessary to write '\x00'==0 to get something
3425 that's true only with -std. */
3426 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3428 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3429 inside strings and character constants. */
3431 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3433 int test (int i, double x);
3434 struct s1 {int (*f) (int a);};
3435 struct s2 {int (*f) (double a);};
3436 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3442 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3447 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3448 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3450 CC="$ac_save_CC $ac_arg"
3451 if ac_fn_c_try_compile "$LINENO"; then :
3452 ac_cv_prog_cc_c89=$ac_arg
3454 rm -f core conftest.err conftest.$ac_objext
3455 test "x$ac_cv_prog_cc_c89" != "xno" && break
3457 rm -f conftest.$ac_ext
3462 case "x$ac_cv_prog_cc_c89" in
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3465 $as_echo "none needed" >&6; } ;;
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3468 $as_echo "unsupported" >&6; } ;;
3470 CC="$CC $ac_cv_prog_cc_c89"
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3472 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3474 if test "x$ac_cv_prog_cc_c89" != xno; then :
3479 ac_cpp='$CPP $CPPFLAGS'
3480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3483 DEPDIR="${am__leading_dot}deps"
3485 ac_config_commands="$ac_config_commands depfiles"
3488 am_make=${MAKE-make}
3489 cat > confinc << 'END'
3491 @echo this is the am__doit target
3494 # If we don't find an include directive, just comment out the code.
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3496 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3500 # First try GNU make style include.
3501 echo "include confinc" > confmf
3502 # Ignore all kinds of additional output from `make'.
3503 case `$am_make -s -f confmf 2> /dev/null` in #(
3504 *the\ am__doit\ target*)
3510 # Now try BSD make style include.
3511 if test "$am__include" = "#"; then
3512 echo '.include "confinc"' > confmf
3513 case `$am_make -s -f confmf 2> /dev/null` in #(
3514 *the\ am__doit\ target*)
3515 am__include=.include
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3524 $as_echo "$_am_result" >&6; }
3525 rm -f confinc confmf
3527 # Check whether --enable-dependency-tracking was given.
3528 if test "${enable_dependency_tracking+set}" = set; then :
3529 enableval=$enable_dependency_tracking;
3532 if test "x$enable_dependency_tracking" != xno; then
3533 am_depcomp="$ac_aux_dir/depcomp"
3536 if test "x$enable_dependency_tracking" != xno; then
3546 depcc="$CC" am_compiler_list=
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3549 $as_echo_n "checking dependency style of $depcc... " >&6; }
3550 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3551 $as_echo_n "(cached) " >&6
3553 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3554 # We make a subdir and do the tests there. Otherwise we can end up
3555 # making bogus files that we don't know about and never remove. For
3556 # instance it was reported that on HP-UX the gcc test will end up
3557 # making a dummy file named `D' -- because `-MD' means `put the output
3560 # Copy depcomp to subdir because otherwise we won't find it if we're
3561 # using a relative directory.
3562 cp "$am_depcomp" conftest.dir
3564 # We will build objects and dependencies in a subdirectory because
3565 # it helps to detect inapplicable dependency modes. For instance
3566 # both Tru64's cc and ICC support -MD to output dependencies as a
3567 # side effect of compilation, but ICC will put the dependencies in
3568 # the current directory while Tru64 will put them in the object
3572 am_cv_CC_dependencies_compiler_type=none
3573 if test "$am_compiler_list" = ""; then
3574 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3577 case " $depcc " in #(
3578 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3581 for depmode in $am_compiler_list; do
3582 # Setup a source with many dependencies, because some compilers
3583 # like to wrap large dependency lists on column 80 (with \), and
3584 # we should not choose a depcomp mode which is confused by this.
3586 # We need to recreate these files for each test, as the compiler may
3587 # overwrite some of them when testing with obscure command lines.
3588 # This happens at least with the AIX C compiler.
3590 for i in 1 2 3 4 5 6; do
3591 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3592 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3593 # Solaris 8's {/usr,}/bin/sh.
3594 touch sub/conftst$i.h
3596 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3598 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3599 # mode. It turns out that the SunPro C++ compiler does not properly
3600 # handle `-M -o', and we need to detect this. Also, some Intel
3601 # versions had trouble with output in subdirs
3602 am__obj=sub/conftest.${OBJEXT-o}
3603 am__minus_obj="-o $am__obj"
3606 # This depmode causes a compiler race in universal mode.
3607 test "$am__universal" = false || continue
3610 # after this tag, mechanisms are not by side-effect, so they'll
3611 # only be used when explicitly requested
3612 if test "x$enable_dependency_tracking" = xyes; then
3618 msvisualcpp | msvcmsys)
3619 # This compiler won't grok `-c -o', but also, the minuso test has
3620 # not run yet. These depmodes are late enough in the game, and
3621 # so weak that their functioning should not be impacted.
3622 am__obj=conftest.${OBJEXT-o}
3627 if depmode=$depmode \
3628 source=sub/conftest.c object=$am__obj \
3629 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3630 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3631 >/dev/null 2>conftest.err &&
3632 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3633 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3634 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3635 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3636 # icc doesn't choke on unknown options, it will just issue warnings
3637 # or remarks (even with -Werror). So we grep stderr for any message
3638 # that says an option was ignored or not supported.
3639 # When given -MP, icc 7.0 and 7.1 complain thusly:
3640 # icc: Command line warning: ignoring option '-M'; no argument required
3641 # The diagnosis changed in icc 8.0:
3642 # icc: Command line remark: option '-MP' not supported
3643 if (grep 'ignoring option' conftest.err ||
3644 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3645 am_cv_CC_dependencies_compiler_type=$depmode
3654 am_cv_CC_dependencies_compiler_type=none
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3659 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3660 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3663 test "x$enable_dependency_tracking" != xno \
3664 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3666 am__fastdepCC_FALSE='#'
3668 am__fastdepCC_TRUE='#'
3669 am__fastdepCC_FALSE=
3674 # Checks for libraries.
3676 # Checks for header files.
3679 ac_cpp='$CPP $CPPFLAGS'
3680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3684 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3685 # On Suns, sometimes $CPP names a directory.
3686 if test -n "$CPP" && test -d "$CPP"; then
3689 if test -z "$CPP"; then
3690 if ${ac_cv_prog_CPP+:} false; then :
3691 $as_echo_n "(cached) " >&6
3693 # Double quotes because CPP needs to be expanded
3694 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3697 for ac_c_preproc_warn_flag in '' yes
3699 # Use a header file that comes with gcc, so configuring glibc
3700 # with a fresh cross-compiler works.
3701 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3702 # <limits.h> exists even on freestanding compilers.
3703 # On the NeXT, cc -E runs the code through the compiler's parser,
3704 # not just through cpp. "Syntax error" is here to catch this case.
3705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3708 # include <limits.h>
3710 # include <assert.h>
3714 if ac_fn_c_try_cpp "$LINENO"; then :
3717 # Broken: fails on valid input.
3720 rm -f conftest.err conftest.i conftest.$ac_ext
3722 # OK, works on sane cases. Now check whether nonexistent headers
3723 # can be detected and how.
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3726 #include <ac_nonexistent.h>
3728 if ac_fn_c_try_cpp "$LINENO"; then :
3729 # Broken: success on invalid input.
3732 # Passes both tests.
3736 rm -f conftest.err conftest.i conftest.$ac_ext
3739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3740 rm -f conftest.i conftest.err conftest.$ac_ext
3741 if $ac_preproc_ok; then :
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3754 $as_echo "$CPP" >&6; }
3756 for ac_c_preproc_warn_flag in '' yes
3758 # Use a header file that comes with gcc, so configuring glibc
3759 # with a fresh cross-compiler works.
3760 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3761 # <limits.h> exists even on freestanding compilers.
3762 # On the NeXT, cc -E runs the code through the compiler's parser,
3763 # not just through cpp. "Syntax error" is here to catch this case.
3764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765 /* end confdefs.h. */
3767 # include <limits.h>
3769 # include <assert.h>
3773 if ac_fn_c_try_cpp "$LINENO"; then :
3776 # Broken: fails on valid input.
3779 rm -f conftest.err conftest.i conftest.$ac_ext
3781 # OK, works on sane cases. Now check whether nonexistent headers
3782 # can be detected and how.
3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784 /* end confdefs.h. */
3785 #include <ac_nonexistent.h>
3787 if ac_fn_c_try_cpp "$LINENO"; then :
3788 # Broken: success on invalid input.
3791 # Passes both tests.
3795 rm -f conftest.err conftest.i conftest.$ac_ext
3798 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3799 rm -f conftest.i conftest.err conftest.$ac_ext
3800 if $ac_preproc_ok; then :
3803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3805 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3806 See \`config.log' for more details" "$LINENO" 5; }
3810 ac_cpp='$CPP $CPPFLAGS'
3811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3817 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3818 if ${ac_cv_path_GREP+:} false; then :
3819 $as_echo_n "(cached) " >&6
3821 if test -z "$GREP"; then
3822 ac_path_GREP_found=false
3823 # Loop through the user's path and test for each of PROGNAME-LIST
3824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3828 test -z "$as_dir" && as_dir=.
3829 for ac_prog in grep ggrep; do
3830 for ac_exec_ext in '' $ac_executable_extensions; do
3831 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3832 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3833 # Check for GNU ac_path_GREP and select it if it is found.
3834 # Check for GNU $ac_path_GREP
3835 case `"$ac_path_GREP" --version 2>&1` in
3837 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3840 $as_echo_n 0123456789 >"conftest.in"
3843 cat "conftest.in" "conftest.in" >"conftest.tmp"
3844 mv "conftest.tmp" "conftest.in"
3845 cp "conftest.in" "conftest.nl"
3846 $as_echo 'GREP' >> "conftest.nl"
3847 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3848 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3849 as_fn_arith $ac_count + 1 && ac_count=$as_val
3850 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3851 # Best one so far, save it but keep looking for a better one
3852 ac_cv_path_GREP="$ac_path_GREP"
3853 ac_path_GREP_max=$ac_count
3855 # 10*(2^10) chars as input seems more than enough
3856 test $ac_count -gt 10 && break
3858 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3861 $ac_path_GREP_found && break 3
3866 if test -z "$ac_cv_path_GREP"; then
3867 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3870 ac_cv_path_GREP=$GREP
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3875 $as_echo "$ac_cv_path_GREP" >&6; }
3876 GREP="$ac_cv_path_GREP"
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3880 $as_echo_n "checking for egrep... " >&6; }
3881 if ${ac_cv_path_EGREP+:} false; then :
3882 $as_echo_n "(cached) " >&6
3884 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3885 then ac_cv_path_EGREP="$GREP -E"
3887 if test -z "$EGREP"; then
3888 ac_path_EGREP_found=false
3889 # Loop through the user's path and test for each of PROGNAME-LIST
3890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3894 test -z "$as_dir" && as_dir=.
3895 for ac_prog in egrep; do
3896 for ac_exec_ext in '' $ac_executable_extensions; do
3897 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3898 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3899 # Check for GNU ac_path_EGREP and select it if it is found.
3900 # Check for GNU $ac_path_EGREP
3901 case `"$ac_path_EGREP" --version 2>&1` in
3903 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3906 $as_echo_n 0123456789 >"conftest.in"
3909 cat "conftest.in" "conftest.in" >"conftest.tmp"
3910 mv "conftest.tmp" "conftest.in"
3911 cp "conftest.in" "conftest.nl"
3912 $as_echo 'EGREP' >> "conftest.nl"
3913 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3914 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3915 as_fn_arith $ac_count + 1 && ac_count=$as_val
3916 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3917 # Best one so far, save it but keep looking for a better one
3918 ac_cv_path_EGREP="$ac_path_EGREP"
3919 ac_path_EGREP_max=$ac_count
3921 # 10*(2^10) chars as input seems more than enough
3922 test $ac_count -gt 10 && break
3924 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3927 $ac_path_EGREP_found && break 3
3932 if test -z "$ac_cv_path_EGREP"; then
3933 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3936 ac_cv_path_EGREP=$EGREP
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3942 $as_echo "$ac_cv_path_EGREP" >&6; }
3943 EGREP="$ac_cv_path_EGREP"
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3947 $as_echo_n "checking for ANSI C header files... " >&6; }
3948 if ${ac_cv_header_stdc+:} false; then :
3949 $as_echo_n "(cached) " >&6
3951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3952 /* end confdefs.h. */
3966 if ac_fn_c_try_compile "$LINENO"; then :
3967 ac_cv_header_stdc=yes
3969 ac_cv_header_stdc=no
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3973 if test $ac_cv_header_stdc = yes; then
3974 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h. */
3980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3981 $EGREP "memchr" >/dev/null 2>&1; then :
3984 ac_cv_header_stdc=no
3990 if test $ac_cv_header_stdc = yes; then
3991 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3993 /* end confdefs.h. */
3997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3998 $EGREP "free" >/dev/null 2>&1; then :
4001 ac_cv_header_stdc=no
4007 if test $ac_cv_header_stdc = yes; then
4008 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4009 if test "$cross_compiling" = yes; then :
4012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4013 /* end confdefs.h. */
4016 #if ((' ' & 0x0FF) == 0x020)
4017 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4018 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4020 # define ISLOWER(c) \
4021 (('a' <= (c) && (c) <= 'i') \
4022 || ('j' <= (c) && (c) <= 'r') \
4023 || ('s' <= (c) && (c) <= 'z'))
4024 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4027 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4032 for (i = 0; i < 256; i++)
4033 if (XOR (islower (i), ISLOWER (i))
4034 || toupper (i) != TOUPPER (i))
4039 if ac_fn_c_try_run "$LINENO"; then :
4042 ac_cv_header_stdc=no
4044 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4045 conftest.$ac_objext conftest.beam conftest.$ac_ext
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4051 $as_echo "$ac_cv_header_stdc" >&6; }
4052 if test $ac_cv_header_stdc = yes; then
4054 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4058 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4059 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4060 inttypes.h stdint.h unistd.h
4062 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4063 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4065 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4066 cat >>confdefs.h <<_ACEOF
4067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4075 for ac_header in arpa/inet.h fcntl.h libintl.h netinet/in.h stdlib.h string.h strings.h sys/socket.h unistd.h
4077 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4078 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4079 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4080 cat >>confdefs.h <<_ACEOF
4081 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4089 # Checks for typedefs, structures, and compiler characteristics.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4091 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4092 if ${ac_cv_header_stdbool_h+:} false; then :
4093 $as_echo_n "(cached) " >&6
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4098 #include <stdbool.h>
4100 "error: bool is not defined"
4103 "error: false is not defined"
4106 "error: false is not 0"
4109 "error: true is not defined"
4112 "error: true is not 1"
4114 #ifndef __bool_true_false_are_defined
4115 "error: __bool_true_false_are_defined is not defined"
4118 struct s { _Bool s: 1; _Bool t; } s;
4120 char a[true == 1 ? 1 : -1];
4121 char b[false == 0 ? 1 : -1];
4122 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4123 char d[(bool) 0.5 == true ? 1 : -1];
4124 /* See body of main program for 'e'. */
4125 char f[(_Bool) 0.0 == false ? 1 : -1];
4127 char h[sizeof (_Bool)];
4129 enum { j = false, k = true, l = false * true, m = true * 256 };
4130 /* The following fails for
4131 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4133 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4134 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4135 /* Catch a bug in an HP-UX C compiler. See
4136 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4137 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4149 /* Refer to every declared value, to avoid compiler optimizations. */
4150 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4151 + !m + !n + !o + !p + !q + !pq);
4157 if ac_fn_c_try_compile "$LINENO"; then :
4158 ac_cv_header_stdbool_h=yes
4160 ac_cv_header_stdbool_h=no
4162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4165 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4166 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4167 if test "x$ac_cv_type__Bool" = xyes; then :
4169 cat >>confdefs.h <<_ACEOF
4170 #define HAVE__BOOL 1
4176 if test $ac_cv_header_stdbool_h = yes; then
4178 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4182 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4183 if test "x$ac_cv_type_size_t" = xyes; then :
4187 cat >>confdefs.h <<_ACEOF
4188 #define size_t unsigned int
4194 # Checks for library functions.
4195 for ac_header in stdlib.h
4197 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4198 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4199 cat >>confdefs.h <<_ACEOF
4200 #define HAVE_STDLIB_H 1
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4208 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4209 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
4210 $as_echo_n "(cached) " >&6
4212 if test "$cross_compiling" = yes; then :
4213 ac_cv_func_malloc_0_nonnull=no
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4217 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4218 # include <stdlib.h>
4226 return ! malloc (0);
4231 if ac_fn_c_try_run "$LINENO"; then :
4232 ac_cv_func_malloc_0_nonnull=yes
4234 ac_cv_func_malloc_0_nonnull=no
4236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4237 conftest.$ac_objext conftest.beam conftest.$ac_ext
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4242 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4243 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4245 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4248 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4250 case " $LIBOBJS " in
4251 *" malloc.$ac_objext "* ) ;;
4252 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4257 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4262 for ac_func in inet_ntoa memset strerror strstr
4264 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4266 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4267 cat >>confdefs.h <<_ACEOF
4268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4275 # GNU commandline parsing in getopt.h present?
4276 for ac_header in getopt.h
4278 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
4279 if test "x$ac_cv_header_getopt_h" = xyes; then :
4280 cat >>confdefs.h <<_ACEOF
4281 #define HAVE_GETOPT_H 1
4283 $as_echo "#define HAVE_GETOPT_H 1" >>confdefs.h
4286 import_sources="getopt.c getopt1.c $import_sources"
4292 ac_config_files="$ac_config_files Makefile man/Makefile src/Makefile contrib/Makefile"
4296 # Check whether --with-dhcpd-conf was given.
4297 if test "${with_dhcpd_conf+set}" = set; then :
4298 withval=$with_dhcpd_conf; cat >>confdefs.h <<_ACEOF
4299 #define DHCPDCONF_FILE "$withval"
4304 $as_echo "#define DHCPDCONF_FILE \"/etc/dhcpd.conf\"" >>confdefs.h
4309 # Check whether --with-dhcpd-leases was given.
4310 if test "${with_dhcpd_leases+set}" = set; then :
4311 withval=$with_dhcpd_leases; cat >>confdefs.h <<_ACEOF
4312 #define DHCPDLEASE_FILE "$withval"
4317 $as_echo "#define DHCPDLEASE_FILE \"/var/lib/dhcp/dhcpd.leases\"" >>confdefs.h
4322 # Check whether --with-output-format was given.
4323 if test "${with_output_format+set}" = set; then :
4324 withval=$with_output_format; cat >>confdefs.h <<_ACEOF
4325 #define OUTPUT_FORMAT "$withval"
4330 $as_echo "#define OUTPUT_FORMAT \"text\"" >>confdefs.h
4335 # Check whether --with-output-limit was given.
4336 if test "${with_output_limit+set}" = set; then :
4337 withval=$with_output_limit; cat >>confdefs.h <<_ACEOF
4338 #define OUTPUT_LIMIT "$withval"
4343 $as_echo "#define OUTPUT_LIMIT \"77\"" >>confdefs.h
4348 cat >confcache <<\_ACEOF
4349 # This file is a shell script that caches the results of configure
4350 # tests run on this system so they can be shared between configure
4351 # scripts and configure runs, see configure's option --config-cache.
4352 # It is not useful on other systems. If it contains results you don't
4353 # want to keep, you may remove or edit it.
4355 # config.status only pays attention to the cache file if you give it
4356 # the --recheck option to rerun configure.
4358 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4359 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4364 # The following way of writing the cache mishandles newlines in values,
4365 # but we know of no workaround that is simple, portable, and efficient.
4366 # So, we kill variables containing newlines.
4367 # Ultrix sh set writes to stderr and can't be redirected directly,
4368 # and sets the high bit in the cache file unless we assign to the vars.
4370 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4371 eval ac_val=\$$ac_var
4375 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4376 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4379 _ | IFS | as_nl) ;; #(
4380 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4381 *) { eval $ac_var=; unset $ac_var;} ;;
4387 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4388 *${as_nl}ac_space=\ *)
4389 # `set' does not quote correctly, so add quotes: double-quote
4390 # substitution turns \\\\ into \\, and sed turns \\ into \.
4393 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4396 # `set' quotes correctly as required by POSIX, so do not add quotes.
4397 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4406 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4408 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4410 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4411 if test -w "$cache_file"; then
4412 if test "x$cache_file" != "x/dev/null"; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4414 $as_echo "$as_me: updating cache $cache_file" >&6;}
4415 if test ! -f "$cache_file" || test -h "$cache_file"; then
4416 cat confcache >"$cache_file"
4418 case $cache_file in #(
4420 mv -f confcache "$cache_file"$$ &&
4421 mv -f "$cache_file"$$ "$cache_file" ;; #(
4423 mv -f confcache "$cache_file" ;;
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4429 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4434 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4435 # Let make expand exec_prefix.
4436 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4438 DEFS=-DHAVE_CONFIG_H
4443 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4444 # 1. Remove the extension, and $U if already installed.
4445 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4446 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4447 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4448 # will be set to the directory where LIBOBJS objects are built.
4449 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4450 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4454 LTLIBOBJS=$ac_ltlibobjs
4457 if test -n "$EXEEXT"; then
4459 am__EXEEXT_FALSE='#'
4465 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4466 as_fn_error $? "conditional \"AMDEP\" was never defined.
4467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4469 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4470 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4474 : "${CONFIG_STATUS=./config.status}"
4476 ac_clean_files_save=$ac_clean_files
4477 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4479 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4481 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4483 # Generated by $as_me.
4484 # Run this file to recreate the current configuration.
4485 # Compiler output produced by configure, useful for debugging
4486 # configure, is in config.log if it exists.
4492 SHELL=\${CONFIG_SHELL-$SHELL}
4495 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4496 ## -------------------- ##
4497 ## M4sh Initialization. ##
4498 ## -------------------- ##
4500 # Be more Bourne compatible
4501 DUALCASE=1; export DUALCASE # for MKS sh
4502 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4505 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4506 # is contrary to our usage. Disable this feature.
4507 alias -g '${1+"$@"}'='"$@"'
4508 setopt NO_GLOB_SUBST
4510 case `(set -o) 2>/dev/null` in #(
4522 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4523 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4524 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4525 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4526 # Prefer a ksh shell builtin over an external printf program on Solaris,
4527 # but without wasting forks for bash or zsh.
4528 if test -z "$BASH_VERSION$ZSH_VERSION" \
4529 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4530 as_echo='print -r --'
4531 as_echo_n='print -rn --'
4532 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4533 as_echo='printf %s\n'
4534 as_echo_n='printf %s'
4536 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4537 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4538 as_echo_n='/usr/ucb/echo -n'
4540 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4541 as_echo_n_body='eval
4545 expr "X$arg" : "X\\(.*\\)$as_nl";
4546 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4548 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4550 export as_echo_n_body
4551 as_echo_n='sh -c $as_echo_n_body as_echo'
4554 as_echo='sh -c $as_echo_body as_echo'
4557 # The user is always right.
4558 if test "${PATH_SEPARATOR+set}" != set; then
4560 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4561 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4568 # We need space, tab and new line, in precisely that order. Quoting is
4569 # there to prevent editors from complaining about space-tab.
4570 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4571 # splitting by setting IFS to empty value.)
4574 # Find who we are. Look in the path if we contain no directory separator.
4577 *[\\/]* ) as_myself=$0 ;;
4578 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 test -z "$as_dir" && as_dir=.
4583 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4589 # We did not find ourselves, most probably we were run as `sh COMMAND'
4590 # in which case we are not to be found in the path.
4591 if test "x$as_myself" = x; then
4594 if test ! -f "$as_myself"; then
4595 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4599 # Unset variables that we do not need and which cause bugs (e.g. in
4600 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4601 # suppresses any "Segmentation fault" message there. '((' could
4602 # trigger a bug in pdksh 5.2.14.
4603 for as_var in BASH_ENV ENV MAIL MAILPATH
4604 do eval test x\${$as_var+set} = xset \
4605 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4618 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4621 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4622 # ----------------------------------------
4623 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4624 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4625 # script with STATUS, using 1 if that was 0.
4628 as_status=$1; test $as_status -eq 0 && as_status=1
4630 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4631 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4633 $as_echo "$as_me: error: $2" >&2
4634 as_fn_exit $as_status
4638 # as_fn_set_status STATUS
4639 # -----------------------
4640 # Set $? to STATUS, without forking.
4644 } # as_fn_set_status
4648 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4658 # Portably unset VAR.
4661 { eval $1=; unset $1;}
4663 as_unset=as_fn_unset
4664 # as_fn_append VAR VALUE
4665 # ----------------------
4666 # Append the text in VALUE to the end of the definition contained in VAR. Take
4667 # advantage of any shell optimizations that allow amortized linear growth over
4668 # repeated appends, instead of the typical quadratic growth present in naive
4670 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4671 eval 'as_fn_append ()
4682 # as_fn_arith ARG...
4683 # ------------------
4684 # Perform arithmetic evaluation on the ARGs, and store the result in the
4685 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4686 # must be portable across $(()) and expr.
4687 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4688 eval 'as_fn_arith ()
4695 as_val=`expr "$@" || test $? -eq 1`
4700 if expr a : '\(a\)' >/dev/null 2>&1 &&
4701 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4707 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4708 as_basename=basename
4713 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4719 as_me=`$as_basename -- "$0" ||
4720 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4721 X"$0" : 'X\(//\)$' \| \
4722 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4724 sed '/^.*\/\([^/][^/]*\)\/*$/{
4738 # Avoid depending upon Character Ranges.
4739 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4740 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4741 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4742 as_cr_digits='0123456789'
4743 as_cr_alnum=$as_cr_Letters$as_cr_digits
4745 ECHO_C= ECHO_N= ECHO_T=
4746 case `echo -n x` in #(((((
4748 case `echo 'xy\c'` in
4749 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4751 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4758 rm -f conf$$ conf$$.exe conf$$.file
4759 if test -d conf$$.dir; then
4760 rm -f conf$$.dir/conf$$.file
4763 mkdir conf$$.dir 2>/dev/null
4765 if (echo >conf$$.file) 2>/dev/null; then
4766 if ln -s conf$$.file conf$$ 2>/dev/null; then
4768 # ... but there are two gotchas:
4769 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4770 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4771 # In both cases, we have to default to `cp -p'.
4772 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4774 elif ln conf$$.file conf$$ 2>/dev/null; then
4782 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4783 rmdir conf$$.dir 2>/dev/null
4788 # Create "$as_dir" as a directory, including parents if necessary.
4793 -*) as_dir=./$as_dir;;
4795 test -d "$as_dir" || eval $as_mkdir_p || {
4799 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4800 *) as_qdir=$as_dir;;
4802 as_dirs="'$as_qdir' $as_dirs"
4803 as_dir=`$as_dirname -- "$as_dir" ||
4804 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4805 X"$as_dir" : 'X\(//\)[^/]' \| \
4806 X"$as_dir" : 'X\(//\)$' \| \
4807 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4808 $as_echo X"$as_dir" |
4809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4826 test -d "$as_dir" && break
4828 test -z "$as_dirs" || eval "mkdir $as_dirs"
4829 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4833 if mkdir -p . 2>/dev/null; then
4834 as_mkdir_p='mkdir -p "$as_dir"'
4836 test -d ./-p && rmdir ./-p
4840 if test -x / >/dev/null 2>&1; then
4843 if ls -dL / >/dev/null 2>&1; then
4850 if test -d "$1"; then
4856 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4857 ???[sx]*):;;*)false;;esac;fi
4861 as_executable_p=$as_test_x
4863 # Sed expression to map a string onto a valid CPP name.
4864 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4866 # Sed expression to map a string onto a valid variable name.
4867 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4871 ## ----------------------------------- ##
4872 ## Main body of $CONFIG_STATUS script. ##
4873 ## ----------------------------------- ##
4875 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4878 # Save the log message, to keep $0 and so on meaningful, and to
4879 # report actual input values of CONFIG_FILES etc. instead of their
4880 # values after options handling.
4882 This file was extended by dhcpd-pools $as_me 2.13, which was
4883 generated by GNU Autoconf 2.67.69-a1ef66. Invocation command line was
4885 CONFIG_FILES = $CONFIG_FILES
4886 CONFIG_HEADERS = $CONFIG_HEADERS
4887 CONFIG_LINKS = $CONFIG_LINKS
4888 CONFIG_COMMANDS = $CONFIG_COMMANDS
4891 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4896 case $ac_config_files in *"
4897 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4900 case $ac_config_headers in *"
4901 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4906 # Files that config.status was made for.
4907 config_files="$ac_config_files"
4908 config_headers="$ac_config_headers"
4909 config_commands="$ac_config_commands"
4913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4915 \`$as_me' instantiates files and other configuration actions
4916 from templates according to the current configuration. Unless the files
4917 and actions are specified as TAGs, all are instantiated by default.
4919 Usage: $0 [OPTION]... [TAG]...
4921 -h, --help print this help, then exit
4922 -V, --version print version number and configuration settings, then exit
4923 --config print configuration, then exit
4924 -q, --quiet, --silent
4925 do not print progress messages
4926 -d, --debug don't remove temporary files
4927 --recheck update $as_me by reconfiguring in the same conditions
4928 --file=FILE[:TEMPLATE]
4929 instantiate the configuration file FILE
4930 --header=FILE[:TEMPLATE]
4931 instantiate the configuration header FILE
4933 Configuration files:
4936 Configuration headers:
4939 Configuration commands:
4942 Report bugs to <kerolasa@iki.fi>.
4943 dhcpd-pools home page: <http://dhcpd-pools.sourceforge.net/>."
4946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4947 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4949 dhcpd-pools config.status 2.13
4950 configured by $0, generated by GNU Autoconf 2.67.69-a1ef66,
4951 with options \\"\$ac_cs_config\\"
4953 Copyright (C) 2010 Free Software Foundation, Inc.
4954 This config.status script is free software; the Free Software Foundation
4955 gives unlimited permission to copy, distribute and modify it."
4962 test -n "\$AWK" || AWK=awk
4965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4966 # The default lists apply if the user does not specify any file.
4972 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4973 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4977 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4989 # Handling of the options.
4990 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4992 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4993 $as_echo "$ac_cs_version"; exit ;;
4994 --config | --confi | --conf | --con | --co | --c )
4995 $as_echo "$ac_cs_config"; exit ;;
4996 --debug | --debu | --deb | --de | --d | -d )
4998 --file | --fil | --fi | --f )
5001 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5002 '') as_fn_error $? "missing file argument" ;;
5004 as_fn_append CONFIG_FILES " '$ac_optarg'"
5005 ac_need_defaults=false;;
5006 --header | --heade | --head | --hea )
5009 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5011 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5012 ac_need_defaults=false;;
5014 # Conflict between --help and --header
5015 as_fn_error $? "ambiguous option: \`$1'
5016 Try \`$0 --help' for more information.";;
5017 --help | --hel | -h )
5018 $as_echo "$ac_cs_usage"; exit ;;
5019 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5020 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5024 -*) as_fn_error $? "unrecognized option: \`$1'
5025 Try \`$0 --help' for more information." ;;
5027 *) as_fn_append ac_config_targets " $1"
5028 ac_need_defaults=false ;;
5034 ac_configure_extra_args=
5036 if $ac_cs_silent; then
5038 ac_configure_extra_args="$ac_configure_extra_args --silent"
5042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5043 if \$ac_cs_recheck; then
5044 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5046 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5047 CONFIG_SHELL='$SHELL'
5053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5057 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5058 ## Running $as_me. ##
5064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5068 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5074 # Handling of arguments.
5075 for ac_config_target in $ac_config_targets
5077 case $ac_config_target in
5078 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5079 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5080 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5081 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
5082 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5083 "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
5085 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5090 # If the user did not use the arguments to specify the items to instantiate,
5091 # then the envvar interface is used. Set only those that are not.
5092 # We use the long form for the default assignment because of an extremely
5093 # bizarre bug on SunOS 4.1.3.
5094 if $ac_need_defaults; then
5095 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5096 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5097 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5100 # Have a temporary directory for convenience. Make it in the build tree
5101 # simply because there is no reason against having it here, and in addition,
5102 # creating and moving files from /tmp can sometimes cause problems.
5103 # Hook for its removal unless debugging.
5104 # Note that there is a small window in which the directory will not be cleaned:
5105 # after its creation but before its name has been assigned to `$tmp'.
5109 trap 'exit_status=$?
5111 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5113 trap 'as_fn_exit 1' 1 2 13 15
5115 # Create a (secure) tmp directory for tmp files.
5118 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5122 tmp=./conf$$-$RANDOM
5123 (umask 077 && mkdir "$tmp")
5124 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5127 # Set up the scripts for CONFIG_FILES section.
5128 # No need to generate them if there are no CONFIG_FILES.
5129 # This happens for instance with `./config.status config.h'.
5130 if test -n "$CONFIG_FILES"; then
5133 ac_cr=`echo X | tr X '\015'`
5134 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5135 # But we know of no other shell where ac_cr would be empty at this
5136 # point, so we can use a bashism as a fallback.
5137 if test "x$ac_cr" = x; then
5138 eval ac_cr=\$\'\\r\'
5140 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5141 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5147 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5152 echo "cat >conf$$subs.awk <<_ACEOF" &&
5153 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5156 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5157 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5159 for ac_last_try in false false false false false :; do
5160 . ./conf$$subs.sh ||
5161 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5163 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5164 if test $ac_delim_n = $ac_delim_num; then
5166 elif $ac_last_try; then
5167 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5169 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5175 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5179 s/^/S["/; s/!.*/"]=/
5189 s/\(.\{148\}\)..*/\1/
5191 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5196 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5203 s/\(.\{148\}\)..*/\1/
5205 s/["\\]/\\&/g; s/^/"/; s/$/"/
5209 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5214 ' <conf$$subs.awk | sed '
5219 ' >>$CONFIG_STATUS || ac_write_fail=1
5220 rm -f conf$$subs.awk
5221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5223 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5224 for (key in S) S_is_set[key] = 1
5230 nfields = split(line, field, "@")
5232 len = length(field[1])
5233 for (i = 2; i < nfields; i++) {
5235 keylen = length(key)
5236 if (S_is_set[key]) {
5238 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5239 len += length(value) + length(field[++i])
5250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5251 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5252 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5255 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5256 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5259 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5260 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5261 # trailing colons and then remove the whole line if VPATH becomes empty
5262 # (actually we leave an empty line to preserve line numbers).
5263 if test "x$srcdir" = x.; then
5264 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5283 fi # test -n "$CONFIG_FILES"
5285 # Set up the scripts for CONFIG_HEADERS section.
5286 # No need to generate them if there are no CONFIG_HEADERS.
5287 # This happens for instance with `./config.status Makefile'.
5288 if test -n "$CONFIG_HEADERS"; then
5289 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5293 # Transform confdefs.h into an awk script `defines.awk', embedded as
5294 # here-document in config.status, that substitutes the proper values into
5295 # config.h.in to produce config.h.
5297 # Create a delimiter string that does not exist in confdefs.h, to ease
5298 # handling of long lines.
5300 for ac_last_try in false false :; do
5301 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5302 if test -z "$ac_t"; then
5304 elif $ac_last_try; then
5305 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5307 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5311 # For the awk script, D is an array of macro values keyed by name,
5312 # likewise P contains macro parameters if any. Preserve backslash
5313 # newline sequences.
5315 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5317 s/.\{148\}/&'"$ac_delim"'/g
5320 s/^[ ]*#[ ]*define[ ][ ]*/ /
5327 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5329 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5333 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5334 D["\1"]=" \3\\\\\\n"\\/p
5336 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5341 s/.\{148\}/&'"$ac_delim"'/g
5346 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5349 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5351 ' <confdefs.h | sed '
5352 s/'"$ac_delim"'/"\\\
5353 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5356 for (key in D) D_is_set[key] = 1
5359 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5361 split(line, arg, " ")
5362 if (arg[1] == "#") {
5366 defundef = substr(arg[1], 2)
5369 split(mac1, mac2, "(") #)
5371 prefix = substr(line, 1, index(line, defundef) - 1)
5372 if (D_is_set[macro]) {
5373 # Preserve the white space surrounding the "#".
5374 print prefix "define", macro P[macro] D[macro]
5377 # Replace #undef with comments. This is necessary, for example,
5378 # in the case of _POSIX_SOURCE, which is predefined and required
5379 # on some systems where configure will not decide to define it.
5380 if (defundef == "undef") {
5381 print "/*", prefix defundef, macro, "*/"
5389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5390 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5391 fi # test -n "$CONFIG_HEADERS"
5394 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5399 :[FHLC]) ac_mode=$ac_tag; continue;;
5401 case $ac_mode$ac_tag in
5403 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5404 :[FH]-) ac_tag=-:-;;
5405 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5422 -) ac_f="$ac_tmp/stdin";;
5423 *) # Look for the file first in the build tree, then in the source tree
5424 # (if the path is not absolute). The absolute path cannot be DOS-style,
5425 # because $ac_f cannot contain `:'.
5429 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5431 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5433 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5434 as_fn_append ac_file_inputs " '$ac_f'"
5437 # Let's still pretend it is `configure' which instantiates (i.e., don't
5438 # use $as_me), people would be surprised to read:
5439 # /* config.h. Generated by config.status. */
5440 configure_input='Generated from '`
5441 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5443 if test x"$ac_file" != x-; then
5444 configure_input="$ac_file. $configure_input"
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5446 $as_echo "$as_me: creating $ac_file" >&6;}
5448 # Neutralize special characters interpreted by sed in replacement strings.
5449 case $configure_input in #(
5450 *\&* | *\|* | *\\* )
5451 ac_sed_conf_input=`$as_echo "$configure_input" |
5452 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5453 *) ac_sed_conf_input=$configure_input;;
5457 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5458 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5463 ac_dir=`$as_dirname -- "$ac_file" ||
5464 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5465 X"$ac_file" : 'X\(//\)[^/]' \| \
5466 X"$ac_file" : 'X\(//\)$' \| \
5467 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5468 $as_echo X"$ac_file" |
5469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5486 as_dir="$ac_dir"; as_fn_mkdir_p
5490 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5492 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5493 # A ".." for each directory in $ac_dir_suffix.
5494 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5495 case $ac_top_builddir_sub in
5496 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5497 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5500 ac_abs_top_builddir=$ac_pwd
5501 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5502 # for backward compatibility:
5503 ac_top_builddir=$ac_top_build_prefix
5506 .) # We are building in place.
5508 ac_top_srcdir=$ac_top_builddir_sub
5509 ac_abs_top_srcdir=$ac_pwd ;;
5510 [\\/]* | ?:[\\/]* ) # Absolute name.
5511 ac_srcdir=$srcdir$ac_dir_suffix;
5512 ac_top_srcdir=$srcdir
5513 ac_abs_top_srcdir=$srcdir ;;
5515 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5516 ac_top_srcdir=$ac_top_build_prefix$srcdir
5517 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5519 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5529 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5530 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5534 [\\/$]* | ?:[\\/]* ) ;;
5535 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5540 # If the template does not know about datarootdir, expand it.
5541 # FIXME: This hack should be removed a few years after 2.60.
5542 ac_datarootdir_hack=; ac_datarootdir_seen=
5553 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5554 *datarootdir*) ac_datarootdir_seen=yes;;
5555 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5557 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5560 ac_datarootdir_hack='
5561 s&@datadir@&$datadir&g
5562 s&@docdir@&$docdir&g
5563 s&@infodir@&$infodir&g
5564 s&@localedir@&$localedir&g
5565 s&@mandir@&$mandir&g
5566 s&\\\${datarootdir}&$datarootdir&g' ;;
5570 # Neutralize VPATH when `$srcdir' = `.'.
5571 # Shell code in configure.ac might set extrasub.
5572 # FIXME: do we really want to maintain this feature?
5573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5574 ac_sed_extra="$ac_vpsub
5577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5579 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5580 s|@configure_input@|$ac_sed_conf_input|;t t
5581 s&@top_builddir@&$ac_top_builddir_sub&;t t
5582 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5583 s&@srcdir@&$ac_srcdir&;t t
5584 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5585 s&@top_srcdir@&$ac_top_srcdir&;t t
5586 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5587 s&@builddir@&$ac_builddir&;t t
5588 s&@abs_builddir@&$ac_abs_builddir&;t t
5589 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5590 s&@INSTALL@&$ac_INSTALL&;t t
5591 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5592 $ac_datarootdir_hack
5594 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5595 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5597 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5598 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5599 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5600 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5602 which seems to be undefined. Please make sure it is defined" >&5
5603 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5604 which seems to be undefined. Please make sure it is defined" >&2;}
5606 rm -f "$ac_tmp/stdin"
5608 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5609 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5611 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5617 if test x"$ac_file" != x-; then
5619 $as_echo "/* $configure_input */" \
5620 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5621 } >"$ac_tmp/config.h" \
5622 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5623 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5625 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5628 mv "$ac_tmp/config.h" "$ac_file" \
5629 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5632 $as_echo "/* $configure_input */" \
5633 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5634 || as_fn_error $? "could not create -" "$LINENO" 5
5636 # Compute "$ac_file"'s index in $config_headers.
5639 for _am_header in $config_headers :; do
5641 $_am_arg | $_am_arg:* )
5644 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5647 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5648 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5649 X"$_am_arg" : 'X\(//\)[^/]' \| \
5650 X"$_am_arg" : 'X\(//\)$' \| \
5651 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5652 $as_echo X"$_am_arg" |
5653 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5669 s/.*/./; q'`/stamp-h$_am_stamp_count
5672 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5673 $as_echo "$as_me: executing $ac_file commands" >&6;}
5678 case $ac_file$ac_mode in
5679 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5680 # Autoconf 2.62 quotes --file arguments for eval, but not when files
5681 # are listed without --file. Let's play safe and only enable the eval
5682 # if we detect the quoting.
5683 case $CONFIG_FILES in
5684 *\'*) eval set x "$CONFIG_FILES" ;;
5685 *) set x $CONFIG_FILES ;;
5690 # Strip MF so we end up with the name of the file.
5691 mf=`echo "$mf" | sed -e 's/:.*$//'`
5692 # Check whether this is an Automake generated Makefile or not.
5693 # We used to match only the files named `Makefile.in', but
5694 # some people rename them; so instead we look at the file content.
5695 # Grep'ing the first line is not enough: some people post-process
5696 # each Makefile.in and add a new line on top of each file to say so.
5697 # Grep'ing the whole file is not good either: AIX grep has a line
5698 # limit of 2048, but all sed's we know have understand at least 4000.
5699 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5700 dirpart=`$as_dirname -- "$mf" ||
5701 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5702 X"$mf" : 'X\(//\)[^/]' \| \
5703 X"$mf" : 'X\(//\)$' \| \
5704 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5726 # Extract the definition of DEPDIR, am__include, and am__quote
5727 # from the Makefile without running `make'.
5728 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5729 test -z "$DEPDIR" && continue
5730 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5731 test -z "am__include" && continue
5732 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5733 # When using ansi2knr, U may be empty or an underscore; expand it
5734 U=`sed -n 's/^U = //p' < "$mf"`
5735 # Find all dependency output files, they are included files with
5736 # $(DEPDIR) in their names. We invoke sed twice because it is the
5737 # simplest approach to changing $(DEPDIR) to its actual value in the
5739 for file in `sed -n "
5740 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5741 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5742 # Make sure the directory exists.
5743 test -f "$dirpart/$file" && continue
5744 fdir=`$as_dirname -- "$file" ||
5745 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5746 X"$file" : 'X\(//\)[^/]' \| \
5747 X"$file" : 'X\(//\)$' \| \
5748 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5767 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5768 # echo "creating $dirpart/$file"
5769 echo '# dummy' > "$dirpart/$file"
5781 ac_clean_files=$ac_clean_files_save
5783 test $ac_write_fail = 0 ||
5784 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5787 # configure is writing to config.log, and then calls config.status.
5788 # config.status does its own redirection, appending to config.log.
5789 # Unfortunately, on DOS this fails, as config.log is still kept open
5790 # by configure, so config.status won't be able to write to it; its
5791 # output is simply discarded. So we exec the FD to /dev/null,
5792 # effectively closing config.log, so it can be properly (re)opened and
5793 # appended to by config.status. When coming back to configure, we
5794 # need to make the FD available again.
5795 if test "$no_create" != yes; then
5797 ac_config_status_args=
5798 test "$silent" = yes &&
5799 ac_config_status_args="$ac_config_status_args --quiet"
5801 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5803 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5804 # would make configure fail if this is the last instruction.
5805 $ac_cs_success || as_fn_exit 1
5807 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5809 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}