2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for sshpass 1.05.
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.
14 # Copyright (C) 2006,2008,2011 Lingnu Open Source Consulting Ltd.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
234 $0: including any error possibly output before this
235 $0: message. Then install a modern shell, or manually run
236 $0: the script under such a shell if you do have one."
242 SHELL=${CONFIG_SHELL-/bin/sh}
244 # Unset more variables known to interfere with behavior of common tools.
245 CLICOLOR_FORCE= GREP_OPTIONS=
246 unset CLICOLOR_FORCE GREP_OPTIONS
248 ## --------------------- ##
249 ## M4sh Shell Functions. ##
250 ## --------------------- ##
253 # Portably unset VAR.
256 { eval $1=; unset $1;}
260 # as_fn_set_status STATUS
261 # -----------------------
262 # Set $? to STATUS, without forking.
270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 # Create "$as_dir" as a directory, including parents if necessary.
285 -*) as_dir=./$as_dir;;
287 test -d "$as_dir" || eval $as_mkdir_p || {
291 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294 as_dirs="'$as_qdir' $as_dirs"
295 as_dir=`$as_dirname -- "$as_dir" ||
296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297 X"$as_dir" : 'X\(//\)[^/]' \| \
298 X"$as_dir" : 'X\(//\)$' \| \
299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300 $as_echo X"$as_dir" |
301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
318 test -d "$as_dir" && break
320 test -z "$as_dirs" || eval "mkdir $as_dirs"
321 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
325 # as_fn_append VAR VALUE
326 # ----------------------
327 # Append the text in VALUE to the end of the definition contained in VAR. Take
328 # advantage of any shell optimizations that allow amortized linear growth over
329 # repeated appends, instead of the typical quadratic growth present in naive
331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332 eval 'as_fn_append ()
345 # Perform arithmetic evaluation on the ARGs, and store the result in the
346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
347 # must be portable across $(()) and expr.
348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
356 as_val=`expr "$@" || test $? -eq 1`
361 # as_fn_error STATUS ERROR [LINENO LOG_FD]
362 # ----------------------------------------
363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with STATUS, using 1 if that was 0.
368 as_status=$1; test $as_status -eq 0 && as_status=1
370 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 $as_echo "$as_me: error: $2" >&2
374 as_fn_exit $as_status
377 if expr a : '\(a\)' >/dev/null 2>&1 &&
378 test "X`expr 00001 : '.*\(...\)'`" = X001; then
384 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
396 as_me=`$as_basename -- "$0" ||
397 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398 X"$0" : 'X\(//\)$' \| \
399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 sed '/^.*\/\([^/][^/]*\)\/*$/{
415 # Avoid depending upon Character Ranges.
416 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419 as_cr_digits='0123456789'
420 as_cr_alnum=$as_cr_Letters$as_cr_digits
423 as_lineno_1=$LINENO as_lineno_1a=$LINENO
424 as_lineno_2=$LINENO as_lineno_2a=$LINENO
425 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
439 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
443 chmod +x "$as_me.lineno" ||
444 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446 # Don't try to exec as it changes $[0], causing all sort of problems
447 # (the dirname of $[0] is not the place where we might find the
448 # original and so on. Autoconf is especially sensitive to this).
450 # Exit status is that of the last command.
454 ECHO_C= ECHO_N= ECHO_T=
455 case `echo -n x` in #(((((
457 case `echo 'xy\c'` in
458 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
460 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
467 rm -f conf$$ conf$$.exe conf$$.file
468 if test -d conf$$.dir; then
469 rm -f conf$$.dir/conf$$.file
472 mkdir conf$$.dir 2>/dev/null
474 if (echo >conf$$.file) 2>/dev/null; then
475 if ln -s conf$$.file conf$$ 2>/dev/null; then
477 # ... but there are two gotchas:
478 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
479 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
480 # In both cases, we have to default to `cp -p'.
481 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483 elif ln conf$$.file conf$$ 2>/dev/null; then
491 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
492 rmdir conf$$.dir 2>/dev/null
494 if mkdir -p . 2>/dev/null; then
495 as_mkdir_p='mkdir -p "$as_dir"'
497 test -d ./-p && rmdir ./-p
501 if test -x / >/dev/null 2>&1; then
504 if ls -dL / >/dev/null 2>&1; then
511 if test -d "$1"; then
517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518 ???[sx]*):;;*)false;;esac;fi
522 as_executable_p=$as_test_x
524 # Sed expression to map a string onto a valid CPP name.
525 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527 # Sed expression to map a string onto a valid variable name.
528 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531 test -n "$DJDIR" || exec 7<&0 </dev/null
535 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
536 # so uname gets run too.
537 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
542 ac_default_prefix=/usr/local
544 ac_config_libobj_dir=.
551 # Identity of this package.
552 PACKAGE_NAME='sshpass'
553 PACKAGE_TARNAME='sshpass'
554 PACKAGE_VERSION='1.05'
555 PACKAGE_STRING='sshpass 1.05'
559 ac_unique_file="main.c"
560 # Factoring default headers for most tests.
561 ac_includes_default="\
563 #ifdef HAVE_SYS_TYPES_H
564 # include <sys/types.h>
566 #ifdef HAVE_SYS_STAT_H
567 # include <sys/stat.h>
573 # ifdef HAVE_STDLIB_H
578 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 #ifdef HAVE_STRINGS_H
584 # include <strings.h>
586 #ifdef HAVE_INTTYPES_H
587 # include <inttypes.h>
596 ac_subst_vars='am__EXEEXT_FALSE
627 INSTALL_STRIP_PROGRAM
669 program_transform_name
682 enable_option_checking
683 enable_dependency_tracking
685 ac_precious_vars='build_alias
696 # Initialize some variables set by options.
698 ac_init_version=false
699 ac_unrecognized_opts=
701 # The variables have the same names as the options, with
702 # dashes changed to underlines.
710 program_transform_name=s,x,x,
718 # Installation directory options.
719 # These are left unexpanded so users can "make install exec_prefix=/foo"
720 # and all the variables that are supposed to be based on exec_prefix
721 # by default will actually change.
722 # Use braces instead of parens because sh, perl, etc. also accept them.
723 # (The list follows the same order as the GNU Coding Standards.)
724 bindir='${exec_prefix}/bin'
725 sbindir='${exec_prefix}/sbin'
726 libexecdir='${exec_prefix}/libexec'
727 datarootdir='${prefix}/share'
728 datadir='${datarootdir}'
729 sysconfdir='${prefix}/etc'
730 sharedstatedir='${prefix}/com'
731 localstatedir='${prefix}/var'
732 includedir='${prefix}/include'
733 oldincludedir='/usr/include'
734 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
735 infodir='${datarootdir}/info'
740 libdir='${exec_prefix}/lib'
741 localedir='${datarootdir}/locale'
742 mandir='${datarootdir}/man'
748 # If the previous option needs an argument, assign it.
749 if test -n "$ac_prev"; then
750 eval $ac_prev=\$ac_option
756 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
761 # Accept the important Cygnus configure options, so we can diagnose typos.
763 case $ac_dashdash$ac_option in
767 -bindir | --bindir | --bindi | --bind | --bin | --bi)
769 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
772 -build | --build | --buil | --bui | --bu)
773 ac_prev=build_alias ;;
774 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
775 build_alias=$ac_optarg ;;
777 -cache-file | --cache-file | --cache-fil | --cache-fi \
778 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
779 ac_prev=cache_file ;;
780 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
781 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
782 cache_file=$ac_optarg ;;
785 cache_file=config.cache ;;
787 -datadir | --datadir | --datadi | --datad)
789 -datadir=* | --datadir=* | --datadi=* | --datad=*)
790 datadir=$ac_optarg ;;
792 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
793 | --dataroo | --dataro | --datar)
794 ac_prev=datarootdir ;;
795 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
796 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
797 datarootdir=$ac_optarg ;;
799 -disable-* | --disable-*)
800 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
801 # Reject names that are not valid shell variable names.
802 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
803 as_fn_error $? "invalid feature name: $ac_useropt"
804 ac_useropt_orig=$ac_useropt
805 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
806 case $ac_user_opts in
810 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
811 ac_unrecognized_sep=', ';;
813 eval enable_$ac_useropt=no ;;
815 -docdir | --docdir | --docdi | --doc | --do)
817 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
820 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
822 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
825 -enable-* | --enable-*)
826 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
827 # Reject names that are not valid shell variable names.
828 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
829 as_fn_error $? "invalid feature name: $ac_useropt"
830 ac_useropt_orig=$ac_useropt
831 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
832 case $ac_user_opts in
836 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
837 ac_unrecognized_sep=', ';;
839 eval enable_$ac_useropt=\$ac_optarg ;;
841 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
842 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
843 | --exec | --exe | --ex)
844 ac_prev=exec_prefix ;;
845 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
846 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
847 | --exec=* | --exe=* | --ex=*)
848 exec_prefix=$ac_optarg ;;
850 -gas | --gas | --ga | --g)
851 # Obsolete; use --with-gas.
854 -help | --help | --hel | --he | -h)
856 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
857 ac_init_help=recursive ;;
858 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
859 ac_init_help=short ;;
861 -host | --host | --hos | --ho)
862 ac_prev=host_alias ;;
863 -host=* | --host=* | --hos=* | --ho=*)
864 host_alias=$ac_optarg ;;
866 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
868 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
870 htmldir=$ac_optarg ;;
872 -includedir | --includedir | --includedi | --included | --include \
873 | --includ | --inclu | --incl | --inc)
874 ac_prev=includedir ;;
875 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
876 | --includ=* | --inclu=* | --incl=* | --inc=*)
877 includedir=$ac_optarg ;;
879 -infodir | --infodir | --infodi | --infod | --info | --inf)
881 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
882 infodir=$ac_optarg ;;
884 -libdir | --libdir | --libdi | --libd)
886 -libdir=* | --libdir=* | --libdi=* | --libd=*)
889 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
890 | --libexe | --libex | --libe)
891 ac_prev=libexecdir ;;
892 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
893 | --libexe=* | --libex=* | --libe=*)
894 libexecdir=$ac_optarg ;;
896 -localedir | --localedir | --localedi | --localed | --locale)
898 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
899 localedir=$ac_optarg ;;
901 -localstatedir | --localstatedir | --localstatedi | --localstated \
902 | --localstate | --localstat | --localsta | --localst | --locals)
903 ac_prev=localstatedir ;;
904 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
905 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
906 localstatedir=$ac_optarg ;;
908 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
910 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
914 # Obsolete; use --without-fp.
917 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
918 | --no-cr | --no-c | -n)
921 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
922 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
925 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
926 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
927 | --oldin | --oldi | --old | --ol | --o)
928 ac_prev=oldincludedir ;;
929 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
930 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
931 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
932 oldincludedir=$ac_optarg ;;
934 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
936 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
939 -program-prefix | --program-prefix | --program-prefi | --program-pref \
940 | --program-pre | --program-pr | --program-p)
941 ac_prev=program_prefix ;;
942 -program-prefix=* | --program-prefix=* | --program-prefi=* \
943 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
944 program_prefix=$ac_optarg ;;
946 -program-suffix | --program-suffix | --program-suffi | --program-suff \
947 | --program-suf | --program-su | --program-s)
948 ac_prev=program_suffix ;;
949 -program-suffix=* | --program-suffix=* | --program-suffi=* \
950 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
951 program_suffix=$ac_optarg ;;
953 -program-transform-name | --program-transform-name \
954 | --program-transform-nam | --program-transform-na \
955 | --program-transform-n | --program-transform- \
956 | --program-transform | --program-transfor \
957 | --program-transfo | --program-transf \
958 | --program-trans | --program-tran \
959 | --progr-tra | --program-tr | --program-t)
960 ac_prev=program_transform_name ;;
961 -program-transform-name=* | --program-transform-name=* \
962 | --program-transform-nam=* | --program-transform-na=* \
963 | --program-transform-n=* | --program-transform-=* \
964 | --program-transform=* | --program-transfor=* \
965 | --program-transfo=* | --program-transf=* \
966 | --program-trans=* | --program-tran=* \
967 | --progr-tra=* | --program-tr=* | --program-t=*)
968 program_transform_name=$ac_optarg ;;
970 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
972 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
975 -psdir | --psdir | --psdi | --psd | --ps)
977 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
980 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
981 | -silent | --silent | --silen | --sile | --sil)
984 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
986 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
988 sbindir=$ac_optarg ;;
990 -sharedstatedir | --sharedstatedir | --sharedstatedi \
991 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
992 | --sharedst | --shareds | --shared | --share | --shar \
994 ac_prev=sharedstatedir ;;
995 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
996 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
997 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
999 sharedstatedir=$ac_optarg ;;
1001 -site | --site | --sit)
1003 -site=* | --site=* | --sit=*)
1006 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1008 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1009 srcdir=$ac_optarg ;;
1011 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1012 | --syscon | --sysco | --sysc | --sys | --sy)
1013 ac_prev=sysconfdir ;;
1014 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1015 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1016 sysconfdir=$ac_optarg ;;
1018 -target | --target | --targe | --targ | --tar | --ta | --t)
1019 ac_prev=target_alias ;;
1020 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1021 target_alias=$ac_optarg ;;
1023 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1026 -version | --version | --versio | --versi | --vers | -V)
1027 ac_init_version=: ;;
1030 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1031 # Reject names that are not valid shell variable names.
1032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1033 as_fn_error $? "invalid package name: $ac_useropt"
1034 ac_useropt_orig=$ac_useropt
1035 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1036 case $ac_user_opts in
1040 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1041 ac_unrecognized_sep=', ';;
1043 eval with_$ac_useropt=\$ac_optarg ;;
1045 -without-* | --without-*)
1046 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049 as_fn_error $? "invalid package name: $ac_useropt"
1050 ac_useropt_orig=$ac_useropt
1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1057 ac_unrecognized_sep=', ';;
1059 eval with_$ac_useropt=no ;;
1062 # Obsolete; use --with-x.
1065 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1066 | --x-incl | --x-inc | --x-in | --x-i)
1067 ac_prev=x_includes ;;
1068 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1069 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1070 x_includes=$ac_optarg ;;
1072 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1073 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1074 ac_prev=x_libraries ;;
1075 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1076 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1077 x_libraries=$ac_optarg ;;
1079 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1080 Try \`$0 --help' for more information"
1084 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1085 # Reject names that are not valid shell variable names.
1086 case $ac_envvar in #(
1087 '' | [0-9]* | *[!_$as_cr_alnum]* )
1088 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1090 eval $ac_envvar=\$ac_optarg
1091 export $ac_envvar ;;
1094 # FIXME: should be removed in autoconf 3.0.
1095 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1096 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1097 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1098 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1104 if test -n "$ac_prev"; then
1105 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1106 as_fn_error $? "missing argument to $ac_option"
1109 if test -n "$ac_unrecognized_opts"; then
1110 case $enable_option_checking in
1112 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1113 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1117 # Check all directory arguments for consistency.
1118 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1119 datadir sysconfdir sharedstatedir localstatedir includedir \
1120 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1121 libdir localedir mandir
1123 eval ac_val=\$$ac_var
1124 # Remove trailing slashes.
1127 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1128 eval $ac_var=\$ac_val;;
1130 # Be sure to have absolute directory names.
1132 [\\/$]* | ?:[\\/]* ) continue;;
1133 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1135 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1138 # There might be people who depend on the old broken behavior: `$host'
1139 # used to hold the argument of --host etc.
1140 # FIXME: To remove some day.
1143 target=$target_alias
1145 # FIXME: To remove some day.
1146 if test "x$host_alias" != x; then
1147 if test "x$build_alias" = x; then
1148 cross_compiling=maybe
1149 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1150 If a cross compiler is detected then cross compile mode will be used" >&2
1151 elif test "x$build_alias" != "x$host_alias"; then
1157 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1159 test "$silent" = yes && exec 6>/dev/null
1162 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1163 ac_ls_di=`ls -di .` &&
1164 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1165 as_fn_error $? "working directory cannot be determined"
1166 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1167 as_fn_error $? "pwd does not report name of working directory"
1170 # Find the source files, if location was not specified.
1171 if test -z "$srcdir"; then
1172 ac_srcdir_defaulted=yes
1173 # Try the directory containing this script, then the parent directory.
1174 ac_confdir=`$as_dirname -- "$as_myself" ||
1175 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1176 X"$as_myself" : 'X\(//\)[^/]' \| \
1177 X"$as_myself" : 'X\(//\)$' \| \
1178 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1179 $as_echo X"$as_myself" |
1180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1198 if test ! -r "$srcdir/$ac_unique_file"; then
1202 ac_srcdir_defaulted=no
1204 if test ! -r "$srcdir/$ac_unique_file"; then
1205 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1206 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1208 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1210 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1212 # When building in place, set srcdir=.
1213 if test "$ac_abs_confdir" = "$ac_pwd"; then
1216 # Remove unnecessary trailing slashes from srcdir.
1217 # Double slashes in file names in object file debugging info
1218 # mess up M-x gdb in Emacs.
1220 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1222 for ac_var in $ac_precious_vars; do
1223 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1224 eval ac_env_${ac_var}_value=\$${ac_var}
1225 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1226 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1230 # Report the --help message.
1232 if test "$ac_init_help" = "long"; then
1233 # Omit some internal or obsolete options to make the list less imposing.
1234 # This message is too long to be a string in the A/UX 3.1 sh.
1236 \`configure' configures sshpass 1.05 to adapt to many kinds of systems.
1238 Usage: $0 [OPTION]... [VAR=VALUE]...
1240 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1241 VAR=VALUE. See below for descriptions of some of the useful variables.
1243 Defaults for the options are specified in brackets.
1246 -h, --help display this help and exit
1247 --help=short display options specific to this package
1248 --help=recursive display the short help of all the included packages
1249 -V, --version display version information and exit
1250 -q, --quiet, --silent do not print \`checking ...' messages
1251 --cache-file=FILE cache test results in FILE [disabled]
1252 -C, --config-cache alias for \`--cache-file=config.cache'
1253 -n, --no-create do not create output files
1254 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1256 Installation directories:
1257 --prefix=PREFIX install architecture-independent files in PREFIX
1258 [$ac_default_prefix]
1259 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1262 By default, \`make install' will install all the files in
1263 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1264 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1265 for instance \`--prefix=\$HOME'.
1267 For better control, use the options below.
1269 Fine tuning of the installation directories:
1270 --bindir=DIR user executables [EPREFIX/bin]
1271 --sbindir=DIR system admin executables [EPREFIX/sbin]
1272 --libexecdir=DIR program executables [EPREFIX/libexec]
1273 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1274 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1275 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1276 --libdir=DIR object code libraries [EPREFIX/lib]
1277 --includedir=DIR C header files [PREFIX/include]
1278 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1279 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1280 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1281 --infodir=DIR info documentation [DATAROOTDIR/info]
1282 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1283 --mandir=DIR man documentation [DATAROOTDIR/man]
1284 --docdir=DIR documentation root [DATAROOTDIR/doc/sshpass]
1285 --htmldir=DIR html documentation [DOCDIR]
1286 --dvidir=DIR dvi documentation [DOCDIR]
1287 --pdfdir=DIR pdf documentation [DOCDIR]
1288 --psdir=DIR ps documentation [DOCDIR]
1294 --program-prefix=PREFIX prepend PREFIX to installed program names
1295 --program-suffix=SUFFIX append SUFFIX to installed program names
1296 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1300 if test -n "$ac_init_help"; then
1301 case $ac_init_help in
1302 short | recursive ) echo "Configuration of sshpass 1.05:";;
1307 --disable-option-checking ignore unrecognized --enable/--with options
1308 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1309 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1310 --disable-dependency-tracking speeds up one-time build
1311 --enable-dependency-tracking do not reject slow dependency extractors
1313 Some influential environment variables:
1314 CC C compiler command
1315 CFLAGS C compiler flags
1316 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1317 nonstandard directory <lib dir>
1318 LIBS libraries to pass to the linker, e.g. -l<library>
1319 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1320 you have headers in a nonstandard directory <include dir>
1323 Use these variables to override the choices made by `configure' or to help
1324 it to find libraries and programs with nonstandard names/locations.
1326 Report bugs to the package provider.
1331 if test "$ac_init_help" = "recursive"; then
1332 # If there are subdirs, report their specific --help.
1333 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1334 test -d "$ac_dir" ||
1335 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1343 # A ".." for each directory in $ac_dir_suffix.
1344 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1345 case $ac_top_builddir_sub in
1346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1350 ac_abs_top_builddir=$ac_pwd
1351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1352 # for backward compatibility:
1353 ac_top_builddir=$ac_top_build_prefix
1356 .) # We are building in place.
1358 ac_top_srcdir=$ac_top_builddir_sub
1359 ac_abs_top_srcdir=$ac_pwd ;;
1360 [\\/]* | ?:[\\/]* ) # Absolute name.
1361 ac_srcdir=$srcdir$ac_dir_suffix;
1362 ac_top_srcdir=$srcdir
1363 ac_abs_top_srcdir=$srcdir ;;
1365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1366 ac_top_srcdir=$ac_top_build_prefix$srcdir
1367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1371 cd "$ac_dir" || { ac_status=$?; continue; }
1372 # Check for guested configure.
1373 if test -f "$ac_srcdir/configure.gnu"; then
1375 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1376 elif test -f "$ac_srcdir/configure"; then
1378 $SHELL "$ac_srcdir/configure" --help=recursive
1380 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1382 cd "$ac_pwd" || { ac_status=$?; break; }
1386 test -n "$ac_init_help" && exit $ac_status
1387 if $ac_init_version; then
1389 sshpass configure 1.05
1390 generated by GNU Autoconf 2.67
1392 Copyright (C) 2010 Free Software Foundation, Inc.
1393 This configure script is free software; the Free Software Foundation
1394 gives unlimited permission to copy, distribute and modify it.
1396 Copyright (C) 2006,2008,2011 Lingnu Open Source Consulting Ltd.
1401 ## ------------------------ ##
1402 ## Autoconf initialization. ##
1403 ## ------------------------ ##
1405 # ac_fn_c_try_compile LINENO
1406 # --------------------------
1407 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1408 ac_fn_c_try_compile ()
1410 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1411 rm -f conftest.$ac_objext
1412 if { { ac_try="$ac_compile"
1414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1415 *) ac_try_echo=$ac_try;;
1417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1418 $as_echo "$ac_try_echo"; } >&5
1419 (eval "$ac_compile") 2>conftest.err
1421 if test -s conftest.err; then
1422 grep -v '^ *+' conftest.err >conftest.er1
1423 cat conftest.er1 >&5
1424 mv -f conftest.er1 conftest.err
1426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1427 test $ac_status = 0; } && {
1428 test -z "$ac_c_werror_flag" ||
1429 test ! -s conftest.err
1430 } && test -s conftest.$ac_objext; then :
1433 $as_echo "$as_me: failed program was:" >&5
1434 sed 's/^/| /' conftest.$ac_ext >&5
1438 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1439 as_fn_set_status $ac_retval
1441 } # ac_fn_c_try_compile
1443 # ac_fn_c_try_cpp LINENO
1444 # ----------------------
1445 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1448 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1449 if { { ac_try="$ac_cpp conftest.$ac_ext"
1451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1452 *) ac_try_echo=$ac_try;;
1454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1455 $as_echo "$ac_try_echo"; } >&5
1456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1458 if test -s conftest.err; then
1459 grep -v '^ *+' conftest.err >conftest.er1
1460 cat conftest.er1 >&5
1461 mv -f conftest.er1 conftest.err
1463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1464 test $ac_status = 0; } > conftest.i && {
1465 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1466 test ! -s conftest.err
1470 $as_echo "$as_me: failed program was:" >&5
1471 sed 's/^/| /' conftest.$ac_ext >&5
1475 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1476 as_fn_set_status $ac_retval
1480 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1481 # -------------------------------------------------------
1482 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1483 # the include files in INCLUDES and setting the cache variable VAR
1485 ac_fn_c_check_header_mongrel ()
1487 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1488 if eval "test \"\${$3+set}\"" = set; then :
1489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1490 $as_echo_n "checking for $2... " >&6; }
1491 if eval "test \"\${$3+set}\"" = set; then :
1492 $as_echo_n "(cached) " >&6
1495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1496 $as_echo "$ac_res" >&6; }
1498 # Is the header compilable?
1499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1500 $as_echo_n "checking $2 usability... " >&6; }
1501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1502 /* end confdefs.h. */
1506 if ac_fn_c_try_compile "$LINENO"; then :
1507 ac_header_compiler=yes
1509 ac_header_compiler=no
1511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1513 $as_echo "$ac_header_compiler" >&6; }
1515 # Is the header present?
1516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1517 $as_echo_n "checking $2 presence... " >&6; }
1518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1519 /* end confdefs.h. */
1522 if ac_fn_c_try_cpp "$LINENO"; then :
1523 ac_header_preproc=yes
1525 ac_header_preproc=no
1527 rm -f conftest.err conftest.i conftest.$ac_ext
1528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1529 $as_echo "$ac_header_preproc" >&6; }
1531 # So? What about this header?
1532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1535 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1537 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1541 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1543 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1545 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1547 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1549 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1553 $as_echo_n "checking for $2... " >&6; }
1554 if eval "test \"\${$3+set}\"" = set; then :
1555 $as_echo_n "(cached) " >&6
1557 eval "$3=\$ac_header_compiler"
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1561 $as_echo "$ac_res" >&6; }
1563 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1565 } # ac_fn_c_check_header_mongrel
1567 # ac_fn_c_try_run LINENO
1568 # ----------------------
1569 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1570 # that executables *can* be run.
1573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574 if { { ac_try="$ac_link"
1576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577 *) ac_try_echo=$ac_try;;
1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581 (eval "$ac_link") 2>&5
1583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1584 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1585 { { case "(($ac_try" in
1586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1587 *) ac_try_echo=$ac_try;;
1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591 (eval "$ac_try") 2>&5
1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594 test $ac_status = 0; }; }; then :
1597 $as_echo "$as_me: program exited with status $ac_status" >&5
1598 $as_echo "$as_me: failed program was:" >&5
1599 sed 's/^/| /' conftest.$ac_ext >&5
1601 ac_retval=$ac_status
1603 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1604 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1605 as_fn_set_status $ac_retval
1609 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1610 # -------------------------------------------------------
1611 # Tests whether HEADER exists and can be compiled using the include files in
1612 # INCLUDES, setting the cache variable VAR accordingly.
1613 ac_fn_c_check_header_compile ()
1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1617 $as_echo_n "checking for $2... " >&6; }
1618 if eval "test \"\${$3+set}\"" = set; then :
1619 $as_echo_n "(cached) " >&6
1621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1622 /* end confdefs.h. */
1626 if ac_fn_c_try_compile "$LINENO"; then :
1631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1635 $as_echo "$ac_res" >&6; }
1636 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1638 } # ac_fn_c_check_header_compile
1640 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1641 # -------------------------------------------
1642 # Tests whether TYPE exists after having included INCLUDES, setting cache
1643 # variable VAR accordingly.
1644 ac_fn_c_check_type ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1648 $as_echo_n "checking for $2... " >&6; }
1649 if eval "test \"\${$3+set}\"" = set; then :
1650 $as_echo_n "(cached) " >&6
1653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1654 /* end confdefs.h. */
1665 if ac_fn_c_try_compile "$LINENO"; then :
1666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667 /* end confdefs.h. */
1678 if ac_fn_c_try_compile "$LINENO"; then :
1683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689 $as_echo "$ac_res" >&6; }
1690 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1692 } # ac_fn_c_check_type
1694 # ac_fn_c_try_link LINENO
1695 # -----------------------
1696 # Try to link conftest.$ac_ext, and return whether this succeeded.
1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700 rm -f conftest.$ac_objext conftest$ac_exeext
1701 if { { ac_try="$ac_link"
1703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_link") 2>conftest.err
1710 if test -s conftest.err; then
1711 grep -v '^ *+' conftest.err >conftest.er1
1712 cat conftest.er1 >&5
1713 mv -f conftest.er1 conftest.err
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; } && {
1717 test -z "$ac_c_werror_flag" ||
1718 test ! -s conftest.err
1719 } && test -s conftest$ac_exeext && {
1720 test "$cross_compiling" = yes ||
1721 $as_test_x conftest$ac_exeext
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.$ac_ext >&5
1730 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1731 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1732 # interfere with the next link command; also delete a directory that is
1733 # left behind by Apple's compiler. We do this before executing the actions.
1734 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1735 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1736 as_fn_set_status $ac_retval
1738 } # ac_fn_c_try_link
1740 # ac_fn_c_check_func LINENO FUNC VAR
1741 # ----------------------------------
1742 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1743 ac_fn_c_check_func ()
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747 $as_echo_n "checking for $2... " >&6; }
1748 if eval "test \"\${$3+set}\"" = set; then :
1749 $as_echo_n "(cached) " >&6
1751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1752 /* end confdefs.h. */
1753 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1755 #define $2 innocuous_$2
1757 /* System header to define __stub macros and hopefully few prototypes,
1758 which can conflict with char $2 (); below.
1759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1760 <limits.h> exists even on freestanding compilers. */
1763 # include <limits.h>
1765 # include <assert.h>
1770 /* Override any GCC internal prototype to avoid an error.
1771 Use char because int might match the return type of a GCC
1772 builtin and then its argument prototype would still apply. */
1777 /* The GNU C library defines this for functions which it implements
1778 to always fail with ENOSYS. Some functions are actually named
1779 something starting with __ and the normal name is an alias. */
1780 #if defined __stub_$2 || defined __stub___$2
1792 if ac_fn_c_try_link "$LINENO"; then :
1797 rm -f core conftest.err conftest.$ac_objext \
1798 conftest$ac_exeext conftest.$ac_ext
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1803 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1805 } # ac_fn_c_check_func
1806 cat >config.log <<_ACEOF
1807 This file contains any messages produced by compilers while
1808 running configure, to aid debugging if configure makes a mistake.
1810 It was created by sshpass $as_me 1.05, which was
1811 generated by GNU Autoconf 2.67. Invocation command line was
1823 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1824 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1825 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1826 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1827 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1829 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1830 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1832 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1833 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1834 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1835 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1836 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1837 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1838 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846 test -z "$as_dir" && as_dir=.
1847 $as_echo "PATH: $as_dir"
1863 # Keep a trace of the command line.
1864 # Strip out --no-create and --no-recursion so they do not pile up.
1865 # Strip out --silent because we don't want to record it for future runs.
1866 # Also quote any args containing shell meta-characters.
1867 # Make two passes to allow for proper duplicate-argument suppression.
1871 ac_must_keep_next=false
1877 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1878 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1879 | -silent | --silent | --silen | --sile | --sil)
1882 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1885 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1887 as_fn_append ac_configure_args1 " '$ac_arg'"
1888 if test $ac_must_keep_next = true; then
1889 ac_must_keep_next=false # Got value, back to normal.
1892 *=* | --config-cache | -C | -disable-* | --disable-* \
1893 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1894 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1895 | -with-* | --with-* | -without-* | --without-* | --x)
1896 case "$ac_configure_args0 " in
1897 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1900 -* ) ac_must_keep_next=true ;;
1903 as_fn_append ac_configure_args " '$ac_arg'"
1908 { ac_configure_args0=; unset ac_configure_args0;}
1909 { ac_configure_args1=; unset ac_configure_args1;}
1911 # When interrupted or exit'd, cleanup temporary files, and complete
1912 # config.log. We remove comments because anyway the quotes in there
1913 # would cause problems or look ugly.
1914 # WARNING: Use '\'' to represent an apostrophe within the trap.
1915 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1916 trap 'exit_status=$?
1917 # Save into config.log some information that might help in debugging.
1921 $as_echo "## ---------------- ##
1922 ## Cache variables. ##
1923 ## ---------------- ##"
1925 # The following way of writing the cache mishandles newlines in values,
1927 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1928 eval ac_val=\$$ac_var
1932 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1933 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1936 _ | IFS | as_nl) ;; #(
1937 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1938 *) { eval $ac_var=; unset $ac_var;} ;;
1943 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1944 *${as_nl}ac_space=\ *)
1946 "s/'\''/'\''\\\\'\'''\''/g;
1947 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1950 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1957 $as_echo "## ----------------- ##
1958 ## Output variables. ##
1959 ## ----------------- ##"
1961 for ac_var in $ac_subst_vars
1963 eval ac_val=\$$ac_var
1965 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1967 $as_echo "$ac_var='\''$ac_val'\''"
1971 if test -n "$ac_subst_files"; then
1972 $as_echo "## ------------------- ##
1973 ## File substitutions. ##
1974 ## ------------------- ##"
1976 for ac_var in $ac_subst_files
1978 eval ac_val=\$$ac_var
1980 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1982 $as_echo "$ac_var='\''$ac_val'\''"
1987 if test -s confdefs.h; then
1988 $as_echo "## ----------- ##
1995 test "$ac_signal" != 0 &&
1996 $as_echo "$as_me: caught signal $ac_signal"
1997 $as_echo "$as_me: exit $exit_status"
1999 rm -f core *.core core.conftest.* &&
2000 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2003 for ac_signal in 1 2 13 15; do
2004 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2008 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2009 rm -f -r conftest* confdefs.h
2011 $as_echo "/* confdefs.h */" > confdefs.h
2013 # Predefined preprocessor variables.
2015 cat >>confdefs.h <<_ACEOF
2016 #define PACKAGE_NAME "$PACKAGE_NAME"
2019 cat >>confdefs.h <<_ACEOF
2020 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2023 cat >>confdefs.h <<_ACEOF
2024 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2027 cat >>confdefs.h <<_ACEOF
2028 #define PACKAGE_STRING "$PACKAGE_STRING"
2031 cat >>confdefs.h <<_ACEOF
2032 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2035 cat >>confdefs.h <<_ACEOF
2036 #define PACKAGE_URL "$PACKAGE_URL"
2040 # Let the site file select an alternate cache file if it wants to.
2041 # Prefer an explicitly selected file to automatically selected ones.
2044 if test -n "$CONFIG_SITE"; then
2045 # We do not want a PATH search for config.site.
2046 case $CONFIG_SITE in #((
2047 -*) ac_site_file1=./$CONFIG_SITE;;
2048 */*) ac_site_file1=$CONFIG_SITE;;
2049 *) ac_site_file1=./$CONFIG_SITE;;
2051 elif test "x$prefix" != xNONE; then
2052 ac_site_file1=$prefix/share/config.site
2053 ac_site_file2=$prefix/etc/config.site
2055 ac_site_file1=$ac_default_prefix/share/config.site
2056 ac_site_file2=$ac_default_prefix/etc/config.site
2058 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2060 test "x$ac_site_file" = xNONE && continue
2061 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2063 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2064 sed 's/^/| /' "$ac_site_file" >&5
2066 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2068 as_fn_error $? "failed to load site script $ac_site_file
2069 See \`config.log' for more details" "$LINENO" 5 ; }
2073 if test -r "$cache_file"; then
2074 # Some versions of bash will fail to source /dev/null (special files
2075 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2076 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2078 $as_echo "$as_me: loading cache $cache_file" >&6;}
2080 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2081 *) . "./$cache_file";;
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2086 $as_echo "$as_me: creating cache $cache_file" >&6;}
2090 # Check that the precious variables saved in the cache have kept the same
2092 ac_cache_corrupted=false
2093 for ac_var in $ac_precious_vars; do
2094 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2095 eval ac_new_set=\$ac_env_${ac_var}_set
2096 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2097 eval ac_new_val=\$ac_env_${ac_var}_value
2098 case $ac_old_set,$ac_new_set in
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2101 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2102 ac_cache_corrupted=: ;;
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2105 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2106 ac_cache_corrupted=: ;;
2109 if test "x$ac_old_val" != "x$ac_new_val"; then
2110 # differences in whitespace do not lead to failure.
2111 ac_old_val_w=`echo x $ac_old_val`
2112 ac_new_val_w=`echo x $ac_new_val`
2113 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2115 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2116 ac_cache_corrupted=:
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2119 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2120 eval $ac_var=\$ac_old_val
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2123 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2125 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2128 # Pass precious variables to config.status.
2129 if test "$ac_new_set" = set; then
2131 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2132 *) ac_arg=$ac_var=$ac_new_val ;;
2134 case " $ac_configure_args " in
2135 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2136 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2140 if $ac_cache_corrupted; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2144 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2145 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2147 ## -------------------- ##
2148 ## Main body of script. ##
2149 ## -------------------- ##
2152 ac_cpp='$CPP $CPPFLAGS'
2153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2158 am__api_version='1.11'
2161 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2162 if test -f "$ac_dir/install-sh"; then
2164 ac_install_sh="$ac_aux_dir/install-sh -c"
2166 elif test -f "$ac_dir/install.sh"; then
2168 ac_install_sh="$ac_aux_dir/install.sh -c"
2170 elif test -f "$ac_dir/shtool"; then
2172 ac_install_sh="$ac_aux_dir/shtool install -c"
2176 if test -z "$ac_aux_dir"; then
2177 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2180 # These three variables are undocumented and unsupported,
2181 # and are intended to be withdrawn in a future Autoconf release.
2182 # They can cause serious problems if a builder's source tree is in a directory
2183 # whose full name contains unusual characters.
2184 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2185 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2186 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2189 # Find a good install program. We prefer a C program (faster),
2190 # so one script is as good as another. But avoid the broken or
2191 # incompatible versions:
2192 # SysV /etc/install, /usr/sbin/install
2193 # SunOS /usr/etc/install
2194 # IRIX /sbin/install
2196 # AmigaOS /C/install, which installs bootblocks on floppy discs
2197 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2198 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2199 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2200 # OS/2's system install, which has a completely different semantic
2201 # ./install, which can be erroneously created by make from ./install.sh.
2202 # Reject install programs that cannot install multiple files.
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2204 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2205 if test -z "$INSTALL"; then
2206 if test "${ac_cv_path_install+set}" = set; then :
2207 $as_echo_n "(cached) " >&6
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir=.
2214 # Account for people who put trailing slashes in PATH elements.
2215 case $as_dir/ in #((
2216 ./ | .// | /[cC]/* | \
2217 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2218 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2221 # OSF1 and SCO ODT 3.0 have their own names for install.
2222 # Don't use installbsd from OSF since it installs stuff as root
2224 for ac_prog in ginstall scoinst install; do
2225 for ac_exec_ext in '' $ac_executable_extensions; do
2226 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2227 if test $ac_prog = install &&
2228 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2229 # AIX install. It has an incompatible calling convention.
2231 elif test $ac_prog = install &&
2232 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2233 # program-specific install script used by HP pwplus--don't use.
2236 rm -rf conftest.one conftest.two conftest.dir
2237 echo one > conftest.one
2238 echo two > conftest.two
2240 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2241 test -s conftest.one && test -s conftest.two &&
2242 test -s conftest.dir/conftest.one &&
2243 test -s conftest.dir/conftest.two
2245 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2258 rm -rf conftest.one conftest.two conftest.dir
2261 if test "${ac_cv_path_install+set}" = set; then
2262 INSTALL=$ac_cv_path_install
2264 # As a last resort, use the slow shell script. Don't cache a
2265 # value for INSTALL within a source directory, because that will
2266 # break other packages using the cache if that directory is
2267 # removed, or if the value is a relative name.
2268 INSTALL=$ac_install_sh
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2272 $as_echo "$INSTALL" >&6; }
2274 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2275 # It thinks the first close brace ends the variable substitution.
2276 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2278 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2280 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2283 $as_echo_n "checking whether build environment is sane... " >&6; }
2286 echo timestamp > conftest.file
2287 # Reject unsafe characters in $srcdir or the absolute working directory
2288 # name. Accept space and tab only in the latter.
2292 *[\\\"\#\$\&\'\`$am_lf]*)
2293 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2296 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2297 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2300 # Do `set' in a subshell so we don't clobber the current shell's
2301 # arguments. Must try -L first in case configure is actually a
2302 # symlink; some systems play weird games with the mod time of symlinks
2303 # (eg FreeBSD returns the mod time of the symlink's containing
2306 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2307 if test "$*" = "X"; then
2309 set X `ls -t "$srcdir/configure" conftest.file`
2312 if test "$*" != "X $srcdir/configure conftest.file" \
2313 && test "$*" != "X conftest.file $srcdir/configure"; then
2315 # If neither matched, then we have a broken ls. This can happen
2316 # if, for instance, CONFIG_SHELL is bash and it inherits a
2317 # broken ls alias from the environment. This has actually
2318 # happened. Such a system could not be considered "sane".
2319 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2320 alias in your environment" "$LINENO" 5
2323 test "$2" = conftest.file
2329 as_fn_error $? "newly created file is older than distributed files!
2330 Check your system clock" "$LINENO" 5
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2333 $as_echo "yes" >&6; }
2334 test "$program_prefix" != NONE &&
2335 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2336 # Use a double $ so make ignores it.
2337 test "$program_suffix" != NONE &&
2338 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2339 # Double any \ or $.
2340 # By default was `s,x,x', remove it if useless.
2341 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2342 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2344 # expand $ac_aux_dir to an absolute path
2345 am_aux_dir=`cd $ac_aux_dir && pwd`
2347 if test x"${MISSING+set}" != xset; then
2350 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2352 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2355 # Use eval to expand $SHELL
2356 if eval "$MISSING --run true"; then
2357 am_missing_run="$MISSING --run "
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2361 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2364 if test x"${install_sh}" != xset; then
2367 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2369 install_sh="\${SHELL} $am_aux_dir/install-sh"
2373 # Installed binaries are usually stripped using `strip' when the user
2374 # run `make install-strip'. However `strip' might not be the right
2375 # tool to use in cross-compilation environments, therefore Automake
2376 # will honor the `STRIP' environment variable to overrule this program.
2377 if test "$cross_compiling" != no; then
2378 if test -n "$ac_tool_prefix"; then
2379 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2380 set dummy ${ac_tool_prefix}strip; ac_word=$2
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2382 $as_echo_n "checking for $ac_word... " >&6; }
2383 if test "${ac_cv_prog_STRIP+set}" = set; then :
2384 $as_echo_n "(cached) " >&6
2386 if test -n "$STRIP"; then
2387 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2393 test -z "$as_dir" && as_dir=.
2394 for ac_exec_ext in '' $ac_executable_extensions; do
2395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2396 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2406 STRIP=$ac_cv_prog_STRIP
2407 if test -n "$STRIP"; then
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2409 $as_echo "$STRIP" >&6; }
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2412 $as_echo "no" >&6; }
2417 if test -z "$ac_cv_prog_STRIP"; then
2419 # Extract the first word of "strip", so it can be a program name with args.
2420 set dummy strip; ac_word=$2
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2422 $as_echo_n "checking for $ac_word... " >&6; }
2423 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2424 $as_echo_n "(cached) " >&6
2426 if test -n "$ac_ct_STRIP"; then
2427 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2433 test -z "$as_dir" && as_dir=.
2434 for ac_exec_ext in '' $ac_executable_extensions; do
2435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2436 ac_cv_prog_ac_ct_STRIP="strip"
2437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2446 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2447 if test -n "$ac_ct_STRIP"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2449 $as_echo "$ac_ct_STRIP" >&6; }
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2452 $as_echo "no" >&6; }
2455 if test "x$ac_ct_STRIP" = x; then
2458 case $cross_compiling:$ac_tool_warned in
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2462 ac_tool_warned=yes ;;
2467 STRIP="$ac_cv_prog_STRIP"
2471 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2474 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2475 if test -z "$MKDIR_P"; then
2476 if test "${ac_cv_path_mkdir+set}" = set; then :
2477 $as_echo_n "(cached) " >&6
2479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2480 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2483 test -z "$as_dir" && as_dir=.
2484 for ac_prog in mkdir gmkdir; do
2485 for ac_exec_ext in '' $ac_executable_extensions; do
2486 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2487 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2488 'mkdir (GNU coreutils) '* | \
2489 'mkdir (coreutils) '* | \
2490 'mkdir (fileutils) '4.1*)
2491 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2501 test -d ./--version && rmdir ./--version
2502 if test "${ac_cv_path_mkdir+set}" = set; then
2503 MKDIR_P="$ac_cv_path_mkdir -p"
2505 # As a last resort, use the slow shell script. Don't cache a
2506 # value for MKDIR_P within a source directory, because that will
2507 # break other packages using the cache if that directory is
2508 # removed, or if the value is a relative name.
2509 MKDIR_P="$ac_install_sh -d"
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2513 $as_echo "$MKDIR_P" >&6; }
2517 [\\/$]* | ?:[\\/]*) ;;
2518 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2521 for ac_prog in gawk mawk nawk awk
2523 # Extract the first word of "$ac_prog", so it can be a program name with args.
2524 set dummy $ac_prog; ac_word=$2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if test "${ac_cv_prog_AWK+set}" = set; then :
2528 $as_echo_n "(cached) " >&6
2530 if test -n "$AWK"; then
2531 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2540 ac_cv_prog_AWK="$ac_prog"
2541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 if test -n "$AWK"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2553 $as_echo "$AWK" >&6; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 $as_echo "no" >&6; }
2560 test -n "$AWK" && break
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2564 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2566 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2567 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2568 $as_echo_n "(cached) " >&6
2570 cat >conftest.make <<\_ACEOF
2573 @echo '@@@%%%=$(MAKE)=@@@%%%'
2575 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2576 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2578 eval ac_cv_prog_make_${ac_make}_set=yes;;
2580 eval ac_cv_prog_make_${ac_make}_set=no;;
2584 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2586 $as_echo "yes" >&6; }
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2590 $as_echo "no" >&6; }
2591 SET_MAKE="MAKE=${MAKE-make}"
2594 rm -rf .tst 2>/dev/null
2595 mkdir .tst 2>/dev/null
2596 if test -d .tst; then
2601 rmdir .tst 2>/dev/null
2603 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2604 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2605 # is not polluted with repeated "-I."
2606 am__isrc=' -I$(srcdir)'
2607 # test to see if srcdir already configured
2608 if test -f $srcdir/config.status; then
2609 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2613 # test whether we have cygpath
2614 if test -z "$CYGPATH_W"; then
2615 if (cygpath --version) >/dev/null 2>/dev/null; then
2616 CYGPATH_W='cygpath -w'
2623 # Define the identity of the package.
2628 cat >>confdefs.h <<_ACEOF
2629 #define PACKAGE "$PACKAGE"
2633 cat >>confdefs.h <<_ACEOF
2634 #define VERSION "$VERSION"
2637 # Some tools Automake needs.
2639 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2642 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2645 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2648 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2651 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2653 # We need awk for the "check" target. The system "awk" is bad on
2655 # Always define AMTAR for backward compatibility.
2657 AMTAR=${AMTAR-"${am_missing_run}tar"}
2659 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2668 DEPDIR="${am__leading_dot}deps"
2670 ac_config_commands="$ac_config_commands depfiles"
2673 am_make=${MAKE-make}
2674 cat > confinc << 'END'
2676 @echo this is the am__doit target
2679 # If we don't find an include directive, just comment out the code.
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2681 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2685 # First try GNU make style include.
2686 echo "include confinc" > confmf
2687 # Ignore all kinds of additional output from `make'.
2688 case `$am_make -s -f confmf 2> /dev/null` in #(
2689 *the\ am__doit\ target*)
2695 # Now try BSD make style include.
2696 if test "$am__include" = "#"; then
2697 echo '.include "confinc"' > confmf
2698 case `$am_make -s -f confmf 2> /dev/null` in #(
2699 *the\ am__doit\ target*)
2700 am__include=.include
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2709 $as_echo "$_am_result" >&6; }
2710 rm -f confinc confmf
2712 # Check whether --enable-dependency-tracking was given.
2713 if test "${enable_dependency_tracking+set}" = set; then :
2714 enableval=$enable_dependency_tracking;
2717 if test "x$enable_dependency_tracking" != xno; then
2718 am_depcomp="$ac_aux_dir/depcomp"
2721 if test "x$enable_dependency_tracking" != xno; then
2731 ac_cpp='$CPP $CPPFLAGS'
2732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2735 if test -n "$ac_tool_prefix"; then
2736 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2737 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2739 $as_echo_n "checking for $ac_word... " >&6; }
2740 if test "${ac_cv_prog_CC+set}" = set; then :
2741 $as_echo_n "(cached) " >&6
2743 if test -n "$CC"; then
2744 ac_cv_prog_CC="$CC" # Let the user override the test.
2746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750 test -z "$as_dir" && as_dir=.
2751 for ac_exec_ext in '' $ac_executable_extensions; do
2752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2753 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2764 if test -n "$CC"; then
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2766 $as_echo "$CC" >&6; }
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2769 $as_echo "no" >&6; }
2774 if test -z "$ac_cv_prog_CC"; then
2776 # Extract the first word of "gcc", so it can be a program name with args.
2777 set dummy gcc; ac_word=$2
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2779 $as_echo_n "checking for $ac_word... " >&6; }
2780 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2781 $as_echo_n "(cached) " >&6
2783 if test -n "$ac_ct_CC"; then
2784 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2790 test -z "$as_dir" && as_dir=.
2791 for ac_exec_ext in '' $ac_executable_extensions; do
2792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2793 ac_cv_prog_ac_ct_CC="gcc"
2794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2804 if test -n "$ac_ct_CC"; then
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2806 $as_echo "$ac_ct_CC" >&6; }
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2809 $as_echo "no" >&6; }
2812 if test "x$ac_ct_CC" = x; then
2815 case $cross_compiling:$ac_tool_warned in
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2819 ac_tool_warned=yes ;;
2827 if test -z "$CC"; then
2828 if test -n "$ac_tool_prefix"; then
2829 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2830 set dummy ${ac_tool_prefix}cc; ac_word=$2
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2832 $as_echo_n "checking for $ac_word... " >&6; }
2833 if test "${ac_cv_prog_CC+set}" = set; then :
2834 $as_echo_n "(cached) " >&6
2836 if test -n "$CC"; then
2837 ac_cv_prog_CC="$CC" # Let the user override the test.
2839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2843 test -z "$as_dir" && as_dir=.
2844 for ac_exec_ext in '' $ac_executable_extensions; do
2845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2846 ac_cv_prog_CC="${ac_tool_prefix}cc"
2847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2857 if test -n "$CC"; then
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2859 $as_echo "$CC" >&6; }
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2862 $as_echo "no" >&6; }
2868 if test -z "$CC"; then
2869 # Extract the first word of "cc", so it can be a program name with args.
2870 set dummy cc; ac_word=$2
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2872 $as_echo_n "checking for $ac_word... " >&6; }
2873 if test "${ac_cv_prog_CC+set}" = set; then :
2874 $as_echo_n "(cached) " >&6
2876 if test -n "$CC"; then
2877 ac_cv_prog_CC="$CC" # Let the user override the test.
2880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir=.
2885 for ac_exec_ext in '' $ac_executable_extensions; do
2886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2887 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2888 ac_prog_rejected=yes
2892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2899 if test $ac_prog_rejected = yes; then
2900 # We found a bogon in the path, so make sure we never use it.
2901 set dummy $ac_cv_prog_CC
2903 if test $# != 0; then
2904 # We chose a different compiler from the bogus one.
2905 # However, it has the same basename, so the bogon will be chosen
2906 # first if we set CC to just the basename; use the full file name.
2908 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2914 if test -n "$CC"; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2916 $as_echo "$CC" >&6; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2924 if test -z "$CC"; then
2925 if test -n "$ac_tool_prefix"; then
2926 for ac_prog in cl.exe
2928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2929 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2931 $as_echo_n "checking for $ac_word... " >&6; }
2932 if test "${ac_cv_prog_CC+set}" = set; then :
2933 $as_echo_n "(cached) " >&6
2935 if test -n "$CC"; then
2936 ac_cv_prog_CC="$CC" # Let the user override the test.
2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir=.
2943 for ac_exec_ext in '' $ac_executable_extensions; do
2944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2945 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2956 if test -n "$CC"; then
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2958 $as_echo "$CC" >&6; }
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2965 test -n "$CC" && break
2968 if test -z "$CC"; then
2970 for ac_prog in cl.exe
2972 # Extract the first word of "$ac_prog", so it can be a program name with args.
2973 set dummy $ac_prog; ac_word=$2
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975 $as_echo_n "checking for $ac_word... " >&6; }
2976 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2977 $as_echo_n "(cached) " >&6
2979 if test -n "$ac_ct_CC"; then
2980 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986 test -z "$as_dir" && as_dir=.
2987 for ac_exec_ext in '' $ac_executable_extensions; do
2988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2989 ac_cv_prog_ac_ct_CC="$ac_prog"
2990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2999 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3000 if test -n "$ac_ct_CC"; then
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3002 $as_echo "$ac_ct_CC" >&6; }
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3005 $as_echo "no" >&6; }
3009 test -n "$ac_ct_CC" && break
3012 if test "x$ac_ct_CC" = x; then
3015 case $cross_compiling:$ac_tool_warned in
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3019 ac_tool_warned=yes ;;
3028 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3030 as_fn_error $? "no acceptable C compiler found in \$PATH
3031 See \`config.log' for more details" "$LINENO" 5 ; }
3033 # Provide some information about the compiler.
3034 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3037 for ac_option in --version -v -V -qversion; do
3038 { { ac_try="$ac_compiler $ac_option >&5"
3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3044 $as_echo "$ac_try_echo"; } >&5
3045 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3047 if test -s conftest.err; then
3049 ... rest of stderr output deleted ...
3050 10q' conftest.err >conftest.er1
3051 cat conftest.er1 >&5
3053 rm -f conftest.er1 conftest.err
3054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3055 test $ac_status = 0; }
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3069 ac_clean_files_save=$ac_clean_files
3070 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3071 # Try to create an executable without -o first, disregard a.out.
3072 # It will help us diagnose broken compilers, and finding out an intuition
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3075 $as_echo_n "checking whether the C compiler works... " >&6; }
3076 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3078 # The possible output files:
3079 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3082 for ac_file in $ac_files
3085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3086 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3091 if { { ac_try="$ac_link_default"
3093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3094 *) ac_try_echo=$ac_try;;
3096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3097 $as_echo "$ac_try_echo"; } >&5
3098 (eval "$ac_link_default") 2>&5
3100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3101 test $ac_status = 0; }; then :
3102 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3103 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3104 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3105 # so that the user can short-circuit this test for compilers unknown to
3107 for ac_file in $ac_files ''
3109 test -f "$ac_file" || continue
3111 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3114 # We found the default executable, but exeext='' is most
3118 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3120 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3122 # We set ac_cv_exeext here because the later test for it is not
3123 # safe: cross compilers may not add the suffix if given an `-o'
3124 # argument, so we may need to know it at that point already.
3125 # Even if this section looks crufty: it has the advantage of
3132 test "$ac_cv_exeext" = no && ac_cv_exeext=
3137 if test -z "$ac_file"; then :
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139 $as_echo "no" >&6; }
3140 $as_echo "$as_me: failed program was:" >&5
3141 sed 's/^/| /' conftest.$ac_ext >&5
3143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3145 as_fn_error 77 "C compiler cannot create executables
3146 See \`config.log' for more details" "$LINENO" 5 ; }
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3149 $as_echo "yes" >&6; }
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3152 $as_echo_n "checking for C compiler default output file name... " >&6; }
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3154 $as_echo "$ac_file" >&6; }
3155 ac_exeext=$ac_cv_exeext
3157 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3158 ac_clean_files=$ac_clean_files_save
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3160 $as_echo_n "checking for suffix of executables... " >&6; }
3161 if { { ac_try="$ac_link"
3163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;;
3166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3167 $as_echo "$ac_try_echo"; } >&5
3168 (eval "$ac_link") 2>&5
3170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3171 test $ac_status = 0; }; then :
3172 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3173 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3174 # work properly (i.e., refer to `conftest.exe'), while it won't with
3176 for ac_file in conftest.exe conftest conftest.*; do
3177 test -f "$ac_file" || continue
3179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3180 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3188 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3189 See \`config.log' for more details" "$LINENO" 5 ; }
3191 rm -f conftest conftest$ac_cv_exeext
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3193 $as_echo "$ac_cv_exeext" >&6; }
3195 rm -f conftest.$ac_ext
3196 EXEEXT=$ac_cv_exeext
3198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3199 /* end confdefs.h. */
3204 FILE *f = fopen ("conftest.out", "w");
3205 return ferror (f) || fclose (f) != 0;
3211 ac_clean_files="$ac_clean_files conftest.out"
3212 # Check that the compiler produces executables we can run. If not, either
3213 # the compiler is broken, or we cross compile.
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3215 $as_echo_n "checking whether we are cross compiling... " >&6; }
3216 if test "$cross_compiling" != yes; then
3217 { { ac_try="$ac_link"
3219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3220 *) ac_try_echo=$ac_try;;
3222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3223 $as_echo "$ac_try_echo"; } >&5
3224 (eval "$ac_link") 2>&5
3226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3227 test $ac_status = 0; }
3228 if { ac_try='./conftest$ac_cv_exeext'
3229 { { case "(($ac_try" in
3230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231 *) ac_try_echo=$ac_try;;
3233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3234 $as_echo "$ac_try_echo"; } >&5
3235 (eval "$ac_try") 2>&5
3237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3238 test $ac_status = 0; }; }; then
3241 if test "$cross_compiling" = maybe; then
3244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3246 as_fn_error $? "cannot run C compiled programs.
3247 If you meant to cross compile, use \`--host'.
3248 See \`config.log' for more details" "$LINENO" 5 ; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3253 $as_echo "$cross_compiling" >&6; }
3255 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3256 ac_clean_files=$ac_clean_files_save
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3258 $as_echo_n "checking for suffix of object files... " >&6; }
3259 if test "${ac_cv_objext+set}" = set; then :
3260 $as_echo_n "(cached) " >&6
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3273 rm -f conftest.o conftest.obj
3274 if { { ac_try="$ac_compile"
3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3280 $as_echo "$ac_try_echo"; } >&5
3281 (eval "$ac_compile") 2>&5
3283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3284 test $ac_status = 0; }; then :
3285 for ac_file in conftest.o conftest.obj conftest.*; do
3286 test -f "$ac_file" || continue;
3288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3289 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3294 $as_echo "$as_me: failed program was:" >&5
3295 sed 's/^/| /' conftest.$ac_ext >&5
3297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3299 as_fn_error $? "cannot compute suffix of object files: cannot compile
3300 See \`config.log' for more details" "$LINENO" 5 ; }
3302 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3305 $as_echo "$ac_cv_objext" >&6; }
3306 OBJEXT=$ac_cv_objext
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3309 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3310 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3311 $as_echo_n "(cached) " >&6
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3327 if ac_fn_c_try_compile "$LINENO"; then :
3332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3333 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3337 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3338 if test $ac_compiler_gnu = yes; then
3343 ac_test_CFLAGS=${CFLAGS+set}
3344 ac_save_CFLAGS=$CFLAGS
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3346 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3347 if test "${ac_cv_prog_cc_g+set}" = set; then :
3348 $as_echo_n "(cached) " >&6
3350 ac_save_c_werror_flag=$ac_c_werror_flag
3351 ac_c_werror_flag=yes
3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355 /* end confdefs.h. */
3365 if ac_fn_c_try_compile "$LINENO"; then :
3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h. */
3380 if ac_fn_c_try_compile "$LINENO"; then :
3383 ac_c_werror_flag=$ac_save_c_werror_flag
3385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3386 /* end confdefs.h. */
3396 if ac_fn_c_try_compile "$LINENO"; then :
3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3404 ac_c_werror_flag=$ac_save_c_werror_flag
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3407 $as_echo "$ac_cv_prog_cc_g" >&6; }
3408 if test "$ac_test_CFLAGS" = set; then
3409 CFLAGS=$ac_save_CFLAGS
3410 elif test $ac_cv_prog_cc_g = yes; then
3411 if test "$GCC" = yes; then
3417 if test "$GCC" = yes; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3424 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3425 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3426 $as_echo_n "(cached) " >&6
3428 ac_cv_prog_cc_c89=no
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3434 #include <sys/types.h>
3435 #include <sys/stat.h>
3436 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3437 struct buf { int x; };
3438 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3439 static char *e (p, i)
3445 static char *f (char * (*g) (char **, int), char **p, ...)
3450 s = g (p, va_arg (v,int));
3455 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3456 function prototypes and stuff, but not '\xHH' hex character constants.
3457 These don't provoke an error unfortunately, instead are silently treated
3458 as 'x'. The following induces an error, until -std is added to get
3459 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3460 array size at least. It's necessary to write '\x00'==0 to get something
3461 that's true only with -std. */
3462 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3464 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3465 inside strings and character constants. */
3467 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3469 int test (int i, double x);
3470 struct s1 {int (*f) (int a);};
3471 struct s2 {int (*f) (double a);};
3472 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3478 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3483 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3484 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3486 CC="$ac_save_CC $ac_arg"
3487 if ac_fn_c_try_compile "$LINENO"; then :
3488 ac_cv_prog_cc_c89=$ac_arg
3490 rm -f core conftest.err conftest.$ac_objext
3491 test "x$ac_cv_prog_cc_c89" != "xno" && break
3493 rm -f conftest.$ac_ext
3498 case "x$ac_cv_prog_cc_c89" in
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3501 $as_echo "none needed" >&6; } ;;
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3504 $as_echo "unsupported" >&6; } ;;
3506 CC="$CC $ac_cv_prog_cc_c89"
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3508 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3510 if test "x$ac_cv_prog_cc_c89" != xno; then :
3515 ac_cpp='$CPP $CPPFLAGS'
3516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3520 depcc="$CC" am_compiler_list=
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3523 $as_echo_n "checking dependency style of $depcc... " >&6; }
3524 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3525 $as_echo_n "(cached) " >&6
3527 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3528 # We make a subdir and do the tests there. Otherwise we can end up
3529 # making bogus files that we don't know about and never remove. For
3530 # instance it was reported that on HP-UX the gcc test will end up
3531 # making a dummy file named `D' -- because `-MD' means `put the output
3534 # Copy depcomp to subdir because otherwise we won't find it if we're
3535 # using a relative directory.
3536 cp "$am_depcomp" conftest.dir
3538 # We will build objects and dependencies in a subdirectory because
3539 # it helps to detect inapplicable dependency modes. For instance
3540 # both Tru64's cc and ICC support -MD to output dependencies as a
3541 # side effect of compilation, but ICC will put the dependencies in
3542 # the current directory while Tru64 will put them in the object
3546 am_cv_CC_dependencies_compiler_type=none
3547 if test "$am_compiler_list" = ""; then
3548 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3551 case " $depcc " in #(
3552 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3555 for depmode in $am_compiler_list; do
3556 # Setup a source with many dependencies, because some compilers
3557 # like to wrap large dependency lists on column 80 (with \), and
3558 # we should not choose a depcomp mode which is confused by this.
3560 # We need to recreate these files for each test, as the compiler may
3561 # overwrite some of them when testing with obscure command lines.
3562 # This happens at least with the AIX C compiler.
3564 for i in 1 2 3 4 5 6; do
3565 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3566 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3567 # Solaris 8's {/usr,}/bin/sh.
3568 touch sub/conftst$i.h
3570 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3572 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3573 # mode. It turns out that the SunPro C++ compiler does not properly
3574 # handle `-M -o', and we need to detect this. Also, some Intel
3575 # versions had trouble with output in subdirs
3576 am__obj=sub/conftest.${OBJEXT-o}
3577 am__minus_obj="-o $am__obj"
3580 # This depmode causes a compiler race in universal mode.
3581 test "$am__universal" = false || continue
3584 # after this tag, mechanisms are not by side-effect, so they'll
3585 # only be used when explicitly requested
3586 if test "x$enable_dependency_tracking" = xyes; then
3592 msvisualcpp | msvcmsys)
3593 # This compiler won't grok `-c -o', but also, the minuso test has
3594 # not run yet. These depmodes are late enough in the game, and
3595 # so weak that their functioning should not be impacted.
3596 am__obj=conftest.${OBJEXT-o}
3601 if depmode=$depmode \
3602 source=sub/conftest.c object=$am__obj \
3603 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3604 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3605 >/dev/null 2>conftest.err &&
3606 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3607 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3608 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3609 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3610 # icc doesn't choke on unknown options, it will just issue warnings
3611 # or remarks (even with -Werror). So we grep stderr for any message
3612 # that says an option was ignored or not supported.
3613 # When given -MP, icc 7.0 and 7.1 complain thusly:
3614 # icc: Command line warning: ignoring option '-M'; no argument required
3615 # The diagnosis changed in icc 8.0:
3616 # icc: Command line remark: option '-MP' not supported
3617 if (grep 'ignoring option' conftest.err ||
3618 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3619 am_cv_CC_dependencies_compiler_type=$depmode
3628 am_cv_CC_dependencies_compiler_type=none
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3633 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3634 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3637 test "x$enable_dependency_tracking" != xno \
3638 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3640 am__fastdepCC_FALSE='#'
3642 am__fastdepCC_TRUE='#'
3643 am__fastdepCC_FALSE=
3649 ac_cpp='$CPP $CPPFLAGS'
3650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3654 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3655 # On Suns, sometimes $CPP names a directory.
3656 if test -n "$CPP" && test -d "$CPP"; then
3659 if test -z "$CPP"; then
3660 if test "${ac_cv_prog_CPP+set}" = set; then :
3661 $as_echo_n "(cached) " >&6
3663 # Double quotes because CPP needs to be expanded
3664 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3667 for ac_c_preproc_warn_flag in '' yes
3669 # Use a header file that comes with gcc, so configuring glibc
3670 # with a fresh cross-compiler works.
3671 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3672 # <limits.h> exists even on freestanding compilers.
3673 # On the NeXT, cc -E runs the code through the compiler's parser,
3674 # not just through cpp. "Syntax error" is here to catch this case.
3675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676 /* end confdefs.h. */
3678 # include <limits.h>
3680 # include <assert.h>
3684 if ac_fn_c_try_cpp "$LINENO"; then :
3687 # Broken: fails on valid input.
3690 rm -f conftest.err conftest.i conftest.$ac_ext
3692 # OK, works on sane cases. Now check whether nonexistent headers
3693 # can be detected and how.
3694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3695 /* end confdefs.h. */
3696 #include <ac_nonexistent.h>
3698 if ac_fn_c_try_cpp "$LINENO"; then :
3699 # Broken: success on invalid input.
3702 # Passes both tests.
3706 rm -f conftest.err conftest.i conftest.$ac_ext
3709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3710 rm -f conftest.i conftest.err conftest.$ac_ext
3711 if $ac_preproc_ok; then :
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3724 $as_echo "$CPP" >&6; }
3726 for ac_c_preproc_warn_flag in '' yes
3728 # Use a header file that comes with gcc, so configuring glibc
3729 # with a fresh cross-compiler works.
3730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3731 # <limits.h> exists even on freestanding compilers.
3732 # On the NeXT, cc -E runs the code through the compiler's parser,
3733 # not just through cpp. "Syntax error" is here to catch this case.
3734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3735 /* end confdefs.h. */
3737 # include <limits.h>
3739 # include <assert.h>
3743 if ac_fn_c_try_cpp "$LINENO"; then :
3746 # Broken: fails on valid input.
3749 rm -f conftest.err conftest.i conftest.$ac_ext
3751 # OK, works on sane cases. Now check whether nonexistent headers
3752 # can be detected and how.
3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754 /* end confdefs.h. */
3755 #include <ac_nonexistent.h>
3757 if ac_fn_c_try_cpp "$LINENO"; then :
3758 # Broken: success on invalid input.
3761 # Passes both tests.
3765 rm -f conftest.err conftest.i conftest.$ac_ext
3768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3769 rm -f conftest.i conftest.err conftest.$ac_ext
3770 if $ac_preproc_ok; then :
3773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3775 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3776 See \`config.log' for more details" "$LINENO" 5 ; }
3780 ac_cpp='$CPP $CPPFLAGS'
3781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3787 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3788 if test "${ac_cv_path_GREP+set}" = set; then :
3789 $as_echo_n "(cached) " >&6
3791 if test -z "$GREP"; then
3792 ac_path_GREP_found=false
3793 # Loop through the user's path and test for each of PROGNAME-LIST
3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3798 test -z "$as_dir" && as_dir=.
3799 for ac_prog in grep ggrep; do
3800 for ac_exec_ext in '' $ac_executable_extensions; do
3801 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3802 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3803 # Check for GNU ac_path_GREP and select it if it is found.
3804 # Check for GNU $ac_path_GREP
3805 case `"$ac_path_GREP" --version 2>&1` in
3807 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3810 $as_echo_n 0123456789 >"conftest.in"
3813 cat "conftest.in" "conftest.in" >"conftest.tmp"
3814 mv "conftest.tmp" "conftest.in"
3815 cp "conftest.in" "conftest.nl"
3816 $as_echo 'GREP' >> "conftest.nl"
3817 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3818 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3819 as_fn_arith $ac_count + 1 && ac_count=$as_val
3820 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3821 # Best one so far, save it but keep looking for a better one
3822 ac_cv_path_GREP="$ac_path_GREP"
3823 ac_path_GREP_max=$ac_count
3825 # 10*(2^10) chars as input seems more than enough
3826 test $ac_count -gt 10 && break
3828 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3831 $ac_path_GREP_found && break 3
3836 if test -z "$ac_cv_path_GREP"; then
3837 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3840 ac_cv_path_GREP=$GREP
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3845 $as_echo "$ac_cv_path_GREP" >&6; }
3846 GREP="$ac_cv_path_GREP"
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3850 $as_echo_n "checking for egrep... " >&6; }
3851 if test "${ac_cv_path_EGREP+set}" = set; then :
3852 $as_echo_n "(cached) " >&6
3854 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3855 then ac_cv_path_EGREP="$GREP -E"
3857 if test -z "$EGREP"; then
3858 ac_path_EGREP_found=false
3859 # Loop through the user's path and test for each of PROGNAME-LIST
3860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3861 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3864 test -z "$as_dir" && as_dir=.
3865 for ac_prog in egrep; do
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3868 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3869 # Check for GNU ac_path_EGREP and select it if it is found.
3870 # Check for GNU $ac_path_EGREP
3871 case `"$ac_path_EGREP" --version 2>&1` in
3873 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3876 $as_echo_n 0123456789 >"conftest.in"
3879 cat "conftest.in" "conftest.in" >"conftest.tmp"
3880 mv "conftest.tmp" "conftest.in"
3881 cp "conftest.in" "conftest.nl"
3882 $as_echo 'EGREP' >> "conftest.nl"
3883 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3884 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3885 as_fn_arith $ac_count + 1 && ac_count=$as_val
3886 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3887 # Best one so far, save it but keep looking for a better one
3888 ac_cv_path_EGREP="$ac_path_EGREP"
3889 ac_path_EGREP_max=$ac_count
3891 # 10*(2^10) chars as input seems more than enough
3892 test $ac_count -gt 10 && break
3894 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3897 $ac_path_EGREP_found && break 3
3902 if test -z "$ac_cv_path_EGREP"; then
3903 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3906 ac_cv_path_EGREP=$EGREP
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3912 $as_echo "$ac_cv_path_EGREP" >&6; }
3913 EGREP="$ac_cv_path_EGREP"
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3917 $as_echo_n "checking for ANSI C header files... " >&6; }
3918 if test "${ac_cv_header_stdc+set}" = set; then :
3919 $as_echo_n "(cached) " >&6
3921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h. */
3936 if ac_fn_c_try_compile "$LINENO"; then :
3937 ac_cv_header_stdc=yes
3939 ac_cv_header_stdc=no
3941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3943 if test $ac_cv_header_stdc = yes; then
3944 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3946 /* end confdefs.h. */
3950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3951 $EGREP "memchr" >/dev/null 2>&1; then :
3954 ac_cv_header_stdc=no
3960 if test $ac_cv_header_stdc = yes; then
3961 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3968 $EGREP "free" >/dev/null 2>&1; then :
3971 ac_cv_header_stdc=no
3977 if test $ac_cv_header_stdc = yes; then
3978 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3979 if test "$cross_compiling" = yes; then :
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3986 #if ((' ' & 0x0FF) == 0x020)
3987 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3988 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3990 # define ISLOWER(c) \
3991 (('a' <= (c) && (c) <= 'i') \
3992 || ('j' <= (c) && (c) <= 'r') \
3993 || ('s' <= (c) && (c) <= 'z'))
3994 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3997 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4002 for (i = 0; i < 256; i++)
4003 if (XOR (islower (i), ISLOWER (i))
4004 || toupper (i) != TOUPPER (i))
4009 if ac_fn_c_try_run "$LINENO"; then :
4012 ac_cv_header_stdc=no
4014 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4015 conftest.$ac_objext conftest.beam conftest.$ac_ext
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4021 $as_echo "$ac_cv_header_stdc" >&6; }
4022 if test $ac_cv_header_stdc = yes; then
4024 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4028 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4029 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4030 inttypes.h stdint.h unistd.h
4032 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4033 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4035 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4036 cat >>confdefs.h <<_ACEOF
4037 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4046 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4047 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4054 if test "$MINIX" = yes; then
4056 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4059 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4062 $as_echo "#define _MINIX 1" >>confdefs.h
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4068 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4069 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4070 $as_echo_n "(cached) " >&6
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4075 # define __EXTENSIONS__ 1
4076 $ac_includes_default
4085 if ac_fn_c_try_compile "$LINENO"; then :
4086 ac_cv_safe_to_define___extensions__=yes
4088 ac_cv_safe_to_define___extensions__=no
4090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4093 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4094 test $ac_cv_safe_to_define___extensions__ = yes &&
4095 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4097 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4099 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4101 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4103 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4107 # Checks for programs.
4109 ac_cpp='$CPP $CPPFLAGS'
4110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4113 if test -n "$ac_tool_prefix"; then
4114 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4115 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4117 $as_echo_n "checking for $ac_word... " >&6; }
4118 if test "${ac_cv_prog_CC+set}" = set; then :
4119 $as_echo_n "(cached) " >&6
4121 if test -n "$CC"; then
4122 ac_cv_prog_CC="$CC" # Let the user override the test.
4124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4128 test -z "$as_dir" && as_dir=.
4129 for ac_exec_ext in '' $ac_executable_extensions; do
4130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4131 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 if test -n "$CC"; then
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4144 $as_echo "$CC" >&6; }
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 $as_echo "no" >&6; }
4152 if test -z "$ac_cv_prog_CC"; then
4154 # Extract the first word of "gcc", so it can be a program name with args.
4155 set dummy gcc; ac_word=$2
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4157 $as_echo_n "checking for $ac_word... " >&6; }
4158 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4159 $as_echo_n "(cached) " >&6
4161 if test -n "$ac_ct_CC"; then
4162 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168 test -z "$as_dir" && as_dir=.
4169 for ac_exec_ext in '' $ac_executable_extensions; do
4170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4171 ac_cv_prog_ac_ct_CC="gcc"
4172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4181 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4182 if test -n "$ac_ct_CC"; then
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4184 $as_echo "$ac_ct_CC" >&6; }
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4190 if test "x$ac_ct_CC" = x; then
4193 case $cross_compiling:$ac_tool_warned in
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4197 ac_tool_warned=yes ;;
4205 if test -z "$CC"; then
4206 if test -n "$ac_tool_prefix"; then
4207 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4208 set dummy ${ac_tool_prefix}cc; ac_word=$2
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4210 $as_echo_n "checking for $ac_word... " >&6; }
4211 if test "${ac_cv_prog_CC+set}" = set; then :
4212 $as_echo_n "(cached) " >&6
4214 if test -n "$CC"; then
4215 ac_cv_prog_CC="$CC" # Let the user override the test.
4217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221 test -z "$as_dir" && as_dir=.
4222 for ac_exec_ext in '' $ac_executable_extensions; do
4223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4224 ac_cv_prog_CC="${ac_tool_prefix}cc"
4225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4235 if test -n "$CC"; then
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4237 $as_echo "$CC" >&6; }
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4240 $as_echo "no" >&6; }
4246 if test -z "$CC"; then
4247 # Extract the first word of "cc", so it can be a program name with args.
4248 set dummy cc; ac_word=$2
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4250 $as_echo_n "checking for $ac_word... " >&6; }
4251 if test "${ac_cv_prog_CC+set}" = set; then :
4252 $as_echo_n "(cached) " >&6
4254 if test -n "$CC"; then
4255 ac_cv_prog_CC="$CC" # Let the user override the test.
4258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4262 test -z "$as_dir" && as_dir=.
4263 for ac_exec_ext in '' $ac_executable_extensions; do
4264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4265 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4266 ac_prog_rejected=yes
4270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4277 if test $ac_prog_rejected = yes; then
4278 # We found a bogon in the path, so make sure we never use it.
4279 set dummy $ac_cv_prog_CC
4281 if test $# != 0; then
4282 # We chose a different compiler from the bogus one.
4283 # However, it has the same basename, so the bogon will be chosen
4284 # first if we set CC to just the basename; use the full file name.
4286 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4292 if test -n "$CC"; then
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4294 $as_echo "$CC" >&6; }
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4297 $as_echo "no" >&6; }
4302 if test -z "$CC"; then
4303 if test -n "$ac_tool_prefix"; then
4304 for ac_prog in cl.exe
4306 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4307 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309 $as_echo_n "checking for $ac_word... " >&6; }
4310 if test "${ac_cv_prog_CC+set}" = set; then :
4311 $as_echo_n "(cached) " >&6
4313 if test -n "$CC"; then
4314 ac_cv_prog_CC="$CC" # Let the user override the test.
4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4320 test -z "$as_dir" && as_dir=.
4321 for ac_exec_ext in '' $ac_executable_extensions; do
4322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4323 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334 if test -n "$CC"; then
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4336 $as_echo "$CC" >&6; }
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339 $as_echo "no" >&6; }
4343 test -n "$CC" && break
4346 if test -z "$CC"; then
4348 for ac_prog in cl.exe
4350 # Extract the first word of "$ac_prog", so it can be a program name with args.
4351 set dummy $ac_prog; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4355 $as_echo_n "(cached) " >&6
4357 if test -n "$ac_ct_CC"; then
4358 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367 ac_cv_prog_ac_ct_CC="$ac_prog"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4378 if test -n "$ac_ct_CC"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4380 $as_echo "$ac_ct_CC" >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4387 test -n "$ac_ct_CC" && break
4390 if test "x$ac_ct_CC" = x; then
4393 case $cross_compiling:$ac_tool_warned in
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4397 ac_tool_warned=yes ;;
4406 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4408 as_fn_error $? "no acceptable C compiler found in \$PATH
4409 See \`config.log' for more details" "$LINENO" 5 ; }
4411 # Provide some information about the compiler.
4412 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4415 for ac_option in --version -v -V -qversion; do
4416 { { ac_try="$ac_compiler $ac_option >&5"
4418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4419 *) ac_try_echo=$ac_try;;
4421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4422 $as_echo "$ac_try_echo"; } >&5
4423 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4425 if test -s conftest.err; then
4427 ... rest of stderr output deleted ...
4428 10q' conftest.err >conftest.er1
4429 cat conftest.er1 >&5
4431 rm -f conftest.er1 conftest.err
4432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4433 test $ac_status = 0; }
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4437 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4438 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4439 $as_echo_n "(cached) " >&6
4441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4442 /* end confdefs.h. */
4455 if ac_fn_c_try_compile "$LINENO"; then :
4460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4461 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4465 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4466 if test $ac_compiler_gnu = yes; then
4471 ac_test_CFLAGS=${CFLAGS+set}
4472 ac_save_CFLAGS=$CFLAGS
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4474 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4475 if test "${ac_cv_prog_cc_g+set}" = set; then :
4476 $as_echo_n "(cached) " >&6
4478 ac_save_c_werror_flag=$ac_c_werror_flag
4479 ac_c_werror_flag=yes
4482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4483 /* end confdefs.h. */
4493 if ac_fn_c_try_compile "$LINENO"; then :
4497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4498 /* end confdefs.h. */
4508 if ac_fn_c_try_compile "$LINENO"; then :
4511 ac_c_werror_flag=$ac_save_c_werror_flag
4513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4514 /* end confdefs.h. */
4524 if ac_fn_c_try_compile "$LINENO"; then :
4527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4532 ac_c_werror_flag=$ac_save_c_werror_flag
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4535 $as_echo "$ac_cv_prog_cc_g" >&6; }
4536 if test "$ac_test_CFLAGS" = set; then
4537 CFLAGS=$ac_save_CFLAGS
4538 elif test $ac_cv_prog_cc_g = yes; then
4539 if test "$GCC" = yes; then
4545 if test "$GCC" = yes; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4552 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4553 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4554 $as_echo_n "(cached) " >&6
4556 ac_cv_prog_cc_c89=no
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4562 #include <sys/types.h>
4563 #include <sys/stat.h>
4564 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4565 struct buf { int x; };
4566 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4567 static char *e (p, i)
4573 static char *f (char * (*g) (char **, int), char **p, ...)
4578 s = g (p, va_arg (v,int));
4583 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4584 function prototypes and stuff, but not '\xHH' hex character constants.
4585 These don't provoke an error unfortunately, instead are silently treated
4586 as 'x'. The following induces an error, until -std is added to get
4587 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4588 array size at least. It's necessary to write '\x00'==0 to get something
4589 that's true only with -std. */
4590 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4592 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4593 inside strings and character constants. */
4595 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4597 int test (int i, double x);
4598 struct s1 {int (*f) (int a);};
4599 struct s2 {int (*f) (double a);};
4600 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4606 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4611 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4612 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4614 CC="$ac_save_CC $ac_arg"
4615 if ac_fn_c_try_compile "$LINENO"; then :
4616 ac_cv_prog_cc_c89=$ac_arg
4618 rm -f core conftest.err conftest.$ac_objext
4619 test "x$ac_cv_prog_cc_c89" != "xno" && break
4621 rm -f conftest.$ac_ext
4626 case "x$ac_cv_prog_cc_c89" in
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4629 $as_echo "none needed" >&6; } ;;
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4632 $as_echo "unsupported" >&6; } ;;
4634 CC="$CC $ac_cv_prog_cc_c89"
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4636 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4638 if test "x$ac_cv_prog_cc_c89" != xno; then :
4643 ac_cpp='$CPP $CPPFLAGS'
4644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4648 depcc="$CC" am_compiler_list=
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4651 $as_echo_n "checking dependency style of $depcc... " >&6; }
4652 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4653 $as_echo_n "(cached) " >&6
4655 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4656 # We make a subdir and do the tests there. Otherwise we can end up
4657 # making bogus files that we don't know about and never remove. For
4658 # instance it was reported that on HP-UX the gcc test will end up
4659 # making a dummy file named `D' -- because `-MD' means `put the output
4662 # Copy depcomp to subdir because otherwise we won't find it if we're
4663 # using a relative directory.
4664 cp "$am_depcomp" conftest.dir
4666 # We will build objects and dependencies in a subdirectory because
4667 # it helps to detect inapplicable dependency modes. For instance
4668 # both Tru64's cc and ICC support -MD to output dependencies as a
4669 # side effect of compilation, but ICC will put the dependencies in
4670 # the current directory while Tru64 will put them in the object
4674 am_cv_CC_dependencies_compiler_type=none
4675 if test "$am_compiler_list" = ""; then
4676 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4679 case " $depcc " in #(
4680 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4683 for depmode in $am_compiler_list; do
4684 # Setup a source with many dependencies, because some compilers
4685 # like to wrap large dependency lists on column 80 (with \), and
4686 # we should not choose a depcomp mode which is confused by this.
4688 # We need to recreate these files for each test, as the compiler may
4689 # overwrite some of them when testing with obscure command lines.
4690 # This happens at least with the AIX C compiler.
4692 for i in 1 2 3 4 5 6; do
4693 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4694 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4695 # Solaris 8's {/usr,}/bin/sh.
4696 touch sub/conftst$i.h
4698 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4700 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4701 # mode. It turns out that the SunPro C++ compiler does not properly
4702 # handle `-M -o', and we need to detect this. Also, some Intel
4703 # versions had trouble with output in subdirs
4704 am__obj=sub/conftest.${OBJEXT-o}
4705 am__minus_obj="-o $am__obj"
4708 # This depmode causes a compiler race in universal mode.
4709 test "$am__universal" = false || continue
4712 # after this tag, mechanisms are not by side-effect, so they'll
4713 # only be used when explicitly requested
4714 if test "x$enable_dependency_tracking" = xyes; then
4720 msvisualcpp | msvcmsys)
4721 # This compiler won't grok `-c -o', but also, the minuso test has
4722 # not run yet. These depmodes are late enough in the game, and
4723 # so weak that their functioning should not be impacted.
4724 am__obj=conftest.${OBJEXT-o}
4729 if depmode=$depmode \
4730 source=sub/conftest.c object=$am__obj \
4731 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4732 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4733 >/dev/null 2>conftest.err &&
4734 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4735 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4736 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4737 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4738 # icc doesn't choke on unknown options, it will just issue warnings
4739 # or remarks (even with -Werror). So we grep stderr for any message
4740 # that says an option was ignored or not supported.
4741 # When given -MP, icc 7.0 and 7.1 complain thusly:
4742 # icc: Command line warning: ignoring option '-M'; no argument required
4743 # The diagnosis changed in icc 8.0:
4744 # icc: Command line remark: option '-MP' not supported
4745 if (grep 'ignoring option' conftest.err ||
4746 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4747 am_cv_CC_dependencies_compiler_type=$depmode
4756 am_cv_CC_dependencies_compiler_type=none
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4761 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4762 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4765 test "x$enable_dependency_tracking" != xno \
4766 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4768 am__fastdepCC_FALSE='#'
4770 am__fastdepCC_TRUE='#'
4771 am__fastdepCC_FALSE=
4776 # Checks for libraries.
4778 # Checks for header files.
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4780 $as_echo_n "checking for ANSI C header files... " >&6; }
4781 if test "${ac_cv_header_stdc+set}" = set; then :
4782 $as_echo_n "(cached) " >&6
4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4799 if ac_fn_c_try_compile "$LINENO"; then :
4800 ac_cv_header_stdc=yes
4802 ac_cv_header_stdc=no
4804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4806 if test $ac_cv_header_stdc = yes; then
4807 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4809 /* end confdefs.h. */
4813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4814 $EGREP "memchr" >/dev/null 2>&1; then :
4817 ac_cv_header_stdc=no
4823 if test $ac_cv_header_stdc = yes; then
4824 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4826 /* end confdefs.h. */
4830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4831 $EGREP "free" >/dev/null 2>&1; then :
4834 ac_cv_header_stdc=no
4840 if test $ac_cv_header_stdc = yes; then
4841 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4842 if test "$cross_compiling" = yes; then :
4845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4846 /* end confdefs.h. */
4849 #if ((' ' & 0x0FF) == 0x020)
4850 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4851 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4853 # define ISLOWER(c) \
4854 (('a' <= (c) && (c) <= 'i') \
4855 || ('j' <= (c) && (c) <= 'r') \
4856 || ('s' <= (c) && (c) <= 'z'))
4857 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4860 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4865 for (i = 0; i < 256; i++)
4866 if (XOR (islower (i), ISLOWER (i))
4867 || toupper (i) != TOUPPER (i))
4872 if ac_fn_c_try_run "$LINENO"; then :
4875 ac_cv_header_stdc=no
4877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4878 conftest.$ac_objext conftest.beam conftest.$ac_ext
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4884 $as_echo "$ac_cv_header_stdc" >&6; }
4885 if test $ac_cv_header_stdc = yes; then
4887 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4892 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4893 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
4894 $as_echo_n "(cached) " >&6
4896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4897 /* end confdefs.h. */
4898 #include <sys/types.h>
4899 #include <sys/wait.h>
4901 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4904 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4912 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4917 if ac_fn_c_try_compile "$LINENO"; then :
4918 ac_cv_header_sys_wait_h=yes
4920 ac_cv_header_sys_wait_h=no
4922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4925 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4926 if test $ac_cv_header_sys_wait_h = yes; then
4928 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4932 for ac_header in fcntl.h stdlib.h string.h sys/ioctl.h unistd.h termios.h
4934 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4935 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4936 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4937 cat >>confdefs.h <<_ACEOF
4938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4946 # Checks for typedefs, structures, and compiler characteristics.
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4948 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4949 if test "${ac_cv_c_const+set}" = set; then :
4950 $as_echo_n "(cached) " >&6
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4958 /* FIXME: Include the comments suggested by Paul. */
4960 /* Ultrix mips cc rejects this. */
4961 typedef int charset[2];
4963 /* SunOS 4.1.1 cc rejects this. */
4964 char const *const *pcpcc;
4966 /* NEC SVR4.0.2 mips cc rejects this. */
4967 struct point {int x, y;};
4968 static struct point const zero = {0,0};
4969 /* AIX XL C 1.02.0.0 rejects this.
4970 It does not let you subtract one const X* pointer from another in
4971 an arm of an if-expression whose if-part is not a constant
4973 const char *g = "string";
4974 pcpcc = &g + (g ? g-g : 0);
4975 /* HPUX 7.0 cc rejects these. */
4977 ppc = (char**) pcpcc;
4978 pcpcc = (char const *const *) ppc;
4979 { /* SCO 3.2v4 cc rejects this. */
4981 char const *s = 0 ? (char *) 0 : (char const *) 0;
4986 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4988 const int *foo = &x[0];
4991 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4992 typedef const int *iptr;
4996 { /* AIX XL C 1.02.0.0 rejects this saying
4997 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4998 struct s { int j; const int *ap[3]; };
4999 struct s *b; b->j = 5;
5001 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5005 return !cs[0] && !zero.x;
5012 if ac_fn_c_try_compile "$LINENO"; then :
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5020 $as_echo "$ac_cv_c_const" >&6; }
5021 if test $ac_cv_c_const = no; then
5023 $as_echo "#define const /**/" >>confdefs.h
5027 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
5028 if test "x$ac_cv_type_pid_t" = x""yes; then :
5032 cat >>confdefs.h <<_ACEOF
5038 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5039 if test "x$ac_cv_type_ssize_t" = x""yes; then :
5043 cat >>confdefs.h <<_ACEOF
5050 # Checks for library functions.
5051 for ac_header in vfork.h
5053 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
5054 if test "x$ac_cv_header_vfork_h" = x""yes; then :
5055 cat >>confdefs.h <<_ACEOF
5056 #define HAVE_VFORK_H 1
5063 for ac_func in fork vfork
5065 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5067 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5068 cat >>confdefs.h <<_ACEOF
5069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5075 if test "x$ac_cv_func_fork" = xyes; then
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
5077 $as_echo_n "checking for working fork... " >&6; }
5078 if test "${ac_cv_func_fork_works+set}" = set; then :
5079 $as_echo_n "(cached) " >&6
5081 if test "$cross_compiling" = yes; then :
5082 ac_cv_func_fork_works=cross
5084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5085 /* end confdefs.h. */
5086 $ac_includes_default
5091 /* By Ruediger Kuhlmann. */
5098 if ac_fn_c_try_run "$LINENO"; then :
5099 ac_cv_func_fork_works=yes
5101 ac_cv_func_fork_works=no
5103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5104 conftest.$ac_objext conftest.beam conftest.$ac_ext
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
5109 $as_echo "$ac_cv_func_fork_works" >&6; }
5112 ac_cv_func_fork_works=$ac_cv_func_fork
5114 if test "x$ac_cv_func_fork_works" = xcross; then
5116 *-*-amigaos* | *-*-msdosdjgpp*)
5117 # Override, as these systems have only a dummy fork() stub
5118 ac_cv_func_fork_works=no
5121 ac_cv_func_fork_works=yes
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
5125 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
5127 ac_cv_func_vfork_works=$ac_cv_func_vfork
5128 if test "x$ac_cv_func_vfork" = xyes; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
5130 $as_echo_n "checking for working vfork... " >&6; }
5131 if test "${ac_cv_func_vfork_works+set}" = set; then :
5132 $as_echo_n "(cached) " >&6
5134 if test "$cross_compiling" = yes; then :
5135 ac_cv_func_vfork_works=cross
5137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5138 /* end confdefs.h. */
5139 /* Thanks to Paul Eggert for this test. */
5140 $ac_includes_default
5141 #include <sys/wait.h>
5145 /* On some sparc systems, changes by the child to local and incoming
5146 argument registers are propagated back to the parent. The compiler
5147 is told about this with #include <vfork.h>, but some compilers
5148 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
5149 static variable whose address is put into a register that is
5150 clobbered by the vfork. */
5153 sparc_address_test (int arg)
5155 sparc_address_test (arg) int arg;
5176 pid_t parent = getpid ();
5179 sparc_address_test (0);
5184 /* Here is another test for sparc vfork register problems. This
5185 test uses lots of local variables, at least as many local
5186 variables as main has allocated so far including compiler
5187 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
5188 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
5189 reuse the register of parent for one of the local variables,
5190 since it will think that parent can't possibly be used any more
5191 in this routine. Assigning to the local variable will thus
5192 munge parent in the parent process. */
5194 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5195 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5196 /* Convince the compiler that p..p7 are live; otherwise, it might
5197 use the same hardware register for all 8 local variables. */
5198 if (p != p1 || p != p2 || p != p3 || p != p4
5199 || p != p5 || p != p6 || p != p7)
5202 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5203 from child file descriptors. If the child closes a descriptor
5204 before it execs or exits, this munges the parent's descriptor
5205 as well. Test for this by closing stdout in the child. */
5206 _exit(close(fileno(stdout)) != 0);
5211 while (wait(&status) != child)
5214 /* Was there some problem with vforking? */
5217 /* Did the child fail? (This shouldn't happen.) */
5220 /* Did the vfork/compiler bug occur? */
5221 || parent != getpid()
5223 /* Did the file descriptor bug occur? */
5224 || fstat(fileno(stdout), &st) != 0
5229 if ac_fn_c_try_run "$LINENO"; then :
5230 ac_cv_func_vfork_works=yes
5232 ac_cv_func_vfork_works=no
5234 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5235 conftest.$ac_objext conftest.beam conftest.$ac_ext
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
5240 $as_echo "$ac_cv_func_vfork_works" >&6; }
5243 if test "x$ac_cv_func_fork_works" = xcross; then
5244 ac_cv_func_vfork_works=$ac_cv_func_vfork
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5246 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5249 if test "x$ac_cv_func_vfork_works" = xyes; then
5251 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
5255 $as_echo "#define vfork fork" >>confdefs.h
5258 if test "x$ac_cv_func_fork_works" = xyes; then
5260 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
5264 if test $ac_cv_c_compiler_gnu = yes; then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5266 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
5267 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
5268 $as_echo_n "(cached) " >&6
5270 ac_pattern="Autoconf.*'x'"
5271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5272 /* end confdefs.h. */
5276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5277 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5278 ac_cv_prog_gcc_traditional=yes
5280 ac_cv_prog_gcc_traditional=no
5285 if test $ac_cv_prog_gcc_traditional = no; then
5286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h. */
5291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5292 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5293 ac_cv_prog_gcc_traditional=yes
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5300 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5301 if test $ac_cv_prog_gcc_traditional = yes; then
5302 CC="$CC -traditional"
5306 for ac_header in stdlib.h
5308 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5309 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
5310 cat >>confdefs.h <<_ACEOF
5311 #define HAVE_STDLIB_H 1
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5319 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5320 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
5321 $as_echo_n "(cached) " >&6
5323 if test "$cross_compiling" = yes; then :
5324 ac_cv_func_malloc_0_nonnull=no
5326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5327 /* end confdefs.h. */
5328 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5329 # include <stdlib.h>
5337 return ! malloc (0);
5342 if ac_fn_c_try_run "$LINENO"; then :
5343 ac_cv_func_malloc_0_nonnull=yes
5345 ac_cv_func_malloc_0_nonnull=no
5347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5348 conftest.$ac_objext conftest.beam conftest.$ac_ext
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5353 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5354 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5356 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5359 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5361 case " $LIBOBJS " in
5362 *" malloc.$ac_objext "* ) ;;
5363 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5368 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5373 for ac_header in sys/select.h sys/socket.h
5375 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5376 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5377 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5378 cat >>confdefs.h <<_ACEOF
5379 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
5387 $as_echo_n "checking types of arguments for select... " >&6; }
5388 if test "${ac_cv_func_select_args+set}" = set; then :
5389 $as_echo_n "(cached) " >&6
5391 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
5392 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
5393 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
5394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5396 $ac_includes_default
5397 #ifdef HAVE_SYS_SELECT_H
5398 # include <sys/select.h>
5400 #ifdef HAVE_SYS_SOCKET_H
5401 # include <sys/socket.h>
5407 extern int select ($ac_arg1,
5408 $ac_arg234, $ac_arg234, $ac_arg234,
5414 if ac_fn_c_try_compile "$LINENO"; then :
5415 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
5417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5421 # Provide a safe default value.
5422 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
5426 $as_echo "$ac_cv_func_select_args" >&6; }
5427 ac_save_IFS=$IFS; IFS=','
5428 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
5432 cat >>confdefs.h <<_ACEOF
5433 #define SELECT_TYPE_ARG1 $1
5437 cat >>confdefs.h <<_ACEOF
5438 #define SELECT_TYPE_ARG234 ($2)
5442 cat >>confdefs.h <<_ACEOF
5443 #define SELECT_TYPE_ARG5 ($3)
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
5449 $as_echo_n "checking return type of signal handlers... " >&6; }
5450 if test "${ac_cv_type_signal+set}" = set; then :
5451 $as_echo_n "(cached) " >&6
5453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5454 /* end confdefs.h. */
5455 #include <sys/types.h>
5461 return *(signal (0, 0)) (0) == 1;
5466 if ac_fn_c_try_compile "$LINENO"; then :
5467 ac_cv_type_signal=int
5469 ac_cv_type_signal=void
5471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
5474 $as_echo "$ac_cv_type_signal" >&6; }
5476 cat >>confdefs.h <<_ACEOF
5477 #define RETSIGTYPE $ac_cv_type_signal
5481 for ac_func in select posix_openpt strdup
5483 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5485 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5486 cat >>confdefs.h <<_ACEOF
5487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5494 ac_config_files="$ac_config_files Makefile"
5496 ac_config_headers="$ac_config_headers config.h"
5498 cat >confcache <<\_ACEOF
5499 # This file is a shell script that caches the results of configure
5500 # tests run on this system so they can be shared between configure
5501 # scripts and configure runs, see configure's option --config-cache.
5502 # It is not useful on other systems. If it contains results you don't
5503 # want to keep, you may remove or edit it.
5505 # config.status only pays attention to the cache file if you give it
5506 # the --recheck option to rerun configure.
5508 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5509 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5514 # The following way of writing the cache mishandles newlines in values,
5515 # but we know of no workaround that is simple, portable, and efficient.
5516 # So, we kill variables containing newlines.
5517 # Ultrix sh set writes to stderr and can't be redirected directly,
5518 # and sets the high bit in the cache file unless we assign to the vars.
5520 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5521 eval ac_val=\$$ac_var
5525 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5526 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5529 _ | IFS | as_nl) ;; #(
5530 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5531 *) { eval $ac_var=; unset $ac_var;} ;;
5537 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5538 *${as_nl}ac_space=\ *)
5539 # `set' does not quote correctly, so add quotes: double-quote
5540 # substitution turns \\\\ into \\, and sed turns \\ into \.
5543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5546 # `set' quotes correctly as required by POSIX, so do not add quotes.
5547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5558 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5560 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5561 if test -w "$cache_file"; then
5562 test "x$cache_file" != "x/dev/null" &&
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5564 $as_echo "$as_me: updating cache $cache_file" >&6;}
5565 cat confcache >$cache_file
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5568 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5573 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5574 # Let make expand exec_prefix.
5575 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5577 DEFS=-DHAVE_CONFIG_H
5582 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5583 # 1. Remove the extension, and $U if already installed.
5584 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5585 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5586 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5587 # will be set to the directory where LIBOBJS objects are built.
5588 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5589 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5593 LTLIBOBJS=$ac_ltlibobjs
5596 if test -n "$EXEEXT"; then
5598 am__EXEEXT_FALSE='#'
5604 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5605 as_fn_error $? "conditional \"AMDEP\" was never defined.
5606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5608 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5609 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5612 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5613 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5617 : ${CONFIG_STATUS=./config.status}
5619 ac_clean_files_save=$ac_clean_files
5620 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5622 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5624 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5626 # Generated by $as_me.
5627 # Run this file to recreate the current configuration.
5628 # Compiler output produced by configure, useful for debugging
5629 # configure, is in config.log if it exists.
5635 SHELL=\${CONFIG_SHELL-$SHELL}
5638 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5639 ## -------------------- ##
5640 ## M4sh Initialization. ##
5641 ## -------------------- ##
5643 # Be more Bourne compatible
5644 DUALCASE=1; export DUALCASE # for MKS sh
5645 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5648 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5649 # is contrary to our usage. Disable this feature.
5650 alias -g '${1+"$@"}'='"$@"'
5651 setopt NO_GLOB_SUBST
5653 case `(set -o) 2>/dev/null` in #(
5665 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5666 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5667 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5668 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5669 # Prefer a ksh shell builtin over an external printf program on Solaris,
5670 # but without wasting forks for bash or zsh.
5671 if test -z "$BASH_VERSION$ZSH_VERSION" \
5672 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5673 as_echo='print -r --'
5674 as_echo_n='print -rn --'
5675 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5676 as_echo='printf %s\n'
5677 as_echo_n='printf %s'
5679 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5680 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5681 as_echo_n='/usr/ucb/echo -n'
5683 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5684 as_echo_n_body='eval
5688 expr "X$arg" : "X\\(.*\\)$as_nl";
5689 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5691 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5693 export as_echo_n_body
5694 as_echo_n='sh -c $as_echo_n_body as_echo'
5697 as_echo='sh -c $as_echo_body as_echo'
5700 # The user is always right.
5701 if test "${PATH_SEPARATOR+set}" != set; then
5703 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5704 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5711 # We need space, tab and new line, in precisely that order. Quoting is
5712 # there to prevent editors from complaining about space-tab.
5713 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5714 # splitting by setting IFS to empty value.)
5717 # Find who we are. Look in the path if we contain no directory separator.
5719 *[\\/]* ) as_myself=$0 ;;
5720 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 test -z "$as_dir" && as_dir=.
5725 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5731 # We did not find ourselves, most probably we were run as `sh COMMAND'
5732 # in which case we are not to be found in the path.
5733 if test "x$as_myself" = x; then
5736 if test ! -f "$as_myself"; then
5737 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5741 # Unset variables that we do not need and which cause bugs (e.g. in
5742 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5743 # suppresses any "Segmentation fault" message there. '((' could
5744 # trigger a bug in pdksh 5.2.14.
5745 for as_var in BASH_ENV ENV MAIL MAILPATH
5746 do eval test x\${$as_var+set} = xset \
5747 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5760 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5763 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5764 # ----------------------------------------
5765 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5766 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5767 # script with STATUS, using 1 if that was 0.
5770 as_status=$1; test $as_status -eq 0 && as_status=1
5772 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5773 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5775 $as_echo "$as_me: error: $2" >&2
5776 as_fn_exit $as_status
5780 # as_fn_set_status STATUS
5781 # -----------------------
5782 # Set $? to STATUS, without forking.
5786 } # as_fn_set_status
5790 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5800 # Portably unset VAR.
5803 { eval $1=; unset $1;}
5805 as_unset=as_fn_unset
5806 # as_fn_append VAR VALUE
5807 # ----------------------
5808 # Append the text in VALUE to the end of the definition contained in VAR. Take
5809 # advantage of any shell optimizations that allow amortized linear growth over
5810 # repeated appends, instead of the typical quadratic growth present in naive
5812 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5813 eval 'as_fn_append ()
5824 # as_fn_arith ARG...
5825 # ------------------
5826 # Perform arithmetic evaluation on the ARGs, and store the result in the
5827 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5828 # must be portable across $(()) and expr.
5829 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5830 eval 'as_fn_arith ()
5837 as_val=`expr "$@" || test $? -eq 1`
5842 if expr a : '\(a\)' >/dev/null 2>&1 &&
5843 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5849 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5850 as_basename=basename
5855 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5861 as_me=`$as_basename -- "$0" ||
5862 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5863 X"$0" : 'X\(//\)$' \| \
5864 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5866 sed '/^.*\/\([^/][^/]*\)\/*$/{
5880 # Avoid depending upon Character Ranges.
5881 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5882 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5883 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5884 as_cr_digits='0123456789'
5885 as_cr_alnum=$as_cr_Letters$as_cr_digits
5887 ECHO_C= ECHO_N= ECHO_T=
5888 case `echo -n x` in #(((((
5890 case `echo 'xy\c'` in
5891 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5893 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5900 rm -f conf$$ conf$$.exe conf$$.file
5901 if test -d conf$$.dir; then
5902 rm -f conf$$.dir/conf$$.file
5905 mkdir conf$$.dir 2>/dev/null
5907 if (echo >conf$$.file) 2>/dev/null; then
5908 if ln -s conf$$.file conf$$ 2>/dev/null; then
5910 # ... but there are two gotchas:
5911 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5912 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5913 # In both cases, we have to default to `cp -p'.
5914 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5916 elif ln conf$$.file conf$$ 2>/dev/null; then
5924 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5925 rmdir conf$$.dir 2>/dev/null
5930 # Create "$as_dir" as a directory, including parents if necessary.
5935 -*) as_dir=./$as_dir;;
5937 test -d "$as_dir" || eval $as_mkdir_p || {
5941 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5942 *) as_qdir=$as_dir;;
5944 as_dirs="'$as_qdir' $as_dirs"
5945 as_dir=`$as_dirname -- "$as_dir" ||
5946 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5947 X"$as_dir" : 'X\(//\)[^/]' \| \
5948 X"$as_dir" : 'X\(//\)$' \| \
5949 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5950 $as_echo X"$as_dir" |
5951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5968 test -d "$as_dir" && break
5970 test -z "$as_dirs" || eval "mkdir $as_dirs"
5971 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5975 if mkdir -p . 2>/dev/null; then
5976 as_mkdir_p='mkdir -p "$as_dir"'
5978 test -d ./-p && rmdir ./-p
5982 if test -x / >/dev/null 2>&1; then
5985 if ls -dL / >/dev/null 2>&1; then
5992 if test -d "$1"; then
5998 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5999 ???[sx]*):;;*)false;;esac;fi
6003 as_executable_p=$as_test_x
6005 # Sed expression to map a string onto a valid CPP name.
6006 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6008 # Sed expression to map a string onto a valid variable name.
6009 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6013 ## ----------------------------------- ##
6014 ## Main body of $CONFIG_STATUS script. ##
6015 ## ----------------------------------- ##
6017 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6020 # Save the log message, to keep $0 and so on meaningful, and to
6021 # report actual input values of CONFIG_FILES etc. instead of their
6022 # values after options handling.
6024 This file was extended by sshpass $as_me 1.05, which was
6025 generated by GNU Autoconf 2.67. Invocation command line was
6027 CONFIG_FILES = $CONFIG_FILES
6028 CONFIG_HEADERS = $CONFIG_HEADERS
6029 CONFIG_LINKS = $CONFIG_LINKS
6030 CONFIG_COMMANDS = $CONFIG_COMMANDS
6033 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6038 case $ac_config_files in *"
6039 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6042 case $ac_config_headers in *"
6043 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6048 # Files that config.status was made for.
6049 config_files="$ac_config_files"
6050 config_headers="$ac_config_headers"
6051 config_commands="$ac_config_commands"
6055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6057 \`$as_me' instantiates files and other configuration actions
6058 from templates according to the current configuration. Unless the files
6059 and actions are specified as TAGs, all are instantiated by default.
6061 Usage: $0 [OPTION]... [TAG]...
6063 -h, --help print this help, then exit
6064 -V, --version print version number and configuration settings, then exit
6065 --config print configuration, then exit
6066 -q, --quiet, --silent
6067 do not print progress messages
6068 -d, --debug don't remove temporary files
6069 --recheck update $as_me by reconfiguring in the same conditions
6070 --file=FILE[:TEMPLATE]
6071 instantiate the configuration file FILE
6072 --header=FILE[:TEMPLATE]
6073 instantiate the configuration header FILE
6075 Configuration files:
6078 Configuration headers:
6081 Configuration commands:
6084 Report bugs to the package provider."
6087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6088 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6090 sshpass config.status 1.05
6091 configured by $0, generated by GNU Autoconf 2.67,
6092 with options \\"\$ac_cs_config\\"
6094 Copyright (C) 2010 Free Software Foundation, Inc.
6095 This config.status script is free software; the Free Software Foundation
6096 gives unlimited permission to copy, distribute and modify it."
6103 test -n "\$AWK" || AWK=awk
6106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6107 # The default lists apply if the user does not specify any file.
6113 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6114 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6118 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6130 # Handling of the options.
6131 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6133 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6134 $as_echo "$ac_cs_version"; exit ;;
6135 --config | --confi | --conf | --con | --co | --c )
6136 $as_echo "$ac_cs_config"; exit ;;
6137 --debug | --debu | --deb | --de | --d | -d )
6139 --file | --fil | --fi | --f )
6142 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6143 '') as_fn_error $? "missing file argument" ;;
6145 as_fn_append CONFIG_FILES " '$ac_optarg'"
6146 ac_need_defaults=false;;
6147 --header | --heade | --head | --hea )
6150 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6152 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6153 ac_need_defaults=false;;
6155 # Conflict between --help and --header
6156 as_fn_error $? "ambiguous option: \`$1'
6157 Try \`$0 --help' for more information.";;
6158 --help | --hel | -h )
6159 $as_echo "$ac_cs_usage"; exit ;;
6160 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6161 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6165 -*) as_fn_error $? "unrecognized option: \`$1'
6166 Try \`$0 --help' for more information." ;;
6168 *) as_fn_append ac_config_targets " $1"
6169 ac_need_defaults=false ;;
6175 ac_configure_extra_args=
6177 if $ac_cs_silent; then
6179 ac_configure_extra_args="$ac_configure_extra_args --silent"
6183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6184 if \$ac_cs_recheck; then
6185 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6187 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6188 CONFIG_SHELL='$SHELL'
6194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6198 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6199 ## Running $as_me. ##
6205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6209 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6215 # Handling of arguments.
6216 for ac_config_target in $ac_config_targets
6218 case $ac_config_target in
6219 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6220 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6221 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6223 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
6228 # If the user did not use the arguments to specify the items to instantiate,
6229 # then the envvar interface is used. Set only those that are not.
6230 # We use the long form for the default assignment because of an extremely
6231 # bizarre bug on SunOS 4.1.3.
6232 if $ac_need_defaults; then
6233 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6234 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6235 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6238 # Have a temporary directory for convenience. Make it in the build tree
6239 # simply because there is no reason against having it here, and in addition,
6240 # creating and moving files from /tmp can sometimes cause problems.
6241 # Hook for its removal unless debugging.
6242 # Note that there is a small window in which the directory will not be cleaned:
6243 # after its creation but before its name has been assigned to `$tmp'.
6247 trap 'exit_status=$?
6248 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6250 trap 'as_fn_exit 1' 1 2 13 15
6252 # Create a (secure) tmp directory for tmp files.
6255 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6256 test -n "$tmp" && test -d "$tmp"
6259 tmp=./conf$$-$RANDOM
6260 (umask 077 && mkdir "$tmp")
6261 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6263 # Set up the scripts for CONFIG_FILES section.
6264 # No need to generate them if there are no CONFIG_FILES.
6265 # This happens for instance with `./config.status config.h'.
6266 if test -n "$CONFIG_FILES"; then
6269 ac_cr=`echo X | tr X '\015'`
6270 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6271 # But we know of no other shell where ac_cr would be empty at this
6272 # point, so we can use a bashism as a fallback.
6273 if test "x$ac_cr" = x; then
6274 eval ac_cr=\$\'\\r\'
6276 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6277 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6283 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6288 echo "cat >conf$$subs.awk <<_ACEOF" &&
6289 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6292 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6293 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6295 for ac_last_try in false false false false false :; do
6296 . ./conf$$subs.sh ||
6297 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6299 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6300 if test $ac_delim_n = $ac_delim_num; then
6302 elif $ac_last_try; then
6303 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6305 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6311 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6315 s/^/S["/; s/!.*/"]=/
6325 s/\(.\{148\}\)..*/\1/
6327 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6332 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6339 s/\(.\{148\}\)..*/\1/
6341 s/["\\]/\\&/g; s/^/"/; s/$/"/
6345 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6350 ' <conf$$subs.awk | sed '
6355 ' >>$CONFIG_STATUS || ac_write_fail=1
6356 rm -f conf$$subs.awk
6357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6359 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6360 for (key in S) S_is_set[key] = 1
6366 nfields = split(line, field, "@")
6368 len = length(field[1])
6369 for (i = 2; i < nfields; i++) {
6371 keylen = length(key)
6372 if (S_is_set[key]) {
6374 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6375 len += length(value) + length(field[++i])
6386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6387 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6388 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6391 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6392 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6395 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6396 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6397 # trailing colons and then remove the whole line if VPATH becomes empty
6398 # (actually we leave an empty line to preserve line numbers).
6399 if test "x$srcdir" = x.; then
6400 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6419 fi # test -n "$CONFIG_FILES"
6421 # Set up the scripts for CONFIG_HEADERS section.
6422 # No need to generate them if there are no CONFIG_HEADERS.
6423 # This happens for instance with `./config.status Makefile'.
6424 if test -n "$CONFIG_HEADERS"; then
6425 cat >"$tmp/defines.awk" <<\_ACAWK ||
6429 # Transform confdefs.h into an awk script `defines.awk', embedded as
6430 # here-document in config.status, that substitutes the proper values into
6431 # config.h.in to produce config.h.
6433 # Create a delimiter string that does not exist in confdefs.h, to ease
6434 # handling of long lines.
6436 for ac_last_try in false false :; do
6437 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6438 if test -z "$ac_t"; then
6440 elif $ac_last_try; then
6441 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6443 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6447 # For the awk script, D is an array of macro values keyed by name,
6448 # likewise P contains macro parameters if any. Preserve backslash
6449 # newline sequences.
6451 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6453 s/.\{148\}/&'"$ac_delim"'/g
6456 s/^[ ]*#[ ]*define[ ][ ]*/ /
6463 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6465 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6469 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6470 D["\1"]=" \3\\\\\\n"\\/p
6472 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6477 s/.\{148\}/&'"$ac_delim"'/g
6482 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6485 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6487 ' <confdefs.h | sed '
6488 s/'"$ac_delim"'/"\\\
6489 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6492 for (key in D) D_is_set[key] = 1
6495 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6497 split(line, arg, " ")
6498 if (arg[1] == "#") {
6502 defundef = substr(arg[1], 2)
6505 split(mac1, mac2, "(") #)
6507 prefix = substr(line, 1, index(line, defundef) - 1)
6508 if (D_is_set[macro]) {
6509 # Preserve the white space surrounding the "#".
6510 print prefix "define", macro P[macro] D[macro]
6513 # Replace #undef with comments. This is necessary, for example,
6514 # in the case of _POSIX_SOURCE, which is predefined and required
6515 # on some systems where configure will not decide to define it.
6516 if (defundef == "undef") {
6517 print "/*", prefix defundef, macro, "*/"
6525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6526 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6527 fi # test -n "$CONFIG_HEADERS"
6530 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6535 :[FHLC]) ac_mode=$ac_tag; continue;;
6537 case $ac_mode$ac_tag in
6539 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
6540 :[FH]-) ac_tag=-:-;;
6541 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6558 -) ac_f="$tmp/stdin";;
6559 *) # Look for the file first in the build tree, then in the source tree
6560 # (if the path is not absolute). The absolute path cannot be DOS-style,
6561 # because $ac_f cannot contain `:'.
6565 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6567 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
6569 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6570 as_fn_append ac_file_inputs " '$ac_f'"
6573 # Let's still pretend it is `configure' which instantiates (i.e., don't
6574 # use $as_me), people would be surprised to read:
6575 # /* config.h. Generated by config.status. */
6576 configure_input='Generated from '`
6577 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6579 if test x"$ac_file" != x-; then
6580 configure_input="$ac_file. $configure_input"
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6582 $as_echo "$as_me: creating $ac_file" >&6;}
6584 # Neutralize special characters interpreted by sed in replacement strings.
6585 case $configure_input in #(
6586 *\&* | *\|* | *\\* )
6587 ac_sed_conf_input=`$as_echo "$configure_input" |
6588 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6589 *) ac_sed_conf_input=$configure_input;;
6593 *:-:* | *:-) cat >"$tmp/stdin" \
6594 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6599 ac_dir=`$as_dirname -- "$ac_file" ||
6600 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6601 X"$ac_file" : 'X\(//\)[^/]' \| \
6602 X"$ac_file" : 'X\(//\)$' \| \
6603 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6604 $as_echo X"$ac_file" |
6605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6622 as_dir="$ac_dir"; as_fn_mkdir_p
6626 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6628 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6629 # A ".." for each directory in $ac_dir_suffix.
6630 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6631 case $ac_top_builddir_sub in
6632 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6633 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6636 ac_abs_top_builddir=$ac_pwd
6637 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6638 # for backward compatibility:
6639 ac_top_builddir=$ac_top_build_prefix
6642 .) # We are building in place.
6644 ac_top_srcdir=$ac_top_builddir_sub
6645 ac_abs_top_srcdir=$ac_pwd ;;
6646 [\\/]* | ?:[\\/]* ) # Absolute name.
6647 ac_srcdir=$srcdir$ac_dir_suffix;
6648 ac_top_srcdir=$srcdir
6649 ac_abs_top_srcdir=$srcdir ;;
6651 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6652 ac_top_srcdir=$ac_top_build_prefix$srcdir
6653 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6655 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6665 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6666 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6670 [\\/$]* | ?:[\\/]* ) ;;
6671 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6676 # If the template does not know about datarootdir, expand it.
6677 # FIXME: This hack should be removed a few years after 2.60.
6678 ac_datarootdir_hack=; ac_datarootdir_seen=
6689 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6690 *datarootdir*) ac_datarootdir_seen=yes;;
6691 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6693 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6696 ac_datarootdir_hack='
6697 s&@datadir@&$datadir&g
6698 s&@docdir@&$docdir&g
6699 s&@infodir@&$infodir&g
6700 s&@localedir@&$localedir&g
6701 s&@mandir@&$mandir&g
6702 s&\\\${datarootdir}&$datarootdir&g' ;;
6706 # Neutralize VPATH when `$srcdir' = `.'.
6707 # Shell code in configure.ac might set extrasub.
6708 # FIXME: do we really want to maintain this feature?
6709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6710 ac_sed_extra="$ac_vpsub
6713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6715 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6716 s|@configure_input@|$ac_sed_conf_input|;t t
6717 s&@top_builddir@&$ac_top_builddir_sub&;t t
6718 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6719 s&@srcdir@&$ac_srcdir&;t t
6720 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6721 s&@top_srcdir@&$ac_top_srcdir&;t t
6722 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6723 s&@builddir@&$ac_builddir&;t t
6724 s&@abs_builddir@&$ac_abs_builddir&;t t
6725 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6726 s&@INSTALL@&$ac_INSTALL&;t t
6727 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6728 $ac_datarootdir_hack
6730 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6731 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6733 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6734 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6735 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6737 which seems to be undefined. Please make sure it is defined" >&5
6738 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6739 which seems to be undefined. Please make sure it is defined" >&2;}
6743 -) cat "$tmp/out" && rm -f "$tmp/out";;
6744 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6746 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6752 if test x"$ac_file" != x-; then
6754 $as_echo "/* $configure_input */" \
6755 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6756 } >"$tmp/config.h" \
6757 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6758 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6760 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6763 mv "$tmp/config.h" "$ac_file" \
6764 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6767 $as_echo "/* $configure_input */" \
6768 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6769 || as_fn_error $? "could not create -" "$LINENO" 5
6771 # Compute "$ac_file"'s index in $config_headers.
6774 for _am_header in $config_headers :; do
6776 $_am_arg | $_am_arg:* )
6779 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6782 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6783 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6784 X"$_am_arg" : 'X\(//\)[^/]' \| \
6785 X"$_am_arg" : 'X\(//\)$' \| \
6786 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6787 $as_echo X"$_am_arg" |
6788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6804 s/.*/./; q'`/stamp-h$_am_stamp_count
6807 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6808 $as_echo "$as_me: executing $ac_file commands" >&6;}
6813 case $ac_file$ac_mode in
6814 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6815 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6816 # are listed without --file. Let's play safe and only enable the eval
6817 # if we detect the quoting.
6818 case $CONFIG_FILES in
6819 *\'*) eval set x "$CONFIG_FILES" ;;
6820 *) set x $CONFIG_FILES ;;
6825 # Strip MF so we end up with the name of the file.
6826 mf=`echo "$mf" | sed -e 's/:.*$//'`
6827 # Check whether this is an Automake generated Makefile or not.
6828 # We used to match only the files named `Makefile.in', but
6829 # some people rename them; so instead we look at the file content.
6830 # Grep'ing the first line is not enough: some people post-process
6831 # each Makefile.in and add a new line on top of each file to say so.
6832 # Grep'ing the whole file is not good either: AIX grep has a line
6833 # limit of 2048, but all sed's we know have understand at least 4000.
6834 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6835 dirpart=`$as_dirname -- "$mf" ||
6836 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6837 X"$mf" : 'X\(//\)[^/]' \| \
6838 X"$mf" : 'X\(//\)$' \| \
6839 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6861 # Extract the definition of DEPDIR, am__include, and am__quote
6862 # from the Makefile without running `make'.
6863 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6864 test -z "$DEPDIR" && continue
6865 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6866 test -z "am__include" && continue
6867 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6868 # When using ansi2knr, U may be empty or an underscore; expand it
6869 U=`sed -n 's/^U = //p' < "$mf"`
6870 # Find all dependency output files, they are included files with
6871 # $(DEPDIR) in their names. We invoke sed twice because it is the
6872 # simplest approach to changing $(DEPDIR) to its actual value in the
6874 for file in `sed -n "
6875 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6876 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6877 # Make sure the directory exists.
6878 test -f "$dirpart/$file" && continue
6879 fdir=`$as_dirname -- "$file" ||
6880 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6881 X"$file" : 'X\(//\)[^/]' \| \
6882 X"$file" : 'X\(//\)$' \| \
6883 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6885 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6902 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6903 # echo "creating $dirpart/$file"
6904 echo '# dummy' > "$dirpart/$file"
6916 ac_clean_files=$ac_clean_files_save
6918 test $ac_write_fail = 0 ||
6919 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6922 # configure is writing to config.log, and then calls config.status.
6923 # config.status does its own redirection, appending to config.log.
6924 # Unfortunately, on DOS this fails, as config.log is still kept open
6925 # by configure, so config.status won't be able to write to it; its
6926 # output is simply discarded. So we exec the FD to /dev/null,
6927 # effectively closing config.log, so it can be properly (re)opened and
6928 # appended to by config.status. When coming back to configure, we
6929 # need to make the FD available again.
6930 if test "$no_create" != yes; then
6932 ac_config_status_args=
6933 test "$silent" = yes &&
6934 ac_config_status_args="$ac_config_status_args --quiet"
6936 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6938 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6939 # would make configure fail if this is the last instruction.
6940 $ac_cs_success || as_fn_exit 1
6942 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6944 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}