2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for spawn-fcgi 1.6.3.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
547 PACKAGE_NAME
='spawn-fcgi'
548 PACKAGE_TARNAME
='spawn-fcgi'
549 PACKAGE_VERSION
='1.6.3'
550 PACKAGE_STRING
='spawn-fcgi 1.6.3'
554 ac_unique_file
="src/spawn-fcgi.c"
555 # Factoring default headers for most tests.
556 ac_includes_default
="\
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
568 # ifdef HAVE_STDLIB_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
591 ac_subst_vars
='am__EXEEXT_FALSE
622 INSTALL_STRIP_PROGRAM
664 program_transform_name
677 enable_option_checking
678 enable_dependency_tracking
680 enable_extra_warnings
682 ac_precious_vars
='build_alias
693 # Initialize some variables set by options.
695 ac_init_version
=false
696 ac_unrecognized_opts
=
698 # The variables have the same names as the options, with
699 # dashes changed to underlines.
707 program_transform_name
=s
,x
,x
,
715 # Installation directory options.
716 # These are left unexpanded so users can "make install exec_prefix=/foo"
717 # and all the variables that are supposed to be based on exec_prefix
718 # by default will actually change.
719 # Use braces instead of parens because sh, perl, etc. also accept them.
720 # (The list follows the same order as the GNU Coding Standards.)
721 bindir
='${exec_prefix}/bin'
722 sbindir
='${exec_prefix}/sbin'
723 libexecdir
='${exec_prefix}/libexec'
724 datarootdir
='${prefix}/share'
725 datadir
='${datarootdir}'
726 sysconfdir
='${prefix}/etc'
727 sharedstatedir
='${prefix}/com'
728 localstatedir
='${prefix}/var'
729 includedir
='${prefix}/include'
730 oldincludedir
='/usr/include'
731 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
732 infodir
='${datarootdir}/info'
737 libdir
='${exec_prefix}/lib'
738 localedir
='${datarootdir}/locale'
739 mandir
='${datarootdir}/man'
745 # If the previous option needs an argument, assign it.
746 if test -n "$ac_prev"; then
747 eval $ac_prev=\
$ac_option
753 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
757 # Accept the important Cygnus configure options, so we can diagnose typos.
759 case $ac_dashdash$ac_option in
763 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
765 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
768 -build |
--build |
--buil |
--bui |
--bu)
769 ac_prev
=build_alias
;;
770 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
771 build_alias
=$ac_optarg ;;
773 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
774 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
775 ac_prev
=cache_file
;;
776 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
777 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
778 cache_file
=$ac_optarg ;;
781 cache_file
=config.cache
;;
783 -datadir |
--datadir |
--datadi |
--datad)
785 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
786 datadir
=$ac_optarg ;;
788 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
789 |
--dataroo |
--dataro |
--datar)
790 ac_prev
=datarootdir
;;
791 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
792 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
793 datarootdir
=$ac_optarg ;;
795 -disable-* |
--disable-*)
796 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
797 # Reject names that are not valid shell variable names.
798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
799 as_fn_error
"invalid feature name: $ac_useropt"
800 ac_useropt_orig
=$ac_useropt
801 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
802 case $ac_user_opts in
806 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
807 ac_unrecognized_sep
=', ';;
809 eval enable_
$ac_useropt=no
;;
811 -docdir |
--docdir |
--docdi |
--doc |
--do)
813 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
816 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
818 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
821 -enable-* |
--enable-*)
822 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
823 # Reject names that are not valid shell variable names.
824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
825 as_fn_error
"invalid feature name: $ac_useropt"
826 ac_useropt_orig
=$ac_useropt
827 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
828 case $ac_user_opts in
832 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
833 ac_unrecognized_sep
=', ';;
835 eval enable_
$ac_useropt=\
$ac_optarg ;;
837 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
838 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
839 |
--exec |
--exe |
--ex)
840 ac_prev
=exec_prefix
;;
841 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
842 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
843 |
--exec=* |
--exe=* |
--ex=*)
844 exec_prefix
=$ac_optarg ;;
846 -gas |
--gas |
--ga |
--g)
847 # Obsolete; use --with-gas.
850 -help |
--help |
--hel |
--he |
-h)
852 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
853 ac_init_help
=recursive
;;
854 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
855 ac_init_help
=short
;;
857 -host |
--host |
--hos |
--ho)
858 ac_prev
=host_alias
;;
859 -host=* |
--host=* |
--hos=* |
--ho=*)
860 host_alias
=$ac_optarg ;;
862 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
864 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
866 htmldir
=$ac_optarg ;;
868 -includedir |
--includedir |
--includedi |
--included |
--include \
869 |
--includ |
--inclu |
--incl |
--inc)
870 ac_prev
=includedir
;;
871 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
872 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
873 includedir
=$ac_optarg ;;
875 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
877 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
878 infodir
=$ac_optarg ;;
880 -libdir |
--libdir |
--libdi |
--libd)
882 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
885 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
886 |
--libexe |
--libex |
--libe)
887 ac_prev
=libexecdir
;;
888 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
889 |
--libexe=* |
--libex=* |
--libe=*)
890 libexecdir
=$ac_optarg ;;
892 -localedir |
--localedir |
--localedi |
--localed |
--locale)
894 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
895 localedir
=$ac_optarg ;;
897 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
898 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
899 ac_prev
=localstatedir
;;
900 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
901 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
902 localstatedir
=$ac_optarg ;;
904 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
906 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
910 # Obsolete; use --without-fp.
913 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
914 |
--no-cr |
--no-c |
-n)
917 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
918 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
921 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
922 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
923 |
--oldin |
--oldi |
--old |
--ol |
--o)
924 ac_prev
=oldincludedir
;;
925 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
926 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
927 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
928 oldincludedir
=$ac_optarg ;;
930 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
932 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
935 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
936 |
--program-pre |
--program-pr |
--program-p)
937 ac_prev
=program_prefix
;;
938 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
939 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
940 program_prefix
=$ac_optarg ;;
942 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
943 |
--program-suf |
--program-su |
--program-s)
944 ac_prev
=program_suffix
;;
945 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
946 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
947 program_suffix
=$ac_optarg ;;
949 -program-transform-name |
--program-transform-name \
950 |
--program-transform-nam |
--program-transform-na \
951 |
--program-transform-n |
--program-transform- \
952 |
--program-transform |
--program-transfor \
953 |
--program-transfo |
--program-transf \
954 |
--program-trans |
--program-tran \
955 |
--progr-tra |
--program-tr |
--program-t)
956 ac_prev
=program_transform_name
;;
957 -program-transform-name=* |
--program-transform-name=* \
958 |
--program-transform-nam=* |
--program-transform-na=* \
959 |
--program-transform-n=* |
--program-transform-=* \
960 |
--program-transform=* |
--program-transfor=* \
961 |
--program-transfo=* |
--program-transf=* \
962 |
--program-trans=* |
--program-tran=* \
963 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
964 program_transform_name
=$ac_optarg ;;
966 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
968 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
971 -psdir |
--psdir |
--psdi |
--psd |
--ps)
973 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
976 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
977 |
-silent |
--silent |
--silen |
--sile |
--sil)
980 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
982 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
984 sbindir
=$ac_optarg ;;
986 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
987 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
988 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
990 ac_prev
=sharedstatedir
;;
991 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
992 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
993 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
995 sharedstatedir
=$ac_optarg ;;
997 -site |
--site |
--sit)
999 -site=* |
--site=* |
--sit=*)
1002 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1004 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1005 srcdir
=$ac_optarg ;;
1007 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1008 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1009 ac_prev
=sysconfdir
;;
1010 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1011 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1012 sysconfdir
=$ac_optarg ;;
1014 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1015 ac_prev
=target_alias
;;
1016 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1017 target_alias
=$ac_optarg ;;
1019 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1022 -version |
--version |
--versio |
--versi |
--vers |
-V)
1023 ac_init_version
=: ;;
1026 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1029 as_fn_error
"invalid package name: $ac_useropt"
1030 ac_useropt_orig
=$ac_useropt
1031 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1036 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1037 ac_unrecognized_sep
=', ';;
1039 eval with_
$ac_useropt=\
$ac_optarg ;;
1041 -without-* |
--without-*)
1042 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1045 as_fn_error
"invalid package name: $ac_useropt"
1046 ac_useropt_orig
=$ac_useropt
1047 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1052 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1053 ac_unrecognized_sep
=', ';;
1055 eval with_
$ac_useropt=no
;;
1058 # Obsolete; use --with-x.
1061 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1062 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1063 ac_prev
=x_includes
;;
1064 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1065 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1066 x_includes
=$ac_optarg ;;
1068 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1069 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1070 ac_prev
=x_libraries
;;
1071 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1072 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1073 x_libraries
=$ac_optarg ;;
1075 -*) as_fn_error
"unrecognized option: \`$ac_option'
1076 Try \`$0 --help' for more information."
1080 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1081 # Reject names that are not valid shell variable names.
1082 case $ac_envvar in #(
1083 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1084 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1086 eval $ac_envvar=\
$ac_optarg
1087 export $ac_envvar ;;
1090 # FIXME: should be removed in autoconf 3.0.
1091 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1092 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1093 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1094 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1100 if test -n "$ac_prev"; then
1101 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1102 as_fn_error
"missing argument to $ac_option"
1105 if test -n "$ac_unrecognized_opts"; then
1106 case $enable_option_checking in
1108 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1109 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1113 # Check all directory arguments for consistency.
1114 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1115 datadir sysconfdir sharedstatedir localstatedir includedir \
1116 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1117 libdir localedir mandir
1119 eval ac_val
=\$
$ac_var
1120 # Remove trailing slashes.
1123 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1124 eval $ac_var=\
$ac_val;;
1126 # Be sure to have absolute directory names.
1128 [\\/$
]* | ?
:[\\/]* ) continue;;
1129 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1131 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1134 # There might be people who depend on the old broken behavior: `$host'
1135 # used to hold the argument of --host etc.
1136 # FIXME: To remove some day.
1139 target
=$target_alias
1141 # FIXME: To remove some day.
1142 if test "x$host_alias" != x
; then
1143 if test "x$build_alias" = x
; then
1144 cross_compiling
=maybe
1145 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1146 If a cross compiler is detected then cross compile mode will be used." >&2
1147 elif test "x$build_alias" != "x$host_alias"; then
1153 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1155 test "$silent" = yes && exec 6>/dev
/null
1158 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1159 ac_ls_di
=`ls -di .` &&
1160 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1161 as_fn_error
"working directory cannot be determined"
1162 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1163 as_fn_error
"pwd does not report name of working directory"
1166 # Find the source files, if location was not specified.
1167 if test -z "$srcdir"; then
1168 ac_srcdir_defaulted
=yes
1169 # Try the directory containing this script, then the parent directory.
1170 ac_confdir
=`$as_dirname -- "$as_myself" ||
1171 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1172 X"$as_myself" : 'X\(//\)[^/]' \| \
1173 X"$as_myself" : 'X\(//\)$' \| \
1174 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1175 $as_echo X"$as_myself" |
1176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1194 if test ! -r "$srcdir/$ac_unique_file"; then
1198 ac_srcdir_defaulted
=no
1200 if test ! -r "$srcdir/$ac_unique_file"; then
1201 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1202 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1204 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1206 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1208 # When building in place, set srcdir=.
1209 if test "$ac_abs_confdir" = "$ac_pwd"; then
1212 # Remove unnecessary trailing slashes from srcdir.
1213 # Double slashes in file names in object file debugging info
1214 # mess up M-x gdb in Emacs.
1216 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1218 for ac_var
in $ac_precious_vars; do
1219 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1220 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1221 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1222 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1226 # Report the --help message.
1228 if test "$ac_init_help" = "long"; then
1229 # Omit some internal or obsolete options to make the list less imposing.
1230 # This message is too long to be a string in the A/UX 3.1 sh.
1232 \`configure' configures spawn-fcgi 1.6.3 to adapt to many kinds of systems.
1234 Usage: $0 [OPTION]... [VAR=VALUE]...
1236 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1237 VAR=VALUE. See below for descriptions of some of the useful variables.
1239 Defaults for the options are specified in brackets.
1242 -h, --help display this help and exit
1243 --help=short display options specific to this package
1244 --help=recursive display the short help of all the included packages
1245 -V, --version display version information and exit
1246 -q, --quiet, --silent do not print \`checking...' messages
1247 --cache-file=FILE cache test results in FILE [disabled]
1248 -C, --config-cache alias for \`--cache-file=config.cache'
1249 -n, --no-create do not create output files
1250 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1252 Installation directories:
1253 --prefix=PREFIX install architecture-independent files in PREFIX
1254 [$ac_default_prefix]
1255 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1258 By default, \`make install' will install all the files in
1259 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1260 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1261 for instance \`--prefix=\$HOME'.
1263 For better control, use the options below.
1265 Fine tuning of the installation directories:
1266 --bindir=DIR user executables [EPREFIX/bin]
1267 --sbindir=DIR system admin executables [EPREFIX/sbin]
1268 --libexecdir=DIR program executables [EPREFIX/libexec]
1269 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1270 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1271 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1272 --libdir=DIR object code libraries [EPREFIX/lib]
1273 --includedir=DIR C header files [PREFIX/include]
1274 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1275 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1276 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1277 --infodir=DIR info documentation [DATAROOTDIR/info]
1278 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1279 --mandir=DIR man documentation [DATAROOTDIR/man]
1280 --docdir=DIR documentation root [DATAROOTDIR/doc/spawn-fcgi]
1281 --htmldir=DIR html documentation [DOCDIR]
1282 --dvidir=DIR dvi documentation [DOCDIR]
1283 --pdfdir=DIR pdf documentation [DOCDIR]
1284 --psdir=DIR ps documentation [DOCDIR]
1290 --program-prefix=PREFIX prepend PREFIX to installed program names
1291 --program-suffix=SUFFIX append SUFFIX to installed program names
1292 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1296 if test -n "$ac_init_help"; then
1297 case $ac_init_help in
1298 short | recursive
) echo "Configuration of spawn-fcgi 1.6.3:";;
1303 --disable-option-checking ignore unrecognized
--enable/--with options
1304 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1305 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1306 --disable-dependency-tracking speeds up one-time build
1307 --enable-dependency-tracking do not reject slow dependency extractors
1308 --disable-ipv6 disable IPv6 support
1309 --enable-extra-warnings enable extra warnings
(gcc specific
)
1311 Some influential environment variables
:
1312 CC C compiler
command
1313 CFLAGS C compiler flags
1314 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1315 nonstandard directory
<lib dir
>
1316 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1317 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1318 you have headers
in a nonstandard directory
<include dir
>
1321 Use these variables to override the choices made by
`configure' or to help
1322 it to find libraries and programs with nonstandard names/locations.
1324 Report bugs to the package provider.
1329 if test "$ac_init_help" = "recursive"; then
1330 # If there are subdirs, report their specific --help.
1331 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1332 test -d "$ac_dir" ||
1333 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1338 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1341 # A ".." for each directory in $ac_dir_suffix.
1342 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1343 case $ac_top_builddir_sub in
1344 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1345 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1348 ac_abs_top_builddir=$ac_pwd
1349 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1350 # for backward compatibility:
1351 ac_top_builddir=$ac_top_build_prefix
1354 .) # We are building in place.
1356 ac_top_srcdir=$ac_top_builddir_sub
1357 ac_abs_top_srcdir=$ac_pwd ;;
1358 [\\/]* | ?:[\\/]* ) # Absolute name.
1359 ac_srcdir=$srcdir$ac_dir_suffix;
1360 ac_top_srcdir=$srcdir
1361 ac_abs_top_srcdir=$srcdir ;;
1363 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1364 ac_top_srcdir=$ac_top_build_prefix$srcdir
1365 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1367 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1369 cd "$ac_dir" || { ac_status=$?; continue; }
1370 # Check for guested configure.
1371 if test -f "$ac_srcdir/configure.gnu"; then
1373 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1374 elif test -f "$ac_srcdir/configure"; then
1376 $SHELL "$ac_srcdir/configure" --help=recursive
1378 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1380 cd "$ac_pwd" || { ac_status=$?; break; }
1384 test -n "$ac_init_help" && exit $ac_status
1385 if $ac_init_version; then
1387 spawn-fcgi configure 1.6.3
1388 generated by GNU Autoconf 2.64
1390 Copyright (C) 2009 Free Software Foundation, Inc.
1391 This configure script is free software; the Free Software Foundation
1392 gives unlimited permission to copy, distribute and modify it.
1397 ## ------------------------ ##
1398 ## Autoconf initialization. ##
1399 ## ------------------------ ##
1401 # ac_fn_c_try_compile LINENO
1402 # --------------------------
1403 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1404 ac_fn_c_try_compile ()
1406 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1407 rm -f conftest.$ac_objext
1408 if { { ac_try="$ac_compile"
1410 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1411 *) ac_try_echo
=$ac_try;;
1413 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1414 $as_echo "$ac_try_echo"; } >&5
1415 (eval "$ac_compile") 2>conftest.err
1417 if test -s conftest.err
; then
1418 grep -v '^ *+' conftest.err
>conftest.er1
1419 cat conftest.er1
>&5
1420 mv -f conftest.er1 conftest.err
1422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1423 test $ac_status = 0; } && {
1424 test -z "$ac_c_werror_flag" ||
1425 test ! -s conftest.err
1426 } && test -s conftest.
$ac_objext; then :
1429 $as_echo "$as_me: failed program was:" >&5
1430 sed 's/^/| /' conftest.
$ac_ext >&5
1434 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1437 } # ac_fn_c_try_compile
1439 # ac_fn_c_try_cpp LINENO
1440 # ----------------------
1441 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1444 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1445 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1448 *) ac_try_echo=$ac_try;;
1450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1451 $as_echo "$ac_try_echo"; } >&5
1452 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1454 if test -s conftest.err; then
1455 grep -v '^ *+' conftest.err >conftest.er1
1456 cat conftest.er1 >&5
1457 mv -f conftest.er1 conftest.err
1459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1460 test $ac_status = 0; } >/dev/null && {
1461 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1462 test ! -s conftest.err
1466 $as_echo "$as_me: failed program was:" >&5
1467 sed 's/^/| /' conftest.$ac_ext >&5
1471 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1476 # ac_fn_c_try_run LINENO
1477 # ----------------------
1478 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1479 # that executables *can* be run.
1482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1483 if { { ac_try="$ac_link"
1485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1486 *) ac_try_echo
=$ac_try;;
1488 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1489 $as_echo "$ac_try_echo"; } >&5
1490 (eval "$ac_link") 2>&5
1492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1493 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1494 { { case "(($ac_try" in
1495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1496 *) ac_try_echo=$ac_try;;
1498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1499 $as_echo "$ac_try_echo"; } >&5
1500 (eval "$ac_try") 2>&5
1502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1503 test $ac_status = 0; }; }; then :
1506 $as_echo "$as_me: program exited with status $ac_status" >&5
1507 $as_echo "$as_me: failed program was:" >&5
1508 sed 's/^/| /' conftest.$ac_ext >&5
1510 ac_retval=$ac_status
1512 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1513 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1518 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1519 # -------------------------------------------------------
1520 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1521 # the include files in INCLUDES and setting the cache variable VAR
1523 ac_fn_c_check_header_mongrel ()
1525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1526 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1528 $as_echo_n "checking for $2... " >&6; }
1529 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1530 $as_echo_n "(cached) " >&6
1533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1534 $as_echo "$ac_res" >&6; }
1536 # Is the header compilable?
1537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1538 $as_echo_n "checking $2 usability... " >&6; }
1539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1540 /* end confdefs.h. */
1544 if ac_fn_c_try_compile "$LINENO"; then :
1545 ac_header_compiler=yes
1547 ac_header_compiler=no
1549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1551 $as_echo "$ac_header_compiler" >&6; }
1553 # Is the header present?
1554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1555 $as_echo_n "checking $2 presence... " >&6; }
1556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1557 /* end confdefs.h. */
1560 if ac_fn_c_try_cpp "$LINENO"; then :
1561 ac_header_preproc=yes
1563 ac_header_preproc=no
1565 rm -f conftest.err conftest.$ac_ext
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1567 $as_echo "$ac_header_preproc" >&6; }
1569 # So? What about this header?
1570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1573 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1575 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1579 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1581 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1583 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1585 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1587 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1591 $as_echo_n "checking for $2... " >&6; }
1592 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1593 $as_echo_n "(cached) " >&6
1595 eval "$3=\$ac_header_compiler"
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1599 $as_echo "$ac_res" >&6; }
1601 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1603 } # ac_fn_c_check_header_mongrel
1605 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1606 # -------------------------------------------------------
1607 # Tests whether HEADER exists and can be compiled using the include files in
1608 # INCLUDES, setting the cache variable VAR accordingly.
1609 ac_fn_c_check_header_compile ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613 $as_echo_n "checking for $2... " >&6; }
1614 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1615 $as_echo_n "(cached) " >&6
1617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1618 /* end confdefs.h. */
1622 if ac_fn_c_try_compile "$LINENO"; then :
1627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1631 $as_echo "$ac_res" >&6; }
1632 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1634 } # ac_fn_c_check_header_compile
1636 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1637 # -------------------------------------------
1638 # Tests whether TYPE exists after having included INCLUDES, setting cache
1639 # variable VAR accordingly.
1640 ac_fn_c_check_type ()
1642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1644 $as_echo_n "checking for $2... " >&6; }
1645 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1646 $as_echo_n "(cached) " >&6
1649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1650 /* end confdefs.h. */
1661 if ac_fn_c_try_compile "$LINENO"; then :
1662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1663 /* end confdefs.h. */
1674 if ac_fn_c_try_compile "$LINENO"; then :
1679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685 $as_echo "$ac_res" >&6; }
1686 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688 } # ac_fn_c_check_type
1690 # ac_fn_c_try_link LINENO
1691 # -----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded.
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 rm -f conftest.$ac_objext conftest$ac_exeext
1697 if { { ac_try="$ac_link"
1699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1700 *) ac_try_echo
=$ac_try;;
1702 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_link") 2>conftest.err
1706 if test -s conftest.err
; then
1707 grep -v '^ *+' conftest.err
>conftest.er1
1708 cat conftest.er1
>&5
1709 mv -f conftest.er1 conftest.err
1711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712 test $ac_status = 0; } && {
1713 test -z "$ac_c_werror_flag" ||
1714 test ! -s conftest.err
1715 } && test -s conftest
$ac_exeext && {
1716 test "$cross_compiling" = yes ||
1717 $as_test_x conftest
$ac_exeext
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.
$ac_ext >&5
1726 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1727 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1728 # interfere with the next link command; also delete a directory that is
1729 # left behind by Apple's compiler. We do this before executing the actions.
1730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1734 } # ac_fn_c_try_link
1736 # ac_fn_c_check_func LINENO FUNC VAR
1737 # ----------------------------------
1738 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1739 ac_fn_c_check_func
()
1741 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1745 $as_echo_n "(cached) " >&6
1747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1749 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1751 #define $2 innocuous_$2
1753 /* System header to define __stub macros and hopefully few prototypes,
1754 which can conflict with char $2 (); below.
1755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1756 <limits.h> exists even on freestanding compilers. */
1759 # include <limits.h>
1761 # include <assert.h>
1766 /* Override any GCC internal prototype to avoid an error.
1767 Use char because int might match the return type of a GCC
1768 builtin and then its argument prototype would still apply. */
1773 /* The GNU C library defines this for functions which it implements
1774 to always fail with ENOSYS. Some functions are actually named
1775 something starting with __ and the normal name is an alias. */
1776 #if defined __stub_$2 || defined __stub___$2
1788 if ac_fn_c_try_link
"$LINENO"; then :
1793 rm -f core conftest.err conftest.
$ac_objext \
1794 conftest
$ac_exeext conftest.
$ac_ext
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1798 $as_echo "$ac_res" >&6; }
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1801 } # ac_fn_c_check_func
1802 cat >config.log
<<_ACEOF
1803 This file contains any messages produced by compilers while
1804 running configure, to aid debugging if configure makes a mistake.
1806 It was created by spawn-fcgi $as_me 1.6.3, which was
1807 generated by GNU Autoconf 2.64. Invocation command line was
1819 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1820 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1821 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1822 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1823 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1825 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1826 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1828 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1829 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1830 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1831 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1832 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1833 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1834 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1842 test -z "$as_dir" && as_dir
=.
1843 $as_echo "PATH: $as_dir"
1859 # Keep a trace of the command line.
1860 # Strip out --no-create and --no-recursion so they do not pile up.
1861 # Strip out --silent because we don't want to record it for future runs.
1862 # Also quote any args containing shell meta-characters.
1863 # Make two passes to allow for proper duplicate-argument suppression.
1867 ac_must_keep_next
=false
1873 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1874 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1875 |
-silent |
--silent |
--silen |
--sile |
--sil)
1878 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1881 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1883 as_fn_append ac_configure_args1
" '$ac_arg'"
1884 if test $ac_must_keep_next = true
; then
1885 ac_must_keep_next
=false
# Got value, back to normal.
1888 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1889 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1890 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1891 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1892 case "$ac_configure_args0 " in
1893 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1896 -* ) ac_must_keep_next
=true
;;
1899 as_fn_append ac_configure_args
" '$ac_arg'"
1904 { ac_configure_args0
=; unset ac_configure_args0
;}
1905 { ac_configure_args1
=; unset ac_configure_args1
;}
1907 # When interrupted or exit'd, cleanup temporary files, and complete
1908 # config.log. We remove comments because anyway the quotes in there
1909 # would cause problems or look ugly.
1910 # WARNING: Use '\'' to represent an apostrophe within the trap.
1911 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1912 trap 'exit_status=$?
1913 # Save into config.log some information that might help in debugging.
1918 ## ---------------- ##
1919 ## Cache variables. ##
1920 ## ---------------- ##
1923 # The following way of writing the cache mishandles newlines in values,
1925 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1926 eval ac_val=\$$ac_var
1930 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1931 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1934 _ | IFS | as_nl) ;; #(
1935 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1936 *) { eval $ac_var=; unset $ac_var;} ;;
1941 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1942 *${as_nl}ac_space=\ *)
1944 "s/'\''/'\''\\\\'\'''\''/g;
1945 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1948 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1956 ## ----------------- ##
1957 ## Output variables. ##
1958 ## ----------------- ##
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
1973 ## ------------------- ##
1974 ## File substitutions. ##
1975 ## ------------------- ##
1978 for ac_var
in $ac_subst_files
1980 eval ac_val
=\$
$ac_var
1982 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1984 $as_echo "$ac_var='\''$ac_val'\''"
1989 if test -s confdefs.h; then
1999 test "$ac_signal" != 0 &&
2000 $as_echo "$as_me: caught signal $ac_signal"
2001 $as_echo "$as_me: exit $exit_status"
2003 rm -f core *.core core.conftest.* &&
2004 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2007 for ac_signal
in 1 2 13 15; do
2008 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2012 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2013 rm -f -r conftest
* confdefs.h
2015 $as_echo "/* confdefs.h */" > confdefs.h
2017 # Predefined preprocessor variables.
2019 cat >>confdefs.h
<<_ACEOF
2020 #define PACKAGE_NAME "$PACKAGE_NAME"
2023 cat >>confdefs.h
<<_ACEOF
2024 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2027 cat >>confdefs.h
<<_ACEOF
2028 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2031 cat >>confdefs.h
<<_ACEOF
2032 #define PACKAGE_STRING "$PACKAGE_STRING"
2035 cat >>confdefs.h
<<_ACEOF
2036 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2039 cat >>confdefs.h
<<_ACEOF
2040 #define PACKAGE_URL "$PACKAGE_URL"
2044 # Let the site file select an alternate cache file if it wants to.
2045 # Prefer an explicitly selected file to automatically selected ones.
2048 if test -n "$CONFIG_SITE"; then
2049 ac_site_file1
=$CONFIG_SITE
2050 elif test "x$prefix" != xNONE
; then
2051 ac_site_file1
=$prefix/share
/config.site
2052 ac_site_file2
=$prefix/etc
/config.site
2054 ac_site_file1
=$ac_default_prefix/share
/config.site
2055 ac_site_file2
=$ac_default_prefix/etc
/config.site
2057 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2059 test "x$ac_site_file" = xNONE
&& continue
2060 if test -r "$ac_site_file"; then
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2062 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2063 sed 's/^/| /' "$ac_site_file" >&5
2068 if test -r "$cache_file"; then
2069 # Some versions of bash will fail to source /dev/null (special
2070 # files actually), so we avoid doing that.
2071 if test -f "$cache_file"; then
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2073 $as_echo "$as_me: loading cache $cache_file" >&6;}
2075 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2076 *) .
"./$cache_file";;
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2081 $as_echo "$as_me: creating cache $cache_file" >&6;}
2085 # Check that the precious variables saved in the cache have kept the same
2087 ac_cache_corrupted
=false
2088 for ac_var
in $ac_precious_vars; do
2089 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2090 eval ac_new_set
=\
$ac_env_${ac_var}_set
2091 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2092 eval ac_new_val
=\
$ac_env_${ac_var}_value
2093 case $ac_old_set,$ac_new_set in
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2096 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2097 ac_cache_corrupted
=: ;;
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2100 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2101 ac_cache_corrupted
=: ;;
2104 if test "x$ac_old_val" != "x$ac_new_val"; then
2105 # differences in whitespace do not lead to failure.
2106 ac_old_val_w
=`echo x $ac_old_val`
2107 ac_new_val_w
=`echo x $ac_new_val`
2108 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2110 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2111 ac_cache_corrupted
=:
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2114 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2115 eval $ac_var=\
$ac_old_val
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2118 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2120 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2123 # Pass precious variables to config.status.
2124 if test "$ac_new_set" = set; then
2126 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2127 *) ac_arg
=$ac_var=$ac_new_val ;;
2129 case " $ac_configure_args " in
2130 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2131 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2135 if $ac_cache_corrupted; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2139 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2140 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2142 ## -------------------- ##
2143 ## Main body of script. ##
2144 ## -------------------- ##
2147 ac_cpp
='$CPP $CPPFLAGS'
2148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2154 ac_config_headers
="$ac_config_headers config.h"
2157 am__api_version
='1.11'
2160 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2161 for ac_t
in install-sh
install.sh shtool
; do
2162 if test -f "$ac_dir/$ac_t"; then
2164 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2169 if test -z "$ac_aux_dir"; then
2170 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2173 # These three variables are undocumented and unsupported,
2174 # and are intended to be withdrawn in a future Autoconf release.
2175 # They can cause serious problems if a builder's source tree is in a directory
2176 # whose full name contains unusual characters.
2177 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2178 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2179 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2182 # Find a good install program. We prefer a C program (faster),
2183 # so one script is as good as another. But avoid the broken or
2184 # incompatible versions:
2185 # SysV /etc/install, /usr/sbin/install
2186 # SunOS /usr/etc/install
2187 # IRIX /sbin/install
2189 # AmigaOS /C/install, which installs bootblocks on floppy discs
2190 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2191 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2192 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2193 # OS/2's system install, which has a completely different semantic
2194 # ./install, which can be erroneously created by make from ./install.sh.
2195 # Reject install programs that cannot install multiple files.
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2197 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2198 if test -z "$INSTALL"; then
2199 if test "${ac_cv_path_install+set}" = set; then :
2200 $as_echo_n "(cached) " >&6
2202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2206 test -z "$as_dir" && as_dir
=.
2207 # Account for people who put trailing slashes in PATH elements.
2208 case $as_dir/ in #((
2209 .
/ | .
// |
/[cC
]/* | \
2210 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2211 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2214 # OSF1 and SCO ODT 3.0 have their own names for install.
2215 # Don't use installbsd from OSF since it installs stuff as root
2217 for ac_prog
in ginstall scoinst
install; do
2218 for ac_exec_ext
in '' $ac_executable_extensions; do
2219 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2220 if test $ac_prog = install &&
2221 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2222 # AIX install. It has an incompatible calling convention.
2224 elif test $ac_prog = install &&
2225 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2226 # program-specific install script used by HP pwplus--don't use.
2229 rm -rf conftest.one conftest.two conftest.dir
2230 echo one
> conftest.one
2231 echo two
> conftest.two
2233 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2234 test -s conftest.one
&& test -s conftest.two
&&
2235 test -s conftest.dir
/conftest.one
&&
2236 test -s conftest.dir
/conftest.two
2238 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2251 rm -rf conftest.one conftest.two conftest.dir
2254 if test "${ac_cv_path_install+set}" = set; then
2255 INSTALL
=$ac_cv_path_install
2257 # As a last resort, use the slow shell script. Don't cache a
2258 # value for INSTALL within a source directory, because that will
2259 # break other packages using the cache if that directory is
2260 # removed, or if the value is a relative name.
2261 INSTALL
=$ac_install_sh
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2265 $as_echo "$INSTALL" >&6; }
2267 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2268 # It thinks the first close brace ends the variable substitution.
2269 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2271 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2273 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2276 $as_echo_n "checking whether build environment is sane... " >&6; }
2279 echo timestamp
> conftest.
file
2280 # Reject unsafe characters in $srcdir or the absolute working directory
2281 # name. Accept space and tab only in the latter.
2285 *[\\\"\
#\$\&\'\`$am_lf]*)
2286 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2289 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2290 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2293 # Do `set' in a subshell so we don't clobber the current shell's
2294 # arguments. Must try -L first in case configure is actually a
2295 # symlink; some systems play weird games with the mod time of symlinks
2296 # (eg FreeBSD returns the mod time of the symlink's containing
2299 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2300 if test "$*" = "X"; then
2302 set X
`ls -t "$srcdir/configure" conftest.file`
2305 if test "$*" != "X $srcdir/configure conftest.file" \
2306 && test "$*" != "X conftest.file $srcdir/configure"; then
2308 # If neither matched, then we have a broken ls. This can happen
2309 # if, for instance, CONFIG_SHELL is bash and it inherits a
2310 # broken ls alias from the environment. This has actually
2311 # happened. Such a system could not be considered "sane".
2312 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2313 alias in your environment" "$LINENO" 5
2316 test "$2" = conftest.
file
2322 as_fn_error
"newly created file is older than distributed files!
2323 Check your system clock" "$LINENO" 5
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2326 $as_echo "yes" >&6; }
2327 test "$program_prefix" != NONE
&&
2328 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2329 # Use a double $ so make ignores it.
2330 test "$program_suffix" != NONE
&&
2331 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2332 # Double any \ or $.
2333 # By default was `s,x,x', remove it if useless.
2334 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2335 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2337 # expand $ac_aux_dir to an absolute path
2338 am_aux_dir
=`cd $ac_aux_dir && pwd`
2340 if test x
"${MISSING+set}" != xset
; then
2343 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2345 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2348 # Use eval to expand $SHELL
2349 if eval "$MISSING --run true"; then
2350 am_missing_run
="$MISSING --run "
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2354 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2357 if test x
"${install_sh}" != xset
; then
2360 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2362 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2366 # Installed binaries are usually stripped using `strip' when the user
2367 # run `make install-strip'. However `strip' might not be the right
2368 # tool to use in cross-compilation environments, therefore Automake
2369 # will honor the `STRIP' environment variable to overrule this program.
2370 if test "$cross_compiling" != no
; then
2371 if test -n "$ac_tool_prefix"; then
2372 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2373 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2375 $as_echo_n "checking for $ac_word... " >&6; }
2376 if test "${ac_cv_prog_STRIP+set}" = set; then :
2377 $as_echo_n "(cached) " >&6
2379 if test -n "$STRIP"; then
2380 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir
=.
2387 for ac_exec_ext
in '' $ac_executable_extensions; do
2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 STRIP
=$ac_cv_prog_STRIP
2400 if test -n "$STRIP"; then
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2402 $as_echo "$STRIP" >&6; }
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2405 $as_echo "no" >&6; }
2410 if test -z "$ac_cv_prog_STRIP"; then
2412 # Extract the first word of "strip", so it can be a program name with args.
2413 set dummy strip
; ac_word
=$2
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2415 $as_echo_n "checking for $ac_word... " >&6; }
2416 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2417 $as_echo_n "(cached) " >&6
2419 if test -n "$ac_ct_STRIP"; then
2420 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2426 test -z "$as_dir" && as_dir
=.
2427 for ac_exec_ext
in '' $ac_executable_extensions; do
2428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429 ac_cv_prog_ac_ct_STRIP
="strip"
2430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2439 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2440 if test -n "$ac_ct_STRIP"; then
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2442 $as_echo "$ac_ct_STRIP" >&6; }
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2445 $as_echo "no" >&6; }
2448 if test "x$ac_ct_STRIP" = x
; then
2451 case $cross_compiling:$ac_tool_warned in
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2455 ac_tool_warned
=yes ;;
2460 STRIP
="$ac_cv_prog_STRIP"
2464 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2467 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2468 if test -z "$MKDIR_P"; then
2469 if test "${ac_cv_path_mkdir+set}" = set; then :
2470 $as_echo_n "(cached) " >&6
2472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2473 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2476 test -z "$as_dir" && as_dir
=.
2477 for ac_prog
in mkdir gmkdir
; do
2478 for ac_exec_ext
in '' $ac_executable_extensions; do
2479 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2480 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2481 'mkdir (GNU coreutils) '* | \
2482 'mkdir (coreutils) '* | \
2483 'mkdir (fileutils) '4.1*)
2484 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2494 if test "${ac_cv_path_mkdir+set}" = set; then
2495 MKDIR_P
="$ac_cv_path_mkdir -p"
2497 # As a last resort, use the slow shell script. Don't cache a
2498 # value for MKDIR_P within a source directory, because that will
2499 # break other packages using the cache if that directory is
2500 # removed, or if the value is a relative name.
2501 test -d .
/--version && rmdir .
/--version
2502 MKDIR_P
="$ac_install_sh -d"
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2506 $as_echo "$MKDIR_P" >&6; }
2510 [\\/$
]* | ?
:[\\/]*) ;;
2511 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2514 for ac_prog
in gawk mawk nawk
awk
2516 # Extract the first word of "$ac_prog", so it can be a program name with args.
2517 set dummy
$ac_prog; ac_word
=$2
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2519 $as_echo_n "checking for $ac_word... " >&6; }
2520 if test "${ac_cv_prog_AWK+set}" = set; then :
2521 $as_echo_n "(cached) " >&6
2523 if test -n "$AWK"; then
2524 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2530 test -z "$as_dir" && as_dir
=.
2531 for ac_exec_ext
in '' $ac_executable_extensions; do
2532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2533 ac_cv_prog_AWK
="$ac_prog"
2534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2544 if test -n "$AWK"; then
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2546 $as_echo "$AWK" >&6; }
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2549 $as_echo "no" >&6; }
2553 test -n "$AWK" && break
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2557 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2559 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2560 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2561 $as_echo_n "(cached) " >&6
2563 cat >conftest.
make <<\_ACEOF
2566 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2568 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2569 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2571 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2573 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2577 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2579 $as_echo "yes" >&6; }
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2583 $as_echo "no" >&6; }
2584 SET_MAKE
="MAKE=${MAKE-make}"
2587 rm -rf .tst
2>/dev
/null
2588 mkdir .tst
2>/dev
/null
2589 if test -d .tst
; then
2594 rmdir .tst
2>/dev
/null
2596 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2597 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2598 # is not polluted with repeated "-I."
2599 am__isrc
=' -I$(srcdir)'
2600 # test to see if srcdir already configured
2601 if test -f $srcdir/config.status
; then
2602 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2606 # test whether we have cygpath
2607 if test -z "$CYGPATH_W"; then
2608 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2609 CYGPATH_W
='cygpath -w'
2616 # Define the identity of the package.
2617 PACKAGE
='spawn-fcgi'
2621 cat >>confdefs.h
<<_ACEOF
2622 #define PACKAGE "$PACKAGE"
2626 cat >>confdefs.h
<<_ACEOF
2627 #define VERSION "$VERSION"
2630 # Some tools Automake needs.
2632 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2635 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2638 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2641 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2644 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2646 # We need awk for the "check" target. The system "awk" is bad on
2648 # Always define AMTAR for backward compatibility.
2650 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2652 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2659 # Checks for programs.
2661 ac_cpp
='$CPP $CPPFLAGS'
2662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2665 if test -n "$ac_tool_prefix"; then
2666 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2667 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2669 $as_echo_n "checking for $ac_word... " >&6; }
2670 if test "${ac_cv_prog_CC+set}" = set; then :
2671 $as_echo_n "(cached) " >&6
2673 if test -n "$CC"; then
2674 ac_cv_prog_CC
="$CC" # Let the user override the test.
2676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2680 test -z "$as_dir" && as_dir
=.
2681 for ac_exec_ext
in '' $ac_executable_extensions; do
2682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2683 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2694 if test -n "$CC"; then
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2696 $as_echo "$CC" >&6; }
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2699 $as_echo "no" >&6; }
2704 if test -z "$ac_cv_prog_CC"; then
2706 # Extract the first word of "gcc", so it can be a program name with args.
2707 set dummy gcc
; ac_word
=$2
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709 $as_echo_n "checking for $ac_word... " >&6; }
2710 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2711 $as_echo_n "(cached) " >&6
2713 if test -n "$ac_ct_CC"; then
2714 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2720 test -z "$as_dir" && as_dir
=.
2721 for ac_exec_ext
in '' $ac_executable_extensions; do
2722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2723 ac_cv_prog_ac_ct_CC
="gcc"
2724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2734 if test -n "$ac_ct_CC"; then
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2736 $as_echo "$ac_ct_CC" >&6; }
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739 $as_echo "no" >&6; }
2742 if test "x$ac_ct_CC" = x
; then
2745 case $cross_compiling:$ac_tool_warned in
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2749 ac_tool_warned
=yes ;;
2757 if test -z "$CC"; then
2758 if test -n "$ac_tool_prefix"; then
2759 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2760 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762 $as_echo_n "checking for $ac_word... " >&6; }
2763 if test "${ac_cv_prog_CC+set}" = set; then :
2764 $as_echo_n "(cached) " >&6
2766 if test -n "$CC"; then
2767 ac_cv_prog_CC
="$CC" # Let the user override the test.
2769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir
=.
2774 for ac_exec_ext
in '' $ac_executable_extensions; do
2775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 if test -n "$CC"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2789 $as_echo "$CC" >&6; }
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2798 if test -z "$CC"; then
2799 # Extract the first word of "cc", so it can be a program name with args.
2800 set dummy cc
; ac_word
=$2
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if test "${ac_cv_prog_CC+set}" = set; then :
2804 $as_echo_n "(cached) " >&6
2806 if test -n "$CC"; then
2807 ac_cv_prog_CC
="$CC" # Let the user override the test.
2810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2814 test -z "$as_dir" && as_dir
=.
2815 for ac_exec_ext
in '' $ac_executable_extensions; do
2816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2817 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2818 ac_prog_rejected
=yes
2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2829 if test $ac_prog_rejected = yes; then
2830 # We found a bogon in the path, so make sure we never use it.
2831 set dummy
$ac_cv_prog_CC
2833 if test $# != 0; then
2834 # We chose a different compiler from the bogus one.
2835 # However, it has the same basename, so the bogon will be chosen
2836 # first if we set CC to just the basename; use the full file name.
2838 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2844 if test -n "$CC"; then
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2846 $as_echo "$CC" >&6; }
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2854 if test -z "$CC"; then
2855 if test -n "$ac_tool_prefix"; then
2856 for ac_prog
in cl.exe
2858 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2859 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2861 $as_echo_n "checking for $ac_word... " >&6; }
2862 if test "${ac_cv_prog_CC+set}" = set; then :
2863 $as_echo_n "(cached) " >&6
2865 if test -n "$CC"; then
2866 ac_cv_prog_CC
="$CC" # Let the user override the test.
2868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2872 test -z "$as_dir" && as_dir
=.
2873 for ac_exec_ext
in '' $ac_executable_extensions; do
2874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2875 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2886 if test -n "$CC"; then
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2888 $as_echo "$CC" >&6; }
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2891 $as_echo "no" >&6; }
2895 test -n "$CC" && break
2898 if test -z "$CC"; then
2900 for ac_prog
in cl.exe
2902 # Extract the first word of "$ac_prog", so it can be a program name with args.
2903 set dummy
$ac_prog; ac_word
=$2
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2905 $as_echo_n "checking for $ac_word... " >&6; }
2906 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2907 $as_echo_n "(cached) " >&6
2909 if test -n "$ac_ct_CC"; then
2910 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir
=.
2917 for ac_exec_ext
in '' $ac_executable_extensions; do
2918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2919 ac_cv_prog_ac_ct_CC
="$ac_prog"
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2930 if test -n "$ac_ct_CC"; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2932 $as_echo "$ac_ct_CC" >&6; }
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2939 test -n "$ac_ct_CC" && break
2942 if test "x$ac_ct_CC" = x
; then
2945 case $cross_compiling:$ac_tool_warned in
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2949 ac_tool_warned
=yes ;;
2958 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2960 as_fn_error
"no acceptable C compiler found in \$PATH
2961 See \`config.log' for more details." "$LINENO" 5; }
2963 # Provide some information about the compiler.
2964 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2967 for ac_option
in --version -v -V -qversion; do
2968 { { ac_try
="$ac_compiler $ac_option >&5"
2970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2974 $as_echo "$ac_try_echo"; } >&5
2975 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2977 if test -s conftest.err; then
2979 ... rest of stderr output deleted ...
2980 10q' conftest.err >conftest.er1
2981 cat conftest.er1 >&5
2982 rm -f conftest.er1 conftest.err
2984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2985 test $ac_status = 0; }
2988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2989 /* end confdefs.h. */
2994 FILE *f = fopen ("conftest.out", "w");
2995 return ferror (f) || fclose (f) != 0;
3001 ac_clean_files_save=$ac_clean_files
3002 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3003 # Try to create an executable without -o first, disregard a.out.
3004 # It will help us diagnose broken compilers, and finding out an intuition
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3007 $as_echo_n "checking for C compiler default output file name... " >&6; }
3008 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3010 # The possible output files:
3011 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3014 for ac_file in $ac_files
3017 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3018 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3023 if { { ac_try="$ac_link_default"
3025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3026 *) ac_try_echo
=$ac_try;;
3028 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3029 $as_echo "$ac_try_echo"; } >&5
3030 (eval "$ac_link_default") 2>&5
3032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3033 test $ac_status = 0; }; then :
3034 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3035 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3036 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3037 # so that the user can short-circuit this test for compilers unknown to
3039 for ac_file
in $ac_files ''
3041 test -f "$ac_file" ||
continue
3043 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3046 # We found the default executable, but exeext='' is most
3050 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3052 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3054 # We set ac_cv_exeext here because the later test for it is not
3055 # safe: cross compilers may not add the suffix if given an `-o'
3056 # argument, so we may need to know it at that point already.
3057 # Even if this section looks crufty: it has the advantage of
3064 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3070 $as_echo "$ac_file" >&6; }
3071 if test -z "$ac_file"; then :
3072 $as_echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.
$ac_ext >&5
3075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3077 { as_fn_set_status
77
3078 as_fn_error
"C compiler cannot create executables
3079 See \`config.log' for more details." "$LINENO" 5; }; }
3081 ac_exeext
=$ac_cv_exeext
3083 # Check that the compiler produces executables we can run. If not, either
3084 # the compiler is broken, or we cross compile.
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3086 $as_echo_n "checking whether the C compiler works... " >&6; }
3087 # If not cross compiling, check that we can run a simple program.
3088 if test "$cross_compiling" != yes; then
3089 if { ac_try
='./$ac_file'
3090 { { case "(($ac_try" in
3091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3092 *) ac_try_echo=$ac_try;;
3094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3095 $as_echo "$ac_try_echo"; } >&5
3096 (eval "$ac_try") 2>&5
3098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3099 test $ac_status = 0; }; }; then
3102 if test "$cross_compiling" = maybe; then
3105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3107 as_fn_error "cannot run C compiled programs.
3108 If you meant to cross compile
, use \
`--host'.
3109 See \`config.log
' for more details." "$LINENO" 5; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3114 $as_echo "yes" >&6; }
3116 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3117 ac_clean_files=$ac_clean_files_save
3118 # Check that the compiler produces executables we can run. If not, either
3119 # the compiler is broken, or we cross compile.
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3121 $as_echo_n "checking whether we are cross compiling... " >&6; }
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3123 $as_echo "$cross_compiling" >&6; }
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3126 $as_echo_n "checking for suffix of executables... " >&6; }
3127 if { { ac_try="$ac_link"
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3133 $as_echo "$ac_try_echo"; } >&5
3134 (eval "$ac_link") 2>&5
3136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3137 test $ac_status = 0; }; then :
3138 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3139 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3140 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3142 for ac_file
in conftest.exe conftest conftest.
*; do
3143 test -f "$ac_file" ||
continue
3145 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3146 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3154 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3155 See \`config.log' for more details." "$LINENO" 5; }
3157 rm -f conftest
$ac_cv_exeext
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3159 $as_echo "$ac_cv_exeext" >&6; }
3161 rm -f conftest.
$ac_ext
3162 EXEEXT
=$ac_cv_exeext
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3165 $as_echo_n "checking for suffix of object files... " >&6; }
3166 if test "${ac_cv_objext+set}" = set; then :
3167 $as_echo_n "(cached) " >&6
3169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3170 /* end confdefs.h. */
3180 rm -f conftest.o conftest.obj
3181 if { { ac_try
="$ac_compile"
3183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3184 *) ac_try_echo=$ac_try;;
3186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3187 $as_echo "$ac_try_echo"; } >&5
3188 (eval "$ac_compile") 2>&5
3190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191 test $ac_status = 0; }; then :
3192 for ac_file in conftest.o conftest.obj conftest.*; do
3193 test -f "$ac_file" || continue;
3195 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3196 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3201 $as_echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.$ac_ext >&5
3204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3206 as_fn_error "cannot compute suffix of object files
: cannot compile
3207 See \
`config.log' for more details." "$LINENO" 5; }
3209 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3212 $as_echo "$ac_cv_objext" >&6; }
3213 OBJEXT=$ac_cv_objext
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3216 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3217 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3218 $as_echo_n "(cached) " >&6
3220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3221 /* end confdefs.h. */
3234 if ac_fn_c_try_compile "$LINENO"; then :
3239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3244 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3245 if test $ac_compiler_gnu = yes; then
3250 ac_test_CFLAGS=${CFLAGS+set}
3251 ac_save_CFLAGS=$CFLAGS
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3253 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3254 if test "${ac_cv_prog_cc_g+set}" = set; then :
3255 $as_echo_n "(cached) " >&6
3257 ac_save_c_werror_flag=$ac_c_werror_flag
3258 ac_c_werror_flag=yes
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3272 if ac_fn_c_try_compile "$LINENO"; then :
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3287 if ac_fn_c_try_compile "$LINENO"; then :
3290 ac_c_werror_flag=$ac_save_c_werror_flag
3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3303 if ac_fn_c_try_compile "$LINENO"; then :
3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311 ac_c_werror_flag=$ac_save_c_werror_flag
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3314 $as_echo "$ac_cv_prog_cc_g" >&6; }
3315 if test "$ac_test_CFLAGS" = set; then
3316 CFLAGS=$ac_save_CFLAGS
3317 elif test $ac_cv_prog_cc_g = yes; then
3318 if test "$GCC" = yes; then
3324 if test "$GCC" = yes; then
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3331 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3332 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3333 $as_echo_n "(cached) " >&6
3335 ac_cv_prog_cc_c89=no
3337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3341 #include <sys/types.h>
3342 #include <sys/stat.h>
3343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3344 struct buf { int x; };
3345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3346 static char *e (p, i)
3352 static char *f (char * (*g) (char **, int), char **p, ...)
3357 s = g (p, va_arg (v,int));
3362 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3363 function prototypes and stuff, but not '\xHH' hex character constants.
3364 These don't provoke an error unfortunately, instead are silently treated
3365 as 'x'. The following induces an error, until -std is added to get
3366 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3367 array size at least. It's necessary to write '\x00'==0 to get something
3368 that's true only with -std. */
3369 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3371 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3372 inside strings and character constants. */
3374 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3376 int test (int i, double x);
3377 struct s1 {int (*f) (int a);};
3378 struct s2 {int (*f) (double a);};
3379 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3385 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3390 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3391 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3393 CC="$ac_save_CC $ac_arg"
3394 if ac_fn_c_try_compile "$LINENO"; then :
3395 ac_cv_prog_cc_c89=$ac_arg
3397 rm -f core conftest.err conftest.$ac_objext
3398 test "x$ac_cv_prog_cc_c89" != "xno" && break
3400 rm -f conftest.$ac_ext
3405 case "x$ac_cv_prog_cc_c89" in
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3408 $as_echo "none needed" >&6; } ;;
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3411 $as_echo "unsupported" >&6; } ;;
3413 CC="$CC $ac_cv_prog_cc_c89"
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3415 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3417 if test "x$ac_cv_prog_cc_c89" != xno; then :
3422 ac_cpp='$CPP $CPPFLAGS'
3423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3426 DEPDIR="${am__leading_dot}deps"
3428 ac_config_commands="$ac_config_commands depfiles"
3431 am_make=${MAKE-make}
3432 cat > confinc << 'END'
3434 @echo this is the am__doit target
3437 # If we don't find an include directive, just comment out the code.
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3439 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3443 # First try GNU make style include.
3444 echo "include confinc" > confmf
3445 # Ignore all kinds of additional output from `make'.
3446 case `$am_make -s -f confmf 2> /dev/null` in #(
3447 *the\ am__doit\ target*)
3453 # Now try BSD make style include.
3454 if test "$am__include" = "#"; then
3455 echo '.include
"confinc"' > confmf
3456 case `$am_make -s -f confmf 2> /dev/null` in #(
3457 *the\ am__doit\ target*)
3458 am__include=.include
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3467 $as_echo "$_am_result" >&6; }
3468 rm -f confinc confmf
3470 # Check whether --enable-dependency-tracking was given.
3471 if test "${enable_dependency_tracking+set}" = set; then :
3472 enableval=$enable_dependency_tracking;
3475 if test "x$enable_dependency_tracking" != xno; then
3476 am_depcomp="$ac_aux_dir/depcomp"
3479 if test "x$enable_dependency_tracking" != xno
; then
3489 depcc
="$CC" am_compiler_list
=
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3492 $as_echo_n "checking dependency style of $depcc... " >&6; }
3493 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3494 $as_echo_n "(cached) " >&6
3496 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3497 # We make a subdir and do the tests there. Otherwise we can end up
3498 # making bogus files that we don't know about and never remove. For
3499 # instance it was reported that on HP-UX the gcc test will end up
3500 # making a dummy file named `D' -- because `-MD' means `put the output
3503 # Copy depcomp to subdir because otherwise we won't find it if we're
3504 # using a relative directory.
3505 cp "$am_depcomp" conftest.dir
3507 # We will build objects and dependencies in a subdirectory because
3508 # it helps to detect inapplicable dependency modes. For instance
3509 # both Tru64's cc and ICC support -MD to output dependencies as a
3510 # side effect of compilation, but ICC will put the dependencies in
3511 # the current directory while Tru64 will put them in the object
3515 am_cv_CC_dependencies_compiler_type
=none
3516 if test "$am_compiler_list" = ""; then
3517 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3520 case " $depcc " in #(
3521 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3524 for depmode
in $am_compiler_list; do
3525 # Setup a source with many dependencies, because some compilers
3526 # like to wrap large dependency lists on column 80 (with \), and
3527 # we should not choose a depcomp mode which is confused by this.
3529 # We need to recreate these files for each test, as the compiler may
3530 # overwrite some of them when testing with obscure command lines.
3531 # This happens at least with the AIX C compiler.
3533 for i
in 1 2 3 4 5 6; do
3534 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3535 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3536 # Solaris 8's {/usr,}/bin/sh.
3537 touch sub
/conftst
$i.h
3539 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3541 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3542 # mode. It turns out that the SunPro C++ compiler does not properly
3543 # handle `-M -o', and we need to detect this. Also, some Intel
3544 # versions had trouble with output in subdirs
3545 am__obj
=sub
/conftest.
${OBJEXT-o}
3546 am__minus_obj
="-o $am__obj"
3549 # This depmode causes a compiler race in universal mode.
3550 test "$am__universal" = false ||
continue
3553 # after this tag, mechanisms are not by side-effect, so they'll
3554 # only be used when explicitly requested
3555 if test "x$enable_dependency_tracking" = xyes
; then
3561 msvisualcpp | msvcmsys
)
3562 # This compiler won't grok `-c -o', but also, the minuso test has
3563 # not run yet. These depmodes are late enough in the game, and
3564 # so weak that their functioning should not be impacted.
3565 am__obj
=conftest.
${OBJEXT-o}
3570 if depmode
=$depmode \
3571 source=sub
/conftest.c object
=$am__obj \
3572 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3573 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3574 >/dev
/null
2>conftest.err
&&
3575 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3576 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3577 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3578 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3579 # icc doesn't choke on unknown options, it will just issue warnings
3580 # or remarks (even with -Werror). So we grep stderr for any message
3581 # that says an option was ignored or not supported.
3582 # When given -MP, icc 7.0 and 7.1 complain thusly:
3583 # icc: Command line warning: ignoring option '-M'; no argument required
3584 # The diagnosis changed in icc 8.0:
3585 # icc: Command line remark: option '-MP' not supported
3586 if (grep 'ignoring option' conftest.err ||
3587 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3588 am_cv_CC_dependencies_compiler_type
=$depmode
3597 am_cv_CC_dependencies_compiler_type
=none
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3602 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3603 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3606 test "x$enable_dependency_tracking" != xno \
3607 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3609 am__fastdepCC_FALSE
='#'
3611 am__fastdepCC_TRUE
='#'
3612 am__fastdepCC_FALSE
=
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3617 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3619 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3620 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3621 $as_echo_n "(cached) " >&6
3623 cat >conftest.
make <<\_ACEOF
3626 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3628 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3629 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3631 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3633 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3637 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3639 $as_echo "yes" >&6; }
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 $as_echo "no" >&6; }
3644 SET_MAKE
="MAKE=${MAKE-make}"
3648 # Checks for libraries.
3650 # Checks for header files.
3653 ac_cpp
='$CPP $CPPFLAGS'
3654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3658 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3659 # On Suns, sometimes $CPP names a directory.
3660 if test -n "$CPP" && test -d "$CPP"; then
3663 if test -z "$CPP"; then
3664 if test "${ac_cv_prog_CPP+set}" = set; then :
3665 $as_echo_n "(cached) " >&6
3667 # Double quotes because CPP needs to be expanded
3668 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3671 for ac_c_preproc_warn_flag
in '' yes
3673 # Use a header file that comes with gcc, so configuring glibc
3674 # with a fresh cross-compiler works.
3675 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3676 # <limits.h> exists even on freestanding compilers.
3677 # On the NeXT, cc -E runs the code through the compiler's parser,
3678 # not just through cpp. "Syntax error" is here to catch this case.
3679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h. */
3682 # include <limits.h>
3684 # include <assert.h>
3688 if ac_fn_c_try_cpp
"$LINENO"; then :
3691 # Broken: fails on valid input.
3694 rm -f conftest.err conftest.
$ac_ext
3696 # OK, works on sane cases. Now check whether nonexistent headers
3697 # can be detected and how.
3698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3699 /* end confdefs.h. */
3700 #include <ac_nonexistent.h>
3702 if ac_fn_c_try_cpp
"$LINENO"; then :
3703 # Broken: success on invalid input.
3706 # Passes both tests.
3710 rm -f conftest.err conftest.
$ac_ext
3713 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3714 rm -f conftest.err conftest.
$ac_ext
3715 if $ac_preproc_ok; then :
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3728 $as_echo "$CPP" >&6; }
3730 for ac_c_preproc_warn_flag
in '' yes
3732 # Use a header file that comes with gcc, so configuring glibc
3733 # with a fresh cross-compiler works.
3734 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3735 # <limits.h> exists even on freestanding compilers.
3736 # On the NeXT, cc -E runs the code through the compiler's parser,
3737 # not just through cpp. "Syntax error" is here to catch this case.
3738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3741 # include <limits.h>
3743 # include <assert.h>
3747 if ac_fn_c_try_cpp
"$LINENO"; then :
3750 # Broken: fails on valid input.
3753 rm -f conftest.err conftest.
$ac_ext
3755 # OK, works on sane cases. Now check whether nonexistent headers
3756 # can be detected and how.
3757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h. */
3759 #include <ac_nonexistent.h>
3761 if ac_fn_c_try_cpp
"$LINENO"; then :
3762 # Broken: success on invalid input.
3765 # Passes both tests.
3769 rm -f conftest.err conftest.
$ac_ext
3772 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3773 rm -f conftest.err conftest.
$ac_ext
3774 if $ac_preproc_ok; then :
3777 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3779 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3780 See \`config.log' for more details." "$LINENO" 5; }
3784 ac_cpp
='$CPP $CPPFLAGS'
3785 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3786 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3787 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3791 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3792 if test "${ac_cv_path_GREP+set}" = set; then :
3793 $as_echo_n "(cached) " >&6
3795 if test -z "$GREP"; then
3796 ac_path_GREP_found
=false
3797 # Loop through the user's path and test for each of PROGNAME-LIST
3798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3799 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3802 test -z "$as_dir" && as_dir
=.
3803 for ac_prog
in grep ggrep
; do
3804 for ac_exec_ext
in '' $ac_executable_extensions; do
3805 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3806 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3807 # Check for GNU ac_path_GREP and select it if it is found.
3808 # Check for GNU $ac_path_GREP
3809 case `"$ac_path_GREP" --version 2>&1` in
3811 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3814 $as_echo_n 0123456789 >"conftest.in"
3817 cat "conftest.in" "conftest.in" >"conftest.tmp"
3818 mv "conftest.tmp" "conftest.in"
3819 cp "conftest.in" "conftest.nl"
3820 $as_echo 'GREP' >> "conftest.nl"
3821 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3822 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3823 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3824 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3825 # Best one so far, save it but keep looking for a better one
3826 ac_cv_path_GREP
="$ac_path_GREP"
3827 ac_path_GREP_max
=$ac_count
3829 # 10*(2^10) chars as input seems more than enough
3830 test $ac_count -gt 10 && break
3832 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3835 $ac_path_GREP_found && break 3
3840 if test -z "$ac_cv_path_GREP"; then
3841 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3844 ac_cv_path_GREP
=$GREP
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3849 $as_echo "$ac_cv_path_GREP" >&6; }
3850 GREP
="$ac_cv_path_GREP"
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3854 $as_echo_n "checking for egrep... " >&6; }
3855 if test "${ac_cv_path_EGREP+set}" = set; then :
3856 $as_echo_n "(cached) " >&6
3858 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3859 then ac_cv_path_EGREP
="$GREP -E"
3861 if test -z "$EGREP"; then
3862 ac_path_EGREP_found
=false
3863 # Loop through the user's path and test for each of PROGNAME-LIST
3864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3865 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3868 test -z "$as_dir" && as_dir
=.
3869 for ac_prog
in egrep; do
3870 for ac_exec_ext
in '' $ac_executable_extensions; do
3871 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3872 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3873 # Check for GNU ac_path_EGREP and select it if it is found.
3874 # Check for GNU $ac_path_EGREP
3875 case `"$ac_path_EGREP" --version 2>&1` in
3877 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3880 $as_echo_n 0123456789 >"conftest.in"
3883 cat "conftest.in" "conftest.in" >"conftest.tmp"
3884 mv "conftest.tmp" "conftest.in"
3885 cp "conftest.in" "conftest.nl"
3886 $as_echo 'EGREP' >> "conftest.nl"
3887 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3888 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3889 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3890 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3891 # Best one so far, save it but keep looking for a better one
3892 ac_cv_path_EGREP
="$ac_path_EGREP"
3893 ac_path_EGREP_max
=$ac_count
3895 # 10*(2^10) chars as input seems more than enough
3896 test $ac_count -gt 10 && break
3898 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3901 $ac_path_EGREP_found && break 3
3906 if test -z "$ac_cv_path_EGREP"; then
3907 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3910 ac_cv_path_EGREP
=$EGREP
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3916 $as_echo "$ac_cv_path_EGREP" >&6; }
3917 EGREP
="$ac_cv_path_EGREP"
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3921 $as_echo_n "checking for ANSI C header files... " >&6; }
3922 if test "${ac_cv_header_stdc+set}" = set; then :
3923 $as_echo_n "(cached) " >&6
3925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3940 if ac_fn_c_try_compile
"$LINENO"; then :
3941 ac_cv_header_stdc
=yes
3943 ac_cv_header_stdc
=no
3945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3947 if test $ac_cv_header_stdc = yes; then
3948 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3950 /* end confdefs.h. */
3954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3955 $EGREP "memchr" >/dev
/null
2>&1; then :
3958 ac_cv_header_stdc
=no
3964 if test $ac_cv_header_stdc = yes; then
3965 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3972 $EGREP "free" >/dev
/null
2>&1; then :
3975 ac_cv_header_stdc
=no
3981 if test $ac_cv_header_stdc = yes; then
3982 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3983 if test "$cross_compiling" = yes; then :
3986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
3990 #if ((' ' & 0x0FF) == 0x020)
3991 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3992 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3994 # define ISLOWER(c) \
3995 (('a' <= (c) && (c) <= 'i') \
3996 || ('j' <= (c) && (c) <= 'r') \
3997 || ('s' <= (c) && (c) <= 'z'))
3998 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4001 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4006 for (i = 0; i < 256; i++)
4007 if (XOR (islower (i), ISLOWER (i))
4008 || toupper (i) != TOUPPER (i))
4013 if ac_fn_c_try_run
"$LINENO"; then :
4016 ac_cv_header_stdc
=no
4018 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4019 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4025 $as_echo "$ac_cv_header_stdc" >&6; }
4026 if test $ac_cv_header_stdc = yes; then
4028 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4033 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4034 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
4035 $as_echo_n "(cached) " >&6
4037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4039 #include <sys/types.h>
4040 #include <sys/wait.h>
4042 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4045 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4053 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4058 if ac_fn_c_try_compile
"$LINENO"; then :
4059 ac_cv_header_sys_wait_h
=yes
4061 ac_cv_header_sys_wait_h
=no
4063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4066 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4067 if test $ac_cv_header_sys_wait_h = yes; then
4069 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4073 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4074 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4075 inttypes.h stdint.h unistd.h
4077 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4078 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4080 eval as_val
=\$
$as_ac_Header
4081 if test "x$as_val" = x
""yes; then :
4082 cat >>confdefs.h
<<_ACEOF
4083 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4091 for ac_header
in arpa
/inet.h errno.h fcntl.h getopt.h grp.h netdb.h \
4092 netinet
/in.h netinet
/tcp.h
pwd.h stdio.h stdlib.h \
4093 string.h sys
/ioctl.h sys
/socket.h sys
/stat.h sys
/time.h \
4094 sys
/types.h sys
/un.h sys
/wait.h unistd.h
4096 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4097 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4098 eval as_val
=\$
$as_ac_Header
4099 if test "x$as_val" = x
""yes; then :
4100 cat >>confdefs.h
<<_ACEOF
4101 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4110 # Checks for typedefs, structures, and compiler characteristics.
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4112 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4113 if test "${ac_cv_c_const+set}" = set; then :
4114 $as_echo_n "(cached) " >&6
4116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4117 /* end confdefs.h. */
4122 /* FIXME: Include the comments suggested by Paul. */
4124 /* Ultrix mips cc rejects this. */
4125 typedef int charset[2];
4127 /* SunOS 4.1.1 cc rejects this. */
4128 char const *const *pcpcc;
4130 /* NEC SVR4.0.2 mips cc rejects this. */
4131 struct point {int x, y;};
4132 static struct point const zero = {0,0};
4133 /* AIX XL C 1.02.0.0 rejects this.
4134 It does not let you subtract one const X* pointer from another in
4135 an arm of an if-expression whose if-part is not a constant
4137 const char *g = "string";
4138 pcpcc = &g + (g ? g-g : 0);
4139 /* HPUX 7.0 cc rejects these. */
4141 ppc = (char**) pcpcc;
4142 pcpcc = (char const *const *) ppc;
4143 { /* SCO 3.2v4 cc rejects this. */
4145 char const *s = 0 ? (char *) 0 : (char const *) 0;
4150 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4152 const int *foo = &x[0];
4155 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4156 typedef const int *iptr;
4160 { /* AIX XL C 1.02.0.0 rejects this saying
4161 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4162 struct s { int j; const int *ap[3]; };
4163 struct s *b; b->j = 5;
4165 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4169 return !cs[0] && !zero.x;
4176 if ac_fn_c_try_compile
"$LINENO"; then :
4181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4184 $as_echo "$ac_cv_c_const" >&6; }
4185 if test $ac_cv_c_const = no
; then
4187 $as_echo "#define const /**/" >>confdefs.h
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
4192 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
4193 if test "${ac_cv_type_uid_t+set}" = set; then :
4194 $as_echo_n "(cached) " >&6
4196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4198 #include <sys/types.h>
4201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4202 $EGREP "uid_t" >/dev
/null
2>&1; then :
4203 ac_cv_type_uid_t
=yes
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
4211 $as_echo "$ac_cv_type_uid_t" >&6; }
4212 if test $ac_cv_type_uid_t = no
; then
4214 $as_echo "#define uid_t int" >>confdefs.h
4217 $as_echo "#define gid_t int" >>confdefs.h
4221 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4222 if test "x$ac_cv_type_pid_t" = x
""yes; then :
4226 cat >>confdefs.h
<<_ACEOF
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4233 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4234 if test "${ac_cv_header_time+set}" = set; then :
4235 $as_echo_n "(cached) " >&6
4237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4239 #include <sys/types.h>
4240 #include <sys/time.h>
4246 if ((struct tm *) 0)
4252 if ac_fn_c_try_compile
"$LINENO"; then :
4253 ac_cv_header_time
=yes
4255 ac_cv_header_time
=no
4257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
4260 $as_echo "$ac_cv_header_time" >&6; }
4261 if test $ac_cv_header_time = yes; then
4263 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4267 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
4268 #include <sys/socket.h>
4270 if test "x$ac_cv_type_socklen_t" = x
""yes; then :
4272 cat >>confdefs.h
<<_ACEOF
4273 #define HAVE_SOCKLEN_T 1
4280 ## solaris needs -lsocket -lnsl
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
4282 $as_echo_n "checking for library containing socket... " >&6; }
4283 if test "${ac_cv_search_socket+set}" = set; then :
4284 $as_echo_n "(cached) " >&6
4286 ac_func_search_save_LIBS
=$LIBS
4287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4290 /* Override any GCC internal prototype to avoid an error.
4291 Use char because int might match the return type of a GCC
4292 builtin and then its argument prototype would still apply. */
4305 for ac_lib
in '' socket
; do
4306 if test -z "$ac_lib"; then
4307 ac_res
="none required"
4310 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4312 if ac_fn_c_try_link
"$LINENO"; then :
4313 ac_cv_search_socket
=$ac_res
4315 rm -f core conftest.err conftest.
$ac_objext \
4317 if test "${ac_cv_search_socket+set}" = set; then :
4321 if test "${ac_cv_search_socket+set}" = set; then :
4324 ac_cv_search_socket
=no
4327 LIBS
=$ac_func_search_save_LIBS
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
4330 $as_echo "$ac_cv_search_socket" >&6; }
4331 ac_res
=$ac_cv_search_socket
4332 if test "$ac_res" != no
; then :
4333 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_addr" >&5
4338 $as_echo_n "checking for library containing inet_addr... " >&6; }
4339 if test "${ac_cv_search_inet_addr+set}" = set; then :
4340 $as_echo_n "(cached) " >&6
4342 ac_func_search_save_LIBS
=$LIBS
4343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4346 /* Override any GCC internal prototype to avoid an error.
4347 Use char because int might match the return type of a GCC
4348 builtin and then its argument prototype would still apply. */
4356 return inet_addr ();
4361 for ac_lib
in '' nsl socket
; do
4362 if test -z "$ac_lib"; then
4363 ac_res
="none required"
4366 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4368 if ac_fn_c_try_link
"$LINENO"; then :
4369 ac_cv_search_inet_addr
=$ac_res
4371 rm -f core conftest.err conftest.
$ac_objext \
4373 if test "${ac_cv_search_inet_addr+set}" = set; then :
4377 if test "${ac_cv_search_inet_addr+set}" = set; then :
4380 ac_cv_search_inet_addr
=no
4383 LIBS
=$ac_func_search_save_LIBS
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_addr" >&5
4386 $as_echo "$ac_cv_search_inet_addr" >&6; }
4387 ac_res
=$ac_cv_search_inet_addr
4388 if test "$ac_res" != no
; then :
4389 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4394 # Checks for library functions.
4395 for ac_header
in unistd.h
4397 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
4398 if test "x$ac_cv_header_unistd_h" = x
""yes; then :
4399 cat >>confdefs.h
<<_ACEOF
4400 #define HAVE_UNISTD_H 1
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
4408 $as_echo_n "checking for working chown... " >&6; }
4409 if test "${ac_cv_func_chown_works+set}" = set; then :
4410 $as_echo_n "(cached) " >&6
4412 if test "$cross_compiling" = yes; then :
4413 ac_cv_func_chown_works
=no
4415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4417 $ac_includes_default
4423 char *f = "conftest.chown";
4424 struct stat before, after;
4426 if (creat (f, 0600) < 0)
4428 if (stat (f, &before) < 0)
4430 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
4432 if (stat (f, &after) < 0)
4434 return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
4440 if ac_fn_c_try_run
"$LINENO"; then :
4441 ac_cv_func_chown_works
=yes
4443 ac_cv_func_chown_works
=no
4445 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4446 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4449 rm -f conftest.chown
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
4453 $as_echo "$ac_cv_func_chown_works" >&6; }
4454 if test $ac_cv_func_chown_works = yes; then
4456 $as_echo "#define HAVE_CHOWN 1" >>confdefs.h
4460 for ac_header
in vfork.h
4462 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
4463 if test "x$ac_cv_header_vfork_h" = x
""yes; then :
4464 cat >>confdefs.h
<<_ACEOF
4465 #define HAVE_VFORK_H 1
4472 for ac_func
in fork vfork
4474 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4475 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4476 eval as_val
=\$
$as_ac_var
4477 if test "x$as_val" = x
""yes; then :
4478 cat >>confdefs.h
<<_ACEOF
4479 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4485 if test "x$ac_cv_func_fork" = xyes
; then
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
4487 $as_echo_n "checking for working fork... " >&6; }
4488 if test "${ac_cv_func_fork_works+set}" = set; then :
4489 $as_echo_n "(cached) " >&6
4491 if test "$cross_compiling" = yes; then :
4492 ac_cv_func_fork_works
=cross
4494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4496 $ac_includes_default
4501 /* By Ruediger Kuhlmann. */
4508 if ac_fn_c_try_run
"$LINENO"; then :
4509 ac_cv_func_fork_works
=yes
4511 ac_cv_func_fork_works
=no
4513 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4514 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
4519 $as_echo "$ac_cv_func_fork_works" >&6; }
4522 ac_cv_func_fork_works
=$ac_cv_func_fork
4524 if test "x$ac_cv_func_fork_works" = xcross
; then
4526 *-*-amigaos* |
*-*-msdosdjgpp*)
4527 # Override, as these systems have only a dummy fork() stub
4528 ac_cv_func_fork_works
=no
4531 ac_cv_func_fork_works
=yes
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
4535 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
4537 ac_cv_func_vfork_works
=$ac_cv_func_vfork
4538 if test "x$ac_cv_func_vfork" = xyes
; then
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
4540 $as_echo_n "checking for working vfork... " >&6; }
4541 if test "${ac_cv_func_vfork_works+set}" = set; then :
4542 $as_echo_n "(cached) " >&6
4544 if test "$cross_compiling" = yes; then :
4545 ac_cv_func_vfork_works
=cross
4547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4549 /* Thanks to Paul Eggert for this test. */
4550 $ac_includes_default
4551 #include <sys/wait.h>
4555 /* On some sparc systems, changes by the child to local and incoming
4556 argument registers are propagated back to the parent. The compiler
4557 is told about this with #include <vfork.h>, but some compilers
4558 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
4559 static variable whose address is put into a register that is
4560 clobbered by the vfork. */
4563 sparc_address_test (int arg)
4565 sparc_address_test (arg) int arg;
4586 pid_t parent = getpid ();
4589 sparc_address_test (0);
4594 /* Here is another test for sparc vfork register problems. This
4595 test uses lots of local variables, at least as many local
4596 variables as main has allocated so far including compiler
4597 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
4598 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
4599 reuse the register of parent for one of the local variables,
4600 since it will think that parent can't possibly be used any more
4601 in this routine. Assigning to the local variable will thus
4602 munge parent in the parent process. */
4604 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
4605 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
4606 /* Convince the compiler that p..p7 are live; otherwise, it might
4607 use the same hardware register for all 8 local variables. */
4608 if (p != p1 || p != p2 || p != p3 || p != p4
4609 || p != p5 || p != p6 || p != p7)
4612 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
4613 from child file descriptors. If the child closes a descriptor
4614 before it execs or exits, this munges the parent's descriptor
4615 as well. Test for this by closing stdout in the child. */
4616 _exit(close(fileno(stdout)) != 0);
4621 while (wait(&status) != child)
4624 /* Was there some problem with vforking? */
4627 /* Did the child fail? (This shouldn't happen.) */
4630 /* Did the vfork/compiler bug occur? */
4631 || parent != getpid()
4633 /* Did the file descriptor bug occur? */
4634 || fstat(fileno(stdout), &st) != 0
4639 if ac_fn_c_try_run
"$LINENO"; then :
4640 ac_cv_func_vfork_works
=yes
4642 ac_cv_func_vfork_works
=no
4644 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4645 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
4650 $as_echo "$ac_cv_func_vfork_works" >&6; }
4653 if test "x$ac_cv_func_fork_works" = xcross
; then
4654 ac_cv_func_vfork_works
=$ac_cv_func_vfork
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
4656 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
4659 if test "x$ac_cv_func_vfork_works" = xyes
; then
4661 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
4665 $as_echo "#define vfork fork" >>confdefs.h
4668 if test "x$ac_cv_func_fork_works" = xyes
; then
4670 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
4674 for ac_header
in stdlib.h
4676 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4677 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
4678 cat >>confdefs.h
<<_ACEOF
4679 #define HAVE_STDLIB_H 1
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4687 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4688 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
4689 $as_echo_n "(cached) " >&6
4691 if test "$cross_compiling" = yes; then :
4692 ac_cv_func_malloc_0_nonnull
=no
4694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4695 /* end confdefs.h. */
4696 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4697 # include <stdlib.h>
4705 return ! malloc (0);
4710 if ac_fn_c_try_run
"$LINENO"; then :
4711 ac_cv_func_malloc_0_nonnull
=yes
4713 ac_cv_func_malloc_0_nonnull
=no
4715 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4716 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4721 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4722 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4724 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4727 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4729 case " $LIBOBJS " in
4730 *" malloc.$ac_objext "* ) ;;
4731 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
4736 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4741 for ac_header
in sys
/select.h sys
/socket.h
4743 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4744 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4745 eval as_val
=\$
$as_ac_Header
4746 if test "x$as_val" = x
""yes; then :
4747 cat >>confdefs.h
<<_ACEOF
4748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
4756 $as_echo_n "checking types of arguments for select... " >&6; }
4757 if test "${ac_cv_func_select_args+set}" = set; then :
4758 $as_echo_n "(cached) " >&6
4760 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
4761 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
4762 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
4763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4765 $ac_includes_default
4766 #ifdef HAVE_SYS_SELECT_H
4767 # include <sys/select.h>
4769 #ifdef HAVE_SYS_SOCKET_H
4770 # include <sys/socket.h>
4776 extern int select ($ac_arg1,
4777 $ac_arg234, $ac_arg234, $ac_arg234,
4783 if ac_fn_c_try_compile
"$LINENO"; then :
4784 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
4786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4790 # Provide a safe default value.
4791 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
4795 $as_echo "$ac_cv_func_select_args" >&6; }
4796 ac_save_IFS
=$IFS; IFS
=','
4797 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
4801 cat >>confdefs.h
<<_ACEOF
4802 #define SELECT_TYPE_ARG1 $1
4806 cat >>confdefs.h
<<_ACEOF
4807 #define SELECT_TYPE_ARG234 ($2)
4811 cat >>confdefs.h
<<_ACEOF
4812 #define SELECT_TYPE_ARG5 ($3)
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
4818 $as_echo_n "checking whether lstat dereferences a symlink specified with a trailing slash... " >&6; }
4819 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
4820 $as_echo_n "(cached) " >&6
4822 rm -f conftest.sym conftest.
file
4824 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
4825 if test "$cross_compiling" = yes; then :
4826 ac_cv_func_lstat_dereferences_slashed_symlink
=no
4828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4829 /* end confdefs.h. */
4830 $ac_includes_default
4835 /* Linux will dereference the symlink and fail.
4836 That is better in the sense that it means we will not
4837 have to compile and use the lstat wrapper. */
4838 return lstat ("conftest.sym/", &sbuf) == 0;
4843 if ac_fn_c_try_run
"$LINENO"; then :
4844 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
4846 ac_cv_func_lstat_dereferences_slashed_symlink
=no
4848 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4849 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4853 # If the `ln -s' command failed, then we probably don't even
4854 # have an lstat function.
4855 ac_cv_func_lstat_dereferences_slashed_symlink
=no
4857 rm -f conftest.sym conftest.
file
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
4861 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
4863 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
4865 cat >>confdefs.h
<<_ACEOF
4866 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
4870 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
4871 case " $LIBOBJS " in
4872 *" lstat.$ac_objext "* ) ;;
4873 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
4880 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
4881 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
4882 $as_echo_n "(cached) " >&6
4884 if test "$cross_compiling" = yes; then :
4885 ac_cv_func_stat_empty_string_bug
=yes
4887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4889 $ac_includes_default
4894 return stat ("", &sbuf) == 0;
4899 if ac_fn_c_try_run
"$LINENO"; then :
4900 ac_cv_func_stat_empty_string_bug
=no
4902 ac_cv_func_stat_empty_string_bug
=yes
4904 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4905 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
4910 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
4911 if test $ac_cv_func_stat_empty_string_bug = yes; then
4912 case " $LIBOBJS " in
4913 *" stat.$ac_objext "* ) ;;
4914 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
4919 cat >>confdefs.h
<<_ACEOF
4920 #define HAVE_STAT_EMPTY_STRING_BUG 1
4925 for ac_func
in dup2 memset putenv
select socket strerror strtol issetugid inet_pton
4927 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4928 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4929 eval as_val
=\$
$as_ac_var
4930 if test "x$as_val" = x
""yes; then :
4931 cat >>confdefs.h
<<_ACEOF
4932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4940 # Check for IPv6 support
4942 # Check whether --enable-ipv6 was given.
4943 if test "${enable_ipv6+set}" = set; then :
4944 enableval
=$enable_ipv6; case "${enableval}" in
4947 *) as_fn_error
"bad value ${enableval} for --enable-ipv6" "$LINENO" 5 ;;
4954 if test x
$ipv6 = xtrue
; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 support" >&5
4956 $as_echo_n "checking for IPv6 support... " >&6; }
4957 if test "${ac_cv_ipv6_support+set}" = set; then :
4958 $as_echo_n "(cached) " >&6
4960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4961 /* end confdefs.h. */
4962 #include <sys/types.h>
4963 #include <sys/socket.h>
4964 #include <netinet/in.h>
4968 struct sockaddr_in6 s; struct in6_addr t=in6addr_any; int i=AF_INET6; s; t.s6_addr[0] = 0;
4973 if ac_fn_c_try_link
"$LINENO"; then :
4974 ac_cv_ipv6_support
=yes
4976 ac_cv_ipv6_support
=no
4978 rm -f core conftest.err conftest.
$ac_objext \
4979 conftest
$ac_exeext conftest.
$ac_ext
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ipv6_support" >&5
4982 $as_echo "$ac_cv_ipv6_support" >&6; }
4984 if test "$ac_cv_ipv6_support" = yes; then
4986 $as_echo "#define HAVE_IPV6 1" >>confdefs.h
4992 # check for extra compiler options (warning options)
4993 if test "${GCC}" = "yes"; then
4994 CFLAGS
="${CFLAGS} -Wall -W -Wshadow -pedantic -std=gnu99"
4997 # Check whether --enable-extra-warnings was given.
4998 if test "${enable_extra_warnings+set}" = set; then :
4999 enableval
=$enable_extra_warnings; case "${enableval}" in
5000 yes) extrawarnings
=true
;;
5001 no
) extrawarnings
=false
;;
5002 *) as_fn_error
"bad value ${enableval} for --enable-extra-warnings" "$LINENO" 5 ;;
5009 if test x
$extrawarnings = xtrue
; then
5010 CFLAGS
="${CFLAGS} -g -O2 -g2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Winline -Wsign-compare -Wnested-externs -Wpointer-arith -Wl,--as-needed -Wformat-security"
5013 ac_config_files
="$ac_config_files Makefile src/Makefile doc/Makefile"
5015 cat >confcache
<<\_ACEOF
5016 # This file is a shell script that caches the results of configure
5017 # tests run on this system so they can be shared between configure
5018 # scripts and configure runs, see configure's option --config-cache.
5019 # It is not useful on other systems. If it contains results you don't
5020 # want to keep, you may remove or edit it.
5022 # config.status only pays attention to the cache file if you give it
5023 # the --recheck option to rerun configure.
5025 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5026 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5031 # The following way of writing the cache mishandles newlines in values,
5032 # but we know of no workaround that is simple, portable, and efficient.
5033 # So, we kill variables containing newlines.
5034 # Ultrix sh set writes to stderr and can't be redirected directly,
5035 # and sets the high bit in the cache file unless we assign to the vars.
5037 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5038 eval ac_val
=\$
$ac_var
5042 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5043 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5046 _ | IFS | as_nl
) ;; #(
5047 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5048 *) { eval $ac_var=; unset $ac_var;} ;;
5054 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5055 *${as_nl}ac_space
=\
*)
5056 # `set' does not quote correctly, so add quotes: double-quote
5057 # substitution turns \\\\ into \\, and sed turns \\ into \.
5060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5063 # `set' quotes correctly as required by POSIX, so do not add quotes.
5064 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5073 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5075 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5077 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5078 if test -w "$cache_file"; then
5079 test "x$cache_file" != "x/dev/null" &&
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5081 $as_echo "$as_me: updating cache $cache_file" >&6;}
5082 cat confcache
>$cache_file
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5085 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5090 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5091 # Let make expand exec_prefix.
5092 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5094 DEFS
=-DHAVE_CONFIG_H
5098 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5099 # 1. Remove the extension, and $U if already installed.
5100 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5101 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5102 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5103 # will be set to the directory where LIBOBJS objects are built.
5104 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5105 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5109 LTLIBOBJS
=$ac_ltlibobjs
5112 if test -n "$EXEEXT"; then
5114 am__EXEEXT_FALSE
='#'
5120 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5121 as_fn_error
"conditional \"AMDEP\" was never defined.
5122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5124 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5125 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
5126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5129 : ${CONFIG_STATUS=./config.status}
5131 ac_clean_files_save
=$ac_clean_files
5132 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5134 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5136 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5138 # Generated by $as_me.
5139 # Run this file to recreate the current configuration.
5140 # Compiler output produced by configure, useful for debugging
5141 # configure, is in config.log if it exists.
5147 SHELL=\${CONFIG_SHELL-$SHELL}
5150 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5151 ## -------------------- ##
5152 ## M4sh Initialization. ##
5153 ## -------------------- ##
5155 # Be more Bourne compatible
5156 DUALCASE
=1; export DUALCASE
# for MKS sh
5157 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5160 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5161 # is contrary to our usage. Disable this feature.
5162 alias -g '${1+"$@"}'='"$@"'
5163 setopt NO_GLOB_SUBST
5165 case `(set -o) 2>/dev/null` in #(
5177 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5178 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5179 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5180 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5181 # Prefer a ksh shell builtin over an external printf program on Solaris,
5182 # but without wasting forks for bash or zsh.
5183 if test -z "$BASH_VERSION$ZSH_VERSION" \
5184 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5185 as_echo='print
-r --'
5186 as_echo_n='print
-rn --'
5187 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5188 as_echo='printf %s
\n'
5189 as_echo_n='printf %s
'
5191 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5192 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5193 as_echo_n='/usr
/ucb
/echo -n'
5195 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5196 as_echo_n_body='eval
5200 expr "X$arg" : "X\\(.*\\)$as_nl";
5201 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5203 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5205 export as_echo_n_body
5206 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5209 as_echo='sh
-c $as_echo_body as_echo
'
5212 # The user is always right.
5213 if test "${PATH_SEPARATOR+set}" != set; then
5215 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5216 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5223 # We need space, tab and new line, in precisely that order. Quoting is
5224 # there to prevent editors from complaining about space-tab.
5225 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5226 # splitting by setting IFS to empty value.)
5229 # Find who we are. Look in the path if we contain no directory separator.
5231 *[\\/]* ) as_myself=$0 ;;
5232 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 test -z "$as_dir" && as_dir=.
5237 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5243 # We did not find ourselves, most probably we were run as `sh COMMAND'
5244 # in which case we are not to be found in the path.
5245 if test "x$as_myself" = x
; then
5248 if test ! -f "$as_myself"; then
5249 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5253 # Unset variables that we do not need and which cause bugs (e.g. in
5254 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5255 # suppresses any "Segmentation fault" message there. '((' could
5256 # trigger a bug in pdksh 5.2.14.
5257 for as_var
in BASH_ENV ENV MAIL MAILPATH
5258 do eval test x\
${$as_var+set} = xset \
5259 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5272 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5275 # as_fn_error ERROR [LINENO LOG_FD]
5276 # ---------------------------------
5277 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5278 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5279 # script with status $?, using 1 if that was 0.
5282 as_status
=$?
; test $as_status -eq 0 && as_status
=1
5284 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5285 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5287 $as_echo "$as_me: error: $1" >&2
5288 as_fn_exit
$as_status
5292 # as_fn_set_status STATUS
5293 # -----------------------
5294 # Set $? to STATUS, without forking.
5298 } # as_fn_set_status
5302 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5312 # Portably unset VAR.
5315 { eval $1=; unset $1;}
5317 as_unset
=as_fn_unset
5318 # as_fn_append VAR VALUE
5319 # ----------------------
5320 # Append the text in VALUE to the end of the definition contained in VAR. Take
5321 # advantage of any shell optimizations that allow amortized linear growth over
5322 # repeated appends, instead of the typical quadratic growth present in naive
5324 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5325 eval 'as_fn_append ()
5336 # as_fn_arith ARG...
5337 # ------------------
5338 # Perform arithmetic evaluation on the ARGs, and store the result in the
5339 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5340 # must be portable across $(()) and expr.
5341 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5342 eval 'as_fn_arith ()
5349 as_val
=`expr "$@" || test $? -eq 1`
5354 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5355 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5361 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5362 as_basename
=basename
5367 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5373 as_me
=`$as_basename -- "$0" ||
5374 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5375 X"$0" : 'X\(//\)$' \| \
5376 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5378 sed '/^.*\/\([^/][^/]*\)\/*$/{
5392 # Avoid depending upon Character Ranges.
5393 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5394 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5395 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5396 as_cr_digits
='0123456789'
5397 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5399 ECHO_C
= ECHO_N
= ECHO_T
=
5400 case `echo -n x` in #(((((
5402 case `echo 'xy\c'` in
5403 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5405 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5412 rm -f conf$$ conf$$.exe conf$$.
file
5413 if test -d conf$$.dir
; then
5414 rm -f conf$$.dir
/conf$$.
file
5417 mkdir conf$$.dir
2>/dev
/null
5419 if (echo >conf$$.
file) 2>/dev
/null
; then
5420 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5422 # ... but there are two gotchas:
5423 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5424 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5425 # In both cases, we have to default to `cp -p'.
5426 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5428 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5436 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5437 rmdir conf$$.dir
2>/dev
/null
5442 # Create "$as_dir" as a directory, including parents if necessary.
5447 -*) as_dir
=.
/$as_dir;;
5449 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5453 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5454 *) as_qdir
=$as_dir;;
5456 as_dirs
="'$as_qdir' $as_dirs"
5457 as_dir
=`$as_dirname -- "$as_dir" ||
5458 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5459 X"$as_dir" : 'X\(//\)[^/]' \| \
5460 X"$as_dir" : 'X\(//\)$' \| \
5461 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5462 $as_echo X"$as_dir" |
5463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5480 test -d "$as_dir" && break
5482 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5483 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
5487 if mkdir
-p .
2>/dev
/null
; then
5488 as_mkdir_p
='mkdir -p "$as_dir"'
5490 test -d .
/-p && rmdir .
/-p
5494 if test -x / >/dev
/null
2>&1; then
5497 if ls -dL / >/dev
/null
2>&1; then
5504 if test -d "$1"; then
5510 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5511 ???[sx]*):;;*)false;;esac;fi
5515 as_executable_p
=$as_test_x
5517 # Sed expression to map a string onto a valid CPP name.
5518 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5520 # Sed expression to map a string onto a valid variable name.
5521 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5525 ## ----------------------------------- ##
5526 ## Main body of $CONFIG_STATUS script. ##
5527 ## ----------------------------------- ##
5529 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5532 # Save the log message, to keep $0 and so on meaningful, and to
5533 # report actual input values of CONFIG_FILES etc. instead of their
5534 # values after options handling.
5536 This file was extended by spawn-fcgi $as_me 1.6.3, which was
5537 generated by GNU Autoconf 2.64. Invocation command line was
5539 CONFIG_FILES = $CONFIG_FILES
5540 CONFIG_HEADERS = $CONFIG_HEADERS
5541 CONFIG_LINKS = $CONFIG_LINKS
5542 CONFIG_COMMANDS = $CONFIG_COMMANDS
5545 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5550 case $ac_config_files in *"
5551 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5554 case $ac_config_headers in *"
5555 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5560 # Files that config.status was made for.
5561 config_files="$ac_config_files"
5562 config_headers="$ac_config_headers"
5563 config_commands="$ac_config_commands"
5567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5569 \`$as_me' instantiates files and other configuration actions
5570 from templates according to the current configuration. Unless the files
5571 and actions are specified as TAGs, all are instantiated by default.
5573 Usage: $0 [OPTION]... [TAG]...
5575 -h, --help print this help, then exit
5576 -V, --version print version number and configuration settings, then exit
5577 -q, --quiet, --silent
5578 do not print progress messages
5579 -d, --debug don't remove temporary files
5580 --recheck update $as_me by reconfiguring in the same conditions
5581 --file=FILE[:TEMPLATE]
5582 instantiate the configuration file FILE
5583 --header=FILE[:TEMPLATE]
5584 instantiate the configuration header FILE
5586 Configuration files:
5589 Configuration headers:
5592 Configuration commands:
5595 Report bugs to the package provider."
5598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5600 spawn-fcgi config.status 1.6.3
5601 configured by $0, generated by GNU Autoconf 2.64,
5602 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5604 Copyright (C) 2009 Free Software Foundation, Inc.
5605 This config.status script is free software; the Free Software Foundation
5606 gives unlimited permission to copy, distribute and modify it."
5613 test -n "\$AWK" || AWK=awk
5616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5617 # The default lists apply if the user does not specify any file.
5623 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5624 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5635 # Handling of the options.
5636 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5638 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5639 $as_echo "$ac_cs_version"; exit ;;
5640 --debug |
--debu |
--deb |
--de |
--d |
-d )
5642 --file |
--fil |
--fi |
--f )
5645 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5647 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5648 ac_need_defaults
=false
;;
5649 --header |
--heade |
--head |
--hea )
5652 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5654 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5655 ac_need_defaults
=false
;;
5657 # Conflict between --help and --header
5658 as_fn_error
"ambiguous option: \`$1'
5659 Try \`$0 --help' for more information.";;
5660 --help |
--hel |
-h )
5661 $as_echo "$ac_cs_usage"; exit ;;
5662 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5663 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5667 -*) as_fn_error
"unrecognized option: \`$1'
5668 Try \`$0 --help' for more information." ;;
5670 *) as_fn_append ac_config_targets
" $1"
5671 ac_need_defaults
=false
;;
5677 ac_configure_extra_args
=
5679 if $ac_cs_silent; then
5681 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5686 if \$ac_cs_recheck; then
5687 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5689 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5690 CONFIG_SHELL='$SHELL'
5696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5700 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5701 ## Running $as_me. ##
5707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5711 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5717 # Handling of arguments.
5718 for ac_config_target
in $ac_config_targets
5720 case $ac_config_target in
5721 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5722 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5723 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5724 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
5725 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
5727 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5732 # If the user did not use the arguments to specify the items to instantiate,
5733 # then the envvar interface is used. Set only those that are not.
5734 # We use the long form for the default assignment because of an extremely
5735 # bizarre bug on SunOS 4.1.3.
5736 if $ac_need_defaults; then
5737 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5738 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5739 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5742 # Have a temporary directory for convenience. Make it in the build tree
5743 # simply because there is no reason against having it here, and in addition,
5744 # creating and moving files from /tmp can sometimes cause problems.
5745 # Hook for its removal unless debugging.
5746 # Note that there is a small window in which the directory will not be cleaned:
5747 # after its creation but before its name has been assigned to `$tmp'.
5751 trap 'exit_status=$?
5752 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5754 trap 'as_fn_exit 1' 1 2 13 15
5756 # Create a (secure) tmp directory for tmp files.
5759 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5760 test -n "$tmp" && test -d "$tmp"
5763 tmp
=.
/conf$$
-$RANDOM
5764 (umask 077 && mkdir
"$tmp")
5765 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
5767 # Set up the scripts for CONFIG_FILES section.
5768 # No need to generate them if there are no CONFIG_FILES.
5769 # This happens for instance with `./config.status config.h'.
5770 if test -n "$CONFIG_FILES"; then
5773 ac_cr
=`echo X | tr X '\015'`
5774 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5775 # But we know of no other shell where ac_cr would be empty at this
5776 # point, so we can use a bashism as a fallback.
5777 if test "x$ac_cr" = x
; then
5778 eval ac_cr
=\$
\'\\r
\'
5780 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5781 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5787 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5792 echo "cat >conf$$subs.awk <<_ACEOF" &&
5793 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5796 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5797 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5799 for ac_last_try in false false false false false :; do
5800 . ./conf$$subs.sh ||
5801 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5803 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5804 if test $ac_delim_n = $ac_delim_num; then
5806 elif $ac_last_try; then
5807 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5809 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5815 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
5819 s/^/S["/; s
/!.
*/"]=/
5829 s/\(.\{148\}\).*/\1/
5831 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5836 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5843 s/\(.\{148\}\).*/\1/
5845 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5849 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5854 ' <conf$$subs.awk | sed '
5859 ' >>$CONFIG_STATUS || ac_write_fail=1
5860 rm -f conf$$subs.awk
5861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5863 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
5864 for (key in S) S_is_set[key] = 1
5870 nfields = split(line, field, "@
")
5872 len = length(field[1])
5873 for (i = 2; i < nfields; i++) {
5875 keylen = length(key)
5876 if (S_is_set[key]) {
5878 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5879 len += length(value) + length(field[++i])
5890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5891 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5892 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5895 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
5896 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
5899 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5900 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
5901 # trailing colons and then remove the whole line if VPATH becomes empty
5902 # (actually we leave an empty line to preserve line numbers).
5903 if test "x
$srcdir" = x.; then
5904 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5908 s/^\([^=]*=[ ]*\):*/\1/
5914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5915 fi # test -n "$CONFIG_FILES"
5917 # Set up the scripts for CONFIG_HEADERS section.
5918 # No need to generate them if there are no CONFIG_HEADERS.
5919 # This happens for instance with `./config.status Makefile'.
5920 if test -n "$CONFIG_HEADERS"; then
5921 cat >"$tmp/defines.
awk" <<\_ACAWK ||
5925 # Transform confdefs.h into an awk script `defines.awk', embedded as
5926 # here-document in config.status, that substitutes the proper values into
5927 # config.h.in to produce config.h.
5929 # Create a delimiter string that does not exist in confdefs.h, to ease
5930 # handling of long lines.
5932 for ac_last_try in false false :; do
5933 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
5934 if test -z "$ac_t"; then
5936 elif $ac_last_try; then
5937 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
5939 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5943 # For the awk script, D is an array of macro values keyed by name,
5944 # likewise P contains macro parameters if any. Preserve backslash
5945 # newline sequences.
5947 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5949 s/.\{148\}/&'"$ac_delim"'/g
5952 s/^[ ]*#[ ]*define[ ][ ]*/ /
5959 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5961 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5965 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5966 D["\
1"]=" \
3\\\\\\n
"\\/p
5968 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5973 s/.\{148\}/&'"$ac_delim"'/g
5978 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5981 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5983 ' <confdefs.h | sed '
5984 s/'"$ac_delim"'/"\\\
5985 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5988 for (key in D) D_is_set[key] = 1
5991 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5993 split(line, arg, " ")
5994 if (arg[1] == "#") {
5998 defundef
= substr
(arg
[1], 2)
6001 split(mac1
, mac2
, "(") #)
6003 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6004 if (D_is_set
[macro
]) {
6005 # Preserve the white space surrounding the "#".
6006 print prefix
"define", macro P
[macro
] D
[macro
]
6009 # Replace #undef with comments. This is necessary, for example,
6010 # in the case of _POSIX_SOURCE, which is predefined and required
6011 # on some systems where configure will not decide to define it.
6012 if (defundef
== "undef") {
6013 print
"/*", prefix defundef
, macro
, "*/"
6021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6022 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
6023 fi # test -n "$CONFIG_HEADERS"
6026 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6031 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6033 case $ac_mode$ac_tag in
6035 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6036 :[FH
]-) ac_tag
=-:-;;
6037 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6054 -) ac_f
="$tmp/stdin";;
6055 *) # Look for the file first in the build tree, then in the source tree
6056 # (if the path is not absolute). The absolute path cannot be DOS-style,
6057 # because $ac_f cannot contain `:'.
6061 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6063 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
6065 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6066 as_fn_append ac_file_inputs
" '$ac_f'"
6069 # Let's still pretend it is `configure' which instantiates (i.e., don't
6070 # use $as_me), people would be surprised to read:
6071 # /* config.h. Generated by config.status. */
6072 configure_input
='Generated from '`
6073 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6075 if test x
"$ac_file" != x-
; then
6076 configure_input
="$ac_file. $configure_input"
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6078 $as_echo "$as_me: creating $ac_file" >&6;}
6080 # Neutralize special characters interpreted by sed in replacement strings.
6081 case $configure_input in #(
6082 *\
&* |
*\|
* |
*\\* )
6083 ac_sed_conf_input
=`$as_echo "$configure_input" |
6084 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6085 *) ac_sed_conf_input
=$configure_input;;
6089 *:-:* |
*:-) cat >"$tmp/stdin" \
6090 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
6095 ac_dir
=`$as_dirname -- "$ac_file" ||
6096 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6097 X"$ac_file" : 'X\(//\)[^/]' \| \
6098 X"$ac_file" : 'X\(//\)$' \| \
6099 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6100 $as_echo X"$ac_file" |
6101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6118 as_dir
="$ac_dir"; as_fn_mkdir_p
6122 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6124 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6125 # A ".." for each directory in $ac_dir_suffix.
6126 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6127 case $ac_top_builddir_sub in
6128 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6129 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6132 ac_abs_top_builddir
=$ac_pwd
6133 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6134 # for backward compatibility:
6135 ac_top_builddir
=$ac_top_build_prefix
6138 .
) # We are building in place.
6140 ac_top_srcdir
=$ac_top_builddir_sub
6141 ac_abs_top_srcdir
=$ac_pwd ;;
6142 [\\/]* | ?
:[\\/]* ) # Absolute name.
6143 ac_srcdir
=$srcdir$ac_dir_suffix;
6144 ac_top_srcdir
=$srcdir
6145 ac_abs_top_srcdir
=$srcdir ;;
6147 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6148 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6149 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6151 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6161 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6162 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6166 [\\/$
]* | ?
:[\\/]* ) ;;
6167 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
6171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6172 # If the template does not know about datarootdir, expand it.
6173 # FIXME: This hack should be removed a few years after 2.60.
6174 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6185 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6186 *datarootdir
*) ac_datarootdir_seen
=yes;;
6187 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6189 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6192 ac_datarootdir_hack='
6193 s&@datadir@&$datadir&g
6194 s&@docdir@&$docdir&g
6195 s&@infodir@&$infodir&g
6196 s&@localedir@&$localedir&g
6197 s&@mandir@&$mandir&g
6198 s&\\\${datarootdir}&$datarootdir&g' ;;
6202 # Neutralize VPATH when `$srcdir' = `.'.
6203 # Shell code in configure.ac might set extrasub.
6204 # FIXME: do we really want to maintain this feature?
6205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6206 ac_sed_extra="$ac_vpsub
6209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6211 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6212 s|@configure_input@|
$ac_sed_conf_input|
;t t
6213 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6214 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6215 s
&@srcdir@
&$ac_srcdir&;t t
6216 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6217 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6218 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6219 s
&@builddir@
&$ac_builddir&;t t
6220 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6221 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6222 s
&@INSTALL@
&$ac_INSTALL&;t t
6223 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
6224 $ac_datarootdir_hack
6226 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
6227 || as_fn_error "could not create
$ac_file" "$LINENO" 5
6229 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6230 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6231 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6233 which seems to be undefined. Please make sure it is defined." >&5
6234 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6235 which seems to be undefined. Please make sure it is defined." >&2;}
6239 -) cat "$tmp/out" && rm -f "$tmp/out";;
6240 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6242 || as_fn_error "could not create $ac_file" "$LINENO" 5
6248 if test x"$ac_file" != x-; then
6250 $as_echo "/* $configure_input */" \
6251 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6252 } >"$tmp/config.h" \
6253 || as_fn_error "could not create $ac_file" "$LINENO" 5
6254 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6256 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6259 mv "$tmp/config.h" "$ac_file" \
6260 || as_fn_error "could not create $ac_file" "$LINENO" 5
6263 $as_echo "/* $configure_input */" \
6264 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6265 || as_fn_error "could not create -" "$LINENO" 5
6267 # Compute "$ac_file"'s index
in $config_headers.
6270 for _am_header
in $config_headers :; do
6272 $_am_arg |
$_am_arg:* )
6275 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
6278 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6279 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6280 X"$_am_arg" : 'X\(//\)[^/]' \| \
6281 X"$_am_arg" : 'X\(//\)$' \| \
6282 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6283 $as_echo X"$_am_arg" |
6284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6300 s/.*/./; q'`/stamp-h
$_am_stamp_count
6303 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6304 $as_echo "$as_me: executing $ac_file commands" >&6;}
6309 case $ac_file$ac_mode in
6310 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
6311 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6312 # are listed without --file. Let's play safe and only enable the eval
6313 # if we detect the quoting.
6314 case $CONFIG_FILES in
6315 *\'*) eval set x
"$CONFIG_FILES" ;;
6316 *) set x
$CONFIG_FILES ;;
6321 # Strip MF so we end up with the name of the file.
6322 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6323 # Check whether this is an Automake generated Makefile or not.
6324 # We used to match only the files named `Makefile.in', but
6325 # some people rename them; so instead we look at the file content.
6326 # Grep'ing the first line is not enough: some people post-process
6327 # each Makefile.in and add a new line on top of each file to say so.
6328 # Grep'ing the whole file is not good either: AIX grep has a line
6329 # limit of 2048, but all sed's we know have understand at least 4000.
6330 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
6331 dirpart
=`$as_dirname -- "$mf" ||
6332 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6333 X"$mf" : 'X\(//\)[^/]' \| \
6334 X"$mf" : 'X\(//\)$' \| \
6335 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6357 # Extract the definition of DEPDIR, am__include, and am__quote
6358 # from the Makefile without running `make'.
6359 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6360 test -z "$DEPDIR" && continue
6361 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6362 test -z "am__include" && continue
6363 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6364 # When using ansi2knr, U may be empty or an underscore; expand it
6365 U
=`sed -n 's/^U = //p' < "$mf"`
6366 # Find all dependency output files, they are included files with
6367 # $(DEPDIR) in their names. We invoke sed twice because it is the
6368 # simplest approach to changing $(DEPDIR) to its actual value in the
6370 for file in `sed -n "
6371 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6372 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6373 # Make sure the directory exists.
6374 test -f "$dirpart/$file" && continue
6375 fdir
=`$as_dirname -- "$file" ||
6376 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6377 X"$file" : 'X\(//\)[^/]' \| \
6378 X"$file" : 'X\(//\)$' \| \
6379 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6398 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
6399 # echo "creating $dirpart/$file"
6400 echo '# dummy' > "$dirpart/$file"
6412 ac_clean_files
=$ac_clean_files_save
6414 test $ac_write_fail = 0 ||
6415 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6418 # configure is writing to config.log, and then calls config.status.
6419 # config.status does its own redirection, appending to config.log.
6420 # Unfortunately, on DOS this fails, as config.log is still kept open
6421 # by configure, so config.status won't be able to write to it; its
6422 # output is simply discarded. So we exec the FD to /dev/null,
6423 # effectively closing config.log, so it can be properly (re)opened and
6424 # appended to by config.status. When coming back to configure, we
6425 # need to make the FD available again.
6426 if test "$no_create" != yes; then
6428 ac_config_status_args
=
6429 test "$silent" = yes &&
6430 ac_config_status_args
="$ac_config_status_args --quiet"
6432 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6434 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6435 # would make configure fail if this is the last instruction.
6436 $ac_cs_success || as_fn_exit $?
6438 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6440 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}