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
666 ENABLE_EXTERN_TEMPLATE_FALSE
667 ENABLE_EXTERN_TEMPLATE_TRUE
669 ENABLE_PARALLEL_FALSE
671 GLIBCXX_BUILD_DEBUG_FALSE
672 GLIBCXX_BUILD_DEBUG_TRUE
674 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
675 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
676 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
677 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
678 GLIBCXX_C_HEADERS_C_STD_FALSE
679 GLIBCXX_C_HEADERS_C_STD_TRUE
680 GLIBCXX_C_HEADERS_C_FALSE
681 GLIBCXX_C_HEADERS_C_TRUE
709 GLIBCXX_BUILD_PCH_FALSE
710 GLIBCXX_BUILD_PCH_TRUE
734 MAINTAINER_MODE_FALSE
761 INSTALL_STRIP_PROGRAM
817 program_transform_name
830 enable_option_checking
835 enable_maintainer_mode
842 enable_hosted_libstdcxx
843 enable_sjlj_exceptions
848 enable_libstdcxx_allocator
853 enable_concept_checks
854 enable_libstdcxx_debug_flags
855 enable_libstdcxx_debug
857 enable_fully_dynamic_string
858 enable_extern_template
859 enable_libstdcxx_time
863 with_system_libunwind
868 enable_version_specific_runtime_libs
870 ac_precious_vars='build_alias
886 # Initialize some variables set by options.
888 ac_init_version=false
889 ac_unrecognized_opts=
891 # The variables have the same names as the options, with
892 # dashes changed to underlines.
900 program_transform_name=s,x,x,
908 # Installation directory options.
909 # These are left unexpanded so users can "make install exec_prefix=/foo"
910 # and all the variables that are supposed to be based on exec_prefix
911 # by default will actually change.
912 # Use braces instead of parens because sh, perl, etc. also accept them.
913 # (The list follows the same order as the GNU Coding Standards.)
914 bindir='${exec_prefix}/bin'
915 sbindir='${exec_prefix}/sbin'
916 libexecdir='${exec_prefix}/libexec'
917 datarootdir='${prefix}/share'
918 datadir='${datarootdir}'
919 sysconfdir='${prefix}/etc'
920 sharedstatedir='${prefix}/com'
921 localstatedir='${prefix}/var'
922 includedir='${prefix}/include'
923 oldincludedir='/usr/include'
924 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
925 infodir='${datarootdir}/info'
930 libdir='${exec_prefix}/lib'
931 localedir='${datarootdir}/locale'
932 mandir='${datarootdir}/man'
938 # If the previous option needs an argument, assign it.
939 if test -n "$ac_prev"; then
940 eval $ac_prev=\$ac_option
946 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
950 # Accept the important Cygnus configure options, so we can diagnose typos.
952 case $ac_dashdash$ac_option in
956 -bindir | --bindir | --bindi | --bind | --bin | --bi)
958 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961 -build | --build | --buil | --bui | --bu)
962 ac_prev=build_alias ;;
963 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
964 build_alias=$ac_optarg ;;
966 -cache-file | --cache-file | --cache-fil | --cache-fi \
967 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
968 ac_prev=cache_file ;;
969 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
970 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
971 cache_file=$ac_optarg ;;
974 cache_file=config.cache ;;
976 -datadir | --datadir | --datadi | --datad)
978 -datadir=* | --datadir=* | --datadi=* | --datad=*)
979 datadir=$ac_optarg ;;
981 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
982 | --dataroo | --dataro | --datar)
983 ac_prev=datarootdir ;;
984 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
985 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
986 datarootdir=$ac_optarg ;;
988 -disable-* | --disable-*)
989 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
992 as_fn_error "invalid feature name: $ac_useropt"
993 ac_useropt_orig=$ac_useropt
994 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
999 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1000 ac_unrecognized_sep=', ';;
1002 eval enable_$ac_useropt=no ;;
1004 -docdir | --docdir | --docdi | --doc | --do)
1006 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1007 docdir=$ac_optarg ;;
1009 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1011 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1012 dvidir=$ac_optarg ;;
1014 -enable-* | --enable-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error "invalid feature name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_$ac_useropt"
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1028 eval enable_$ac_useropt=\$ac_optarg ;;
1030 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1031 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1032 | --exec | --exe | --ex)
1033 ac_prev=exec_prefix ;;
1034 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1035 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1036 | --exec=* | --exe=* | --ex=*)
1037 exec_prefix=$ac_optarg ;;
1039 -gas | --gas | --ga | --g)
1040 # Obsolete; use --with-gas.
1043 -help | --help | --hel | --he | -h)
1044 ac_init_help=long ;;
1045 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1046 ac_init_help=recursive ;;
1047 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1048 ac_init_help=short ;;
1050 -host | --host | --hos | --ho)
1051 ac_prev=host_alias ;;
1052 -host=* | --host=* | --hos=* | --ho=*)
1053 host_alias=$ac_optarg ;;
1055 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1057 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1059 htmldir=$ac_optarg ;;
1061 -includedir | --includedir | --includedi | --included | --include \
1062 | --includ | --inclu | --incl | --inc)
1063 ac_prev=includedir ;;
1064 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1065 | --includ=* | --inclu=* | --incl=* | --inc=*)
1066 includedir=$ac_optarg ;;
1068 -infodir | --infodir | --infodi | --infod | --info | --inf)
1070 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1071 infodir=$ac_optarg ;;
1073 -libdir | --libdir | --libdi | --libd)
1075 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1076 libdir=$ac_optarg ;;
1078 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1079 | --libexe | --libex | --libe)
1080 ac_prev=libexecdir ;;
1081 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1082 | --libexe=* | --libex=* | --libe=*)
1083 libexecdir=$ac_optarg ;;
1085 -localedir | --localedir | --localedi | --localed | --locale)
1086 ac_prev=localedir ;;
1087 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1088 localedir=$ac_optarg ;;
1090 -localstatedir | --localstatedir | --localstatedi | --localstated \
1091 | --localstate | --localstat | --localsta | --localst | --locals)
1092 ac_prev=localstatedir ;;
1093 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1094 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1095 localstatedir=$ac_optarg ;;
1097 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1099 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1100 mandir=$ac_optarg ;;
1102 -nfp | --nfp | --nf)
1103 # Obsolete; use --without-fp.
1106 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1107 | --no-cr | --no-c | -n)
1110 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1111 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1115 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1116 | --oldin | --oldi | --old | --ol | --o)
1117 ac_prev=oldincludedir ;;
1118 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1119 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1120 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1121 oldincludedir=$ac_optarg ;;
1123 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1125 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1126 prefix=$ac_optarg ;;
1128 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1129 | --program-pre | --program-pr | --program-p)
1130 ac_prev=program_prefix ;;
1131 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1132 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1133 program_prefix=$ac_optarg ;;
1135 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1136 | --program-suf | --program-su | --program-s)
1137 ac_prev=program_suffix ;;
1138 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1139 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1140 program_suffix=$ac_optarg ;;
1142 -program-transform-name | --program-transform-name \
1143 | --program-transform-nam | --program-transform-na \
1144 | --program-transform-n | --program-transform- \
1145 | --program-transform | --program-transfor \
1146 | --program-transfo | --program-transf \
1147 | --program-trans | --program-tran \
1148 | --progr-tra | --program-tr | --program-t)
1149 ac_prev=program_transform_name ;;
1150 -program-transform-name=* | --program-transform-name=* \
1151 | --program-transform-nam=* | --program-transform-na=* \
1152 | --program-transform-n=* | --program-transform-=* \
1153 | --program-transform=* | --program-transfor=* \
1154 | --program-transfo=* | --program-transf=* \
1155 | --program-trans=* | --program-tran=* \
1156 | --progr-tra=* | --program-tr=* | --program-t=*)
1157 program_transform_name=$ac_optarg ;;
1159 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1161 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1162 pdfdir=$ac_optarg ;;
1164 -psdir | --psdir | --psdi | --psd | --ps)
1166 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1170 | -silent | --silent | --silen | --sile | --sil)
1173 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1175 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1177 sbindir=$ac_optarg ;;
1179 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1180 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1181 | --sharedst | --shareds | --shared | --share | --shar \
1183 ac_prev=sharedstatedir ;;
1184 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1185 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1186 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1188 sharedstatedir=$ac_optarg ;;
1190 -site | --site | --sit)
1192 -site=* | --site=* | --sit=*)
1195 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1197 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1198 srcdir=$ac_optarg ;;
1200 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1201 | --syscon | --sysco | --sysc | --sys | --sy)
1202 ac_prev=sysconfdir ;;
1203 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1204 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1205 sysconfdir=$ac_optarg ;;
1207 -target | --target | --targe | --targ | --tar | --ta | --t)
1208 ac_prev=target_alias ;;
1209 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1210 target_alias=$ac_optarg ;;
1212 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215 -version | --version | --versio | --versi | --vers | -V)
1216 ac_init_version=: ;;
1219 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1222 as_fn_error "invalid package name: $ac_useropt"
1223 ac_useropt_orig=$ac_useropt
1224 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1225 case $ac_user_opts in
1229 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1230 ac_unrecognized_sep=', ';;
1232 eval with_$ac_useropt=\$ac_optarg ;;
1234 -without-* | --without-*)
1235 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1238 as_fn_error "invalid package name: $ac_useropt"
1239 ac_useropt_orig=$ac_useropt
1240 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241 case $ac_user_opts in
1245 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1246 ac_unrecognized_sep=', ';;
1248 eval with_$ac_useropt=no ;;
1251 # Obsolete; use --with-x.
1254 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1255 | --x-incl | --x-inc | --x-in | --x-i)
1256 ac_prev=x_includes ;;
1257 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1258 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1259 x_includes=$ac_optarg ;;
1261 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1262 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1263 ac_prev=x_libraries ;;
1264 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1265 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1266 x_libraries=$ac_optarg ;;
1268 -*) as_fn_error "unrecognized option: \`$ac_option'
1269 Try \`$0 --help' for more information."
1273 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1274 # Reject names that are not valid shell variable names.
1275 case $ac_envvar in #(
1276 '' | [0-9]* | *[!_$as_cr_alnum]* )
1277 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1279 eval $ac_envvar=\$ac_optarg
1280 export $ac_envvar ;;
1283 # FIXME: should be removed in autoconf 3.0.
1284 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1285 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1286 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1287 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1293 if test -n "$ac_prev"; then
1294 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1295 as_fn_error "missing argument to $ac_option"
1298 if test -n "$ac_unrecognized_opts"; then
1299 case $enable_option_checking in
1301 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1302 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1306 # Check all directory arguments for consistency.
1307 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1308 datadir sysconfdir sharedstatedir localstatedir includedir \
1309 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1310 libdir localedir mandir
1312 eval ac_val=\$$ac_var
1313 # Remove trailing slashes.
1316 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1317 eval $ac_var=\$ac_val;;
1319 # Be sure to have absolute directory names.
1321 [\\/$]* | ?:[\\/]* ) continue;;
1322 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1324 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1327 # There might be people who depend on the old broken behavior: `$host'
1328 # used to hold the argument of --host etc.
1329 # FIXME: To remove some day.
1332 target=$target_alias
1334 # FIXME: To remove some day.
1335 if test "x$host_alias" != x; then
1336 if test "x$build_alias" = x; then
1337 cross_compiling=maybe
1338 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1339 If a cross compiler is detected then cross compile mode will be used." >&2
1340 elif test "x$build_alias" != "x$host_alias"; then
1346 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1348 test "$silent" = yes && exec 6>/dev/null
1351 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1352 ac_ls_di=`ls -di .` &&
1353 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1354 as_fn_error "working directory cannot be determined"
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 as_fn_error "pwd does not report name of working directory"
1359 # Find the source files, if location was not specified.
1360 if test -z "$srcdir"; then
1361 ac_srcdir_defaulted=yes
1362 # Try the directory containing this script, then the parent directory.
1363 ac_confdir=`$as_dirname -- "$as_myself" ||
1364 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1365 X"$as_myself" : 'X\(//\)[^/]' \| \
1366 X"$as_myself" : 'X\(//\)$' \| \
1367 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1368 $as_echo X"$as_myself" |
1369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1391 ac_srcdir_defaulted=no
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1395 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1397 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1399 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1401 # When building in place, set srcdir=.
1402 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 # Remove unnecessary trailing slashes from srcdir.
1406 # Double slashes in file names in object file debugging info
1407 # mess up M-x gdb in Emacs.
1409 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1411 for ac_var in $ac_precious_vars; do
1412 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1413 eval ac_env_${ac_var}_value=\$${ac_var}
1414 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1415 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1419 # Report the --help message.
1421 if test "$ac_init_help" = "long"; then
1422 # Omit some internal or obsolete options to make the list less imposing.
1423 # This message is too long to be a string in the A/UX 3.1 sh.
1425 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1427 Usage: $0 [OPTION]... [VAR=VALUE]...
1429 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1430 VAR=VALUE. See below for descriptions of some of the useful variables.
1432 Defaults for the options are specified in brackets.
1435 -h, --help display this help and exit
1436 --help=short display options specific to this package
1437 --help=recursive display the short help of all the included packages
1438 -V, --version display version information and exit
1439 -q, --quiet, --silent do not print \`checking...' messages
1440 --cache-file=FILE cache test results in FILE [disabled]
1441 -C, --config-cache alias for \`--cache-file=config.cache'
1442 -n, --no-create do not create output files
1443 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1445 Installation directories:
1446 --prefix=PREFIX install architecture-independent files in PREFIX
1447 [$ac_default_prefix]
1448 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 By default, \`make install' will install all the files in
1452 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1453 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1454 for instance \`--prefix=\$HOME'.
1456 For better control, use the options below.
1458 Fine tuning of the installation directories:
1459 --bindir=DIR user executables [EPREFIX/bin]
1460 --sbindir=DIR system admin executables [EPREFIX/sbin]
1461 --libexecdir=DIR program executables [EPREFIX/libexec]
1462 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1463 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1464 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1465 --libdir=DIR object code libraries [EPREFIX/lib]
1466 --includedir=DIR C header files [PREFIX/include]
1467 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1468 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1469 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1470 --infodir=DIR info documentation [DATAROOTDIR/info]
1471 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1472 --mandir=DIR man documentation [DATAROOTDIR/man]
1473 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1474 --htmldir=DIR html documentation [DOCDIR]
1475 --dvidir=DIR dvi documentation [DOCDIR]
1476 --pdfdir=DIR pdf documentation [DOCDIR]
1477 --psdir=DIR ps documentation [DOCDIR]
1483 --program-prefix=PREFIX prepend PREFIX to installed program names
1484 --program-suffix=SUFFIX append SUFFIX to installed program names
1485 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1488 --build=BUILD configure for building on BUILD [guessed]
1489 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1490 --target=TARGET configure for building compilers for TARGET [HOST]
1494 if test -n "$ac_init_help"; then
1495 case $ac_init_help in
1496 short | recursive ) echo "Configuration of package-unused version-unused:";;
1501 --disable-option-checking ignore unrecognized --enable/--with options
1502 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1503 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1504 --enable-multilib build many library versions (default)
1505 --enable-maintainer-mode enable make rules and dependencies not useful
1506 (and sometimes confusing) to the casual installer
1507 --enable-shared[=PKGS] build shared libraries [default=yes]
1508 --enable-static[=PKGS] build static libraries [default=yes]
1509 --enable-fast-install[=PKGS]
1510 optimize for fast installation [default=yes]
1511 --disable-libtool-lock avoid locking (might break parallel builds)
1512 --disable-hosted-libstdcxx
1513 only build freestanding C++ runtime support
1514 --enable-sjlj-exceptions
1515 force use of builtin_setjmp for exceptions
1517 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1518 [default=$is_hosted]
1519 --enable-cstdio[=PACKAGE]
1520 use target-specific I/O package [default=stdio]
1521 --enable-clocale[=MODEL]
1522 use MODEL for target locale package [default=auto]
1523 --enable-nls use Native Language Support (default)
1524 --enable-libstdcxx-allocator[=KIND]
1525 use KIND for target std::allocator base
1527 --enable-cheaders[=KIND]
1528 construct "C" headers for g++ [default=$c_model]
1529 --enable-long-long enable template specializations for 'long long'
1531 --enable-wchar_t enable template specializations for 'wchar_t'
1533 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1534 --enable-concept-checks use Boost-derived template checks [default=no]
1535 --enable-libstdcxx-debug-flags=FLAGS
1536 pass compiler FLAGS when building debug library
1538 --enable-libstdcxx-debug
1539 build extra debug library [default=no]
1540 --enable-cxx-flags=FLAGS
1541 pass compiler FLAGS when building library [default=]
1542 --enable-fully-dynamic-string
1543 do not put empty strings in per-process static
1545 --enable-extern-template
1546 enable extern template [default=yes]
1547 --enable-libstdcxx-time[=KIND]
1548 use KIND for check type [default=no]
1549 --enable-tls Use thread-local storage [default=yes]
1550 --disable-rpath do not hardcode runtime library paths
1551 --enable-linux-futex use the Linux futex system call [default=default]
1552 --enable-symvers[=STYLE]
1553 enables symbol versioning of the shared library
1555 --enable-visibility enables visibility safe usage [default=yes]
1556 --enable-version-specific-runtime-libs
1557 Specify that runtime libraries should be installed
1558 in a compiler-specific directory
1561 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1562 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1563 --with-target-subdir=SUBDIR
1564 configuring in a subdirectory
1565 --with-cross-host=HOST configuring with a cross compiler
1566 --with-newlib assume newlib as a system C library
1567 --with-pic try to use only PIC/non-PIC objects [default=use
1569 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1570 --with-gnu-ld assume the C compiler uses GNU ld default=no
1571 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1572 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1573 --with-system-libunwind use installed libunwind
1574 --with-gxx-include-dir=DIR
1575 installation directory for include files
1577 Some influential environment variables:
1578 CC C compiler command
1579 CFLAGS C compiler flags
1580 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1581 nonstandard directory <lib dir>
1582 LIBS libraries to pass to the linker, e.g. -l<library>
1583 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1584 you have headers in a nonstandard directory <include dir>
1585 CXX C++ compiler command
1586 CXXFLAGS C++ compiler flags
1588 CXXCPP C++ preprocessor
1589 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1590 `c++filt', `gc++filt' on PATH.
1592 Use these variables to override the choices made by `configure' or to help
1593 it to find libraries and programs with nonstandard names/locations.
1595 Report bugs to the package provider.
1600 if test "$ac_init_help" = "recursive"; then
1601 # If there are subdirs, report their specific --help.
1602 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1603 test -d "$ac_dir" ||
1604 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1612 # A ".." for each directory in $ac_dir_suffix.
1613 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1614 case $ac_top_builddir_sub in
1615 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1619 ac_abs_top_builddir=$ac_pwd
1620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1621 # for backward compatibility:
1622 ac_top_builddir=$ac_top_build_prefix
1625 .) # We are building in place.
1627 ac_top_srcdir=$ac_top_builddir_sub
1628 ac_abs_top_srcdir=$ac_pwd ;;
1629 [\\/]* | ?:[\\/]* ) # Absolute name.
1630 ac_srcdir=$srcdir$ac_dir_suffix;
1631 ac_top_srcdir=$srcdir
1632 ac_abs_top_srcdir=$srcdir ;;
1634 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1635 ac_top_srcdir=$ac_top_build_prefix$srcdir
1636 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1640 cd "$ac_dir" || { ac_status=$?; continue; }
1641 # Check for guested configure.
1642 if test -f "$ac_srcdir/configure.gnu"; then
1644 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1645 elif test -f "$ac_srcdir/configure"; then
1647 $SHELL "$ac_srcdir/configure" --help=recursive
1649 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1651 cd "$ac_pwd" || { ac_status=$?; break; }
1655 test -n "$ac_init_help" && exit $ac_status
1656 if $ac_init_version; then
1658 package-unused configure version-unused
1659 generated by GNU Autoconf 2.64
1661 Copyright (C) 2009 Free Software Foundation, Inc.
1662 This configure script is free software; the Free Software Foundation
1663 gives unlimited permission to copy, distribute and modify it.
1668 ## ------------------------ ##
1669 ## Autoconf initialization. ##
1670 ## ------------------------ ##
1672 # ac_fn_c_try_compile LINENO
1673 # --------------------------
1674 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1675 ac_fn_c_try_compile ()
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 rm -f conftest.$ac_objext
1679 if { { ac_try="$ac_compile"
1681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1682 *) ac_try_echo=$ac_try;;
1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686 (eval "$ac_compile") 2>conftest.err
1688 if test -s conftest.err; then
1689 grep -v '^ *+' conftest.err >conftest.er1
1690 cat conftest.er1 >&5
1691 mv -f conftest.er1 conftest.err
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } && {
1695 test -z "$ac_c_werror_flag" ||
1696 test ! -s conftest.err
1697 } && test -s conftest.$ac_objext; then :
1700 $as_echo "$as_me: failed program was:" >&5
1701 sed 's/^/| /' conftest.$ac_ext >&5
1705 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1708 } # ac_fn_c_try_compile
1710 # ac_fn_cxx_try_compile LINENO
1711 # ----------------------------
1712 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1713 ac_fn_cxx_try_compile ()
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 rm -f conftest.$ac_objext
1717 if { { ac_try="$ac_compile"
1719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_compile") 2>conftest.err
1726 if test -s conftest.err; then
1727 grep -v '^ *+' conftest.err >conftest.er1
1728 cat conftest.er1 >&5
1729 mv -f conftest.er1 conftest.err
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } && {
1733 test -z "$ac_cxx_werror_flag" ||
1734 test ! -s conftest.err
1735 } && test -s conftest.$ac_objext; then :
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1743 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 } # ac_fn_cxx_try_compile
1748 # ac_fn_c_try_cpp LINENO
1749 # ----------------------
1750 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754 if { { ac_try="$ac_cpp conftest.$ac_ext"
1756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1757 *) ac_try_echo=$ac_try;;
1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1763 if test -s conftest.err; then
1764 grep -v '^ *+' conftest.err >conftest.er1
1765 cat conftest.er1 >&5
1766 mv -f conftest.er1 conftest.err
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } >/dev/null && {
1770 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1771 test ! -s conftest.err
1775 $as_echo "$as_me: failed program was:" >&5
1776 sed 's/^/| /' conftest.$ac_ext >&5
1780 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1785 # ac_fn_c_try_link LINENO
1786 # -----------------------
1787 # Try to link conftest.$ac_ext, and return whether this succeeded.
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 rm -f conftest.$ac_objext conftest$ac_exeext
1792 if { { ac_try="$ac_link"
1794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795 *) ac_try_echo=$ac_try;;
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_link") 2>conftest.err
1801 if test -s conftest.err; then
1802 grep -v '^ *+' conftest.err >conftest.er1
1803 cat conftest.er1 >&5
1804 mv -f conftest.er1 conftest.err
1806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807 test $ac_status = 0; } && {
1808 test -z "$ac_c_werror_flag" ||
1809 test ! -s conftest.err
1810 } && test -s conftest$ac_exeext && {
1811 test "$cross_compiling" = yes ||
1812 $as_test_x conftest$ac_exeext
1816 $as_echo "$as_me: failed program was:" >&5
1817 sed 's/^/| /' conftest.$ac_ext >&5
1821 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1822 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1823 # interfere with the next link command; also delete a directory that is
1824 # left behind by Apple's compiler. We do this before executing the actions.
1825 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1826 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1829 } # ac_fn_c_try_link
1831 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1832 # -------------------------------------------------------
1833 # Tests whether HEADER exists and can be compiled using the include files in
1834 # INCLUDES, setting the cache variable VAR accordingly.
1835 ac_fn_c_check_header_compile ()
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839 $as_echo_n "checking for $2... " >&6; }
1840 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1841 $as_echo_n "(cached) " >&6
1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h. */
1848 if ac_fn_c_try_compile "$LINENO"; then :
1853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857 $as_echo "$ac_res" >&6; }
1858 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1860 } # ac_fn_c_check_header_compile
1862 # ac_fn_c_try_run LINENO
1863 # ----------------------
1864 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1865 # that executables *can* be run.
1868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869 if { { ac_try="$ac_link"
1871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1872 *) ac_try_echo=$ac_try;;
1874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1875 $as_echo "$ac_try_echo"; } >&5
1876 (eval "$ac_link") 2>&5
1878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1879 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1880 { { case "(($ac_try" in
1881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882 *) ac_try_echo=$ac_try;;
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886 (eval "$ac_try") 2>&5
1888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889 test $ac_status = 0; }; }; then :
1892 $as_echo "$as_me: program exited with status $ac_status" >&5
1893 $as_echo "$as_me: failed program was:" >&5
1894 sed 's/^/| /' conftest.$ac_ext >&5
1896 ac_retval=$ac_status
1898 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1899 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1904 # ac_fn_c_check_func LINENO FUNC VAR
1905 # ----------------------------------
1906 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1907 ac_fn_c_check_func ()
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1911 $as_echo_n "checking for $2... " >&6; }
1912 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1913 $as_echo_n "(cached) " >&6
1915 if test x$gcc_no_link = xyes; then
1916 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1922 #define $2 innocuous_$2
1924 /* System header to define __stub macros and hopefully few prototypes,
1925 which can conflict with char $2 (); below.
1926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1927 <limits.h> exists even on freestanding compilers. */
1930 # include <limits.h>
1932 # include <assert.h>
1937 /* Override any GCC internal prototype to avoid an error.
1938 Use char because int might match the return type of a GCC
1939 builtin and then its argument prototype would still apply. */
1944 /* The GNU C library defines this for functions which it implements
1945 to always fail with ENOSYS. Some functions are actually named
1946 something starting with __ and the normal name is an alias. */
1947 #if defined __stub_$2 || defined __stub___$2
1959 if ac_fn_c_try_link "$LINENO"; then :
1964 rm -f core conftest.err conftest.$ac_objext \
1965 conftest$ac_exeext conftest.$ac_ext
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1970 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1972 } # ac_fn_c_check_func
1974 # ac_fn_cxx_try_cpp LINENO
1975 # ------------------------
1976 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1977 ac_fn_cxx_try_cpp ()
1979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980 if { { ac_try="$ac_cpp conftest.$ac_ext"
1982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1983 *) ac_try_echo=$ac_try;;
1985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1986 $as_echo "$ac_try_echo"; } >&5
1987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1989 if test -s conftest.err; then
1990 grep -v '^ *+' conftest.err >conftest.er1
1991 cat conftest.er1 >&5
1992 mv -f conftest.er1 conftest.err
1994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1995 test $ac_status = 0; } >/dev/null && {
1996 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1997 test ! -s conftest.err
2001 $as_echo "$as_me: failed program was:" >&5
2002 sed 's/^/| /' conftest.$ac_ext >&5
2006 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2009 } # ac_fn_cxx_try_cpp
2011 # ac_fn_cxx_try_link LINENO
2012 # -------------------------
2013 # Try to link conftest.$ac_ext, and return whether this succeeded.
2014 ac_fn_cxx_try_link ()
2016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017 rm -f conftest.$ac_objext conftest$ac_exeext
2018 if { { ac_try="$ac_link"
2020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2021 *) ac_try_echo=$ac_try;;
2023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2024 $as_echo "$ac_try_echo"; } >&5
2025 (eval "$ac_link") 2>conftest.err
2027 if test -s conftest.err; then
2028 grep -v '^ *+' conftest.err >conftest.er1
2029 cat conftest.er1 >&5
2030 mv -f conftest.er1 conftest.err
2032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2033 test $ac_status = 0; } && {
2034 test -z "$ac_cxx_werror_flag" ||
2035 test ! -s conftest.err
2036 } && test -s conftest$ac_exeext && {
2037 test "$cross_compiling" = yes ||
2038 $as_test_x conftest$ac_exeext
2042 $as_echo "$as_me: failed program was:" >&5
2043 sed 's/^/| /' conftest.$ac_ext >&5
2047 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2048 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2049 # interfere with the next link command; also delete a directory that is
2050 # left behind by Apple's compiler. We do this before executing the actions.
2051 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2052 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2055 } # ac_fn_cxx_try_link
2057 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2058 # -------------------------------------------------------
2059 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2060 # the include files in INCLUDES and setting the cache variable VAR
2062 ac_fn_c_check_header_mongrel ()
2064 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2065 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2067 $as_echo_n "checking for $2... " >&6; }
2068 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2069 $as_echo_n "(cached) " >&6
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 $as_echo "$ac_res" >&6; }
2075 # Is the header compilable?
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2077 $as_echo_n "checking $2 usability... " >&6; }
2078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h. */
2083 if ac_fn_c_try_compile "$LINENO"; then :
2084 ac_header_compiler=yes
2086 ac_header_compiler=no
2088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2090 $as_echo "$ac_header_compiler" >&6; }
2092 # Is the header present?
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2094 $as_echo_n "checking $2 presence... " >&6; }
2095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2096 /* end confdefs.h. */
2099 if ac_fn_c_try_cpp "$LINENO"; then :
2100 ac_header_preproc=yes
2102 ac_header_preproc=no
2104 rm -f conftest.err conftest.$ac_ext
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2106 $as_echo "$ac_header_preproc" >&6; }
2108 # So? What about this header?
2109 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2112 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2114 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2118 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2120 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2122 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2124 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2126 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2130 $as_echo_n "checking for $2... " >&6; }
2131 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2132 $as_echo_n "(cached) " >&6
2134 eval "$3=\$ac_header_compiler"
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2138 $as_echo "$ac_res" >&6; }
2140 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2142 } # ac_fn_c_check_header_mongrel
2144 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2145 # ---------------------------------------------------------
2146 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2147 # the include files in INCLUDES and setting the cache variable VAR
2149 ac_fn_cxx_check_header_mongrel ()
2151 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2152 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2154 $as_echo_n "checking for $2... " >&6; }
2155 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2156 $as_echo_n "(cached) " >&6
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2160 $as_echo "$ac_res" >&6; }
2162 # Is the header compilable?
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2164 $as_echo_n "checking $2 usability... " >&6; }
2165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2166 /* end confdefs.h. */
2170 if ac_fn_cxx_try_compile "$LINENO"; then :
2171 ac_header_compiler=yes
2173 ac_header_compiler=no
2175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2177 $as_echo "$ac_header_compiler" >&6; }
2179 # Is the header present?
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2181 $as_echo_n "checking $2 presence... " >&6; }
2182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2186 if ac_fn_cxx_try_cpp "$LINENO"; then :
2187 ac_header_preproc=yes
2189 ac_header_preproc=no
2191 rm -f conftest.err conftest.$ac_ext
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2193 $as_echo "$ac_header_preproc" >&6; }
2195 # So? What about this header?
2196 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2199 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2201 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2205 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2207 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2209 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2211 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2213 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2217 $as_echo_n "checking for $2... " >&6; }
2218 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2219 $as_echo_n "(cached) " >&6
2221 eval "$3=\$ac_header_compiler"
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2225 $as_echo "$ac_res" >&6; }
2227 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2229 } # ac_fn_cxx_check_header_mongrel
2231 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2232 # --------------------------------------------
2233 # Tries to find the compile-time value of EXPR in a program that includes
2234 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2236 ac_fn_c_compute_int ()
2238 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2239 if test "$cross_compiling" = yes; then
2240 # Depending upon the size, compute the lo and hi bounds.
2241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2242 /* end confdefs.h. */
2247 static int test_array [1 - 2 * !(($2) >= 0)];
2254 if ac_fn_c_try_compile "$LINENO"; then :
2257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2258 /* end confdefs.h. */
2263 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2270 if ac_fn_c_try_compile "$LINENO"; then :
2271 ac_hi=$ac_mid; break
2273 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2274 if test $ac_lo -le $ac_mid; then
2278 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2289 static int test_array [1 - 2 * !(($2) < 0)];
2296 if ac_fn_c_try_compile "$LINENO"; then :
2299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2305 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2312 if ac_fn_c_try_compile "$LINENO"; then :
2313 ac_lo=$ac_mid; break
2315 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2316 if test $ac_mid -le $ac_hi; then
2320 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2330 # Binary search between lo and hi bounds.
2331 while test "x$ac_lo" != "x$ac_hi"; do
2332 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2334 /* end confdefs.h. */
2339 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2346 if ac_fn_c_try_compile "$LINENO"; then :
2349 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2359 /* end confdefs.h. */
2361 static long int longval () { return $2; }
2362 static unsigned long int ulongval () { return $2; }
2369 FILE *f = fopen ("conftest.val", "w");
2374 long int i = longval ();
2377 fprintf (f, "%ld", i);
2381 unsigned long int i = ulongval ();
2384 fprintf (f, "%lu", i);
2386 /* Do not output a trailing newline, as this causes \r\n confusion
2387 on some platforms. */
2388 return ferror (f) || fclose (f) != 0;
2394 if ac_fn_c_try_run "$LINENO"; then :
2395 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2400 conftest.$ac_objext conftest.beam conftest.$ac_ext
2404 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2407 } # ac_fn_c_compute_int
2409 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2410 # -------------------------------------------
2411 # Tests whether TYPE exists after having included INCLUDES, setting cache
2412 # variable VAR accordingly.
2413 ac_fn_c_check_type ()
2415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2417 $as_echo_n "checking for $2... " >&6; }
2418 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2419 $as_echo_n "(cached) " >&6
2422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2423 /* end confdefs.h. */
2434 if ac_fn_c_try_compile "$LINENO"; then :
2435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2436 /* end confdefs.h. */
2447 if ac_fn_c_try_compile "$LINENO"; then :
2452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2458 $as_echo "$ac_res" >&6; }
2459 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2461 } # ac_fn_c_check_type
2462 cat >config.log <<_ACEOF
2463 This file contains any messages produced by compilers while
2464 running configure, to aid debugging if configure makes a mistake.
2466 It was created by package-unused $as_me version-unused, which was
2467 generated by GNU Autoconf 2.64. Invocation command line was
2479 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2480 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2481 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2482 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2483 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2485 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2486 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2488 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2489 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2490 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2491 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2492 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2493 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2494 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir=.
2503 $as_echo "PATH: $as_dir"
2519 # Keep a trace of the command line.
2520 # Strip out --no-create and --no-recursion so they do not pile up.
2521 # Strip out --silent because we don't want to record it for future runs.
2522 # Also quote any args containing shell meta-characters.
2523 # Make two passes to allow for proper duplicate-argument suppression.
2527 ac_must_keep_next=false
2533 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2534 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2535 | -silent | --silent | --silen | --sile | --sil)
2538 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2541 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2543 as_fn_append ac_configure_args1 " '$ac_arg'"
2544 if test $ac_must_keep_next = true; then
2545 ac_must_keep_next=false # Got value, back to normal.
2548 *=* | --config-cache | -C | -disable-* | --disable-* \
2549 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2550 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2551 | -with-* | --with-* | -without-* | --without-* | --x)
2552 case "$ac_configure_args0 " in
2553 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2556 -* ) ac_must_keep_next=true ;;
2559 as_fn_append ac_configure_args " '$ac_arg'"
2564 { ac_configure_args0=; unset ac_configure_args0;}
2565 { ac_configure_args1=; unset ac_configure_args1;}
2567 # When interrupted or exit'd, cleanup temporary files, and complete
2568 # config.log. We remove comments because anyway the quotes in there
2569 # would cause problems or look ugly.
2570 # WARNING: Use '\'' to represent an apostrophe within the trap.
2571 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2572 trap 'exit_status=$?
2573 # Save into config.log some information that might help in debugging.
2578 ## ---------------- ##
2579 ## Cache variables. ##
2580 ## ---------------- ##
2583 # The following way of writing the cache mishandles newlines in values,
2585 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2586 eval ac_val=\$$ac_var
2590 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2591 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2594 _ | IFS | as_nl) ;; #(
2595 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2596 *) { eval $ac_var=; unset $ac_var;} ;;
2601 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2602 *${as_nl}ac_space=\ *)
2604 "s/'\''/'\''\\\\'\'''\''/g;
2605 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2608 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2616 ## ----------------- ##
2617 ## Output variables. ##
2618 ## ----------------- ##
2621 for ac_var in $ac_subst_vars
2623 eval ac_val=\$$ac_var
2625 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2627 $as_echo "$ac_var='\''$ac_val'\''"
2631 if test -n "$ac_subst_files"; then
2633 ## ------------------- ##
2634 ## File substitutions. ##
2635 ## ------------------- ##
2638 for ac_var in $ac_subst_files
2640 eval ac_val=\$$ac_var
2642 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2644 $as_echo "$ac_var='\''$ac_val'\''"
2649 if test -s confdefs.h; then
2659 test "$ac_signal" != 0 &&
2660 $as_echo "$as_me: caught signal $ac_signal"
2661 $as_echo "$as_me: exit $exit_status"
2663 rm -f core *.core core.conftest.* &&
2664 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2667 for ac_signal in 1 2 13 15; do
2668 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2672 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2673 rm -f -r conftest* confdefs.h
2675 $as_echo "/* confdefs.h */" > confdefs.h
2677 # Predefined preprocessor variables.
2679 cat >>confdefs.h <<_ACEOF
2680 #define PACKAGE_NAME "$PACKAGE_NAME"
2683 cat >>confdefs.h <<_ACEOF
2684 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2687 cat >>confdefs.h <<_ACEOF
2688 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2691 cat >>confdefs.h <<_ACEOF
2692 #define PACKAGE_STRING "$PACKAGE_STRING"
2695 cat >>confdefs.h <<_ACEOF
2696 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2699 cat >>confdefs.h <<_ACEOF
2700 #define PACKAGE_URL "$PACKAGE_URL"
2704 # Let the site file select an alternate cache file if it wants to.
2705 # Prefer an explicitly selected file to automatically selected ones.
2708 if test -n "$CONFIG_SITE"; then
2709 ac_site_file1=$CONFIG_SITE
2710 elif test "x$prefix" != xNONE; then
2711 ac_site_file1=$prefix/share/config.site
2712 ac_site_file2=$prefix/etc/config.site
2714 ac_site_file1=$ac_default_prefix/share/config.site
2715 ac_site_file2=$ac_default_prefix/etc/config.site
2717 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2719 test "x$ac_site_file" = xNONE && continue
2720 if test -r "$ac_site_file"; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2722 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2723 sed 's/^/| /' "$ac_site_file" >&5
2728 if test -r "$cache_file"; then
2729 # Some versions of bash will fail to source /dev/null (special
2730 # files actually), so we avoid doing that.
2731 if test -f "$cache_file"; then
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2733 $as_echo "$as_me: loading cache $cache_file" >&6;}
2735 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2736 *) . "./$cache_file";;
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2741 $as_echo "$as_me: creating cache $cache_file" >&6;}
2745 # Check that the precious variables saved in the cache have kept the same
2747 ac_cache_corrupted=false
2748 for ac_var in $ac_precious_vars; do
2749 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2750 eval ac_new_set=\$ac_env_${ac_var}_set
2751 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2752 eval ac_new_val=\$ac_env_${ac_var}_value
2753 case $ac_old_set,$ac_new_set in
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2756 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2757 ac_cache_corrupted=: ;;
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2760 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2761 ac_cache_corrupted=: ;;
2764 if test "x$ac_old_val" != "x$ac_new_val"; then
2765 # differences in whitespace do not lead to failure.
2766 ac_old_val_w=`echo x $ac_old_val`
2767 ac_new_val_w=`echo x $ac_new_val`
2768 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2770 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2771 ac_cache_corrupted=:
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2774 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2775 eval $ac_var=\$ac_old_val
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2778 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2780 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2783 # Pass precious variables to config.status.
2784 if test "$ac_new_set" = set; then
2786 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2787 *) ac_arg=$ac_var=$ac_new_val ;;
2789 case " $ac_configure_args " in
2790 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2791 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2795 if $ac_cache_corrupted; then
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2799 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2800 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2802 ## -------------------- ##
2803 ## Main body of script. ##
2804 ## -------------------- ##
2807 ac_cpp='$CPP $CPPFLAGS'
2808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2817 ac_config_headers="$ac_config_headers config.h"
2820 # This works around the fact that libtool configuration may change LD
2821 # for this particular configuration, but some shells, instead of
2822 # keeping the changes in LD private, export them just because LD is
2823 # exported. Only used at the end of this file.
2824 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2826 # For libtool versioning info, format is CURRENT:REVISION:AGE
2827 libtool_VERSION=6:15:0
2830 # Find the rest of the source tree framework.
2831 # Default to --enable-multilib
2832 # Check whether --enable-multilib was given.
2833 if test "${enable_multilib+set}" = set; then :
2834 enableval=$enable_multilib; case "$enableval" in
2835 yes) multilib=yes ;;
2837 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2844 # We may get other options which we leave undocumented:
2845 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2846 # See config-ml.in if you want the gory details.
2848 if test "$srcdir" = "."; then
2849 if test "$with_target_subdir" != "."; then
2850 multi_basedir="$srcdir/$with_multisrctop../.."
2852 multi_basedir="$srcdir/$with_multisrctop.."
2855 multi_basedir="$srcdir/.."
2859 # Even if the default multilib is not a cross compilation,
2860 # it may be that some of the other multilibs are.
2861 if test $cross_compiling = no && test $multilib = yes \
2862 && test "x${with_multisubdir}" != x ; then
2863 cross_compiling=maybe
2866 ac_config_commands="$ac_config_commands default-1"
2869 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2871 # You will slowly go insane if you do not grok the following fact: when
2872 # building v3 as part of the compiler, the top-level /target/ becomes the
2873 # library's /host/. configure then causes --target to default to --host,
2874 # exactly like any other package using autoconf. Therefore, 'target' and
2875 # 'host' will always be the same. This makes sense both for native and
2876 # cross compilers, just think about it for a little while. :-)
2878 # Also, if v3 is being configured as part of a cross compiler, the top-level
2879 # configure script will pass the "real" host as $with_cross_host.
2881 # Do not delete or change the following two lines. For why, see
2882 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2884 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2885 for ac_t in install-sh install.sh shtool; do
2886 if test -f "$ac_dir/$ac_t"; then
2888 ac_install_sh="$ac_aux_dir/$ac_t -c"
2893 if test -z "$ac_aux_dir"; then
2894 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2897 # These three variables are undocumented and unsupported,
2898 # and are intended to be withdrawn in a future Autoconf release.
2899 # They can cause serious problems if a builder's source tree is in a directory
2900 # whose full name contains unusual characters.
2901 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2902 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2903 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2906 # Make sure we can run config.sub.
2907 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2908 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2911 $as_echo_n "checking build system type... " >&6; }
2912 if test "${ac_cv_build+set}" = set; then :
2913 $as_echo_n "(cached) " >&6
2915 ac_build_alias=$build_alias
2916 test "x$ac_build_alias" = x &&
2917 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2918 test "x$ac_build_alias" = x &&
2919 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2920 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2921 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2925 $as_echo "$ac_cv_build" >&6; }
2926 case $ac_cv_build in
2928 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2931 ac_save_IFS=$IFS; IFS='-'
2937 # Remember, the first character of IFS is used to create $*,
2938 # except with old shells:
2941 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2945 $as_echo_n "checking host system type... " >&6; }
2946 if test "${ac_cv_host+set}" = set; then :
2947 $as_echo_n "(cached) " >&6
2949 if test "x$host_alias" = x; then
2950 ac_cv_host=$ac_cv_build
2952 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2953 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2958 $as_echo "$ac_cv_host" >&6; }
2961 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2964 ac_save_IFS=$IFS; IFS='-'
2970 # Remember, the first character of IFS is used to create $*,
2971 # except with old shells:
2974 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2978 $as_echo_n "checking target system type... " >&6; }
2979 if test "${ac_cv_target+set}" = set; then :
2980 $as_echo_n "(cached) " >&6
2982 if test "x$target_alias" = x; then
2983 ac_cv_target=$ac_cv_host
2985 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2986 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2991 $as_echo "$ac_cv_target" >&6; }
2992 case $ac_cv_target in
2994 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2996 target=$ac_cv_target
2997 ac_save_IFS=$IFS; IFS='-'
3003 # Remember, the first character of IFS is used to create $*,
3004 # except with old shells:
3007 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3010 # The aliases save the names the user supplied, while $host etc.
3011 # will get canonicalized.
3012 test -n "$target_alias" &&
3013 test "$program_prefix$program_suffix$program_transform_name" = \
3015 program_prefix=${target_alias}-
3017 target_alias=${target_alias-$host_alias}
3019 # Handy for debugging:
3020 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3022 if test "$build" != "$host"; then
3023 # We are being configured with some form of cross compiler.
3024 GLIBCXX_IS_NATIVE=false
3025 case "$host","$target" in
3026 # Darwin crosses can use the host system's libraries and headers,
3027 # because of the fat library support. Of course, it must be the
3028 # same version of Darwin on both sides. Allow the user to
3029 # just say --target=foo-darwin without a version number to mean
3030 # "the version on this system".
3031 *-*-darwin*,*-*-darwin*)
3032 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3033 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3034 if test $hostos = $targetos -o $targetos = darwin ; then
3035 GLIBCXX_IS_NATIVE=true
3044 GLIBCXX_IS_NATIVE=true
3047 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3048 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3049 # 1.x: minimum required version
3050 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3051 # of other PACKAGE_* variables will, however, and there's nothing
3052 # we can do about that; they come from AC_INIT).
3053 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3054 # file in the top srcdir, etc, etc), so stop complaining.
3055 # no-dependencies: turns off auto dependency generation (just for now)
3056 # no-dist: we don't want 'dist' and related rules.
3057 # -Wall: turns on all automake warnings...
3058 # -Wno-portability: ...except this one, since GNU make is now required.
3059 am__api_version='1.11'
3061 # Find a good install program. We prefer a C program (faster),
3062 # so one script is as good as another. But avoid the broken or
3063 # incompatible versions:
3064 # SysV /etc/install, /usr/sbin/install
3065 # SunOS /usr/etc/install
3066 # IRIX /sbin/install
3068 # AmigaOS /C/install, which installs bootblocks on floppy discs
3069 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3070 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3071 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3072 # OS/2's system install, which has a completely different semantic
3073 # ./install, which can be erroneously created by make from ./install.sh.
3074 # Reject install programs that cannot install multiple files.
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3076 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3077 if test -z "$INSTALL"; then
3078 if test "${ac_cv_path_install+set}" = set; then :
3079 $as_echo_n "(cached) " >&6
3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir=.
3086 # Account for people who put trailing slashes in PATH elements.
3087 case $as_dir/ in #((
3088 ./ | .// | /[cC]/* | \
3089 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3090 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3093 # OSF1 and SCO ODT 3.0 have their own names for install.
3094 # Don't use installbsd from OSF since it installs stuff as root
3096 for ac_prog in ginstall scoinst install; do
3097 for ac_exec_ext in '' $ac_executable_extensions; do
3098 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3099 if test $ac_prog = install &&
3100 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3101 # AIX install. It has an incompatible calling convention.
3103 elif test $ac_prog = install &&
3104 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3105 # program-specific install script used by HP pwplus--don't use.
3108 rm -rf conftest.one conftest.two conftest.dir
3109 echo one > conftest.one
3110 echo two > conftest.two
3112 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3113 test -s conftest.one && test -s conftest.two &&
3114 test -s conftest.dir/conftest.one &&
3115 test -s conftest.dir/conftest.two
3117 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3130 rm -rf conftest.one conftest.two conftest.dir
3133 if test "${ac_cv_path_install+set}" = set; then
3134 INSTALL=$ac_cv_path_install
3136 # As a last resort, use the slow shell script. Don't cache a
3137 # value for INSTALL within a source directory, because that will
3138 # break other packages using the cache if that directory is
3139 # removed, or if the value is a relative name.
3140 INSTALL=$ac_install_sh
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3144 $as_echo "$INSTALL" >&6; }
3146 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3147 # It thinks the first close brace ends the variable substitution.
3148 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3150 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3152 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3155 $as_echo_n "checking whether build environment is sane... " >&6; }
3158 echo timestamp > conftest.file
3159 # Reject unsafe characters in $srcdir or the absolute working directory
3160 # name. Accept space and tab only in the latter.
3164 *[\\\"\#\$\&\'\`$am_lf]*)
3165 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3168 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3169 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3172 # Do `set' in a subshell so we don't clobber the current shell's
3173 # arguments. Must try -L first in case configure is actually a
3174 # symlink; some systems play weird games with the mod time of symlinks
3175 # (eg FreeBSD returns the mod time of the symlink's containing
3178 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3179 if test "$*" = "X"; then
3181 set X `ls -t "$srcdir/configure" conftest.file`
3184 if test "$*" != "X $srcdir/configure conftest.file" \
3185 && test "$*" != "X conftest.file $srcdir/configure"; then
3187 # If neither matched, then we have a broken ls. This can happen
3188 # if, for instance, CONFIG_SHELL is bash and it inherits a
3189 # broken ls alias from the environment. This has actually
3190 # happened. Such a system could not be considered "sane".
3191 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3192 alias in your environment" "$LINENO" 5
3195 test "$2" = conftest.file
3201 as_fn_error "newly created file is older than distributed files!
3202 Check your system clock" "$LINENO" 5
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3205 $as_echo "yes" >&6; }
3206 test "$program_prefix" != NONE &&
3207 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3208 # Use a double $ so make ignores it.
3209 test "$program_suffix" != NONE &&
3210 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3211 # Double any \ or $.
3212 # By default was `s,x,x', remove it if useless.
3213 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3214 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3216 # expand $ac_aux_dir to an absolute path
3217 am_aux_dir=`cd $ac_aux_dir && pwd`
3219 if test x"${MISSING+set}" != xset; then
3222 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3224 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3227 # Use eval to expand $SHELL
3228 if eval "$MISSING --run true"; then
3229 am_missing_run="$MISSING --run "
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3233 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3236 if test x"${install_sh}" != xset; then
3239 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3241 install_sh="\${SHELL} $am_aux_dir/install-sh"
3245 # Installed binaries are usually stripped using `strip' when the user
3246 # run `make install-strip'. However `strip' might not be the right
3247 # tool to use in cross-compilation environments, therefore Automake
3248 # will honor the `STRIP' environment variable to overrule this program.
3249 if test "$cross_compiling" != no; then
3250 if test -n "$ac_tool_prefix"; then
3251 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3252 set dummy ${ac_tool_prefix}strip; ac_word=$2
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254 $as_echo_n "checking for $ac_word... " >&6; }
3255 if test "${ac_cv_prog_STRIP+set}" = set; then :
3256 $as_echo_n "(cached) " >&6
3258 if test -n "$STRIP"; then
3259 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 test -z "$as_dir" && as_dir=.
3266 for ac_exec_ext in '' $ac_executable_extensions; do
3267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3268 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 STRIP=$ac_cv_prog_STRIP
3279 if test -n "$STRIP"; then
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3281 $as_echo "$STRIP" >&6; }
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3284 $as_echo "no" >&6; }
3289 if test -z "$ac_cv_prog_STRIP"; then
3291 # Extract the first word of "strip", so it can be a program name with args.
3292 set dummy strip; ac_word=$2
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3294 $as_echo_n "checking for $ac_word... " >&6; }
3295 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3296 $as_echo_n "(cached) " >&6
3298 if test -n "$ac_ct_STRIP"; then
3299 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3305 test -z "$as_dir" && as_dir=.
3306 for ac_exec_ext in '' $ac_executable_extensions; do
3307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3308 ac_cv_prog_ac_ct_STRIP="strip"
3309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3319 if test -n "$ac_ct_STRIP"; then
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3321 $as_echo "$ac_ct_STRIP" >&6; }
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324 $as_echo "no" >&6; }
3327 if test "x$ac_ct_STRIP" = x; then
3330 case $cross_compiling:$ac_tool_warned in
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3334 ac_tool_warned=yes ;;
3339 STRIP="$ac_cv_prog_STRIP"
3343 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3346 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3347 if test -z "$MKDIR_P"; then
3348 if test "${ac_cv_path_mkdir+set}" = set; then :
3349 $as_echo_n "(cached) " >&6
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3355 test -z "$as_dir" && as_dir=.
3356 for ac_prog in mkdir gmkdir; do
3357 for ac_exec_ext in '' $ac_executable_extensions; do
3358 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3359 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3360 'mkdir (GNU coreutils) '* | \
3361 'mkdir (coreutils) '* | \
3362 'mkdir (fileutils) '4.1*)
3363 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3373 if test "${ac_cv_path_mkdir+set}" = set; then
3374 MKDIR_P="$ac_cv_path_mkdir -p"
3376 # As a last resort, use the slow shell script. Don't cache a
3377 # value for MKDIR_P within a source directory, because that will
3378 # break other packages using the cache if that directory is
3379 # removed, or if the value is a relative name.
3380 test -d ./--version && rmdir ./--version
3381 MKDIR_P="$ac_install_sh -d"
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3385 $as_echo "$MKDIR_P" >&6; }
3389 [\\/$]* | ?:[\\/]*) ;;
3390 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3393 for ac_prog in gawk mawk nawk awk
3395 # Extract the first word of "$ac_prog", so it can be a program name with args.
3396 set dummy $ac_prog; ac_word=$2
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3398 $as_echo_n "checking for $ac_word... " >&6; }
3399 if test "${ac_cv_prog_AWK+set}" = set; then :
3400 $as_echo_n "(cached) " >&6
3402 if test -n "$AWK"; then
3403 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3409 test -z "$as_dir" && as_dir=.
3410 for ac_exec_ext in '' $ac_executable_extensions; do
3411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3412 ac_cv_prog_AWK="$ac_prog"
3413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3423 if test -n "$AWK"; then
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3425 $as_echo "$AWK" >&6; }
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3428 $as_echo "no" >&6; }
3432 test -n "$AWK" && break
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3436 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3438 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3439 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3440 $as_echo_n "(cached) " >&6
3442 cat >conftest.make <<\_ACEOF
3445 @echo '@@@%%%=$(MAKE)=@@@%%%'
3447 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3448 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3450 eval ac_cv_prog_make_${ac_make}_set=yes;;
3452 eval ac_cv_prog_make_${ac_make}_set=no;;
3456 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3458 $as_echo "yes" >&6; }
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3462 $as_echo "no" >&6; }
3463 SET_MAKE="MAKE=${MAKE-make}"
3466 rm -rf .tst 2>/dev/null
3467 mkdir .tst 2>/dev/null
3468 if test -d .tst; then
3473 rmdir .tst 2>/dev/null
3475 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3476 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3477 # is not polluted with repeated "-I."
3478 am__isrc=' -I$(srcdir)'
3479 # test to see if srcdir already configured
3480 if test -f $srcdir/config.status; then
3481 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3485 # test whether we have cygpath
3486 if test -z "$CYGPATH_W"; then
3487 if (cygpath --version) >/dev/null 2>/dev/null; then
3488 CYGPATH_W='cygpath -w'
3495 # Define the identity of the package.
3497 VERSION='version-unused'
3500 # Some tools Automake needs.
3502 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3505 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3508 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3511 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3514 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3516 # We need awk for the "check" target. The system "awk" is bad on
3518 # Always define AMTAR for backward compatibility.
3520 AMTAR=${AMTAR-"${am_missing_run}tar"}
3522 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3531 # -fno-builtin must be present here so that a non-conflicting form of
3532 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3534 save_CXXFLAGS="$CXXFLAGS"
3535 CXXFLAGS="$CXXFLAGS -fno-builtin"
3537 ac_cpp='$CPP $CPPFLAGS'
3538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3541 if test -n "$ac_tool_prefix"; then
3542 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3543 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if test "${ac_cv_prog_CC+set}" = set; then :
3547 $as_echo_n "(cached) " >&6
3549 if test -n "$CC"; then
3550 ac_cv_prog_CC="$CC" # Let the user override the test.
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3556 test -z "$as_dir" && as_dir=.
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3559 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 if test -n "$CC"; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3572 $as_echo "$CC" >&6; }
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3580 if test -z "$ac_cv_prog_CC"; then
3582 # Extract the first word of "gcc", so it can be a program name with args.
3583 set dummy gcc; ac_word=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3587 $as_echo_n "(cached) " >&6
3589 if test -n "$ac_ct_CC"; then
3590 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3596 test -z "$as_dir" && as_dir=.
3597 for ac_exec_ext in '' $ac_executable_extensions; do
3598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3599 ac_cv_prog_ac_ct_CC="gcc"
3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3610 if test -n "$ac_ct_CC"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3612 $as_echo "$ac_ct_CC" >&6; }
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3618 if test "x$ac_ct_CC" = x; then
3621 case $cross_compiling:$ac_tool_warned in
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3625 ac_tool_warned=yes ;;
3633 if test -z "$CC"; then
3634 if test -n "$ac_tool_prefix"; then
3635 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3636 set dummy ${ac_tool_prefix}cc; ac_word=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if test "${ac_cv_prog_CC+set}" = set; then :
3640 $as_echo_n "(cached) " >&6
3642 if test -n "$CC"; then
3643 ac_cv_prog_CC="$CC" # Let the user override the test.
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3652 ac_cv_prog_CC="${ac_tool_prefix}cc"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 if test -n "$CC"; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3665 $as_echo "$CC" >&6; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3674 if test -z "$CC"; then
3675 # Extract the first word of "cc", so it can be a program name with args.
3676 set dummy cc; ac_word=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if test "${ac_cv_prog_CC+set}" = set; then :
3680 $as_echo_n "(cached) " >&6
3682 if test -n "$CC"; then
3683 ac_cv_prog_CC="$CC" # Let the user override the test.
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 test -z "$as_dir" && as_dir=.
3691 for ac_exec_ext in '' $ac_executable_extensions; do
3692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3693 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3694 ac_prog_rejected=yes
3698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3705 if test $ac_prog_rejected = yes; then
3706 # We found a bogon in the path, so make sure we never use it.
3707 set dummy $ac_cv_prog_CC
3709 if test $# != 0; then
3710 # We chose a different compiler from the bogus one.
3711 # However, it has the same basename, so the bogon will be chosen
3712 # first if we set CC to just the basename; use the full file name.
3714 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3720 if test -n "$CC"; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3722 $as_echo "$CC" >&6; }
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725 $as_echo "no" >&6; }
3730 if test -z "$CC"; then
3731 if test -n "$ac_tool_prefix"; then
3732 for ac_prog in cl.exe
3734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3735 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3737 $as_echo_n "checking for $ac_word... " >&6; }
3738 if test "${ac_cv_prog_CC+set}" = set; then :
3739 $as_echo_n "(cached) " >&6
3741 if test -n "$CC"; then
3742 ac_cv_prog_CC="$CC" # Let the user override the test.
3744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3748 test -z "$as_dir" && as_dir=.
3749 for ac_exec_ext in '' $ac_executable_extensions; do
3750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3751 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 if test -n "$CC"; then
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3764 $as_echo "$CC" >&6; }
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3767 $as_echo "no" >&6; }
3771 test -n "$CC" && break
3774 if test -z "$CC"; then
3776 for ac_prog in cl.exe
3778 # Extract the first word of "$ac_prog", so it can be a program name with args.
3779 set dummy $ac_prog; ac_word=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3783 $as_echo_n "(cached) " >&6
3785 if test -n "$ac_ct_CC"; then
3786 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3792 test -z "$as_dir" && as_dir=.
3793 for ac_exec_ext in '' $ac_executable_extensions; do
3794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3795 ac_cv_prog_ac_ct_CC="$ac_prog"
3796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3806 if test -n "$ac_ct_CC"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3808 $as_echo "$ac_ct_CC" >&6; }
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3815 test -n "$ac_ct_CC" && break
3818 if test "x$ac_ct_CC" = x; then
3821 case $cross_compiling:$ac_tool_warned in
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3825 ac_tool_warned=yes ;;
3834 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3836 as_fn_error "no acceptable C compiler found in \$PATH
3837 See \`config.log' for more details." "$LINENO" 5; }
3839 # Provide some information about the compiler.
3840 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3843 for ac_option in --version -v -V -qversion; do
3844 { { ac_try="$ac_compiler $ac_option >&5"
3846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3847 *) ac_try_echo=$ac_try;;
3849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3850 $as_echo "$ac_try_echo"; } >&5
3851 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3853 if test -s conftest.err; then
3855 ... rest of stderr output deleted ...
3856 10q' conftest.err >conftest.er1
3857 cat conftest.er1 >&5
3858 rm -f conftest.er1 conftest.err
3860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3861 test $ac_status = 0; }
3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3877 (eval $ac_link) 2>&5
3879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880 test $ac_status = 0; }; then :
3885 if test x$gcc_no_link = xyes; then
3886 # Setting cross_compile will disable run tests; it will
3887 # also disable AC_CHECK_FILE but that's generally
3888 # correct if we can't link.
3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3903 ac_clean_files_save=$ac_clean_files
3904 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3905 # Try to create an executable without -o first, disregard a.out.
3906 # It will help us diagnose broken compilers, and finding out an intuition
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3909 $as_echo_n "checking for C compiler default output file name... " >&6; }
3910 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3912 # The possible output files:
3913 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3916 for ac_file in $ac_files
3919 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3920 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3925 if { { ac_try="$ac_link_default"
3927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3928 *) ac_try_echo=$ac_try;;
3930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3931 $as_echo "$ac_try_echo"; } >&5
3932 (eval "$ac_link_default") 2>&5
3934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3935 test $ac_status = 0; }; then :
3936 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3937 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3938 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3939 # so that the user can short-circuit this test for compilers unknown to
3941 for ac_file in $ac_files ''
3943 test -f "$ac_file" || continue
3945 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3948 # We found the default executable, but exeext='' is most
3952 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3954 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3956 # We set ac_cv_exeext here because the later test for it is not
3957 # safe: cross compilers may not add the suffix if given an `-o'
3958 # argument, so we may need to know it at that point already.
3959 # Even if this section looks crufty: it has the advantage of
3966 test "$ac_cv_exeext" = no && ac_cv_exeext=
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3972 $as_echo "$ac_file" >&6; }
3973 if test -z "$ac_file"; then :
3974 $as_echo "$as_me: failed program was:" >&5
3975 sed 's/^/| /' conftest.$ac_ext >&5
3977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3979 { as_fn_set_status 77
3980 as_fn_error "C compiler cannot create executables
3981 See \`config.log' for more details." "$LINENO" 5; }; }
3983 ac_exeext=$ac_cv_exeext
3985 # Check that the compiler produces executables we can run. If not, either
3986 # the compiler is broken, or we cross compile.
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3988 $as_echo_n "checking whether the C compiler works... " >&6; }
3989 # If not cross compiling, check that we can run a simple program.
3990 if test "$cross_compiling" != yes; then
3991 if { ac_try='./$ac_file'
3992 { { case "(($ac_try" in
3993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3994 *) ac_try_echo=$ac_try;;
3996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3997 $as_echo "$ac_try_echo"; } >&5
3998 (eval "$ac_try") 2>&5
4000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4001 test $ac_status = 0; }; }; then
4004 if test "$cross_compiling" = maybe; then
4007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4009 as_fn_error "cannot run C compiled programs.
4010 If you meant to cross compile, use \`--host'.
4011 See \`config.log' for more details." "$LINENO" 5; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4016 $as_echo "yes" >&6; }
4018 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4019 ac_clean_files=$ac_clean_files_save
4020 # Check that the compiler produces executables we can run. If not, either
4021 # the compiler is broken, or we cross compile.
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4023 $as_echo_n "checking whether we are cross compiling... " >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4025 $as_echo "$cross_compiling" >&6; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4028 $as_echo_n "checking for suffix of executables... " >&6; }
4029 if { { ac_try="$ac_link"
4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035 $as_echo "$ac_try_echo"; } >&5
4036 (eval "$ac_link") 2>&5
4038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4039 test $ac_status = 0; }; then :
4040 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4041 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4042 # work properly (i.e., refer to `conftest.exe'), while it won't with
4044 for ac_file in conftest.exe conftest conftest.*; do
4045 test -f "$ac_file" || continue
4047 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4048 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4056 as_fn_error "cannot compute suffix of executables: cannot compile and link
4057 See \`config.log' for more details." "$LINENO" 5; }
4059 rm -f conftest$ac_cv_exeext
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4061 $as_echo "$ac_cv_exeext" >&6; }
4063 rm -f conftest.$ac_ext
4064 EXEEXT=$ac_cv_exeext
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4068 $as_echo_n "checking for suffix of object files... " >&6; }
4069 if test "${ac_cv_objext+set}" = set; then :
4070 $as_echo_n "(cached) " >&6
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4083 rm -f conftest.o conftest.obj
4084 if { { ac_try="$ac_compile"
4086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4087 *) ac_try_echo=$ac_try;;
4089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 $as_echo "$ac_try_echo"; } >&5
4091 (eval "$ac_compile") 2>&5
4093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4094 test $ac_status = 0; }; then :
4095 for ac_file in conftest.o conftest.obj conftest.*; do
4096 test -f "$ac_file" || continue;
4098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4099 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4104 $as_echo "$as_me: failed program was:" >&5
4105 sed 's/^/| /' conftest.$ac_ext >&5
4107 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4109 as_fn_error "cannot compute suffix of object files: cannot compile
4110 See \`config.log' for more details." "$LINENO" 5; }
4112 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4115 $as_echo "$ac_cv_objext" >&6; }
4116 OBJEXT=$ac_cv_objext
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4119 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4120 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4121 $as_echo_n "(cached) " >&6
4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4137 if ac_fn_c_try_compile "$LINENO"; then :
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4143 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4147 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4148 if test $ac_compiler_gnu = yes; then
4153 ac_test_CFLAGS=${CFLAGS+set}
4154 ac_save_CFLAGS=$CFLAGS
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4156 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4157 if test "${ac_cv_prog_cc_g+set}" = set; then :
4158 $as_echo_n "(cached) " >&6
4160 ac_save_c_werror_flag=$ac_c_werror_flag
4161 ac_c_werror_flag=yes
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4175 if ac_fn_c_try_compile "$LINENO"; then :
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4190 if ac_fn_c_try_compile "$LINENO"; then :
4193 ac_c_werror_flag=$ac_save_c_werror_flag
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4206 if ac_fn_c_try_compile "$LINENO"; then :
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 ac_c_werror_flag=$ac_save_c_werror_flag
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4217 $as_echo "$ac_cv_prog_cc_g" >&6; }
4218 if test "$ac_test_CFLAGS" = set; then
4219 CFLAGS=$ac_save_CFLAGS
4220 elif test $ac_cv_prog_cc_g = yes; then
4221 if test "$GCC" = yes; then
4227 if test "$GCC" = yes; then
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4234 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4235 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4236 $as_echo_n "(cached) " >&6
4238 ac_cv_prog_cc_c89=no
4240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241 /* end confdefs.h. */
4244 #include <sys/types.h>
4245 #include <sys/stat.h>
4246 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4247 struct buf { int x; };
4248 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4249 static char *e (p, i)
4255 static char *f (char * (*g) (char **, int), char **p, ...)