2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.66.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174 if (eval "$as_required") 2>/dev/null; then :
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 test -z "$as_dir" && as_dir=.
191 for as_base in sh bash ksh sh5; do
192 # Try only shells that exist, to save several forks.
193 as_shell=$as_dir/$as_base
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 CONFIG_SHELL=$as_shell as_have_required=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207 CONFIG_SHELL=$SHELL as_have_required=yes
212 if test "x$CONFIG_SHELL" != x; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 if test x$as_have_required = xno; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x${ZSH_VERSION+set} = xset ; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231 $0: including any error possibly output before this
232 $0: message. Then install a modern shell, or manually run
233 $0: the script under such a shell if you do have one."
239 SHELL=${CONFIG_SHELL-/bin/sh}
241 # Unset more variables known to interfere with behavior of common tools.
242 CLICOLOR_FORCE= GREP_OPTIONS=
243 unset CLICOLOR_FORCE GREP_OPTIONS
245 ## --------------------- ##
246 ## M4sh Shell Functions. ##
247 ## --------------------- ##
250 # Portably unset VAR.
253 { eval $1=; unset $1;}
257 # as_fn_set_status STATUS
258 # -----------------------
259 # Set $? to STATUS, without forking.
267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277 # Create "$as_dir" as a directory, including parents if necessary.
282 -*) as_dir=./$as_dir;;
284 test -d "$as_dir" || eval $as_mkdir_p || {
288 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
291 as_dirs="'$as_qdir' $as_dirs"
292 as_dir=`$as_dirname -- "$as_dir" ||
293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294 X"$as_dir" : 'X\(//\)[^/]' \| \
295 X"$as_dir" : 'X\(//\)$' \| \
296 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297 $as_echo X"$as_dir" |
298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
315 test -d "$as_dir" && break
317 test -z "$as_dirs" || eval "mkdir $as_dirs"
318 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
322 # as_fn_append VAR VALUE
323 # ----------------------
324 # Append the text in VALUE to the end of the definition contained in VAR. Take
325 # advantage of any shell optimizations that allow amortized linear growth over
326 # repeated appends, instead of the typical quadratic growth present in naive
328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329 eval 'as_fn_append ()
342 # Perform arithmetic evaluation on the ARGs, and store the result in the
343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
344 # must be portable across $(()) and expr.
345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 as_val=`expr "$@" || test $? -eq 1`
358 # as_fn_error STATUS ERROR [LINENO LOG_FD]
359 # ----------------------------------------
360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362 # script with STATUS, using 1 if that was 0.
365 as_status=$1; test $as_status -eq 0 && as_status=1
367 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370 $as_echo "$as_me: error: $2" >&2
371 as_fn_exit $as_status
374 if expr a : '\(a\)' >/dev/null 2>&1 &&
375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
381 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393 as_me=`$as_basename -- "$0" ||
394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395 X"$0" : 'X\(//\)$' \| \
396 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 sed '/^.*\/\([^/][^/]*\)\/*$/{
412 # Avoid depending upon Character Ranges.
413 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416 as_cr_digits='0123456789'
417 as_cr_alnum=$as_cr_Letters$as_cr_digits
420 as_lineno_1=$LINENO as_lineno_1a=$LINENO
421 as_lineno_2=$LINENO as_lineno_2a=$LINENO
422 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
436 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
440 chmod +x "$as_me.lineno" ||
441 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443 # Don't try to exec as it changes $[0], causing all sort of problems
444 # (the dirname of $[0] is not the place where we might find the
445 # original and so on. Autoconf is especially sensitive to this).
447 # Exit status is that of the last command.
451 ECHO_C= ECHO_N= ECHO_T=
452 case `echo -n x` in #(((((
454 case `echo 'xy\c'` in
455 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
464 rm -f conf$$ conf$$.exe conf$$.file
465 if test -d conf$$.dir; then
466 rm -f conf$$.dir/conf$$.file
469 mkdir conf$$.dir 2>/dev/null
471 if (echo >conf$$.file) 2>/dev/null; then
472 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 # ... but there are two gotchas:
475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
477 # In both cases, we have to default to `cp -p'.
478 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 elif ln conf$$.file conf$$ 2>/dev/null; then
488 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
489 rmdir conf$$.dir 2>/dev/null
491 if mkdir -p . 2>/dev/null; then
492 as_mkdir_p='mkdir -p "$as_dir"'
494 test -d ./-p && rmdir ./-p
498 if test -x / >/dev/null 2>&1; then
501 if ls -dL / >/dev/null 2>&1; then
508 if test -d "$1"; then
514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 ???[sx]*):;;*)false;;esac;fi
519 as_executable_p=$as_test_x
521 # Sed expression to map a string onto a valid CPP name.
522 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 # Sed expression to map a string onto a valid variable name.
525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 test -n "$DJDIR" || exec 7<&0 </dev/null
532 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539 ac_default_prefix=/usr/local
541 ac_config_libobj_dir=.
548 # Identity of this package.
556 ac_unique_file="init.cc"
557 ac_subst_vars='LTLIBOBJS
630 program_transform_name
643 enable_option_checking
646 ac_precious_vars='build_alias
659 # Initialize some variables set by options.
661 ac_init_version=false
662 ac_unrecognized_opts=
664 # The variables have the same names as the options, with
665 # dashes changed to underlines.
673 program_transform_name=s,x,x,
681 # Installation directory options.
682 # These are left unexpanded so users can "make install exec_prefix=/foo"
683 # and all the variables that are supposed to be based on exec_prefix
684 # by default will actually change.
685 # Use braces instead of parens because sh, perl, etc. also accept them.
686 # (The list follows the same order as the GNU Coding Standards.)
687 bindir='${exec_prefix}/bin'
688 sbindir='${exec_prefix}/sbin'
689 libexecdir='${exec_prefix}/libexec'
690 datarootdir='${prefix}/share'
691 datadir='${datarootdir}'
692 sysconfdir='${prefix}/etc'
693 sharedstatedir='${prefix}/com'
694 localstatedir='${prefix}/var'
695 includedir='${prefix}/include'
696 oldincludedir='/usr/include'
697 docdir='${datarootdir}/doc/${PACKAGE}'
698 infodir='${datarootdir}/info'
703 libdir='${exec_prefix}/lib'
704 localedir='${datarootdir}/locale'
705 mandir='${datarootdir}/man'
711 # If the previous option needs an argument, assign it.
712 if test -n "$ac_prev"; then
713 eval $ac_prev=\$ac_option
719 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
723 # Accept the important Cygnus configure options, so we can diagnose typos.
725 case $ac_dashdash$ac_option in
729 -bindir | --bindir | --bindi | --bind | --bin | --bi)
731 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
734 -build | --build | --buil | --bui | --bu)
735 ac_prev=build_alias ;;
736 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
737 build_alias=$ac_optarg ;;
739 -cache-file | --cache-file | --cache-fil | --cache-fi \
740 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
741 ac_prev=cache_file ;;
742 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
743 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
744 cache_file=$ac_optarg ;;
747 cache_file=config.cache ;;
749 -datadir | --datadir | --datadi | --datad)
751 -datadir=* | --datadir=* | --datadi=* | --datad=*)
752 datadir=$ac_optarg ;;
754 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
755 | --dataroo | --dataro | --datar)
756 ac_prev=datarootdir ;;
757 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
758 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
759 datarootdir=$ac_optarg ;;
761 -disable-* | --disable-*)
762 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
763 # Reject names that are not valid shell variable names.
764 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
765 as_fn_error $? "invalid feature name: $ac_useropt"
766 ac_useropt_orig=$ac_useropt
767 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
768 case $ac_user_opts in
772 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
773 ac_unrecognized_sep=', ';;
775 eval enable_$ac_useropt=no ;;
777 -docdir | --docdir | --docdi | --doc | --do)
779 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
782 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
784 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
787 -enable-* | --enable-*)
788 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
791 as_fn_error $? "invalid feature name: $ac_useropt"
792 ac_useropt_orig=$ac_useropt
793 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
794 case $ac_user_opts in
798 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
799 ac_unrecognized_sep=', ';;
801 eval enable_$ac_useropt=\$ac_optarg ;;
803 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
804 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
805 | --exec | --exe | --ex)
806 ac_prev=exec_prefix ;;
807 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
808 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
809 | --exec=* | --exe=* | --ex=*)
810 exec_prefix=$ac_optarg ;;
812 -gas | --gas | --ga | --g)
813 # Obsolete; use --with-gas.
816 -help | --help | --hel | --he | -h)
818 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
819 ac_init_help=recursive ;;
820 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
821 ac_init_help=short ;;
823 -host | --host | --hos | --ho)
824 ac_prev=host_alias ;;
825 -host=* | --host=* | --hos=* | --ho=*)
826 host_alias=$ac_optarg ;;
828 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
830 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
832 htmldir=$ac_optarg ;;
834 -includedir | --includedir | --includedi | --included | --include \
835 | --includ | --inclu | --incl | --inc)
836 ac_prev=includedir ;;
837 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
838 | --includ=* | --inclu=* | --incl=* | --inc=*)
839 includedir=$ac_optarg ;;
841 -infodir | --infodir | --infodi | --infod | --info | --inf)
843 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
844 infodir=$ac_optarg ;;
846 -libdir | --libdir | --libdi | --libd)
848 -libdir=* | --libdir=* | --libdi=* | --libd=*)
851 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
852 | --libexe | --libex | --libe)
853 ac_prev=libexecdir ;;
854 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
855 | --libexe=* | --libex=* | --libe=*)
856 libexecdir=$ac_optarg ;;
858 -localedir | --localedir | --localedi | --localed | --locale)
860 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
861 localedir=$ac_optarg ;;
863 -localstatedir | --localstatedir | --localstatedi | --localstated \
864 | --localstate | --localstat | --localsta | --localst | --locals)
865 ac_prev=localstatedir ;;
866 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
867 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
868 localstatedir=$ac_optarg ;;
870 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
872 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
876 # Obsolete; use --without-fp.
879 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
880 | --no-cr | --no-c | -n)
883 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
884 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
887 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
888 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
889 | --oldin | --oldi | --old | --ol | --o)
890 ac_prev=oldincludedir ;;
891 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
892 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
893 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
894 oldincludedir=$ac_optarg ;;
896 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
898 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
901 -program-prefix | --program-prefix | --program-prefi | --program-pref \
902 | --program-pre | --program-pr | --program-p)
903 ac_prev=program_prefix ;;
904 -program-prefix=* | --program-prefix=* | --program-prefi=* \
905 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
906 program_prefix=$ac_optarg ;;
908 -program-suffix | --program-suffix | --program-suffi | --program-suff \
909 | --program-suf | --program-su | --program-s)
910 ac_prev=program_suffix ;;
911 -program-suffix=* | --program-suffix=* | --program-suffi=* \
912 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
913 program_suffix=$ac_optarg ;;
915 -program-transform-name | --program-transform-name \
916 | --program-transform-nam | --program-transform-na \
917 | --program-transform-n | --program-transform- \
918 | --program-transform | --program-transfor \
919 | --program-transfo | --program-transf \
920 | --program-trans | --program-tran \
921 | --progr-tra | --program-tr | --program-t)
922 ac_prev=program_transform_name ;;
923 -program-transform-name=* | --program-transform-name=* \
924 | --program-transform-nam=* | --program-transform-na=* \
925 | --program-transform-n=* | --program-transform-=* \
926 | --program-transform=* | --program-transfor=* \
927 | --program-transfo=* | --program-transf=* \
928 | --program-trans=* | --program-tran=* \
929 | --progr-tra=* | --program-tr=* | --program-t=*)
930 program_transform_name=$ac_optarg ;;
932 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
934 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
937 -psdir | --psdir | --psdi | --psd | --ps)
939 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
942 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
943 | -silent | --silent | --silen | --sile | --sil)
946 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
948 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
950 sbindir=$ac_optarg ;;
952 -sharedstatedir | --sharedstatedir | --sharedstatedi \
953 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
954 | --sharedst | --shareds | --shared | --share | --shar \
956 ac_prev=sharedstatedir ;;
957 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
958 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
959 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
961 sharedstatedir=$ac_optarg ;;
963 -site | --site | --sit)
965 -site=* | --site=* | --sit=*)
968 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
970 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
973 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
974 | --syscon | --sysco | --sysc | --sys | --sy)
975 ac_prev=sysconfdir ;;
976 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
977 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
978 sysconfdir=$ac_optarg ;;
980 -target | --target | --targe | --targ | --tar | --ta | --t)
981 ac_prev=target_alias ;;
982 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
983 target_alias=$ac_optarg ;;
985 -v | -verbose | --verbose | --verbos | --verbo | --verb)
988 -version | --version | --versio | --versi | --vers | -V)
992 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
993 # Reject names that are not valid shell variable names.
994 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
995 as_fn_error $? "invalid package name: $ac_useropt"
996 ac_useropt_orig=$ac_useropt
997 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
998 case $ac_user_opts in
1002 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1003 ac_unrecognized_sep=', ';;
1005 eval with_$ac_useropt=\$ac_optarg ;;
1007 -without-* | --without-*)
1008 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1009 # Reject names that are not valid shell variable names.
1010 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1011 as_fn_error $? "invalid package name: $ac_useropt"
1012 ac_useropt_orig=$ac_useropt
1013 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014 case $ac_user_opts in
1018 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1019 ac_unrecognized_sep=', ';;
1021 eval with_$ac_useropt=no ;;
1024 # Obsolete; use --with-x.
1027 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1028 | --x-incl | --x-inc | --x-in | --x-i)
1029 ac_prev=x_includes ;;
1030 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1031 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1032 x_includes=$ac_optarg ;;
1034 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1035 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1036 ac_prev=x_libraries ;;
1037 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1038 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1039 x_libraries=$ac_optarg ;;
1041 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1042 Try \`$0 --help' for more information"
1046 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1047 # Reject names that are not valid shell variable names.
1048 case $ac_envvar in #(
1049 '' | [0-9]* | *[!_$as_cr_alnum]* )
1050 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1052 eval $ac_envvar=\$ac_optarg
1053 export $ac_envvar ;;
1056 # FIXME: should be removed in autoconf 3.0.
1057 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1058 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1059 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1060 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1066 if test -n "$ac_prev"; then
1067 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1068 as_fn_error $? "missing argument to $ac_option"
1071 if test -n "$ac_unrecognized_opts"; then
1072 case $enable_option_checking in
1074 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1075 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1079 # Check all directory arguments for consistency.
1080 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1081 datadir sysconfdir sharedstatedir localstatedir includedir \
1082 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1083 libdir localedir mandir
1085 eval ac_val=\$$ac_var
1086 # Remove trailing slashes.
1089 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1090 eval $ac_var=\$ac_val;;
1092 # Be sure to have absolute directory names.
1094 [\\/$]* | ?:[\\/]* ) continue;;
1095 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1097 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1100 # There might be people who depend on the old broken behavior: `$host'
1101 # used to hold the argument of --host etc.
1102 # FIXME: To remove some day.
1105 target=$target_alias
1107 # FIXME: To remove some day.
1108 if test "x$host_alias" != x; then
1109 if test "x$build_alias" = x; then
1110 cross_compiling=maybe
1111 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1112 If a cross compiler is detected then cross compile mode will be used" >&2
1113 elif test "x$build_alias" != "x$host_alias"; then
1119 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1121 test "$silent" = yes && exec 6>/dev/null
1124 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1125 ac_ls_di=`ls -di .` &&
1126 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1127 as_fn_error $? "working directory cannot be determined"
1128 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1129 as_fn_error $? "pwd does not report name of working directory"
1132 # Find the source files, if location was not specified.
1133 if test -z "$srcdir"; then
1134 ac_srcdir_defaulted=yes
1135 # Try the directory containing this script, then the parent directory.
1136 ac_confdir=`$as_dirname -- "$as_myself" ||
1137 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1138 X"$as_myself" : 'X\(//\)[^/]' \| \
1139 X"$as_myself" : 'X\(//\)$' \| \
1140 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1141 $as_echo X"$as_myself" |
1142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1160 if test ! -r "$srcdir/$ac_unique_file"; then
1164 ac_srcdir_defaulted=no
1166 if test ! -r "$srcdir/$ac_unique_file"; then
1167 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1168 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1170 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1172 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1174 # When building in place, set srcdir=.
1175 if test "$ac_abs_confdir" = "$ac_pwd"; then
1178 # Remove unnecessary trailing slashes from srcdir.
1179 # Double slashes in file names in object file debugging info
1180 # mess up M-x gdb in Emacs.
1182 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1184 for ac_var in $ac_precious_vars; do
1185 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1186 eval ac_env_${ac_var}_value=\$${ac_var}
1187 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1188 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1192 # Report the --help message.
1194 if test "$ac_init_help" = "long"; then
1195 # Omit some internal or obsolete options to make the list less imposing.
1196 # This message is too long to be a string in the A/UX 3.1 sh.
1198 \`configure' configures this package to adapt to many kinds of systems.
1200 Usage: $0 [OPTION]... [VAR=VALUE]...
1202 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1203 VAR=VALUE. See below for descriptions of some of the useful variables.
1205 Defaults for the options are specified in brackets.
1208 -h, --help display this help and exit
1209 --help=short display options specific to this package
1210 --help=recursive display the short help of all the included packages
1211 -V, --version display version information and exit
1212 -q, --quiet, --silent do not print \`checking ...' messages
1213 --cache-file=FILE cache test results in FILE [disabled]
1214 -C, --config-cache alias for \`--cache-file=config.cache'
1215 -n, --no-create do not create output files
1216 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1218 Installation directories:
1219 --prefix=PREFIX install architecture-independent files in PREFIX
1220 [$ac_default_prefix]
1221 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1224 By default, \`make install' will install all the files in
1225 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1226 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1227 for instance \`--prefix=\$HOME'.
1229 For better control, use the options below.
1231 Fine tuning of the installation directories:
1232 --bindir=DIR user executables [EPREFIX/bin]
1233 --sbindir=DIR system admin executables [EPREFIX/sbin]
1234 --libexecdir=DIR program executables [EPREFIX/libexec]
1235 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1236 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1237 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1238 --libdir=DIR object code libraries [EPREFIX/lib]
1239 --includedir=DIR C header files [PREFIX/include]
1240 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1241 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1242 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1243 --infodir=DIR info documentation [DATAROOTDIR/info]
1244 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1245 --mandir=DIR man documentation [DATAROOTDIR/man]
1246 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1247 --htmldir=DIR html documentation [DOCDIR]
1248 --dvidir=DIR dvi documentation [DOCDIR]
1249 --pdfdir=DIR pdf documentation [DOCDIR]
1250 --psdir=DIR ps documentation [DOCDIR]
1256 --build=BUILD configure for building on BUILD [guessed]
1257 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1258 --target=TARGET configure for building compilers for TARGET [HOST]
1262 if test -n "$ac_init_help"; then
1267 --disable-option-checking ignore unrecognized --enable/--with options
1268 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1269 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1270 --enable-debugging Build a cygwin DLL which has more consistency checking for debugging
1272 Some influential environment variables:
1273 CC C compiler command
1274 CFLAGS C compiler flags
1275 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1276 nonstandard directory <lib dir>
1277 LIBS libraries to pass to the linker, e.g. -l<library>
1278 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1279 you have headers in a nonstandard directory <include dir>
1280 CXX C++ compiler command
1281 CXXFLAGS C++ compiler flags
1283 Use these variables to override the choices made by `configure' or to help
1284 it to find libraries and programs with nonstandard names/locations.
1286 Report bugs to the package provider.
1291 if test "$ac_init_help" = "recursive"; then
1292 # If there are subdirs, report their specific --help.
1293 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1294 test -d "$ac_dir" ||
1295 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1300 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1302 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1303 # A ".." for each directory in $ac_dir_suffix.
1304 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1305 case $ac_top_builddir_sub in
1306 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1307 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1310 ac_abs_top_builddir=$ac_pwd
1311 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1312 # for backward compatibility:
1313 ac_top_builddir=$ac_top_build_prefix
1316 .) # We are building in place.
1318 ac_top_srcdir=$ac_top_builddir_sub
1319 ac_abs_top_srcdir=$ac_pwd ;;
1320 [\\/]* | ?:[\\/]* ) # Absolute name.
1321 ac_srcdir=$srcdir$ac_dir_suffix;
1322 ac_top_srcdir=$srcdir
1323 ac_abs_top_srcdir=$srcdir ;;
1325 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1326 ac_top_srcdir=$ac_top_build_prefix$srcdir
1327 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1329 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1331 cd "$ac_dir" || { ac_status=$?; continue; }
1332 # Check for guested configure.
1333 if test -f "$ac_srcdir/configure.gnu"; then
1335 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1336 elif test -f "$ac_srcdir/configure"; then
1338 $SHELL "$ac_srcdir/configure" --help=recursive
1340 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1342 cd "$ac_pwd" || { ac_status=$?; break; }
1346 test -n "$ac_init_help" && exit $ac_status
1347 if $ac_init_version; then
1350 generated by GNU Autoconf 2.66
1352 Copyright (C) 2010 Free Software Foundation, Inc.
1353 This configure script is free software; the Free Software Foundation
1354 gives unlimited permission to copy, distribute and modify it.
1359 ## ------------------------ ##
1360 ## Autoconf initialization. ##
1361 ## ------------------------ ##
1363 # ac_fn_c_try_compile LINENO
1364 # --------------------------
1365 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1366 ac_fn_c_try_compile ()
1368 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1369 rm -f conftest.$ac_objext
1370 if { { ac_try="$ac_compile"
1372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1373 *) ac_try_echo=$ac_try;;
1375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1376 $as_echo "$ac_try_echo"; } >&5
1377 (eval "$ac_compile") 2>conftest.err
1379 if test -s conftest.err; then
1380 grep -v '^ *+' conftest.err >conftest.er1
1381 cat conftest.er1 >&5
1382 mv -f conftest.er1 conftest.err
1384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1385 test $ac_status = 0; } && {
1386 test -z "$ac_c_werror_flag" ||
1387 test ! -s conftest.err
1388 } && test -s conftest.$ac_objext; then :
1391 $as_echo "$as_me: failed program was:" >&5
1392 sed 's/^/| /' conftest.$ac_ext >&5
1396 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1397 as_fn_set_status $ac_retval
1399 } # ac_fn_c_try_compile
1401 # ac_fn_cxx_try_compile LINENO
1402 # ----------------------------
1403 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1404 ac_fn_cxx_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_cxx_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;}
1435 as_fn_set_status $ac_retval
1437 } # ac_fn_cxx_try_compile
1438 cat >config.log <<_ACEOF
1439 This file contains any messages produced by compilers while
1440 running configure, to aid debugging if configure makes a mistake.
1442 It was created by $as_me, which was
1443 generated by GNU Autoconf 2.66. Invocation command line was
1455 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1456 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1457 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1458 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1459 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1461 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1462 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1464 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1465 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1466 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1467 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1468 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1469 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1470 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1478 test -z "$as_dir" && as_dir=.
1479 $as_echo "PATH: $as_dir"
1495 # Keep a trace of the command line.
1496 # Strip out --no-create and --no-recursion so they do not pile up.
1497 # Strip out --silent because we don't want to record it for future runs.
1498 # Also quote any args containing shell meta-characters.
1499 # Make two passes to allow for proper duplicate-argument suppression.
1503 ac_must_keep_next=false
1509 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1510 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1511 | -silent | --silent | --silen | --sile | --sil)
1514 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1517 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1519 as_fn_append ac_configure_args1 " '$ac_arg'"
1520 if test $ac_must_keep_next = true; then
1521 ac_must_keep_next=false # Got value, back to normal.
1524 *=* | --config-cache | -C | -disable-* | --disable-* \
1525 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1526 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1527 | -with-* | --with-* | -without-* | --without-* | --x)
1528 case "$ac_configure_args0 " in
1529 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1532 -* ) ac_must_keep_next=true ;;
1535 as_fn_append ac_configure_args " '$ac_arg'"
1540 { ac_configure_args0=; unset ac_configure_args0;}
1541 { ac_configure_args1=; unset ac_configure_args1;}
1543 # When interrupted or exit'd, cleanup temporary files, and complete
1544 # config.log. We remove comments because anyway the quotes in there
1545 # would cause problems or look ugly.
1546 # WARNING: Use '\'' to represent an apostrophe within the trap.
1547 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1548 trap 'exit_status=$?
1549 # Save into config.log some information that might help in debugging.
1553 $as_echo "## ---------------- ##
1554 ## Cache variables. ##
1555 ## ---------------- ##"
1557 # The following way of writing the cache mishandles newlines in values,
1559 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1560 eval ac_val=\$$ac_var
1564 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1565 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1568 _ | IFS | as_nl) ;; #(
1569 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1570 *) { eval $ac_var=; unset $ac_var;} ;;
1575 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1576 *${as_nl}ac_space=\ *)
1578 "s/'\''/'\''\\\\'\'''\''/g;
1579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1582 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1589 $as_echo "## ----------------- ##
1590 ## Output variables. ##
1591 ## ----------------- ##"
1593 for ac_var in $ac_subst_vars
1595 eval ac_val=\$$ac_var
1597 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1599 $as_echo "$ac_var='\''$ac_val'\''"
1603 if test -n "$ac_subst_files"; then
1604 $as_echo "## ------------------- ##
1605 ## File substitutions. ##
1606 ## ------------------- ##"
1608 for ac_var in $ac_subst_files
1610 eval ac_val=\$$ac_var
1612 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1614 $as_echo "$ac_var='\''$ac_val'\''"
1619 if test -s confdefs.h; then
1620 $as_echo "## ----------- ##
1627 test "$ac_signal" != 0 &&
1628 $as_echo "$as_me: caught signal $ac_signal"
1629 $as_echo "$as_me: exit $exit_status"
1631 rm -f core *.core core.conftest.* &&
1632 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1635 for ac_signal in 1 2 13 15; do
1636 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1640 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1641 rm -f -r conftest* confdefs.h
1643 $as_echo "/* confdefs.h */" > confdefs.h
1645 # Predefined preprocessor variables.
1647 cat >>confdefs.h <<_ACEOF
1648 #define PACKAGE_NAME "$PACKAGE_NAME"
1651 cat >>confdefs.h <<_ACEOF
1652 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1655 cat >>confdefs.h <<_ACEOF
1656 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1659 cat >>confdefs.h <<_ACEOF
1660 #define PACKAGE_STRING "$PACKAGE_STRING"
1663 cat >>confdefs.h <<_ACEOF
1664 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1667 cat >>confdefs.h <<_ACEOF
1668 #define PACKAGE_URL "$PACKAGE_URL"
1672 # Let the site file select an alternate cache file if it wants to.
1673 # Prefer an explicitly selected file to automatically selected ones.
1676 if test -n "$CONFIG_SITE"; then
1677 # We do not want a PATH search for config.site.
1678 case $CONFIG_SITE in #((
1679 -*) ac_site_file1=./$CONFIG_SITE;;
1680 */*) ac_site_file1=$CONFIG_SITE;;
1681 *) ac_site_file1=./$CONFIG_SITE;;
1683 elif test "x$prefix" != xNONE; then
1684 ac_site_file1=$prefix/share/config.site
1685 ac_site_file2=$prefix/etc/config.site
1687 ac_site_file1=$ac_default_prefix/share/config.site
1688 ac_site_file2=$ac_default_prefix/etc/config.site
1690 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1692 test "x$ac_site_file" = xNONE && continue
1693 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1695 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1696 sed 's/^/| /' "$ac_site_file" >&5
1698 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1700 as_fn_error $? "failed to load site script $ac_site_file
1701 See \`config.log' for more details" "$LINENO" 5; }
1705 if test -r "$cache_file"; then
1706 # Some versions of bash will fail to source /dev/null (special files
1707 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1708 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1710 $as_echo "$as_me: loading cache $cache_file" >&6;}
1712 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1713 *) . "./$cache_file";;
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1718 $as_echo "$as_me: creating cache $cache_file" >&6;}
1722 # Check that the precious variables saved in the cache have kept the same
1724 ac_cache_corrupted=false
1725 for ac_var in $ac_precious_vars; do
1726 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1727 eval ac_new_set=\$ac_env_${ac_var}_set
1728 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1729 eval ac_new_val=\$ac_env_${ac_var}_value
1730 case $ac_old_set,$ac_new_set in
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1733 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1734 ac_cache_corrupted=: ;;
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1737 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1738 ac_cache_corrupted=: ;;
1741 if test "x$ac_old_val" != "x$ac_new_val"; then
1742 # differences in whitespace do not lead to failure.
1743 ac_old_val_w=`echo x $ac_old_val`
1744 ac_new_val_w=`echo x $ac_new_val`
1745 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1747 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1748 ac_cache_corrupted=:
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1751 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1752 eval $ac_var=\$ac_old_val
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1755 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1757 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1760 # Pass precious variables to config.status.
1761 if test "$ac_new_set" = set; then
1763 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1764 *) ac_arg=$ac_var=$ac_new_val ;;
1766 case " $ac_configure_args " in
1767 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1768 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1772 if $ac_cache_corrupted; then
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1776 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1777 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1779 ## -------------------- ##
1780 ## Main body of script. ##
1781 ## -------------------- ##
1784 ac_cpp='$CPP $CPPFLAGS'
1785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1790 ac_config_headers="$ac_config_headers config.h"
1793 for ac_dir in ../.. "$srcdir"/../..; do
1794 if test -f "$ac_dir/install-sh"; then
1796 ac_install_sh="$ac_aux_dir/install-sh -c"
1798 elif test -f "$ac_dir/install.sh"; then
1800 ac_install_sh="$ac_aux_dir/install.sh -c"
1802 elif test -f "$ac_dir/shtool"; then
1804 ac_install_sh="$ac_aux_dir/shtool install -c"
1808 if test -z "$ac_aux_dir"; then
1809 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
1812 # These three variables are undocumented and unsupported,
1813 # and are intended to be withdrawn in a future Autoconf release.
1814 # They can cause serious problems if a builder's source tree is in a directory
1815 # whose full name contains unusual characters.
1816 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1817 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1818 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1822 # Find a good install program. We prefer a C program (faster),
1823 # so one script is as good as another. But avoid the broken or
1824 # incompatible versions:
1825 # SysV /etc/install, /usr/sbin/install
1826 # SunOS /usr/etc/install
1827 # IRIX /sbin/install
1829 # AmigaOS /C/install, which installs bootblocks on floppy discs
1830 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1831 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1832 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1833 # OS/2's system install, which has a completely different semantic
1834 # ./install, which can be erroneously created by make from ./install.sh.
1835 # Reject install programs that cannot install multiple files.
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1837 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1838 if test -z "$INSTALL"; then
1839 if test "${ac_cv_path_install+set}" = set; then :
1840 $as_echo_n "(cached) " >&6
1842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846 test -z "$as_dir" && as_dir=.
1847 # Account for people who put trailing slashes in PATH elements.
1848 case $as_dir/ in #((
1849 ./ | .// | /[cC]/* | \
1850 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1851 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1854 # OSF1 and SCO ODT 3.0 have their own names for install.
1855 # Don't use installbsd from OSF since it installs stuff as root
1857 for ac_prog in ginstall scoinst install; do
1858 for ac_exec_ext in '' $ac_executable_extensions; do
1859 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1860 if test $ac_prog = install &&
1861 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1862 # AIX install. It has an incompatible calling convention.
1864 elif test $ac_prog = install &&
1865 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1866 # program-specific install script used by HP pwplus--don't use.
1869 rm -rf conftest.one conftest.two conftest.dir
1870 echo one > conftest.one
1871 echo two > conftest.two
1873 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1874 test -s conftest.one && test -s conftest.two &&
1875 test -s conftest.dir/conftest.one &&
1876 test -s conftest.dir/conftest.two
1878 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1891 rm -rf conftest.one conftest.two conftest.dir
1894 if test "${ac_cv_path_install+set}" = set; then
1895 INSTALL=$ac_cv_path_install
1897 # As a last resort, use the slow shell script. Don't cache a
1898 # value for INSTALL within a source directory, because that will
1899 # break other packages using the cache if that directory is
1900 # removed, or if the value is a relative name.
1901 INSTALL=$ac_install_sh
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1905 $as_echo "$INSTALL" >&6; }
1907 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1908 # It thinks the first close brace ends the variable substitution.
1909 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1911 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1913 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1915 # Make sure we can run config.sub.
1916 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1917 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1920 $as_echo_n "checking build system type... " >&6; }
1921 if test "${ac_cv_build+set}" = set; then :
1922 $as_echo_n "(cached) " >&6
1924 ac_build_alias=$build_alias
1925 test "x$ac_build_alias" = x &&
1926 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1927 test "x$ac_build_alias" = x &&
1928 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1929 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1930 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1934 $as_echo "$ac_cv_build" >&6; }
1935 case $ac_cv_build in
1937 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1940 ac_save_IFS=$IFS; IFS='-'
1946 # Remember, the first character of IFS is used to create $*,
1947 # except with old shells:
1950 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1954 $as_echo_n "checking host system type... " >&6; }
1955 if test "${ac_cv_host+set}" = set; then :
1956 $as_echo_n "(cached) " >&6
1958 if test "x$host_alias" = x; then
1959 ac_cv_host=$ac_cv_build
1961 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1962 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1967 $as_echo "$ac_cv_host" >&6; }
1970 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1973 ac_save_IFS=$IFS; IFS='-'
1979 # Remember, the first character of IFS is used to create $*,
1980 # except with old shells:
1983 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1987 $as_echo_n "checking target system type... " >&6; }
1988 if test "${ac_cv_target+set}" = set; then :
1989 $as_echo_n "(cached) " >&6
1991 if test "x$target_alias" = x; then
1992 ac_cv_target=$ac_cv_host
1994 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1995 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2000 $as_echo "$ac_cv_target" >&6; }
2001 case $ac_cv_target in
2003 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2005 target=$ac_cv_target
2006 ac_save_IFS=$IFS; IFS='-'
2012 # Remember, the first character of IFS is used to create $*,
2013 # except with old shells:
2016 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2019 # The aliases save the names the user supplied, while $host etc.
2020 # will get canonicalized.
2021 test -n "$target_alias" &&
2022 test "$program_prefix$program_suffix$program_transform_name" = \
2024 program_prefix=${target_alias}-
2027 if test -n "$ac_tool_prefix"; then
2028 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2029 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2031 $as_echo_n "checking for $ac_word... " >&6; }
2032 if test "${ac_cv_prog_CC+set}" = set; then :
2033 $as_echo_n "(cached) " >&6
2035 if test -n "$CC"; then
2036 ac_cv_prog_CC="$CC" # Let the user override the test.
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2042 test -z "$as_dir" && as_dir=.
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2045 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2056 if test -n "$CC"; then
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2058 $as_echo "$CC" >&6; }
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2061 $as_echo "no" >&6; }
2066 if test -z "$ac_cv_prog_CC"; then
2068 # Extract the first word of "gcc", so it can be a program name with args.
2069 set dummy gcc; ac_word=$2
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2071 $as_echo_n "checking for $ac_word... " >&6; }
2072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2073 $as_echo_n "(cached) " >&6
2075 if test -n "$ac_ct_CC"; then
2076 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2085 ac_cv_prog_ac_ct_CC="gcc"
2086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2096 if test -n "$ac_ct_CC"; then
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2098 $as_echo "$ac_ct_CC" >&6; }
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2101 $as_echo "no" >&6; }
2104 if test "x$ac_ct_CC" = x; then
2107 case $cross_compiling:$ac_tool_warned in
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2111 ac_tool_warned=yes ;;
2121 ac_cpp='$CPP $CPPFLAGS'
2122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2125 if test -n "$ac_tool_prefix"; then
2126 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2127 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2129 $as_echo_n "checking for $ac_word... " >&6; }
2130 if test "${ac_cv_prog_CC+set}" = set; then :
2131 $as_echo_n "(cached) " >&6
2133 if test -n "$CC"; then
2134 ac_cv_prog_CC="$CC" # Let the user override the test.
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 if test -n "$CC"; then
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2156 $as_echo "$CC" >&6; }
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2159 $as_echo "no" >&6; }
2164 if test -z "$ac_cv_prog_CC"; then
2166 # Extract the first word of "gcc", so it can be a program name with args.
2167 set dummy gcc; ac_word=$2
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2169 $as_echo_n "checking for $ac_word... " >&6; }
2170 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2171 $as_echo_n "(cached) " >&6
2173 if test -n "$ac_ct_CC"; then
2174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2183 ac_cv_prog_ac_ct_CC="gcc"
2184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2194 if test -n "$ac_ct_CC"; then
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2196 $as_echo "$ac_ct_CC" >&6; }
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2199 $as_echo "no" >&6; }
2202 if test "x$ac_ct_CC" = x; then
2205 case $cross_compiling:$ac_tool_warned in
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2209 ac_tool_warned=yes ;;
2217 if test -z "$CC"; then
2218 if test -n "$ac_tool_prefix"; then
2219 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2220 set dummy ${ac_tool_prefix}cc; ac_word=$2
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2222 $as_echo_n "checking for $ac_word... " >&6; }
2223 if test "${ac_cv_prog_CC+set}" = set; then :
2224 $as_echo_n "(cached) " >&6
2226 if test -n "$CC"; then
2227 ac_cv_prog_CC="$CC" # Let the user override the test.
2229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233 test -z "$as_dir" && as_dir=.
2234 for ac_exec_ext in '' $ac_executable_extensions; do
2235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2236 ac_cv_prog_CC="${ac_tool_prefix}cc"
2237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2247 if test -n "$CC"; then
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2249 $as_echo "$CC" >&6; }
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2252 $as_echo "no" >&6; }
2258 if test -z "$CC"; then
2259 # Extract the first word of "cc", so it can be a program name with args.
2260 set dummy cc; ac_word=$2
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2262 $as_echo_n "checking for $ac_word... " >&6; }
2263 if test "${ac_cv_prog_CC+set}" = set; then :
2264 $as_echo_n "(cached) " >&6
2266 if test -n "$CC"; then
2267 ac_cv_prog_CC="$CC" # Let the user override the test.
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir=.
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2277 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2278 ac_prog_rejected=yes
2282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 if test $ac_prog_rejected = yes; then
2290 # We found a bogon in the path, so make sure we never use it.
2291 set dummy $ac_cv_prog_CC
2293 if test $# != 0; then
2294 # We chose a different compiler from the bogus one.
2295 # However, it has the same basename, so the bogon will be chosen
2296 # first if we set CC to just the basename; use the full file name.
2298 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2304 if test -n "$CC"; then
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2306 $as_echo "$CC" >&6; }
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2309 $as_echo "no" >&6; }
2314 if test -z "$CC"; then
2315 if test -n "$ac_tool_prefix"; then
2316 for ac_prog in cl.exe
2318 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2319 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2321 $as_echo_n "checking for $ac_word... " >&6; }
2322 if test "${ac_cv_prog_CC+set}" = set; then :
2323 $as_echo_n "(cached) " >&6
2325 if test -n "$CC"; then
2326 ac_cv_prog_CC="$CC" # Let the user override the test.
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 if test -n "$CC"; then
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2348 $as_echo "$CC" >&6; }
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2351 $as_echo "no" >&6; }
2355 test -n "$CC" && break
2358 if test -z "$CC"; then
2360 for ac_prog in cl.exe
2362 # Extract the first word of "$ac_prog", so it can be a program name with args.
2363 set dummy $ac_prog; ac_word=$2
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2365 $as_echo_n "checking for $ac_word... " >&6; }
2366 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2367 $as_echo_n "(cached) " >&6
2369 if test -n "$ac_ct_CC"; then
2370 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2376 test -z "$as_dir" && as_dir=.
2377 for ac_exec_ext in '' $ac_executable_extensions; do
2378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2379 ac_cv_prog_ac_ct_CC="$ac_prog"
2380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2389 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2390 if test -n "$ac_ct_CC"; then
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2392 $as_echo "$ac_ct_CC" >&6; }
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2395 $as_echo "no" >&6; }
2399 test -n "$ac_ct_CC" && break
2402 if test "x$ac_ct_CC" = x; then
2405 case $cross_compiling:$ac_tool_warned in
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2409 ac_tool_warned=yes ;;
2418 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2420 as_fn_error $? "no acceptable C compiler found in \$PATH
2421 See \`config.log' for more details" "$LINENO" 5; }
2423 # Provide some information about the compiler.
2424 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2427 for ac_option in --version -v -V -qversion; do
2428 { { ac_try="$ac_compiler $ac_option >&5"
2430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2431 *) ac_try_echo=$ac_try;;
2433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2434 $as_echo "$ac_try_echo"; } >&5
2435 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2437 if test -s conftest.err; then
2439 ... rest of stderr output deleted ...
2440 10q' conftest.err >conftest.er1
2441 cat conftest.er1 >&5
2443 rm -f conftest.er1 conftest.err
2444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2445 test $ac_status = 0; }
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2459 ac_clean_files_save=$ac_clean_files
2460 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2461 # Try to create an executable without -o first, disregard a.out.
2462 # It will help us diagnose broken compilers, and finding out an intuition
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2465 $as_echo_n "checking whether the C compiler works... " >&6; }
2466 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2468 # The possible output files:
2469 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2472 for ac_file in $ac_files
2475 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2476 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2481 if { { ac_try="$ac_link_default"
2483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2484 *) ac_try_echo=$ac_try;;
2486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2487 $as_echo "$ac_try_echo"; } >&5
2488 (eval "$ac_link_default") 2>&5
2490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2491 test $ac_status = 0; }; then :
2492 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2493 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2494 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2495 # so that the user can short-circuit this test for compilers unknown to
2497 for ac_file in $ac_files ''
2499 test -f "$ac_file" || continue
2501 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2504 # We found the default executable, but exeext='' is most
2508 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2510 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2512 # We set ac_cv_exeext here because the later test for it is not
2513 # safe: cross compilers may not add the suffix if given an `-o'
2514 # argument, so we may need to know it at that point already.
2515 # Even if this section looks crufty: it has the advantage of
2522 test "$ac_cv_exeext" = no && ac_cv_exeext=
2527 if test -z "$ac_file"; then :
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2530 $as_echo "$as_me: failed program was:" >&5
2531 sed 's/^/| /' conftest.$ac_ext >&5
2533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2535 as_fn_error 77 "C compiler cannot create executables
2536 See \`config.log' for more details" "$LINENO" 5; }
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2539 $as_echo "yes" >&6; }
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2542 $as_echo_n "checking for C compiler default output file name... " >&6; }
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2544 $as_echo "$ac_file" >&6; }
2545 ac_exeext=$ac_cv_exeext
2547 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2548 ac_clean_files=$ac_clean_files_save
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2550 $as_echo_n "checking for suffix of executables... " >&6; }
2551 if { { ac_try="$ac_link"
2553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2554 *) ac_try_echo=$ac_try;;
2556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2557 $as_echo "$ac_try_echo"; } >&5
2558 (eval "$ac_link") 2>&5
2560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2561 test $ac_status = 0; }; then :
2562 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2563 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2564 # work properly (i.e., refer to `conftest.exe'), while it won't with
2566 for ac_file in conftest.exe conftest conftest.*; do
2567 test -f "$ac_file" || continue
2569 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2570 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2578 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2579 See \`config.log' for more details" "$LINENO" 5; }
2581 rm -f conftest conftest$ac_cv_exeext
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2583 $as_echo "$ac_cv_exeext" >&6; }
2585 rm -f conftest.$ac_ext
2586 EXEEXT=$ac_cv_exeext
2588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2589 /* end confdefs.h. */
2594 FILE *f = fopen ("conftest.out", "w");
2595 return ferror (f) || fclose (f) != 0;
2601 ac_clean_files="$ac_clean_files conftest.out"
2602 # Check that the compiler produces executables we can run. If not, either
2603 # the compiler is broken, or we cross compile.
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2605 $as_echo_n "checking whether we are cross compiling... " >&6; }
2606 if test "$cross_compiling" != yes; then
2607 { { ac_try="$ac_link"
2609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2610 *) ac_try_echo=$ac_try;;
2612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2613 $as_echo "$ac_try_echo"; } >&5
2614 (eval "$ac_link") 2>&5
2616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2617 test $ac_status = 0; }
2618 if { ac_try='./conftest$ac_cv_exeext'
2619 { { case "(($ac_try" in
2620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2624 $as_echo "$ac_try_echo"; } >&5
2625 (eval "$ac_try") 2>&5
2627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2628 test $ac_status = 0; }; }; then
2631 if test "$cross_compiling" = maybe; then
2634 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2636 as_fn_error $? "cannot run C compiled programs.
2637 If you meant to cross compile, use \`--host'.
2638 See \`config.log' for more details" "$LINENO" 5; }
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2643 $as_echo "$cross_compiling" >&6; }
2645 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2646 ac_clean_files=$ac_clean_files_save
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2648 $as_echo_n "checking for suffix of object files... " >&6; }
2649 if test "${ac_cv_objext+set}" = set; then :
2650 $as_echo_n "(cached) " >&6
2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2663 rm -f conftest.o conftest.obj
2664 if { { ac_try="$ac_compile"
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2670 $as_echo "$ac_try_echo"; } >&5
2671 (eval "$ac_compile") 2>&5
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; }; then :
2675 for ac_file in conftest.o conftest.obj conftest.*; do
2676 test -f "$ac_file" || continue;
2678 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2679 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2684 $as_echo "$as_me: failed program was:" >&5
2685 sed 's/^/| /' conftest.$ac_ext >&5
2687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2689 as_fn_error $? "cannot compute suffix of object files: cannot compile
2690 See \`config.log' for more details" "$LINENO" 5; }
2692 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2695 $as_echo "$ac_cv_objext" >&6; }
2696 OBJEXT=$ac_cv_objext
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2699 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2700 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2701 $as_echo_n "(cached) " >&6
2703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2704 /* end confdefs.h. */
2717 if ac_fn_c_try_compile "$LINENO"; then :
2722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2723 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2727 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2728 if test $ac_compiler_gnu = yes; then
2733 ac_test_CFLAGS=${CFLAGS+set}
2734 ac_save_CFLAGS=$CFLAGS
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2736 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2737 if test "${ac_cv_prog_cc_g+set}" = set; then :
2738 $as_echo_n "(cached) " >&6
2740 ac_save_c_werror_flag=$ac_c_werror_flag
2741 ac_c_werror_flag=yes
2744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2745 /* end confdefs.h. */
2755 if ac_fn_c_try_compile "$LINENO"; then :
2759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2770 if ac_fn_c_try_compile "$LINENO"; then :
2773 ac_c_werror_flag=$ac_save_c_werror_flag
2775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2776 /* end confdefs.h. */
2786 if ac_fn_c_try_compile "$LINENO"; then :
2789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2794 ac_c_werror_flag=$ac_save_c_werror_flag
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2797 $as_echo "$ac_cv_prog_cc_g" >&6; }
2798 if test "$ac_test_CFLAGS" = set; then
2799 CFLAGS=$ac_save_CFLAGS
2800 elif test $ac_cv_prog_cc_g = yes; then
2801 if test "$GCC" = yes; then
2807 if test "$GCC" = yes; then
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2814 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2815 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2816 $as_echo_n "(cached) " >&6
2818 ac_cv_prog_cc_c89=no
2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2821 /* end confdefs.h. */
2824 #include <sys/types.h>
2825 #include <sys/stat.h>
2826 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2827 struct buf { int x; };
2828 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2829 static char *e (p, i)
2835 static char *f (char * (*g) (char **, int), char **p, ...)
2840 s = g (p, va_arg (v,int));
2845 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2846 function prototypes and stuff, but not '\xHH' hex character constants.
2847 These don't provoke an error unfortunately, instead are silently treated
2848 as 'x'. The following induces an error, until -std is added to get
2849 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2850 array size at least. It's necessary to write '\x00'==0 to get something
2851 that's true only with -std. */
2852 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2854 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2855 inside strings and character constants. */
2857 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2859 int test (int i, double x);
2860 struct s1 {int (*f) (int a);};
2861 struct s2 {int (*f) (double a);};
2862 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2868 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2873 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2874 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2876 CC="$ac_save_CC $ac_arg"
2877 if ac_fn_c_try_compile "$LINENO"; then :
2878 ac_cv_prog_cc_c89=$ac_arg
2880 rm -f core conftest.err conftest.$ac_objext
2881 test "x$ac_cv_prog_cc_c89" != "xno" && break
2883 rm -f conftest.$ac_ext
2888 case "x$ac_cv_prog_cc_c89" in
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2891 $as_echo "none needed" >&6; } ;;
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2894 $as_echo "unsupported" >&6; } ;;
2896 CC="$CC $ac_cv_prog_cc_c89"
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2898 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2900 if test "x$ac_cv_prog_cc_c89" != xno; then :
2905 ac_cpp='$CPP $CPPFLAGS'
2906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2910 test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
2912 if test -n "$ac_tool_prefix"; then
2913 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
2914 set dummy ${ac_tool_prefix}g++; ac_word=$2
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916 $as_echo_n "checking for $ac_word... " >&6; }
2917 if test "${ac_cv_prog_CXX+set}" = set; then :
2918 $as_echo_n "(cached) " >&6
2920 if test -n "$CXX"; then
2921 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir=.
2928 for ac_exec_ext in '' $ac_executable_extensions; do
2929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2930 ac_cv_prog_CXX="${ac_tool_prefix}g++"
2931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 if test -n "$CXX"; then
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2943 $as_echo "$CXX" >&6; }
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946 $as_echo "no" >&6; }
2951 if test -z "$ac_cv_prog_CXX"; then
2953 # Extract the first word of "g++", so it can be a program name with args.
2954 set dummy g++; ac_word=$2
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
2958 $as_echo_n "(cached) " >&6
2960 if test -n "$ac_ct_CXX"; then
2961 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir=.
2968 for ac_exec_ext in '' $ac_executable_extensions; do
2969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2970 ac_cv_prog_ac_ct_CXX="g++"
2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2981 if test -n "$ac_ct_CXX"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2983 $as_echo "$ac_ct_CXX" >&6; }
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
2989 if test "x$ac_ct_CXX" = x; then
2992 case $cross_compiling:$ac_tool_warned in
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2996 ac_tool_warned=yes ;;
3001 CXX="$ac_cv_prog_CXX"
3004 if test -z "$CXX"; then
3005 if test -n "$ac_tool_prefix"; then
3006 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
3007 set dummy ${ac_tool_prefix}g++; ac_word=$2
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3009 $as_echo_n "checking for $ac_word... " >&6; }
3010 if test "${ac_cv_prog_CXX+set}" = set; then :
3011 $as_echo_n "(cached) " >&6
3013 if test -n "$CXX"; then
3014 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020 test -z "$as_dir" && as_dir=.
3021 for ac_exec_ext in '' $ac_executable_extensions; do
3022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3023 ac_cv_prog_CXX="${ac_tool_prefix}g++"
3024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 if test -n "$CXX"; then
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3036 $as_echo "$CXX" >&6; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039 $as_echo "no" >&6; }
3044 if test -z "$ac_cv_prog_CXX"; then
3046 # Extract the first word of "g++", so it can be a program name with args.
3047 set dummy g++; ac_word=$2
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3049 $as_echo_n "checking for $ac_word... " >&6; }
3050 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3051 $as_echo_n "(cached) " >&6
3053 if test -n "$ac_ct_CXX"; then
3054 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3060 test -z "$as_dir" && as_dir=.
3061 for ac_exec_ext in '' $ac_executable_extensions; do
3062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3063 ac_cv_prog_ac_ct_CXX="g++"
3064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3073 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3074 if test -n "$ac_ct_CXX"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3076 $as_echo "$ac_ct_CXX" >&6; }
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079 $as_echo "no" >&6; }
3082 if test "x$ac_ct_CXX" = x; then
3085 case $cross_compiling:$ac_tool_warned in
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3089 ac_tool_warned=yes ;;
3094 CXX="$ac_cv_prog_CXX"
3099 ac_cpp='$CXXCPP $CPPFLAGS'
3100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3103 if test -z "$CXX"; then
3104 if test -n "$CCC"; then
3107 if test -n "$ac_tool_prefix"; then
3108 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3110 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3111 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113 $as_echo_n "checking for $ac_word... " >&6; }
3114 if test "${ac_cv_prog_CXX+set}" = set; then :
3115 $as_echo_n "(cached) " >&6
3117 if test -n "$CXX"; then
3118 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124 test -z "$as_dir" && as_dir=.
3125 for ac_exec_ext in '' $ac_executable_extensions; do
3126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3127 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 if test -n "$CXX"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3140 $as_echo "$CXX" >&6; }
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143 $as_echo "no" >&6; }
3147 test -n "$CXX" && break
3150 if test -z "$CXX"; then
3152 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3154 # Extract the first word of "$ac_prog", so it can be a program name with args.
3155 set dummy $ac_prog; ac_word=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3159 $as_echo_n "(cached) " >&6
3161 if test -n "$ac_ct_CXX"; then
3162 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir=.
3169 for ac_exec_ext in '' $ac_executable_extensions; do
3170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3171 ac_cv_prog_ac_ct_CXX="$ac_prog"
3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3182 if test -n "$ac_ct_CXX"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3184 $as_echo "$ac_ct_CXX" >&6; }
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3191 test -n "$ac_ct_CXX" && break
3194 if test "x$ac_ct_CXX" = x; then
3197 case $cross_compiling:$ac_tool_warned in
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3201 ac_tool_warned=yes ;;
3209 # Provide some information about the compiler.
3210 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3213 for ac_option in --version -v -V -qversion; do
3214 { { ac_try="$ac_compiler $ac_option >&5"
3216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3220 $as_echo "$ac_try_echo"; } >&5
3221 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3223 if test -s conftest.err; then
3225 ... rest of stderr output deleted ...
3226 10q' conftest.err >conftest.er1
3227 cat conftest.er1 >&5
3229 rm -f conftest.er1 conftest.err
3230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3231 test $ac_status = 0; }
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3235 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3236 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3237 $as_echo_n "(cached) " >&6
3239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3240 /* end confdefs.h. */
3253 if ac_fn_cxx_try_compile "$LINENO"; then :
3258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3259 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3263 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3264 if test $ac_compiler_gnu = yes; then
3269 ac_test_CXXFLAGS=${CXXFLAGS+set}
3270 ac_save_CXXFLAGS=$CXXFLAGS
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3272 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3273 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3274 $as_echo_n "(cached) " >&6
3276 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3277 ac_cxx_werror_flag=yes
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3291 if ac_fn_cxx_try_compile "$LINENO"; then :
3292 ac_cv_prog_cxx_g=yes
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3306 if ac_fn_cxx_try_compile "$LINENO"; then :
3309 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3312 /* end confdefs.h. */
3322 if ac_fn_cxx_try_compile "$LINENO"; then :
3323 ac_cv_prog_cxx_g=yes
3325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3333 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3334 if test "$ac_test_CXXFLAGS" = set; then
3335 CXXFLAGS=$ac_save_CXXFLAGS
3336 elif test $ac_cv_prog_cxx_g = yes; then
3337 if test "$GXX" = yes; then
3343 if test "$GXX" = yes; then
3350 ac_cpp='$CPP $CPPFLAGS'
3351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3355 test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
3358 CXXFLAGS='$(CFLAGS)'
3361 case "$with_cross_host" in
3364 install_host="install_host"
3372 LIBSERVER='$(bupdir)/cygserver/libcygserver.a'
3377 if test -n "$ac_tool_prefix"; then
3378 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3379 set dummy ${ac_tool_prefix}ar; ac_word=$2
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3381 $as_echo_n "checking for $ac_word... " >&6; }
3382 if test "${ac_cv_prog_AR+set}" = set; then :
3383 $as_echo_n "(cached) " >&6
3385 if test -n "$AR"; then
3386 ac_cv_prog_AR="$AR" # Let the user override the test.
3388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3392 test -z "$as_dir" && as_dir=.
3393 for ac_exec_ext in '' $ac_executable_extensions; do
3394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3395 ac_cv_prog_AR="${ac_tool_prefix}ar"
3396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3406 if test -n "$AR"; then
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3408 $as_echo "$AR" >&6; }
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411 $as_echo "no" >&6; }
3416 if test -z "$ac_cv_prog_AR"; then
3418 # Extract the first word of "ar", so it can be a program name with args.
3419 set dummy ar; ac_word=$2
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421 $as_echo_n "checking for $ac_word... " >&6; }
3422 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
3423 $as_echo_n "(cached) " >&6
3425 if test -n "$ac_ct_AR"; then
3426 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3432 test -z "$as_dir" && as_dir=.
3433 for ac_exec_ext in '' $ac_executable_extensions; do
3434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3435 ac_cv_prog_ac_ct_AR="ar"
3436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3445 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3446 if test -n "$ac_ct_AR"; then
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3448 $as_echo "$ac_ct_AR" >&6; }
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451 $as_echo "no" >&6; }
3454 if test "x$ac_ct_AR" = x; then
3457 case $cross_compiling:$ac_tool_warned in
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3461 ac_tool_warned=yes ;;
3469 if test -n "$ac_tool_prefix"; then
3470 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3471 set dummy ${ac_tool_prefix}as; ac_word=$2
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3473 $as_echo_n "checking for $ac_word... " >&6; }
3474 if test "${ac_cv_prog_AS+set}" = set; then :
3475 $as_echo_n "(cached) " >&6
3477 if test -n "$AS"; then
3478 ac_cv_prog_AS="$AS" # Let the user override the test.
3480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3484 test -z "$as_dir" && as_dir=.
3485 for ac_exec_ext in '' $ac_executable_extensions; do
3486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3487 ac_cv_prog_AS="${ac_tool_prefix}as"
3488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3498 if test -n "$AS"; then
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3500 $as_echo "$AS" >&6; }
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3503 $as_echo "no" >&6; }
3508 if test -z "$ac_cv_prog_AS"; then
3510 # Extract the first word of "as", so it can be a program name with args.
3511 set dummy as; ac_word=$2
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3513 $as_echo_n "checking for $ac_word... " >&6; }
3514 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3515 $as_echo_n "(cached) " >&6
3517 if test -n "$ac_ct_AS"; then
3518 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3524 test -z "$as_dir" && as_dir=.
3525 for ac_exec_ext in '' $ac_executable_extensions; do
3526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3527 ac_cv_prog_ac_ct_AS="as"
3528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3537 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3538 if test -n "$ac_ct_AS"; then
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3540 $as_echo "$ac_ct_AS" >&6; }
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3543 $as_echo "no" >&6; }
3546 if test "x$ac_ct_AS" = x; then
3549 case $cross_compiling:$ac_tool_warned in
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3553 ac_tool_warned=yes ;;
3561 if test -n "$ac_tool_prefix"; then
3562 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3563 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3565 $as_echo_n "checking for $ac_word... " >&6; }
3566 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3567 $as_echo_n "(cached) " >&6
3569 if test -n "$DLLTOOL"; then
3570 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3576 test -z "$as_dir" && as_dir=.
3577 for ac_exec_ext in '' $ac_executable_extensions; do
3578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3579 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3589 DLLTOOL=$ac_cv_prog_DLLTOOL
3590 if test -n "$DLLTOOL"; then
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3592 $as_echo "$DLLTOOL" >&6; }
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 $as_echo "no" >&6; }
3600 if test -z "$ac_cv_prog_DLLTOOL"; then
3601 ac_ct_DLLTOOL=$DLLTOOL
3602 # Extract the first word of "dlltool", so it can be a program name with args.
3603 set dummy dlltool; ac_word=$2
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3605 $as_echo_n "checking for $ac_word... " >&6; }
3606 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3607 $as_echo_n "(cached) " >&6
3609 if test -n "$ac_ct_DLLTOOL"; then
3610 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616 test -z "$as_dir" && as_dir=.
3617 for ac_exec_ext in '' $ac_executable_extensions; do
3618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3619 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3630 if test -n "$ac_ct_DLLTOOL"; then
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3632 $as_echo "$ac_ct_DLLTOOL" >&6; }
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3635 $as_echo "no" >&6; }
3638 if test "x$ac_ct_DLLTOOL" = x; then
3641 case $cross_compiling:$ac_tool_warned in
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3645 ac_tool_warned=yes ;;
3647 DLLTOOL=$ac_ct_DLLTOOL
3650 DLLTOOL="$ac_cv_prog_DLLTOOL"
3653 if test -n "$ac_tool_prefix"; then
3654 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3655 set dummy ${ac_tool_prefix}ld; ac_word=$2
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3657 $as_echo_n "checking for $ac_word... " >&6; }
3658 if test "${ac_cv_prog_LD+set}" = set; then :
3659 $as_echo_n "(cached) " >&6
3661 if test -n "$LD"; then
3662 ac_cv_prog_LD="$LD" # Let the user override the test.
3664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 test -z "$as_dir" && as_dir=.
3669 for ac_exec_ext in '' $ac_executable_extensions; do
3670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3671 ac_cv_prog_LD="${ac_tool_prefix}ld"
3672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3682 if test -n "$LD"; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3684 $as_echo "$LD" >&6; }
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3687 $as_echo "no" >&6; }
3692 if test -z "$ac_cv_prog_LD"; then
3694 # Extract the first word of "ld", so it can be a program name with args.
3695 set dummy ld; ac_word=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
3699 $as_echo_n "(cached) " >&6
3701 if test -n "$ac_ct_LD"; then
3702 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3711 ac_cv_prog_ac_ct_LD="ld"
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 ac_ct_LD=$ac_cv_prog_ac_ct_LD
3722 if test -n "$ac_ct_LD"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
3724 $as_echo "$ac_ct_LD" >&6; }
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3730 if test "x$ac_ct_LD" = x; then
3733 case $cross_compiling:$ac_tool_warned in
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3737 ac_tool_warned=yes ;;
3745 if test -n "$ac_tool_prefix"; then
3746 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3747 set dummy ${ac_tool_prefix}nm; ac_word=$2
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3749 $as_echo_n "checking for $ac_word... " >&6; }
3750 if test "${ac_cv_prog_NM+set}" = set; then :
3751 $as_echo_n "(cached) " >&6
3753 if test -n "$NM"; then
3754 ac_cv_prog_NM="$NM" # Let the user override the test.
3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 test -z "$as_dir" && as_dir=.
3761 for ac_exec_ext in '' $ac_executable_extensions; do
3762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3763 ac_cv_prog_NM="${ac_tool_prefix}nm"
3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3774 if test -n "$NM"; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
3776 $as_echo "$NM" >&6; }
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 $as_echo "no" >&6; }
3784 if test -z "$ac_cv_prog_NM"; then
3786 # Extract the first word of "nm", so it can be a program name with args.
3787 set dummy nm; ac_word=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
3791 $as_echo_n "(cached) " >&6
3793 if test -n "$ac_ct_NM"; then
3794 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
3796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3800 test -z "$as_dir" && as_dir=.
3801 for ac_exec_ext in '' $ac_executable_extensions; do
3802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3803 ac_cv_prog_ac_ct_NM="nm"
3804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3813 ac_ct_NM=$ac_cv_prog_ac_ct_NM
3814 if test -n "$ac_ct_NM"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3816 $as_echo "$ac_ct_NM" >&6; }
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3822 if test "x$ac_ct_NM" = x; then
3825 case $cross_compiling:$ac_tool_warned in
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3829 ac_tool_warned=yes ;;
3837 if test -n "$ac_tool_prefix"; then
3838 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
3839 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3841 $as_echo_n "checking for $ac_word... " >&6; }
3842 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
3843 $as_echo_n "(cached) " >&6
3845 if test -n "$OBJCOPY"; then
3846 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852 test -z "$as_dir" && as_dir=.
3853 for ac_exec_ext in '' $ac_executable_extensions; do
3854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3855 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
3856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3865 OBJCOPY=$ac_cv_prog_OBJCOPY
3866 if test -n "$OBJCOPY"; then
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
3868 $as_echo "$OBJCOPY" >&6; }
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3871 $as_echo "no" >&6; }
3876 if test -z "$ac_cv_prog_OBJCOPY"; then
3877 ac_ct_OBJCOPY=$OBJCOPY
3878 # Extract the first word of "objcopy", so it can be a program name with args.
3879 set dummy objcopy; ac_word=$2
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3881 $as_echo_n "checking for $ac_word... " >&6; }
3882 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
3883 $as_echo_n "(cached) " >&6
3885 if test -n "$ac_ct_OBJCOPY"; then
3886 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
3888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3892 test -z "$as_dir" && as_dir=.
3893 for ac_exec_ext in '' $ac_executable_extensions; do
3894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3895 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
3896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3905 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
3906 if test -n "$ac_ct_OBJCOPY"; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
3908 $as_echo "$ac_ct_OBJCOPY" >&6; }
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3914 if test "x$ac_ct_OBJCOPY" = x; then
3917 case $cross_compiling:$ac_tool_warned in
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3921 ac_tool_warned=yes ;;
3923 OBJCOPY=$ac_ct_OBJCOPY
3926 OBJCOPY="$ac_cv_prog_OBJCOPY"
3929 if test -n "$ac_tool_prefix"; then
3930 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3931 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3933 $as_echo_n "checking for $ac_word... " >&6; }
3934 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3935 $as_echo_n "(cached) " >&6
3937 if test -n "$OBJDUMP"; then
3938 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3944 test -z "$as_dir" && as_dir=.
3945 for ac_exec_ext in '' $ac_executable_extensions; do
3946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3947 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3957 OBJDUMP=$ac_cv_prog_OBJDUMP
3958 if test -n "$OBJDUMP"; then
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3960 $as_echo "$OBJDUMP" >&6; }
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3963 $as_echo "no" >&6; }
3968 if test -z "$ac_cv_prog_OBJDUMP"; then
3969 ac_ct_OBJDUMP=$OBJDUMP
3970 # Extract the first word of "objdump", so it can be a program name with args.
3971 set dummy objdump; ac_word=$2
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3973 $as_echo_n "checking for $ac_word... " >&6; }
3974 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3975 $as_echo_n "(cached) " >&6
3977 if test -n "$ac_ct_OBJDUMP"; then
3978 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 test -z "$as_dir" && as_dir=.
3985 for ac_exec_ext in '' $ac_executable_extensions; do
3986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3987 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3997 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3998 if test -n "$ac_ct_OBJDUMP"; then
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4000 $as_echo "$ac_ct_OBJDUMP" >&6; }
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4006 if test "x$ac_ct_OBJDUMP" = x; then
4009 case $cross_compiling:$ac_tool_warned in
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4013 ac_tool_warned=yes ;;
4015 OBJDUMP=$ac_ct_OBJDUMP
4018 OBJDUMP="$ac_cv_prog_OBJDUMP"
4021 if test -n "$ac_tool_prefix"; then
4022 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4023 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4025 $as_echo_n "checking for $ac_word... " >&6; }
4026 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4027 $as_echo_n "(cached) " >&6
4029 if test -n "$RANLIB"; then
4030 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4036 test -z "$as_dir" && as_dir=.
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4039 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 RANLIB=$ac_cv_prog_RANLIB
4050 if test -n "$RANLIB"; then
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4052 $as_echo "$RANLIB" >&6; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4055 $as_echo "no" >&6; }
4060 if test -z "$ac_cv_prog_RANLIB"; then
4061 ac_ct_RANLIB=$RANLIB
4062 # Extract the first word of "ranlib", so it can be a program name with args.
4063 set dummy ranlib; ac_word=$2
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4065 $as_echo_n "checking for $ac_word... " >&6; }
4066 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4067 $as_echo_n "(cached) " >&6
4069 if test -n "$ac_ct_RANLIB"; then
4070 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076 test -z "$as_dir" && as_dir=.
4077 for ac_exec_ext in '' $ac_executable_extensions; do
4078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4079 ac_cv_prog_ac_ct_RANLIB="ranlib"
4080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4090 if test -n "$ac_ct_RANLIB"; then
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4092 $as_echo "$ac_ct_RANLIB" >&6; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4095 $as_echo "no" >&6; }
4098 if test "x$ac_ct_RANLIB" = x; then
4101 case $cross_compiling:$ac_tool_warned in
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4105 ac_tool_warned=yes ;;
4107 RANLIB=$ac_ct_RANLIB
4110 RANLIB="$ac_cv_prog_RANLIB"
4113 if test -n "$ac_tool_prefix"; then
4114 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4115 set dummy ${ac_tool_prefix}strip; ac_word=$2
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4117 $as_echo_n "checking for $ac_word... " >&6; }
4118 if test "${ac_cv_prog_STRIP+set}" = set; then :
4119 $as_echo_n "(cached) " >&6
4121 if test -n "$STRIP"; then
4122 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4128 test -z "$as_dir" && as_dir=.
4129 for ac_exec_ext in '' $ac_executable_extensions; do
4130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4131 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 STRIP=$ac_cv_prog_STRIP
4142 if test -n "$STRIP"; then
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4144 $as_echo "$STRIP" >&6; }
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 $as_echo "no" >&6; }
4152 if test -z "$ac_cv_prog_STRIP"; then
4154 # Extract the first word of "strip", so it can be a program name with args.
4155 set dummy strip; ac_word=$2
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4157 $as_echo_n "checking for $ac_word... " >&6; }
4158 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4159 $as_echo_n "(cached) " >&6
4161 if test -n "$ac_ct_STRIP"; then
4162 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168 test -z "$as_dir" && as_dir=.
4169 for ac_exec_ext in '' $ac_executable_extensions; do
4170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4171 ac_cv_prog_ac_ct_STRIP="strip"
4172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4181 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4182 if test -n "$ac_ct_STRIP"; then
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4184 $as_echo "$ac_ct_STRIP" >&6; }
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4190 if test "x$ac_ct_STRIP" = x; then
4193 case $cross_compiling:$ac_tool_warned in
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4197 ac_tool_warned=yes ;;
4202 STRIP="$ac_cv_prog_STRIP"
4205 if test -n "$ac_tool_prefix"; then
4206 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4207 set dummy ${ac_tool_prefix}windres; ac_word=$2
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4209 $as_echo_n "checking for $ac_word... " >&6; }
4210 if test "${ac_cv_prog_WINDRES+set}" = set; then :
4211 $as_echo_n "(cached) " >&6
4213 if test -n "$WINDRES"; then
4214 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4220 test -z "$as_dir" && as_dir=.
4221 for ac_exec_ext in '' $ac_executable_extensions; do
4222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4223 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4233 WINDRES=$ac_cv_prog_WINDRES
4234 if test -n "$WINDRES"; then
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
4236 $as_echo "$WINDRES" >&6; }
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239 $as_echo "no" >&6; }
4244 if test -z "$ac_cv_prog_WINDRES"; then
4245 ac_ct_WINDRES=$WINDRES
4246 # Extract the first word of "windres", so it can be a program name with args.
4247 set dummy windres; ac_word=$2
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4249 $as_echo_n "checking for $ac_word... " >&6; }
4250 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4253 if test -n "$ac_ct_WINDRES"; then
4254 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 test -z "$as_dir" && as_dir=.
4261 for ac_exec_ext in '' $ac_executable_extensions; do
4262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4263 ac_cv_prog_ac_ct_WINDRES="windres"
4264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4273 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4274 if test -n "$ac_ct_WINDRES"; then
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
4276 $as_echo "$ac_ct_WINDRES" >&6; }
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4279 $as_echo "no" >&6; }
4282 if test "x$ac_ct_WINDRES" = x; then
4285 case $cross_compiling:$ac_tool_warned in
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4289 ac_tool_warned=yes ;;
4291 WINDRES=$ac_ct_WINDRES
4294 WINDRES="$ac_cv_prog_WINDRES"
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4299 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4301 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4302 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
4303 $as_echo_n "(cached) " >&6
4305 cat >conftest.make <<\_ACEOF
4308 @echo '@@@%%%=$(MAKE)=@@@%%%'
4310 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4311 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4313 eval ac_cv_prog_make_${ac_make}_set=yes;;
4315 eval ac_cv_prog_make_${ac_make}_set=no;;
4319 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4321 $as_echo "yes" >&6; }
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4325 $as_echo "no" >&6; }
4326 SET_MAKE="MAKE=${MAKE-make}"
4330 # Check whether --enable-debugging was given.
4331 if test "${enable_debugging+set}" = set; then :
4332 enableval=$enable_debugging; case "${enableval}" in
4333 yes) $as_echo "#define DEBUGGING 1" >>confdefs.h
4341 MALLOC_OFILES=malloc.o
4345 case "$target_cpu" in
4346 i?86) DLL_ENTRY="_dll_entry@12"
4347 DEF_DLL_ENTRY="dll_entry@12"
4349 CONFIG_DIR="i386" ;;
4350 *) as_fn_error $? "Invalid target processor \"$target_cpu\"" "$LINENO" 5 ;;
4359 ac_config_files="$ac_config_files Makefile"
4361 cat >confcache <<\_ACEOF
4362 # This file is a shell script that caches the results of configure
4363 # tests run on this system so they can be shared between configure
4364 # scripts and configure runs, see configure's option --config-cache.
4365 # It is not useful on other systems. If it contains results you don't
4366 # want to keep, you may remove or edit it.
4368 # config.status only pays attention to the cache file if you give it
4369 # the --recheck option to rerun configure.
4371 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4372 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4377 # The following way of writing the cache mishandles newlines in values,
4378 # but we know of no workaround that is simple, portable, and efficient.
4379 # So, we kill variables containing newlines.
4380 # Ultrix sh set writes to stderr and can't be redirected directly,
4381 # and sets the high bit in the cache file unless we assign to the vars.
4383 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4384 eval ac_val=\$$ac_var
4388 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4389 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4392 _ | IFS | as_nl) ;; #(
4393 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4394 *) { eval $ac_var=; unset $ac_var;} ;;
4400 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4401 *${as_nl}ac_space=\ *)
4402 # `set' does not quote correctly, so add quotes: double-quote
4403 # substitution turns \\\\ into \\, and sed turns \\ into \.
4406 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4409 # `set' quotes correctly as required by POSIX, so do not add quotes.
4410 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4419 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4421 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4423 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4424 if test -w "$cache_file"; then
4425 test "x$cache_file" != "x/dev/null" &&
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4427 $as_echo "$as_me: updating cache $cache_file" >&6;}
4428 cat confcache >$cache_file
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4431 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4436 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4437 # Let make expand exec_prefix.
4438 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4440 DEFS=-DHAVE_CONFIG_H
4445 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4446 # 1. Remove the extension, and $U if already installed.
4447 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4448 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4449 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4450 # will be set to the directory where LIBOBJS objects are built.
4451 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4452 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4456 LTLIBOBJS=$ac_ltlibobjs
4460 : ${CONFIG_STATUS=./config.status}
4462 ac_clean_files_save=$ac_clean_files
4463 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4465 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4467 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4469 # Generated by $as_me.
4470 # Run this file to recreate the current configuration.
4471 # Compiler output produced by configure, useful for debugging
4472 # configure, is in config.log if it exists.
4478 SHELL=\${CONFIG_SHELL-$SHELL}
4481 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4482 ## -------------------- ##
4483 ## M4sh Initialization. ##
4484 ## -------------------- ##
4486 # Be more Bourne compatible
4487 DUALCASE=1; export DUALCASE # for MKS sh
4488 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4491 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4492 # is contrary to our usage. Disable this feature.
4493 alias -g '${1+"$@"}'='"$@"'
4494 setopt NO_GLOB_SUBST
4496 case `(set -o) 2>/dev/null` in #(
4508 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4509 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4510 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4511 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4512 # Prefer a ksh shell builtin over an external printf program on Solaris,
4513 # but without wasting forks for bash or zsh.
4514 if test -z "$BASH_VERSION$ZSH_VERSION" \
4515 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4516 as_echo='print -r --'
4517 as_echo_n='print -rn --'
4518 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4519 as_echo='printf %s\n'
4520 as_echo_n='printf %s'
4522 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4523 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4524 as_echo_n='/usr/ucb/echo -n'
4526 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4527 as_echo_n_body='eval
4531 expr "X$arg" : "X\\(.*\\)$as_nl";
4532 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4534 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4536 export as_echo_n_body
4537 as_echo_n='sh -c $as_echo_n_body as_echo'
4540 as_echo='sh -c $as_echo_body as_echo'
4543 # The user is always right.
4544 if test "${PATH_SEPARATOR+set}" != set; then
4546 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4547 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4554 # We need space, tab and new line, in precisely that order. Quoting is
4555 # there to prevent editors from complaining about space-tab.
4556 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4557 # splitting by setting IFS to empty value.)
4560 # Find who we are. Look in the path if we contain no directory separator.
4562 *[\\/]* ) as_myself=$0 ;;
4563 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4567 test -z "$as_dir" && as_dir=.
4568 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4574 # We did not find ourselves, most probably we were run as `sh COMMAND'
4575 # in which case we are not to be found in the path.
4576 if test "x$as_myself" = x; then
4579 if test ! -f "$as_myself"; then
4580 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4584 # Unset variables that we do not need and which cause bugs (e.g. in
4585 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4586 # suppresses any "Segmentation fault" message there. '((' could
4587 # trigger a bug in pdksh 5.2.14.
4588 for as_var in BASH_ENV ENV MAIL MAILPATH
4589 do eval test x\${$as_var+set} = xset \
4590 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4603 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4606 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4607 # ----------------------------------------
4608 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4609 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4610 # script with STATUS, using 1 if that was 0.
4613 as_status=$1; test $as_status -eq 0 && as_status=1
4615 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4616 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4618 $as_echo "$as_me: error: $2" >&2
4619 as_fn_exit $as_status
4623 # as_fn_set_status STATUS
4624 # -----------------------
4625 # Set $? to STATUS, without forking.
4629 } # as_fn_set_status
4633 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4643 # Portably unset VAR.
4646 { eval $1=; unset $1;}
4648 as_unset=as_fn_unset
4649 # as_fn_append VAR VALUE
4650 # ----------------------
4651 # Append the text in VALUE to the end of the definition contained in VAR. Take
4652 # advantage of any shell optimizations that allow amortized linear growth over
4653 # repeated appends, instead of the typical quadratic growth present in naive
4655 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4656 eval 'as_fn_append ()
4667 # as_fn_arith ARG...
4668 # ------------------
4669 # Perform arithmetic evaluation on the ARGs, and store the result in the
4670 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4671 # must be portable across $(()) and expr.
4672 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4673 eval 'as_fn_arith ()
4680 as_val=`expr "$@" || test $? -eq 1`
4685 if expr a : '\(a\)' >/dev/null 2>&1 &&
4686 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4692 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4693 as_basename=basename
4698 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4704 as_me=`$as_basename -- "$0" ||
4705 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4706 X"$0" : 'X\(//\)$' \| \
4707 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4709 sed '/^.*\/\([^/][^/]*\)\/*$/{
4723 # Avoid depending upon Character Ranges.
4724 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4725 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4726 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4727 as_cr_digits='0123456789'
4728 as_cr_alnum=$as_cr_Letters$as_cr_digits
4730 ECHO_C= ECHO_N= ECHO_T=
4731 case `echo -n x` in #(((((
4733 case `echo 'xy\c'` in
4734 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4736 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4743 rm -f conf$$ conf$$.exe conf$$.file
4744 if test -d conf$$.dir; then
4745 rm -f conf$$.dir/conf$$.file
4748 mkdir conf$$.dir 2>/dev/null
4750 if (echo >conf$$.file) 2>/dev/null; then
4751 if ln -s conf$$.file conf$$ 2>/dev/null; then
4753 # ... but there are two gotchas:
4754 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4755 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4756 # In both cases, we have to default to `cp -p'.
4757 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4759 elif ln conf$$.file conf$$ 2>/dev/null; then
4767 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4768 rmdir conf$$.dir 2>/dev/null
4773 # Create "$as_dir" as a directory, including parents if necessary.
4778 -*) as_dir=./$as_dir;;
4780 test -d "$as_dir" || eval $as_mkdir_p || {
4784 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4785 *) as_qdir=$as_dir;;
4787 as_dirs="'$as_qdir' $as_dirs"
4788 as_dir=`$as_dirname -- "$as_dir" ||
4789 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4790 X"$as_dir" : 'X\(//\)[^/]' \| \
4791 X"$as_dir" : 'X\(//\)$' \| \
4792 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4793 $as_echo X"$as_dir" |
4794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4811 test -d "$as_dir" && break
4813 test -z "$as_dirs" || eval "mkdir $as_dirs"
4814 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4818 if mkdir -p . 2>/dev/null; then
4819 as_mkdir_p='mkdir -p "$as_dir"'
4821 test -d ./-p && rmdir ./-p
4825 if test -x / >/dev/null 2>&1; then
4828 if ls -dL / >/dev/null 2>&1; then
4835 if test -d "$1"; then
4841 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4842 ???[sx]*):;;*)false;;esac;fi
4846 as_executable_p=$as_test_x
4848 # Sed expression to map a string onto a valid CPP name.
4849 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4851 # Sed expression to map a string onto a valid variable name.
4852 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4856 ## ----------------------------------- ##
4857 ## Main body of $CONFIG_STATUS script. ##
4858 ## ----------------------------------- ##
4860 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4863 # Save the log message, to keep $0 and so on meaningful, and to
4864 # report actual input values of CONFIG_FILES etc. instead of their
4865 # values after options handling.
4867 This file was extended by $as_me, which was
4868 generated by GNU Autoconf 2.66. Invocation command line was
4870 CONFIG_FILES = $CONFIG_FILES
4871 CONFIG_HEADERS = $CONFIG_HEADERS
4872 CONFIG_LINKS = $CONFIG_LINKS
4873 CONFIG_COMMANDS = $CONFIG_COMMANDS
4876 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4881 case $ac_config_files in *"
4882 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4885 case $ac_config_headers in *"
4886 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4891 # Files that config.status was made for.
4892 config_files="$ac_config_files"
4893 config_headers="$ac_config_headers"
4897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4899 \`$as_me' instantiates files and other configuration actions
4900 from templates according to the current configuration. Unless the files
4901 and actions are specified as TAGs, all are instantiated by default.
4903 Usage: $0 [OPTION]... [TAG]...
4905 -h, --help print this help, then exit
4906 -V, --version print version number and configuration settings, then exit
4907 --config print configuration, then exit
4908 -q, --quiet, --silent
4909 do not print progress messages
4910 -d, --debug don't remove temporary files
4911 --recheck update $as_me by reconfiguring in the same conditions
4912 --file=FILE[:TEMPLATE]
4913 instantiate the configuration file FILE
4914 --header=FILE[:TEMPLATE]
4915 instantiate the configuration header FILE
4917 Configuration files:
4920 Configuration headers:
4923 Report bugs to the package provider."
4926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4927 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4930 configured by $0, generated by GNU Autoconf 2.66,
4931 with options \\"\$ac_cs_config\\"
4933 Copyright (C) 2010 Free Software Foundation, Inc.
4934 This config.status script is free software; the Free Software Foundation
4935 gives unlimited permission to copy, distribute and modify it."
4940 test -n "\$AWK" || AWK=awk
4943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4944 # The default lists apply if the user does not specify any file.
4950 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4951 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4962 # Handling of the options.
4963 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4965 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4966 $as_echo "$ac_cs_version"; exit ;;
4967 --config | --confi | --conf | --con | --co | --c )
4968 $as_echo "$ac_cs_config"; exit ;;
4969 --debug | --debu | --deb | --de | --d | -d )
4971 --file | --fil | --fi | --f )
4974 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4976 as_fn_append CONFIG_FILES " '$ac_optarg'"
4977 ac_need_defaults=false;;
4978 --header | --heade | --head | --hea )
4981 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4983 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4984 ac_need_defaults=false;;
4986 # Conflict between --help and --header
4987 as_fn_error $? "ambiguous option: \`$1'
4988 Try \`$0 --help' for more information.";;
4989 --help | --hel | -h )
4990 $as_echo "$ac_cs_usage"; exit ;;
4991 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4992 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4996 -*) as_fn_error $? "unrecognized option: \`$1'
4997 Try \`$0 --help' for more information." ;;
4999 *) as_fn_append ac_config_targets " $1"
5000 ac_need_defaults=false ;;
5006 ac_configure_extra_args=
5008 if $ac_cs_silent; then
5010 ac_configure_extra_args="$ac_configure_extra_args --silent"
5014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5015 if \$ac_cs_recheck; then
5016 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5018 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5019 CONFIG_SHELL='$SHELL'
5025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5029 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5030 ## Running $as_me. ##
5036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5041 # Handling of arguments.
5042 for ac_config_target in $ac_config_targets
5044 case $ac_config_target in
5045 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5046 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5048 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5053 # If the user did not use the arguments to specify the items to instantiate,
5054 # then the envvar interface is used. Set only those that are not.
5055 # We use the long form for the default assignment because of an extremely
5056 # bizarre bug on SunOS 4.1.3.
5057 if $ac_need_defaults; then
5058 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5059 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5062 # Have a temporary directory for convenience. Make it in the build tree
5063 # simply because there is no reason against having it here, and in addition,
5064 # creating and moving files from /tmp can sometimes cause problems.
5065 # Hook for its removal unless debugging.
5066 # Note that there is a small window in which the directory will not be cleaned:
5067 # after its creation but before its name has been assigned to `$tmp'.
5071 trap 'exit_status=$?
5072 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5074 trap 'as_fn_exit 1' 1 2 13 15
5076 # Create a (secure) tmp directory for tmp files.
5079 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5080 test -n "$tmp" && test -d "$tmp"
5083 tmp=./conf$$-$RANDOM
5084 (umask 077 && mkdir "$tmp")
5085 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5087 # Set up the scripts for CONFIG_FILES section.
5088 # No need to generate them if there are no CONFIG_FILES.
5089 # This happens for instance with `./config.status config.h'.
5090 if test -n "$CONFIG_FILES"; then
5093 ac_cr=`echo X | tr X '\015'`
5094 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5095 # But we know of no other shell where ac_cr would be empty at this
5096 # point, so we can use a bashism as a fallback.
5097 if test "x$ac_cr" = x; then
5098 eval ac_cr=\$\'\\r\'
5100 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5101 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5107 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5112 echo "cat >conf$$subs.awk <<_ACEOF" &&
5113 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5116 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5117 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5119 for ac_last_try in false false false false false :; do
5120 . ./conf$$subs.sh ||
5121 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5123 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5124 if test $ac_delim_n = $ac_delim_num; then
5126 elif $ac_last_try; then
5127 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5129 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5135 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5139 s/^/S["/; s/!.*/"]=/
5149 s/\(.\{148\}\)..*/\1/
5151 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5156 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5163 s/\(.\{148\}\)..*/\1/
5165 s/["\\]/\\&/g; s/^/"/; s/$/"/
5169 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5174 ' <conf$$subs.awk | sed '
5179 ' >>$CONFIG_STATUS || ac_write_fail=1
5180 rm -f conf$$subs.awk
5181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5183 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5184 for (key in S) S_is_set[key] = 1
5190 nfields = split(line, field, "@")
5192 len = length(field[1])
5193 for (i = 2; i < nfields; i++) {
5195 keylen = length(key)
5196 if (S_is_set[key]) {
5198 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5199 len += length(value) + length(field[++i])
5210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5211 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5212 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5215 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5216 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5219 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5220 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5221 # trailing colons and then remove the whole line if VPATH becomes empty
5222 # (actually we leave an empty line to preserve line numbers).
5223 if test "x$srcdir" = x.; then
5224 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5243 fi # test -n "$CONFIG_FILES"
5245 # Set up the scripts for CONFIG_HEADERS section.
5246 # No need to generate them if there are no CONFIG_HEADERS.
5247 # This happens for instance with `./config.status Makefile'.
5248 if test -n "$CONFIG_HEADERS"; then
5249 cat >"$tmp/defines.awk" <<\_ACAWK ||
5253 # Transform confdefs.h into an awk script `defines.awk', embedded as
5254 # here-document in config.status, that substitutes the proper values into
5255 # config.h.in to produce config.h.
5257 # Create a delimiter string that does not exist in confdefs.h, to ease
5258 # handling of long lines.
5260 for ac_last_try in false false :; do
5261 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5262 if test -z "$ac_t"; then
5264 elif $ac_last_try; then
5265 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5267 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5271 # For the awk script, D is an array of macro values keyed by name,
5272 # likewise P contains macro parameters if any. Preserve backslash
5273 # newline sequences.
5275 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5277 s/.\{148\}/&'"$ac_delim"'/g
5280 s/^[ ]*#[ ]*define[ ][ ]*/ /
5287 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5289 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5293 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5294 D["\1"]=" \3\\\\\\n"\\/p
5296 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5301 s/.\{148\}/&'"$ac_delim"'/g
5306 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5309 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5311 ' <confdefs.h | sed '
5312 s/'"$ac_delim"'/"\\\
5313 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5316 for (key in D) D_is_set[key] = 1
5319 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5321 split(line, arg, " ")
5322 if (arg[1] == "#") {
5326 defundef = substr(arg[1], 2)
5329 split(mac1, mac2, "(") #)
5331 prefix = substr(line, 1, index(line, defundef) - 1)
5332 if (D_is_set[macro]) {
5333 # Preserve the white space surrounding the "#".
5334 print prefix "define", macro P[macro] D[macro]
5337 # Replace #undef with comments. This is necessary, for example,
5338 # in the case of _POSIX_SOURCE, which is predefined and required
5339 # on some systems where configure will not decide to define it.
5340 if (defundef == "undef") {
5341 print "/*", prefix defundef, macro, "*/"
5349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5350 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5351 fi # test -n "$CONFIG_HEADERS"
5354 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
5359 :[FHLC]) ac_mode=$ac_tag; continue;;
5361 case $ac_mode$ac_tag in
5363 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5364 :[FH]-) ac_tag=-:-;;
5365 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5382 -) ac_f="$tmp/stdin";;
5383 *) # Look for the file first in the build tree, then in the source tree
5384 # (if the path is not absolute). The absolute path cannot be DOS-style,
5385 # because $ac_f cannot contain `:'.
5389 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5391 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5393 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5394 as_fn_append ac_file_inputs " '$ac_f'"
5397 # Let's still pretend it is `configure' which instantiates (i.e., don't
5398 # use $as_me), people would be surprised to read:
5399 # /* config.h. Generated by config.status. */
5400 configure_input='Generated from '`
5401 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5403 if test x"$ac_file" != x-; then
5404 configure_input="$ac_file. $configure_input"
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5406 $as_echo "$as_me: creating $ac_file" >&6;}
5408 # Neutralize special characters interpreted by sed in replacement strings.
5409 case $configure_input in #(
5410 *\&* | *\|* | *\\* )
5411 ac_sed_conf_input=`$as_echo "$configure_input" |
5412 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5413 *) ac_sed_conf_input=$configure_input;;
5417 *:-:* | *:-) cat >"$tmp/stdin" \
5418 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5423 ac_dir=`$as_dirname -- "$ac_file" ||
5424 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5425 X"$ac_file" : 'X\(//\)[^/]' \| \
5426 X"$ac_file" : 'X\(//\)$' \| \
5427 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5428 $as_echo X"$ac_file" |
5429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5446 as_dir="$ac_dir"; as_fn_mkdir_p
5450 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5452 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5453 # A ".." for each directory in $ac_dir_suffix.
5454 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5455 case $ac_top_builddir_sub in
5456 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5457 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5460 ac_abs_top_builddir=$ac_pwd
5461 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5462 # for backward compatibility:
5463 ac_top_builddir=$ac_top_build_prefix
5466 .) # We are building in place.
5468 ac_top_srcdir=$ac_top_builddir_sub
5469 ac_abs_top_srcdir=$ac_pwd ;;
5470 [\\/]* | ?:[\\/]* ) # Absolute name.
5471 ac_srcdir=$srcdir$ac_dir_suffix;
5472 ac_top_srcdir=$srcdir
5473 ac_abs_top_srcdir=$srcdir ;;
5475 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5476 ac_top_srcdir=$ac_top_build_prefix$srcdir
5477 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5479 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5489 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5490 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5495 # If the template does not know about datarootdir, expand it.
5496 # FIXME: This hack should be removed a few years after 2.60.
5497 ac_datarootdir_hack=; ac_datarootdir_seen=
5508 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5509 *datarootdir*) ac_datarootdir_seen=yes;;
5510 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5512 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5515 ac_datarootdir_hack='
5516 s&@datadir@&$datadir&g
5517 s&@docdir@&$docdir&g
5518 s&@infodir@&$infodir&g
5519 s&@localedir@&$localedir&g
5520 s&@mandir@&$mandir&g
5521 s&\\\${datarootdir}&$datarootdir&g' ;;
5525 # Neutralize VPATH when `$srcdir' = `.'.
5526 # Shell code in configure.ac might set extrasub.
5527 # FIXME: do we really want to maintain this feature?
5528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5529 ac_sed_extra="$ac_vpsub
5532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5534 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5535 s|@configure_input@|$ac_sed_conf_input|;t t
5536 s&@top_builddir@&$ac_top_builddir_sub&;t t
5537 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5538 s&@srcdir@&$ac_srcdir&;t t
5539 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5540 s&@top_srcdir@&$ac_top_srcdir&;t t
5541 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5542 s&@builddir@&$ac_builddir&;t t
5543 s&@abs_builddir@&$ac_abs_builddir&;t t
5544 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5545 s&@INSTALL@&$ac_INSTALL&;t t
5546 $ac_datarootdir_hack
5548 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5549 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5551 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5552 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5553 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5555 which seems to be undefined. Please make sure it is defined" >&5
5556 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5557 which seems to be undefined. Please make sure it is defined" >&2;}
5561 -) cat "$tmp/out" && rm -f "$tmp/out";;
5562 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5564 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5570 if test x"$ac_file" != x-; then
5572 $as_echo "/* $configure_input */" \
5573 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5574 } >"$tmp/config.h" \
5575 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5576 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5578 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5581 mv "$tmp/config.h" "$ac_file" \
5582 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5585 $as_echo "/* $configure_input */" \
5586 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5587 || as_fn_error $? "could not create -" "$LINENO" 5
5599 ac_clean_files=$ac_clean_files_save
5601 test $ac_write_fail = 0 ||
5602 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5605 # configure is writing to config.log, and then calls config.status.
5606 # config.status does its own redirection, appending to config.log.
5607 # Unfortunately, on DOS this fails, as config.log is still kept open
5608 # by configure, so config.status won't be able to write to it; its
5609 # output is simply discarded. So we exec the FD to /dev/null,
5610 # effectively closing config.log, so it can be properly (re)opened and
5611 # appended to by config.status. When coming back to configure, we
5612 # need to make the FD available again.
5613 if test "$no_create" != yes; then
5615 ac_config_status_args=
5616 test "$silent" = yes &&
5617 ac_config_status_args="$ac_config_status_args --quiet"
5619 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5621 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5622 # would make configure fail if this is the last instruction.
5623 $ac_cs_success || as_fn_exit 1
5625 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5627 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}