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
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir=.
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir=./$as_dir;;
291 test -d "$as_dir" || eval $as_mkdir_p || {
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
360 as_val=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status=$?; test $as_status -eq 0 && as_status=1
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
487 elif ln conf$$.file conf$$ 2>/dev/null; then
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
501 test -d ./-p && rmdir ./-p
505 if test -x / >/dev/null 2>&1; then
508 if ls -dL / >/dev/null 2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix=/usr/local
549 ac_config_libobj_dir=.
556 # Identity of this package.
564 ac_unique_file="tree.c"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars='LTLIBOBJS
650 TM_MULTILIB_EXCEPTIONS_CONFIG
659 build_xm_include_list
661 build_install_headers_dir
663 all_selected_languages
683 ORIGINAL_NM_FOR_TARGET
685 ORIGINAL_LD_FOR_TARGET
686 ORIGINAL_PLUGIN_LD_FOR_TARGET
688 ORIGINAL_AS_FOR_TARGET
760 CROSS_SYSTEM_HEADER_DIR
761 TARGET_SYSTEM_ROOT_DEFINE
767 ENABLE_BUILD_WITH_CXX
770 valgrind_path_defines
842 program_transform_name
853 ac_subst_files='language_hooks'
855 enable_option_checking
860 enable_generated_files_in_srcdir
869 enable_gather_detailed_mem_stats
870 enable_build_with_cxx
890 enable_initfini_array
891 enable_sjlj_exceptions
892 with_system_libunwind
895 enable_win32_registry
901 enable_gnu_unique_object
902 enable_linker_build_id
906 enable_maintainer_mode
907 enable_version_specific_runtime_libs
911 ac_precious_vars='build_alias
934 # Initialize some variables set by options.
936 ac_init_version=false
937 ac_unrecognized_opts=
939 # The variables have the same names as the options, with
940 # dashes changed to underlines.
948 program_transform_name=s,x,x,
956 # Installation directory options.
957 # These are left unexpanded so users can "make install exec_prefix=/foo"
958 # and all the variables that are supposed to be based on exec_prefix
959 # by default will actually change.
960 # Use braces instead of parens because sh, perl, etc. also accept them.
961 # (The list follows the same order as the GNU Coding Standards.)
962 bindir='${exec_prefix}/bin'
963 sbindir='${exec_prefix}/sbin'
964 libexecdir='${exec_prefix}/libexec'
965 datarootdir='${prefix}/share'
966 datadir='${datarootdir}'
967 sysconfdir='${prefix}/etc'
968 sharedstatedir='${prefix}/com'
969 localstatedir='${prefix}/var'
970 includedir='${prefix}/include'
971 oldincludedir='/usr/include'
972 docdir='${datarootdir}/doc/${PACKAGE}'
973 infodir='${datarootdir}/info'
978 libdir='${exec_prefix}/lib'
979 localedir='${datarootdir}/locale'
980 mandir='${datarootdir}/man'
986 # If the previous option needs an argument, assign it.
987 if test -n "$ac_prev"; then
988 eval $ac_prev=\$ac_option
994 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
998 # Accept the important Cygnus configure options, so we can diagnose typos.
1000 case $ac_dashdash$ac_option in
1004 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1006 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1007 bindir=$ac_optarg ;;
1009 -build | --build | --buil | --bui | --bu)
1010 ac_prev=build_alias ;;
1011 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1012 build_alias=$ac_optarg ;;
1014 -cache-file | --cache-file | --cache-fil | --cache-fi \
1015 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1016 ac_prev=cache_file ;;
1017 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1018 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1019 cache_file=$ac_optarg ;;
1021 --config-cache | -C)
1022 cache_file=config.cache ;;
1024 -datadir | --datadir | --datadi | --datad)
1026 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1027 datadir=$ac_optarg ;;
1029 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1030 | --dataroo | --dataro | --datar)
1031 ac_prev=datarootdir ;;
1032 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1033 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1034 datarootdir=$ac_optarg ;;
1036 -disable-* | --disable-*)
1037 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1040 as_fn_error "invalid feature name: $ac_useropt"
1041 ac_useropt_orig=$ac_useropt
1042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1045 "enable_$ac_useropt"
1047 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1048 ac_unrecognized_sep=', ';;
1050 eval enable_$ac_useropt=no ;;
1052 -docdir | --docdir | --docdi | --doc | --do)
1054 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1055 docdir=$ac_optarg ;;
1057 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1059 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1060 dvidir=$ac_optarg ;;
1062 -enable-* | --enable-*)
1063 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1066 as_fn_error "invalid feature name: $ac_useropt"
1067 ac_useropt_orig=$ac_useropt
1068 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069 case $ac_user_opts in
1071 "enable_$ac_useropt"
1073 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1074 ac_unrecognized_sep=', ';;
1076 eval enable_$ac_useropt=\$ac_optarg ;;
1078 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1079 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1080 | --exec | --exe | --ex)
1081 ac_prev=exec_prefix ;;
1082 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1083 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1084 | --exec=* | --exe=* | --ex=*)
1085 exec_prefix=$ac_optarg ;;
1087 -gas | --gas | --ga | --g)
1088 # Obsolete; use --with-gas.
1091 -help | --help | --hel | --he | -h)
1092 ac_init_help=long ;;
1093 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1094 ac_init_help=recursive ;;
1095 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1096 ac_init_help=short ;;
1098 -host | --host | --hos | --ho)
1099 ac_prev=host_alias ;;
1100 -host=* | --host=* | --hos=* | --ho=*)
1101 host_alias=$ac_optarg ;;
1103 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1105 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1107 htmldir=$ac_optarg ;;
1109 -includedir | --includedir | --includedi | --included | --include \
1110 | --includ | --inclu | --incl | --inc)
1111 ac_prev=includedir ;;
1112 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1113 | --includ=* | --inclu=* | --incl=* | --inc=*)
1114 includedir=$ac_optarg ;;
1116 -infodir | --infodir | --infodi | --infod | --info | --inf)
1118 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1119 infodir=$ac_optarg ;;
1121 -libdir | --libdir | --libdi | --libd)
1123 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1124 libdir=$ac_optarg ;;
1126 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1127 | --libexe | --libex | --libe)
1128 ac_prev=libexecdir ;;
1129 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1130 | --libexe=* | --libex=* | --libe=*)
1131 libexecdir=$ac_optarg ;;
1133 -localedir | --localedir | --localedi | --localed | --locale)
1134 ac_prev=localedir ;;
1135 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1136 localedir=$ac_optarg ;;
1138 -localstatedir | --localstatedir | --localstatedi | --localstated \
1139 | --localstate | --localstat | --localsta | --localst | --locals)
1140 ac_prev=localstatedir ;;
1141 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1142 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1143 localstatedir=$ac_optarg ;;
1145 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1147 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1148 mandir=$ac_optarg ;;
1150 -nfp | --nfp | --nf)
1151 # Obsolete; use --without-fp.
1154 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1155 | --no-cr | --no-c | -n)
1158 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1159 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1162 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1163 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1164 | --oldin | --oldi | --old | --ol | --o)
1165 ac_prev=oldincludedir ;;
1166 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1167 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1168 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1169 oldincludedir=$ac_optarg ;;
1171 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1173 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1174 prefix=$ac_optarg ;;
1176 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1177 | --program-pre | --program-pr | --program-p)
1178 ac_prev=program_prefix ;;
1179 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1180 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1181 program_prefix=$ac_optarg ;;
1183 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1184 | --program-suf | --program-su | --program-s)
1185 ac_prev=program_suffix ;;
1186 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1187 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1188 program_suffix=$ac_optarg ;;
1190 -program-transform-name | --program-transform-name \
1191 | --program-transform-nam | --program-transform-na \
1192 | --program-transform-n | --program-transform- \
1193 | --program-transform | --program-transfor \
1194 | --program-transfo | --program-transf \
1195 | --program-trans | --program-tran \
1196 | --progr-tra | --program-tr | --program-t)
1197 ac_prev=program_transform_name ;;
1198 -program-transform-name=* | --program-transform-name=* \
1199 | --program-transform-nam=* | --program-transform-na=* \
1200 | --program-transform-n=* | --program-transform-=* \
1201 | --program-transform=* | --program-transfor=* \
1202 | --program-transfo=* | --program-transf=* \
1203 | --program-trans=* | --program-tran=* \
1204 | --progr-tra=* | --program-tr=* | --program-t=*)
1205 program_transform_name=$ac_optarg ;;
1207 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1209 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1210 pdfdir=$ac_optarg ;;
1212 -psdir | --psdir | --psdi | --psd | --ps)
1214 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1218 | -silent | --silent | --silen | --sile | --sil)
1221 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1223 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1225 sbindir=$ac_optarg ;;
1227 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1228 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1229 | --sharedst | --shareds | --shared | --share | --shar \
1231 ac_prev=sharedstatedir ;;
1232 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1233 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1234 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1236 sharedstatedir=$ac_optarg ;;
1238 -site | --site | --sit)
1240 -site=* | --site=* | --sit=*)
1243 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1245 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1246 srcdir=$ac_optarg ;;
1248 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1249 | --syscon | --sysco | --sysc | --sys | --sy)
1250 ac_prev=sysconfdir ;;
1251 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1252 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1253 sysconfdir=$ac_optarg ;;
1255 -target | --target | --targe | --targ | --tar | --ta | --t)
1256 ac_prev=target_alias ;;
1257 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1258 target_alias=$ac_optarg ;;
1260 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1263 -version | --version | --versio | --versi | --vers | -V)
1264 ac_init_version=: ;;
1267 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1268 # Reject names that are not valid shell variable names.
1269 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1270 as_fn_error "invalid package name: $ac_useropt"
1271 ac_useropt_orig=$ac_useropt
1272 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1273 case $ac_user_opts in
1277 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1278 ac_unrecognized_sep=', ';;
1280 eval with_$ac_useropt=\$ac_optarg ;;
1282 -without-* | --without-*)
1283 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1284 # Reject names that are not valid shell variable names.
1285 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1286 as_fn_error "invalid package name: $ac_useropt"
1287 ac_useropt_orig=$ac_useropt
1288 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1289 case $ac_user_opts in
1293 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1294 ac_unrecognized_sep=', ';;
1296 eval with_$ac_useropt=no ;;
1299 # Obsolete; use --with-x.
1302 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1303 | --x-incl | --x-inc | --x-in | --x-i)
1304 ac_prev=x_includes ;;
1305 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1306 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1307 x_includes=$ac_optarg ;;
1309 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1310 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1311 ac_prev=x_libraries ;;
1312 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1313 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1314 x_libraries=$ac_optarg ;;
1316 -*) as_fn_error "unrecognized option: \`$ac_option'
1317 Try \`$0 --help' for more information."
1321 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1322 # Reject names that are not valid shell variable names.
1323 case $ac_envvar in #(
1324 '' | [0-9]* | *[!_$as_cr_alnum]* )
1325 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1327 eval $ac_envvar=\$ac_optarg
1328 export $ac_envvar ;;
1331 # FIXME: should be removed in autoconf 3.0.
1332 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1333 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1334 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1335 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1341 if test -n "$ac_prev"; then
1342 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1343 as_fn_error "missing argument to $ac_option"
1346 if test -n "$ac_unrecognized_opts"; then
1347 case $enable_option_checking in
1349 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1350 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1354 # Check all directory arguments for consistency.
1355 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1356 datadir sysconfdir sharedstatedir localstatedir includedir \
1357 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1358 libdir localedir mandir
1360 eval ac_val=\$$ac_var
1361 # Remove trailing slashes.
1364 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1365 eval $ac_var=\$ac_val;;
1367 # Be sure to have absolute directory names.
1369 [\\/$]* | ?:[\\/]* ) continue;;
1370 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1372 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1375 # There might be people who depend on the old broken behavior: `$host'
1376 # used to hold the argument of --host etc.
1377 # FIXME: To remove some day.
1380 target=$target_alias
1382 # FIXME: To remove some day.
1383 if test "x$host_alias" != x; then
1384 if test "x$build_alias" = x; then
1385 cross_compiling=maybe
1386 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1387 If a cross compiler is detected then cross compile mode will be used." >&2
1388 elif test "x$build_alias" != "x$host_alias"; then
1394 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1396 test "$silent" = yes && exec 6>/dev/null
1399 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1400 ac_ls_di=`ls -di .` &&
1401 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1402 as_fn_error "working directory cannot be determined"
1403 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1404 as_fn_error "pwd does not report name of working directory"
1407 # Find the source files, if location was not specified.
1408 if test -z "$srcdir"; then
1409 ac_srcdir_defaulted=yes
1410 # Try the directory containing this script, then the parent directory.
1411 ac_confdir=`$as_dirname -- "$as_myself" ||
1412 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1413 X"$as_myself" : 'X\(//\)[^/]' \| \
1414 X"$as_myself" : 'X\(//\)$' \| \
1415 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1416 $as_echo X"$as_myself" |
1417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1435 if test ! -r "$srcdir/$ac_unique_file"; then
1439 ac_srcdir_defaulted=no
1441 if test ! -r "$srcdir/$ac_unique_file"; then
1442 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1443 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1445 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1447 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1449 # When building in place, set srcdir=.
1450 if test "$ac_abs_confdir" = "$ac_pwd"; then
1453 # Remove unnecessary trailing slashes from srcdir.
1454 # Double slashes in file names in object file debugging info
1455 # mess up M-x gdb in Emacs.
1457 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1459 for ac_var in $ac_precious_vars; do
1460 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1461 eval ac_env_${ac_var}_value=\$${ac_var}
1462 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1463 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1467 # Report the --help message.
1469 if test "$ac_init_help" = "long"; then
1470 # Omit some internal or obsolete options to make the list less imposing.
1471 # This message is too long to be a string in the A/UX 3.1 sh.
1473 \`configure' configures this package to adapt to many kinds of systems.
1475 Usage: $0 [OPTION]... [VAR=VALUE]...
1477 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1478 VAR=VALUE. See below for descriptions of some of the useful variables.
1480 Defaults for the options are specified in brackets.
1483 -h, --help display this help and exit
1484 --help=short display options specific to this package
1485 --help=recursive display the short help of all the included packages
1486 -V, --version display version information and exit
1487 -q, --quiet, --silent do not print \`checking...' messages
1488 --cache-file=FILE cache test results in FILE [disabled]
1489 -C, --config-cache alias for \`--cache-file=config.cache'
1490 -n, --no-create do not create output files
1491 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1493 Installation directories:
1494 --prefix=PREFIX install architecture-independent files in PREFIX
1495 [$ac_default_prefix]
1496 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1499 By default, \`make install' will install all the files in
1500 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1501 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1502 for instance \`--prefix=\$HOME'.
1504 For better control, use the options below.
1506 Fine tuning of the installation directories:
1507 --bindir=DIR user executables [EPREFIX/bin]
1508 --sbindir=DIR system admin executables [EPREFIX/sbin]
1509 --libexecdir=DIR program executables [EPREFIX/libexec]
1510 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1511 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1512 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1513 --libdir=DIR object code libraries [EPREFIX/lib]
1514 --includedir=DIR C header files [PREFIX/include]
1515 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1516 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1517 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1518 --infodir=DIR info documentation [DATAROOTDIR/info]
1519 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1520 --mandir=DIR man documentation [DATAROOTDIR/man]
1521 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1522 --htmldir=DIR html documentation [DOCDIR]
1523 --dvidir=DIR dvi documentation [DOCDIR]
1524 --pdfdir=DIR pdf documentation [DOCDIR]
1525 --psdir=DIR ps documentation [DOCDIR]
1531 --program-prefix=PREFIX prepend PREFIX to installed program names
1532 --program-suffix=SUFFIX append SUFFIX to installed program names
1533 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1536 --build=BUILD configure for building on BUILD [guessed]
1537 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1538 --target=TARGET configure for building compilers for TARGET [HOST]
1542 if test -n "$ac_init_help"; then
1547 --disable-option-checking ignore unrecognized --enable/--with options
1548 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1549 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1550 --enable-generated-files-in-srcdir
1551 put copies of generated files in source dir
1552 intended for creating source tarballs for users
1553 without texinfo bison or flex.
1554 --enable-werror-always enable -Werror despite compiler version
1555 --enable-checking=LIST
1556 enable expensive run-time checks. With LIST,
1557 enable only specific categories of checks.
1558 Categories are: yes,no,all,none,release.
1559 Flags are: assert,df,fold,gc,gcac,gimple,misc,
1560 rtlflag,rtl,runtime,tree,valgrind,types.
1561 --enable-coverage=LEVEL
1562 enable compiler's code coverage collection.
1563 Use to measure compiler performance and locate
1564 unused parts of the compiler. With LEVEL, specify
1565 optimization. Values are opt, noopt,
1567 --enable-gather-detailed-mem-stats enable detailed memory allocation stats gathering
1568 --enable-build-with-cxx build with C++ compiler instead of C compiler
1569 --enable-multilib enable library support for multiple ABIs
1570 --enable-__cxa_atexit enable __cxa_atexit for C++
1571 --enable-decimal-float={no,yes,bid,dpd}
1572 enable decimal float extension to C. Selecting 'bid'
1573 or 'dpd' choses which decimal floating point format
1575 --enable-fixed-point enable fixed-point arithmetic extension to C
1576 --enable-threads enable thread usage for target GCC
1577 --enable-threads=LIB use LIB thread package for target GCC
1578 --enable-tls enable or disable generation of tls code
1579 overriding the assembler check for tls support
1580 --enable-objc-gc enable the use of Boehm's garbage collector with
1581 the GNU Objective-C runtime
1582 --disable-shared don't provide a shared libgcc
1583 --enable-intermodule build the compiler in one step
1584 --enable-languages=LIST specify which front-ends to build
1585 --disable-rpath do not hardcode runtime library paths
1586 --enable-initfini-array use .init_array/.fini_array sections
1587 --enable-sjlj-exceptions
1588 arrange to use setjmp/longjmp exception handling
1589 --enable-secureplt enable -msecure-plt by default for PowerPC
1590 --enable-cld enable -mcld by default for 32bit x86
1591 --disable-win32-registry
1592 disable lookup of installation paths in the
1593 Registry on Windows hosts
1594 --enable-win32-registry enable registry lookup (default)
1595 --enable-win32-registry=KEY
1596 use KEY instead of GCC version as the last portion
1598 --enable-shared[=PKGS] build shared libraries [default=yes]
1599 --enable-static[=PKGS] build static libraries [default=yes]
1600 --enable-fast-install[=PKGS]
1601 optimize for fast installation [default=yes]
1602 --disable-libtool-lock avoid locking (might break parallel builds)
1603 --enable-gnu-unique-object enable the use of the @gnu_unique_object ELF extension on
1605 --enable-linker-build-id
1606 compiler will always pass --build-id to linker
1607 --enable-maintainer-mode
1608 enable make rules and dependencies not useful
1609 (and sometimes confusing) to the casual installer
1610 --enable-version-specific-runtime-libs
1611 specify that runtime libraries should be
1612 installed in a compiler-specific directory
1613 --enable-plugin enable plugin support
1616 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1617 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1618 --with-build-libsubdir=DIR Directory where to find libraries for build system
1619 --with-local-prefix=DIR specifies directory to put local include
1620 --with-gxx-include-dir=DIR
1621 specifies directory to put g++ header files
1622 --with-cpp-install-dir=DIR
1623 install the user visible C preprocessor in DIR
1624 (relative to PREFIX) as well as PREFIX/bin
1625 --with-gnu-ld arrange to work with GNU ld.
1626 --with-ld arrange to use the specified ld (full pathname)
1627 --with-demangler-in-ld try to use demangler in GNU ld.
1628 --with-gnu-as arrange to work with GNU as
1629 --with-as arrange to use the specified as (full pathname)
1630 --with-stabs arrange to use stabs instead of host debug format
1631 --with-dwarf2 force the default debug format to be DWARF 2
1632 --with-build-sysroot=sysroot
1633 use sysroot as the system root during the build
1634 --with-sysroot=DIR Search for usr/lib, usr/include, et al, within DIR.
1635 --with-pkgversion=PKG Use PKG in the version string in place of "GCC"
1636 --with-bugurl=URL Direct users to URL to report a bug
1637 --with-multilib-list Select multilibs (SH only)
1638 --with-gnu-ld assume the C compiler uses GNU ld default=no
1639 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1640 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1641 --with-system-libunwind use installed libunwind
1642 --with-pic try to use only PIC/non-PIC objects [default=use
1644 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1645 --with-plugin-ld=[ARG] specify the plugin linker
1646 --with-long-double-128 Use 128-bit long double by default.
1647 --with-gc={page,zone} choose the garbage collection mechanism to use
1649 --with-system-zlib use installed libz
1650 --with-slibdir=DIR shared libraries in DIR [LIBDIR]
1652 Some influential environment variables:
1653 CC C compiler command
1654 CFLAGS C compiler flags
1655 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1656 nonstandard directory <lib dir>
1657 LIBS libraries to pass to the linker, e.g. -l<library>
1658 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1659 you have headers in a nonstandard directory <include dir>
1660 CXX C++ compiler command
1661 CXXFLAGS C++ compiler flags
1663 CXXCPP C++ preprocessor
1664 GMPLIBS How to link GMP
1665 GMPINC How to find GMP include files
1666 PPLLIBS How to link PPL
1667 PPLINC How to find PPL include files
1668 CLOOGLIBS How to link CLOOG
1669 CLOOGINC How to find CLOOG include files
1670 LIBELFLIBS How to link libelf
1671 LIBELFINC How to find libelf include files
1673 Use these variables to override the choices made by `configure' or to help
1674 it to find libraries and programs with nonstandard names/locations.
1676 Report bugs to the package provider.
1681 if test "$ac_init_help" = "recursive"; then
1682 # If there are subdirs, report their specific --help.
1683 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1684 test -d "$ac_dir" ||
1685 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1690 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1692 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1693 # A ".." for each directory in $ac_dir_suffix.
1694 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1695 case $ac_top_builddir_sub in
1696 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1697 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1700 ac_abs_top_builddir=$ac_pwd
1701 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1702 # for backward compatibility:
1703 ac_top_builddir=$ac_top_build_prefix
1706 .) # We are building in place.
1708 ac_top_srcdir=$ac_top_builddir_sub
1709 ac_abs_top_srcdir=$ac_pwd ;;
1710 [\\/]* | ?:[\\/]* ) # Absolute name.
1711 ac_srcdir=$srcdir$ac_dir_suffix;
1712 ac_top_srcdir=$srcdir
1713 ac_abs_top_srcdir=$srcdir ;;
1715 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1716 ac_top_srcdir=$ac_top_build_prefix$srcdir
1717 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1719 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1721 cd "$ac_dir" || { ac_status=$?; continue; }
1722 # Check for guested configure.
1723 if test -f "$ac_srcdir/configure.gnu"; then
1725 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1726 elif test -f "$ac_srcdir/configure"; then
1728 $SHELL "$ac_srcdir/configure" --help=recursive
1730 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1732 cd "$ac_pwd" || { ac_status=$?; break; }
1736 test -n "$ac_init_help" && exit $ac_status
1737 if $ac_init_version; then
1740 generated by GNU Autoconf 2.64
1742 Copyright (C) 2009 Free Software Foundation, Inc.
1743 This configure script is free software; the Free Software Foundation
1744 gives unlimited permission to copy, distribute and modify it.
1749 ## ------------------------ ##
1750 ## Autoconf initialization. ##
1751 ## ------------------------ ##
1753 # ac_fn_c_try_compile LINENO
1754 # --------------------------
1755 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1756 ac_fn_c_try_compile ()
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 rm -f conftest.$ac_objext
1760 if { { ac_try="$ac_compile"
1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_compile") 2>conftest.err
1769 if test -s conftest.err; then
1770 grep -v '^ *+' conftest.err >conftest.er1
1771 cat conftest.er1 >&5
1772 mv -f conftest.er1 conftest.err
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } && {
1776 test -z "$ac_c_werror_flag" ||
1777 test ! -s conftest.err
1778 } && test -s conftest.$ac_objext; then :
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1786 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1789 } # ac_fn_c_try_compile
1791 # ac_fn_cxx_try_compile LINENO
1792 # ----------------------------
1793 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1794 ac_fn_cxx_try_compile ()
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 rm -f conftest.$ac_objext
1798 if { { ac_try="$ac_compile"
1800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_compile") 2>conftest.err
1807 if test -s conftest.err; then
1808 grep -v '^ *+' conftest.err >conftest.er1
1809 cat conftest.er1 >&5
1810 mv -f conftest.er1 conftest.err
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } && {
1814 test -z "$ac_cxx_werror_flag" ||
1815 test ! -s conftest.err
1816 } && test -s conftest.$ac_objext; then :
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1827 } # ac_fn_cxx_try_compile
1829 # ac_fn_c_try_cpp LINENO
1830 # ----------------------
1831 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 if { { ac_try="$ac_cpp conftest.$ac_ext"
1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1838 *) ac_try_echo=$ac_try;;
1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841 $as_echo "$ac_try_echo"; } >&5
1842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1844 if test -s conftest.err; then
1845 grep -v '^ *+' conftest.err >conftest.er1
1846 cat conftest.er1 >&5
1847 mv -f conftest.er1 conftest.err
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } >/dev/null && {
1851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1852 test ! -s conftest.err
1856 $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.$ac_ext >&5
1861 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1866 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1867 # -------------------------------------------------------
1868 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1869 # the include files in INCLUDES and setting the cache variable VAR
1871 ac_fn_c_check_header_mongrel ()
1873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1878 $as_echo_n "(cached) " >&6
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1882 $as_echo "$ac_res" >&6; }
1884 # Is the header compilable?
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1886 $as_echo_n "checking $2 usability... " >&6; }
1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1892 if ac_fn_c_try_compile "$LINENO"; then :
1893 ac_header_compiler=yes
1895 ac_header_compiler=no
1897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1899 $as_echo "$ac_header_compiler" >&6; }
1901 # Is the header present?
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1903 $as_echo_n "checking $2 presence... " >&6; }
1904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h. */
1908 if ac_fn_c_try_cpp "$LINENO"; then :
1909 ac_header_preproc=yes
1911 ac_header_preproc=no
1913 rm -f conftest.err conftest.$ac_ext
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1915 $as_echo "$ac_header_preproc" >&6; }
1917 # So? What about this header?
1918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1921 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1923 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1927 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1929 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1931 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1933 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1935 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1939 $as_echo_n "checking for $2... " >&6; }
1940 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1941 $as_echo_n "(cached) " >&6
1943 eval "$3=\$ac_header_compiler"
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1951 } # ac_fn_c_check_header_mongrel
1953 # ac_fn_c_try_run LINENO
1954 # ----------------------
1955 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1956 # that executables *can* be run.
1959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960 if { { ac_try="$ac_link"
1962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1963 *) ac_try_echo=$ac_try;;
1965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_link") 2>&5
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1971 { { case "(($ac_try" in
1972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1973 *) ac_try_echo=$ac_try;;
1975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1976 $as_echo "$ac_try_echo"; } >&5
1977 (eval "$ac_try") 2>&5
1979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1980 test $ac_status = 0; }; }; then :
1983 $as_echo "$as_me: program exited with status $ac_status" >&5
1984 $as_echo "$as_me: failed program was:" >&5
1985 sed 's/^/| /' conftest.$ac_ext >&5
1987 ac_retval=$ac_status
1989 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1990 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1995 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1996 # -------------------------------------------------------
1997 # Tests whether HEADER exists and can be compiled using the include files in
1998 # INCLUDES, setting the cache variable VAR accordingly.
1999 ac_fn_c_check_header_compile ()
2001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2003 $as_echo_n "checking for $2... " >&6; }
2004 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2005 $as_echo_n "(cached) " >&6
2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2012 if ac_fn_c_try_compile "$LINENO"; then :
2017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2021 $as_echo "$ac_res" >&6; }
2022 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2024 } # ac_fn_c_check_header_compile
2026 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2027 # --------------------------------------------
2028 # Tries to find the compile-time value of EXPR in a program that includes
2029 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2031 ac_fn_c_compute_int ()
2033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2034 if test "$cross_compiling" = yes; then
2035 # Depending upon the size, compute the lo and hi bounds.
2036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2037 /* end confdefs.h. */
2042 static int test_array [1 - 2 * !(($2) >= 0)];
2049 if ac_fn_c_try_compile "$LINENO"; then :
2052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2053 /* end confdefs.h. */
2058 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2065 if ac_fn_c_try_compile "$LINENO"; then :
2066 ac_hi=$ac_mid; break
2068 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2069 if test $ac_lo -le $ac_mid; then
2073 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h. */
2084 static int test_array [1 - 2 * !(($2) < 0)];
2091 if ac_fn_c_try_compile "$LINENO"; then :
2094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2100 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2107 if ac_fn_c_try_compile "$LINENO"; then :
2108 ac_lo=$ac_mid; break
2110 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2111 if test $ac_mid -le $ac_hi; then
2115 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2125 # Binary search between lo and hi bounds.
2126 while test "x$ac_lo" != "x$ac_hi"; do
2127 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2129 /* end confdefs.h. */
2134 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2141 if ac_fn_c_try_compile "$LINENO"; then :
2144 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2149 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2154 /* end confdefs.h. */
2156 static long int longval () { return $2; }
2157 static unsigned long int ulongval () { return $2; }
2164 FILE *f = fopen ("conftest.val", "w");
2169 long int i = longval ();
2172 fprintf (f, "%ld", i);
2176 unsigned long int i = ulongval ();
2179 fprintf (f, "%lu", i);
2181 /* Do not output a trailing newline, as this causes \r\n confusion
2182 on some platforms. */
2183 return ferror (f) || fclose (f) != 0;
2189 if ac_fn_c_try_run "$LINENO"; then :
2190 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2194 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2195 conftest.$ac_objext conftest.beam conftest.$ac_ext
2199 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2202 } # ac_fn_c_compute_int
2204 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2205 # -------------------------------------------
2206 # Tests whether TYPE exists after having included INCLUDES, setting cache
2207 # variable VAR accordingly.
2208 ac_fn_c_check_type ()
2210 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2212 $as_echo_n "checking for $2... " >&6; }
2213 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2214 $as_echo_n "(cached) " >&6
2217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2218 /* end confdefs.h. */
2229 if ac_fn_c_try_compile "$LINENO"; then :
2230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2231 /* end confdefs.h. */
2242 if ac_fn_c_try_compile "$LINENO"; then :
2247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2253 $as_echo "$ac_res" >&6; }
2254 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2256 } # ac_fn_c_check_type
2258 # ac_fn_c_find_intX_t LINENO BITS VAR
2259 # -----------------------------------
2260 # Finds a signed integer type with width BITS, setting cache variable VAR
2262 ac_fn_c_find_intX_t ()
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2266 $as_echo_n "checking for int$2_t... " >&6; }
2267 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2268 $as_echo_n "(cached) " >&6
2271 for ac_type in int$2_t 'int' 'long int' \
2272 'long long int' 'short int' 'signed char'; do
2273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2274 /* end confdefs.h. */
2275 $ac_includes_default
2279 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1))];
2286 if ac_fn_c_try_compile "$LINENO"; then :
2287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2289 $ac_includes_default
2293 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1)
2294 < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 2))];
2301 if ac_fn_c_try_compile "$LINENO"; then :
2308 eval "$3=\$ac_type" ;;
2311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2315 if test "x$as_val" = x""no; then :
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2324 $as_echo "$ac_res" >&6; }
2325 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2327 } # ac_fn_c_find_intX_t
2329 # ac_fn_c_try_link LINENO
2330 # -----------------------
2331 # Try to link conftest.$ac_ext, and return whether this succeeded.
2334 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2335 rm -f conftest.$ac_objext conftest$ac_exeext
2336 if { { ac_try="$ac_link"
2338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2339 *) ac_try_echo=$ac_try;;
2341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2342 $as_echo "$ac_try_echo"; } >&5
2343 (eval "$ac_link") 2>conftest.err
2345 if test -s conftest.err; then
2346 grep -v '^ *+' conftest.err >conftest.er1
2347 cat conftest.er1 >&5
2348 mv -f conftest.er1 conftest.err
2350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2351 test $ac_status = 0; } && {
2352 test -z "$ac_c_werror_flag" ||
2353 test ! -s conftest.err
2354 } && test -s conftest$ac_exeext && {
2355 test "$cross_compiling" = yes ||
2356 $as_test_x conftest$ac_exeext
2360 $as_echo "$as_me: failed program was:" >&5
2361 sed 's/^/| /' conftest.$ac_ext >&5
2365 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2366 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2367 # interfere with the next link command; also delete a directory that is
2368 # left behind by Apple's compiler. We do this before executing the actions.
2369 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2370 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2373 } # ac_fn_c_try_link
2375 # ac_fn_c_find_uintX_t LINENO BITS VAR
2376 # ------------------------------------
2377 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2379 ac_fn_c_find_uintX_t ()
2381 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2383 $as_echo_n "checking for uint$2_t... " >&6; }
2384 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2385 $as_echo_n "(cached) " >&6
2388 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2389 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2391 /* end confdefs.h. */
2392 $ac_includes_default
2396 static int test_array [1 - 2 * !(($ac_type) -1 >> ($2 - 1) == 1)];
2403 if ac_fn_c_try_compile "$LINENO"; then :
2408 eval "$3=\$ac_type" ;;
2411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2413 if test "x$as_val" = x""no; then :
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2422 $as_echo "$ac_res" >&6; }
2423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2425 } # ac_fn_c_find_uintX_t
2427 # ac_fn_c_check_header_preproc LINENO HEADER VAR
2428 # ----------------------------------------------
2429 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
2430 ac_fn_c_check_header_preproc ()
2432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2434 $as_echo_n "checking for $2... " >&6; }
2435 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2436 $as_echo_n "(cached) " >&6
2438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2439 /* end confdefs.h. */
2442 if ac_fn_c_try_cpp "$LINENO"; then :
2447 rm -f conftest.err conftest.$ac_ext
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2451 $as_echo "$ac_res" >&6; }
2452 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2454 } # ac_fn_c_check_header_preproc
2456 # ac_fn_c_check_func LINENO FUNC VAR
2457 # ----------------------------------
2458 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2459 ac_fn_c_check_func ()
2461 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2463 $as_echo_n "checking for $2... " >&6; }
2464 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2465 $as_echo_n "(cached) " >&6
2467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2468 /* end confdefs.h. */
2469 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2471 #define $2 innocuous_$2
2473 /* System header to define __stub macros and hopefully few prototypes,
2474 which can conflict with char $2 (); below.
2475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2476 <limits.h> exists even on freestanding compilers. */
2479 # include <limits.h>
2481 # include <assert.h>
2486 /* Override any GCC internal prototype to avoid an error.
2487 Use char because int might match the return type of a GCC
2488 builtin and then its argument prototype would still apply. */
2493 /* The GNU C library defines this for functions which it implements
2494 to always fail with ENOSYS. Some functions are actually named
2495 something starting with __ and the normal name is an alias. */
2496 #if defined __stub_$2 || defined __stub___$2
2508 if ac_fn_c_try_link "$LINENO"; then :
2513 rm -f core conftest.err conftest.$ac_objext \
2514 conftest$ac_exeext conftest.$ac_ext
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2518 $as_echo "$ac_res" >&6; }
2519 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2521 } # ac_fn_c_check_func
2523 # ac_fn_cxx_try_cpp LINENO
2524 # ------------------------
2525 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2526 ac_fn_cxx_try_cpp ()
2528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2529 if { { ac_try="$ac_cpp conftest.$ac_ext"
2531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2532 *) ac_try_echo=$ac_try;;
2534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2535 $as_echo "$ac_try_echo"; } >&5
2536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2538 if test -s conftest.err; then
2539 grep -v '^ *+' conftest.err >conftest.er1
2540 cat conftest.er1 >&5
2541 mv -f conftest.er1 conftest.err
2543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2544 test $ac_status = 0; } >/dev/null && {
2545 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2546 test ! -s conftest.err
2550 $as_echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.$ac_ext >&5
2555 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2558 } # ac_fn_cxx_try_cpp
2560 # ac_fn_cxx_try_link LINENO
2561 # -------------------------
2562 # Try to link conftest.$ac_ext, and return whether this succeeded.
2563 ac_fn_cxx_try_link ()
2565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2566 rm -f conftest.$ac_objext conftest$ac_exeext
2567 if { { ac_try="$ac_link"
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_link") 2>conftest.err
2576 if test -s conftest.err; then
2577 grep -v '^ *+' conftest.err >conftest.er1
2578 cat conftest.er1 >&5
2579 mv -f conftest.er1 conftest.err
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582 test $ac_status = 0; } && {
2583 test -z "$ac_cxx_werror_flag" ||
2584 test ! -s conftest.err
2585 } && test -s conftest$ac_exeext && {
2586 test "$cross_compiling" = yes ||
2587 $as_test_x conftest$ac_exeext
2591 $as_echo "$as_me: failed program was:" >&5
2592 sed 's/^/| /' conftest.$ac_ext >&5
2596 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2597 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2598 # interfere with the next link command; also delete a directory that is
2599 # left behind by Apple's compiler. We do this before executing the actions.
2600 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2601 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2604 } # ac_fn_cxx_try_link
2605 cat >config.log <<_ACEOF
2606 This file contains any messages produced by compilers while
2607 running configure, to aid debugging if configure makes a mistake.
2609 It was created by $as_me, which was
2610 generated by GNU Autoconf 2.64. Invocation command line was
2622 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2623 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2624 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2625 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2626 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2628 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2629 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2631 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2632 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2633 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2634 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2635 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2636 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2637 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2645 test -z "$as_dir" && as_dir=.
2646 $as_echo "PATH: $as_dir"
2662 # Keep a trace of the command line.
2663 # Strip out --no-create and --no-recursion so they do not pile up.
2664 # Strip out --silent because we don't want to record it for future runs.
2665 # Also quote any args containing shell meta-characters.
2666 # Make two passes to allow for proper duplicate-argument suppression.
2670 ac_must_keep_next=false
2676 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2677 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2678 | -silent | --silent | --silen | --sile | --sil)
2681 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2684 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2686 as_fn_append ac_configure_args1 " '$ac_arg'"
2687 if test $ac_must_keep_next = true; then
2688 ac_must_keep_next=false # Got value, back to normal.
2691 *=* | --config-cache | -C | -disable-* | --disable-* \
2692 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2693 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2694 | -with-* | --with-* | -without-* | --without-* | --x)
2695 case "$ac_configure_args0 " in
2696 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2699 -* ) ac_must_keep_next=true ;;
2702 as_fn_append ac_configure_args " '$ac_arg'"
2707 { ac_configure_args0=; unset ac_configure_args0;}
2708 { ac_configure_args1=; unset ac_configure_args1;}
2710 # When interrupted or exit'd, cleanup temporary files, and complete
2711 # config.log. We remove comments because anyway the quotes in there
2712 # would cause problems or look ugly.
2713 # WARNING: Use '\'' to represent an apostrophe within the trap.
2714 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2715 trap 'exit_status=$?
2716 # Save into config.log some information that might help in debugging.
2721 ## ---------------- ##
2722 ## Cache variables. ##
2723 ## ---------------- ##
2726 # The following way of writing the cache mishandles newlines in values,
2728 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2729 eval ac_val=\$$ac_var
2733 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2734 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2737 _ | IFS | as_nl) ;; #(
2738 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2739 *) { eval $ac_var=; unset $ac_var;} ;;
2744 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2745 *${as_nl}ac_space=\ *)
2747 "s/'\''/'\''\\\\'\'''\''/g;
2748 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2751 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2759 ## ----------------- ##
2760 ## Output variables. ##
2761 ## ----------------- ##
2764 for ac_var in $ac_subst_vars
2766 eval ac_val=\$$ac_var
2768 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2770 $as_echo "$ac_var='\''$ac_val'\''"
2774 if test -n "$ac_subst_files"; then
2776 ## ------------------- ##
2777 ## File substitutions. ##
2778 ## ------------------- ##
2781 for ac_var in $ac_subst_files
2783 eval ac_val=\$$ac_var
2785 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2787 $as_echo "$ac_var='\''$ac_val'\''"
2792 if test -s confdefs.h; then
2802 test "$ac_signal" != 0 &&
2803 $as_echo "$as_me: caught signal $ac_signal"
2804 $as_echo "$as_me: exit $exit_status"
2806 rm -f core *.core core.conftest.* &&
2807 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2810 for ac_signal in 1 2 13 15; do
2811 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2815 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2816 rm -f -r conftest* confdefs.h
2818 $as_echo "/* confdefs.h */" > confdefs.h
2820 # Predefined preprocessor variables.
2822 cat >>confdefs.h <<_ACEOF
2823 #define PACKAGE_NAME "$PACKAGE_NAME"
2826 cat >>confdefs.h <<_ACEOF
2827 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2830 cat >>confdefs.h <<_ACEOF
2831 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2834 cat >>confdefs.h <<_ACEOF
2835 #define PACKAGE_STRING "$PACKAGE_STRING"
2838 cat >>confdefs.h <<_ACEOF
2839 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2842 cat >>confdefs.h <<_ACEOF
2843 #define PACKAGE_URL "$PACKAGE_URL"
2847 # Let the site file select an alternate cache file if it wants to.
2848 # Prefer an explicitly selected file to automatically selected ones.
2851 if test -n "$CONFIG_SITE"; then
2852 ac_site_file1=$CONFIG_SITE
2853 elif test "x$prefix" != xNONE; then
2854 ac_site_file1=$prefix/share/config.site
2855 ac_site_file2=$prefix/etc/config.site
2857 ac_site_file1=$ac_default_prefix/share/config.site
2858 ac_site_file2=$ac_default_prefix/etc/config.site
2860 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2862 test "x$ac_site_file" = xNONE && continue
2863 if test -r "$ac_site_file"; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2865 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2866 sed 's/^/| /' "$ac_site_file" >&5
2871 if test -r "$cache_file"; then
2872 # Some versions of bash will fail to source /dev/null (special
2873 # files actually), so we avoid doing that.
2874 if test -f "$cache_file"; then
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2876 $as_echo "$as_me: loading cache $cache_file" >&6;}
2878 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2879 *) . "./$cache_file";;
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2884 $as_echo "$as_me: creating cache $cache_file" >&6;}
2888 # Check that the precious variables saved in the cache have kept the same
2890 ac_cache_corrupted=false
2891 for ac_var in $ac_precious_vars; do
2892 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2893 eval ac_new_set=\$ac_env_${ac_var}_set
2894 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2895 eval ac_new_val=\$ac_env_${ac_var}_value
2896 case $ac_old_set,$ac_new_set in
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2899 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2900 ac_cache_corrupted=: ;;
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2903 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2904 ac_cache_corrupted=: ;;
2907 if test "x$ac_old_val" != "x$ac_new_val"; then
2908 # differences in whitespace do not lead to failure.
2909 ac_old_val_w=`echo x $ac_old_val`
2910 ac_new_val_w=`echo x $ac_new_val`
2911 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2913 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2914 ac_cache_corrupted=:
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2917 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2918 eval $ac_var=\$ac_old_val
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2921 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2923 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2926 # Pass precious variables to config.status.
2927 if test "$ac_new_set" = set; then
2929 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2930 *) ac_arg=$ac_var=$ac_new_val ;;
2932 case " $ac_configure_args " in
2933 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2934 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2938 if $ac_cache_corrupted; then
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2942 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2943 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2945 ## -------------------- ##
2946 ## Main body of script. ##
2947 ## -------------------- ##
2950 ac_cpp='$CPP $CPPFLAGS'
2951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2960 ac_config_headers="$ac_config_headers auto-host.h:config.in"
2963 gcc_version=`cat $srcdir/BASE-VER`
2965 # Determine the host, build, and target systems
2967 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2968 for ac_t in install-sh install.sh shtool; do
2969 if test -f "$ac_dir/$ac_t"; then
2971 ac_install_sh="$ac_aux_dir/$ac_t -c"
2976 if test -z "$ac_aux_dir"; then
2977 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2980 # These three variables are undocumented and unsupported,
2981 # and are intended to be withdrawn in a future Autoconf release.
2982 # They can cause serious problems if a builder's source tree is in a directory
2983 # whose full name contains unusual characters.
2984 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2985 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2986 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2989 # Make sure we can run config.sub.
2990 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2991 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2994 $as_echo_n "checking build system type... " >&6; }
2995 if test "${ac_cv_build+set}" = set; then :
2996 $as_echo_n "(cached) " >&6
2998 ac_build_alias=$build_alias
2999 test "x$ac_build_alias" = x &&
3000 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3001 test "x$ac_build_alias" = x &&
3002 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3003 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3004 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3008 $as_echo "$ac_cv_build" >&6; }
3009 case $ac_cv_build in
3011 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3014 ac_save_IFS=$IFS; IFS='-'
3020 # Remember, the first character of IFS is used to create $*,
3021 # except with old shells:
3024 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3028 $as_echo_n "checking host system type... " >&6; }
3029 if test "${ac_cv_host+set}" = set; then :
3030 $as_echo_n "(cached) " >&6
3032 if test "x$host_alias" = x; then
3033 ac_cv_host=$ac_cv_build
3035 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3036 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3041 $as_echo "$ac_cv_host" >&6; }
3044 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3047 ac_save_IFS=$IFS; IFS='-'
3053 # Remember, the first character of IFS is used to create $*,
3054 # except with old shells:
3057 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3061 $as_echo_n "checking target system type... " >&6; }
3062 if test "${ac_cv_target+set}" = set; then :
3063 $as_echo_n "(cached) " >&6
3065 if test "x$target_alias" = x; then
3066 ac_cv_target=$ac_cv_host
3068 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3069 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3074 $as_echo "$ac_cv_target" >&6; }
3075 case $ac_cv_target in
3077 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3079 target=$ac_cv_target
3080 ac_save_IFS=$IFS; IFS='-'
3086 # Remember, the first character of IFS is used to create $*,
3087 # except with old shells:
3090 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3093 # The aliases save the names the user supplied, while $host etc.
3094 # will get canonicalized.
3095 test -n "$target_alias" &&
3096 test "$program_prefix$program_suffix$program_transform_name" = \
3098 program_prefix=${target_alias}-
3100 # Determine the noncanonical target name, for directory use.
3101 case ${build_alias} in
3102 "") build_noncanonical=${build} ;;
3103 *) build_noncanonical=${build_alias} ;;
3106 case ${host_alias} in
3107 "") host_noncanonical=${build_noncanonical} ;;
3108 *) host_noncanonical=${host_alias} ;;
3111 case ${target_alias} in
3112 "") target_noncanonical=${host_noncanonical} ;;
3113 *) target_noncanonical=${target_alias} ;;
3119 # Determine the target- and build-specific subdirectories
3121 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3122 # have matching libraries, they should use host libraries: Makefile.tpl
3123 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3124 # However, they still use the build modules, because the corresponding
3125 # host modules (e.g. bison) are only built for the host when bootstrap
3127 # - build_subdir is where we find build modules, and never changes.
3128 # - build_libsubdir is where we find build libraries, and can be overridden.
3130 # Prefix 'build-' so this never conflicts with target_subdir.
3131 build_subdir="build-${build_noncanonical}"
3133 # Check whether --with-build-libsubdir was given.
3134 if test "${with_build_libsubdir+set}" = set; then :
3135 withval=$with_build_libsubdir; build_libsubdir="$withval"
3137 build_libsubdir="$build_subdir"
3140 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3141 if ( test $srcdir = . && test -d gcc ) \
3142 || test -d $srcdir/../host-${host_noncanonical}; then
3143 host_subdir="host-${host_noncanonical}"
3148 target_subdir=${target_noncanonical}
3151 # Set program_transform_name
3152 test "$program_prefix" != NONE &&
3153 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3154 # Use a double $ so make ignores it.
3155 test "$program_suffix" != NONE &&
3156 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3157 # Double any \ or $.
3158 # By default was `s,x,x', remove it if useless.
3159 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3160 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3163 # Check for bogus environment variables.
3164 # Test if LIBRARY_PATH contains the notation for the current directory
3165 # since this would lead to problems installing/building glibc.
3166 # LIBRARY_PATH contains the current directory if one of the following
3168 # - one of the terminals (":" and ";") is the first or last sign
3169 # - two terminals occur directly after each other
3170 # - the path contains an element with a dot in it
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRARY_PATH variable" >&5
3172 $as_echo_n "checking LIBRARY_PATH variable... " >&6; }
3173 case ${LIBRARY_PATH} in
3174 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
3175 library_path_setting="contains current directory"
3178 library_path_setting="ok"
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $library_path_setting" >&5
3182 $as_echo "$library_path_setting" >&6; }
3183 if test "$library_path_setting" != "ok"; then
3185 *** LIBRARY_PATH shouldn't contain the current directory when
3186 *** building gcc. Please change the environment variable
3187 *** and run configure again." "$LINENO" 5
3190 # Test if GCC_EXEC_PREFIX contains the notation for the current directory
3191 # since this would lead to problems installing/building glibc.
3192 # GCC_EXEC_PREFIX contains the current directory if one of the following
3194 # - one of the terminals (":" and ";") is the first or last sign
3195 # - two terminals occur directly after each other
3196 # - the path contains an element with a dot in it
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC_EXEC_PREFIX variable" >&5
3198 $as_echo_n "checking GCC_EXEC_PREFIX variable... " >&6; }
3199 case ${GCC_EXEC_PREFIX} in
3200 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
3201 gcc_exec_prefix_setting="contains current directory"
3204 gcc_exec_prefix_setting="ok"
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_exec_prefix_setting" >&5
3208 $as_echo "$gcc_exec_prefix_setting" >&6; }
3209 if test "$gcc_exec_prefix_setting" != "ok"; then
3211 *** GCC_EXEC_PREFIX shouldn't contain the current directory when
3212 *** building gcc. Please change the environment variable
3213 *** and run configure again." "$LINENO" 5
3220 # Specify the local prefix
3223 # Check whether --with-local-prefix was given.
3224 if test "${with_local_prefix+set}" = set; then :
3225 withval=$with_local_prefix; case "${withval}" in
3226 yes) as_fn_error "bad value ${withval} given for local include directory prefix" "$LINENO" 5 ;;
3228 *) local_prefix=$with_local_prefix ;;
3233 # Default local prefix if it is empty
3234 if test x$local_prefix = x; then
3235 local_prefix=/usr/local
3238 # Don't set gcc_gxx_include_dir to gxx_include_dir since that's only
3239 # passed in by the toplevel make and thus we'd get different behavior
3240 # depending on where we built the sources.
3241 gcc_gxx_include_dir=
3242 # Specify the g++ header file directory
3244 # Check whether --with-gxx-include-dir was given.
3245 if test "${with_gxx_include_dir+set}" = set; then :
3246 withval=$with_gxx_include_dir; case "${withval}" in
3247 yes) as_fn_error "bad value ${withval} given for g++ include directory" "$LINENO" 5 ;;
3249 *) gcc_gxx_include_dir=$with_gxx_include_dir ;;
3254 # This logic must match libstdc++-v3/acinclude.m4:GLIBCXX_EXPORT_INSTALL_INFO.
3255 if test x${gcc_gxx_include_dir} = x; then
3256 if test x${enable_version_specific_runtime_libs} = xyes; then
3257 gcc_gxx_include_dir='${libsubdir}/include/c++'
3259 libstdcxx_incdir='include/c++/$(version)'
3260 if test x$host != x$target; then
3261 libstdcxx_incdir="$target_alias/$libstdcxx_incdir"
3263 gcc_gxx_include_dir="\$(libsubdir)/\$(libsubdir_to_prefix)$libstdcxx_incdir"
3268 # Check whether --with-cpp_install_dir was given.
3269 if test "${with_cpp_install_dir+set}" = set; then :
3270 withval=$with_cpp_install_dir; if test x$withval = xyes; then
3271 as_fn_error "option --with-cpp-install-dir requires an argument" "$LINENO" 5
3272 elif test x$withval != xno; then
3273 cpp_install_dir=$withval
3278 # We would like to our source tree to be readonly. However when releases or
3279 # pre-releases are generated, the flex/bison generated files as well as the
3280 # various formats of manuals need to be included along with the rest of the
3281 # sources. Therefore we have --enable-generated-files-in-srcdir to do
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to place generated files in the source directory" >&5
3285 $as_echo_n "checking whether to place generated files in the source directory... " >&6; }
3286 # Check whether --enable-generated-files-in-srcdir was given.
3287 if test "${enable_generated_files_in_srcdir+set}" = set; then :
3288 enableval=$enable_generated_files_in_srcdir; generated_files_in_srcdir=$enableval
3290 generated_files_in_srcdir=no
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $generated_files_in_srcdir" >&5
3295 $as_echo "$generated_files_in_srcdir" >&6; }
3297 if test "$generated_files_in_srcdir" = "yes"; then
3304 # -------------------
3305 # Find default linker
3306 # -------------------
3310 # Check whether --with-gnu-ld was given.
3311 if test "${with_gnu_ld+set}" = set; then :
3312 withval=$with_gnu_ld; gnu_ld_flag="$with_gnu_ld"
3318 # With pre-defined ld
3320 # Check whether --with-ld was given.
3321 if test "${with_ld+set}" = set; then :
3322 withval=$with_ld; DEFAULT_LINKER="$with_ld"
3325 if test x"${DEFAULT_LINKER+set}" = x"set"; then
3326 if test ! -x "$DEFAULT_LINKER"; then
3327 as_fn_error "cannot execute: $DEFAULT_LINKER: check --with-ld or env. var. DEFAULT_LINKER" "$LINENO" 5
3328 elif $DEFAULT_LINKER -v < /dev/null 2>&1 | grep GNU > /dev/null; then
3332 cat >>confdefs.h <<_ACEOF
3333 #define DEFAULT_LINKER "$DEFAULT_LINKER"
3338 gnu_ld=`if test x"$gnu_ld_flag" = x"yes"; then echo 1; else echo 0; fi`
3340 cat >>confdefs.h <<_ACEOF
3341 #define HAVE_GNU_LD $gnu_ld
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a default linker was specified" >&5
3346 $as_echo_n "checking whether a default linker was specified... " >&6; }
3347 if test x"${DEFAULT_LINKER+set}" = x"set"; then
3348 if test x"$gnu_ld_flag" = x"no"; then
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($DEFAULT_LINKER)" >&5
3350 $as_echo "yes ($DEFAULT_LINKER)" >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($DEFAULT_LINKER - GNU ld)" >&5
3353 $as_echo "yes ($DEFAULT_LINKER - GNU ld)" >&6; }
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3357 $as_echo "no" >&6; }
3360 # With demangler in GNU ld
3362 # Check whether --with-demangler-in-ld was given.
3363 if test "${with_demangler_in_ld+set}" = set; then :
3364 withval=$with_demangler_in_ld; demangler_in_ld="$with_demangler_in_ld"
3370 # ----------------------
3371 # Find default assembler
3372 # ----------------------
3376 # Check whether --with-gnu-as was given.
3377 if test "${with_gnu_as+set}" = set; then :
3378 withval=$with_gnu_as; gas_flag="$with_gnu_as"
3385 # Check whether --with-as was given.
3386 if test "${with_as+set}" = set; then :
3387 withval=$with_as; DEFAULT_ASSEMBLER="$with_as"
3390 if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
3391 if test ! -x "$DEFAULT_ASSEMBLER"; then
3392 as_fn_error "cannot execute: $DEFAULT_ASSEMBLER: check --with-as or env. var. DEFAULT_ASSEMBLER" "$LINENO" 5
3393 elif $DEFAULT_ASSEMBLER -v < /dev/null 2>&1 | grep GNU > /dev/null; then
3397 cat >>confdefs.h <<_ACEOF
3398 #define DEFAULT_ASSEMBLER "$DEFAULT_ASSEMBLER"
3403 gnu_as=`if test x"$gas_flag" = x"yes"; then echo 1; else echo 0; fi`
3405 cat >>confdefs.h <<_ACEOF
3406 #define HAVE_GNU_AS $gnu_as
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a default assembler was specified" >&5
3411 $as_echo_n "checking whether a default assembler was specified... " >&6; }
3412 if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
3413 if test x"$gas_flag" = x"no"; then
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($DEFAULT_ASSEMBLER)" >&5
3415 $as_echo "yes ($DEFAULT_ASSEMBLER)" >&6; }
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($DEFAULT_ASSEMBLER - GNU as)" >&5
3418 $as_echo "yes ($DEFAULT_ASSEMBLER - GNU as)" >&6; }
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422 $as_echo "no" >&6; }
3429 # If a non-executable a.out is present (e.g. created by GNU as above even if
3430 # invoked with -v only), the IRIX 6 native ld just overwrites the existing
3431 # file, even when creating an executable, so an execution test fails.
3432 # Remove possible default executable files to avoid this.
3434 # FIXME: This really belongs into AC_PROG_CC and can be removed once
3435 # Autoconf includes it.
3436 rm -f a.out a.exe b.out
3438 # Find the native compiler
3440 ac_cpp='$CPP $CPPFLAGS'
3441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3444 if test -n "$ac_tool_prefix"; then
3445 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3446 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3448 $as_echo_n "checking for $ac_word... " >&6; }
3449 if test "${ac_cv_prog_CC+set}" = set; then :
3450 $as_echo_n "(cached) " >&6
3452 if test -n "$CC"; then
3453 ac_cv_prog_CC="$CC" # Let the user override the test.
3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459 test -z "$as_dir" && as_dir=.
3460 for ac_exec_ext in '' $ac_executable_extensions; do
3461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3462 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3473 if test -n "$CC"; then
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3475 $as_echo "$CC" >&6; }
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3478 $as_echo "no" >&6; }
3483 if test -z "$ac_cv_prog_CC"; then
3485 # Extract the first word of "gcc", so it can be a program name with args.
3486 set dummy gcc; ac_word=$2
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3488 $as_echo_n "checking for $ac_word... " >&6; }
3489 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3490 $as_echo_n "(cached) " >&6
3492 if test -n "$ac_ct_CC"; then
3493 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3499 test -z "$as_dir" && as_dir=.
3500 for ac_exec_ext in '' $ac_executable_extensions; do
3501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3502 ac_cv_prog_ac_ct_CC="gcc"
3503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3512 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3513 if test -n "$ac_ct_CC"; then
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3515 $as_echo "$ac_ct_CC" >&6; }
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3518 $as_echo "no" >&6; }
3521 if test "x$ac_ct_CC" = x; then
3524 case $cross_compiling:$ac_tool_warned in
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3528 ac_tool_warned=yes ;;
3536 if test -z "$CC"; then
3537 if test -n "$ac_tool_prefix"; then
3538 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3539 set dummy ${ac_tool_prefix}cc; ac_word=$2
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3541 $as_echo_n "checking for $ac_word... " >&6; }
3542 if test "${ac_cv_prog_CC+set}" = set; then :
3543 $as_echo_n "(cached) " >&6
3545 if test -n "$CC"; then
3546 ac_cv_prog_CC="$CC" # Let the user override the test.
3548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3552 test -z "$as_dir" && as_dir=.
3553 for ac_exec_ext in '' $ac_executable_extensions; do
3554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3555 ac_cv_prog_CC="${ac_tool_prefix}cc"
3556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3566 if test -n "$CC"; then
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3568 $as_echo "$CC" >&6; }
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3571 $as_echo "no" >&6; }
3577 if test -z "$CC"; then
3578 # Extract the first word of "cc", so it can be a program name with args.
3579 set dummy cc; ac_word=$2
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3581 $as_echo_n "checking for $ac_word... " >&6; }
3582 if test "${ac_cv_prog_CC+set}" = set; then :
3583 $as_echo_n "(cached) " >&6
3585 if test -n "$CC"; then
3586 ac_cv_prog_CC="$CC" # Let the user override the test.
3589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 test -z "$as_dir" && as_dir=.
3594 for ac_exec_ext in '' $ac_executable_extensions; do
3595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3596 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3597 ac_prog_rejected=yes
3601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3608 if test $ac_prog_rejected = yes; then
3609 # We found a bogon in the path, so make sure we never use it.
3610 set dummy $ac_cv_prog_CC
3612 if test $# != 0; then
3613 # We chose a different compiler from the bogus one.
3614 # However, it has the same basename, so the bogon will be chosen
3615 # first if we set CC to just the basename; use the full file name.
3617 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3623 if test -n "$CC"; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3625 $as_echo "$CC" >&6; }
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3628 $as_echo "no" >&6; }
3633 if test -z "$CC"; then
3634 if test -n "$ac_tool_prefix"; then
3635 for ac_prog in cl.exe
3637 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3638 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if test "${ac_cv_prog_CC+set}" = set; then :
3642 $as_echo_n "(cached) " >&6
3644 if test -n "$CC"; then
3645 ac_cv_prog_CC="$CC" # Let the user override the test.
3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3651 test -z "$as_dir" && as_dir=.
3652 for ac_exec_ext in '' $ac_executable_extensions; do
3653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3654 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 if test -n "$CC"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3667 $as_echo "$CC" >&6; }
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3674 test -n "$CC" && break
3677 if test -z "$CC"; then
3679 for ac_prog in cl.exe
3681 # Extract the first word of "$ac_prog", so it can be a program name with args.
3682 set dummy $ac_prog; ac_word=$2
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3684 $as_echo_n "checking for $ac_word... " >&6; }
3685 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3686 $as_echo_n "(cached) " >&6
3688 if test -n "$ac_ct_CC"; then
3689 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 test -z "$as_dir" && as_dir=.
3696 for ac_exec_ext in '' $ac_executable_extensions; do
3697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3698 ac_cv_prog_ac_ct_CC="$ac_prog"
3699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3708 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3709 if test -n "$ac_ct_CC"; then
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3711 $as_echo "$ac_ct_CC" >&6; }
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3714 $as_echo "no" >&6; }
3718 test -n "$ac_ct_CC" && break
3721 if test "x$ac_ct_CC" = x; then
3724 case $cross_compiling:$ac_tool_warned in
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3728 ac_tool_warned=yes ;;
3737 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3739 as_fn_error "no acceptable C compiler found in \$PATH
3740 See \`config.log' for more details." "$LINENO" 5; }
3742 # Provide some information about the compiler.
3743 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3746 for ac_option in --version -v -V -qversion; do
3747 { { ac_try="$ac_compiler $ac_option >&5"
3749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3750 *) ac_try_echo=$ac_try;;
3752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3753 $as_echo "$ac_try_echo"; } >&5
3754 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3756 if test -s conftest.err; then
3758 ... rest of stderr output deleted ...
3759 10q' conftest.err >conftest.er1
3760 cat conftest.er1 >&5
3761 rm -f conftest.er1 conftest.err
3763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3764 test $ac_status = 0; }
3767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h. */
3778 ac_clean_files_save=$ac_clean_files
3779 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3780 # Try to create an executable without -o first, disregard a.out.
3781 # It will help us diagnose broken compilers, and finding out an intuition
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3784 $as_echo_n "checking for C compiler default output file name... " >&6; }
3785 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3787 # The possible output files:
3788 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3791 for ac_file in $ac_files