2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev/null; then :
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir=.
190 for as_base in sh bash ksh sh5; do
191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
211 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x${ZSH_VERSION+set} = xset ; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir=./$as_dir;;
283 test -d "$as_dir" || eval $as_mkdir_p || {
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs="'$as_qdir' $as_dirs"
291 as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352 as_val=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status=$?; test $as_status -eq 0 && as_status=1
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x "$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465 rm -f conf$$.dir/conf$$.file
468 mkdir conf$$.dir 2>/dev/null
470 if (echo >conf$$.file) 2>/dev/null; then
471 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 elif ln conf$$.file conf$$ 2>/dev/null; then
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
490 if mkdir -p . 2>/dev/null; then
491 as_mkdir_p='mkdir -p "$as_dir"'
493 test -d ./-p && rmdir ./-p
497 if test -x / >/dev/null 2>&1; then
500 if ls -dL / >/dev/null 2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 # Check that we are running under the correct shell.
529 SHELL=${CONFIG_SHELL-/bin/sh}
533 # Remove one level of quotation (which was required for Make).
534 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
539 if test "X$1" = X--no-reexec; then
540 # Discard the --no-reexec flag, and continue.
542 elif test "X$1" = X--fallback-echo; then
543 # Avoid inline document here, it may be left over
545 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546 # Yippee, $ECHO works!
549 # Restart under the correct shell.
550 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 if test "X$1" = X--fallback-echo; then
554 # used as fallback echo
562 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566 if test -z "$lt_ECHO"; then
567 if test "X${echo_test_string+set}" != Xset; then
568 # find a string as large as possible, as long as the shell can cope with it
569 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
572 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
579 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581 test "X$echo_testing_string" = "X$echo_test_string"; then
584 # The Solaris, AIX, and Digital Unix default echo programs unquote
585 # backslashes. This makes it impossible to quote backslashes using
586 # echo "$something" | sed 's/\\/\\\\/g'
588 # So, first we look for a working echo in the user's PATH.
590 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
591 for dir in $PATH /usr/ucb; do
593 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
594 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596 test "X$echo_testing_string" = "X$echo_test_string"; then
603 if test "X$ECHO" = Xecho; then
604 # We didn't find a better echo, so look for alternatives.
605 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
608 # This shell has a builtin print -r that does the trick.
610 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
611 test "X$CONFIG_SHELL" != X/bin/ksh; then
612 # If we have ksh, try running configure again with it.
613 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
614 export ORIGINAL_CONFIG_SHELL
615 CONFIG_SHELL=/bin/ksh
617 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
621 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
626 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627 test "X$echo_testing_string" = 'X\t' &&
628 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
630 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
632 SHELL="$CONFIG_SHELL"
634 ECHO="$CONFIG_SHELL $0 --fallback-echo"
635 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636 test "X$echo_testing_string" = 'X\t' &&
637 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 # maybe with a smaller string...
644 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
652 if test "$prev" != 'sed 50q "$0"'; then
653 echo_test_string=`eval $prev`
654 export echo_test_string
655 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 # Oops. We lost completely, so just stick with echo.
666 # Copy echo and quote the copy suitably for passing to libtool from
667 # the Makefile, instead of quoting the original, which is used later.
669 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 exec 7<&0 </dev/null 6>&1
679 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680 # so uname gets run too.
681 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
686 ac_default_prefix=/usr/local
688 ac_config_libobj_dir=.
695 # Identity of this package.
703 ac_unique_file="tree.c"
704 # Factoring default headers for most tests.
705 ac_includes_default="\
707 #ifdef HAVE_SYS_TYPES_H
708 # include <sys/types.h>
710 #ifdef HAVE_SYS_STAT_H
711 # include <sys/stat.h>
717 # ifdef HAVE_STDLIB_H
722 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
727 #ifdef HAVE_STRINGS_H
728 # include <strings.h>
730 #ifdef HAVE_INTTYPES_H
731 # include <inttypes.h>
740 ac_subst_vars='LTLIBOBJS
789 TM_MULTILIB_EXCEPTIONS_CONFIG
798 build_xm_include_list
800 build_install_headers_dir
802 all_selected_languages
822 ORIGINAL_NM_FOR_TARGET
824 ORIGINAL_LD_FOR_TARGET
826 ORIGINAL_AS_FOR_TARGET
899 CROSS_SYSTEM_HEADER_DIR
900 TARGET_SYSTEM_ROOT_DEFINE
906 ENABLE_BUILD_WITH_CXX
909 valgrind_path_defines
981 program_transform_name
992 ac_subst_files='language_hooks'
994 enable_option_checking
999 enable_generated_files_in_srcdir
1002 with_demangler_in_ld
1005 enable_werror_always
1008 enable_gather_detailed_mem_stats
1009 enable_build_with_cxx
1013 enable_decimal_float
1028 with_libiconv_prefix
1029 enable_initfini_array
1030 enable_sjlj_exceptions
1031 with_system_libunwind
1034 enable_win32_registry
1039 enable_gnu_unique_object
1040 enable_linker_build_id
1041 with_long_double_128
1044 enable_maintainer_mode
1045 enable_version_specific_runtime_libs
1049 ac_precious_vars='build_alias
1072 # Initialize some variables set by options.
1074 ac_init_version=false
1075 ac_unrecognized_opts=
1076 ac_unrecognized_sep=
1077 # The variables have the same names as the options, with
1078 # dashes changed to underlines.
1079 cache_file=/dev/null
1086 program_transform_name=s,x,x,
1094 # Installation directory options.
1095 # These are left unexpanded so users can "make install exec_prefix=/foo"
1096 # and all the variables that are supposed to be based on exec_prefix
1097 # by default will actually change.
1098 # Use braces instead of parens because sh, perl, etc. also accept them.
1099 # (The list follows the same order as the GNU Coding Standards.)
1100 bindir='${exec_prefix}/bin'
1101 sbindir='${exec_prefix}/sbin'
1102 libexecdir='${exec_prefix}/libexec'
1103 datarootdir='${prefix}/share'
1104 datadir='${datarootdir}'
1105 sysconfdir='${prefix}/etc'
1106 sharedstatedir='${prefix}/com'
1107 localstatedir='${prefix}/var'
1108 includedir='${prefix}/include'
1109 oldincludedir='/usr/include'
1110 docdir='${datarootdir}/doc/${PACKAGE}'
1111 infodir='${datarootdir}/info'
1116 libdir='${exec_prefix}/lib'
1117 localedir='${datarootdir}/locale'
1118 mandir='${datarootdir}/man'
1124 # If the previous option needs an argument, assign it.
1125 if test -n "$ac_prev"; then
1126 eval $ac_prev=\$ac_option
1132 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1136 # Accept the important Cygnus configure options, so we can diagnose typos.
1138 case $ac_dashdash$ac_option in
1142 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1144 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1145 bindir=$ac_optarg ;;
1147 -build | --build | --buil | --bui | --bu)
1148 ac_prev=build_alias ;;
1149 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1150 build_alias=$ac_optarg ;;
1152 -cache-file | --cache-file | --cache-fil | --cache-fi \
1153 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1154 ac_prev=cache_file ;;
1155 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1156 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1157 cache_file=$ac_optarg ;;
1159 --config-cache | -C)
1160 cache_file=config.cache ;;
1162 -datadir | --datadir | --datadi | --datad)
1164 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1165 datadir=$ac_optarg ;;
1167 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1168 | --dataroo | --dataro | --datar)
1169 ac_prev=datarootdir ;;
1170 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1171 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1172 datarootdir=$ac_optarg ;;
1174 -disable-* | --disable-*)
1175 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1178 as_fn_error "invalid feature name: $ac_useropt"
1179 ac_useropt_orig=$ac_useropt
1180 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1183 "enable_$ac_useropt"
1185 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1186 ac_unrecognized_sep=', ';;
1188 eval enable_$ac_useropt=no ;;
1190 -docdir | --docdir | --docdi | --doc | --do)
1192 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1193 docdir=$ac_optarg ;;
1195 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1197 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1198 dvidir=$ac_optarg ;;
1200 -enable-* | --enable-*)
1201 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1204 as_fn_error "invalid feature name: $ac_useropt"
1205 ac_useropt_orig=$ac_useropt
1206 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1209 "enable_$ac_useropt"
1211 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1212 ac_unrecognized_sep=', ';;
1214 eval enable_$ac_useropt=\$ac_optarg ;;
1216 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1217 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1218 | --exec | --exe | --ex)
1219 ac_prev=exec_prefix ;;
1220 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1221 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1222 | --exec=* | --exe=* | --ex=*)
1223 exec_prefix=$ac_optarg ;;
1225 -gas | --gas | --ga | --g)
1226 # Obsolete; use --with-gas.
1229 -help | --help | --hel | --he | -h)
1230 ac_init_help=long ;;
1231 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1232 ac_init_help=recursive ;;
1233 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1234 ac_init_help=short ;;
1236 -host | --host | --hos | --ho)
1237 ac_prev=host_alias ;;
1238 -host=* | --host=* | --hos=* | --ho=*)
1239 host_alias=$ac_optarg ;;
1241 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1243 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1245 htmldir=$ac_optarg ;;
1247 -includedir | --includedir | --includedi | --included | --include \
1248 | --includ | --inclu | --incl | --inc)
1249 ac_prev=includedir ;;
1250 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1251 | --includ=* | --inclu=* | --incl=* | --inc=*)
1252 includedir=$ac_optarg ;;
1254 -infodir | --infodir | --infodi | --infod | --info | --inf)
1256 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1257 infodir=$ac_optarg ;;
1259 -libdir | --libdir | --libdi | --libd)
1261 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1262 libdir=$ac_optarg ;;
1264 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1265 | --libexe | --libex | --libe)
1266 ac_prev=libexecdir ;;
1267 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1268 | --libexe=* | --libex=* | --libe=*)
1269 libexecdir=$ac_optarg ;;
1271 -localedir | --localedir | --localedi | --localed | --locale)
1272 ac_prev=localedir ;;
1273 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1274 localedir=$ac_optarg ;;
1276 -localstatedir | --localstatedir | --localstatedi | --localstated \
1277 | --localstate | --localstat | --localsta | --localst | --locals)
1278 ac_prev=localstatedir ;;
1279 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1280 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1281 localstatedir=$ac_optarg ;;
1283 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1285 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1286 mandir=$ac_optarg ;;
1288 -nfp | --nfp | --nf)
1289 # Obsolete; use --without-fp.
1292 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1293 | --no-cr | --no-c | -n)
1296 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1297 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1300 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1301 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1302 | --oldin | --oldi | --old | --ol | --o)
1303 ac_prev=oldincludedir ;;
1304 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1305 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1306 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1307 oldincludedir=$ac_optarg ;;
1309 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1311 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1312 prefix=$ac_optarg ;;
1314 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1315 | --program-pre | --program-pr | --program-p)
1316 ac_prev=program_prefix ;;
1317 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1318 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1319 program_prefix=$ac_optarg ;;
1321 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1322 | --program-suf | --program-su | --program-s)
1323 ac_prev=program_suffix ;;
1324 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1325 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1326 program_suffix=$ac_optarg ;;
1328 -program-transform-name | --program-transform-name \
1329 | --program-transform-nam | --program-transform-na \
1330 | --program-transform-n | --program-transform- \
1331 | --program-transform | --program-transfor \
1332 | --program-transfo | --program-transf \
1333 | --program-trans | --program-tran \
1334 | --progr-tra | --program-tr | --program-t)
1335 ac_prev=program_transform_name ;;
1336 -program-transform-name=* | --program-transform-name=* \
1337 | --program-transform-nam=* | --program-transform-na=* \
1338 | --program-transform-n=* | --program-transform-=* \
1339 | --program-transform=* | --program-transfor=* \
1340 | --program-transfo=* | --program-transf=* \
1341 | --program-trans=* | --program-tran=* \
1342 | --progr-tra=* | --program-tr=* | --program-t=*)
1343 program_transform_name=$ac_optarg ;;
1345 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1347 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1348 pdfdir=$ac_optarg ;;
1350 -psdir | --psdir | --psdi | --psd | --ps)
1352 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1355 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1356 | -silent | --silent | --silen | --sile | --sil)
1359 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1361 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1363 sbindir=$ac_optarg ;;
1365 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1366 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1367 | --sharedst | --shareds | --shared | --share | --shar \
1369 ac_prev=sharedstatedir ;;
1370 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1371 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1372 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1374 sharedstatedir=$ac_optarg ;;
1376 -site | --site | --sit)
1378 -site=* | --site=* | --sit=*)
1381 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1383 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1384 srcdir=$ac_optarg ;;
1386 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1387 | --syscon | --sysco | --sysc | --sys | --sy)
1388 ac_prev=sysconfdir ;;
1389 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1390 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1391 sysconfdir=$ac_optarg ;;
1393 -target | --target | --targe | --targ | --tar | --ta | --t)
1394 ac_prev=target_alias ;;
1395 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1396 target_alias=$ac_optarg ;;
1398 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1401 -version | --version | --versio | --versi | --vers | -V)
1402 ac_init_version=: ;;
1405 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1406 # Reject names that are not valid shell variable names.
1407 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1408 as_fn_error "invalid package name: $ac_useropt"
1409 ac_useropt_orig=$ac_useropt
1410 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1411 case $ac_user_opts in
1415 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1416 ac_unrecognized_sep=', ';;
1418 eval with_$ac_useropt=\$ac_optarg ;;
1420 -without-* | --without-*)
1421 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1422 # Reject names that are not valid shell variable names.
1423 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1424 as_fn_error "invalid package name: $ac_useropt"
1425 ac_useropt_orig=$ac_useropt
1426 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1427 case $ac_user_opts in
1431 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1432 ac_unrecognized_sep=', ';;
1434 eval with_$ac_useropt=no ;;
1437 # Obsolete; use --with-x.
1440 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1441 | --x-incl | --x-inc | --x-in | --x-i)
1442 ac_prev=x_includes ;;
1443 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1444 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1445 x_includes=$ac_optarg ;;
1447 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1448 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1449 ac_prev=x_libraries ;;
1450 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1451 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1452 x_libraries=$ac_optarg ;;
1454 -*) as_fn_error "unrecognized option: \`$ac_option'
1455 Try \`$0 --help' for more information."
1459 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1460 # Reject names that are not valid shell variable names.
1461 case $ac_envvar in #(
1462 '' | [0-9]* | *[!_$as_cr_alnum]* )
1463 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1465 eval $ac_envvar=\$ac_optarg
1466 export $ac_envvar ;;
1469 # FIXME: should be removed in autoconf 3.0.
1470 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1471 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1472 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1473 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1479 if test -n "$ac_prev"; then
1480 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1481 as_fn_error "missing argument to $ac_option"
1484 if test -n "$ac_unrecognized_opts"; then
1485 case $enable_option_checking in
1487 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1488 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1492 # Check all directory arguments for consistency.
1493 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1494 datadir sysconfdir sharedstatedir localstatedir includedir \
1495 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1496 libdir localedir mandir
1498 eval ac_val=\$$ac_var
1499 # Remove trailing slashes.
1502 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1503 eval $ac_var=\$ac_val;;
1505 # Be sure to have absolute directory names.
1507 [\\/$]* | ?:[\\/]* ) continue;;
1508 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1510 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1513 # There might be people who depend on the old broken behavior: `$host'
1514 # used to hold the argument of --host etc.
1515 # FIXME: To remove some day.
1518 target=$target_alias
1520 # FIXME: To remove some day.
1521 if test "x$host_alias" != x; then
1522 if test "x$build_alias" = x; then
1523 cross_compiling=maybe
1524 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1525 If a cross compiler is detected then cross compile mode will be used." >&2
1526 elif test "x$build_alias" != "x$host_alias"; then
1532 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1534 test "$silent" = yes && exec 6>/dev/null
1537 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1538 ac_ls_di=`ls -di .` &&
1539 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1540 as_fn_error "working directory cannot be determined"
1541 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1542 as_fn_error "pwd does not report name of working directory"
1545 # Find the source files, if location was not specified.
1546 if test -z "$srcdir"; then
1547 ac_srcdir_defaulted=yes
1548 # Try the directory containing this script, then the parent directory.
1549 ac_confdir=`$as_dirname -- "$as_myself" ||
1550 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1551 X"$as_myself" : 'X\(//\)[^/]' \| \
1552 X"$as_myself" : 'X\(//\)$' \| \
1553 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1554 $as_echo X"$as_myself" |
1555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1573 if test ! -r "$srcdir/$ac_unique_file"; then
1577 ac_srcdir_defaulted=no
1579 if test ! -r "$srcdir/$ac_unique_file"; then
1580 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1581 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1583 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1585 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1587 # When building in place, set srcdir=.
1588 if test "$ac_abs_confdir" = "$ac_pwd"; then
1591 # Remove unnecessary trailing slashes from srcdir.
1592 # Double slashes in file names in object file debugging info
1593 # mess up M-x gdb in Emacs.
1595 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1597 for ac_var in $ac_precious_vars; do
1598 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1599 eval ac_env_${ac_var}_value=\$${ac_var}
1600 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1601 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1605 # Report the --help message.
1607 if test "$ac_init_help" = "long"; then
1608 # Omit some internal or obsolete options to make the list less imposing.
1609 # This message is too long to be a string in the A/UX 3.1 sh.
1611 \`configure' configures this package to adapt to many kinds of systems.
1613 Usage: $0 [OPTION]... [VAR=VALUE]...
1615 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1616 VAR=VALUE. See below for descriptions of some of the useful variables.
1618 Defaults for the options are specified in brackets.
1621 -h, --help display this help and exit
1622 --help=short display options specific to this package
1623 --help=recursive display the short help of all the included packages
1624 -V, --version display version information and exit
1625 -q, --quiet, --silent do not print \`checking...' messages
1626 --cache-file=FILE cache test results in FILE [disabled]
1627 -C, --config-cache alias for \`--cache-file=config.cache'
1628 -n, --no-create do not create output files
1629 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1631 Installation directories:
1632 --prefix=PREFIX install architecture-independent files in PREFIX
1633 [$ac_default_prefix]
1634 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1637 By default, \`make install' will install all the files in
1638 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1639 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1640 for instance \`--prefix=\$HOME'.
1642 For better control, use the options below.
1644 Fine tuning of the installation directories:
1645 --bindir=DIR user executables [EPREFIX/bin]
1646 --sbindir=DIR system admin executables [EPREFIX/sbin]
1647 --libexecdir=DIR program executables [EPREFIX/libexec]
1648 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1649 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1650 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1651 --libdir=DIR object code libraries [EPREFIX/lib]
1652 --includedir=DIR C header files [PREFIX/include]
1653 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1654 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1655 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1656 --infodir=DIR info documentation [DATAROOTDIR/info]
1657 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1658 --mandir=DIR man documentation [DATAROOTDIR/man]
1659 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1660 --htmldir=DIR html documentation [DOCDIR]
1661 --dvidir=DIR dvi documentation [DOCDIR]
1662 --pdfdir=DIR pdf documentation [DOCDIR]
1663 --psdir=DIR ps documentation [DOCDIR]
1669 --program-prefix=PREFIX prepend PREFIX to installed program names
1670 --program-suffix=SUFFIX append SUFFIX to installed program names
1671 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1674 --build=BUILD configure for building on BUILD [guessed]
1675 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1676 --target=TARGET configure for building compilers for TARGET [HOST]
1680 if test -n "$ac_init_help"; then
1685 --disable-option-checking ignore unrecognized --enable/--with options
1686 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1687 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1688 --enable-generated-files-in-srcdir
1689 put copies of generated files in source dir
1690 intended for creating source tarballs for users
1691 without texinfo bison or flex.
1692 --enable-werror-always enable -Werror despite compiler version
1693 --enable-checking=LIST
1694 enable expensive run-time checks. With LIST,
1695 enable only specific categories of checks.
1696 Categories are: yes,no,all,none,release.
1697 Flags are: assert,df,fold,gc,gcac,gimple,misc,
1698 rtlflag,rtl,runtime,tree,valgrind,types.
1699 --enable-coverage=LEVEL
1700 enable compiler's code coverage collection.
1701 Use to measure compiler performance and locate
1702 unused parts of the compiler. With LEVEL, specify
1703 optimization. Values are opt, noopt,
1705 --enable-gather-detailed-mem-stats enable detailed memory allocation stats gathering
1706 --enable-build-with-cxx build with C++ compiler instead of C compiler
1707 --enable-multilib enable library support for multiple ABIs
1708 --enable-__cxa_atexit enable __cxa_atexit for C++
1709 --enable-decimal-float={no,yes,bid,dpd}
1710 enable decimal float extension to C. Selecting 'bid'
1711 or 'dpd' choses which decimal floating point format
1713 --enable-fixed-point enable fixed-point arithmetic extension to C
1714 --enable-threads enable thread usage for target GCC
1715 --enable-threads=LIB use LIB thread package for target GCC
1716 --enable-tls enable or disable generation of tls code
1717 overriding the assembler check for tls support
1718 --enable-objc-gc enable the use of Boehm's garbage collector with
1719 the GNU Objective-C runtime
1720 --disable-shared don't provide a shared libgcc
1721 --enable-intermodule build the compiler in one step
1722 --enable-languages=LIST specify which front-ends to build
1723 --disable-rpath do not hardcode runtime library paths
1724 --enable-initfini-array use .init_array/.fini_array sections
1725 --enable-sjlj-exceptions
1726 arrange to use setjmp/longjmp exception handling
1727 --enable-secureplt enable -msecure-plt by default for PowerPC
1728 --enable-cld enable -mcld by default for 32bit x86
1729 --disable-win32-registry
1730 disable lookup of installation paths in the
1731 Registry on Windows hosts
1732 --enable-win32-registry enable registry lookup (default)
1733 --enable-win32-registry=KEY
1734 use KEY instead of GCC version as the last portion
1736 --enable-shared[=PKGS] build shared libraries [default=yes]
1737 --enable-static[=PKGS] build static libraries [default=yes]
1738 --enable-fast-install[=PKGS]
1739 optimize for fast installation [default=yes]
1740 --disable-libtool-lock avoid locking (might break parallel builds)
1741 --enable-gnu-unique-object enable the use of the @gnu_unique_object ELF extension on
1743 --enable-linker-build-id
1744 compiler will always pass --build-id to linker
1745 --enable-maintainer-mode
1746 enable make rules and dependencies not useful
1747 (and sometimes confusing) to the casual installer
1748 --enable-version-specific-runtime-libs
1749 specify that runtime libraries should be
1750 installed in a compiler-specific directory
1751 --enable-plugin enable plugin support
1754 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1755 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1756 --with-build-libsubdir=DIR Directory where to find libraries for build system
1757 --with-local-prefix=DIR specifies directory to put local include
1758 --with-gxx-include-dir=DIR
1759 specifies directory to put g++ header files
1760 --with-cpp-install-dir=DIR
1761 install the user visible C preprocessor in DIR
1762 (relative to PREFIX) as well as PREFIX/bin
1763 --with-gnu-ld arrange to work with GNU ld.
1764 --with-ld arrange to use the specified ld (full pathname)
1765 --with-demangler-in-ld try to use demangler in GNU ld.
1766 --with-gnu-as arrange to work with GNU as
1767 --with-as arrange to use the specified as (full pathname)
1768 --with-stabs arrange to use stabs instead of host debug format
1769 --with-dwarf2 force the default debug format to be DWARF 2
1770 --with-build-sysroot=sysroot
1771 use sysroot as the system root during the build
1772 --with-sysroot=DIR Search for usr/lib, usr/include, et al, within DIR.
1773 --with-pkgversion=PKG Use PKG in the version string in place of "GCC"
1774 --with-bugurl=URL Direct users to URL to report a bug
1775 --with-multilib-list Select multilibs (SH only)
1776 --with-gnu-ld assume the C compiler uses GNU ld default=no
1777 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1778 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1779 --with-system-libunwind use installed libunwind
1780 --with-pic try to use only PIC/non-PIC objects [default=use
1782 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1783 --with-long-double-128 Use 128-bit long double by default.
1784 --with-gc={page,zone} choose the garbage collection mechanism to use
1786 --with-system-zlib use installed libz
1787 --with-slibdir=DIR shared libraries in DIR [LIBDIR]
1789 Some influential environment variables:
1790 CC C compiler command
1791 CFLAGS C compiler flags
1792 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1793 nonstandard directory <lib dir>
1794 LIBS libraries to pass to the linker, e.g. -l<library>
1795 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1796 you have headers in a nonstandard directory <include dir>
1797 CXX C++ compiler command
1798 CXXFLAGS C++ compiler flags
1800 CXXCPP C++ preprocessor
1801 GMPLIBS How to link GMP
1802 GMPINC How to find GMP include files
1803 PPLLIBS How to link PPL
1804 PPLINC How to find PPL include files
1805 CLOOGLIBS How to link CLOOG
1806 CLOOGINC How to find CLOOG include files
1807 LIBELFLIBS How to link libelf
1808 LIBELFINC How to find libelf include files
1810 Use these variables to override the choices made by `configure' or to help
1811 it to find libraries and programs with nonstandard names/locations.
1813 Report bugs to the package provider.
1818 if test "$ac_init_help" = "recursive"; then
1819 # If there are subdirs, report their specific --help.
1820 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1821 test -d "$ac_dir" ||
1822 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1827 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1829 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1830 # A ".." for each directory in $ac_dir_suffix.
1831 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1832 case $ac_top_builddir_sub in
1833 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1834 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1837 ac_abs_top_builddir=$ac_pwd
1838 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1839 # for backward compatibility:
1840 ac_top_builddir=$ac_top_build_prefix
1843 .) # We are building in place.
1845 ac_top_srcdir=$ac_top_builddir_sub
1846 ac_abs_top_srcdir=$ac_pwd ;;
1847 [\\/]* | ?:[\\/]* ) # Absolute name.
1848 ac_srcdir=$srcdir$ac_dir_suffix;
1849 ac_top_srcdir=$srcdir
1850 ac_abs_top_srcdir=$srcdir ;;
1852 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1853 ac_top_srcdir=$ac_top_build_prefix$srcdir
1854 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1856 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1858 cd "$ac_dir" || { ac_status=$?; continue; }
1859 # Check for guested configure.
1860 if test -f "$ac_srcdir/configure.gnu"; then
1862 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1863 elif test -f "$ac_srcdir/configure"; then
1865 $SHELL "$ac_srcdir/configure" --help=recursive
1867 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1869 cd "$ac_pwd" || { ac_status=$?; break; }
1873 test -n "$ac_init_help" && exit $ac_status
1874 if $ac_init_version; then
1877 generated by GNU Autoconf 2.64
1879 Copyright (C) 2009 Free Software Foundation, Inc.
1880 This configure script is free software; the Free Software Foundation
1881 gives unlimited permission to copy, distribute and modify it.
1886 ## ------------------------ ##
1887 ## Autoconf initialization. ##
1888 ## ------------------------ ##
1890 # ac_fn_c_try_compile LINENO
1891 # --------------------------
1892 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1893 ac_fn_c_try_compile ()
1895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1896 rm -f conftest.$ac_objext
1897 if { { ac_try="$ac_compile"
1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904 (eval "$ac_compile") 2>conftest.err
1906 if test -s conftest.err; then
1907 grep -v '^ *+' conftest.err >conftest.er1
1908 cat conftest.er1 >&5
1909 mv -f conftest.er1 conftest.err
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 test $ac_status = 0; } && {
1913 test -z "$ac_c_werror_flag" ||
1914 test ! -s conftest.err
1915 } && test -s conftest.$ac_objext; then :
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.$ac_ext >&5
1923 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1926 } # ac_fn_c_try_compile
1928 # ac_fn_cxx_try_compile LINENO
1929 # ----------------------------
1930 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1931 ac_fn_cxx_try_compile ()
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 rm -f conftest.$ac_objext
1935 if { { ac_try="$ac_compile"
1937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1938 *) ac_try_echo=$ac_try;;
1940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_compile") 2>conftest.err
1944 if test -s conftest.err; then
1945 grep -v '^ *+' conftest.err >conftest.er1
1946 cat conftest.er1 >&5
1947 mv -f conftest.er1 conftest.err
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; } && {
1951 test -z "$ac_cxx_werror_flag" ||
1952 test ! -s conftest.err
1953 } && test -s conftest.$ac_objext; then :
1956 $as_echo "$as_me: failed program was:" >&5
1957 sed 's/^/| /' conftest.$ac_ext >&5
1961 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1964 } # ac_fn_cxx_try_compile
1966 # ac_fn_c_try_cpp LINENO
1967 # ----------------------
1968 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972 if { { ac_try="$ac_cpp conftest.$ac_ext"
1974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1975 *) ac_try_echo=$ac_try;;
1977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1978 $as_echo "$ac_try_echo"; } >&5
1979 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1981 if test -s conftest.err; then
1982 grep -v '^ *+' conftest.err >conftest.er1
1983 cat conftest.er1 >&5
1984 mv -f conftest.er1 conftest.err
1986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1987 test $ac_status = 0; } >/dev/null && {
1988 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1989 test ! -s conftest.err
1993 $as_echo "$as_me: failed program was:" >&5
1994 sed 's/^/| /' conftest.$ac_ext >&5
1998 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2003 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2004 # -------------------------------------------------------
2005 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2006 # the include files in INCLUDES and setting the cache variable VAR
2008 ac_fn_c_check_header_mongrel ()
2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013 $as_echo_n "checking for $2... " >&6; }
2014 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2015 $as_echo_n "(cached) " >&6
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2019 $as_echo "$ac_res" >&6; }
2021 # Is the header compilable?
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2023 $as_echo_n "checking $2 usability... " >&6; }
2024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2025 /* end confdefs.h. */
2029 if ac_fn_c_try_compile "$LINENO"; then :
2030 ac_header_compiler=yes
2032 ac_header_compiler=no
2034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2036 $as_echo "$ac_header_compiler" >&6; }
2038 # Is the header present?
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2040 $as_echo_n "checking $2 presence... " >&6; }
2041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2042 /* end confdefs.h. */
2045 if ac_fn_c_try_cpp "$LINENO"; then :
2046 ac_header_preproc=yes
2048 ac_header_preproc=no
2050 rm -f conftest.err conftest.$ac_ext
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2052 $as_echo "$ac_header_preproc" >&6; }
2054 # So? What about this header?
2055 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2058 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2060 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2064 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2066 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2068 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2070 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2072 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2076 $as_echo_n "checking for $2... " >&6; }
2077 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2078 $as_echo_n "(cached) " >&6
2080 eval "$3=\$ac_header_compiler"
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2084 $as_echo "$ac_res" >&6; }
2086 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2088 } # ac_fn_c_check_header_mongrel
2090 # ac_fn_c_try_run LINENO
2091 # ----------------------
2092 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2093 # that executables *can* be run.
2096 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2097 if { { ac_try="$ac_link"
2099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2100 *) ac_try_echo=$ac_try;;
2102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2103 $as_echo "$ac_try_echo"; } >&5
2104 (eval "$ac_link") 2>&5
2106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2107 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2108 { { case "(($ac_try" in
2109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2110 *) ac_try_echo=$ac_try;;
2112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2113 $as_echo "$ac_try_echo"; } >&5
2114 (eval "$ac_try") 2>&5
2116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2117 test $ac_status = 0; }; }; then :
2120 $as_echo "$as_me: program exited with status $ac_status" >&5
2121 $as_echo "$as_me: failed program was:" >&5
2122 sed 's/^/| /' conftest.$ac_ext >&5
2124 ac_retval=$ac_status
2126 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2127 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2132 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2133 # -------------------------------------------------------
2134 # Tests whether HEADER exists and can be compiled using the include files in
2135 # INCLUDES, setting the cache variable VAR accordingly.
2136 ac_fn_c_check_header_compile ()
2138 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2140 $as_echo_n "checking for $2... " >&6; }
2141 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2142 $as_echo_n "(cached) " >&6
2144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2145 /* end confdefs.h. */
2149 if ac_fn_c_try_compile "$LINENO"; then :
2154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2158 $as_echo "$ac_res" >&6; }
2159 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2161 } # ac_fn_c_check_header_compile
2163 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2164 # --------------------------------------------
2165 # Tries to find the compile-time value of EXPR in a program that includes
2166 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2168 ac_fn_c_compute_int ()
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 if test "$cross_compiling" = yes; then
2172 # Depending upon the size, compute the lo and hi bounds.
2173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2174 /* end confdefs.h. */
2179 static int test_array [1 - 2 * !(($2) >= 0)];
2186 if ac_fn_c_try_compile "$LINENO"; then :
2189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2190 /* end confdefs.h. */
2195 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2202 if ac_fn_c_try_compile "$LINENO"; then :
2203 ac_hi=$ac_mid; break
2205 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2206 if test $ac_lo -le $ac_mid; then
2210 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216 /* end confdefs.h. */
2221 static int test_array [1 - 2 * !(($2) < 0)];
2228 if ac_fn_c_try_compile "$LINENO"; then :
2231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2232 /* end confdefs.h. */
2237 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2244 if ac_fn_c_try_compile "$LINENO"; then :
2245 ac_lo=$ac_mid; break
2247 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2248 if test $ac_mid -le $ac_hi; then
2252 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2262 # Binary search between lo and hi bounds.
2263 while test "x$ac_lo" != "x$ac_hi"; do
2264 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2266 /* end confdefs.h. */
2271 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2278 if ac_fn_c_try_compile "$LINENO"; then :
2281 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2286 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2291 /* end confdefs.h. */
2293 static long int longval () { return $2; }
2294 static unsigned long int ulongval () { return $2; }
2301 FILE *f = fopen ("conftest.val", "w");
2306 long int i = longval ();
2309 fprintf (f, "%ld", i);
2313 unsigned long int i = ulongval ();
2316 fprintf (f, "%lu", i);
2318 /* Do not output a trailing newline, as this causes \r\n confusion
2319 on some platforms. */
2320 return ferror (f) || fclose (f) != 0;
2326 if ac_fn_c_try_run "$LINENO"; then :
2327 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2332 conftest.$ac_objext conftest.beam conftest.$ac_ext
2336 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2339 } # ac_fn_c_compute_int
2341 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2342 # -------------------------------------------
2343 # Tests whether TYPE exists after having included INCLUDES, setting cache
2344 # variable VAR accordingly.
2345 ac_fn_c_check_type ()
2347 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2349 $as_echo_n "checking for $2... " >&6; }
2350 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2351 $as_echo_n "(cached) " >&6
2354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2366 if ac_fn_c_try_compile "$LINENO"; then :
2367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2379 if ac_fn_c_try_compile "$LINENO"; then :
2384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2390 $as_echo "$ac_res" >&6; }
2391 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2393 } # ac_fn_c_check_type
2395 # ac_fn_c_find_intX_t LINENO BITS VAR
2396 # -----------------------------------
2397 # Finds a signed integer type with width BITS, setting cache variable VAR
2399 ac_fn_c_find_intX_t ()
2401 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2403 $as_echo_n "checking for int$2_t... " >&6; }
2404 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2405 $as_echo_n "(cached) " >&6
2408 for ac_type in int$2_t 'int' 'long int' \
2409 'long long int' 'short int' 'signed char'; do
2410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2411 /* end confdefs.h. */
2412 $ac_includes_default
2416 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1))];
2423 if ac_fn_c_try_compile "$LINENO"; then :
2424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2425 /* end confdefs.h. */
2426 $ac_includes_default
2430 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1)
2431 < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 2))];
2438 if ac_fn_c_try_compile "$LINENO"; then :
2445 eval "$3=\$ac_type" ;;
2448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2452 if test "x$as_val" = x""no; then :
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2461 $as_echo "$ac_res" >&6; }
2462 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2464 } # ac_fn_c_find_intX_t
2466 # ac_fn_c_try_link LINENO
2467 # -----------------------
2468 # Try to link conftest.$ac_ext, and return whether this succeeded.
2471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2472 rm -f conftest.$ac_objext conftest$ac_exeext
2473 if { { ac_try="$ac_link"
2475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2476 *) ac_try_echo=$ac_try;;
2478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2479 $as_echo "$ac_try_echo"; } >&5
2480 (eval "$ac_link") 2>conftest.err
2482 if test -s conftest.err; then
2483 grep -v '^ *+' conftest.err >conftest.er1
2484 cat conftest.er1 >&5
2485 mv -f conftest.er1 conftest.err
2487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2488 test $ac_status = 0; } && {
2489 test -z "$ac_c_werror_flag" ||
2490 test ! -s conftest.err
2491 } && test -s conftest$ac_exeext && {
2492 test "$cross_compiling" = yes ||
2493 $as_test_x conftest$ac_exeext
2497 $as_echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.$ac_ext >&5
2502 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2503 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2504 # interfere with the next link command; also delete a directory that is
2505 # left behind by Apple's compiler. We do this before executing the actions.
2506 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2507 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2510 } # ac_fn_c_try_link
2512 # ac_fn_c_find_uintX_t LINENO BITS VAR
2513 # ------------------------------------
2514 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2516 ac_fn_c_find_uintX_t ()
2518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2520 $as_echo_n "checking for uint$2_t... " >&6; }
2521 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2522 $as_echo_n "(cached) " >&6
2525 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2526 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2528 /* end confdefs.h. */
2529 $ac_includes_default
2533 static int test_array [1 - 2 * !(($ac_type) -1 >> ($2 - 1) == 1)];
2540 if ac_fn_c_try_compile "$LINENO"; then :
2545 eval "$3=\$ac_type" ;;
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2550 if test "x$as_val" = x""no; then :
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2559 $as_echo "$ac_res" >&6; }
2560 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2562 } # ac_fn_c_find_uintX_t
2564 # ac_fn_c_check_header_preproc LINENO HEADER VAR
2565 # ----------------------------------------------
2566 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
2567 ac_fn_c_check_header_preproc ()
2569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2571 $as_echo_n "checking for $2... " >&6; }
2572 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2573 $as_echo_n "(cached) " >&6
2575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2576 /* end confdefs.h. */
2579 if ac_fn_c_try_cpp "$LINENO"; then :
2584 rm -f conftest.err conftest.$ac_ext
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2588 $as_echo "$ac_res" >&6; }
2589 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2591 } # ac_fn_c_check_header_preproc
2593 # ac_fn_c_check_func LINENO FUNC VAR
2594 # ----------------------------------
2595 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2596 ac_fn_c_check_func ()
2598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2600 $as_echo_n "checking for $2... " >&6; }
2601 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2602 $as_echo_n "(cached) " >&6
2604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2605 /* end confdefs.h. */
2606 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2608 #define $2 innocuous_$2
2610 /* System header to define __stub macros and hopefully few prototypes,
2611 which can conflict with char $2 (); below.
2612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2613 <limits.h> exists even on freestanding compilers. */
2616 # include <limits.h>
2618 # include <assert.h>
2623 /* Override any GCC internal prototype to avoid an error.
2624 Use char because int might match the return type of a GCC
2625 builtin and then its argument prototype would still apply. */
2630 /* The GNU C library defines this for functions which it implements
2631 to always fail with ENOSYS. Some functions are actually named
2632 something starting with __ and the normal name is an alias. */
2633 #if defined __stub_$2 || defined __stub___$2
2645 if ac_fn_c_try_link "$LINENO"; then :
2650 rm -f core conftest.err conftest.$ac_objext \
2651 conftest$ac_exeext conftest.$ac_ext
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2655 $as_echo "$ac_res" >&6; }
2656 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2658 } # ac_fn_c_check_func
2660 # ac_fn_cxx_try_cpp LINENO
2661 # ------------------------
2662 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2663 ac_fn_cxx_try_cpp ()
2665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2666 if { { ac_try="$ac_cpp conftest.$ac_ext"
2668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2669 *) ac_try_echo=$ac_try;;
2671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2672 $as_echo "$ac_try_echo"; } >&5
2673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2675 if test -s conftest.err; then
2676 grep -v '^ *+' conftest.err >conftest.er1
2677 cat conftest.er1 >&5
2678 mv -f conftest.er1 conftest.err
2680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2681 test $ac_status = 0; } >/dev/null && {
2682 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2683 test ! -s conftest.err
2687 $as_echo "$as_me: failed program was:" >&5
2688 sed 's/^/| /' conftest.$ac_ext >&5
2692 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2695 } # ac_fn_cxx_try_cpp
2697 # ac_fn_cxx_try_link LINENO
2698 # -------------------------
2699 # Try to link conftest.$ac_ext, and return whether this succeeded.
2700 ac_fn_cxx_try_link ()
2702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2703 rm -f conftest.$ac_objext conftest$ac_exeext
2704 if { { ac_try="$ac_link"
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2710 $as_echo "$ac_try_echo"; } >&5
2711 (eval "$ac_link") 2>conftest.err
2713 if test -s conftest.err; then
2714 grep -v '^ *+' conftest.err >conftest.er1
2715 cat conftest.er1 >&5
2716 mv -f conftest.er1 conftest.err
2718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2719 test $ac_status = 0; } && {
2720 test -z "$ac_cxx_werror_flag" ||
2721 test ! -s conftest.err
2722 } && test -s conftest$ac_exeext && {
2723 test "$cross_compiling" = yes ||
2724 $as_test_x conftest$ac_exeext
2728 $as_echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2733 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2734 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2735 # interfere with the next link command; also delete a directory that is
2736 # left behind by Apple's compiler. We do this before executing the actions.
2737 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2738 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2741 } # ac_fn_cxx_try_link
2742 cat >config.log <<_ACEOF
2743 This file contains any messages produced by compilers while
2744 running configure, to aid debugging if configure makes a mistake.
2746 It was created by $as_me, which was
2747 generated by GNU Autoconf 2.64. Invocation command line was
2759 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2760 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2761 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2762 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2763 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2765 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2766 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2768 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2769 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2770 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2771 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2772 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2773 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2774 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir=.
2783 $as_echo "PATH: $as_dir"
2799 # Keep a trace of the command line.
2800 # Strip out --no-create and --no-recursion so they do not pile up.
2801 # Strip out --silent because we don't want to record it for future runs.
2802 # Also quote any args containing shell meta-characters.
2803 # Make two passes to allow for proper duplicate-argument suppression.
2807 ac_must_keep_next=false
2813 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2814 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2815 | -silent | --silent | --silen | --sile | --sil)
2818 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2821 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2823 as_fn_append ac_configure_args1 " '$ac_arg'"
2824 if test $ac_must_keep_next = true; then
2825 ac_must_keep_next=false # Got value, back to normal.
2828 *=* | --config-cache | -C | -disable-* | --disable-* \
2829 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2830 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2831 | -with-* | --with-* | -without-* | --without-* | --x)
2832 case "$ac_configure_args0 " in
2833 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2836 -* ) ac_must_keep_next=true ;;
2839 as_fn_append ac_configure_args " '$ac_arg'"
2844 { ac_configure_args0=; unset ac_configure_args0;}
2845 { ac_configure_args1=; unset ac_configure_args1;}
2847 # When interrupted or exit'd, cleanup temporary files, and complete
2848 # config.log. We remove comments because anyway the quotes in there
2849 # would cause problems or look ugly.
2850 # WARNING: Use '\'' to represent an apostrophe within the trap.
2851 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2852 trap 'exit_status=$?
2853 # Save into config.log some information that might help in debugging.
2858 ## ---------------- ##
2859 ## Cache variables. ##
2860 ## ---------------- ##
2863 # The following way of writing the cache mishandles newlines in values,
2865 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2866 eval ac_val=\$$ac_var
2870 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2871 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2874 _ | IFS | as_nl) ;; #(
2875 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2876 *) { eval $ac_var=; unset $ac_var;} ;;
2881 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2882 *${as_nl}ac_space=\ *)
2884 "s/'\''/'\''\\\\'\'''\''/g;
2885 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2888 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2896 ## ----------------- ##
2897 ## Output variables. ##
2898 ## ----------------- ##
2901 for ac_var in $ac_subst_vars
2903 eval ac_val=\$$ac_var
2905 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2907 $as_echo "$ac_var='\''$ac_val'\''"
2911 if test -n "$ac_subst_files"; then
2913 ## ------------------- ##
2914 ## File substitutions. ##
2915 ## ------------------- ##
2918 for ac_var in $ac_subst_files
2920 eval ac_val=\$$ac_var
2922 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2924 $as_echo "$ac_var='\''$ac_val'\''"
2929 if test -s confdefs.h; then
2939 test "$ac_signal" != 0 &&
2940 $as_echo "$as_me: caught signal $ac_signal"
2941 $as_echo "$as_me: exit $exit_status"
2943 rm -f core *.core core.conftest.* &&
2944 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2947 for ac_signal in 1 2 13 15; do
2948 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2952 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2953 rm -f -r conftest* confdefs.h
2955 $as_echo "/* confdefs.h */" > confdefs.h
2957 # Predefined preprocessor variables.
2959 cat >>confdefs.h <<_ACEOF
2960 #define PACKAGE_NAME "$PACKAGE_NAME"
2963 cat >>confdefs.h <<_ACEOF
2964 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2967 cat >>confdefs.h <<_ACEOF
2968 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2971 cat >>confdefs.h <<_ACEOF
2972 #define PACKAGE_STRING "$PACKAGE_STRING"
2975 cat >>confdefs.h <<_ACEOF
2976 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2979 cat >>confdefs.h <<_ACEOF
2980 #define PACKAGE_URL "$PACKAGE_URL"
2984 # Let the site file select an alternate cache file if it wants to.
2985 # Prefer an explicitly selected file to automatically selected ones.
2988 if test -n "$CONFIG_SITE"; then
2989 ac_site_file1=$CONFIG_SITE
2990 elif test "x$prefix" != xNONE; then
2991 ac_site_file1=$prefix/share/config.site
2992 ac_site_file2=$prefix/etc/config.site
2994 ac_site_file1=$ac_default_prefix/share/config.site
2995 ac_site_file2=$ac_default_prefix/etc/config.site
2997 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2999 test "x$ac_site_file" = xNONE && continue
3000 if test -r "$ac_site_file"; then
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3002 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3003 sed 's/^/| /' "$ac_site_file" >&5
3008 if test -r "$cache_file"; then
3009 # Some versions of bash will fail to source /dev/null (special
3010 # files actually), so we avoid doing that.
3011 if test -f "$cache_file"; then
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3013 $as_echo "$as_me: loading cache $cache_file" >&6;}
3015 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3016 *) . "./$cache_file";;
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3021 $as_echo "$as_me: creating cache $cache_file" >&6;}
3025 # Check that the precious variables saved in the cache have kept the same
3027 ac_cache_corrupted=false
3028 for ac_var in $ac_precious_vars; do
3029 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3030 eval ac_new_set=\$ac_env_${ac_var}_set
3031 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3032 eval ac_new_val=\$ac_env_${ac_var}_value
3033 case $ac_old_set,$ac_new_set in
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3036 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3037 ac_cache_corrupted=: ;;
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3040 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3041 ac_cache_corrupted=: ;;
3044 if test "x$ac_old_val" != "x$ac_new_val"; then
3045 # differences in whitespace do not lead to failure.
3046 ac_old_val_w=`echo x $ac_old_val`
3047 ac_new_val_w=`echo x $ac_new_val`
3048 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3050 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3051 ac_cache_corrupted=:
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3054 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3055 eval $ac_var=\$ac_old_val
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3058 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3060 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3063 # Pass precious variables to config.status.
3064 if test "$ac_new_set" = set; then
3066 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3067 *) ac_arg=$ac_var=$ac_new_val ;;
3069 case " $ac_configure_args " in
3070 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3071 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3075 if $ac_cache_corrupted; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3079 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3080 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3082 ## -------------------- ##
3083 ## Main body of script. ##
3084 ## -------------------- ##
3087 ac_cpp='$CPP $CPPFLAGS'
3088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3097 ac_config_headers="$ac_config_headers auto-host.h:config.in"
3100 gcc_version=`cat $srcdir/BASE-VER`
3102 # Determine the host, build, and target systems
3104 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3105 for ac_t in install-sh install.sh shtool; do
3106 if test -f "$ac_dir/$ac_t"; then
3108 ac_install_sh="$ac_aux_dir/$ac_t -c"
3113 if test -z "$ac_aux_dir"; then
3114 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3117 # These three variables are undocumented and unsupported,
3118 # and are intended to be withdrawn in a future Autoconf release.
3119 # They can cause serious problems if a builder's source tree is in a directory
3120 # whose full name contains unusual characters.
3121 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3122 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3123 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3126 # Make sure we can run config.sub.
3127 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3128 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3131 $as_echo_n "checking build system type... " >&6; }
3132 if test "${ac_cv_build+set}" = set; then :
3133 $as_echo_n "(cached) " >&6
3135 ac_build_alias=$build_alias
3136 test "x$ac_build_alias" = x &&
3137 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3138 test "x$ac_build_alias" = x &&
3139 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3140 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3141 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3145 $as_echo "$ac_cv_build" >&6; }
3146 case $ac_cv_build in
3148 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3151 ac_save_IFS=$IFS; IFS='-'
3157 # Remember, the first character of IFS is used to create $*,
3158 # except with old shells:
3161 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3165 $as_echo_n "checking host system type... " >&6; }
3166 if test "${ac_cv_host+set}" = set; then :
3167 $as_echo_n "(cached) " >&6
3169 if test "x$host_alias" = x; then
3170 ac_cv_host=$ac_cv_build
3172 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3173 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3178 $as_echo "$ac_cv_host" >&6; }
3181 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3184 ac_save_IFS=$IFS; IFS='-'
3190 # Remember, the first character of IFS is used to create $*,
3191 # except with old shells:
3194 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3198 $as_echo_n "checking target system type... " >&6; }
3199 if test "${ac_cv_target+set}" = set; then :
3200 $as_echo_n "(cached) " >&6
3202 if test "x$target_alias" = x; then
3203 ac_cv_target=$ac_cv_host
3205 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3206 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3211 $as_echo "$ac_cv_target" >&6; }
3212 case $ac_cv_target in
3214 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3216 target=$ac_cv_target
3217 ac_save_IFS=$IFS; IFS='-'
3223 # Remember, the first character of IFS is used to create $*,
3224 # except with old shells:
3227 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3230 # The aliases save the names the user supplied, while $host etc.
3231 # will get canonicalized.
3232 test -n "$target_alias" &&
3233 test "$program_prefix$program_suffix$program_transform_name" = \
3235 program_prefix=${target_alias}-
3237 # Determine the noncanonical target name, for directory use.
3238 case ${build_alias} in
3239 "") build_noncanonical=${build} ;;
3240 *) build_noncanonical=${build_alias} ;;
3243 case ${host_alias} in
3244 "") host_noncanonical=${build_noncanonical} ;;
3245 *) host_noncanonical=${host_alias} ;;
3248 case ${target_alias} in
3249 "") target_noncanonical=${host_noncanonical} ;;
3250 *) target_noncanonical=${target_alias} ;;
3256 # Determine the target- and build-specific subdirectories
3258 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3259 # have matching libraries, they should use host libraries: Makefile.tpl
3260 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3261 # However, they still use the build modules, because the corresponding
3262 # host modules (e.g. bison) are only built for the host when bootstrap
3264 # - build_subdir is where we find build modules, and never changes.
3265 # - build_libsubdir is where we find build libraries, and can be overridden.
3267 # Prefix 'build-' so this never conflicts with target_subdir.
3268 build_subdir="build-${build_noncanonical}"
3270 # Check whether --with-build-libsubdir was given.
3271 if test "${with_build_libsubdir+set}" = set; then :
3272 withval=$with_build_libsubdir; build_libsubdir="$withval"
3274 build_libsubdir="$build_subdir"
3277 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3278 if ( test $srcdir = . && test -d gcc ) \
3279 || test -d $srcdir/../host-${host_noncanonical}; then
3280 host_subdir="host-${host_noncanonical}"
3285 target_subdir=${target_noncanonical}
3288 # Set program_transform_name
3289 test "$program_prefix" != NONE &&
3290 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3291 # Use a double $ so make ignores it.
3292 test "$program_suffix" != NONE &&
3293 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3294 # Double any \ or $.
3295 # By default was `s,x,x', remove it if useless.
3296 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3297 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3300 # Check for bogus environment variables.
3301 # Test if LIBRARY_PATH contains the notation for the current directory
3302 # since this would lead to problems installing/building glibc.
3303 # LIBRARY_PATH contains the current directory if one of the following
3305 # - one of the terminals (":" and ";") is the first or last sign
3306 # - two terminals occur directly after each other
3307 # - the path contains an element with a dot in it
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRARY_PATH variable" >&5
3309 $as_echo_n "checking LIBRARY_PATH variable... " >&6; }
3310 case ${LIBRARY_PATH} in
3311 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
3312 library_path_setting="contains current directory"
3315 library_path_setting="ok"
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $library_path_setting" >&5
3319 $as_echo "$library_path_setting" >&6; }
3320 if test "$library_path_setting" != "ok"; then
3322 *** LIBRARY_PATH shouldn't contain the current directory when
3323 *** building gcc. Please change the environment variable
3324 *** and run configure again." "$LINENO" 5
3327 # Test if GCC_EXEC_PREFIX contains the notation for the current directory
3328 # since this would lead to problems installing/building glibc.
3329 # GCC_EXEC_PREFIX contains the current directory if one of the following
3331 # - one of the terminals (":" and ";") is the first or last sign
3332 # - two terminals occur directly after each other
3333 # - the path contains an element with a dot in it
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC_EXEC_PREFIX variable" >&5
3335 $as_echo_n "checking GCC_EXEC_PREFIX variable... " >&6; }
3336 case ${GCC_EXEC_PREFIX} in
3337 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
3338 gcc_exec_prefix_setting="contains current directory"
3341 gcc_exec_prefix_setting="ok"
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_exec_prefix_setting" >&5
3345 $as_echo "$gcc_exec_prefix_setting" >&6; }
3346 if test "$gcc_exec_prefix_setting" != "ok"; then
3348 *** GCC_EXEC_PREFIX shouldn't contain the current directory when
3349 *** building gcc. Please change the environment variable
3350 *** and run configure again." "$LINENO" 5
3357 # Specify the local prefix
3360 # Check whether --with-local-prefix was given.
3361 if test "${with_local_prefix+set}" = set; then :
3362 withval=$with_local_prefix; case "${withval}" in
3363 yes) as_fn_error "bad value ${withval} given for local include directory prefix" "$LINENO" 5 ;;
3365 *) local_prefix=$with_local_prefix ;;
3370 # Default local prefix if it is empty
3371 if test x$local_prefix = x; then
3372 local_prefix=/usr/local
3375 # Don't set gcc_gxx_include_dir to gxx_include_dir since that's only
3376 # passed in by the toplevel make and thus we'd get different behavior
3377 # depending on where we built the sources.
3378 gcc_gxx_include_dir=
3379 # Specify the g++ header file directory
3381 # Check whether --with-gxx-include-dir was given.
3382 if test "${with_gxx_include_dir+set}" = set; then :
3383 withval=$with_gxx_include_dir; case "${withval}" in
3384 yes) as_fn_error "bad value ${withval} given for g++ include directory" "$LINENO" 5 ;;
3386 *) gcc_gxx_include_dir=$with_gxx_include_dir ;;
3391 # This logic must match libstdc++-v3/acinclude.m4:GLIBCXX_EXPORT_INSTALL_INFO.
3392 if test x${gcc_gxx_include_dir} = x; then
3393 if test x${enable_version_specific_runtime_libs} = xyes; then
3394 gcc_gxx_include_dir='${libsubdir}/include/c++'
3396 libstdcxx_incdir='include/c++/$(version)'
3397 if test x$host != x$target; then
3398 libstdcxx_incdir="$target_alias/$libstdcxx_incdir"
3400 gcc_gxx_include_dir="\$(libsubdir)/\$(libsubdir_to_prefix)$libstdcxx_incdir"
3405 # Check whether --with-cpp_install_dir was given.
3406 if test "${with_cpp_install_dir+set}" = set; then :
3407 withval=$with_cpp_install_dir; if test x$withval = xyes; then
3408 as_fn_error "option --with-cpp-install-dir requires an argument" "$LINENO" 5
3409 elif test x$withval != xno; then
3410 cpp_install_dir=$withval
3415 # We would like to our source tree to be readonly. However when releases or
3416 # pre-releases are generated, the flex/bison generated files as well as the
3417 # various formats of manuals need to be included along with the rest of the
3418 # sources. Therefore we have --enable-generated-files-in-srcdir to do
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to place generated files in the source directory" >&5
3422 $as_echo_n "checking whether to place generated files in the source directory... " >&6; }
3423 # Check whether --enable-generated-files-in-srcdir was given.
3424 if test "${enable_generated_files_in_srcdir+set}" = set; then :
3425 enableval=$enable_generated_files_in_srcdir; generated_files_in_srcdir=$enableval
3427 generated_files_in_srcdir=no
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $generated_files_in_srcdir" >&5
3432 $as_echo "$generated_files_in_srcdir" >&6; }
3434 if test "$generated_files_in_srcdir" = "yes"; then
3441 # -------------------
3442 # Find default linker
3443 # -------------------
3447 # Check whether --with-gnu-ld was given.
3448 if test "${with_gnu_ld+set}" = set; then :
3449 withval=$with_gnu_ld; gnu_ld_flag="$with_gnu_ld"
3455 # With pre-defined ld
3457 # Check whether --with-ld was given.
3458 if test "${with_ld+set}" = set; then :
3459 withval=$with_ld; DEFAULT_LINKER="$with_ld"
3462 if test x"${DEFAULT_LINKER+set}" = x"set"; then
3463 if test ! -x "$DEFAULT_LINKER"; then
3464 as_fn_error "cannot execute: $DEFAULT_LINKER: check --with-ld or env. var. DEFAULT_LINKER" "$LINENO" 5
3465 elif $DEFAULT_LINKER -v < /dev/null 2>&1 | grep GNU > /dev/null; then
3469 cat >>confdefs.h <<_ACEOF
3470 #define DEFAULT_LINKER "$DEFAULT_LINKER"
3475 gnu_ld=`if test x"$gnu_ld_flag" = x"yes"; then echo 1; else echo 0; fi`
3477 cat >>confdefs.h <<_ACEOF
3478 #define HAVE_GNU_LD $gnu_ld
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a default linker was specified" >&5
3483 $as_echo_n "checking whether a default linker was specified... " >&6; }
3484 if test x"${DEFAULT_LINKER+set}" = x"set"; then
3485 if test x"$gnu_ld_flag" = x"no"; then
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($DEFAULT_LINKER)" >&5
3487 $as_echo "yes ($DEFAULT_LINKER)" >&6; }
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($DEFAULT_LINKER - GNU ld)" >&5
3490 $as_echo "yes ($DEFAULT_LINKER - GNU ld)" >&6; }
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 $as_echo "no" >&6; }
3497 # With demangler in GNU ld
3499 # Check whether --with-demangler-in-ld was given.
3500 if test "${with_demangler_in_ld+set}" = set; then :
3501 withval=$with_demangler_in_ld; demangler_in_ld="$with_demangler_in_ld"
3507 # ----------------------
3508 # Find default assembler
3509 # ----------------------
3513 # Check whether --with-gnu-as was given.
3514 if test "${with_gnu_as+set}" = set; then :
3515 withval=$with_gnu_as; gas_flag="$with_gnu_as"
3522 # Check whether --with-as was given.
3523 if test "${with_as+set}" = set; then :
3524 withval=$with_as; DEFAULT_ASSEMBLER="$with_as"
3527 if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
3528 if test ! -x "$DEFAULT_ASSEMBLER"; then
3529 as_fn_error "cannot execute: $DEFAULT_ASSEMBLER: check --with-as or env. var. DEFAULT_ASSEMBLER" "$LINENO" 5
3530 elif $DEFAULT_ASSEMBLER -v < /dev/null 2>&1 | grep GNU > /dev/null; then
3534 cat >>confdefs.h <<_ACEOF
3535 #define DEFAULT_ASSEMBLER "$DEFAULT_ASSEMBLER"
3540 gnu_as=`if test x"$gas_flag" = x"yes"; then echo 1; else echo 0; fi`
3542 cat >>confdefs.h <<_ACEOF
3543 #define HAVE_GNU_AS $gnu_as
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a default assembler was specified" >&5
3548 $as_echo_n "checking whether a default assembler was specified... " >&6; }
3549 if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
3550 if test x"$gas_flag" = x"no"; then
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($DEFAULT_ASSEMBLER)" >&5
3552 $as_echo "yes ($DEFAULT_ASSEMBLER)" >&6; }
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($DEFAULT_ASSEMBLER - GNU as)" >&5
3555 $as_echo "yes ($DEFAULT_ASSEMBLER - GNU as)" >&6; }
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559 $as_echo "no" >&6; }
3566 # If a non-executable a.out is present (e.g. created by GNU as above even if
3567 # invoked with -v only), the IRIX 6 native ld just overwrites the existing
3568 # file, even when creating an executable, so an execution test fails.
3569 # Remove possible default executable files to avoid this.
3571 # FIXME: This really belongs into AC_PROG_CC and can be removed once
3572 # Autoconf includes it.
3573 rm -f a.out a.exe b.out
3575 # Find the native compiler
3577 ac_cpp='$CPP $CPPFLAGS'
3578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3581 if test -n "$ac_tool_prefix"; then
3582 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3583 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if test "${ac_cv_prog_CC+set}" = set; then :
3587 $as_echo_n "(cached) " >&6
3589 if test -n "$CC"; then
3590 ac_cv_prog_CC="$CC" # Let the user override the test.
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3596 test -z "$as_dir" && as_dir=.
3597 for ac_exec_ext in '' $ac_executable_extensions; do
3598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3599 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3610 if test -n "$CC"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3612 $as_echo "$CC" >&6; }
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3620 if test -z "$ac_cv_prog_CC"; then
3622 # Extract the first word of "gcc", so it can be a program name with args.
3623 set dummy gcc; ac_word=$2
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3625 $as_echo_n "checking for $ac_word... " >&6; }
3626 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3627 $as_echo_n "(cached) " >&6
3629 if test -n "$ac_ct_CC"; then
3630 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3636 test -z "$as_dir" && as_dir=.
3637 for ac_exec_ext in '' $ac_executable_extensions; do
3638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3639 ac_cv_prog_ac_ct_CC="gcc"
3640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3649 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3650 if test -n "$ac_ct_CC"; then
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3652 $as_echo "$ac_ct_CC" >&6; }
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655 $as_echo "no" >&6; }
3658 if test "x$ac_ct_CC" = x; then
3661 case $cross_compiling:$ac_tool_warned in
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3665 ac_tool_warned=yes ;;
3673 if test -z "$CC"; then
3674 if test -n "$ac_tool_prefix"; then
3675 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3676 set dummy ${ac_tool_prefix}cc; ac_word=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if test "${ac_cv_prog_CC+set}" = set; then :
3680 $as_echo_n "(cached) " >&6
3682 if test -n "$CC"; then
3683 ac_cv_prog_CC="$CC" # Let the user override the test.
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3689 test -z "$as_dir" && as_dir=.
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3692 ac_cv_prog_CC="${ac_tool_prefix}cc"
3693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 if test -n "$CC"; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3705 $as_echo "$CC" >&6; }
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708 $as_echo "no" >&6; }
3714 if test -z "$CC"; then
3715 # Extract the first word of "cc", so it can be a program name with args.
3716 set dummy cc; ac_word=$2
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3718 $as_echo_n "checking for $ac_word... " >&6; }
3719 if test "${ac_cv_prog_CC+set}" = set; then :
3720 $as_echo_n "(cached) " >&6
3722 if test -n "$CC"; then
3723 ac_cv_prog_CC="$CC" # Let the user override the test.
3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730 test -z "$as_dir" && as_dir=.
3731 for ac_exec_ext in '' $ac_executable_extensions; do
3732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3733 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3734 ac_prog_rejected=yes
3738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3745 if test $ac_prog_rejected = yes; then
3746 # We found a bogon in the path, so make sure we never use it.
3747 set dummy $ac_cv_prog_CC
3749 if test $# != 0; then
3750 # We chose a different compiler from the bogus one.
3751 # However, it has the same basename, so the bogon will be chosen
3752 # first if we set CC to just the basename; use the full file name.
3754 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3760 if test -n "$CC"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3762 $as_echo "$CC" >&6; }
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3770 if test -z "$CC"; then
3771 if test -n "$ac_tool_prefix"; then
3772 for ac_prog in cl.exe
3774 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3775 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5