2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.67.
6 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 @%:@ This configure script is free software; the Free Software Foundation
12 @%:@ gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in @%:@(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in @%:@(
147 set -o posix ;; @%:@(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
190 case $as_dir in @%:@(
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 @%:@ Portably unset VAR.
254 { eval $1=; unset $1;}
258 @%:@ as_fn_set_status STATUS
259 @%:@ -----------------------
260 @%:@ Set @S|@? to STATUS, without forking.
264 } @%:@ as_fn_set_status
266 @%:@ as_fn_exit STATUS
267 @%:@ -----------------
268 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323 @%:@ as_fn_append VAR VALUE
324 @%:@ ----------------------
325 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
326 @%:@ advantage of any shell optimizations that allow amortized linear growth over
327 @%:@ repeated appends, instead of the typical quadratic growth present in naive
328 @%:@ implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
341 @%:@ as_fn_arith ARG...
342 @%:@ ------------------
343 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
344 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
345 @%:@ must be portable across @S|@(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
360 @%:@ ----------------------------------------
361 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 @%:@ script with STATUS, using 1 if that was 0.
366 as_status=$1; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in @%:@(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" || exec 7<&0 </dev/null
533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix=/usr/local
542 ac_config_libobj_dir=.
549 # Identity of this package.
557 ac_unique_file="pptpmanager.c"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
594 ac_subst_vars='LTLIBOBJS
628 INSTALL_STRIP_PROGRAM
669 program_transform_name
682 enable_option_checking
687 enable_dependency_tracking
690 ac_precious_vars='build_alias
701 # Initialize some variables set by options.
703 ac_init_version=false
704 ac_unrecognized_opts=
706 # The variables have the same names as the options, with
707 # dashes changed to underlines.
715 program_transform_name=s,x,x,
723 # Installation directory options.
724 # These are left unexpanded so users can "make install exec_prefix=/foo"
725 # and all the variables that are supposed to be based on exec_prefix
726 # by default will actually change.
727 # Use braces instead of parens because sh, perl, etc. also accept them.
728 # (The list follows the same order as the GNU Coding Standards.)
729 bindir='${exec_prefix}/bin'
730 sbindir='${exec_prefix}/sbin'
731 libexecdir='${exec_prefix}/libexec'
732 datarootdir='${prefix}/share'
733 datadir='${datarootdir}'
734 sysconfdir='${prefix}/etc'
735 sharedstatedir='${prefix}/com'
736 localstatedir='${prefix}/var'
737 includedir='${prefix}/include'
738 oldincludedir='/usr/include'
739 docdir='${datarootdir}/doc/${PACKAGE}'
740 infodir='${datarootdir}/info'
745 libdir='${exec_prefix}/lib'
746 localedir='${datarootdir}/locale'
747 mandir='${datarootdir}/man'
753 # If the previous option needs an argument, assign it.
754 if test -n "$ac_prev"; then
755 eval $ac_prev=\$ac_option
761 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
766 # Accept the important Cygnus configure options, so we can diagnose typos.
768 case $ac_dashdash$ac_option in
772 -bindir | --bindir | --bindi | --bind | --bin | --bi)
774 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
777 -build | --build | --buil | --bui | --bu)
778 ac_prev=build_alias ;;
779 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
780 build_alias=$ac_optarg ;;
782 -cache-file | --cache-file | --cache-fil | --cache-fi \
783 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
784 ac_prev=cache_file ;;
785 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
786 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
787 cache_file=$ac_optarg ;;
790 cache_file=config.cache ;;
792 -datadir | --datadir | --datadi | --datad)
794 -datadir=* | --datadir=* | --datadi=* | --datad=*)
795 datadir=$ac_optarg ;;
797 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
798 | --dataroo | --dataro | --datar)
799 ac_prev=datarootdir ;;
800 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
801 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
802 datarootdir=$ac_optarg ;;
804 -disable-* | --disable-*)
805 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808 as_fn_error $? "invalid feature name: $ac_useropt"
809 ac_useropt_orig=$ac_useropt
810 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811 case $ac_user_opts in
815 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
816 ac_unrecognized_sep=', ';;
818 eval enable_$ac_useropt=no ;;
820 -docdir | --docdir | --docdi | --doc | --do)
822 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
825 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
827 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
830 -enable-* | --enable-*)
831 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832 # Reject names that are not valid shell variable names.
833 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
834 as_fn_error $? "invalid feature name: $ac_useropt"
835 ac_useropt_orig=$ac_useropt
836 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837 case $ac_user_opts in
841 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
842 ac_unrecognized_sep=', ';;
844 eval enable_$ac_useropt=\$ac_optarg ;;
846 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
847 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
848 | --exec | --exe | --ex)
849 ac_prev=exec_prefix ;;
850 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
851 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
852 | --exec=* | --exe=* | --ex=*)
853 exec_prefix=$ac_optarg ;;
855 -gas | --gas | --ga | --g)
856 # Obsolete; use --with-gas.
859 -help | --help | --hel | --he | -h)
861 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
862 ac_init_help=recursive ;;
863 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
864 ac_init_help=short ;;
866 -host | --host | --hos | --ho)
867 ac_prev=host_alias ;;
868 -host=* | --host=* | --hos=* | --ho=*)
869 host_alias=$ac_optarg ;;
871 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
873 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
875 htmldir=$ac_optarg ;;
877 -includedir | --includedir | --includedi | --included | --include \
878 | --includ | --inclu | --incl | --inc)
879 ac_prev=includedir ;;
880 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
881 | --includ=* | --inclu=* | --incl=* | --inc=*)
882 includedir=$ac_optarg ;;
884 -infodir | --infodir | --infodi | --infod | --info | --inf)
886 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
887 infodir=$ac_optarg ;;
889 -libdir | --libdir | --libdi | --libd)
891 -libdir=* | --libdir=* | --libdi=* | --libd=*)
894 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
895 | --libexe | --libex | --libe)
896 ac_prev=libexecdir ;;
897 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
898 | --libexe=* | --libex=* | --libe=*)
899 libexecdir=$ac_optarg ;;
901 -localedir | --localedir | --localedi | --localed | --locale)
903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
904 localedir=$ac_optarg ;;
906 -localstatedir | --localstatedir | --localstatedi | --localstated \
907 | --localstate | --localstat | --localsta | --localst | --locals)
908 ac_prev=localstatedir ;;
909 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
911 localstatedir=$ac_optarg ;;
913 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
915 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
919 # Obsolete; use --without-fp.
922 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
923 | --no-cr | --no-c | -n)
926 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
927 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
930 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
931 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
932 | --oldin | --oldi | --old | --ol | --o)
933 ac_prev=oldincludedir ;;
934 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
935 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
936 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
937 oldincludedir=$ac_optarg ;;
939 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
941 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
944 -program-prefix | --program-prefix | --program-prefi | --program-pref \
945 | --program-pre | --program-pr | --program-p)
946 ac_prev=program_prefix ;;
947 -program-prefix=* | --program-prefix=* | --program-prefi=* \
948 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
949 program_prefix=$ac_optarg ;;
951 -program-suffix | --program-suffix | --program-suffi | --program-suff \
952 | --program-suf | --program-su | --program-s)
953 ac_prev=program_suffix ;;
954 -program-suffix=* | --program-suffix=* | --program-suffi=* \
955 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
956 program_suffix=$ac_optarg ;;
958 -program-transform-name | --program-transform-name \
959 | --program-transform-nam | --program-transform-na \
960 | --program-transform-n | --program-transform- \
961 | --program-transform | --program-transfor \
962 | --program-transfo | --program-transf \
963 | --program-trans | --program-tran \
964 | --progr-tra | --program-tr | --program-t)
965 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
975 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
977 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
980 -psdir | --psdir | --psdi | --psd | --ps)
982 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
986 | -silent | --silent | --silen | --sile | --sil)
989 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
991 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
993 sbindir=$ac_optarg ;;
995 -sharedstatedir | --sharedstatedir | --sharedstatedi \
996 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
997 | --sharedst | --shareds | --shared | --share | --shar \
999 ac_prev=sharedstatedir ;;
1000 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1001 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1002 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1004 sharedstatedir=$ac_optarg ;;
1006 -site | --site | --sit)
1008 -site=* | --site=* | --sit=*)
1011 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1013 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1014 srcdir=$ac_optarg ;;
1016 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1017 | --syscon | --sysco | --sysc | --sys | --sy)
1018 ac_prev=sysconfdir ;;
1019 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1020 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1021 sysconfdir=$ac_optarg ;;
1023 -target | --target | --targe | --targ | --tar | --ta | --t)
1024 ac_prev=target_alias ;;
1025 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1026 target_alias=$ac_optarg ;;
1028 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1031 -version | --version | --versio | --versi | --vers | -V)
1032 ac_init_version=: ;;
1035 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038 as_fn_error $? "invalid package name: $ac_useropt"
1039 ac_useropt_orig=$ac_useropt
1040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1046 ac_unrecognized_sep=', ';;
1048 eval with_$ac_useropt=\$ac_optarg ;;
1050 -without-* | --without-*)
1051 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054 as_fn_error $? "invalid package name: $ac_useropt"
1055 ac_useropt_orig=$ac_useropt
1056 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1061 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1062 ac_unrecognized_sep=', ';;
1064 eval with_$ac_useropt=no ;;
1067 # Obsolete; use --with-x.
1070 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1071 | --x-incl | --x-inc | --x-in | --x-i)
1072 ac_prev=x_includes ;;
1073 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1074 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1075 x_includes=$ac_optarg ;;
1077 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1078 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1079 ac_prev=x_libraries ;;
1080 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1081 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1082 x_libraries=$ac_optarg ;;
1084 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1085 Try \`$0 --help' for more information"
1089 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1090 # Reject names that are not valid shell variable names.
1091 case $ac_envvar in #(
1092 '' | [0-9]* | *[!_$as_cr_alnum]* )
1093 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1095 eval $ac_envvar=\$ac_optarg
1096 export $ac_envvar ;;
1099 # FIXME: should be removed in autoconf 3.0.
1100 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1101 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1102 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1103 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1109 if test -n "$ac_prev"; then
1110 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1111 as_fn_error $? "missing argument to $ac_option"
1114 if test -n "$ac_unrecognized_opts"; then
1115 case $enable_option_checking in
1117 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1118 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1122 # Check all directory arguments for consistency.
1123 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1124 datadir sysconfdir sharedstatedir localstatedir includedir \
1125 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1126 libdir localedir mandir
1128 eval ac_val=\$$ac_var
1129 # Remove trailing slashes.
1132 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1133 eval $ac_var=\$ac_val;;
1135 # Be sure to have absolute directory names.
1137 [\\/$]* | ?:[\\/]* ) continue;;
1138 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1140 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1143 # There might be people who depend on the old broken behavior: `$host'
1144 # used to hold the argument of --host etc.
1145 # FIXME: To remove some day.
1148 target=$target_alias
1150 # FIXME: To remove some day.
1151 if test "x$host_alias" != x; then
1152 if test "x$build_alias" = x; then
1153 cross_compiling=maybe
1154 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1155 If a cross compiler is detected then cross compile mode will be used" >&2
1156 elif test "x$build_alias" != "x$host_alias"; then
1162 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1164 test "$silent" = yes && exec 6>/dev/null
1167 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1168 ac_ls_di=`ls -di .` &&
1169 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1170 as_fn_error $? "working directory cannot be determined"
1171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1172 as_fn_error $? "pwd does not report name of working directory"
1175 # Find the source files, if location was not specified.
1176 if test -z "$srcdir"; then
1177 ac_srcdir_defaulted=yes
1178 # Try the directory containing this script, then the parent directory.
1179 ac_confdir=`$as_dirname -- "$as_myself" ||
1180 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1181 X"$as_myself" : 'X\(//\)[^/]' \| \
1182 X"$as_myself" : 'X\(//\)$' \| \
1183 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1184 $as_echo X"$as_myself" |
1185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1207 ac_srcdir_defaulted=no
1209 if test ! -r "$srcdir/$ac_unique_file"; then
1210 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1211 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1213 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1215 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1217 # When building in place, set srcdir=.
1218 if test "$ac_abs_confdir" = "$ac_pwd"; then
1221 # Remove unnecessary trailing slashes from srcdir.
1222 # Double slashes in file names in object file debugging info
1223 # mess up M-x gdb in Emacs.
1225 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1227 for ac_var in $ac_precious_vars; do
1228 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_env_${ac_var}_value=\$${ac_var}
1230 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1231 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1235 # Report the --help message.
1237 if test "$ac_init_help" = "long"; then
1238 # Omit some internal or obsolete options to make the list less imposing.
1239 # This message is too long to be a string in the A/UX 3.1 sh.
1241 \`configure' configures this package to adapt to many kinds of systems.
1243 Usage: $0 [OPTION]... [VAR=VALUE]...
1245 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1246 VAR=VALUE. See below for descriptions of some of the useful variables.
1248 Defaults for the options are specified in brackets.
1251 -h, --help display this help and exit
1252 --help=short display options specific to this package
1253 --help=recursive display the short help of all the included packages
1254 -V, --version display version information and exit
1255 -q, --quiet, --silent do not print \`checking ...' messages
1256 --cache-file=FILE cache test results in FILE [disabled]
1257 -C, --config-cache alias for \`--cache-file=config.cache'
1258 -n, --no-create do not create output files
1259 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1261 Installation directories:
1262 --prefix=PREFIX install architecture-independent files in PREFIX
1263 @<:@@S|@ac_default_prefix@:>@
1264 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1267 By default, \`make install' will install all the files in
1268 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1269 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1270 for instance \`--prefix=\$HOME'.
1272 For better control, use the options below.
1274 Fine tuning of the installation directories:
1275 --bindir=DIR user executables [EPREFIX/bin]
1276 --sbindir=DIR system admin executables [EPREFIX/sbin]
1277 --libexecdir=DIR program executables [EPREFIX/libexec]
1278 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1279 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1280 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1281 --libdir=DIR object code libraries [EPREFIX/lib]
1282 --includedir=DIR C header files [PREFIX/include]
1283 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1284 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1285 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1286 --infodir=DIR info documentation [DATAROOTDIR/info]
1287 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1288 --mandir=DIR man documentation [DATAROOTDIR/man]
1289 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1290 --htmldir=DIR html documentation [DOCDIR]
1291 --dvidir=DIR dvi documentation [DOCDIR]
1292 --pdfdir=DIR pdf documentation [DOCDIR]
1293 --psdir=DIR ps documentation [DOCDIR]
1299 --program-prefix=PREFIX prepend PREFIX to installed program names
1300 --program-suffix=SUFFIX append SUFFIX to installed program names
1301 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1305 if test -n "$ac_init_help"; then
1310 --disable-option-checking ignore unrecognized --enable/--with options
1311 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1312 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1313 --enable-facility=name Use another syslog facility, default LOG_DAEMON
1314 --enable-bcrelay Enable broadcast relay function
1315 --disable-dependency-tracking speeds up one-time build
1316 --enable-dependency-tracking do not reject slow dependency extractors
1319 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1320 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1321 --with-bsdppp Use BSD user-space ppp
1322 --with-slirp Use SLIRP instead of pppd
1323 --with-libwrap Use libwrap (tcp wrappers)
1325 Some influential environment variables:
1326 CC C compiler command
1327 CFLAGS C compiler flags
1328 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1329 nonstandard directory <lib dir>
1330 LIBS libraries to pass to the linker, e.g. -l<library>
1331 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1332 you have headers in a nonstandard directory <include dir>
1335 Use these variables to override the choices made by `configure' or to help
1336 it to find libraries and programs with nonstandard names/locations.
1338 Report bugs to the package provider.
1343 if test "$ac_init_help" = "recursive"; then
1344 # If there are subdirs, report their specific --help.
1345 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1346 test -d "$ac_dir" ||
1347 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1352 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1354 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1355 # A ".." for each directory in $ac_dir_suffix.
1356 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1357 case $ac_top_builddir_sub in
1358 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1362 ac_abs_top_builddir=$ac_pwd
1363 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1364 # for backward compatibility:
1365 ac_top_builddir=$ac_top_build_prefix
1368 .) # We are building in place.
1370 ac_top_srcdir=$ac_top_builddir_sub
1371 ac_abs_top_srcdir=$ac_pwd ;;
1372 [\\/]* | ?:[\\/]* ) # Absolute name.
1373 ac_srcdir=$srcdir$ac_dir_suffix;
1374 ac_top_srcdir=$srcdir
1375 ac_abs_top_srcdir=$srcdir ;;
1377 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1378 ac_top_srcdir=$ac_top_build_prefix$srcdir
1379 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1381 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1383 cd "$ac_dir" || { ac_status=$?; continue; }
1384 # Check for guested configure.
1385 if test -f "$ac_srcdir/configure.gnu"; then
1387 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1388 elif test -f "$ac_srcdir/configure"; then
1390 $SHELL "$ac_srcdir/configure" --help=recursive
1392 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1394 cd "$ac_pwd" || { ac_status=$?; break; }
1398 test -n "$ac_init_help" && exit $ac_status
1399 if $ac_init_version; then
1402 generated by GNU Autoconf 2.67
1404 Copyright (C) 2010 Free Software Foundation, Inc.
1405 This configure script is free software; the Free Software Foundation
1406 gives unlimited permission to copy, distribute and modify it.
1411 ## ------------------------ ##
1412 ## Autoconf initialization. ##
1413 ## ------------------------ ##
1415 @%:@ ac_fn_c_try_compile LINENO
1416 @%:@ --------------------------
1417 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1418 ac_fn_c_try_compile ()
1420 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1421 rm -f conftest.$ac_objext
1422 if { { ac_try="$ac_compile"
1424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1425 *) ac_try_echo=$ac_try;;
1427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1428 $as_echo "$ac_try_echo"; } >&5
1429 (eval "$ac_compile") 2>conftest.err
1431 if test -s conftest.err; then
1432 grep -v '^ *+' conftest.err >conftest.er1
1433 cat conftest.er1 >&5
1434 mv -f conftest.er1 conftest.err
1436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1437 test $ac_status = 0; } && {
1438 test -z "$ac_c_werror_flag" ||
1439 test ! -s conftest.err
1440 } && test -s conftest.$ac_objext; then :
1443 $as_echo "$as_me: failed program was:" >&5
1444 sed 's/^/| /' conftest.$ac_ext >&5
1448 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1449 as_fn_set_status $ac_retval
1451 } @%:@ ac_fn_c_try_compile
1453 @%:@ ac_fn_c_try_link LINENO
1454 @%:@ -----------------------
1455 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1458 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1459 rm -f conftest.$ac_objext conftest$ac_exeext
1460 if { { ac_try="$ac_link"
1462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1463 *) ac_try_echo=$ac_try;;
1465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1466 $as_echo "$ac_try_echo"; } >&5
1467 (eval "$ac_link") 2>conftest.err
1469 if test -s conftest.err; then
1470 grep -v '^ *+' conftest.err >conftest.er1
1471 cat conftest.er1 >&5
1472 mv -f conftest.er1 conftest.err
1474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1475 test $ac_status = 0; } && {
1476 test -z "$ac_c_werror_flag" ||
1477 test ! -s conftest.err
1478 } && test -s conftest$ac_exeext && {
1479 test "$cross_compiling" = yes ||
1480 $as_test_x conftest$ac_exeext
1484 $as_echo "$as_me: failed program was:" >&5
1485 sed 's/^/| /' conftest.$ac_ext >&5
1489 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1490 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1491 # interfere with the next link command; also delete a directory that is
1492 # left behind by Apple's compiler. We do this before executing the actions.
1493 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1494 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1495 as_fn_set_status $ac_retval
1497 } @%:@ ac_fn_c_try_link
1499 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1500 @%:@ ----------------------------------
1501 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1502 ac_fn_c_check_func ()
1504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1506 $as_echo_n "checking for $2... " >&6; }
1507 if eval "test \"\${$3+set}\"" = set; then :
1508 $as_echo_n "(cached) " >&6
1510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1511 /* end confdefs.h. */
1512 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1514 #define $2 innocuous_$2
1516 /* System header to define __stub macros and hopefully few prototypes,
1517 which can conflict with char $2 (); below.
1518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1519 <limits.h> exists even on freestanding compilers. */
1522 # include <limits.h>
1524 # include <assert.h>
1529 /* Override any GCC internal prototype to avoid an error.
1530 Use char because int might match the return type of a GCC
1531 builtin and then its argument prototype would still apply. */
1536 /* The GNU C library defines this for functions which it implements
1537 to always fail with ENOSYS. Some functions are actually named
1538 something starting with __ and the normal name is an alias. */
1539 #if defined __stub_$2 || defined __stub___$2
1551 if ac_fn_c_try_link "$LINENO"; then :
1556 rm -f core conftest.err conftest.$ac_objext \
1557 conftest$ac_exeext conftest.$ac_ext
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1561 $as_echo "$ac_res" >&6; }
1562 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1564 } @%:@ ac_fn_c_check_func
1566 @%:@ ac_fn_c_try_cpp LINENO
1567 @%:@ ----------------------
1568 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 if { { ac_try="$ac_cpp conftest.$ac_ext"
1574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575 *) ac_try_echo=$ac_try;;
1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578 $as_echo "$ac_try_echo"; } >&5
1579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1581 if test -s conftest.err; then
1582 grep -v '^ *+' conftest.err >conftest.er1
1583 cat conftest.er1 >&5
1584 mv -f conftest.er1 conftest.err
1586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587 test $ac_status = 0; } > conftest.i && {
1588 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1589 test ! -s conftest.err
1593 $as_echo "$as_me: failed program was:" >&5
1594 sed 's/^/| /' conftest.$ac_ext >&5
1598 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1599 as_fn_set_status $ac_retval
1601 } @%:@ ac_fn_c_try_cpp
1603 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1604 @%:@ -------------------------------------------------------
1605 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1606 @%:@ the include files in INCLUDES and setting the cache variable VAR
1608 ac_fn_c_check_header_mongrel ()
1610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611 if eval "test \"\${$3+set}\"" = set; then :
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613 $as_echo_n "checking for $2... " >&6; }
1614 if eval "test \"\${$3+set}\"" = set; then :
1615 $as_echo_n "(cached) " >&6
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1619 $as_echo "$ac_res" >&6; }
1621 # Is the header compilable?
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1623 $as_echo_n "checking $2 usability... " >&6; }
1624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1625 /* end confdefs.h. */
1629 if ac_fn_c_try_compile "$LINENO"; then :
1630 ac_header_compiler=yes
1632 ac_header_compiler=no
1634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1636 $as_echo "$ac_header_compiler" >&6; }
1638 # Is the header present?
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1640 $as_echo_n "checking $2 presence... " >&6; }
1641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642 /* end confdefs.h. */
1645 if ac_fn_c_try_cpp "$LINENO"; then :
1646 ac_header_preproc=yes
1648 ac_header_preproc=no
1650 rm -f conftest.err conftest.i conftest.$ac_ext
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1652 $as_echo "$ac_header_preproc" >&6; }
1654 # So? What about this header?
1655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1658 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1660 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1664 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1666 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1668 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1670 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1672 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676 $as_echo_n "checking for $2... " >&6; }
1677 if eval "test \"\${$3+set}\"" = set; then :
1678 $as_echo_n "(cached) " >&6
1680 eval "$3=\$ac_header_compiler"
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1686 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688 } @%:@ ac_fn_c_check_header_mongrel
1690 @%:@ ac_fn_c_try_run LINENO
1691 @%:@ ----------------------
1692 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1693 @%:@ that executables *can* be run.
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 if { { ac_try="$ac_link"
1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700 *) ac_try_echo=$ac_try;;
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_link") 2>&5
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1708 { { case "(($ac_try" in
1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_try") 2>&5
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; }; }; then :
1720 $as_echo "$as_me: program exited with status $ac_status" >&5
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1724 ac_retval=$ac_status
1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728 as_fn_set_status $ac_retval
1730 } @%:@ ac_fn_c_try_run
1732 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1733 @%:@ -------------------------------------------------------
1734 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1735 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1736 ac_fn_c_check_header_compile ()
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if eval "test \"\${$3+set}\"" = set; then :
1742 $as_echo_n "(cached) " >&6
1744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745 /* end confdefs.h. */
1749 if ac_fn_c_try_compile "$LINENO"; then :
1754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758 $as_echo "$ac_res" >&6; }
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1761 } @%:@ ac_fn_c_check_header_compile
1763 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1764 @%:@ -------------------------------------------
1765 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1766 @%:@ variable VAR accordingly.
1767 ac_fn_c_check_type ()
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 "test \"\${$3+set}\"" = set; then :
1773 $as_echo_n "(cached) " >&6
1776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1777 /* end confdefs.h. */
1788 if ac_fn_c_try_compile "$LINENO"; then :
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1801 if ac_fn_c_try_compile "$LINENO"; then :
1806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1812 $as_echo "$ac_res" >&6; }
1813 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1815 } @%:@ ac_fn_c_check_type
1816 cat >config.log <<_ACEOF
1817 This file contains any messages produced by compilers while
1818 running configure, to aid debugging if configure makes a mistake.
1820 It was created by $as_me, which was
1821 generated by GNU Autoconf 2.67. Invocation command line was
1833 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1834 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1835 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1836 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1837 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1839 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1840 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1842 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1843 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1844 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1845 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1846 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1847 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1848 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 test -z "$as_dir" && as_dir=.
1857 $as_echo "PATH: $as_dir"
1873 # Keep a trace of the command line.
1874 # Strip out --no-create and --no-recursion so they do not pile up.
1875 # Strip out --silent because we don't want to record it for future runs.
1876 # Also quote any args containing shell meta-characters.
1877 # Make two passes to allow for proper duplicate-argument suppression.
1881 ac_must_keep_next=false
1887 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1888 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1889 | -silent | --silent | --silen | --sile | --sil)
1892 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1895 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1897 as_fn_append ac_configure_args1 " '$ac_arg'"
1898 if test $ac_must_keep_next = true; then
1899 ac_must_keep_next=false # Got value, back to normal.
1902 *=* | --config-cache | -C | -disable-* | --disable-* \
1903 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1904 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1905 | -with-* | --with-* | -without-* | --without-* | --x)
1906 case "$ac_configure_args0 " in
1907 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1910 -* ) ac_must_keep_next=true ;;
1913 as_fn_append ac_configure_args " '$ac_arg'"
1918 { ac_configure_args0=; unset ac_configure_args0;}
1919 { ac_configure_args1=; unset ac_configure_args1;}
1921 # When interrupted or exit'd, cleanup temporary files, and complete
1922 # config.log. We remove comments because anyway the quotes in there
1923 # would cause problems or look ugly.
1924 # WARNING: Use '\'' to represent an apostrophe within the trap.
1925 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1926 trap 'exit_status=$?
1927 # Save into config.log some information that might help in debugging.
1931 $as_echo "## ---------------- ##
1932 ## Cache variables. ##
1933 ## ---------------- ##"
1935 # The following way of writing the cache mishandles newlines in values,
1937 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1938 eval ac_val=\$$ac_var
1942 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1943 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1946 _ | IFS | as_nl) ;; #(
1947 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1948 *) { eval $ac_var=; unset $ac_var;} ;;
1953 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1954 *${as_nl}ac_space=\ *)
1956 "s/'\''/'\''\\\\'\'''\''/g;
1957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1960 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1967 $as_echo "## ----------------- ##
1968 ## Output variables. ##
1969 ## ----------------- ##"
1971 for ac_var in $ac_subst_vars
1973 eval ac_val=\$$ac_var
1975 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1977 $as_echo "$ac_var='\''$ac_val'\''"
1981 if test -n "$ac_subst_files"; then
1982 $as_echo "## ------------------- ##
1983 ## File substitutions. ##
1984 ## ------------------- ##"
1986 for ac_var in $ac_subst_files
1988 eval ac_val=\$$ac_var
1990 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1992 $as_echo "$ac_var='\''$ac_val'\''"
1997 if test -s confdefs.h; then
1998 $as_echo "## ----------- ##
2005 test "$ac_signal" != 0 &&
2006 $as_echo "$as_me: caught signal $ac_signal"
2007 $as_echo "$as_me: exit $exit_status"
2009 rm -f core *.core core.conftest.* &&
2010 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2013 for ac_signal in 1 2 13 15; do
2014 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2018 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2019 rm -f -r conftest* confdefs.h
2021 $as_echo "/* confdefs.h */" > confdefs.h
2023 # Predefined preprocessor variables.
2025 cat >>confdefs.h <<_ACEOF
2026 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2029 cat >>confdefs.h <<_ACEOF
2030 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2033 cat >>confdefs.h <<_ACEOF
2034 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2037 cat >>confdefs.h <<_ACEOF
2038 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2041 cat >>confdefs.h <<_ACEOF
2042 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2045 cat >>confdefs.h <<_ACEOF
2046 @%:@define PACKAGE_URL "$PACKAGE_URL"
2050 # Let the site file select an alternate cache file if it wants to.
2051 # Prefer an explicitly selected file to automatically selected ones.
2054 if test -n "$CONFIG_SITE"; then
2055 # We do not want a PATH search for config.site.
2056 case $CONFIG_SITE in @%:@((
2057 -*) ac_site_file1=./$CONFIG_SITE;;
2058 */*) ac_site_file1=$CONFIG_SITE;;
2059 *) ac_site_file1=./$CONFIG_SITE;;
2061 elif test "x$prefix" != xNONE; then
2062 ac_site_file1=$prefix/share/config.site
2063 ac_site_file2=$prefix/etc/config.site
2065 ac_site_file1=$ac_default_prefix/share/config.site
2066 ac_site_file2=$ac_default_prefix/etc/config.site
2068 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2070 test "x$ac_site_file" = xNONE && continue
2071 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2073 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2074 sed 's/^/| /' "$ac_site_file" >&5
2076 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2078 as_fn_error $? "failed to load site script $ac_site_file
2079 See \`config.log' for more details" "$LINENO" 5 ; }
2083 if test -r "$cache_file"; then
2084 # Some versions of bash will fail to source /dev/null (special files
2085 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2086 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2088 $as_echo "$as_me: loading cache $cache_file" >&6;}
2090 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2091 *) . "./$cache_file";;
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2096 $as_echo "$as_me: creating cache $cache_file" >&6;}
2100 # Check that the precious variables saved in the cache have kept the same
2102 ac_cache_corrupted=false
2103 for ac_var in $ac_precious_vars; do
2104 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2105 eval ac_new_set=\$ac_env_${ac_var}_set
2106 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2107 eval ac_new_val=\$ac_env_${ac_var}_value
2108 case $ac_old_set,$ac_new_set in
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2111 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2112 ac_cache_corrupted=: ;;
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2115 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2116 ac_cache_corrupted=: ;;
2119 if test "x$ac_old_val" != "x$ac_new_val"; then
2120 # differences in whitespace do not lead to failure.
2121 ac_old_val_w=`echo x $ac_old_val`
2122 ac_new_val_w=`echo x $ac_new_val`
2123 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2125 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2126 ac_cache_corrupted=:
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2129 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2130 eval $ac_var=\$ac_old_val
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2133 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2135 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2138 # Pass precious variables to config.status.
2139 if test "$ac_new_set" = set; then
2141 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2142 *) ac_arg=$ac_var=$ac_new_val ;;
2144 case " $ac_configure_args " in
2145 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2146 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2150 if $ac_cache_corrupted; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2154 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2155 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2157 ## -------------------- ##
2158 ## Main body of script. ##
2159 ## -------------------- ##
2162 ac_cpp='$CPP $CPPFLAGS'
2163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2169 ac_config_headers="$ac_config_headers config.h"
2171 am__api_version="1.9"
2173 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2174 if test -f "$ac_dir/install-sh"; then
2176 ac_install_sh="$ac_aux_dir/install-sh -c"
2178 elif test -f "$ac_dir/install.sh"; then
2180 ac_install_sh="$ac_aux_dir/install.sh -c"
2182 elif test -f "$ac_dir/shtool"; then
2184 ac_install_sh="$ac_aux_dir/shtool install -c"
2188 if test -z "$ac_aux_dir"; then
2189 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2192 # These three variables are undocumented and unsupported,
2193 # and are intended to be withdrawn in a future Autoconf release.
2194 # They can cause serious problems if a builder's source tree is in a directory
2195 # whose full name contains unusual characters.
2196 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2197 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2198 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2201 # Find a good install program. We prefer a C program (faster),
2202 # so one script is as good as another. But avoid the broken or
2203 # incompatible versions:
2204 # SysV /etc/install, /usr/sbin/install
2205 # SunOS /usr/etc/install
2206 # IRIX /sbin/install
2208 # AmigaOS /C/install, which installs bootblocks on floppy discs
2209 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2210 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2211 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2212 # OS/2's system install, which has a completely different semantic
2213 # ./install, which can be erroneously created by make from ./install.sh.
2214 # Reject install programs that cannot install multiple files.
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2216 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2217 if test -z "$INSTALL"; then
2218 if test "${ac_cv_path_install+set}" = set; then :
2219 $as_echo_n "(cached) " >&6
2221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2225 test -z "$as_dir" && as_dir=.
2226 # Account for people who put trailing slashes in PATH elements.
2227 case $as_dir/ in @%:@((
2228 ./ | .// | /[cC]/* | \
2229 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2230 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2233 # OSF1 and SCO ODT 3.0 have their own names for install.
2234 # Don't use installbsd from OSF since it installs stuff as root
2236 for ac_prog in ginstall scoinst install; do
2237 for ac_exec_ext in '' $ac_executable_extensions; do
2238 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2239 if test $ac_prog = install &&
2240 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2241 # AIX install. It has an incompatible calling convention.
2243 elif test $ac_prog = install &&
2244 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2245 # program-specific install script used by HP pwplus--don't use.
2248 rm -rf conftest.one conftest.two conftest.dir
2249 echo one > conftest.one
2250 echo two > conftest.two
2252 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2253 test -s conftest.one && test -s conftest.two &&
2254 test -s conftest.dir/conftest.one &&
2255 test -s conftest.dir/conftest.two
2257 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2270 rm -rf conftest.one conftest.two conftest.dir
2273 if test "${ac_cv_path_install+set}" = set; then
2274 INSTALL=$ac_cv_path_install
2276 # As a last resort, use the slow shell script. Don't cache a
2277 # value for INSTALL within a source directory, because that will
2278 # break other packages using the cache if that directory is
2279 # removed, or if the value is a relative name.
2280 INSTALL=$ac_install_sh
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2284 $as_echo "$INSTALL" >&6; }
2286 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2287 # It thinks the first close brace ends the variable substitution.
2288 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2290 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2292 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2295 $as_echo_n "checking whether build environment is sane... " >&6; }
2298 echo timestamp > conftest.file
2299 # Do `set' in a subshell so we don't clobber the current shell's
2300 # arguments. Must try -L first in case configure is actually a
2301 # symlink; some systems play weird games with the mod time of symlinks
2302 # (eg FreeBSD returns the mod time of the symlink's containing
2305 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2306 if test "$*" = "X"; then
2308 set X `ls -t $srcdir/configure conftest.file`
2311 if test "$*" != "X $srcdir/configure conftest.file" \
2312 && test "$*" != "X conftest.file $srcdir/configure"; then
2314 # If neither matched, then we have a broken ls. This can happen
2315 # if, for instance, CONFIG_SHELL is bash and it inherits a
2316 # broken ls alias from the environment. This has actually
2317 # happened. Such a system could not be considered "sane".
2318 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2319 alias in your environment" "$LINENO" 5
2322 test "$2" = conftest.file
2328 as_fn_error $? "newly created file is older than distributed files!
2329 Check your system clock" "$LINENO" 5
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2332 $as_echo "yes" >&6; }
2333 test "$program_prefix" != NONE &&
2334 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2335 # Use a double $ so make ignores it.
2336 test "$program_suffix" != NONE &&
2337 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2338 # Double any \ or $.
2339 # By default was `s,x,x', remove it if useless.
2340 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2341 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2343 # expand $ac_aux_dir to an absolute path
2344 am_aux_dir=`cd $ac_aux_dir && pwd`
2346 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2347 # Use eval to expand $SHELL
2348 if eval "$MISSING --run true"; then
2349 am_missing_run="$MISSING --run "
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2353 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2356 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2357 # We used to keeping the `.' as first argument, in order to
2358 # allow $(mkdir_p) to be used without argument. As in
2359 # $(mkdir_p) $(somedir)
2360 # where $(somedir) is conditionally defined. However this is wrong
2362 # 1. if the package is installed by a user who cannot write `.'
2363 # make install will fail,
2364 # 2. the above comment should most certainly read
2365 # $(mkdir_p) $(DESTDIR)$(somedir)
2366 # so it does not work when $(somedir) is undefined and
2367 # $(DESTDIR) is not.
2368 # To support the latter case, we have to write
2369 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2370 # so the `.' trick is pointless.
2371 mkdir_p='mkdir -p --'
2373 # On NextStep and OpenStep, the `mkdir' command does not
2374 # recognize any option. It will interpret all options as
2375 # directories to create, and then abort because `.' already
2377 for d in ./-p ./--version;
2379 test -d $d && rmdir $d
2381 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2382 if test -f "$ac_aux_dir/mkinstalldirs"; then
2383 mkdir_p='$(mkinstalldirs)'
2385 mkdir_p='$(install_sh) -d'
2389 for ac_prog in gawk mawk nawk awk
2391 # Extract the first word of "$ac_prog", so it can be a program name with args.
2392 set dummy $ac_prog; ac_word=$2
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2394 $as_echo_n "checking for $ac_word... " >&6; }
2395 if test "${ac_cv_prog_AWK+set}" = set; then :
2396 $as_echo_n "(cached) " >&6
2398 if test -n "$AWK"; then
2399 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2405 test -z "$as_dir" && as_dir=.
2406 for ac_exec_ext in '' $ac_executable_extensions; do
2407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2408 ac_cv_prog_AWK="$ac_prog"
2409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 if test -n "$AWK"; then
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2421 $as_echo "$AWK" >&6; }
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2424 $as_echo "no" >&6; }
2428 test -n "$AWK" && break
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2432 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2434 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2435 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2436 $as_echo_n "(cached) " >&6
2438 cat >conftest.make <<\_ACEOF
2441 @echo '@@@%%%=$(MAKE)=@@@%%%'
2443 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2444 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2446 eval ac_cv_prog_make_${ac_make}_set=yes;;
2448 eval ac_cv_prog_make_${ac_make}_set=no;;
2452 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2454 $as_echo "yes" >&6; }
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2458 $as_echo "no" >&6; }
2459 SET_MAKE="MAKE=${MAKE-make}"
2462 rm -rf .tst 2>/dev/null
2463 mkdir .tst 2>/dev/null
2464 if test -d .tst; then
2469 rmdir .tst 2>/dev/null
2471 # test to see if srcdir already configured
2472 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2473 test -f $srcdir/config.status; then
2474 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2477 # test whether we have cygpath
2478 if test -z "$CYGPATH_W"; then
2479 if (cygpath --version) >/dev/null 2>/dev/null; then
2480 CYGPATH_W='cygpath -w'
2487 # Define the identity of the package.
2492 cat >>confdefs.h <<_ACEOF
2493 @%:@define PACKAGE "$PACKAGE"
2497 cat >>confdefs.h <<_ACEOF
2498 @%:@define VERSION "$VERSION"
2501 # Some tools Automake needs.
2503 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2506 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2509 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2512 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2515 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2517 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2519 # Installed binaries are usually stripped using `strip' when the user
2520 # run `make install-strip'. However `strip' might not be the right
2521 # tool to use in cross-compilation environments, therefore Automake
2522 # will honor the `STRIP' environment variable to overrule this program.
2523 if test "$cross_compiling" != no; then
2524 if test -n "$ac_tool_prefix"; then
2525 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2526 set dummy ${ac_tool_prefix}strip; ac_word=$2
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2528 $as_echo_n "checking for $ac_word... " >&6; }
2529 if test "${ac_cv_prog_STRIP+set}" = set; then :
2530 $as_echo_n "(cached) " >&6
2532 if test -n "$STRIP"; then
2533 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 test -z "$as_dir" && as_dir=.
2540 for ac_exec_ext in '' $ac_executable_extensions; do
2541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 STRIP=$ac_cv_prog_STRIP
2553 if test -n "$STRIP"; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2555 $as_echo "$STRIP" >&6; }
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558 $as_echo "no" >&6; }
2563 if test -z "$ac_cv_prog_STRIP"; then
2565 # Extract the first word of "strip", so it can be a program name with args.
2566 set dummy strip; ac_word=$2
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2568 $as_echo_n "checking for $ac_word... " >&6; }
2569 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2570 $as_echo_n "(cached) " >&6
2572 if test -n "$ac_ct_STRIP"; then
2573 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir=.
2580 for ac_exec_ext in '' $ac_executable_extensions; do
2581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2582 ac_cv_prog_ac_ct_STRIP="strip"
2583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2592 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2593 if test -n "$ac_ct_STRIP"; then
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2595 $as_echo "$ac_ct_STRIP" >&6; }
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2598 $as_echo "no" >&6; }
2601 if test "x$ac_ct_STRIP" = x; then
2604 case $cross_compiling:$ac_tool_warned in
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2608 ac_tool_warned=yes ;;
2613 STRIP="$ac_cv_prog_STRIP"
2617 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2619 # We need awk for the "check" target. The system "awk" is bad on
2621 # Always define AMTAR for backward compatibility.
2623 AMTAR=${AMTAR-"${am_missing_run}tar"}
2625 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2632 # check common command line options early
2634 $as_echo "@%:@define PPP_BINARY \"/usr/sbin/pppd\"" >>confdefs.h
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for use of BSD PPP" >&5
2637 $as_echo_n "checking command line for use of BSD PPP... " >&6; }
2639 @%:@ Check whether --with-bsdppp was given.
2640 if test "${with_bsdppp+set}" = set; then :
2641 withval=$with_bsdppp;
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: BSD user-space ppp" >&5
2645 $as_echo "BSD user-space ppp" >&6; }
2646 $as_echo "@%:@define BSDUSER_PPP 1" >>confdefs.h
2648 BSDUSER_PPP=$with_bsdppp
2649 $as_echo "@%:@define PPP_BINARY \"/usr/sbin/ppp\"" >>confdefs.h
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: explicit standard pppd" >&5
2655 $as_echo "explicit standard pppd" >&6; }
2658 # only yes or no are expected for this option
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unrecognised... terminating" >&5
2660 $as_echo "unrecognised... terminating" >&6; }
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default standard pppd" >&5
2667 $as_echo "default standard pppd" >&6; }
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for use of SLIRP" >&5
2672 $as_echo_n "checking command line for use of SLIRP... " >&6; }
2674 @%:@ Check whether --with-slirp was given.
2675 if test "${with_slirp+set}" = set; then :
2676 withval=$with_slirp;
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2680 $as_echo "yes" >&6; }
2681 $as_echo "@%:@define SLIRP 1" >>confdefs.h
2684 $as_echo "@%:@define PPP_BINARY \"/bin/slirp\"" >>confdefs.h
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: explicit no" >&5
2690 $as_echo "explicit no" >&6; }
2693 # only yes or no are expected for this option
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unrecognised... terminating" >&5
2695 $as_echo "unrecognised... terminating" >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default no" >&5
2702 $as_echo "default no" >&6; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for syslog facility name" >&5
2707 $as_echo_n "checking command line for syslog facility name... " >&6; }
2708 @%:@ Check whether --enable-facility was given.
2709 if test "${enable_facility+set}" = set; then :
2710 enableval=$enable_facility;
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
2712 $as_echo "$enableval" >&6; }
2713 cat >>confdefs.h <<_ACEOF
2714 @%:@define PPTP_FACILITY $enableval
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LOG_DAEMON" >&5
2721 $as_echo "default LOG_DAEMON" >&6; }
2722 cat >>confdefs.h <<_ACEOF
2723 @%:@define PPTP_FACILITY LOG_DAEMON
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command line for bcrelay build" >&5
2731 $as_echo_n "checking command line for bcrelay build... " >&6; }
2732 @%:@ Check whether --enable-bcrelay was given.
2733 if test "${enable_bcrelay+set}" = set; then :
2734 enableval=$enable_bcrelay;
2735 case "$enableval" in
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2738 $as_echo "yes" >&6; }
2739 $as_echo "@%:@define BCRELAY 1" >>confdefs.h
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: explicit no" >&5
2746 $as_echo "explicit no" >&6; }
2749 # only yes or no are expected for this option
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unrecognised... terminating" >&5
2751 $as_echo "unrecognised... terminating" >&6; }
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default no" >&5
2758 $as_echo "default no" >&6; }
2763 ac_cpp='$CPP $CPPFLAGS'
2764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2767 if test -n "$ac_tool_prefix"; then
2768 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2769 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if test "${ac_cv_prog_CC+set}" = set; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$CC"; then
2776 ac_cv_prog_CC="$CC" # Let the user override the test.
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir=.
2783 for ac_exec_ext in '' $ac_executable_extensions; do
2784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2796 if test -n "$CC"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2798 $as_echo "$CC" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2806 if test -z "$ac_cv_prog_CC"; then
2808 # Extract the first word of "gcc", so it can be a program name with args.
2809 set dummy gcc; ac_word=$2
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2811 $as_echo_n "checking for $ac_word... " >&6; }
2812 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2813 $as_echo_n "(cached) " >&6
2815 if test -n "$ac_ct_CC"; then
2816 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2822 test -z "$as_dir" && as_dir=.
2823 for ac_exec_ext in '' $ac_executable_extensions; do
2824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2825 ac_cv_prog_ac_ct_CC="gcc"
2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2836 if test -n "$ac_ct_CC"; then
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2838 $as_echo "$ac_ct_CC" >&6; }
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2841 $as_echo "no" >&6; }
2844 if test "x$ac_ct_CC" = x; then
2847 case $cross_compiling:$ac_tool_warned in
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2851 ac_tool_warned=yes ;;
2859 if test -z "$CC"; then
2860 if test -n "$ac_tool_prefix"; then
2861 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2862 set dummy ${ac_tool_prefix}cc; ac_word=$2
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864 $as_echo_n "checking for $ac_word... " >&6; }
2865 if test "${ac_cv_prog_CC+set}" = set; then :
2866 $as_echo_n "(cached) " >&6
2868 if test -n "$CC"; then
2869 ac_cv_prog_CC="$CC" # Let the user override the test.
2871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2875 test -z "$as_dir" && as_dir=.
2876 for ac_exec_ext in '' $ac_executable_extensions; do
2877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2878 ac_cv_prog_CC="${ac_tool_prefix}cc"
2879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889 if test -n "$CC"; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2891 $as_echo "$CC" >&6; }
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2894 $as_echo "no" >&6; }
2900 if test -z "$CC"; then
2901 # Extract the first word of "cc", so it can be a program name with args.
2902 set dummy cc; ac_word=$2
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904 $as_echo_n "checking for $ac_word... " >&6; }
2905 if test "${ac_cv_prog_CC+set}" = set; then :
2906 $as_echo_n "(cached) " >&6
2908 if test -n "$CC"; then
2909 ac_cv_prog_CC="$CC" # Let the user override the test.
2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir=.
2917 for ac_exec_ext in '' $ac_executable_extensions; do
2918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2919 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2920 ac_prog_rejected=yes
2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2931 if test $ac_prog_rejected = yes; then
2932 # We found a bogon in the path, so make sure we never use it.
2933 set dummy $ac_cv_prog_CC
2935 if test $@%:@ != 0; then
2936 # We chose a different compiler from the bogus one.
2937 # However, it has the same basename, so the bogon will be chosen
2938 # first if we set CC to just the basename; use the full file name.
2940 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2946 if test -n "$CC"; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2948 $as_echo "$CC" >&6; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2956 if test -z "$CC"; then
2957 if test -n "$ac_tool_prefix"; then
2958 for ac_prog in cl.exe
2960 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2961 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963 $as_echo_n "checking for $ac_word... " >&6; }
2964 if test "${ac_cv_prog_CC+set}" = set; then :
2965 $as_echo_n "(cached) " >&6
2967 if test -n "$CC"; then
2968 ac_cv_prog_CC="$CC" # Let the user override the test.
2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2974 test -z "$as_dir" && as_dir=.
2975 for ac_exec_ext in '' $ac_executable_extensions; do
2976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2977 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 if test -n "$CC"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2990 $as_echo "$CC" >&6; }
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2997 test -n "$CC" && break
3000 if test -z "$CC"; then
3002 for ac_prog in cl.exe
3004 # Extract the first word of "$ac_prog", so it can be a program name with args.
3005 set dummy $ac_prog; ac_word=$2
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3007 $as_echo_n "checking for $ac_word... " >&6; }
3008 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3009 $as_echo_n "(cached) " >&6
3011 if test -n "$ac_ct_CC"; then
3012 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018 test -z "$as_dir" && as_dir=.
3019 for ac_exec_ext in '' $ac_executable_extensions; do
3020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3021 ac_cv_prog_ac_ct_CC="$ac_prog"
3022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3032 if test -n "$ac_ct_CC"; then
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3034 $as_echo "$ac_ct_CC" >&6; }
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3037 $as_echo "no" >&6; }
3041 test -n "$ac_ct_CC" && break
3044 if test "x$ac_ct_CC" = x; then
3047 case $cross_compiling:$ac_tool_warned in
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3051 ac_tool_warned=yes ;;
3060 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3062 as_fn_error $? "no acceptable C compiler found in \$PATH
3063 See \`config.log' for more details" "$LINENO" 5 ; }
3065 # Provide some information about the compiler.
3066 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3069 for ac_option in --version -v -V -qversion; do
3070 { { ac_try="$ac_compiler $ac_option >&5"
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3076 $as_echo "$ac_try_echo"; } >&5
3077 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3079 if test -s conftest.err; then
3081 ... rest of stderr output deleted ...
3082 10q' conftest.err >conftest.er1
3083 cat conftest.er1 >&5
3085 rm -f conftest.er1 conftest.err
3086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3087 test $ac_status = 0; }
3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h. */
3101 ac_clean_files_save=$ac_clean_files
3102 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3103 # Try to create an executable without -o first, disregard a.out.
3104 # It will help us diagnose broken compilers, and finding out an intuition
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3107 $as_echo_n "checking whether the C compiler works... " >&6; }
3108 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3110 # The possible output files:
3111 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3114 for ac_file in $ac_files
3117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3118 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3123 if { { ac_try="$ac_link_default"
3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126 *) ac_try_echo=$ac_try;;
3128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3129 $as_echo "$ac_try_echo"; } >&5
3130 (eval "$ac_link_default") 2>&5
3132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3133 test $ac_status = 0; }; then :
3134 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3135 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3136 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3137 # so that the user can short-circuit this test for compilers unknown to
3139 for ac_file in $ac_files ''
3141 test -f "$ac_file" || continue
3143 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3146 # We found the default executable, but exeext='' is most
3150 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3152 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3154 # We set ac_cv_exeext here because the later test for it is not
3155 # safe: cross compilers may not add the suffix if given an `-o'
3156 # argument, so we may need to know it at that point already.
3157 # Even if this section looks crufty: it has the advantage of
3164 test "$ac_cv_exeext" = no && ac_cv_exeext=
3169 if test -z "$ac_file"; then :
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 $as_echo "no" >&6; }
3172 $as_echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.$ac_ext >&5
3175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3177 as_fn_error 77 "C compiler cannot create executables
3178 See \`config.log' for more details" "$LINENO" 5 ; }
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3181 $as_echo "yes" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3184 $as_echo_n "checking for C compiler default output file name... " >&6; }
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3186 $as_echo "$ac_file" >&6; }
3187 ac_exeext=$ac_cv_exeext
3189 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3190 ac_clean_files=$ac_clean_files_save
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3192 $as_echo_n "checking for suffix of executables... " >&6; }
3193 if { { ac_try="$ac_link"
3195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3196 *) ac_try_echo=$ac_try;;
3198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3199 $as_echo "$ac_try_echo"; } >&5
3200 (eval "$ac_link") 2>&5
3202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3203 test $ac_status = 0; }; then :
3204 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3205 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3206 # work properly (i.e., refer to `conftest.exe'), while it won't with
3208 for ac_file in conftest.exe conftest conftest.*; do
3209 test -f "$ac_file" || continue
3211 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3212 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3220 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3221 See \`config.log' for more details" "$LINENO" 5 ; }
3223 rm -f conftest conftest$ac_cv_exeext
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3225 $as_echo "$ac_cv_exeext" >&6; }
3227 rm -f conftest.$ac_ext
3228 EXEEXT=$ac_cv_exeext
3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h. */
3232 @%:@include <stdio.h>
3236 FILE *f = fopen ("conftest.out", "w");
3237 return ferror (f) || fclose (f) != 0;
3243 ac_clean_files="$ac_clean_files conftest.out"
3244 # Check that the compiler produces executables we can run. If not, either
3245 # the compiler is broken, or we cross compile.
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3247 $as_echo_n "checking whether we are cross compiling... " >&6; }
3248 if test "$cross_compiling" != yes; then
3249 { { ac_try="$ac_link"
3251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3252 *) ac_try_echo=$ac_try;;
3254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3255 $as_echo "$ac_try_echo"; } >&5
3256 (eval "$ac_link") 2>&5
3258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3259 test $ac_status = 0; }
3260 if { ac_try='./conftest$ac_cv_exeext'
3261 { { case "(($ac_try" in
3262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263 *) ac_try_echo=$ac_try;;
3265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3266 $as_echo "$ac_try_echo"; } >&5
3267 (eval "$ac_try") 2>&5
3269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3270 test $ac_status = 0; }; }; then
3273 if test "$cross_compiling" = maybe; then
3276 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3278 as_fn_error $? "cannot run C compiled programs.
3279 If you meant to cross compile, use \`--host'.
3280 See \`config.log' for more details" "$LINENO" 5 ; }
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3285 $as_echo "$cross_compiling" >&6; }
3287 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3288 ac_clean_files=$ac_clean_files_save
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3290 $as_echo_n "checking for suffix of object files... " >&6; }
3291 if test "${ac_cv_objext+set}" = set; then :
3292 $as_echo_n "(cached) " >&6
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3305 rm -f conftest.o conftest.obj
3306 if { { ac_try="$ac_compile"
3308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3309 *) ac_try_echo=$ac_try;;
3311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3312 $as_echo "$ac_try_echo"; } >&5
3313 (eval "$ac_compile") 2>&5
3315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3316 test $ac_status = 0; }; then :
3317 for ac_file in conftest.o conftest.obj conftest.*; do
3318 test -f "$ac_file" || continue;
3320 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3321 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3326 $as_echo "$as_me: failed program was:" >&5
3327 sed 's/^/| /' conftest.$ac_ext >&5
3329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3331 as_fn_error $? "cannot compute suffix of object files: cannot compile
3332 See \`config.log' for more details" "$LINENO" 5 ; }
3334 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3337 $as_echo "$ac_cv_objext" >&6; }
3338 OBJEXT=$ac_cv_objext
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3341 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3342 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3343 $as_echo_n "(cached) " >&6
3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3359 if ac_fn_c_try_compile "$LINENO"; then :
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3369 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3370 if test $ac_compiler_gnu = yes; then
3375 ac_test_CFLAGS=${CFLAGS+set}
3376 ac_save_CFLAGS=$CFLAGS
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3378 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3379 if test "${ac_cv_prog_cc_g+set}" = set; then :
3380 $as_echo_n "(cached) " >&6
3382 ac_save_c_werror_flag=$ac_c_werror_flag
3383 ac_c_werror_flag=yes
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3397 if ac_fn_c_try_compile "$LINENO"; then :
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3412 if ac_fn_c_try_compile "$LINENO"; then :
3415 ac_c_werror_flag=$ac_save_c_werror_flag
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3428 if ac_fn_c_try_compile "$LINENO"; then :
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 ac_c_werror_flag=$ac_save_c_werror_flag
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3439 $as_echo "$ac_cv_prog_cc_g" >&6; }
3440 if test "$ac_test_CFLAGS" = set; then
3441 CFLAGS=$ac_save_CFLAGS
3442 elif test $ac_cv_prog_cc_g = yes; then
3443 if test "$GCC" = yes; then
3449 if test "$GCC" = yes; then
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3456 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3457 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3458 $as_echo_n "(cached) " >&6
3460 ac_cv_prog_cc_c89=no
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3466 #include <sys/types.h>
3467 #include <sys/stat.h>
3468 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3469 struct buf { int x; };
3470 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3471 static char *e (p, i)
3477 static char *f (char * (*g) (char **, int), char **p, ...)
3482 s = g (p, va_arg (v,int));
3487 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3488 function prototypes and stuff, but not '\xHH' hex character constants.
3489 These don't provoke an error unfortunately, instead are silently treated
3490 as 'x'. The following induces an error, until -std is added to get
3491 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3492 array size at least. It's necessary to write '\x00'==0 to get something
3493 that's true only with -std. */
3494 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3496 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3497 inside strings and character constants. */
3499 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3501 int test (int i, double x);
3502 struct s1 {int (*f) (int a);};
3503 struct s2 {int (*f) (double a);};
3504 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3510 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3515 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3516 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3518 CC="$ac_save_CC $ac_arg"
3519 if ac_fn_c_try_compile "$LINENO"; then :
3520 ac_cv_prog_cc_c89=$ac_arg
3522 rm -f core conftest.err conftest.$ac_objext
3523 test "x$ac_cv_prog_cc_c89" != "xno" && break
3525 rm -f conftest.$ac_ext
3530 case "x$ac_cv_prog_cc_c89" in
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3533 $as_echo "none needed" >&6; } ;;
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3536 $as_echo "unsupported" >&6; } ;;
3538 CC="$CC $ac_cv_prog_cc_c89"
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3540 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3542 if test "x$ac_cv_prog_cc_c89" != xno; then :
3547 ac_cpp='$CPP $CPPFLAGS'
3548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3551 DEPDIR="${am__leading_dot}deps"
3553 ac_config_commands="$ac_config_commands depfiles"
3556 am_make=${MAKE-make}
3557 cat > confinc << 'END'
3562 # If we don't find an include directive, just comment out the code.
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3564 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3568 # First try GNU make style include.
3569 echo "include confinc" > confmf
3570 # We grep out `Entering directory' and `Leaving directory'
3571 # messages which can occur if `w' ends up in MAKEFLAGS.
3572 # In particular we don't look at `^make:' because GNU make might
3573 # be invoked under some other name (usually "gmake"), in which
3574 # case it prints its new name instead of `make'.
3575 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3580 # Now try BSD make style include.
3581 if test "$am__include" = "#"; then
3582 echo '.include "confinc"' > confmf
3583 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3584 am__include=.include
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3592 $as_echo "$_am_result" >&6; }
3593 rm -f confinc confmf
3595 @%:@ Check whether --enable-dependency-tracking was given.
3596 if test "${enable_dependency_tracking+set}" = set; then :
3597 enableval=$enable_dependency_tracking;
3600 if test "x$enable_dependency_tracking" != xno; then
3601 am_depcomp="$ac_aux_dir/depcomp"
3606 if test "x$enable_dependency_tracking" != xno; then
3617 depcc="$CC" am_compiler_list=
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3620 $as_echo_n "checking dependency style of $depcc... " >&6; }
3621 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3622 $as_echo_n "(cached) " >&6
3624 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3625 # We make a subdir and do the tests there. Otherwise we can end up
3626 # making bogus files that we don't know about and never remove. For
3627 # instance it was reported that on HP-UX the gcc test will end up
3628 # making a dummy file named `D' -- because `-MD' means `put the output
3631 # Copy depcomp to subdir because otherwise we won't find it if we're
3632 # using a relative directory.
3633 cp "$am_depcomp" conftest.dir
3635 # We will build objects and dependencies in a subdirectory because
3636 # it helps to detect inapplicable dependency modes. For instance
3637 # both Tru64's cc and ICC support -MD to output dependencies as a
3638 # side effect of compilation, but ICC will put the dependencies in
3639 # the current directory while Tru64 will put them in the object
3643 am_cv_CC_dependencies_compiler_type=none
3644 if test "$am_compiler_list" = ""; then
3645 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3647 for depmode in $am_compiler_list; do
3648 # Setup a source with many dependencies, because some compilers
3649 # like to wrap large dependency lists on column 80 (with \), and
3650 # we should not choose a depcomp mode which is confused by this.
3652 # We need to recreate these files for each test, as the compiler may
3653 # overwrite some of them when testing with obscure command lines.
3654 # This happens at least with the AIX C compiler.
3656 for i in 1 2 3 4 5 6; do
3657 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3658 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3659 # Solaris 8's {/usr,}/bin/sh.
3660 touch sub/conftst$i.h
3662 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3666 # after this tag, mechanisms are not by side-effect, so they'll
3667 # only be used when explicitly requested
3668 if test "x$enable_dependency_tracking" = xyes; then
3676 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3677 # mode. It turns out that the SunPro C++ compiler does not properly
3678 # handle `-M -o', and we need to detect this.
3679 if depmode=$depmode \
3680 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3681 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3682 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3683 >/dev/null 2>conftest.err &&
3684 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3685 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3686 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3687 # icc doesn't choke on unknown options, it will just issue warnings
3688 # or remarks (even with -Werror). So we grep stderr for any message
3689 # that says an option was ignored or not supported.
3690 # When given -MP, icc 7.0 and 7.1 complain thusly:
3691 # icc: Command line warning: ignoring option '-M'; no argument required
3692 # The diagnosis changed in icc 8.0:
3693 # icc: Command line remark: option '-MP' not supported
3694 if (grep 'ignoring option' conftest.err ||
3695 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3696 am_cv_CC_dependencies_compiler_type=$depmode
3705 am_cv_CC_dependencies_compiler_type=none
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3710 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3711 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3716 test "x$enable_dependency_tracking" != xno \
3717 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3719 am__fastdepCC_FALSE='#'
3721 am__fastdepCC_TRUE='#'
3722 am__fastdepCC_FALSE=
3726 if test -n "$ac_tool_prefix"; then
3727 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3728 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3732 $as_echo_n "(cached) " >&6
3734 if test -n "$RANLIB"; then
3735 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3744 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 RANLIB=$ac_cv_prog_RANLIB
3755 if test -n "$RANLIB"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3757 $as_echo "$RANLIB" >&6; }
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3765 if test -z "$ac_cv_prog_RANLIB"; then
3766 ac_ct_RANLIB=$RANLIB
3767 # Extract the first word of "ranlib", so it can be a program name with args.
3768 set dummy ranlib; ac_word=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3772 $as_echo_n "(cached) " >&6
3774 if test -n "$ac_ct_RANLIB"; then
3775 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3781 test -z "$as_dir" && as_dir=.
3782 for ac_exec_ext in '' $ac_executable_extensions; do
3783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3784 ac_cv_prog_ac_ct_RANLIB="ranlib"
3785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3795 if test -n "$ac_ct_RANLIB"; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3797 $as_echo "$ac_ct_RANLIB" >&6; }
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3800 $as_echo "no" >&6; }
3803 if test "x$ac_ct_RANLIB" = x; then
3806 case $cross_compiling:$ac_tool_warned in
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3810 ac_tool_warned=yes ;;
3812 RANLIB=$ac_ct_RANLIB
3815 RANLIB="$ac_cv_prog_RANLIB"
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3820 $as_echo_n "checking whether ln -s works... " >&6; }
3822 if test "$LN_S" = "ln -s"; then
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3824 $as_echo "yes" >&6; }
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3827 $as_echo "no, using $LN_S" >&6; }
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3831 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3833 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3834 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3835 $as_echo_n "(cached) " >&6
3837 cat >conftest.make <<\_ACEOF
3840 @echo '@@@%%%=$(MAKE)=@@@%%%'
3842 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3843 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3845 eval ac_cv_prog_make_${ac_make}_set=yes;;
3847 eval ac_cv_prog_make_${ac_make}_set=no;;
3851 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3853 $as_echo "yes" >&6; }
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3858 SET_MAKE="MAKE=${MAKE-make}"
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3864 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3865 if test "${ac_cv_c_const+set}" = set; then :
3866 $as_echo_n "(cached) " >&6
3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3874 /* FIXME: Include the comments suggested by Paul. */
3876 /* Ultrix mips cc rejects this. */
3877 typedef int charset[2];
3879 /* SunOS 4.1.1 cc rejects this. */
3880 char const *const *pcpcc;
3882 /* NEC SVR4.0.2 mips cc rejects this. */
3883 struct point {int x, y;};
3884 static struct point const zero = {0,0};
3885 /* AIX XL C 1.02.0.0 rejects this.
3886 It does not let you subtract one const X* pointer from another in
3887 an arm of an if-expression whose if-part is not a constant
3889 const char *g = "string";
3890 pcpcc = &g + (g ? g-g : 0);
3891 /* HPUX 7.0 cc rejects these. */
3893 ppc = (char**) pcpcc;
3894 pcpcc = (char const *const *) ppc;
3895 { /* SCO 3.2v4 cc rejects this. */
3897 char const *s = 0 ? (char *) 0 : (char const *) 0;
3902 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3904 const int *foo = &x[0];
3907 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3908 typedef const int *iptr;
3912 { /* AIX XL C 1.02.0.0 rejects this saying
3913 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3914 struct s { int j; const int *ap[3]; };
3915 struct s *b; b->j = 5;
3917 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3921 return !cs[0] && !zero.x;
3928 if ac_fn_c_try_compile "$LINENO"; then :
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3936 $as_echo "$ac_cv_c_const" >&6; }
3937 if test $ac_cv_c_const = no; then
3939 $as_echo "@%:@define const /**/" >>confdefs.h
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3944 $as_echo_n "checking for inline... " >&6; }
3945 if test "${ac_cv_c_inline+set}" = set; then :
3946 $as_echo_n "(cached) " >&6
3949 for ac_kw in inline __inline__ __inline; do
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3954 static $ac_kw foo_t static_foo () {return 0; }
3955 $ac_kw foo_t foo () {return 0; }
3959 if ac_fn_c_try_compile "$LINENO"; then :
3960 ac_cv_c_inline=$ac_kw
3962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3963 test "$ac_cv_c_inline" != no && break
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
3968 $as_echo "$ac_cv_c_inline" >&6; }
3970 case $ac_cv_c_inline in
3973 case $ac_cv_c_inline in
3975 *) ac_val=$ac_cv_c_inline;;
3977 cat >>confdefs.h <<_ACEOF
3979 #define inline $ac_val
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether @%:@! works in shell scripts" >&5
3989 $as_echo_n "checking whether @%:@! works in shell scripts... " >&6; }
3990 if test "${ac_cv_sys_interpreter+set}" = set; then :
3991 $as_echo_n "(cached) " >&6
3997 (SHELL=/bin/sh; export SHELL; ./conftest >/dev/null 2>&1)
3998 if test $? -ne 69; then
3999 ac_cv_sys_interpreter=yes
4001 ac_cv_sys_interpreter=no
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_interpreter" >&5
4006 $as_echo "$ac_cv_sys_interpreter" >&6; }
4007 interpval=$ac_cv_sys_interpreter
4010 for ac_func in setsid daemon setproctitle getservbyname strlcpy fork memmove strerror writev
4012 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4013 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4014 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4015 cat >>confdefs.h <<_ACEOF
4016 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4024 ac_cpp='$CPP $CPPFLAGS'
4025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4029 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4030 # On Suns, sometimes $CPP names a directory.
4031 if test -n "$CPP" && test -d "$CPP"; then
4034 if test -z "$CPP"; then
4035 if test "${ac_cv_prog_CPP+set}" = set; then :
4036 $as_echo_n "(cached) " >&6
4038 # Double quotes because CPP needs to be expanded
4039 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4042 for ac_c_preproc_warn_flag in '' yes
4044 # Use a header file that comes with gcc, so configuring glibc
4045 # with a fresh cross-compiler works.
4046 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4047 # <limits.h> exists even on freestanding compilers.
4048 # On the NeXT, cc -E runs the code through the compiler's parser,
4049 # not just through cpp. "Syntax error" is here to catch this case.
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4053 @%:@ include <limits.h>
4055 @%:@ include <assert.h>
4059 if ac_fn_c_try_cpp "$LINENO"; then :
4062 # Broken: fails on valid input.
4065 rm -f conftest.err conftest.i conftest.$ac_ext
4067 # OK, works on sane cases. Now check whether nonexistent headers
4068 # can be detected and how.
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4071 @%:@include <ac_nonexistent.h>
4073 if ac_fn_c_try_cpp "$LINENO"; then :
4074 # Broken: success on invalid input.
4077 # Passes both tests.
4081 rm -f conftest.err conftest.i conftest.$ac_ext
4084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4085 rm -f conftest.i conftest.err conftest.$ac_ext
4086 if $ac_preproc_ok; then :
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4099 $as_echo "$CPP" >&6; }
4101 for ac_c_preproc_warn_flag in '' yes
4103 # Use a header file that comes with gcc, so configuring glibc
4104 # with a fresh cross-compiler works.
4105 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4106 # <limits.h> exists even on freestanding compilers.
4107 # On the NeXT, cc -E runs the code through the compiler's parser,
4108 # not just through cpp. "Syntax error" is here to catch this case.
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4112 @%:@ include <limits.h>
4114 @%:@ include <assert.h>
4118 if ac_fn_c_try_cpp "$LINENO"; then :
4121 # Broken: fails on valid input.
4124 rm -f conftest.err conftest.i conftest.$ac_ext
4126 # OK, works on sane cases. Now check whether nonexistent headers
4127 # can be detected and how.
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4130 @%:@include <ac_nonexistent.h>
4132 if ac_fn_c_try_cpp "$LINENO"; then :
4133 # Broken: success on invalid input.
4136 # Passes both tests.
4140 rm -f conftest.err conftest.i conftest.$ac_ext
4143 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4144 rm -f conftest.i conftest.err conftest.$ac_ext
4145 if $ac_preproc_ok; then :
4148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4150 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4151 See \`config.log' for more details" "$LINENO" 5 ; }
4155 ac_cpp='$CPP $CPPFLAGS'
4156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4162 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4163 if test "${ac_cv_path_GREP+set}" = set; then :
4164 $as_echo_n "(cached) " >&6
4166 if test -z "$GREP"; then
4167 ac_path_GREP_found=false
4168 # Loop through the user's path and test for each of PROGNAME-LIST
4169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4170 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4173 test -z "$as_dir" && as_dir=.
4174 for ac_prog in grep ggrep; do
4175 for ac_exec_ext in '' $ac_executable_extensions; do
4176 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4177 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4178 # Check for GNU ac_path_GREP and select it if it is found.
4179 # Check for GNU $ac_path_GREP
4180 case `"$ac_path_GREP" --version 2>&1` in
4182 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4185 $as_echo_n 0123456789 >"conftest.in"
4188 cat "conftest.in" "conftest.in" >"conftest.tmp"
4189 mv "conftest.tmp" "conftest.in"
4190 cp "conftest.in" "conftest.nl"
4191 $as_echo 'GREP' >> "conftest.nl"
4192 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4193 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4194 as_fn_arith $ac_count + 1 && ac_count=$as_val
4195 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4196 # Best one so far, save it but keep looking for a better one
4197 ac_cv_path_GREP="$ac_path_GREP"
4198 ac_path_GREP_max=$ac_count
4200 # 10*(2^10) chars as input seems more than enough
4201 test $ac_count -gt 10 && break
4203 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4206 $ac_path_GREP_found && break 3
4211 if test -z "$ac_cv_path_GREP"; then
4212 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4215 ac_cv_path_GREP=$GREP
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4220 $as_echo "$ac_cv_path_GREP" >&6; }
4221 GREP="$ac_cv_path_GREP"
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4225 $as_echo_n "checking for egrep... " >&6; }
4226 if test "${ac_cv_path_EGREP+set}" = set; then :
4227 $as_echo_n "(cached) " >&6
4229 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4230 then ac_cv_path_EGREP="$GREP -E"
4232 if test -z "$EGREP"; then
4233 ac_path_EGREP_found=false
4234 # Loop through the user's path and test for each of PROGNAME-LIST
4235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4236 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4239 test -z "$as_dir" && as_dir=.
4240 for ac_prog in egrep; do
4241 for ac_exec_ext in '' $ac_executable_extensions; do
4242 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4243 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4244 # Check for GNU ac_path_EGREP and select it if it is found.
4245 # Check for GNU $ac_path_EGREP
4246 case `"$ac_path_EGREP" --version 2>&1` in
4248 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4251 $as_echo_n 0123456789 >"conftest.in"
4254 cat "conftest.in" "conftest.in" >"conftest.tmp"
4255 mv "conftest.tmp" "conftest.in"
4256 cp "conftest.in" "conftest.nl"
4257 $as_echo 'EGREP' >> "conftest.nl"
4258 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4259 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4260 as_fn_arith $ac_count + 1 && ac_count=$as_val
4261 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4262 # Best one so far, save it but keep looking for a better one
4263 ac_cv_path_EGREP="$ac_path_EGREP"
4264 ac_path_EGREP_max=$ac_count
4266 # 10*(2^10) chars as input seems more than enough
4267 test $ac_count -gt 10 && break
4269 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4272 $ac_path_EGREP_found && break 3
4277 if test -z "$ac_cv_path_EGREP"; then
4278 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4281 ac_cv_path_EGREP=$EGREP
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4287 $as_echo "$ac_cv_path_EGREP" >&6; }
4288 EGREP="$ac_cv_path_EGREP"
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4292 $as_echo_n "checking for ANSI C header files... " >&6; }
4293 if test "${ac_cv_header_stdc+set}" = set; then :
4294 $as_echo_n "(cached) " >&6
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4311 if ac_fn_c_try_compile "$LINENO"; then :
4312 ac_cv_header_stdc=yes
4314 ac_cv_header_stdc=no
4316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4318 if test $ac_cv_header_stdc = yes; then
4319 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4326 $EGREP "memchr" >/dev/null 2>&1; then :
4329 ac_cv_header_stdc=no
4335 if test $ac_cv_header_stdc = yes; then
4336 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4343 $EGREP "free" >/dev/null 2>&1; then :
4346 ac_cv_header_stdc=no
4352 if test $ac_cv_header_stdc = yes; then
4353 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4354 if test "$cross_compiling" = yes; then :
4357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h. */
4361 #if ((' ' & 0x0FF) == 0x020)
4362 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4363 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4365 # define ISLOWER(c) \
4366 (('a' <= (c) && (c) <= 'i') \
4367 || ('j' <= (c) && (c) <= 'r') \
4368 || ('s' <= (c) && (c) <= 'z'))
4369 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4372 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4377 for (i = 0; i < 256; i++)
4378 if (XOR (islower (i), ISLOWER (i))
4379 || toupper (i) != TOUPPER (i))
4384 if ac_fn_c_try_run "$LINENO"; then :
4387 ac_cv_header_stdc=no
4389 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4390 conftest.$ac_objext conftest.beam conftest.$ac_ext
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4396 $as_echo "$ac_cv_header_stdc" >&6; }
4397 if test $ac_cv_header_stdc = yes; then
4399 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
4403 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4404 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4405 inttypes.h stdint.h unistd.h
4407 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4408 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4410 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4411 cat >>confdefs.h <<_ACEOF
4412 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4420 for ac_header in pty.h
4422 ac_fn_c_check_header_mongrel "$LINENO" "pty.h" "ac_cv_header_pty_h" "$ac_includes_default"
4423 if test "x$ac_cv_header_pty_h" = x""yes; then :
4424 cat >>confdefs.h <<_ACEOF
4425 @%:@define HAVE_PTY_H 1
4432 for ac_header in string.h
4434 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
4435 if test "x$ac_cv_header_string_h" = x""yes; then :
4436 cat >>confdefs.h <<_ACEOF
4437 @%:@define HAVE_STRING_H 1
4444 for ac_header in syslog.h
4446 ac_fn_c_check_header_mongrel "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default"
4447 if test "x$ac_cv_header_syslog_h" = x""yes; then :
4448 cat >>confdefs.h <<_ACEOF
4449 @%:@define HAVE_SYSLOG_H 1
4456 for ac_header in libintl.h
4458 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4459 if test "x$ac_cv_header_libintl_h" = x""yes; then :
4460 cat >>confdefs.h <<_ACEOF
4461 @%:@define HAVE_LIBINTL_H 1
4468 for ac_header in libutil.h
4470 ac_fn_c_check_header_mongrel "$LINENO" "libutil.h" "ac_cv_header_libutil_h" "$ac_includes_default"
4471 if test "x$ac_cv_header_libutil_h" = x""yes; then :
4472 cat >>confdefs.h <<_ACEOF
4473 @%:@define HAVE_LIBUTIL_H 1
4480 for ac_header in sys/uio.h
4482 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
4483 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
4484 cat >>confdefs.h <<_ACEOF
4485 @%:@define HAVE_SYS_UIO_H 1
4493 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4494 if test "x$ac_cv_type_size_t" = x""yes; then :
4498 cat >>confdefs.h <<_ACEOF
4499 @%:@define size_t unsigned int
4504 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4505 if test "x$ac_cv_type_ssize_t" = x""yes; then :
4509 cat >>confdefs.h <<_ACEOF
4510 @%:@define ssize_t int
4515 ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
4516 if test "x$ac_cv_type_u_int8_t" = x""yes; then :
4520 cat >>confdefs.h <<_ACEOF
4521 @%:@define u_int8_t unsigned char
4526 ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
4527 if test "x$ac_cv_type_u_int16_t" = x""yes; then :
4531 cat >>confdefs.h <<_ACEOF
4532 @%:@define u_int16_t unsigned short
4537 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
4538 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
4542 cat >>confdefs.h <<_ACEOF
4543 @%:@define u_int32_t unsigned int
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
4550 $as_echo_n "checking for socklen_t... " >&6; }
4551 if test "${ac_cv_type_socklen_t+set}" = set; then :
4552 $as_echo_n "(cached) " >&6
4555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4557 #include <sys/types.h>
4558 #include <sys/socket.h>
4564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4565 $EGREP "socklen_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
4566 ac_cv_type_socklen_t=yes
4568 ac_cv_type_socklen_t=no
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5
4575 $as_echo "$ac_cv_type_socklen_t" >&6; }
4576 if test $ac_cv_type_socklen_t = no; then
4577 $as_echo "@%:@define socklen_t int" >>confdefs.h
4582 @%:@ Check whether --with-libwrap was given.
4583 if test "${with_libwrap+set}" = set; then :
4584 withval=$with_libwrap;
4585 if test "$with_libwrap" = "yes"; then
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwrap alone" >&5
4588 $as_echo_n "checking for libwrap alone... " >&6; }
4589 LIBS="$XYZZY_LIBS -lwrap"
4590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h. */
4592 int allow_severity, deny_severity;
4601 if ac_fn_c_try_link "$LINENO"; then :
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4603 $as_echo "yes" >&6; }
4604 $as_echo "@%:@define HAVE_LIBWRAP 1" >>confdefs.h
4607 XTRALIBS_MGR="-lwrap"
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4610 $as_echo "no" >&6; }
4611 LIBS="$XYZZY_LIBS -lwrap -lnsl"
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwrap with libnsl" >&5
4613 $as_echo_n "checking for libwrap with libnsl... " >&6; }
4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4616 int allow_severity, deny_severity;
4625 if ac_fn_c_try_link "$LINENO"; then :
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4627 $as_echo "yes" >&6; }
4628 $as_echo "@%:@define HAVE_LIBWRAP 1" >>confdefs.h
4631 XTRALIBS_MGR="-lwrap -lnsl"
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4634 $as_echo "no" >&6; }
4636 rm -f core conftest.err conftest.$ac_objext \
4637 conftest$ac_exeext conftest.$ac_ext
4640 rm -f core conftest.err conftest.$ac_objext \
4641 conftest$ac_exeext conftest.$ac_ext
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for accept in -lc" >&5
4650 $as_echo_n "checking for accept in -lc... " >&6; }
4651 if test "${ac_cv_lib_c_accept+set}" = set; then :
4652 $as_echo_n "(cached) " >&6
4654 ac_check_lib_save_LIBS=$LIBS
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4659 /* Override any GCC internal prototype to avoid an error.
4660 Use char because int might match the return type of a GCC
4661 builtin and then its argument prototype would still apply. */
4674 if ac_fn_c_try_link "$LINENO"; then :
4675 ac_cv_lib_c_accept=yes
4677 ac_cv_lib_c_accept=no
4679 rm -f core conftest.err conftest.$ac_objext \
4680 conftest$ac_exeext conftest.$ac_ext
4681 LIBS=$ac_check_lib_save_LIBS
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_accept" >&5
4684 $as_echo "$ac_cv_lib_c_accept" >&6; }
4685 if test "x$ac_cv_lib_c_accept" = x""yes; then :
4686 cat >>confdefs.h <<_ACEOF
4687 @%:@define HAVE_LIBC 1
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lc" >&5
4695 $as_echo_n "checking for gethostbyname in -lc... " >&6; }
4696 if test "${ac_cv_lib_c_gethostbyname+set}" = set; then :
4697 $as_echo_n "(cached) " >&6
4699 ac_check_lib_save_LIBS=$LIBS
4701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h. */
4704 /* Override any GCC internal prototype to avoid an error.
4705 Use char because int might match the return type of a GCC
4706 builtin and then its argument prototype would still apply. */
4710 char gethostbyname ();
4714 return gethostbyname ();
4719 if ac_fn_c_try_link "$LINENO"; then :
4720 ac_cv_lib_c_gethostbyname=yes
4722 ac_cv_lib_c_gethostbyname=no
4724 rm -f core conftest.err conftest.$ac_objext \
4725 conftest$ac_exeext conftest.$ac_ext
4726 LIBS=$ac_check_lib_save_LIBS
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gethostbyname" >&5
4729 $as_echo "$ac_cv_lib_c_gethostbyname" >&6; }
4730 if test "x$ac_cv_lib_c_gethostbyname" = x""yes; then :
4731 cat >>confdefs.h <<_ACEOF
4732 @%:@define HAVE_LIBC 1
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lc" >&5
4740 $as_echo_n "checking for openpty in -lc... " >&6; }
4741 if test "${ac_cv_lib_c_openpty+set}" = set; then :
4742 $as_echo_n "(cached) " >&6
4744 ac_check_lib_save_LIBS=$LIBS
4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4749 /* Override any GCC internal prototype to avoid an error.
4750 Use char because int might match the return type of a GCC
4751 builtin and then its argument prototype would still apply. */
4764 if ac_fn_c_try_link "$LINENO"; then :
4765 ac_cv_lib_c_openpty=yes
4767 ac_cv_lib_c_openpty=no
4769 rm -f core conftest.err conftest.$ac_objext \
4770 conftest$ac_exeext conftest.$ac_ext
4771 LIBS=$ac_check_lib_save_LIBS
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_openpty" >&5
4774 $as_echo "$ac_cv_lib_c_openpty" >&6; }
4775 if test "x$ac_cv_lib_c_openpty" = x""yes; then :
4776 cat >>confdefs.h <<_ACEOF
4777 @%:@define HAVE_LIBC 1
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lc" >&5
4785 $as_echo_n "checking for gettext in -lc... " >&6; }
4786 if test "${ac_cv_lib_c_gettext+set}" = set; then :
4787 $as_echo_n "(cached) " >&6
4789 ac_check_lib_save_LIBS=$LIBS
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4794 /* Override any GCC internal prototype to avoid an error.
4795 Use char because int might match the return type of a GCC
4796 builtin and then its argument prototype would still apply. */
4809 if ac_fn_c_try_link "$LINENO"; then :
4810 ac_cv_lib_c_gettext=yes
4812 ac_cv_lib_c_gettext=no
4814 rm -f core conftest.err conftest.$ac_objext \
4815 conftest$ac_exeext conftest.$ac_ext
4816 LIBS=$ac_check_lib_save_LIBS
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gettext" >&5
4819 $as_echo "$ac_cv_lib_c_gettext" >&6; }
4820 if test "x$ac_cv_lib_c_gettext" = x""yes; then :
4821 cat >>confdefs.h <<_ACEOF
4822 @%:@define HAVE_LIBC 1
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for accept in -lsocket" >&5
4830 $as_echo_n "checking for accept in -lsocket... " >&6; }
4831 if test "${ac_cv_lib_socket_accept+set}" = set; then :
4832 $as_echo_n "(cached) " >&6
4834 ac_check_lib_save_LIBS=$LIBS
4835 LIBS="-lsocket $LIBS"
4836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h. */
4839 /* Override any GCC internal prototype to avoid an error.
4840 Use char because int might match the return type of a GCC
4841 builtin and then its argument prototype would still apply. */
4854 if ac_fn_c_try_link "$LINENO"; then :
4855 ac_cv_lib_socket_accept=yes
4857 ac_cv_lib_socket_accept=no
4859 rm -f core conftest.err conftest.$ac_objext \
4860 conftest$ac_exeext conftest.$ac_ext
4861 LIBS=$ac_check_lib_save_LIBS
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_accept" >&5
4864 $as_echo "$ac_cv_lib_socket_accept" >&6; }
4865 if test "x$ac_cv_lib_socket_accept" = x""yes; then :
4866 cat >>confdefs.h <<_ACEOF
4867 @%:@define HAVE_LIBSOCKET 1
4870 LIBS="-lsocket $LIBS"
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
4875 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
4876 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
4877 $as_echo_n "(cached) " >&6
4879 ac_check_lib_save_LIBS=$LIBS
4881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4882 /* end confdefs.h. */
4884 /* Override any GCC internal prototype to avoid an error.
4885 Use char because int might match the return type of a GCC
4886 builtin and then its argument prototype would still apply. */
4890 char gethostbyname ();
4894 return gethostbyname ();
4899 if ac_fn_c_try_link "$LINENO"; then :
4900 ac_cv_lib_nsl_gethostbyname=yes
4902 ac_cv_lib_nsl_gethostbyname=no
4904 rm -f core conftest.err conftest.$ac_objext \
4905 conftest$ac_exeext conftest.$ac_ext
4906 LIBS=$ac_check_lib_save_LIBS
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
4909 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
4910 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
4911 cat >>confdefs.h <<_ACEOF
4912 @%:@define HAVE_LIBNSL 1
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
4920 $as_echo_n "checking for openpty in -lutil... " >&6; }
4921 if test "${ac_cv_lib_util_openpty+set}" = set; then :
4922 $as_echo_n "(cached) " >&6
4924 ac_check_lib_save_LIBS=$LIBS
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4929 /* Override any GCC internal prototype to avoid an error.
4930 Use char because int might match the return type of a GCC
4931 builtin and then its argument prototype would still apply. */
4944 if ac_fn_c_try_link "$LINENO"; then :
4945 ac_cv_lib_util_openpty=yes
4947 ac_cv_lib_util_openpty=no
4949 rm -f core conftest.err conftest.$ac_objext \
4950 conftest$ac_exeext conftest.$ac_ext
4951 LIBS=$ac_check_lib_save_LIBS
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
4954 $as_echo "$ac_cv_lib_util_openpty" >&6; }
4955 if test "x$ac_cv_lib_util_openpty" = x""yes; then :
4956 cat >>confdefs.h <<_ACEOF
4957 @%:@define HAVE_LIBUTIL 1
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5
4965 $as_echo_n "checking for gettext in -lintl... " >&6; }
4966 if test "${ac_cv_lib_intl_gettext+set}" = set; then :
4967 $as_echo_n "(cached) " >&6
4969 ac_check_lib_save_LIBS=$LIBS
4971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4974 /* Override any GCC internal prototype to avoid an error.
4975 Use char because int might match the return type of a GCC
4976 builtin and then its argument prototype would still apply. */
4989 if ac_fn_c_try_link "$LINENO"; then :
4990 ac_cv_lib_intl_gettext=yes
4992 ac_cv_lib_intl_gettext=no
4994 rm -f core conftest.err conftest.$ac_objext \
4995 conftest$ac_exeext conftest.$ac_ext
4996 LIBS=$ac_check_lib_save_LIBS
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5
4999 $as_echo "$ac_cv_lib_intl_gettext" >&6; }
5000 if test "x$ac_cv_lib_intl_gettext" = x""yes; then :
5001 cat >>confdefs.h <<_ACEOF
5002 @%:@define HAVE_LIBINTL 1
5010 if test "$ac_cv_lib_c_accept" = no; then
5011 if test "$ac_cv_lib_socket_accept" = yes; then
5012 LIBS="$LIBS -lsocket"
5014 echo "Couldn't find a usable accept!" 1>&2
5018 if test "$ac_cv_lib_c_gethostbyname" = no; then
5019 if test "$ac_cv_lib_nsl_gethostbyname" = yes; then
5021 if test "$XTRALIBS_MGR" = "-lwrap -lnsl"; then
5022 XTRALIBS_MGR="-lwrap"
5025 echo "Couldn't find a usable gethostbyname!" 1>&2
5029 if test "$ac_cv_lib_c_openpty" = yes; then
5030 $as_echo "@%:@define HAVE_OPENPTY 1" >>confdefs.h
5033 if test "$ac_cv_lib_util_openpty" = yes; then
5034 $as_echo "@%:@define HAVE_OPENPTY 1" >>confdefs.h
5036 XTRALIBS_CTRL="-lutil"
5039 if test "$ac_cv_header_libintl_h" = yes; then
5040 if test "$ac_cv_lib_c_gettext" = no; then
5041 if test "$ac_cv_lib_intl_gettext" = yes; then
5042 XTRALIBS_MGR = "$XTRALIBS_MGR -lintl"
5044 echo "Have libintl.h but no usable gettext!" 1>&2
5054 if test "$BCRELAY" = "yes"; then
5055 if test "$BCRELAY" = "yes"; then
5059 echo "No BCrelay selected." 1>&2
5065 echo '==============================================================================='
5067 echo 'Configuration chosen:'
5070 if test "$BSDUSER_PPP" = "yes"; then
5071 echo 'BSD user-space PPPd.'
5073 if test "$SLIRP" = "yes"; then
5080 echo -n ' LIBWRAP security: '
5081 if test "$LIBWRAP" = "yes"; then
5087 echo -n ' Broadcast Relay: '
5088 if test "$BCRELAY" = "yes"; then
5094 cat >confcache <<\_ACEOF
5095 # This file is a shell script that caches the results of configure
5096 # tests run on this system so they can be shared between configure
5097 # scripts and configure runs, see configure's option --config-cache.
5098 # It is not useful on other systems. If it contains results you don't
5099 # want to keep, you may remove or edit it.
5101 # config.status only pays attention to the cache file if you give it
5102 # the --recheck option to rerun configure.
5104 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5105 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5110 # The following way of writing the cache mishandles newlines in values,
5111 # but we know of no workaround that is simple, portable, and efficient.
5112 # So, we kill variables containing newlines.
5113 # Ultrix sh set writes to stderr and can't be redirected directly,
5114 # and sets the high bit in the cache file unless we assign to the vars.
5116 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5117 eval ac_val=\$$ac_var
5121 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5122 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5125 _ | IFS | as_nl) ;; #(
5126 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5127 *) { eval $ac_var=; unset $ac_var;} ;;
5133 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5134 *${as_nl}ac_space=\ *)
5135 # `set' does not quote correctly, so add quotes: double-quote
5136 # substitution turns \\\\ into \\, and sed turns \\ into \.
5139 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5142 # `set' quotes correctly as required by POSIX, so do not add quotes.
5143 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5152 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5154 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5156 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5157 if test -w "$cache_file"; then
5158 test "x$cache_file" != "x/dev/null" &&
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5160 $as_echo "$as_me: updating cache $cache_file" >&6;}
5161 cat confcache >$cache_file
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5164 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5168 ac_config_files="$ac_config_files Makefile"
5170 cat >confcache <<\_ACEOF
5171 # This file is a shell script that caches the results of configure
5172 # tests run on this system so they can be shared between configure
5173 # scripts and configure runs, see configure's option --config-cache.
5174 # It is not useful on other systems. If it contains results you don't
5175 # want to keep, you may remove or edit it.
5177 # config.status only pays attention to the cache file if you give it
5178 # the --recheck option to rerun configure.
5180 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5181 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5186 # The following way of writing the cache mishandles newlines in values,
5187 # but we know of no workaround that is simple, portable, and efficient.
5188 # So, we kill variables containing newlines.
5189 # Ultrix sh set writes to stderr and can't be redirected directly,
5190 # and sets the high bit in the cache file unless we assign to the vars.
5192 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5193 eval ac_val=\$$ac_var
5197 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5198 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5201 _ | IFS | as_nl) ;; #(
5202 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5203 *) { eval $ac_var=; unset $ac_var;} ;;
5209 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5210 *${as_nl}ac_space=\ *)
5211 # `set' does not quote correctly, so add quotes: double-quote
5212 # substitution turns \\\\ into \\, and sed turns \\ into \.
5215 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5218 # `set' quotes correctly as required by POSIX, so do not add quotes.
5219 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5228 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5230 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5232 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5233 if test -w "$cache_file"; then
5234 test "x$cache_file" != "x/dev/null" &&
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5236 $as_echo "$as_me: updating cache $cache_file" >&6;}
5237 cat confcache >$cache_file
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5240 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5245 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5246 # Let make expand exec_prefix.
5247 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5249 DEFS=-DHAVE_CONFIG_H
5254 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5255 # 1. Remove the extension, and $U if already installed.
5256 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5257 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5258 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5259 # will be set to the directory where LIBOBJS objects are built.
5260 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5261 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5263 LIB@&t@OBJS=$ac_libobjs
5265 LTLIBOBJS=$ac_ltlibobjs
5268 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5269 as_fn_error $? "conditional \"AMDEP\" was never defined.
5270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5272 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5273 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5277 : ${CONFIG_STATUS=./config.status}
5279 ac_clean_files_save=$ac_clean_files
5280 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5282 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5284 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5286 # Generated by $as_me.
5287 # Run this file to recreate the current configuration.
5288 # Compiler output produced by configure, useful for debugging
5289 # configure, is in config.log if it exists.
5295 SHELL=\${CONFIG_SHELL-$SHELL}
5298 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5299 ## -------------------- ##
5300 ## M4sh Initialization. ##
5301 ## -------------------- ##
5303 # Be more Bourne compatible
5304 DUALCASE=1; export DUALCASE # for MKS sh
5305 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5308 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5309 # is contrary to our usage. Disable this feature.
5310 alias -g '${1+"$@"}'='"$@"'
5311 setopt NO_GLOB_SUBST
5313 case `(set -o) 2>/dev/null` in @%:@(
5315 set -o posix ;; @%:@(
5325 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5326 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5327 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5328 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5329 # Prefer a ksh shell builtin over an external printf program on Solaris,
5330 # but without wasting forks for bash or zsh.
5331 if test -z "$BASH_VERSION$ZSH_VERSION" \
5332 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5333 as_echo='print -r --'
5334 as_echo_n='print -rn --'
5335 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5336 as_echo='printf %s\n'
5337 as_echo_n='printf %s'
5339 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5340 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5341 as_echo_n='/usr/ucb/echo -n'
5343 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5344 as_echo_n_body='eval
5348 expr "X$arg" : "X\\(.*\\)$as_nl";
5349 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5351 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5353 export as_echo_n_body
5354 as_echo_n='sh -c $as_echo_n_body as_echo'
5357 as_echo='sh -c $as_echo_body as_echo'
5360 # The user is always right.
5361 if test "${PATH_SEPARATOR+set}" != set; then
5363 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5364 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5371 # We need space, tab and new line, in precisely that order. Quoting is
5372 # there to prevent editors from complaining about space-tab.
5373 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5374 # splitting by setting IFS to empty value.)
5377 # Find who we are. Look in the path if we contain no directory separator.
5379 *[\\/]* ) as_myself=$0 ;;
5380 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 test -z "$as_dir" && as_dir=.
5385 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5391 # We did not find ourselves, most probably we were run as `sh COMMAND'
5392 # in which case we are not to be found in the path.
5393 if test "x$as_myself" = x; then
5396 if test ! -f "$as_myself"; then
5397 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5401 # Unset variables that we do not need and which cause bugs (e.g. in
5402 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5403 # suppresses any "Segmentation fault" message there. '((' could
5404 # trigger a bug in pdksh 5.2.14.
5405 for as_var in BASH_ENV ENV MAIL MAILPATH
5406 do eval test x\${$as_var+set} = xset \
5407 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5420 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5423 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
5424 @%:@ ----------------------------------------
5425 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5426 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5427 @%:@ script with STATUS, using 1 if that was 0.
5430 as_status=$1; test $as_status -eq 0 && as_status=1
5432 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5433 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5435 $as_echo "$as_me: error: $2" >&2
5436 as_fn_exit $as_status
5440 @%:@ as_fn_set_status STATUS
5441 @%:@ -----------------------
5442 @%:@ Set @S|@? to STATUS, without forking.
5446 } @%:@ as_fn_set_status
5448 @%:@ as_fn_exit STATUS
5449 @%:@ -----------------
5450 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5458 @%:@ as_fn_unset VAR
5459 @%:@ ---------------
5460 @%:@ Portably unset VAR.
5463 { eval $1=; unset $1;}
5465 as_unset=as_fn_unset
5466 @%:@ as_fn_append VAR VALUE
5467 @%:@ ----------------------
5468 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
5469 @%:@ advantage of any shell optimizations that allow amortized linear growth over
5470 @%:@ repeated appends, instead of the typical quadratic growth present in naive
5471 @%:@ implementations.
5472 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5473 eval 'as_fn_append ()
5484 @%:@ as_fn_arith ARG...
5485 @%:@ ------------------
5486 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
5487 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
5488 @%:@ must be portable across @S|@(()) and expr.
5489 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5490 eval 'as_fn_arith ()
5497 as_val=`expr "$@" || test $? -eq 1`
5502 if expr a : '\(a\)' >/dev/null 2>&1 &&
5503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5509 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5510 as_basename=basename
5515 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5521 as_me=`$as_basename -- "$0" ||
5522 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5523 X"$0" : 'X\(//\)$' \| \
5524 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5526 sed '/^.*\/\([^/][^/]*\)\/*$/{
5540 # Avoid depending upon Character Ranges.
5541 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5542 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5543 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5544 as_cr_digits='0123456789'
5545 as_cr_alnum=$as_cr_Letters$as_cr_digits
5547 ECHO_C= ECHO_N= ECHO_T=
5548 case `echo -n x` in @%:@(((((
5550 case `echo 'xy\c'` in
5551 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5553 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5560 rm -f conf$$ conf$$.exe conf$$.file
5561 if test -d conf$$.dir; then
5562 rm -f conf$$.dir/conf$$.file
5565 mkdir conf$$.dir 2>/dev/null
5567 if (echo >conf$$.file) 2>/dev/null; then
5568 if ln -s conf$$.file conf$$ 2>/dev/null; then
5570 # ... but there are two gotchas:
5571 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5572 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5573 # In both cases, we have to default to `cp -p'.
5574 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5576 elif ln conf$$.file conf$$ 2>/dev/null; then
5584 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5585 rmdir conf$$.dir 2>/dev/null
5590 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
5595 -*) as_dir=./$as_dir;;
5597 test -d "$as_dir" || eval $as_mkdir_p || {
5601 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5602 *) as_qdir=$as_dir;;
5604 as_dirs="'$as_qdir' $as_dirs"
5605 as_dir=`$as_dirname -- "$as_dir" ||
5606 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5607 X"$as_dir" : 'X\(//\)[^/]' \| \
5608 X"$as_dir" : 'X\(//\)$' \| \
5609 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5610 $as_echo X"$as_dir" |
5611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5628 test -d "$as_dir" && break
5630 test -z "$as_dirs" || eval "mkdir $as_dirs"
5631 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5634 } @%:@ as_fn_mkdir_p
5635 if mkdir -p . 2>/dev/null; then
5636 as_mkdir_p='mkdir -p "$as_dir"'
5638 test -d ./-p && rmdir ./-p
5642 if test -x / >/dev/null 2>&1; then
5645 if ls -dL / >/dev/null 2>&1; then
5652 if test -d "$1"; then
5658 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
5659 ???[sx]*):;;*)false;;esac;fi
5663 as_executable_p=$as_test_x
5665 # Sed expression to map a string onto a valid CPP name.
5666 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5668 # Sed expression to map a string onto a valid variable name.
5669 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5673 ## ----------------------------------- ##
5674 ## Main body of $CONFIG_STATUS script. ##
5675 ## ----------------------------------- ##
5677 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5680 # Save the log message, to keep $0 and so on meaningful, and to
5681 # report actual input values of CONFIG_FILES etc. instead of their
5682 # values after options handling.
5684 This file was extended by $as_me, which was
5685 generated by GNU Autoconf 2.67. Invocation command line was
5687 CONFIG_FILES = $CONFIG_FILES
5688 CONFIG_HEADERS = $CONFIG_HEADERS
5689 CONFIG_LINKS = $CONFIG_LINKS
5690 CONFIG_COMMANDS = $CONFIG_COMMANDS
5693 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5698 case $ac_config_files in *"
5699 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5702 case $ac_config_headers in *"
5703 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5708 # Files that config.status was made for.
5709 config_files="$ac_config_files"
5710 config_headers="$ac_config_headers"
5711 config_commands="$ac_config_commands"
5715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5717 \`$as_me' instantiates files and other configuration actions
5718 from templates according to the current configuration. Unless the files
5719 and actions are specified as TAGs, all are instantiated by default.
5721 Usage: $0 [OPTION]... [TAG]...
5723 -h, --help print this help, then exit
5724 -V, --version print version number and configuration settings, then exit
5725 --config print configuration, then exit
5726 -q, --quiet, --silent
5727 do not print progress messages
5728 -d, --debug don't remove temporary files
5729 --recheck update $as_me by reconfiguring in the same conditions
5730 --file=FILE[:TEMPLATE]
5731 instantiate the configuration file FILE
5732 --header=FILE[:TEMPLATE]
5733 instantiate the configuration header FILE
5735 Configuration files:
5738 Configuration headers:
5741 Configuration commands:
5744 Report bugs to the package provider."
5747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5748 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5751 configured by $0, generated by GNU Autoconf 2.67,
5752 with options \\"\$ac_cs_config\\"
5754 Copyright (C) 2010 Free Software Foundation, Inc.
5755 This config.status script is free software; the Free Software Foundation
5756 gives unlimited permission to copy, distribute and modify it."
5762 test -n "\$AWK" || AWK=awk
5765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5766 # The default lists apply if the user does not specify any file.
5772 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5773 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5777 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5789 # Handling of the options.
5790 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5792 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5793 $as_echo "$ac_cs_version"; exit ;;
5794 --config | --confi | --conf | --con | --co | --c )
5795 $as_echo "$ac_cs_config"; exit ;;
5796 --debug | --debu | --deb | --de | --d | -d )
5798 --file | --fil | --fi | --f )
5801 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5802 '') as_fn_error $? "missing file argument" ;;
5804 as_fn_append CONFIG_FILES " '$ac_optarg'"
5805 ac_need_defaults=false;;
5806 --header | --heade | --head | --hea )
5809 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5811 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5812 ac_need_defaults=false;;
5814 # Conflict between --help and --header
5815 as_fn_error $? "ambiguous option: \`$1'
5816 Try \`$0 --help' for more information.";;
5817 --help | --hel | -h )
5818 $as_echo "$ac_cs_usage"; exit ;;
5819 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5820 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5824 -*) as_fn_error $? "unrecognized option: \`$1'
5825 Try \`$0 --help' for more information." ;;
5827 *) as_fn_append ac_config_targets " $1"
5828 ac_need_defaults=false ;;
5834 ac_configure_extra_args=
5836 if $ac_cs_silent; then
5838 ac_configure_extra_args="$ac_configure_extra_args --silent"
5842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5843 if \$ac_cs_recheck; then
5844 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5846 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5847 CONFIG_SHELL='$SHELL'
5853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5857 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5858 @%:@@%:@ Running $as_me. @%:@@%:@
5864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5868 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5874 # Handling of arguments.
5875 for ac_config_target in $ac_config_targets
5877 case $ac_config_target in
5878 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5879 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5880 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5882 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
5887 # If the user did not use the arguments to specify the items to instantiate,
5888 # then the envvar interface is used. Set only those that are not.
5889 # We use the long form for the default assignment because of an extremely
5890 # bizarre bug on SunOS 4.1.3.
5891 if $ac_need_defaults; then
5892 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5893 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5894 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5897 # Have a temporary directory for convenience. Make it in the build tree
5898 # simply because there is no reason against having it here, and in addition,
5899 # creating and moving files from /tmp can sometimes cause problems.
5900 # Hook for its removal unless debugging.
5901 # Note that there is a small window in which the directory will not be cleaned:
5902 # after its creation but before its name has been assigned to `$tmp'.
5906 trap 'exit_status=$?
5907 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5909 trap 'as_fn_exit 1' 1 2 13 15
5911 # Create a (secure) tmp directory for tmp files.
5914 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5915 test -n "$tmp" && test -d "$tmp"
5918 tmp=./conf$$-$RANDOM
5919 (umask 077 && mkdir "$tmp")
5920 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5922 # Set up the scripts for CONFIG_FILES section.
5923 # No need to generate them if there are no CONFIG_FILES.
5924 # This happens for instance with `./config.status config.h'.
5925 if test -n "$CONFIG_FILES"; then
5928 ac_cr=`echo X | tr X '\015'`
5929 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5930 # But we know of no other shell where ac_cr would be empty at this
5931 # point, so we can use a bashism as a fallback.
5932 if test "x$ac_cr" = x; then
5933 eval ac_cr=\$\'\\r\'
5935 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5936 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5942 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5947 echo "cat >conf$$subs.awk <<_ACEOF" &&
5948 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5951 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5952 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5954 for ac_last_try in false false false false false :; do
5955 . ./conf$$subs.sh ||
5956 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5958 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5959 if test $ac_delim_n = $ac_delim_num; then
5961 elif $ac_last_try; then
5962 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5964 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5970 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5974 s/^/S["/; s/!.*/"]=/
5984 s/\(.\{148\}\)..*/\1/
5986 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5991 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5998 s/\(.\{148\}\)..*/\1/
6000 s/["\\]/\\&/g; s/^/"/; s/$/"/
6004 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6009 ' <conf$$subs.awk | sed '
6014 ' >>$CONFIG_STATUS || ac_write_fail=1
6015 rm -f conf$$subs.awk
6016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6018 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6019 for (key in S) S_is_set[key] = 1
6025 nfields = split(line, field, "@")
6027 len = length(field[1])
6028 for (i = 2; i < nfields; i++) {
6030 keylen = length(key)
6031 if (S_is_set[key]) {
6033 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6034 len += length(value) + length(field[++i])
6045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6046 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6047 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6050 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6051 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6054 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6055 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6056 # trailing colons and then remove the whole line if VPATH becomes empty
6057 # (actually we leave an empty line to preserve line numbers).
6058 if test "x$srcdir" = x.; then
6059 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6078 fi # test -n "$CONFIG_FILES"
6080 # Set up the scripts for CONFIG_HEADERS section.
6081 # No need to generate them if there are no CONFIG_HEADERS.
6082 # This happens for instance with `./config.status Makefile'.
6083 if test -n "$CONFIG_HEADERS"; then
6084 cat >"$tmp/defines.awk" <<\_ACAWK ||
6088 # Transform confdefs.h into an awk script `defines.awk', embedded as
6089 # here-document in config.status, that substitutes the proper values into
6090 # config.h.in to produce config.h.
6092 # Create a delimiter string that does not exist in confdefs.h, to ease
6093 # handling of long lines.
6095 for ac_last_try in false false :; do
6096 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6097 if test -z "$ac_t"; then
6099 elif $ac_last_try; then
6100 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6102 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6106 # For the awk script, D is an array of macro values keyed by name,
6107 # likewise P contains macro parameters if any. Preserve backslash
6108 # newline sequences.
6110 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6112 s/.\{148\}/&'"$ac_delim"'/g
6115 s/^[ ]*#[ ]*define[ ][ ]*/ /
6122 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6124 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6128 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6129 D["\1"]=" \3\\\\\\n"\\/p
6131 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6136 s/.\{148\}/&'"$ac_delim"'/g
6141 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6144 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6146 ' <confdefs.h | sed '
6147 s/'"$ac_delim"'/"\\\
6148 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6151 for (key in D) D_is_set[key] = 1
6154 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6156 split(line, arg, " ")
6157 if (arg[1] == "#") {
6161 defundef = substr(arg[1], 2)
6164 split(mac1, mac2, "(") #)
6166 prefix = substr(line, 1, index(line, defundef) - 1)
6167 if (D_is_set[macro]) {
6168 # Preserve the white space surrounding the "#".
6169 print prefix "define", macro P[macro] D[macro]
6172 # Replace #undef with comments. This is necessary, for example,
6173 # in the case of _POSIX_SOURCE, which is predefined and required
6174 # on some systems where configure will not decide to define it.
6175 if (defundef == "undef") {
6176 print "/*", prefix defundef, macro, "*/"
6184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6185 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6186 fi # test -n "$CONFIG_HEADERS"
6189 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6194 :[FHLC]) ac_mode=$ac_tag; continue;;
6196 case $ac_mode$ac_tag in
6198 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
6199 :[FH]-) ac_tag=-:-;;
6200 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6217 -) ac_f="$tmp/stdin";;
6218 *) # Look for the file first in the build tree, then in the source tree
6219 # (if the path is not absolute). The absolute path cannot be DOS-style,
6220 # because $ac_f cannot contain `:'.
6224 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6226 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
6228 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6229 as_fn_append ac_file_inputs " '$ac_f'"
6232 # Let's still pretend it is `configure' which instantiates (i.e., don't
6233 # use $as_me), people would be surprised to read:
6234 # /* config.h. Generated by config.status. */
6235 configure_input='Generated from '`
6236 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6238 if test x"$ac_file" != x-; then
6239 configure_input="$ac_file. $configure_input"
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6241 $as_echo "$as_me: creating $ac_file" >&6;}
6243 # Neutralize special characters interpreted by sed in replacement strings.
6244 case $configure_input in #(
6245 *\&* | *\|* | *\\* )
6246 ac_sed_conf_input=`$as_echo "$configure_input" |
6247 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6248 *) ac_sed_conf_input=$configure_input;;
6252 *:-:* | *:-) cat >"$tmp/stdin" \
6253 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6258 ac_dir=`$as_dirname -- "$ac_file" ||
6259 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6260 X"$ac_file" : 'X\(//\)[^/]' \| \
6261 X"$ac_file" : 'X\(//\)$' \| \
6262 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6263 $as_echo X"$ac_file" |
6264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6281 as_dir="$ac_dir"; as_fn_mkdir_p
6285 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6287 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6288 # A ".." for each directory in $ac_dir_suffix.
6289 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6290 case $ac_top_builddir_sub in
6291 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6292 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6295 ac_abs_top_builddir=$ac_pwd
6296 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6297 # for backward compatibility:
6298 ac_top_builddir=$ac_top_build_prefix
6301 .) # We are building in place.
6303 ac_top_srcdir=$ac_top_builddir_sub
6304 ac_abs_top_srcdir=$ac_pwd ;;
6305 [\\/]* | ?:[\\/]* ) # Absolute name.
6306 ac_srcdir=$srcdir$ac_dir_suffix;
6307 ac_top_srcdir=$srcdir
6308 ac_abs_top_srcdir=$srcdir ;;
6310 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6311 ac_top_srcdir=$ac_top_build_prefix$srcdir
6312 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6314 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6324 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6325 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6330 # If the template does not know about datarootdir, expand it.
6331 # FIXME: This hack should be removed a few years after 2.60.
6332 ac_datarootdir_hack=; ac_datarootdir_seen=
6343 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6344 *datarootdir*) ac_datarootdir_seen=yes;;
6345 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6347 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6350 ac_datarootdir_hack='
6351 s&@datadir@&$datadir&g
6352 s&@docdir@&$docdir&g
6353 s&@infodir@&$infodir&g
6354 s&@localedir@&$localedir&g
6355 s&@mandir@&$mandir&g
6356 s&\\\${datarootdir}&$datarootdir&g' ;;
6360 # Neutralize VPATH when `$srcdir' = `.'.
6361 # Shell code in configure.ac might set extrasub.
6362 # FIXME: do we really want to maintain this feature?
6363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6364 ac_sed_extra="$ac_vpsub
6367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6369 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6370 s|@configure_input@|$ac_sed_conf_input|;t t
6371 s&@top_builddir@&$ac_top_builddir_sub&;t t
6372 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6373 s&@srcdir@&$ac_srcdir&;t t
6374 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6375 s&@top_srcdir@&$ac_top_srcdir&;t t
6376 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6377 s&@builddir@&$ac_builddir&;t t
6378 s&@abs_builddir@&$ac_abs_builddir&;t t
6379 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6380 s&@INSTALL@&$ac_INSTALL&;t t
6381 $ac_datarootdir_hack
6383 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6384 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6386 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6387 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6388 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6390 which seems to be undefined. Please make sure it is defined" >&5
6391 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6392 which seems to be undefined. Please make sure it is defined" >&2;}
6396 -) cat "$tmp/out" && rm -f "$tmp/out";;
6397 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6399 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6405 if test x"$ac_file" != x-; then
6407 $as_echo "/* $configure_input */" \
6408 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6409 } >"$tmp/config.h" \
6410 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6411 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6413 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6416 mv "$tmp/config.h" "$ac_file" \
6417 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6420 $as_echo "/* $configure_input */" \
6421 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6422 || as_fn_error $? "could not create -" "$LINENO" 5
6424 # Compute "$ac_file"'s index in $config_headers.
6426 for _am_header in $config_headers :; do
6428 "$ac_file" | "$ac_file":* )
6431 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6434 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
6435 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6436 X"$ac_file" : 'X\(//\)[^/]' \| \
6437 X"$ac_file" : 'X\(//\)$' \| \
6438 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6439 $as_echo X"$ac_file" |
6440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6456 s/.*/./; q'`/stamp-h$_am_stamp_count
6459 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6460 $as_echo "$as_me: executing $ac_file commands" >&6;}
6465 case $ac_file$ac_mode in
6466 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6467 # Strip MF so we end up with the name of the file.
6468 mf=`echo "$mf" | sed -e 's/:.*$//'`
6469 # Check whether this is an Automake generated Makefile or not.
6470 # We used to match only the files named `Makefile.in', but
6471 # some people rename them; so instead we look at the file content.
6472 # Grep'ing the first line is not enough: some people post-process
6473 # each Makefile.in and add a new line on top of each file to say so.
6474 # So let's grep whole file.
6475 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6476 dirpart=`$as_dirname -- "$mf" ||
6477 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6478 X"$mf" : 'X\(//\)[^/]' \| \
6479 X"$mf" : 'X\(//\)$' \| \
6480 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6502 # Extract the definition of DEPDIR, am__include, and am__quote
6503 # from the Makefile without running `make'.
6504 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6505 test -z "$DEPDIR" && continue
6506 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6507 test -z "am__include" && continue
6508 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6509 # When using ansi2knr, U may be empty or an underscore; expand it
6510 U=`sed -n 's/^U = //p' < "$mf"`
6511 # Find all dependency output files, they are included files with
6512 # $(DEPDIR) in their names. We invoke sed twice because it is the
6513 # simplest approach to changing $(DEPDIR) to its actual value in the
6515 for file in `sed -n "
6516 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6517 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6518 # Make sure the directory exists.
6519 test -f "$dirpart/$file" && continue
6520 fdir=`$as_dirname -- "$file" ||
6521 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6522 X"$file" : 'X\(//\)[^/]' \| \
6523 X"$file" : 'X\(//\)$' \| \
6524 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6543 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6544 # echo "creating $dirpart/$file"
6545 echo '# dummy' > "$dirpart/$file"
6556 ac_clean_files=$ac_clean_files_save
6558 test $ac_write_fail = 0 ||
6559 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6562 # configure is writing to config.log, and then calls config.status.
6563 # config.status does its own redirection, appending to config.log.
6564 # Unfortunately, on DOS this fails, as config.log is still kept open
6565 # by configure, so config.status won't be able to write to it; its
6566 # output is simply discarded. So we exec the FD to /dev/null,
6567 # effectively closing config.log, so it can be properly (re)opened and
6568 # appended to by config.status. When coming back to configure, we
6569 # need to make the FD available again.
6570 if test "$no_create" != yes; then
6572 ac_config_status_args=
6573 test "$silent" = yes &&
6574 ac_config_status_args="$ac_config_status_args --quiet"
6576 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6578 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6579 # would make configure fail if this is the last instruction.
6580 $ac_cs_success || as_fn_exit 1
6582 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6584 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}