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/ios.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
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
646 ENABLE_SYMVERS_SOL2_FALSE
647 ENABLE_SYMVERS_SOL2_TRUE
648 ENABLE_SYMVERS_SUN_FALSE
649 ENABLE_SYMVERS_SUN_TRUE
650 ENABLE_SYMVERS_DARWIN_FALSE
651 ENABLE_SYMVERS_DARWIN_TRUE
652 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
653 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
654 ENABLE_SYMVERS_GNU_FALSE
655 ENABLE_SYMVERS_GNU_TRUE
658 port_specific_symbol_files
667 ENABLE_PARALLEL_FALSE
669 GLIBCXX_BUILD_DEBUG_FALSE
670 GLIBCXX_BUILD_DEBUG_TRUE
672 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
673 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
674 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
675 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
676 GLIBCXX_C_HEADERS_C_STD_FALSE
677 GLIBCXX_C_HEADERS_C_STD_TRUE
678 GLIBCXX_C_HEADERS_C_FALSE
679 GLIBCXX_C_HEADERS_C_TRUE
707 GLIBCXX_BUILD_PCH_FALSE
708 GLIBCXX_BUILD_PCH_TRUE
732 MAINTAINER_MODE_FALSE
759 INSTALL_STRIP_PROGRAM
815 program_transform_name
828 enable_option_checking
833 enable_maintainer_mode
840 enable_hosted_libstdcxx
841 enable_sjlj_exceptions
846 enable_libstdcxx_allocator
851 enable_concept_checks
852 enable_libstdcxx_debug_flags
853 enable_libstdcxx_debug
855 enable_fully_dynamic_string
856 enable_libstdcxx_time
860 with_system_libunwind
865 enable_version_specific_runtime_libs
867 ac_precious_vars='build_alias
883 # Initialize some variables set by options.
885 ac_init_version=false
886 ac_unrecognized_opts=
888 # The variables have the same names as the options, with
889 # dashes changed to underlines.
897 program_transform_name=s,x,x,
905 # Installation directory options.
906 # These are left unexpanded so users can "make install exec_prefix=/foo"
907 # and all the variables that are supposed to be based on exec_prefix
908 # by default will actually change.
909 # Use braces instead of parens because sh, perl, etc. also accept them.
910 # (The list follows the same order as the GNU Coding Standards.)
911 bindir='${exec_prefix}/bin'
912 sbindir='${exec_prefix}/sbin'
913 libexecdir='${exec_prefix}/libexec'
914 datarootdir='${prefix}/share'
915 datadir='${datarootdir}'
916 sysconfdir='${prefix}/etc'
917 sharedstatedir='${prefix}/com'
918 localstatedir='${prefix}/var'
919 includedir='${prefix}/include'
920 oldincludedir='/usr/include'
921 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
922 infodir='${datarootdir}/info'
927 libdir='${exec_prefix}/lib'
928 localedir='${datarootdir}/locale'
929 mandir='${datarootdir}/man'
935 # If the previous option needs an argument, assign it.
936 if test -n "$ac_prev"; then
937 eval $ac_prev=\$ac_option
943 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
947 # Accept the important Cygnus configure options, so we can diagnose typos.
949 case $ac_dashdash$ac_option in
953 -bindir | --bindir | --bindi | --bind | --bin | --bi)
955 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
958 -build | --build | --buil | --bui | --bu)
959 ac_prev=build_alias ;;
960 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
961 build_alias=$ac_optarg ;;
963 -cache-file | --cache-file | --cache-fil | --cache-fi \
964 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
965 ac_prev=cache_file ;;
966 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
967 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
968 cache_file=$ac_optarg ;;
971 cache_file=config.cache ;;
973 -datadir | --datadir | --datadi | --datad)
975 -datadir=* | --datadir=* | --datadi=* | --datad=*)
976 datadir=$ac_optarg ;;
978 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
979 | --dataroo | --dataro | --datar)
980 ac_prev=datarootdir ;;
981 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
982 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
983 datarootdir=$ac_optarg ;;
985 -disable-* | --disable-*)
986 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989 as_fn_error "invalid feature name: $ac_useropt"
990 ac_useropt_orig=$ac_useropt
991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
997 ac_unrecognized_sep=', ';;
999 eval enable_$ac_useropt=no ;;
1001 -docdir | --docdir | --docdi | --doc | --do)
1003 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1004 docdir=$ac_optarg ;;
1006 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1008 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1009 dvidir=$ac_optarg ;;
1011 -enable-* | --enable-*)
1012 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015 as_fn_error "invalid feature name: $ac_useropt"
1016 ac_useropt_orig=$ac_useropt
1017 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1020 "enable_$ac_useropt"
1022 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1023 ac_unrecognized_sep=', ';;
1025 eval enable_$ac_useropt=\$ac_optarg ;;
1027 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1028 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1029 | --exec | --exe | --ex)
1030 ac_prev=exec_prefix ;;
1031 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1032 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1033 | --exec=* | --exe=* | --ex=*)
1034 exec_prefix=$ac_optarg ;;
1036 -gas | --gas | --ga | --g)
1037 # Obsolete; use --with-gas.
1040 -help | --help | --hel | --he | -h)
1041 ac_init_help=long ;;
1042 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1043 ac_init_help=recursive ;;
1044 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1045 ac_init_help=short ;;
1047 -host | --host | --hos | --ho)
1048 ac_prev=host_alias ;;
1049 -host=* | --host=* | --hos=* | --ho=*)
1050 host_alias=$ac_optarg ;;
1052 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1054 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1056 htmldir=$ac_optarg ;;
1058 -includedir | --includedir | --includedi | --included | --include \
1059 | --includ | --inclu | --incl | --inc)
1060 ac_prev=includedir ;;
1061 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1062 | --includ=* | --inclu=* | --incl=* | --inc=*)
1063 includedir=$ac_optarg ;;
1065 -infodir | --infodir | --infodi | --infod | --info | --inf)
1067 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1068 infodir=$ac_optarg ;;
1070 -libdir | --libdir | --libdi | --libd)
1072 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1073 libdir=$ac_optarg ;;
1075 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1076 | --libexe | --libex | --libe)
1077 ac_prev=libexecdir ;;
1078 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1079 | --libexe=* | --libex=* | --libe=*)
1080 libexecdir=$ac_optarg ;;
1082 -localedir | --localedir | --localedi | --localed | --locale)
1083 ac_prev=localedir ;;
1084 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1085 localedir=$ac_optarg ;;
1087 -localstatedir | --localstatedir | --localstatedi | --localstated \
1088 | --localstate | --localstat | --localsta | --localst | --locals)
1089 ac_prev=localstatedir ;;
1090 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1091 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1092 localstatedir=$ac_optarg ;;
1094 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1096 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1097 mandir=$ac_optarg ;;
1099 -nfp | --nfp | --nf)
1100 # Obsolete; use --without-fp.
1103 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1104 | --no-cr | --no-c | -n)
1107 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1108 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1111 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1112 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1113 | --oldin | --oldi | --old | --ol | --o)
1114 ac_prev=oldincludedir ;;
1115 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1116 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1117 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1118 oldincludedir=$ac_optarg ;;
1120 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1122 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1123 prefix=$ac_optarg ;;
1125 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1126 | --program-pre | --program-pr | --program-p)
1127 ac_prev=program_prefix ;;
1128 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1129 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1130 program_prefix=$ac_optarg ;;
1132 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1133 | --program-suf | --program-su | --program-s)
1134 ac_prev=program_suffix ;;
1135 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1136 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1137 program_suffix=$ac_optarg ;;
1139 -program-transform-name | --program-transform-name \
1140 | --program-transform-nam | --program-transform-na \
1141 | --program-transform-n | --program-transform- \
1142 | --program-transform | --program-transfor \
1143 | --program-transfo | --program-transf \
1144 | --program-trans | --program-tran \
1145 | --progr-tra | --program-tr | --program-t)
1146 ac_prev=program_transform_name ;;
1147 -program-transform-name=* | --program-transform-name=* \
1148 | --program-transform-nam=* | --program-transform-na=* \
1149 | --program-transform-n=* | --program-transform-=* \
1150 | --program-transform=* | --program-transfor=* \
1151 | --program-transfo=* | --program-transf=* \
1152 | --program-trans=* | --program-tran=* \
1153 | --progr-tra=* | --program-tr=* | --program-t=*)
1154 program_transform_name=$ac_optarg ;;
1156 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1158 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1159 pdfdir=$ac_optarg ;;
1161 -psdir | --psdir | --psdi | --psd | --ps)
1163 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1166 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1167 | -silent | --silent | --silen | --sile | --sil)
1170 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1172 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1174 sbindir=$ac_optarg ;;
1176 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1177 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1178 | --sharedst | --shareds | --shared | --share | --shar \
1180 ac_prev=sharedstatedir ;;
1181 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1182 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1183 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1185 sharedstatedir=$ac_optarg ;;
1187 -site | --site | --sit)
1189 -site=* | --site=* | --sit=*)
1192 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1194 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1195 srcdir=$ac_optarg ;;
1197 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1198 | --syscon | --sysco | --sysc | --sys | --sy)
1199 ac_prev=sysconfdir ;;
1200 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1201 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1202 sysconfdir=$ac_optarg ;;
1204 -target | --target | --targe | --targ | --tar | --ta | --t)
1205 ac_prev=target_alias ;;
1206 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1207 target_alias=$ac_optarg ;;
1209 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1212 -version | --version | --versio | --versi | --vers | -V)
1213 ac_init_version=: ;;
1216 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1217 # Reject names that are not valid shell variable names.
1218 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1219 as_fn_error "invalid package name: $ac_useropt"
1220 ac_useropt_orig=$ac_useropt
1221 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1222 case $ac_user_opts in
1226 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1227 ac_unrecognized_sep=', ';;
1229 eval with_$ac_useropt=\$ac_optarg ;;
1231 -without-* | --without-*)
1232 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1233 # Reject names that are not valid shell variable names.
1234 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1235 as_fn_error "invalid package name: $ac_useropt"
1236 ac_useropt_orig=$ac_useropt
1237 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1238 case $ac_user_opts in
1242 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1243 ac_unrecognized_sep=', ';;
1245 eval with_$ac_useropt=no ;;
1248 # Obsolete; use --with-x.
1251 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1252 | --x-incl | --x-inc | --x-in | --x-i)
1253 ac_prev=x_includes ;;
1254 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1255 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1256 x_includes=$ac_optarg ;;
1258 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1259 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1260 ac_prev=x_libraries ;;
1261 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1262 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1263 x_libraries=$ac_optarg ;;
1265 -*) as_fn_error "unrecognized option: \`$ac_option'
1266 Try \`$0 --help' for more information."
1270 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1271 # Reject names that are not valid shell variable names.
1272 case $ac_envvar in #(
1273 '' | [0-9]* | *[!_$as_cr_alnum]* )
1274 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1276 eval $ac_envvar=\$ac_optarg
1277 export $ac_envvar ;;
1280 # FIXME: should be removed in autoconf 3.0.
1281 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1282 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1283 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1284 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1290 if test -n "$ac_prev"; then
1291 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1292 as_fn_error "missing argument to $ac_option"
1295 if test -n "$ac_unrecognized_opts"; then
1296 case $enable_option_checking in
1298 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1299 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1303 # Check all directory arguments for consistency.
1304 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1305 datadir sysconfdir sharedstatedir localstatedir includedir \
1306 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1307 libdir localedir mandir
1309 eval ac_val=\$$ac_var
1310 # Remove trailing slashes.
1313 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1314 eval $ac_var=\$ac_val;;
1316 # Be sure to have absolute directory names.
1318 [\\/$]* | ?:[\\/]* ) continue;;
1319 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1321 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1324 # There might be people who depend on the old broken behavior: `$host'
1325 # used to hold the argument of --host etc.
1326 # FIXME: To remove some day.
1329 target=$target_alias
1331 # FIXME: To remove some day.
1332 if test "x$host_alias" != x; then
1333 if test "x$build_alias" = x; then
1334 cross_compiling=maybe
1335 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1336 If a cross compiler is detected then cross compile mode will be used." >&2
1337 elif test "x$build_alias" != "x$host_alias"; then
1343 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1345 test "$silent" = yes && exec 6>/dev/null
1348 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1349 ac_ls_di=`ls -di .` &&
1350 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1351 as_fn_error "working directory cannot be determined"
1352 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1353 as_fn_error "pwd does not report name of working directory"
1356 # Find the source files, if location was not specified.
1357 if test -z "$srcdir"; then
1358 ac_srcdir_defaulted=yes
1359 # Try the directory containing this script, then the parent directory.
1360 ac_confdir=`$as_dirname -- "$as_myself" ||
1361 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1362 X"$as_myself" : 'X\(//\)[^/]' \| \
1363 X"$as_myself" : 'X\(//\)$' \| \
1364 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1365 $as_echo X"$as_myself" |
1366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1384 if test ! -r "$srcdir/$ac_unique_file"; then
1388 ac_srcdir_defaulted=no
1390 if test ! -r "$srcdir/$ac_unique_file"; then
1391 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1392 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1394 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1396 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1398 # When building in place, set srcdir=.
1399 if test "$ac_abs_confdir" = "$ac_pwd"; then
1402 # Remove unnecessary trailing slashes from srcdir.
1403 # Double slashes in file names in object file debugging info
1404 # mess up M-x gdb in Emacs.
1406 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1408 for ac_var in $ac_precious_vars; do
1409 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1410 eval ac_env_${ac_var}_value=\$${ac_var}
1411 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1412 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1416 # Report the --help message.
1418 if test "$ac_init_help" = "long"; then
1419 # Omit some internal or obsolete options to make the list less imposing.
1420 # This message is too long to be a string in the A/UX 3.1 sh.
1422 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1424 Usage: $0 [OPTION]... [VAR=VALUE]...
1426 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1427 VAR=VALUE. See below for descriptions of some of the useful variables.
1429 Defaults for the options are specified in brackets.
1432 -h, --help display this help and exit
1433 --help=short display options specific to this package
1434 --help=recursive display the short help of all the included packages
1435 -V, --version display version information and exit
1436 -q, --quiet, --silent do not print \`checking...' messages
1437 --cache-file=FILE cache test results in FILE [disabled]
1438 -C, --config-cache alias for \`--cache-file=config.cache'
1439 -n, --no-create do not create output files
1440 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1442 Installation directories:
1443 --prefix=PREFIX install architecture-independent files in PREFIX
1444 [$ac_default_prefix]
1445 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1448 By default, \`make install' will install all the files in
1449 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1450 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1451 for instance \`--prefix=\$HOME'.
1453 For better control, use the options below.
1455 Fine tuning of the installation directories:
1456 --bindir=DIR user executables [EPREFIX/bin]
1457 --sbindir=DIR system admin executables [EPREFIX/sbin]
1458 --libexecdir=DIR program executables [EPREFIX/libexec]
1459 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1460 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1461 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1462 --libdir=DIR object code libraries [EPREFIX/lib]
1463 --includedir=DIR C header files [PREFIX/include]
1464 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1465 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1466 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1467 --infodir=DIR info documentation [DATAROOTDIR/info]
1468 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1469 --mandir=DIR man documentation [DATAROOTDIR/man]
1470 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1471 --htmldir=DIR html documentation [DOCDIR]
1472 --dvidir=DIR dvi documentation [DOCDIR]
1473 --pdfdir=DIR pdf documentation [DOCDIR]
1474 --psdir=DIR ps documentation [DOCDIR]
1480 --program-prefix=PREFIX prepend PREFIX to installed program names
1481 --program-suffix=SUFFIX append SUFFIX to installed program names
1482 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1485 --build=BUILD configure for building on BUILD [guessed]
1486 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1487 --target=TARGET configure for building compilers for TARGET [HOST]
1491 if test -n "$ac_init_help"; then
1492 case $ac_init_help in
1493 short | recursive ) echo "Configuration of package-unused version-unused:";;
1498 --disable-option-checking ignore unrecognized --enable/--with options
1499 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1500 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1501 --enable-multilib build many library versions (default)
1502 --enable-maintainer-mode enable make rules and dependencies not useful
1503 (and sometimes confusing) to the casual installer
1504 --enable-shared[=PKGS] build shared libraries [default=yes]
1505 --enable-static[=PKGS] build static libraries [default=yes]
1506 --enable-fast-install[=PKGS]
1507 optimize for fast installation [default=yes]
1508 --disable-libtool-lock avoid locking (might break parallel builds)
1509 --disable-hosted-libstdcxx
1510 only build freestanding C++ runtime support
1511 --enable-sjlj-exceptions
1512 force use of builtin_setjmp for exceptions
1514 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1515 [default=$is_hosted]
1516 --enable-cstdio[=PACKAGE]
1517 use target-specific I/O package [default=stdio]
1518 --enable-clocale[=MODEL]
1519 use MODEL for target locale package [default=auto]
1520 --enable-nls use Native Language Support (default)
1521 --enable-libstdcxx-allocator[=KIND]
1522 use KIND for target std::allocator base
1524 --enable-cheaders[=KIND]
1525 construct "C" headers for g++ [default=$c_model]
1526 --enable-long-long enable template specializations for 'long long'
1528 --enable-wchar_t enable template specializations for 'wchar_t'
1530 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1531 --enable-concept-checks use Boost-derived template checks [default=no]
1532 --enable-libstdcxx-debug-flags=FLAGS
1533 pass compiler FLAGS when building debug library
1535 --enable-libstdcxx-debug
1536 build extra debug library [default=no]
1537 --enable-cxx-flags=FLAGS
1538 pass compiler FLAGS when building library [default=]
1539 --enable-fully-dynamic-string
1540 do not put empty strings in per-process static
1542 --enable-libstdcxx-time[=KIND]
1543 use KIND for check type [default=no]
1544 --enable-tls Use thread-local storage [default=yes]
1545 --disable-rpath do not hardcode runtime library paths
1546 --enable-linux-futex use the Linux futex system call [default=default]
1547 --enable-symvers[=STYLE]
1548 enables symbol versioning of the shared library
1550 --enable-visibility enables visibility safe usage [default=yes]
1551 --enable-version-specific-runtime-libs
1552 Specify that runtime libraries should be installed
1553 in a compiler-specific directory
1556 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1557 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1558 --with-target-subdir=SUBDIR
1559 configuring in a subdirectory
1560 --with-cross-host=HOST configuring with a cross compiler
1561 --with-newlib assume newlib as a system C library
1562 --with-pic try to use only PIC/non-PIC objects [default=use
1564 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1565 --with-gnu-ld assume the C compiler uses GNU ld default=no
1566 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1567 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1568 --with-system-libunwind use installed libunwind
1569 --with-gxx-include-dir=DIR
1570 installation directory for include files
1572 Some influential environment variables:
1573 CC C compiler command
1574 CFLAGS C compiler flags
1575 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1576 nonstandard directory <lib dir>
1577 LIBS libraries to pass to the linker, e.g. -l<library>
1578 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1579 you have headers in a nonstandard directory <include dir>
1580 CXX C++ compiler command
1581 CXXFLAGS C++ compiler flags
1583 CXXCPP C++ preprocessor
1584 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1585 `c++filt', `gc++filt' on PATH.
1587 Use these variables to override the choices made by `configure' or to help
1588 it to find libraries and programs with nonstandard names/locations.
1590 Report bugs to the package provider.
1595 if test "$ac_init_help" = "recursive"; then
1596 # If there are subdirs, report their specific --help.
1597 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1598 test -d "$ac_dir" ||
1599 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1607 # A ".." for each directory in $ac_dir_suffix.
1608 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1609 case $ac_top_builddir_sub in
1610 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1614 ac_abs_top_builddir=$ac_pwd
1615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1616 # for backward compatibility:
1617 ac_top_builddir=$ac_top_build_prefix
1620 .) # We are building in place.
1622 ac_top_srcdir=$ac_top_builddir_sub
1623 ac_abs_top_srcdir=$ac_pwd ;;
1624 [\\/]* | ?:[\\/]* ) # Absolute name.
1625 ac_srcdir=$srcdir$ac_dir_suffix;
1626 ac_top_srcdir=$srcdir
1627 ac_abs_top_srcdir=$srcdir ;;
1629 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1630 ac_top_srcdir=$ac_top_build_prefix$srcdir
1631 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1635 cd "$ac_dir" || { ac_status=$?; continue; }
1636 # Check for guested configure.
1637 if test -f "$ac_srcdir/configure.gnu"; then
1639 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1640 elif test -f "$ac_srcdir/configure"; then
1642 $SHELL "$ac_srcdir/configure" --help=recursive
1644 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1646 cd "$ac_pwd" || { ac_status=$?; break; }
1650 test -n "$ac_init_help" && exit $ac_status
1651 if $ac_init_version; then
1653 package-unused configure version-unused
1654 generated by GNU Autoconf 2.64
1656 Copyright (C) 2009 Free Software Foundation, Inc.
1657 This configure script is free software; the Free Software Foundation
1658 gives unlimited permission to copy, distribute and modify it.
1663 ## ------------------------ ##
1664 ## Autoconf initialization. ##
1665 ## ------------------------ ##
1667 # ac_fn_c_try_compile LINENO
1668 # --------------------------
1669 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1670 ac_fn_c_try_compile ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 rm -f conftest.$ac_objext
1674 if { { ac_try="$ac_compile"
1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_compile") 2>conftest.err
1683 if test -s conftest.err; then
1684 grep -v '^ *+' conftest.err >conftest.er1
1685 cat conftest.er1 >&5
1686 mv -f conftest.er1 conftest.err
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && {
1690 test -z "$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1692 } && test -s conftest.$ac_objext; then :
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1700 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1703 } # ac_fn_c_try_compile
1705 # ac_fn_cxx_try_compile LINENO
1706 # ----------------------------
1707 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1708 ac_fn_cxx_try_compile ()
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 rm -f conftest.$ac_objext
1712 if { { ac_try="$ac_compile"
1714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_compile") 2>conftest.err
1721 if test -s conftest.err; then
1722 grep -v '^ *+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && {
1728 test -z "$ac_cxx_werror_flag" ||
1729 test ! -s conftest.err
1730 } && test -s conftest.$ac_objext; then :
1733 $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.$ac_ext >&5
1738 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1741 } # ac_fn_cxx_try_compile
1743 # ac_fn_c_try_cpp LINENO
1744 # ----------------------
1745 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 if { { ac_try="$ac_cpp conftest.$ac_ext"
1751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1752 *) ac_try_echo=$ac_try;;
1754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1755 $as_echo "$ac_try_echo"; } >&5
1756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1758 if test -s conftest.err; then
1759 grep -v '^ *+' conftest.err >conftest.er1
1760 cat conftest.er1 >&5
1761 mv -f conftest.er1 conftest.err
1763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1764 test $ac_status = 0; } >/dev/null && {
1765 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1766 test ! -s conftest.err
1770 $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.$ac_ext >&5
1775 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1780 # ac_fn_c_try_link LINENO
1781 # -----------------------
1782 # Try to link conftest.$ac_ext, and return whether this succeeded.
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 rm -f conftest.$ac_objext conftest$ac_exeext
1787 if { { ac_try="$ac_link"
1789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790 *) ac_try_echo=$ac_try;;
1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794 (eval "$ac_link") 2>conftest.err
1796 if test -s conftest.err; then
1797 grep -v '^ *+' conftest.err >conftest.er1
1798 cat conftest.er1 >&5
1799 mv -f conftest.er1 conftest.err
1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 test $ac_status = 0; } && {
1803 test -z "$ac_c_werror_flag" ||
1804 test ! -s conftest.err
1805 } && test -s conftest$ac_exeext && {
1806 test "$cross_compiling" = yes ||
1807 $as_test_x conftest$ac_exeext
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1816 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1817 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1818 # interfere with the next link command; also delete a directory that is
1819 # left behind by Apple's compiler. We do this before executing the actions.
1820 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1821 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1824 } # ac_fn_c_try_link
1826 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1827 # -------------------------------------------------------
1828 # Tests whether HEADER exists and can be compiled using the include files in
1829 # INCLUDES, setting the cache variable VAR accordingly.
1830 ac_fn_c_check_header_compile ()
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834 $as_echo_n "checking for $2... " >&6; }
1835 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1836 $as_echo_n "(cached) " >&6
1838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h. */
1843 if ac_fn_c_try_compile "$LINENO"; then :
1848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1853 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1855 } # ac_fn_c_check_header_compile
1857 # ac_fn_c_try_run LINENO
1858 # ----------------------
1859 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1860 # that executables *can* be run.
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 if { { ac_try="$ac_link"
1866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1867 *) ac_try_echo=$ac_try;;
1869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1870 $as_echo "$ac_try_echo"; } >&5
1871 (eval "$ac_link") 2>&5
1873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1875 { { case "(($ac_try" in
1876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1877 *) ac_try_echo=$ac_try;;
1879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1880 $as_echo "$ac_try_echo"; } >&5
1881 (eval "$ac_try") 2>&5
1883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1884 test $ac_status = 0; }; }; then :
1887 $as_echo "$as_me: program exited with status $ac_status" >&5
1888 $as_echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1891 ac_retval=$ac_status
1893 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1894 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1899 # ac_fn_c_check_func LINENO FUNC VAR
1900 # ----------------------------------
1901 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1902 ac_fn_c_check_func ()
1904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906 $as_echo_n "checking for $2... " >&6; }
1907 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1908 $as_echo_n "(cached) " >&6
1910 if test x$gcc_no_link = xyes; then
1911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1915 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1917 #define $2 innocuous_$2
1919 /* System header to define __stub macros and hopefully few prototypes,
1920 which can conflict with char $2 (); below.
1921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1922 <limits.h> exists even on freestanding compilers. */
1925 # include <limits.h>
1927 # include <assert.h>
1932 /* Override any GCC internal prototype to avoid an error.
1933 Use char because int might match the return type of a GCC
1934 builtin and then its argument prototype would still apply. */
1939 /* The GNU C library defines this for functions which it implements
1940 to always fail with ENOSYS. Some functions are actually named
1941 something starting with __ and the normal name is an alias. */
1942 #if defined __stub_$2 || defined __stub___$2
1954 if ac_fn_c_try_link "$LINENO"; then :
1959 rm -f core conftest.err conftest.$ac_objext \
1960 conftest$ac_exeext conftest.$ac_ext
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1964 $as_echo "$ac_res" >&6; }
1965 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1967 } # ac_fn_c_check_func
1969 # ac_fn_cxx_try_cpp LINENO
1970 # ------------------------
1971 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1972 ac_fn_cxx_try_cpp ()
1974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975 if { { ac_try="$ac_cpp conftest.$ac_ext"
1977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978 *) ac_try_echo=$ac_try;;
1980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1981 $as_echo "$ac_try_echo"; } >&5
1982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1984 if test -s conftest.err; then
1985 grep -v '^ *+' conftest.err >conftest.er1
1986 cat conftest.er1 >&5
1987 mv -f conftest.er1 conftest.err
1989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1990 test $ac_status = 0; } >/dev/null && {
1991 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1992 test ! -s conftest.err
1996 $as_echo "$as_me: failed program was:" >&5
1997 sed 's/^/| /' conftest.$ac_ext >&5
2001 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2004 } # ac_fn_cxx_try_cpp
2006 # ac_fn_cxx_try_link LINENO
2007 # -------------------------
2008 # Try to link conftest.$ac_ext, and return whether this succeeded.
2009 ac_fn_cxx_try_link ()
2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012 rm -f conftest.$ac_objext conftest$ac_exeext
2013 if { { ac_try="$ac_link"
2015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2016 *) ac_try_echo=$ac_try;;
2018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2019 $as_echo "$ac_try_echo"; } >&5
2020 (eval "$ac_link") 2>conftest.err
2022 if test -s conftest.err; then
2023 grep -v '^ *+' conftest.err >conftest.er1
2024 cat conftest.er1 >&5
2025 mv -f conftest.er1 conftest.err
2027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2028 test $ac_status = 0; } && {
2029 test -z "$ac_cxx_werror_flag" ||
2030 test ! -s conftest.err
2031 } && test -s conftest$ac_exeext && {
2032 test "$cross_compiling" = yes ||
2033 $as_test_x conftest$ac_exeext
2037 $as_echo "$as_me: failed program was:" >&5
2038 sed 's/^/| /' conftest.$ac_ext >&5
2042 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2043 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2044 # interfere with the next link command; also delete a directory that is
2045 # left behind by Apple's compiler. We do this before executing the actions.
2046 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2047 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2050 } # ac_fn_cxx_try_link
2052 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2053 # -------------------------------------------------------
2054 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2055 # the include files in INCLUDES and setting the cache variable VAR
2057 ac_fn_c_check_header_mongrel ()
2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2062 $as_echo_n "checking for $2... " >&6; }
2063 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2064 $as_echo_n "(cached) " >&6
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068 $as_echo "$ac_res" >&6; }
2070 # Is the header compilable?
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2072 $as_echo_n "checking $2 usability... " >&6; }
2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2078 if ac_fn_c_try_compile "$LINENO"; then :
2079 ac_header_compiler=yes
2081 ac_header_compiler=no
2083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2085 $as_echo "$ac_header_compiler" >&6; }
2087 # Is the header present?
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2089 $as_echo_n "checking $2 presence... " >&6; }
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2094 if ac_fn_c_try_cpp "$LINENO"; then :
2095 ac_header_preproc=yes
2097 ac_header_preproc=no
2099 rm -f conftest.err conftest.$ac_ext
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2101 $as_echo "$ac_header_preproc" >&6; }
2103 # So? What about this header?
2104 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2107 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2109 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2113 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2115 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2117 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2119 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2121 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2125 $as_echo_n "checking for $2... " >&6; }
2126 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2127 $as_echo_n "(cached) " >&6
2129 eval "$3=\$ac_header_compiler"
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2133 $as_echo "$ac_res" >&6; }
2135 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2137 } # ac_fn_c_check_header_mongrel
2139 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2140 # ---------------------------------------------------------
2141 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2142 # the include files in INCLUDES and setting the cache variable VAR
2144 ac_fn_cxx_check_header_mongrel ()
2146 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2147 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2151 $as_echo_n "(cached) " >&6
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2155 $as_echo "$ac_res" >&6; }
2157 # Is the header compilable?
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2159 $as_echo_n "checking $2 usability... " >&6; }
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2165 if ac_fn_cxx_try_compile "$LINENO"; then :
2166 ac_header_compiler=yes
2168 ac_header_compiler=no
2170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2172 $as_echo "$ac_header_compiler" >&6; }
2174 # Is the header present?
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2176 $as_echo_n "checking $2 presence... " >&6; }
2177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2178 /* end confdefs.h. */
2181 if ac_fn_cxx_try_cpp "$LINENO"; then :
2182 ac_header_preproc=yes
2184 ac_header_preproc=no
2186 rm -f conftest.err conftest.$ac_ext
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2188 $as_echo "$ac_header_preproc" >&6; }
2190 # So? What about this header?
2191 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2194 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2196 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2200 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2202 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2204 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2206 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2208 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2212 $as_echo_n "checking for $2... " >&6; }
2213 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2214 $as_echo_n "(cached) " >&6
2216 eval "$3=\$ac_header_compiler"
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2220 $as_echo "$ac_res" >&6; }
2222 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2224 } # ac_fn_cxx_check_header_mongrel
2226 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2227 # --------------------------------------------
2228 # Tries to find the compile-time value of EXPR in a program that includes
2229 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2231 ac_fn_c_compute_int ()
2233 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2234 if test "$cross_compiling" = yes; then
2235 # Depending upon the size, compute the lo and hi bounds.
2236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2237 /* end confdefs.h. */
2242 static int test_array [1 - 2 * !(($2) >= 0)];
2249 if ac_fn_c_try_compile "$LINENO"; then :
2252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2253 /* end confdefs.h. */
2258 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2265 if ac_fn_c_try_compile "$LINENO"; then :
2266 ac_hi=$ac_mid; break
2268 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2269 if test $ac_lo -le $ac_mid; then
2273 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2284 static int test_array [1 - 2 * !(($2) < 0)];
2291 if ac_fn_c_try_compile "$LINENO"; then :
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2300 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2307 if ac_fn_c_try_compile "$LINENO"; then :
2308 ac_lo=$ac_mid; break
2310 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2311 if test $ac_mid -le $ac_hi; then
2315 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325 # Binary search between lo and hi bounds.
2326 while test "x$ac_lo" != "x$ac_hi"; do
2327 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2329 /* end confdefs.h. */
2334 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2341 if ac_fn_c_try_compile "$LINENO"; then :
2344 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2354 /* end confdefs.h. */
2356 static long int longval () { return $2; }
2357 static unsigned long int ulongval () { return $2; }
2364 FILE *f = fopen ("conftest.val", "w");
2369 long int i = longval ();
2372 fprintf (f, "%ld", i);
2376 unsigned long int i = ulongval ();
2379 fprintf (f, "%lu", i);
2381 /* Do not output a trailing newline, as this causes \r\n confusion
2382 on some platforms. */
2383 return ferror (f) || fclose (f) != 0;
2389 if ac_fn_c_try_run "$LINENO"; then :
2390 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2394 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2395 conftest.$ac_objext conftest.beam conftest.$ac_ext
2399 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2402 } # ac_fn_c_compute_int
2404 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2405 # -------------------------------------------
2406 # Tests whether TYPE exists after having included INCLUDES, setting cache
2407 # variable VAR accordingly.
2408 ac_fn_c_check_type ()
2410 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2412 $as_echo_n "checking for $2... " >&6; }
2413 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2414 $as_echo_n "(cached) " >&6
2417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2418 /* end confdefs.h. */
2429 if ac_fn_c_try_compile "$LINENO"; then :
2430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2431 /* end confdefs.h. */
2442 if ac_fn_c_try_compile "$LINENO"; then :
2447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2453 $as_echo "$ac_res" >&6; }
2454 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2456 } # ac_fn_c_check_type
2457 cat >config.log <<_ACEOF
2458 This file contains any messages produced by compilers while
2459 running configure, to aid debugging if configure makes a mistake.
2461 It was created by package-unused $as_me version-unused, which was
2462 generated by GNU Autoconf 2.64. Invocation command line was
2474 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2475 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2476 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2477 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2478 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2480 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2481 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2483 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2484 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2485 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2486 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2487 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2488 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2489 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 test -z "$as_dir" && as_dir=.
2498 $as_echo "PATH: $as_dir"
2514 # Keep a trace of the command line.
2515 # Strip out --no-create and --no-recursion so they do not pile up.
2516 # Strip out --silent because we don't want to record it for future runs.
2517 # Also quote any args containing shell meta-characters.
2518 # Make two passes to allow for proper duplicate-argument suppression.
2522 ac_must_keep_next=false
2528 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2529 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2530 | -silent | --silent | --silen | --sile | --sil)
2533 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2536 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2538 as_fn_append ac_configure_args1 " '$ac_arg'"
2539 if test $ac_must_keep_next = true; then
2540 ac_must_keep_next=false # Got value, back to normal.
2543 *=* | --config-cache | -C | -disable-* | --disable-* \
2544 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2545 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2546 | -with-* | --with-* | -without-* | --without-* | --x)
2547 case "$ac_configure_args0 " in
2548 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2551 -* ) ac_must_keep_next=true ;;
2554 as_fn_append ac_configure_args " '$ac_arg'"
2559 { ac_configure_args0=; unset ac_configure_args0;}
2560 { ac_configure_args1=; unset ac_configure_args1;}
2562 # When interrupted or exit'd, cleanup temporary files, and complete
2563 # config.log. We remove comments because anyway the quotes in there
2564 # would cause problems or look ugly.
2565 # WARNING: Use '\'' to represent an apostrophe within the trap.
2566 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2567 trap 'exit_status=$?
2568 # Save into config.log some information that might help in debugging.
2573 ## ---------------- ##
2574 ## Cache variables. ##
2575 ## ---------------- ##
2578 # The following way of writing the cache mishandles newlines in values,
2580 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2581 eval ac_val=\$$ac_var
2585 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2586 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2589 _ | IFS | as_nl) ;; #(
2590 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2591 *) { eval $ac_var=; unset $ac_var;} ;;
2596 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2597 *${as_nl}ac_space=\ *)
2599 "s/'\''/'\''\\\\'\'''\''/g;
2600 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2603 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2611 ## ----------------- ##
2612 ## Output variables. ##
2613 ## ----------------- ##
2616 for ac_var in $ac_subst_vars
2618 eval ac_val=\$$ac_var
2620 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2622 $as_echo "$ac_var='\''$ac_val'\''"
2626 if test -n "$ac_subst_files"; then
2628 ## ------------------- ##
2629 ## File substitutions. ##
2630 ## ------------------- ##
2633 for ac_var in $ac_subst_files
2635 eval ac_val=\$$ac_var
2637 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2639 $as_echo "$ac_var='\''$ac_val'\''"
2644 if test -s confdefs.h; then
2654 test "$ac_signal" != 0 &&
2655 $as_echo "$as_me: caught signal $ac_signal"
2656 $as_echo "$as_me: exit $exit_status"
2658 rm -f core *.core core.conftest.* &&
2659 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2662 for ac_signal in 1 2 13 15; do
2663 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2667 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2668 rm -f -r conftest* confdefs.h
2670 $as_echo "/* confdefs.h */" > confdefs.h
2672 # Predefined preprocessor variables.
2674 cat >>confdefs.h <<_ACEOF
2675 #define PACKAGE_NAME "$PACKAGE_NAME"
2678 cat >>confdefs.h <<_ACEOF
2679 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2682 cat >>confdefs.h <<_ACEOF
2683 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2686 cat >>confdefs.h <<_ACEOF
2687 #define PACKAGE_STRING "$PACKAGE_STRING"
2690 cat >>confdefs.h <<_ACEOF
2691 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2694 cat >>confdefs.h <<_ACEOF
2695 #define PACKAGE_URL "$PACKAGE_URL"
2699 # Let the site file select an alternate cache file if it wants to.
2700 # Prefer an explicitly selected file to automatically selected ones.
2703 if test -n "$CONFIG_SITE"; then
2704 ac_site_file1=$CONFIG_SITE
2705 elif test "x$prefix" != xNONE; then
2706 ac_site_file1=$prefix/share/config.site
2707 ac_site_file2=$prefix/etc/config.site
2709 ac_site_file1=$ac_default_prefix/share/config.site
2710 ac_site_file2=$ac_default_prefix/etc/config.site
2712 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2714 test "x$ac_site_file" = xNONE && continue
2715 if test -r "$ac_site_file"; then
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2717 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2718 sed 's/^/| /' "$ac_site_file" >&5
2723 if test -r "$cache_file"; then
2724 # Some versions of bash will fail to source /dev/null (special
2725 # files actually), so we avoid doing that.
2726 if test -f "$cache_file"; then
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2728 $as_echo "$as_me: loading cache $cache_file" >&6;}
2730 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2731 *) . "./$cache_file";;
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2736 $as_echo "$as_me: creating cache $cache_file" >&6;}
2740 # Check that the precious variables saved in the cache have kept the same
2742 ac_cache_corrupted=false
2743 for ac_var in $ac_precious_vars; do
2744 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2745 eval ac_new_set=\$ac_env_${ac_var}_set
2746 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2747 eval ac_new_val=\$ac_env_${ac_var}_value
2748 case $ac_old_set,$ac_new_set in
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2751 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2752 ac_cache_corrupted=: ;;
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2755 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2756 ac_cache_corrupted=: ;;
2759 if test "x$ac_old_val" != "x$ac_new_val"; then
2760 # differences in whitespace do not lead to failure.
2761 ac_old_val_w=`echo x $ac_old_val`
2762 ac_new_val_w=`echo x $ac_new_val`
2763 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2765 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2766 ac_cache_corrupted=:
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2769 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2770 eval $ac_var=\$ac_old_val
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2773 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2775 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2778 # Pass precious variables to config.status.
2779 if test "$ac_new_set" = set; then
2781 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2782 *) ac_arg=$ac_var=$ac_new_val ;;
2784 case " $ac_configure_args " in
2785 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2786 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2790 if $ac_cache_corrupted; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2794 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2795 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2797 ## -------------------- ##
2798 ## Main body of script. ##
2799 ## -------------------- ##
2802 ac_cpp='$CPP $CPPFLAGS'
2803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2812 ac_config_headers="$ac_config_headers config.h"
2815 # This works around the fact that libtool configuration may change LD
2816 # for this particular configuration, but some shells, instead of
2817 # keeping the changes in LD private, export them just because LD is
2818 # exported. Only used at the end of this file.
2819 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2821 # For libtool versioning info, format is CURRENT:REVISION:AGE
2822 libtool_VERSION=6:15:0
2825 # Find the rest of the source tree framework.
2826 # Default to --enable-multilib
2827 # Check whether --enable-multilib was given.
2828 if test "${enable_multilib+set}" = set; then :
2829 enableval=$enable_multilib; case "$enableval" in
2830 yes) multilib=yes ;;
2832 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2839 # We may get other options which we leave undocumented:
2840 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2841 # See config-ml.in if you want the gory details.
2843 if test "$srcdir" = "."; then
2844 if test "$with_target_subdir" != "."; then
2845 multi_basedir="$srcdir/$with_multisrctop../.."
2847 multi_basedir="$srcdir/$with_multisrctop.."
2850 multi_basedir="$srcdir/.."
2854 # Even if the default multilib is not a cross compilation,
2855 # it may be that some of the other multilibs are.
2856 if test $cross_compiling = no && test $multilib = yes \
2857 && test "x${with_multisubdir}" != x ; then
2858 cross_compiling=maybe
2861 ac_config_commands="$ac_config_commands default-1"
2864 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2866 # You will slowly go insane if you do not grok the following fact: when
2867 # building v3 as part of the compiler, the top-level /target/ becomes the
2868 # library's /host/. configure then causes --target to default to --host,
2869 # exactly like any other package using autoconf. Therefore, 'target' and
2870 # 'host' will always be the same. This makes sense both for native and
2871 # cross compilers, just think about it for a little while. :-)
2873 # Also, if v3 is being configured as part of a cross compiler, the top-level
2874 # configure script will pass the "real" host as $with_cross_host.
2876 # Do not delete or change the following two lines. For why, see
2877 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2879 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2880 for ac_t in install-sh install.sh shtool; do
2881 if test -f "$ac_dir/$ac_t"; then
2883 ac_install_sh="$ac_aux_dir/$ac_t -c"
2888 if test -z "$ac_aux_dir"; then
2889 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2892 # These three variables are undocumented and unsupported,
2893 # and are intended to be withdrawn in a future Autoconf release.
2894 # They can cause serious problems if a builder's source tree is in a directory
2895 # whose full name contains unusual characters.
2896 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2897 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2898 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2901 # Make sure we can run config.sub.
2902 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2903 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2906 $as_echo_n "checking build system type... " >&6; }
2907 if test "${ac_cv_build+set}" = set; then :
2908 $as_echo_n "(cached) " >&6
2910 ac_build_alias=$build_alias
2911 test "x$ac_build_alias" = x &&
2912 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2913 test "x$ac_build_alias" = x &&
2914 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2915 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2916 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2920 $as_echo "$ac_cv_build" >&6; }
2921 case $ac_cv_build in
2923 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2926 ac_save_IFS=$IFS; IFS='-'
2932 # Remember, the first character of IFS is used to create $*,
2933 # except with old shells:
2936 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2940 $as_echo_n "checking host system type... " >&6; }
2941 if test "${ac_cv_host+set}" = set; then :
2942 $as_echo_n "(cached) " >&6
2944 if test "x$host_alias" = x; then
2945 ac_cv_host=$ac_cv_build
2947 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2948 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2953 $as_echo "$ac_cv_host" >&6; }
2956 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2959 ac_save_IFS=$IFS; IFS='-'
2965 # Remember, the first character of IFS is used to create $*,
2966 # except with old shells:
2969 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2973 $as_echo_n "checking target system type... " >&6; }
2974 if test "${ac_cv_target+set}" = set; then :
2975 $as_echo_n "(cached) " >&6
2977 if test "x$target_alias" = x; then
2978 ac_cv_target=$ac_cv_host
2980 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2981 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2986 $as_echo "$ac_cv_target" >&6; }
2987 case $ac_cv_target in
2989 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2991 target=$ac_cv_target
2992 ac_save_IFS=$IFS; IFS='-'
2998 # Remember, the first character of IFS is used to create $*,
2999 # except with old shells:
3002 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3005 # The aliases save the names the user supplied, while $host etc.
3006 # will get canonicalized.
3007 test -n "$target_alias" &&
3008 test "$program_prefix$program_suffix$program_transform_name" = \
3010 program_prefix=${target_alias}-
3012 target_alias=${target_alias-$host_alias}
3014 # Handy for debugging:
3015 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3017 if test "$build" != "$host"; then
3018 # We are being configured with some form of cross compiler.
3019 GLIBCXX_IS_NATIVE=false
3020 case "$host","$target" in
3021 # Darwin crosses can use the host system's libraries and headers,
3022 # because of the fat library support. Of course, it must be the
3023 # same version of Darwin on both sides. Allow the user to
3024 # just say --target=foo-darwin without a version number to mean
3025 # "the version on this system".
3026 *-*-darwin*,*-*-darwin*)
3027 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3028 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3029 if test $hostos = $targetos -o $targetos = darwin ; then
3030 GLIBCXX_IS_NATIVE=true
3039 GLIBCXX_IS_NATIVE=true
3042 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3043 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3044 # 1.x: minimum required version
3045 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3046 # of other PACKAGE_* variables will, however, and there's nothing
3047 # we can do about that; they come from AC_INIT).
3048 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3049 # file in the top srcdir, etc, etc), so stop complaining.
3050 # no-dependencies: turns off auto dependency generation (just for now)
3051 # no-dist: we don't want 'dist' and related rules.
3052 # -Wall: turns on all automake warnings...
3053 # -Wno-portability: ...except this one, since GNU make is now required.
3054 am__api_version='1.11'
3056 # Find a good install program. We prefer a C program (faster),
3057 # so one script is as good as another. But avoid the broken or
3058 # incompatible versions:
3059 # SysV /etc/install, /usr/sbin/install
3060 # SunOS /usr/etc/install
3061 # IRIX /sbin/install
3063 # AmigaOS /C/install, which installs bootblocks on floppy discs
3064 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3065 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3066 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3067 # OS/2's system install, which has a completely different semantic
3068 # ./install, which can be erroneously created by make from ./install.sh.
3069 # Reject install programs that cannot install multiple files.
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3071 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3072 if test -z "$INSTALL"; then
3073 if test "${ac_cv_path_install+set}" = set; then :
3074 $as_echo_n "(cached) " >&6
3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 test -z "$as_dir" && as_dir=.
3081 # Account for people who put trailing slashes in PATH elements.
3082 case $as_dir/ in #((
3083 ./ | .// | /[cC]/* | \
3084 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3085 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3088 # OSF1 and SCO ODT 3.0 have their own names for install.
3089 # Don't use installbsd from OSF since it installs stuff as root
3091 for ac_prog in ginstall scoinst install; do
3092 for ac_exec_ext in '' $ac_executable_extensions; do
3093 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3094 if test $ac_prog = install &&
3095 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3096 # AIX install. It has an incompatible calling convention.
3098 elif test $ac_prog = install &&
3099 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3100 # program-specific install script used by HP pwplus--don't use.
3103 rm -rf conftest.one conftest.two conftest.dir
3104 echo one > conftest.one
3105 echo two > conftest.two
3107 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3108 test -s conftest.one && test -s conftest.two &&
3109 test -s conftest.dir/conftest.one &&
3110 test -s conftest.dir/conftest.two
3112 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3125 rm -rf conftest.one conftest.two conftest.dir
3128 if test "${ac_cv_path_install+set}" = set; then
3129 INSTALL=$ac_cv_path_install
3131 # As a last resort, use the slow shell script. Don't cache a
3132 # value for INSTALL within a source directory, because that will
3133 # break other packages using the cache if that directory is
3134 # removed, or if the value is a relative name.
3135 INSTALL=$ac_install_sh
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3139 $as_echo "$INSTALL" >&6; }
3141 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3142 # It thinks the first close brace ends the variable substitution.
3143 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3145 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3147 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3150 $as_echo_n "checking whether build environment is sane... " >&6; }
3153 echo timestamp > conftest.file
3154 # Reject unsafe characters in $srcdir or the absolute working directory
3155 # name. Accept space and tab only in the latter.
3159 *[\\\"\#\$\&\'\`$am_lf]*)
3160 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3163 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3164 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3167 # Do `set' in a subshell so we don't clobber the current shell's
3168 # arguments. Must try -L first in case configure is actually a
3169 # symlink; some systems play weird games with the mod time of symlinks
3170 # (eg FreeBSD returns the mod time of the symlink's containing
3173 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3174 if test "$*" = "X"; then
3176 set X `ls -t "$srcdir/configure" conftest.file`
3179 if test "$*" != "X $srcdir/configure conftest.file" \
3180 && test "$*" != "X conftest.file $srcdir/configure"; then
3182 # If neither matched, then we have a broken ls. This can happen
3183 # if, for instance, CONFIG_SHELL is bash and it inherits a
3184 # broken ls alias from the environment. This has actually
3185 # happened. Such a system could not be considered "sane".
3186 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3187 alias in your environment" "$LINENO" 5
3190 test "$2" = conftest.file
3196 as_fn_error "newly created file is older than distributed files!
3197 Check your system clock" "$LINENO" 5
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3200 $as_echo "yes" >&6; }
3201 test "$program_prefix" != NONE &&
3202 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3203 # Use a double $ so make ignores it.
3204 test "$program_suffix" != NONE &&
3205 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3206 # Double any \ or $.
3207 # By default was `s,x,x', remove it if useless.
3208 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3209 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3211 # expand $ac_aux_dir to an absolute path
3212 am_aux_dir=`cd $ac_aux_dir && pwd`
3214 if test x"${MISSING+set}" != xset; then
3217 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3219 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3222 # Use eval to expand $SHELL
3223 if eval "$MISSING --run true"; then
3224 am_missing_run="$MISSING --run "
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3228 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3231 if test x"${install_sh}" != xset; then
3234 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3236 install_sh="\${SHELL} $am_aux_dir/install-sh"
3240 # Installed binaries are usually stripped using `strip' when the user
3241 # run `make install-strip'. However `strip' might not be the right
3242 # tool to use in cross-compilation environments, therefore Automake
3243 # will honor the `STRIP' environment variable to overrule this program.
3244 if test "$cross_compiling" != no; then
3245 if test -n "$ac_tool_prefix"; then
3246 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3247 set dummy ${ac_tool_prefix}strip; ac_word=$2
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3249 $as_echo_n "checking for $ac_word... " >&6; }
3250 if test "${ac_cv_prog_STRIP+set}" = set; then :
3251 $as_echo_n "(cached) " >&6
3253 if test -n "$STRIP"; then
3254 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 test -z "$as_dir" && as_dir=.
3261 for ac_exec_ext in '' $ac_executable_extensions; do
3262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3263 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3273 STRIP=$ac_cv_prog_STRIP
3274 if test -n "$STRIP"; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3276 $as_echo "$STRIP" >&6; }
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279 $as_echo "no" >&6; }
3284 if test -z "$ac_cv_prog_STRIP"; then
3286 # Extract the first word of "strip", so it can be a program name with args.
3287 set dummy strip; ac_word=$2
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289 $as_echo_n "checking for $ac_word... " >&6; }
3290 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3291 $as_echo_n "(cached) " >&6
3293 if test -n "$ac_ct_STRIP"; then
3294 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300 test -z "$as_dir" && as_dir=.
3301 for ac_exec_ext in '' $ac_executable_extensions; do
3302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3303 ac_cv_prog_ac_ct_STRIP="strip"
3304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3314 if test -n "$ac_ct_STRIP"; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3316 $as_echo "$ac_ct_STRIP" >&6; }
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319 $as_echo "no" >&6; }
3322 if test "x$ac_ct_STRIP" = x; then
3325 case $cross_compiling:$ac_tool_warned in
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3329 ac_tool_warned=yes ;;
3334 STRIP="$ac_cv_prog_STRIP"
3338 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3341 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3342 if test -z "$MKDIR_P"; then
3343 if test "${ac_cv_path_mkdir+set}" = set; then :
3344 $as_echo_n "(cached) " >&6
3346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3350 test -z "$as_dir" && as_dir=.
3351 for ac_prog in mkdir gmkdir; do
3352 for ac_exec_ext in '' $ac_executable_extensions; do
3353 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3354 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3355 'mkdir (GNU coreutils) '* | \
3356 'mkdir (coreutils) '* | \
3357 'mkdir (fileutils) '4.1*)
3358 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3368 if test "${ac_cv_path_mkdir+set}" = set; then
3369 MKDIR_P="$ac_cv_path_mkdir -p"
3371 # As a last resort, use the slow shell script. Don't cache a
3372 # value for MKDIR_P within a source directory, because that will
3373 # break other packages using the cache if that directory is
3374 # removed, or if the value is a relative name.
3375 test -d ./--version && rmdir ./--version
3376 MKDIR_P="$ac_install_sh -d"
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3380 $as_echo "$MKDIR_P" >&6; }
3384 [\\/$]* | ?:[\\/]*) ;;
3385 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3388 for ac_prog in gawk mawk nawk awk
3390 # Extract the first word of "$ac_prog", so it can be a program name with args.
3391 set dummy $ac_prog; ac_word=$2
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3393 $as_echo_n "checking for $ac_word... " >&6; }
3394 if test "${ac_cv_prog_AWK+set}" = set; then :
3395 $as_echo_n "(cached) " >&6
3397 if test -n "$AWK"; then
3398 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 test -z "$as_dir" && as_dir=.
3405 for ac_exec_ext in '' $ac_executable_extensions; do
3406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3407 ac_cv_prog_AWK="$ac_prog"
3408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3418 if test -n "$AWK"; then
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3420 $as_echo "$AWK" >&6; }
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3423 $as_echo "no" >&6; }
3427 test -n "$AWK" && break
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3431 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3433 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3434 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3435 $as_echo_n "(cached) " >&6
3437 cat >conftest.make <<\_ACEOF
3440 @echo '@@@%%%=$(MAKE)=@@@%%%'
3442 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3443 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3445 eval ac_cv_prog_make_${ac_make}_set=yes;;
3447 eval ac_cv_prog_make_${ac_make}_set=no;;
3451 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3453 $as_echo "yes" >&6; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3457 $as_echo "no" >&6; }
3458 SET_MAKE="MAKE=${MAKE-make}"
3461 rm -rf .tst 2>/dev/null
3462 mkdir .tst 2>/dev/null
3463 if test -d .tst; then
3468 rmdir .tst 2>/dev/null
3470 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3471 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3472 # is not polluted with repeated "-I."
3473 am__isrc=' -I$(srcdir)'
3474 # test to see if srcdir already configured
3475 if test -f $srcdir/config.status; then
3476 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3480 # test whether we have cygpath
3481 if test -z "$CYGPATH_W"; then
3482 if (cygpath --version) >/dev/null 2>/dev/null; then
3483 CYGPATH_W='cygpath -w'
3490 # Define the identity of the package.
3492 VERSION='version-unused'
3495 # Some tools Automake needs.
3497 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3500 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3503 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3506 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3509 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3511 # We need awk for the "check" target. The system "awk" is bad on
3513 # Always define AMTAR for backward compatibility.
3515 AMTAR=${AMTAR-"${am_missing_run}tar"}
3517 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3526 # -fno-builtin must be present here so that a non-conflicting form of
3527 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3529 save_CXXFLAGS="$CXXFLAGS"
3530 CXXFLAGS="$CXXFLAGS -fno-builtin"
3532 ac_cpp='$CPP $CPPFLAGS'
3533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3536 if test -n "$ac_tool_prefix"; then
3537 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3538 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3540 $as_echo_n "checking for $ac_word... " >&6; }
3541 if test "${ac_cv_prog_CC+set}" = set; then :
3542 $as_echo_n "(cached) " >&6
3544 if test -n "$CC"; then
3545 ac_cv_prog_CC="$CC" # Let the user override the test.
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3554 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3565 if test -n "$CC"; then
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3567 $as_echo "$CC" >&6; }
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3570 $as_echo "no" >&6; }
3575 if test -z "$ac_cv_prog_CC"; then
3577 # Extract the first word of "gcc", so it can be a program name with args.
3578 set dummy gcc; ac_word=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3582 $as_echo_n "(cached) " >&6
3584 if test -n "$ac_ct_CC"; then
3585 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do
3593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3594 ac_cv_prog_ac_ct_CC="gcc"
3595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5