2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
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.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
564 ac_unique_file="src/shared/hashtable-aux.cc"
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='am__EXEEXT_FALSE
610 glibcxx_toolexeclibdir
614 ERROR_CONSTANTS_SRCDIR
640 baseline_subdir_switch
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
647 ENABLE_SYMVERS_SOL2_FALSE
648 ENABLE_SYMVERS_SOL2_TRUE
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
659 port_specific_symbol_files
669 ENABLE_PYTHONDIR_FALSE
670 ENABLE_PYTHONDIR_TRUE
672 ENABLE_EXTERN_TEMPLATE_FALSE
673 ENABLE_EXTERN_TEMPLATE_TRUE
675 ENABLE_PARALLEL_FALSE
677 GLIBCXX_BUILD_DEBUG_FALSE
678 GLIBCXX_BUILD_DEBUG_TRUE
680 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
681 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
682 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
683 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
684 GLIBCXX_C_HEADERS_C_STD_FALSE
685 GLIBCXX_C_HEADERS_C_STD_TRUE
686 GLIBCXX_C_HEADERS_C_FALSE
687 GLIBCXX_C_HEADERS_C_TRUE
714 GLIBCXX_BUILD_PCH_FALSE
715 GLIBCXX_BUILD_PCH_TRUE
739 MAINTAINER_MODE_FALSE
767 INSTALL_STRIP_PROGRAM
822 program_transform_name
835 enable_option_checking
840 enable_maintainer_mode
847 enable_hosted_libstdcxx
848 enable_sjlj_exceptions
853 enable_libstdcxx_allocator
858 enable_concept_checks
859 enable_libstdcxx_debug_flags
860 enable_libstdcxx_debug
862 enable_fully_dynamic_string
863 enable_extern_template
866 enable_libstdcxx_time
870 with_system_libunwind
873 enable_libstdcxx_visibility
874 enable_libstdcxx_threads
876 enable_version_specific_runtime_libs
878 ac_precious_vars='build_alias
894 # Initialize some variables set by options.
896 ac_init_version=false
897 ac_unrecognized_opts=
899 # The variables have the same names as the options, with
900 # dashes changed to underlines.
908 program_transform_name=s,x,x,
916 # Installation directory options.
917 # These are left unexpanded so users can "make install exec_prefix=/foo"
918 # and all the variables that are supposed to be based on exec_prefix
919 # by default will actually change.
920 # Use braces instead of parens because sh, perl, etc. also accept them.
921 # (The list follows the same order as the GNU Coding Standards.)
922 bindir='${exec_prefix}/bin'
923 sbindir='${exec_prefix}/sbin'
924 libexecdir='${exec_prefix}/libexec'
925 datarootdir='${prefix}/share'
926 datadir='${datarootdir}'
927 sysconfdir='${prefix}/etc'
928 sharedstatedir='${prefix}/com'
929 localstatedir='${prefix}/var'
930 includedir='${prefix}/include'
931 oldincludedir='/usr/include'
932 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
933 infodir='${datarootdir}/info'
938 libdir='${exec_prefix}/lib'
939 localedir='${datarootdir}/locale'
940 mandir='${datarootdir}/man'
946 # If the previous option needs an argument, assign it.
947 if test -n "$ac_prev"; then
948 eval $ac_prev=\$ac_option
954 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 # Accept the important Cygnus configure options, so we can diagnose typos.
960 case $ac_dashdash$ac_option in
964 -bindir | --bindir | --bindi | --bind | --bin | --bi)
966 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
969 -build | --build | --buil | --bui | --bu)
970 ac_prev=build_alias ;;
971 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
972 build_alias=$ac_optarg ;;
974 -cache-file | --cache-file | --cache-fil | --cache-fi \
975 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
976 ac_prev=cache_file ;;
977 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
978 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
979 cache_file=$ac_optarg ;;
982 cache_file=config.cache ;;
984 -datadir | --datadir | --datadi | --datad)
986 -datadir=* | --datadir=* | --datadi=* | --datad=*)
987 datadir=$ac_optarg ;;
989 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
990 | --dataroo | --dataro | --datar)
991 ac_prev=datarootdir ;;
992 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
993 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
994 datarootdir=$ac_optarg ;;
996 -disable-* | --disable-*)
997 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1000 as_fn_error "invalid feature name: $ac_useropt"
1001 ac_useropt_orig=$ac_useropt
1002 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003 case $ac_user_opts in
1005 "enable_$ac_useropt"
1007 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1008 ac_unrecognized_sep=', ';;
1010 eval enable_$ac_useropt=no ;;
1012 -docdir | --docdir | --docdi | --doc | --do)
1014 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1015 docdir=$ac_optarg ;;
1017 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1019 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1020 dvidir=$ac_optarg ;;
1022 -enable-* | --enable-*)
1023 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026 as_fn_error "invalid feature name: $ac_useropt"
1027 ac_useropt_orig=$ac_useropt
1028 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029 case $ac_user_opts in
1031 "enable_$ac_useropt"
1033 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1034 ac_unrecognized_sep=', ';;
1036 eval enable_$ac_useropt=\$ac_optarg ;;
1038 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1039 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1040 | --exec | --exe | --ex)
1041 ac_prev=exec_prefix ;;
1042 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1043 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1044 | --exec=* | --exe=* | --ex=*)
1045 exec_prefix=$ac_optarg ;;
1047 -gas | --gas | --ga | --g)
1048 # Obsolete; use --with-gas.
1051 -help | --help | --hel | --he | -h)
1052 ac_init_help=long ;;
1053 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1054 ac_init_help=recursive ;;
1055 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1056 ac_init_help=short ;;
1058 -host | --host | --hos | --ho)
1059 ac_prev=host_alias ;;
1060 -host=* | --host=* | --hos=* | --ho=*)
1061 host_alias=$ac_optarg ;;
1063 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1065 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1067 htmldir=$ac_optarg ;;
1069 -includedir | --includedir | --includedi | --included | --include \
1070 | --includ | --inclu | --incl | --inc)
1071 ac_prev=includedir ;;
1072 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1073 | --includ=* | --inclu=* | --incl=* | --inc=*)
1074 includedir=$ac_optarg ;;
1076 -infodir | --infodir | --infodi | --infod | --info | --inf)
1078 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1079 infodir=$ac_optarg ;;
1081 -libdir | --libdir | --libdi | --libd)
1083 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1084 libdir=$ac_optarg ;;
1086 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1087 | --libexe | --libex | --libe)
1088 ac_prev=libexecdir ;;
1089 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1090 | --libexe=* | --libex=* | --libe=*)
1091 libexecdir=$ac_optarg ;;
1093 -localedir | --localedir | --localedi | --localed | --locale)
1094 ac_prev=localedir ;;
1095 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1096 localedir=$ac_optarg ;;
1098 -localstatedir | --localstatedir | --localstatedi | --localstated \
1099 | --localstate | --localstat | --localsta | --localst | --locals)
1100 ac_prev=localstatedir ;;
1101 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1102 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1103 localstatedir=$ac_optarg ;;
1105 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1107 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1108 mandir=$ac_optarg ;;
1110 -nfp | --nfp | --nf)
1111 # Obsolete; use --without-fp.
1114 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1115 | --no-cr | --no-c | -n)
1118 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1119 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1122 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1123 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1124 | --oldin | --oldi | --old | --ol | --o)
1125 ac_prev=oldincludedir ;;
1126 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1127 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1128 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1129 oldincludedir=$ac_optarg ;;
1131 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1133 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1134 prefix=$ac_optarg ;;
1136 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1137 | --program-pre | --program-pr | --program-p)
1138 ac_prev=program_prefix ;;
1139 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1140 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1141 program_prefix=$ac_optarg ;;
1143 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1144 | --program-suf | --program-su | --program-s)
1145 ac_prev=program_suffix ;;
1146 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1147 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1148 program_suffix=$ac_optarg ;;
1150 -program-transform-name | --program-transform-name \
1151 | --program-transform-nam | --program-transform-na \
1152 | --program-transform-n | --program-transform- \
1153 | --program-transform | --program-transfor \
1154 | --program-transfo | --program-transf \
1155 | --program-trans | --program-tran \
1156 | --progr-tra | --program-tr | --program-t)
1157 ac_prev=program_transform_name ;;
1158 -program-transform-name=* | --program-transform-name=* \
1159 | --program-transform-nam=* | --program-transform-na=* \
1160 | --program-transform-n=* | --program-transform-=* \
1161 | --program-transform=* | --program-transfor=* \
1162 | --program-transfo=* | --program-transf=* \
1163 | --program-trans=* | --program-tran=* \
1164 | --progr-tra=* | --program-tr=* | --program-t=*)
1165 program_transform_name=$ac_optarg ;;
1167 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1169 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1170 pdfdir=$ac_optarg ;;
1172 -psdir | --psdir | --psdi | --psd | --ps)
1174 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1177 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1178 | -silent | --silent | --silen | --sile | --sil)
1181 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1183 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1185 sbindir=$ac_optarg ;;
1187 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1188 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1189 | --sharedst | --shareds | --shared | --share | --shar \
1191 ac_prev=sharedstatedir ;;
1192 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1193 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1194 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1196 sharedstatedir=$ac_optarg ;;
1198 -site | --site | --sit)
1200 -site=* | --site=* | --sit=*)
1203 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1205 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1206 srcdir=$ac_optarg ;;
1208 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1209 | --syscon | --sysco | --sysc | --sys | --sy)
1210 ac_prev=sysconfdir ;;
1211 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1212 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1213 sysconfdir=$ac_optarg ;;
1215 -target | --target | --targe | --targ | --tar | --ta | --t)
1216 ac_prev=target_alias ;;
1217 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1218 target_alias=$ac_optarg ;;
1220 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1223 -version | --version | --versio | --versi | --vers | -V)
1224 ac_init_version=: ;;
1227 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1228 # Reject names that are not valid shell variable names.
1229 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1230 as_fn_error "invalid package name: $ac_useropt"
1231 ac_useropt_orig=$ac_useropt
1232 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1233 case $ac_user_opts in
1237 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1238 ac_unrecognized_sep=', ';;
1240 eval with_$ac_useropt=\$ac_optarg ;;
1242 -without-* | --without-*)
1243 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1244 # Reject names that are not valid shell variable names.
1245 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1246 as_fn_error "invalid package name: $ac_useropt"
1247 ac_useropt_orig=$ac_useropt
1248 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249 case $ac_user_opts in
1253 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1254 ac_unrecognized_sep=', ';;
1256 eval with_$ac_useropt=no ;;
1259 # Obsolete; use --with-x.
1262 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1263 | --x-incl | --x-inc | --x-in | --x-i)
1264 ac_prev=x_includes ;;
1265 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1266 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1267 x_includes=$ac_optarg ;;
1269 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1270 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1271 ac_prev=x_libraries ;;
1272 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1273 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1274 x_libraries=$ac_optarg ;;
1276 -*) as_fn_error "unrecognized option: \`$ac_option'
1277 Try \`$0 --help' for more information."
1281 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1282 # Reject names that are not valid shell variable names.
1283 case $ac_envvar in #(
1284 '' | [0-9]* | *[!_$as_cr_alnum]* )
1285 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1287 eval $ac_envvar=\$ac_optarg
1288 export $ac_envvar ;;
1291 # FIXME: should be removed in autoconf 3.0.
1292 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1293 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1294 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1295 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1301 if test -n "$ac_prev"; then
1302 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1303 as_fn_error "missing argument to $ac_option"
1306 if test -n "$ac_unrecognized_opts"; then
1307 case $enable_option_checking in
1309 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1310 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314 # Check all directory arguments for consistency.
1315 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1316 datadir sysconfdir sharedstatedir localstatedir includedir \
1317 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1318 libdir localedir mandir
1320 eval ac_val=\$$ac_var
1321 # Remove trailing slashes.
1324 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1325 eval $ac_var=\$ac_val;;
1327 # Be sure to have absolute directory names.
1329 [\\/$]* | ?:[\\/]* ) continue;;
1330 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1332 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1335 # There might be people who depend on the old broken behavior: `$host'
1336 # used to hold the argument of --host etc.
1337 # FIXME: To remove some day.
1340 target=$target_alias
1342 # FIXME: To remove some day.
1343 if test "x$host_alias" != x; then
1344 if test "x$build_alias" = x; then
1345 cross_compiling=maybe
1346 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1347 If a cross compiler is detected then cross compile mode will be used." >&2
1348 elif test "x$build_alias" != "x$host_alias"; then
1354 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1356 test "$silent" = yes && exec 6>/dev/null
1359 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1360 ac_ls_di=`ls -di .` &&
1361 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1362 as_fn_error "working directory cannot be determined"
1363 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1364 as_fn_error "pwd does not report name of working directory"
1367 # Find the source files, if location was not specified.
1368 if test -z "$srcdir"; then
1369 ac_srcdir_defaulted=yes
1370 # Try the directory containing this script, then the parent directory.
1371 ac_confdir=`$as_dirname -- "$as_myself" ||
1372 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1373 X"$as_myself" : 'X\(//\)[^/]' \| \
1374 X"$as_myself" : 'X\(//\)$' \| \
1375 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1376 $as_echo X"$as_myself" |
1377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1399 ac_srcdir_defaulted=no
1401 if test ! -r "$srcdir/$ac_unique_file"; then
1402 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1403 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1405 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1407 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1409 # When building in place, set srcdir=.
1410 if test "$ac_abs_confdir" = "$ac_pwd"; then
1413 # Remove unnecessary trailing slashes from srcdir.
1414 # Double slashes in file names in object file debugging info
1415 # mess up M-x gdb in Emacs.
1417 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1419 for ac_var in $ac_precious_vars; do
1420 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1421 eval ac_env_${ac_var}_value=\$${ac_var}
1422 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1423 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1427 # Report the --help message.
1429 if test "$ac_init_help" = "long"; then
1430 # Omit some internal or obsolete options to make the list less imposing.
1431 # This message is too long to be a string in the A/UX 3.1 sh.
1433 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1435 Usage: $0 [OPTION]... [VAR=VALUE]...
1437 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1438 VAR=VALUE. See below for descriptions of some of the useful variables.
1440 Defaults for the options are specified in brackets.
1443 -h, --help display this help and exit
1444 --help=short display options specific to this package
1445 --help=recursive display the short help of all the included packages
1446 -V, --version display version information and exit
1447 -q, --quiet, --silent do not print \`checking...' messages
1448 --cache-file=FILE cache test results in FILE [disabled]
1449 -C, --config-cache alias for \`--cache-file=config.cache'
1450 -n, --no-create do not create output files
1451 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1453 Installation directories:
1454 --prefix=PREFIX install architecture-independent files in PREFIX
1455 [$ac_default_prefix]
1456 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1459 By default, \`make install' will install all the files in
1460 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1461 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1462 for instance \`--prefix=\$HOME'.
1464 For better control, use the options below.
1466 Fine tuning of the installation directories:
1467 --bindir=DIR user executables [EPREFIX/bin]
1468 --sbindir=DIR system admin executables [EPREFIX/sbin]
1469 --libexecdir=DIR program executables [EPREFIX/libexec]
1470 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1471 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1472 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1473 --libdir=DIR object code libraries [EPREFIX/lib]
1474 --includedir=DIR C header files [PREFIX/include]
1475 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1476 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1477 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1478 --infodir=DIR info documentation [DATAROOTDIR/info]
1479 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1480 --mandir=DIR man documentation [DATAROOTDIR/man]
1481 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1482 --htmldir=DIR html documentation [DOCDIR]
1483 --dvidir=DIR dvi documentation [DOCDIR]
1484 --pdfdir=DIR pdf documentation [DOCDIR]
1485 --psdir=DIR ps documentation [DOCDIR]
1491 --program-prefix=PREFIX prepend PREFIX to installed program names
1492 --program-suffix=SUFFIX append SUFFIX to installed program names
1493 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1496 --build=BUILD configure for building on BUILD [guessed]
1497 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1498 --target=TARGET configure for building compilers for TARGET [HOST]
1502 if test -n "$ac_init_help"; then
1503 case $ac_init_help in
1504 short | recursive ) echo "Configuration of package-unused version-unused:";;
1509 --disable-option-checking ignore unrecognized --enable/--with options
1510 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1511 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1512 --enable-multilib build many library versions (default)
1513 --enable-maintainer-mode enable make rules and dependencies not useful
1514 (and sometimes confusing) to the casual installer
1515 --enable-shared[=PKGS] build shared libraries [default=yes]
1516 --enable-static[=PKGS] build static libraries [default=yes]
1517 --enable-fast-install[=PKGS]
1518 optimize for fast installation [default=yes]
1519 --disable-libtool-lock avoid locking (might break parallel builds)
1520 --disable-hosted-libstdcxx
1521 only build freestanding C++ runtime support
1522 --enable-sjlj-exceptions
1523 force use of builtin_setjmp for exceptions
1525 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1526 [default=$is_hosted]
1527 --enable-cstdio[=PACKAGE]
1528 use target-specific I/O package [default=stdio]
1529 --enable-clocale[=MODEL]
1530 use MODEL for target locale package [default=auto]
1531 --enable-nls use Native Language Support (default)
1532 --enable-libstdcxx-allocator[=KIND]
1533 use KIND for target std::allocator base
1535 --enable-cheaders[=KIND]
1536 construct "C" headers for g++ [default=$c_model]
1537 --enable-long-long enable template specializations for 'long long'
1539 --enable-wchar_t enable template specializations for 'wchar_t'
1541 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1542 --enable-concept-checks use Boost-derived template checks [default=no]
1543 --enable-libstdcxx-debug-flags=FLAGS
1544 pass compiler FLAGS when building debug library
1545 [default="-gdwarf-4 -g3 -O0"]
1546 --enable-libstdcxx-debug
1547 build extra debug library [default=no]
1548 --enable-cxx-flags=FLAGS
1549 pass compiler FLAGS when building library [default=]
1550 --enable-fully-dynamic-string
1551 do not put empty strings in per-process static
1553 --enable-extern-template
1554 enable extern template [default=yes]
1555 --enable-werror turns on -Werror [default=yes]
1556 --enable-libstdcxx-time[=KIND]
1557 use KIND for check type [default=no]
1558 --enable-tls Use thread-local storage [default=yes]
1559 --disable-rpath do not hardcode runtime library paths
1560 --enable-linux-futex use the Linux futex system call [default=default]
1561 --enable-symvers[=STYLE]
1562 enables symbol versioning of the shared library
1564 --enable-libstdcxx-visibility
1565 enables visibility safe usage [default=yes]
1566 --enable-libstdcxx-threads
1567 enable C++11 threads support [default=auto]
1568 --enable-version-specific-runtime-libs
1569 Specify that runtime libraries should be installed
1570 in a compiler-specific directory
1573 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1574 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1575 --with-target-subdir=SUBDIR
1576 configuring in a subdirectory
1577 --with-cross-host=HOST configuring with a cross compiler
1578 --with-newlib assume newlib as a system C library
1579 --with-pic try to use only PIC/non-PIC objects [default=use
1581 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1582 --with-python-dir the location to install Python modules. This path is
1583 relative starting from the prefix.
1584 --with-gnu-ld assume the C compiler uses GNU ld default=no
1585 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1586 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1587 --with-system-libunwind use installed libunwind
1588 --with-gxx-include-dir=DIR
1589 installation directory for include files
1591 Some influential environment variables:
1592 CC C compiler command
1593 CFLAGS C compiler flags
1594 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1595 nonstandard directory <lib dir>
1596 LIBS libraries to pass to the linker, e.g. -l<library>
1597 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1598 you have headers in a nonstandard directory <include dir>
1599 CXX C++ compiler command
1600 CXXFLAGS C++ compiler flags
1602 CXXCPP C++ preprocessor
1603 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1604 `c++filt', `gc++filt' on PATH.
1606 Use these variables to override the choices made by `configure' or to help
1607 it to find libraries and programs with nonstandard names/locations.
1609 Report bugs to the package provider.
1614 if test "$ac_init_help" = "recursive"; then
1615 # If there are subdirs, report their specific --help.
1616 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1617 test -d "$ac_dir" ||
1618 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1623 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1625 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1626 # A ".." for each directory in $ac_dir_suffix.
1627 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1628 case $ac_top_builddir_sub in
1629 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1633 ac_abs_top_builddir=$ac_pwd
1634 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1635 # for backward compatibility:
1636 ac_top_builddir=$ac_top_build_prefix
1639 .) # We are building in place.
1641 ac_top_srcdir=$ac_top_builddir_sub
1642 ac_abs_top_srcdir=$ac_pwd ;;
1643 [\\/]* | ?:[\\/]* ) # Absolute name.
1644 ac_srcdir=$srcdir$ac_dir_suffix;
1645 ac_top_srcdir=$srcdir
1646 ac_abs_top_srcdir=$srcdir ;;
1648 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1649 ac_top_srcdir=$ac_top_build_prefix$srcdir
1650 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1652 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1654 cd "$ac_dir" || { ac_status=$?; continue; }
1655 # Check for guested configure.
1656 if test -f "$ac_srcdir/configure.gnu"; then
1658 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1659 elif test -f "$ac_srcdir/configure"; then
1661 $SHELL "$ac_srcdir/configure" --help=recursive
1663 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1665 cd "$ac_pwd" || { ac_status=$?; break; }
1669 test -n "$ac_init_help" && exit $ac_status
1670 if $ac_init_version; then
1672 package-unused configure version-unused
1673 generated by GNU Autoconf 2.64
1675 Copyright (C) 2009 Free Software Foundation, Inc.
1676 This configure script is free software; the Free Software Foundation
1677 gives unlimited permission to copy, distribute and modify it.
1682 ## ------------------------ ##
1683 ## Autoconf initialization. ##
1684 ## ------------------------ ##
1686 # ac_fn_c_try_compile LINENO
1687 # --------------------------
1688 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1689 ac_fn_c_try_compile ()
1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692 rm -f conftest.$ac_objext
1693 if { { ac_try="$ac_compile"
1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_compile") 2>conftest.err
1702 if test -s conftest.err; then
1703 grep -v '^ *+' conftest.err >conftest.er1
1704 cat conftest.er1 >&5
1705 mv -f conftest.er1 conftest.err
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && {
1709 test -z "$ac_c_werror_flag" ||
1710 test ! -s conftest.err
1711 } && test -s conftest.$ac_objext; then :
1714 $as_echo "$as_me: failed program was:" >&5
1715 sed 's/^/| /' conftest.$ac_ext >&5
1719 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722 } # ac_fn_c_try_compile
1724 # ac_fn_cxx_try_compile LINENO
1725 # ----------------------------
1726 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1727 ac_fn_cxx_try_compile ()
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 rm -f conftest.$ac_objext
1731 if { { ac_try="$ac_compile"
1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_compile") 2>conftest.err
1740 if test -s conftest.err; then
1741 grep -v '^ *+' conftest.err >conftest.er1
1742 cat conftest.er1 >&5
1743 mv -f conftest.er1 conftest.err
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } && {
1747 test -z "$ac_cxx_werror_flag" ||
1748 test ! -s conftest.err
1749 } && test -s conftest.$ac_objext; then :
1752 $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.$ac_ext >&5
1757 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 } # ac_fn_cxx_try_compile
1762 # ac_fn_c_try_cpp LINENO
1763 # ----------------------
1764 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 if { { ac_try="$ac_cpp conftest.$ac_ext"
1770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1771 *) ac_try_echo=$ac_try;;
1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774 $as_echo "$ac_try_echo"; } >&5
1775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1777 if test -s conftest.err; then
1778 grep -v '^ *+' conftest.err >conftest.er1
1779 cat conftest.er1 >&5
1780 mv -f conftest.er1 conftest.err
1782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783 test $ac_status = 0; } >/dev/null && {
1784 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1785 test ! -s conftest.err
1789 $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.$ac_ext >&5
1794 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1799 # ac_fn_c_try_link LINENO
1800 # -----------------------
1801 # Try to link conftest.$ac_ext, and return whether this succeeded.
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 rm -f conftest.$ac_objext conftest$ac_exeext
1806 if { { ac_try="$ac_link"
1808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1809 *) ac_try_echo=$ac_try;;
1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812 $as_echo "$ac_try_echo"; } >&5
1813 (eval "$ac_link") 2>conftest.err
1815 if test -s conftest.err; then
1816 grep -v '^ *+' conftest.err >conftest.er1
1817 cat conftest.er1 >&5
1818 mv -f conftest.er1 conftest.err
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; } && {
1822 test -z "$ac_c_werror_flag" ||
1823 test ! -s conftest.err
1824 } && test -s conftest$ac_exeext && {
1825 test "$cross_compiling" = yes ||
1826 $as_test_x conftest$ac_exeext
1830 $as_echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.$ac_ext >&5
1835 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1836 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1837 # interfere with the next link command; also delete a directory that is
1838 # left behind by Apple's compiler. We do this before executing the actions.
1839 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1840 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1843 } # ac_fn_c_try_link
1845 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1846 # -------------------------------------------------------
1847 # Tests whether HEADER exists and can be compiled using the include files in
1848 # INCLUDES, setting the cache variable VAR accordingly.
1849 ac_fn_c_check_header_compile ()
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1853 $as_echo_n "checking for $2... " >&6; }
1854 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1855 $as_echo_n "(cached) " >&6
1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1862 if ac_fn_c_try_compile "$LINENO"; then :
1867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 $as_echo "$ac_res" >&6; }
1872 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1874 } # ac_fn_c_check_header_compile
1876 # ac_fn_c_try_run LINENO
1877 # ----------------------
1878 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1879 # that executables *can* be run.
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 if { { ac_try="$ac_link"
1885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886 *) ac_try_echo=$ac_try;;
1888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889 $as_echo "$ac_try_echo"; } >&5
1890 (eval "$ac_link") 2>&5
1892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1894 { { case "(($ac_try" in
1895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1896 *) ac_try_echo=$ac_try;;
1898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899 $as_echo "$ac_try_echo"; } >&5
1900 (eval "$ac_try") 2>&5
1902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903 test $ac_status = 0; }; }; then :
1906 $as_echo "$as_me: program exited with status $ac_status" >&5
1907 $as_echo "$as_me: failed program was:" >&5
1908 sed 's/^/| /' conftest.$ac_ext >&5
1910 ac_retval=$ac_status
1912 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1913 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1918 # ac_fn_c_check_func LINENO FUNC VAR
1919 # ----------------------------------
1920 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1921 ac_fn_c_check_func ()
1923 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1925 $as_echo_n "checking for $2... " >&6; }
1926 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1927 $as_echo_n "(cached) " >&6
1929 if test x$gcc_no_link = xyes; then
1930 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h. */
1934 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1936 #define $2 innocuous_$2
1938 /* System header to define __stub macros and hopefully few prototypes,
1939 which can conflict with char $2 (); below.
1940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1941 <limits.h> exists even on freestanding compilers. */
1944 # include <limits.h>
1946 # include <assert.h>
1951 /* Override any GCC internal prototype to avoid an error.
1952 Use char because int might match the return type of a GCC
1953 builtin and then its argument prototype would still apply. */
1958 /* The GNU C library defines this for functions which it implements
1959 to always fail with ENOSYS. Some functions are actually named
1960 something starting with __ and the normal name is an alias. */
1961 #if defined __stub_$2 || defined __stub___$2
1973 if ac_fn_c_try_link "$LINENO"; then :
1978 rm -f core conftest.err conftest.$ac_objext \
1979 conftest$ac_exeext conftest.$ac_ext
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983 $as_echo "$ac_res" >&6; }
1984 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1986 } # ac_fn_c_check_func
1988 # ac_fn_cxx_try_cpp LINENO
1989 # ------------------------
1990 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1991 ac_fn_cxx_try_cpp ()
1993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1994 if { { ac_try="$ac_cpp conftest.$ac_ext"
1996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1997 *) ac_try_echo=$ac_try;;
1999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2003 if test -s conftest.err; then
2004 grep -v '^ *+' conftest.err >conftest.er1
2005 cat conftest.er1 >&5
2006 mv -f conftest.er1 conftest.err
2008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2009 test $ac_status = 0; } >/dev/null && {
2010 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2011 test ! -s conftest.err
2015 $as_echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.$ac_ext >&5
2020 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2023 } # ac_fn_cxx_try_cpp
2025 # ac_fn_cxx_try_link LINENO
2026 # -------------------------
2027 # Try to link conftest.$ac_ext, and return whether this succeeded.
2028 ac_fn_cxx_try_link ()
2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031 rm -f conftest.$ac_objext conftest$ac_exeext
2032 if { { ac_try="$ac_link"
2034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2035 *) ac_try_echo=$ac_try;;
2037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2038 $as_echo "$ac_try_echo"; } >&5
2039 (eval "$ac_link") 2>conftest.err
2041 if test -s conftest.err; then
2042 grep -v '^ *+' conftest.err >conftest.er1
2043 cat conftest.er1 >&5
2044 mv -f conftest.er1 conftest.err
2046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2047 test $ac_status = 0; } && {
2048 test -z "$ac_cxx_werror_flag" ||
2049 test ! -s conftest.err
2050 } && test -s conftest$ac_exeext && {
2051 test "$cross_compiling" = yes ||
2052 $as_test_x conftest$ac_exeext
2056 $as_echo "$as_me: failed program was:" >&5
2057 sed 's/^/| /' conftest.$ac_ext >&5
2061 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2062 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2063 # interfere with the next link command; also delete a directory that is
2064 # left behind by Apple's compiler. We do this before executing the actions.
2065 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2066 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2069 } # ac_fn_cxx_try_link
2071 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2072 # -------------------------------------------------------
2073 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2074 # the include files in INCLUDES and setting the cache variable VAR
2076 ac_fn_c_check_header_mongrel ()
2078 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2079 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2081 $as_echo_n "checking for $2... " >&6; }
2082 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2083 $as_echo_n "(cached) " >&6
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087 $as_echo "$ac_res" >&6; }
2089 # Is the header compilable?
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2091 $as_echo_n "checking $2 usability... " >&6; }
2092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2097 if ac_fn_c_try_compile "$LINENO"; then :
2098 ac_header_compiler=yes
2100 ac_header_compiler=no
2102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2104 $as_echo "$ac_header_compiler" >&6; }
2106 # Is the header present?
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2108 $as_echo_n "checking $2 presence... " >&6; }
2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2113 if ac_fn_c_try_cpp "$LINENO"; then :
2114 ac_header_preproc=yes
2116 ac_header_preproc=no
2118 rm -f conftest.err conftest.$ac_ext
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2120 $as_echo "$ac_header_preproc" >&6; }
2122 # So? What about this header?
2123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2126 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2128 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2132 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2134 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2136 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2138 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2140 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2144 $as_echo_n "checking for $2... " >&6; }
2145 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2146 $as_echo_n "(cached) " >&6
2148 eval "$3=\$ac_header_compiler"
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2152 $as_echo "$ac_res" >&6; }
2154 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2156 } # ac_fn_c_check_header_mongrel
2158 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2159 # ---------------------------------------------------------
2160 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2161 # the include files in INCLUDES and setting the cache variable VAR
2163 ac_fn_cxx_check_header_mongrel ()
2165 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2166 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2168 $as_echo_n "checking for $2... " >&6; }
2169 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2170 $as_echo_n "(cached) " >&6
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2174 $as_echo "$ac_res" >&6; }
2176 # Is the header compilable?
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2178 $as_echo_n "checking $2 usability... " >&6; }
2179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h. */
2184 if ac_fn_cxx_try_compile "$LINENO"; then :
2185 ac_header_compiler=yes
2187 ac_header_compiler=no
2189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2191 $as_echo "$ac_header_compiler" >&6; }
2193 # Is the header present?
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2195 $as_echo_n "checking $2 presence... " >&6; }
2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h. */
2200 if ac_fn_cxx_try_cpp "$LINENO"; then :
2201 ac_header_preproc=yes
2203 ac_header_preproc=no
2205 rm -f conftest.err conftest.$ac_ext
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2207 $as_echo "$ac_header_preproc" >&6; }
2209 # So? What about this header?
2210 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2213 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2215 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2219 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2221 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2223 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2225 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2231 $as_echo_n "checking for $2... " >&6; }
2232 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2233 $as_echo_n "(cached) " >&6
2235 eval "$3=\$ac_header_compiler"
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2239 $as_echo "$ac_res" >&6; }
2241 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2243 } # ac_fn_cxx_check_header_mongrel
2245 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2246 # --------------------------------------------
2247 # Tries to find the compile-time value of EXPR in a program that includes
2248 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2250 ac_fn_c_compute_int ()
2252 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2253 if test "$cross_compiling" = yes; then
2254 # Depending upon the size, compute the lo and hi bounds.
2255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2256 /* end confdefs.h. */
2261 static int test_array [1 - 2 * !(($2) >= 0)];
2268 if ac_fn_c_try_compile "$LINENO"; then :
2271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h. */
2277 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2284 if ac_fn_c_try_compile "$LINENO"; then :
2285 ac_hi=$ac_mid; break
2287 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2288 if test $ac_lo -le $ac_mid; then
2292 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2298 /* end confdefs.h. */
2303 static int test_array [1 - 2 * !(($2) < 0)];
2310 if ac_fn_c_try_compile "$LINENO"; then :
2313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2314 /* end confdefs.h. */
2319 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2326 if ac_fn_c_try_compile "$LINENO"; then :
2327 ac_lo=$ac_mid; break
2329 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2330 if test $ac_mid -le $ac_hi; then
2334 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2344 # Binary search between lo and hi bounds.
2345 while test "x$ac_lo" != "x$ac_hi"; do
2346 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2348 /* end confdefs.h. */
2353 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2360 if ac_fn_c_try_compile "$LINENO"; then :
2363 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2368 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2373 /* end confdefs.h. */
2375 static long int longval () { return $2; }
2376 static unsigned long int ulongval () { return $2; }
2383 FILE *f = fopen ("conftest.val", "w");
2388 long int i = longval ();
2391 fprintf (f, "%ld", i);
2395 unsigned long int i = ulongval ();
2398 fprintf (f, "%lu", i);
2400 /* Do not output a trailing newline, as this causes \r\n confusion
2401 on some platforms. */
2402 return ferror (f) || fclose (f) != 0;
2408 if ac_fn_c_try_run "$LINENO"; then :
2409 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2413 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2414 conftest.$ac_objext conftest.beam conftest.$ac_ext
2418 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2421 } # ac_fn_c_compute_int
2423 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2424 # -------------------------------------------
2425 # Tests whether TYPE exists after having included INCLUDES, setting cache
2426 # variable VAR accordingly.
2427 ac_fn_c_check_type ()
2429 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2431 $as_echo_n "checking for $2... " >&6; }
2432 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2433 $as_echo_n "(cached) " >&6
2436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h. */
2448 if ac_fn_c_try_compile "$LINENO"; then :
2449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h. */
2461 if ac_fn_c_try_compile "$LINENO"; then :
2466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2472 $as_echo "$ac_res" >&6; }
2473 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2475 } # ac_fn_c_check_type
2476 cat >config.log <<_ACEOF
2477 This file contains any messages produced by compilers while
2478 running configure, to aid debugging if configure makes a mistake.
2480 It was created by package-unused $as_me version-unused, which was
2481 generated by GNU Autoconf 2.64. Invocation command line was
2493 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2494 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2495 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2496 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2497 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2499 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2500 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2502 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2503 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2504 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2505 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2506 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2507 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2508 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir=.
2517 $as_echo "PATH: $as_dir"
2533 # Keep a trace of the command line.
2534 # Strip out --no-create and --no-recursion so they do not pile up.
2535 # Strip out --silent because we don't want to record it for future runs.
2536 # Also quote any args containing shell meta-characters.
2537 # Make two passes to allow for proper duplicate-argument suppression.
2541 ac_must_keep_next=false
2547 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2548 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2549 | -silent | --silent | --silen | --sile | --sil)
2552 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2555 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2557 as_fn_append ac_configure_args1 " '$ac_arg'"
2558 if test $ac_must_keep_next = true; then
2559 ac_must_keep_next=false # Got value, back to normal.
2562 *=* | --config-cache | -C | -disable-* | --disable-* \
2563 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2564 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2565 | -with-* | --with-* | -without-* | --without-* | --x)
2566 case "$ac_configure_args0 " in
2567 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2570 -* ) ac_must_keep_next=true ;;
2573 as_fn_append ac_configure_args " '$ac_arg'"
2578 { ac_configure_args0=; unset ac_configure_args0;}
2579 { ac_configure_args1=; unset ac_configure_args1;}
2581 # When interrupted or exit'd, cleanup temporary files, and complete
2582 # config.log. We remove comments because anyway the quotes in there
2583 # would cause problems or look ugly.
2584 # WARNING: Use '\'' to represent an apostrophe within the trap.
2585 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2586 trap 'exit_status=$?
2587 # Save into config.log some information that might help in debugging.
2592 ## ---------------- ##
2593 ## Cache variables. ##
2594 ## ---------------- ##
2597 # The following way of writing the cache mishandles newlines in values,
2599 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2600 eval ac_val=\$$ac_var
2604 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2605 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2608 _ | IFS | as_nl) ;; #(
2609 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2610 *) { eval $ac_var=; unset $ac_var;} ;;
2615 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2616 *${as_nl}ac_space=\ *)
2618 "s/'\''/'\''\\\\'\'''\''/g;
2619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2622 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2630 ## ----------------- ##
2631 ## Output variables. ##
2632 ## ----------------- ##
2635 for ac_var in $ac_subst_vars
2637 eval ac_val=\$$ac_var
2639 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2641 $as_echo "$ac_var='\''$ac_val'\''"
2645 if test -n "$ac_subst_files"; then
2647 ## ------------------- ##
2648 ## File substitutions. ##
2649 ## ------------------- ##
2652 for ac_var in $ac_subst_files
2654 eval ac_val=\$$ac_var
2656 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2658 $as_echo "$ac_var='\''$ac_val'\''"
2663 if test -s confdefs.h; then
2673 test "$ac_signal" != 0 &&
2674 $as_echo "$as_me: caught signal $ac_signal"
2675 $as_echo "$as_me: exit $exit_status"
2677 rm -f core *.core core.conftest.* &&
2678 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2681 for ac_signal in 1 2 13 15; do
2682 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2686 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2687 rm -f -r conftest* confdefs.h
2689 $as_echo "/* confdefs.h */" > confdefs.h
2691 # Predefined preprocessor variables.
2693 cat >>confdefs.h <<_ACEOF
2694 #define PACKAGE_NAME "$PACKAGE_NAME"
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2701 cat >>confdefs.h <<_ACEOF
2702 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE_STRING "$PACKAGE_STRING"
2709 cat >>confdefs.h <<_ACEOF
2710 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2713 cat >>confdefs.h <<_ACEOF
2714 #define PACKAGE_URL "$PACKAGE_URL"
2718 # Let the site file select an alternate cache file if it wants to.
2719 # Prefer an explicitly selected file to automatically selected ones.
2722 if test -n "$CONFIG_SITE"; then
2723 ac_site_file1=$CONFIG_SITE
2724 elif test "x$prefix" != xNONE; then
2725 ac_site_file1=$prefix/share/config.site
2726 ac_site_file2=$prefix/etc/config.site
2728 ac_site_file1=$ac_default_prefix/share/config.site
2729 ac_site_file2=$ac_default_prefix/etc/config.site
2731 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2733 test "x$ac_site_file" = xNONE && continue
2734 if test -r "$ac_site_file"; then
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2736 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2737 sed 's/^/| /' "$ac_site_file" >&5
2742 if test -r "$cache_file"; then
2743 # Some versions of bash will fail to source /dev/null (special
2744 # files actually), so we avoid doing that.
2745 if test -f "$cache_file"; then
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2747 $as_echo "$as_me: loading cache $cache_file" >&6;}
2749 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2750 *) . "./$cache_file";;
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2755 $as_echo "$as_me: creating cache $cache_file" >&6;}
2759 # Check that the precious variables saved in the cache have kept the same
2761 ac_cache_corrupted=false
2762 for ac_var in $ac_precious_vars; do
2763 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2764 eval ac_new_set=\$ac_env_${ac_var}_set
2765 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2766 eval ac_new_val=\$ac_env_${ac_var}_value
2767 case $ac_old_set,$ac_new_set in
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2770 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2771 ac_cache_corrupted=: ;;
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2774 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2775 ac_cache_corrupted=: ;;
2778 if test "x$ac_old_val" != "x$ac_new_val"; then
2779 # differences in whitespace do not lead to failure.
2780 ac_old_val_w=`echo x $ac_old_val`
2781 ac_new_val_w=`echo x $ac_new_val`
2782 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2784 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2785 ac_cache_corrupted=:
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2788 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2789 eval $ac_var=\$ac_old_val
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2792 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2794 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2797 # Pass precious variables to config.status.
2798 if test "$ac_new_set" = set; then
2800 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2801 *) ac_arg=$ac_var=$ac_new_val ;;
2803 case " $ac_configure_args " in
2804 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2805 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2809 if $ac_cache_corrupted; then
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2813 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2814 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2816 ## -------------------- ##
2817 ## Main body of script. ##
2818 ## -------------------- ##
2821 ac_cpp='$CPP $CPPFLAGS'
2822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2831 ac_config_headers="$ac_config_headers config.h"
2834 # This works around the fact that libtool configuration may change LD
2835 # for this particular configuration, but some shells, instead of
2836 # keeping the changes in LD private, export them just because LD is
2837 # exported. Only used at the end of this file.
2838 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2840 # Find the rest of the source tree framework.
2841 # Default to --enable-multilib
2842 # Check whether --enable-multilib was given.
2843 if test "${enable_multilib+set}" = set; then :
2844 enableval=$enable_multilib; case "$enableval" in
2845 yes) multilib=yes ;;
2847 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2854 # We may get other options which we leave undocumented:
2855 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2856 # See config-ml.in if you want the gory details.
2858 if test "$srcdir" = "."; then
2859 if test "$with_target_subdir" != "."; then
2860 multi_basedir="$srcdir/$with_multisrctop../.."
2862 multi_basedir="$srcdir/$with_multisrctop.."
2865 multi_basedir="$srcdir/.."
2869 # Even if the default multilib is not a cross compilation,
2870 # it may be that some of the other multilibs are.
2871 if test $cross_compiling = no && test $multilib = yes \
2872 && test "x${with_multisubdir}" != x ; then
2873 cross_compiling=maybe
2876 ac_config_commands="$ac_config_commands default-1"
2879 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2881 # You will slowly go insane if you do not grok the following fact: when
2882 # building v3 as part of the compiler, the top-level /target/ becomes the
2883 # library's /host/. configure then causes --target to default to --host,
2884 # exactly like any other package using autoconf. Therefore, 'target' and
2885 # 'host' will always be the same. This makes sense both for native and
2886 # cross compilers, just think about it for a little while. :-)
2888 # Also, if v3 is being configured as part of a cross compiler, the top-level
2889 # configure script will pass the "real" host as $with_cross_host.
2891 # Do not delete or change the following two lines. For why, see
2892 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2894 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2895 for ac_t in install-sh install.sh shtool; do
2896 if test -f "$ac_dir/$ac_t"; then
2898 ac_install_sh="$ac_aux_dir/$ac_t -c"
2903 if test -z "$ac_aux_dir"; then
2904 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2907 # These three variables are undocumented and unsupported,
2908 # and are intended to be withdrawn in a future Autoconf release.
2909 # They can cause serious problems if a builder's source tree is in a directory
2910 # whose full name contains unusual characters.
2911 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2912 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2913 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2916 # Make sure we can run config.sub.
2917 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2918 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2921 $as_echo_n "checking build system type... " >&6; }
2922 if test "${ac_cv_build+set}" = set; then :
2923 $as_echo_n "(cached) " >&6
2925 ac_build_alias=$build_alias
2926 test "x$ac_build_alias" = x &&
2927 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2928 test "x$ac_build_alias" = x &&
2929 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2930 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2931 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2935 $as_echo "$ac_cv_build" >&6; }
2936 case $ac_cv_build in
2938 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2941 ac_save_IFS=$IFS; IFS='-'
2947 # Remember, the first character of IFS is used to create $*,
2948 # except with old shells:
2951 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2955 $as_echo_n "checking host system type... " >&6; }
2956 if test "${ac_cv_host+set}" = set; then :
2957 $as_echo_n "(cached) " >&6
2959 if test "x$host_alias" = x; then
2960 ac_cv_host=$ac_cv_build
2962 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2963 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2968 $as_echo "$ac_cv_host" >&6; }
2971 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2974 ac_save_IFS=$IFS; IFS='-'
2980 # Remember, the first character of IFS is used to create $*,
2981 # except with old shells:
2984 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2988 $as_echo_n "checking target system type... " >&6; }
2989 if test "${ac_cv_target+set}" = set; then :
2990 $as_echo_n "(cached) " >&6
2992 if test "x$target_alias" = x; then
2993 ac_cv_target=$ac_cv_host
2995 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2996 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3001 $as_echo "$ac_cv_target" >&6; }
3002 case $ac_cv_target in
3004 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3006 target=$ac_cv_target
3007 ac_save_IFS=$IFS; IFS='-'
3013 # Remember, the first character of IFS is used to create $*,
3014 # except with old shells:
3017 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3020 # The aliases save the names the user supplied, while $host etc.
3021 # will get canonicalized.
3022 test -n "$target_alias" &&
3023 test "$program_prefix$program_suffix$program_transform_name" = \
3025 program_prefix=${target_alias}-
3027 target_alias=${target_alias-$host_alias}
3029 # Handy for debugging:
3030 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3032 if test "$build" != "$host"; then
3033 # We are being configured with some form of cross compiler.
3034 GLIBCXX_IS_NATIVE=false
3035 case "$host","$target" in
3036 # Darwin crosses can use the host system's libraries and headers,
3037 # because of the fat library support. Of course, it must be the
3038 # same version of Darwin on both sides. Allow the user to
3039 # just say --target=foo-darwin without a version number to mean
3040 # "the version on this system".
3041 *-*-darwin*,*-*-darwin*)
3042 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3043 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3044 if test $hostos = $targetos -o $targetos = darwin ; then
3045 GLIBCXX_IS_NATIVE=true
3054 GLIBCXX_IS_NATIVE=true
3057 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3058 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3059 # 1.x: minimum required version
3060 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3061 # of other PACKAGE_* variables will, however, and there's nothing
3062 # we can do about that; they come from AC_INIT).
3063 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3064 # file in the top srcdir, etc, etc), so stop complaining.
3065 # no-dependencies: turns off auto dependency generation (just for now)
3066 # no-dist: we don't want 'dist' and related rules.
3067 # -Wall: turns on all automake warnings...
3068 # -Wno-portability: ...except this one, since GNU make is now required.
3069 am__api_version='1.11'
3071 # Find a good install program. We prefer a C program (faster),
3072 # so one script is as good as another. But avoid the broken or
3073 # incompatible versions:
3074 # SysV /etc/install, /usr/sbin/install
3075 # SunOS /usr/etc/install
3076 # IRIX /sbin/install
3078 # AmigaOS /C/install, which installs bootblocks on floppy discs
3079 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3080 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3081 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3082 # OS/2's system install, which has a completely different semantic
3083 # ./install, which can be erroneously created by make from ./install.sh.
3084 # Reject install programs that cannot install multiple files.
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3086 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3087 if test -z "$INSTALL"; then
3088 if test "${ac_cv_path_install+set}" = set; then :
3089 $as_echo_n "(cached) " >&6
3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 test -z "$as_dir" && as_dir=.
3096 # Account for people who put trailing slashes in PATH elements.
3097 case $as_dir/ in #((
3098 ./ | .// | /[cC]/* | \
3099 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3100 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3103 # OSF1 and SCO ODT 3.0 have their own names for install.
3104 # Don't use installbsd from OSF since it installs stuff as root
3106 for ac_prog in ginstall scoinst install; do
3107 for ac_exec_ext in '' $ac_executable_extensions; do
3108 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3109 if test $ac_prog = install &&
3110 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3111 # AIX install. It has an incompatible calling convention.
3113 elif test $ac_prog = install &&
3114 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3115 # program-specific install script used by HP pwplus--don't use.
3118 rm -rf conftest.one conftest.two conftest.dir
3119 echo one > conftest.one
3120 echo two > conftest.two
3122 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3123 test -s conftest.one && test -s conftest.two &&
3124 test -s conftest.dir/conftest.one &&
3125 test -s conftest.dir/conftest.two
3127 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3140 rm -rf conftest.one conftest.two conftest.dir
3143 if test "${ac_cv_path_install+set}" = set; then
3144 INSTALL=$ac_cv_path_install
3146 # As a last resort, use the slow shell script. Don't cache a
3147 # value for INSTALL within a source directory, because that will
3148 # break other packages using the cache if that directory is
3149 # removed, or if the value is a relative name.
3150 INSTALL=$ac_install_sh
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3154 $as_echo "$INSTALL" >&6; }
3156 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3157 # It thinks the first close brace ends the variable substitution.
3158 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3160 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3162 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3165 $as_echo_n "checking whether build environment is sane... " >&6; }
3168 echo timestamp > conftest.file
3169 # Reject unsafe characters in $srcdir or the absolute working directory
3170 # name. Accept space and tab only in the latter.
3174 *[\\\"\#\$\&\'\`$am_lf]*)
3175 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3178 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3179 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3182 # Do `set' in a subshell so we don't clobber the current shell's
3183 # arguments. Must try -L first in case configure is actually a
3184 # symlink; some systems play weird games with the mod time of symlinks
3185 # (eg FreeBSD returns the mod time of the symlink's containing
3188 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3189 if test "$*" = "X"; then
3191 set X `ls -t "$srcdir/configure" conftest.file`
3194 if test "$*" != "X $srcdir/configure conftest.file" \
3195 && test "$*" != "X conftest.file $srcdir/configure"; then
3197 # If neither matched, then we have a broken ls. This can happen
3198 # if, for instance, CONFIG_SHELL is bash and it inherits a
3199 # broken ls alias from the environment. This has actually
3200 # happened. Such a system could not be considered "sane".
3201 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3202 alias in your environment" "$LINENO" 5
3205 test "$2" = conftest.file
3211 as_fn_error "newly created file is older than distributed files!
3212 Check your system clock" "$LINENO" 5
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3215 $as_echo "yes" >&6; }
3216 test "$program_prefix" != NONE &&
3217 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3218 # Use a double $ so make ignores it.
3219 test "$program_suffix" != NONE &&
3220 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3221 # Double any \ or $.
3222 # By default was `s,x,x', remove it if useless.
3223 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3224 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3226 # expand $ac_aux_dir to an absolute path
3227 am_aux_dir=`cd $ac_aux_dir && pwd`
3229 if test x"${MISSING+set}" != xset; then
3232 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3234 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3237 # Use eval to expand $SHELL
3238 if eval "$MISSING --run true"; then
3239 am_missing_run="$MISSING --run "
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3243 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3246 if test x"${install_sh}" != xset; then
3249 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3251 install_sh="\${SHELL} $am_aux_dir/install-sh"
3255 # Installed binaries are usually stripped using `strip' when the user
3256 # run `make install-strip'. However `strip' might not be the right
3257 # tool to use in cross-compilation environments, therefore Automake
3258 # will honor the `STRIP' environment variable to overrule this program.
3259 if test "$cross_compiling" != no; then
3260 if test -n "$ac_tool_prefix"; then
3261 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3262 set dummy ${ac_tool_prefix}strip; ac_word=$2
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3264 $as_echo_n "checking for $ac_word... " >&6; }
3265 if test "${ac_cv_prog_STRIP+set}" = set; then :
3266 $as_echo_n "(cached) " >&6
3268 if test -n "$STRIP"; then
3269 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3275 test -z "$as_dir" && as_dir=.
3276 for ac_exec_ext in '' $ac_executable_extensions; do
3277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3288 STRIP=$ac_cv_prog_STRIP
3289 if test -n "$STRIP"; then
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3291 $as_echo "$STRIP" >&6; }
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294 $as_echo "no" >&6; }
3299 if test -z "$ac_cv_prog_STRIP"; then
3301 # Extract the first word of "strip", so it can be a program name with args.
3302 set dummy strip; ac_word=$2
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3304 $as_echo_n "checking for $ac_word... " >&6; }
3305 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3306 $as_echo_n "(cached) " >&6
3308 if test -n "$ac_ct_STRIP"; then
3309 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3315 test -z "$as_dir" && as_dir=.
3316 for ac_exec_ext in '' $ac_executable_extensions; do
3317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3318 ac_cv_prog_ac_ct_STRIP="strip"
3319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3328 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3329 if test -n "$ac_ct_STRIP"; then
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3331 $as_echo "$ac_ct_STRIP" >&6; }
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334 $as_echo "no" >&6; }
3337 if test "x$ac_ct_STRIP" = x; then
3340 case $cross_compiling:$ac_tool_warned in
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3344 ac_tool_warned=yes ;;
3349 STRIP="$ac_cv_prog_STRIP"
3353 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3356 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3357 if test -z "$MKDIR_P"; then
3358 if test "${ac_cv_path_mkdir+set}" = set; then :
3359 $as_echo_n "(cached) " >&6
3361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3362 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3365 test -z "$as_dir" && as_dir=.
3366 for ac_prog in mkdir gmkdir; do
3367 for ac_exec_ext in '' $ac_executable_extensions; do
3368 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3369 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3370 'mkdir (GNU coreutils) '* | \
3371 'mkdir (coreutils) '* | \
3372 'mkdir (fileutils) '4.1*)
3373 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3383 if test "${ac_cv_path_mkdir+set}" = set; then
3384 MKDIR_P="$ac_cv_path_mkdir -p"
3386 # As a last resort, use the slow shell script. Don't cache a
3387 # value for MKDIR_P within a source directory, because that will
3388 # break other packages using the cache if that directory is
3389 # removed, or if the value is a relative name.
3390 test -d ./--version && rmdir ./--version
3391 MKDIR_P="$ac_install_sh -d"
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3395 $as_echo "$MKDIR_P" >&6; }
3399 [\\/$]* | ?:[\\/]*) ;;
3400 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3403 for ac_prog in gawk mawk nawk awk
3405 # Extract the first word of "$ac_prog", so it can be a program name with args.
3406 set dummy $ac_prog; ac_word=$2
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3408 $as_echo_n "checking for $ac_word... " >&6; }
3409 if test "${ac_cv_prog_AWK+set}" = set; then :
3410 $as_echo_n "(cached) " >&6
3412 if test -n "$AWK"; then
3413 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3419 test -z "$as_dir" && as_dir=.
3420 for ac_exec_ext in '' $ac_executable_extensions; do
3421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3422 ac_cv_prog_AWK="$ac_prog"
3423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3433 if test -n "$AWK"; then
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3435 $as_echo "$AWK" >&6; }
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3438 $as_echo "no" >&6; }
3442 test -n "$AWK" && break
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3446 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3448 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3449 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3450 $as_echo_n "(cached) " >&6
3452 cat >conftest.make <<\_ACEOF
3455 @echo '@@@%%%=$(MAKE)=@@@%%%'
3457 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3458 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3460 eval ac_cv_prog_make_${ac_make}_set=yes;;
3462 eval ac_cv_prog_make_${ac_make}_set=no;;
3466 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3468 $as_echo "yes" >&6; }
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3472 $as_echo "no" >&6; }
3473 SET_MAKE="MAKE=${MAKE-make}"
3476 rm -rf .tst 2>/dev/null
3477 mkdir .tst 2>/dev/null
3478 if test -d .tst; then
3483 rmdir .tst 2>/dev/null
3485 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3486 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3487 # is not polluted with repeated "-I."
3488 am__isrc=' -I$(srcdir)'
3489 # test to see if srcdir already configured
3490 if test -f $srcdir/config.status; then
3491 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3495 # test whether we have cygpath
3496 if test -z "$CYGPATH_W"; then
3497 if (cygpath --version) >/dev/null 2>/dev/null; then
3498 CYGPATH_W='cygpath -w'
3505 # Define the identity of the package.
3507 VERSION='version-unused'
3510 # Some tools Automake needs.
3512 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3515 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3518 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3521 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3524 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3526 # We need awk for the "check" target. The system "awk" is bad on
3528 # Always define AMTAR for backward compatibility.
3530 AMTAR=${AMTAR-"${am_missing_run}tar"}
3532 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3541 # -fno-builtin must be present here so that a non-conflicting form of
3542 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3544 save_CXXFLAGS="$CXXFLAGS"
3545 CXXFLAGS="$CXXFLAGS -fno-builtin"
3547 ac_cpp='$CPP $CPPFLAGS'
3548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3551 if test -n "$ac_tool_prefix"; then
3552 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3553 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; }
3556 if test "${ac_cv_prog_CC+set}" = set; then :
3557 $as_echo_n "(cached) " >&6
3559 if test -n "$CC"; then
3560 ac_cv_prog_CC="$CC" # Let the user override the test.
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566 test -z "$as_dir" && as_dir=.
3567 for ac_exec_ext in '' $ac_executable_extensions; do
3568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3569 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 if test -n "$CC"; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3582 $as_echo "$CC" >&6; }
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3590 if test -z "$ac_cv_prog_CC"; then
3592 # Extract the first word of "gcc", so it can be a program name with args.
3593 set dummy gcc; ac_word=$2
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5