2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU C Runtime Library 1.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
547 PACKAGE_NAME
='GNU C Runtime Library'
548 PACKAGE_TARNAME
='libgcc'
549 PACKAGE_VERSION
='1.0'
550 PACKAGE_STRING
='GNU C Runtime Library 1.0'
552 PACKAGE_URL
='http://www.gnu.org/software/libgcc/'
554 ac_unique_file
="static-object.mk"
555 ac_includes_default
='/* none */'
556 ac_subst_vars
='LTLIBOBJS
573 real_host_noncanonical
575 force_explicit_eh_registry
582 long_double_type_size
653 program_transform_name
666 enable_option_checking
674 enable_version_specific_runtime_libs
676 enable_maintainer_mode
680 with_system_libunwind
682 enable_explicit_exception_frame_registration
685 with_gcc_major_version_only
687 ac_precious_vars
='build_alias
698 # Initialize some variables set by options.
700 ac_init_version
=false
701 ac_unrecognized_opts
=
703 # The variables have the same names as the options, with
704 # dashes changed to underlines.
712 program_transform_name
=s
,x
,x
,
720 # Installation directory options.
721 # These are left unexpanded so users can "make install exec_prefix=/foo"
722 # and all the variables that are supposed to be based on exec_prefix
723 # by default will actually change.
724 # Use braces instead of parens because sh, perl, etc. also accept them.
725 # (The list follows the same order as the GNU Coding Standards.)
726 bindir
='${exec_prefix}/bin'
727 sbindir
='${exec_prefix}/sbin'
728 libexecdir
='${exec_prefix}/libexec'
729 datarootdir
='${prefix}/share'
730 datadir
='${datarootdir}'
731 sysconfdir
='${prefix}/etc'
732 sharedstatedir
='${prefix}/com'
733 localstatedir
='${prefix}/var'
734 includedir
='${prefix}/include'
735 oldincludedir
='/usr/include'
736 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
737 infodir
='${datarootdir}/info'
742 libdir
='${exec_prefix}/lib'
743 localedir
='${datarootdir}/locale'
744 mandir
='${datarootdir}/man'
750 # If the previous option needs an argument, assign it.
751 if test -n "$ac_prev"; then
752 eval $ac_prev=\
$ac_option
758 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
762 # Accept the important Cygnus configure options, so we can diagnose typos.
764 case $ac_dashdash$ac_option in
768 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
770 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
773 -build |
--build |
--buil |
--bui |
--bu)
774 ac_prev
=build_alias
;;
775 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
776 build_alias
=$ac_optarg ;;
778 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
779 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
780 ac_prev
=cache_file
;;
781 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
782 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
783 cache_file
=$ac_optarg ;;
786 cache_file
=config.cache
;;
788 -datadir |
--datadir |
--datadi |
--datad)
790 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
791 datadir
=$ac_optarg ;;
793 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
794 |
--dataroo |
--dataro |
--datar)
795 ac_prev
=datarootdir
;;
796 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
797 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
798 datarootdir
=$ac_optarg ;;
800 -disable-* |
--disable-*)
801 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
802 # Reject names that are not valid shell variable names.
803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
804 as_fn_error
"invalid feature name: $ac_useropt"
805 ac_useropt_orig
=$ac_useropt
806 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
807 case $ac_user_opts in
811 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
812 ac_unrecognized_sep
=', ';;
814 eval enable_
$ac_useropt=no
;;
816 -docdir |
--docdir |
--docdi |
--doc |
--do)
818 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
821 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
823 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
826 -enable-* |
--enable-*)
827 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
828 # Reject names that are not valid shell variable names.
829 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
830 as_fn_error
"invalid feature name: $ac_useropt"
831 ac_useropt_orig
=$ac_useropt
832 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
833 case $ac_user_opts in
837 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
838 ac_unrecognized_sep
=', ';;
840 eval enable_
$ac_useropt=\
$ac_optarg ;;
842 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
843 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
844 |
--exec |
--exe |
--ex)
845 ac_prev
=exec_prefix
;;
846 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
847 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
848 |
--exec=* |
--exe=* |
--ex=*)
849 exec_prefix
=$ac_optarg ;;
851 -gas |
--gas |
--ga |
--g)
852 # Obsolete; use --with-gas.
855 -help |
--help |
--hel |
--he |
-h)
857 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
858 ac_init_help
=recursive
;;
859 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
860 ac_init_help
=short
;;
862 -host |
--host |
--hos |
--ho)
863 ac_prev
=host_alias
;;
864 -host=* |
--host=* |
--hos=* |
--ho=*)
865 host_alias
=$ac_optarg ;;
867 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
869 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
871 htmldir
=$ac_optarg ;;
873 -includedir |
--includedir |
--includedi |
--included |
--include \
874 |
--includ |
--inclu |
--incl |
--inc)
875 ac_prev
=includedir
;;
876 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
877 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
878 includedir
=$ac_optarg ;;
880 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
882 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
883 infodir
=$ac_optarg ;;
885 -libdir |
--libdir |
--libdi |
--libd)
887 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
890 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
891 |
--libexe |
--libex |
--libe)
892 ac_prev
=libexecdir
;;
893 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
894 |
--libexe=* |
--libex=* |
--libe=*)
895 libexecdir
=$ac_optarg ;;
897 -localedir |
--localedir |
--localedi |
--localed |
--locale)
899 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
900 localedir
=$ac_optarg ;;
902 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
903 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
904 ac_prev
=localstatedir
;;
905 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
906 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
907 localstatedir
=$ac_optarg ;;
909 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
911 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
915 # Obsolete; use --without-fp.
918 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
919 |
--no-cr |
--no-c |
-n)
922 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
923 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
926 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
927 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
928 |
--oldin |
--oldi |
--old |
--ol |
--o)
929 ac_prev
=oldincludedir
;;
930 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
931 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
932 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
933 oldincludedir
=$ac_optarg ;;
935 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
937 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
940 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
941 |
--program-pre |
--program-pr |
--program-p)
942 ac_prev
=program_prefix
;;
943 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
944 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
945 program_prefix
=$ac_optarg ;;
947 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
948 |
--program-suf |
--program-su |
--program-s)
949 ac_prev
=program_suffix
;;
950 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
951 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
952 program_suffix
=$ac_optarg ;;
954 -program-transform-name |
--program-transform-name \
955 |
--program-transform-nam |
--program-transform-na \
956 |
--program-transform-n |
--program-transform- \
957 |
--program-transform |
--program-transfor \
958 |
--program-transfo |
--program-transf \
959 |
--program-trans |
--program-tran \
960 |
--progr-tra |
--program-tr |
--program-t)
961 ac_prev
=program_transform_name
;;
962 -program-transform-name=* |
--program-transform-name=* \
963 |
--program-transform-nam=* |
--program-transform-na=* \
964 |
--program-transform-n=* |
--program-transform-=* \
965 |
--program-transform=* |
--program-transfor=* \
966 |
--program-transfo=* |
--program-transf=* \
967 |
--program-trans=* |
--program-tran=* \
968 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
969 program_transform_name
=$ac_optarg ;;
971 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
973 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
976 -psdir |
--psdir |
--psdi |
--psd |
--ps)
978 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
981 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
982 |
-silent |
--silent |
--silen |
--sile |
--sil)
985 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
987 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
989 sbindir
=$ac_optarg ;;
991 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
992 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
993 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
995 ac_prev
=sharedstatedir
;;
996 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
997 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
998 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1000 sharedstatedir
=$ac_optarg ;;
1002 -site |
--site |
--sit)
1004 -site=* |
--site=* |
--sit=*)
1007 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1009 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1010 srcdir
=$ac_optarg ;;
1012 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1013 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1014 ac_prev
=sysconfdir
;;
1015 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1016 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1017 sysconfdir
=$ac_optarg ;;
1019 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1020 ac_prev
=target_alias
;;
1021 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1022 target_alias
=$ac_optarg ;;
1024 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1027 -version |
--version |
--versio |
--versi |
--vers |
-V)
1028 ac_init_version
=: ;;
1031 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1034 as_fn_error
"invalid package name: $ac_useropt"
1035 ac_useropt_orig
=$ac_useropt
1036 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1041 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1042 ac_unrecognized_sep
=', ';;
1044 eval with_
$ac_useropt=\
$ac_optarg ;;
1046 -without-* |
--without-*)
1047 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1048 # Reject names that are not valid shell variable names.
1049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1050 as_fn_error
"invalid package name: $ac_useropt"
1051 ac_useropt_orig
=$ac_useropt
1052 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1053 case $ac_user_opts in
1057 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1058 ac_unrecognized_sep
=', ';;
1060 eval with_
$ac_useropt=no
;;
1063 # Obsolete; use --with-x.
1066 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1067 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1068 ac_prev
=x_includes
;;
1069 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1070 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1071 x_includes
=$ac_optarg ;;
1073 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1074 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1075 ac_prev
=x_libraries
;;
1076 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1077 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1078 x_libraries
=$ac_optarg ;;
1080 -*) as_fn_error
"unrecognized option: \`$ac_option'
1081 Try \`$0 --help' for more information."
1085 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1086 # Reject names that are not valid shell variable names.
1087 case $ac_envvar in #(
1088 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1089 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1091 eval $ac_envvar=\
$ac_optarg
1092 export $ac_envvar ;;
1095 # FIXME: should be removed in autoconf 3.0.
1096 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1097 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1098 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1099 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1105 if test -n "$ac_prev"; then
1106 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1107 as_fn_error
"missing argument to $ac_option"
1110 if test -n "$ac_unrecognized_opts"; then
1111 case $enable_option_checking in
1113 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1114 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1118 # Check all directory arguments for consistency.
1119 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1120 datadir sysconfdir sharedstatedir localstatedir includedir \
1121 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1122 libdir localedir mandir
1124 eval ac_val
=\$
$ac_var
1125 # Remove trailing slashes.
1128 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1129 eval $ac_var=\
$ac_val;;
1131 # Be sure to have absolute directory names.
1133 [\\/$
]* | ?
:[\\/]* ) continue;;
1134 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1136 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1139 # There might be people who depend on the old broken behavior: `$host'
1140 # used to hold the argument of --host etc.
1141 # FIXME: To remove some day.
1144 target
=$target_alias
1146 # FIXME: To remove some day.
1147 if test "x$host_alias" != x
; then
1148 if test "x$build_alias" = x
; then
1149 cross_compiling
=maybe
1150 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1151 If a cross compiler is detected then cross compile mode will be used." >&2
1152 elif test "x$build_alias" != "x$host_alias"; then
1158 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1160 test "$silent" = yes && exec 6>/dev
/null
1163 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1164 ac_ls_di
=`ls -di .` &&
1165 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1166 as_fn_error
"working directory cannot be determined"
1167 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1168 as_fn_error
"pwd does not report name of working directory"
1171 # Find the source files, if location was not specified.
1172 if test -z "$srcdir"; then
1173 ac_srcdir_defaulted
=yes
1174 # Try the directory containing this script, then the parent directory.
1175 ac_confdir
=`$as_dirname -- "$as_myself" ||
1176 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1177 X"$as_myself" : 'X\(//\)[^/]' \| \
1178 X"$as_myself" : 'X\(//\)$' \| \
1179 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1180 $as_echo X"$as_myself" |
1181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1203 ac_srcdir_defaulted
=no
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1206 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1207 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1209 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1211 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1213 # When building in place, set srcdir=.
1214 if test "$ac_abs_confdir" = "$ac_pwd"; then
1217 # Remove unnecessary trailing slashes from srcdir.
1218 # Double slashes in file names in object file debugging info
1219 # mess up M-x gdb in Emacs.
1221 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1223 for ac_var
in $ac_precious_vars; do
1224 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1225 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1226 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1227 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1231 # Report the --help message.
1233 if test "$ac_init_help" = "long"; then
1234 # Omit some internal or obsolete options to make the list less imposing.
1235 # This message is too long to be a string in the A/UX 3.1 sh.
1237 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1239 Usage: $0 [OPTION]... [VAR=VALUE]...
1241 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1242 VAR=VALUE. See below for descriptions of some of the useful variables.
1244 Defaults for the options are specified in brackets.
1247 -h, --help display this help and exit
1248 --help=short display options specific to this package
1249 --help=recursive display the short help of all the included packages
1250 -V, --version display version information and exit
1251 -q, --quiet, --silent do not print \`checking...' messages
1252 --cache-file=FILE cache test results in FILE [disabled]
1253 -C, --config-cache alias for \`--cache-file=config.cache'
1254 -n, --no-create do not create output files
1255 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1257 Installation directories:
1258 --prefix=PREFIX install architecture-independent files in PREFIX
1259 [$ac_default_prefix]
1260 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1263 By default, \`make install' will install all the files in
1264 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1265 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1266 for instance \`--prefix=\$HOME'.
1268 For better control, use the options below.
1270 Fine tuning of the installation directories:
1271 --bindir=DIR user executables [EPREFIX/bin]
1272 --sbindir=DIR system admin executables [EPREFIX/sbin]
1273 --libexecdir=DIR program executables [EPREFIX/libexec]
1274 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1275 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1276 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1277 --libdir=DIR object code libraries [EPREFIX/lib]
1278 --includedir=DIR C header files [PREFIX/include]
1279 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1280 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1281 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1282 --infodir=DIR info documentation [DATAROOTDIR/info]
1283 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1284 --mandir=DIR man documentation [DATAROOTDIR/man]
1285 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1286 --htmldir=DIR html documentation [DOCDIR]
1287 --dvidir=DIR dvi documentation [DOCDIR]
1288 --pdfdir=DIR pdf documentation [DOCDIR]
1289 --psdir=DIR ps documentation [DOCDIR]
1295 --build=BUILD configure
for building on BUILD
[guessed
]
1296 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1300 if test -n "$ac_init_help"; then
1301 case $ac_init_help in
1302 short | recursive
) echo "Configuration of GNU C Runtime Library 1.0:";;
1307 --disable-option-checking ignore unrecognized
--enable/--with options
1308 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1309 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1310 --disable-shared don
't provide a shared libgcc
1311 --disable-gcov don't provide libgcov and related
host tools
1312 --enable-vtable-verify Enable vtable verification feature
1313 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1314 --enable-maintainer-mode
1315 enable make rules and dependencies not useful
(and
1316 sometimes confusing
) to the casual installer
1317 --disable-largefile omit support
for large files
1318 --enable-decimal-float={no
,yes,bid
,dpd
}
1319 enable decimal float extension to C. Selecting
'bid'
1320 or
'dpd' choses
which decimal floating point format
1322 --enable-cet enable Intel CET
in target libraries
[default
=no
]
1323 --enable-explicit-exception-frame-registration
1324 register exception tables explicitly
at module
1325 start
, for use e.g.
for compatibility with
1326 installations without PT_GNU_EH_FRAME support
1327 --enable-tls Use thread-local storage
[default
=yes]
1330 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1331 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1332 --with-target-subdir=SUBDIR Configuring
in a subdirectory
for target
1333 --with-cross-host=HOST Configuring with a cross compiler
1334 --with-ld arrange to use the specified ld
(full pathname
)
1335 --with-aix-soname=aix|svr4|both
1336 shared library versioning
(aka
"SONAME") variant to
1338 --with-slibdir=DIR shared libraries
in DIR LIBDIR
1339 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1340 --with-system-libunwind use installed libunwind
1341 --with-glibc-version=M.N
1342 assume GCC used with glibc version M.N or later
1343 --with-gcc-major-version-only
1344 use only GCC major number
in filesystem paths
1346 Some influential environment variables
:
1347 CC C compiler
command
1348 CFLAGS C compiler flags
1349 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1350 nonstandard directory
<lib dir
>
1351 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1352 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1353 you have headers
in a nonstandard directory
<include dir
>
1356 Use these variables to override the choices made by
`configure' or to help
1357 it to find libraries and programs with nonstandard names/locations.
1359 Report bugs to the package provider.
1360 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
1361 General help using GNU software: <http://www.gnu.org/gethelp/>.
1366 if test "$ac_init_help" = "recursive"; then
1367 # If there are subdirs, report their specific --help.
1368 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1369 test -d "$ac_dir" ||
1370 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1375 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1377 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1378 # A ".." for each directory in $ac_dir_suffix.
1379 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1380 case $ac_top_builddir_sub in
1381 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1382 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1385 ac_abs_top_builddir=$ac_pwd
1386 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1387 # for backward compatibility:
1388 ac_top_builddir=$ac_top_build_prefix
1391 .) # We are building in place.
1393 ac_top_srcdir=$ac_top_builddir_sub
1394 ac_abs_top_srcdir=$ac_pwd ;;
1395 [\\/]* | ?:[\\/]* ) # Absolute name.
1396 ac_srcdir=$srcdir$ac_dir_suffix;
1397 ac_top_srcdir=$srcdir
1398 ac_abs_top_srcdir=$srcdir ;;
1400 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1401 ac_top_srcdir=$ac_top_build_prefix$srcdir
1402 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1404 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1406 cd "$ac_dir" || { ac_status=$?; continue; }
1407 # Check for guested configure.
1408 if test -f "$ac_srcdir/configure.gnu"; then
1410 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1411 elif test -f "$ac_srcdir/configure"; then
1413 $SHELL "$ac_srcdir/configure" --help=recursive
1415 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1417 cd "$ac_pwd" || { ac_status=$?; break; }
1421 test -n "$ac_init_help" && exit $ac_status
1422 if $ac_init_version; then
1424 GNU C Runtime Library configure 1.0
1425 generated by GNU Autoconf 2.64
1427 Copyright (C) 2009 Free Software Foundation, Inc.
1428 This configure script is free software; the Free Software Foundation
1429 gives unlimited permission to copy, distribute and modify it.
1434 ## ------------------------ ##
1435 ## Autoconf initialization. ##
1436 ## ------------------------ ##
1438 # ac_fn_c_try_compile LINENO
1439 # --------------------------
1440 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1441 ac_fn_c_try_compile ()
1443 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1444 rm -f conftest.$ac_objext
1445 if { { ac_try="$ac_compile"
1447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1448 *) ac_try_echo
=$ac_try;;
1450 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1451 $as_echo "$ac_try_echo"; } >&5
1452 (eval "$ac_compile") 2>conftest.err
1454 if test -s conftest.err
; then
1455 grep -v '^ *+' conftest.err
>conftest.er1
1456 cat conftest.er1
>&5
1457 mv -f conftest.er1 conftest.err
1459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1460 test $ac_status = 0; } && {
1461 test -z "$ac_c_werror_flag" ||
1462 test ! -s conftest.err
1463 } && test -s conftest.
$ac_objext; then :
1466 $as_echo "$as_me: failed program was:" >&5
1467 sed 's/^/| /' conftest.
$ac_ext >&5
1471 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1474 } # ac_fn_c_try_compile
1476 # ac_fn_c_try_cpp LINENO
1477 # ----------------------
1478 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1481 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1482 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1485 *) ac_try_echo=$ac_try;;
1487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1488 $as_echo "$ac_try_echo"; } >&5
1489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1491 if test -s conftest.err; then
1492 grep -v '^ *+' conftest.err >conftest.er1
1493 cat conftest.er1 >&5
1494 mv -f conftest.er1 conftest.err
1496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1497 test $ac_status = 0; } >/dev/null && {
1498 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1499 test ! -s conftest.err
1503 $as_echo "$as_me: failed program was:" >&5
1504 sed 's/^/| /' conftest.$ac_ext >&5
1508 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1513 # ac_fn_c_try_run LINENO
1514 # ----------------------
1515 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1516 # that executables *can* be run.
1519 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1520 if { { ac_try="$ac_link"
1522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1523 *) ac_try_echo
=$ac_try;;
1525 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1526 $as_echo "$ac_try_echo"; } >&5
1527 (eval "$ac_link") 2>&5
1529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1530 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1531 { { case "(($ac_try" in
1532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1533 *) ac_try_echo=$ac_try;;
1535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1536 $as_echo "$ac_try_echo"; } >&5
1537 (eval "$ac_try") 2>&5
1539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540 test $ac_status = 0; }; }; then :
1543 $as_echo "$as_me: program exited with status $ac_status" >&5
1544 $as_echo "$as_me: failed program was:" >&5
1545 sed 's/^/| /' conftest.$ac_ext >&5
1547 ac_retval=$ac_status
1549 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1550 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1555 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1556 # --------------------------------------------
1557 # Tries to find the compile-time value of EXPR in a program that includes
1558 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1560 ac_fn_c_compute_int ()
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 if test "$cross_compiling" = yes; then
1564 # Depending upon the size, compute the lo and hi bounds.
1565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1566 /* end confdefs.h. */
1571 static int test_array [1 - 2 * !(($2) >= 0)];
1578 if ac_fn_c_try_compile "$LINENO"; then :
1581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1582 /* end confdefs.h. */
1587 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1594 if ac_fn_c_try_compile "$LINENO"; then :
1595 ac_hi=$ac_mid; break
1597 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1598 if test $ac_lo -le $ac_mid; then
1602 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1608 /* end confdefs.h. */
1613 static int test_array [1 - 2 * !(($2) < 0)];
1620 if ac_fn_c_try_compile "$LINENO"; then :
1623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624 /* end confdefs.h. */
1629 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1636 if ac_fn_c_try_compile "$LINENO"; then :
1637 ac_lo=$ac_mid; break
1639 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1640 if test $ac_mid -le $ac_hi; then
1644 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1654 # Binary search between lo and hi bounds.
1655 while test "x$ac_lo" != "x$ac_hi"; do
1656 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1658 /* end confdefs.h. */
1663 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1670 if ac_fn_c_try_compile "$LINENO"; then :
1673 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1678 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1683 /* end confdefs.h. */
1685 static long int longval () { return $2; }
1686 static unsigned long int ulongval () { return $2; }
1693 FILE *f = fopen ("conftest.val", "w");
1698 long int i = longval ();
1701 fprintf (f, "%ld", i);
1705 unsigned long int i = ulongval ();
1708 fprintf (f, "%lu", i);
1710 /* Do not output a trailing newline, as this causes \r\n confusion
1711 on some platforms. */
1712 return ferror (f) || fclose (f) != 0;
1718 if ac_fn_c_try_run "$LINENO"; then :
1719 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1723 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1724 conftest.$ac_objext conftest.beam conftest.$ac_ext
1728 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 } # ac_fn_c_compute_int
1733 # ac_fn_c_check_header_preproc LINENO HEADER VAR
1734 # ----------------------------------------------
1735 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
1736 ac_fn_c_check_header_preproc ()
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1742 $as_echo_n "(cached) " >&6
1744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745 /* end confdefs.h. */
1748 if ac_fn_c_try_cpp "$LINENO"; then :
1753 rm -f conftest.err conftest.$ac_ext
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757 $as_echo "$ac_res" >&6; }
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 } # ac_fn_c_check_header_preproc
1761 cat >config.log <<_ACEOF
1762 This file contains any messages produced by compilers while
1763 running configure, to aid debugging if configure makes a mistake.
1765 It was created by GNU C Runtime Library $as_me 1.0, which was
1766 generated by GNU Autoconf 2.64. Invocation command line was
1778 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1779 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1780 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1781 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1782 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1784 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1785 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1787 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1788 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1789 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1790 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1791 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1792 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1793 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1801 test -z "$as_dir" && as_dir=.
1802 $as_echo "PATH: $as_dir"
1818 # Keep a trace of the command line.
1819 # Strip out --no-create and --no-recursion so they do not pile up.
1820 # Strip out --silent because we don't want to record it for future runs.
1821 # Also quote any args containing shell meta-characters.
1822 # Make two passes to allow for proper duplicate-argument suppression.
1826 ac_must_keep_next=false
1832 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1833 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1834 | -silent | --silent | --silen | --sile | --sil)
1837 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1840 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1842 as_fn_append ac_configure_args1 " '$ac_arg'"
1843 if test $ac_must_keep_next = true; then
1844 ac_must_keep_next=false # Got value, back to normal.
1847 *=* | --config-cache | -C | -disable-* | --disable-* \
1848 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1849 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1850 | -with-* | --with-* | -without-* | --without-* | --x)
1851 case "$ac_configure_args0 " in
1852 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1855 -* ) ac_must_keep_next=true ;;
1858 as_fn_append ac_configure_args " '$ac_arg'"
1863 { ac_configure_args0=; unset ac_configure_args0;}
1864 { ac_configure_args1=; unset ac_configure_args1;}
1866 # When interrupted or exit'd, cleanup temporary files, and complete
1867 # config.log. We remove comments because anyway the quotes in there
1868 # would cause problems or look ugly.
1869 # WARNING: Use '\'' to represent an apostrophe within the trap.
1870 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1871 trap 'exit_status=$?
1872 # Save into config.log some information that might help in debugging.
1877 ## ---------------- ##
1878 ## Cache variables. ##
1879 ## ---------------- ##
1882 # The following way of writing the cache mishandles newlines in values,
1884 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1885 eval ac_val=\$$ac_var
1889 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1890 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1893 _ | IFS | as_nl) ;; #(
1894 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1895 *) { eval $ac_var=; unset $ac_var;} ;;
1900 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1901 *${as_nl}ac_space=\ *)
1903 "s/'\''/'\''\\\\'\'''\''/g;
1904 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1907 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1915 ## ----------------- ##
1916 ## Output variables. ##
1917 ## ----------------- ##
1920 for ac_var in $ac_subst_vars
1922 eval ac_val=\$$ac_var
1924 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1926 $as_echo "$ac_var='\''$ac_val'\''"
1930 if test -n "$ac_subst_files"; then
1932 ## ------------------- ##
1933 ## File substitutions. ##
1934 ## ------------------- ##
1937 for ac_var in $ac_subst_files
1939 eval ac_val=\$$ac_var
1941 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1943 $as_echo "$ac_var='\''$ac_val'\''"
1948 if test -s confdefs.h; then
1958 test "$ac_signal" != 0 &&
1959 $as_echo "$as_me: caught signal $ac_signal"
1960 $as_echo "$as_me: exit $exit_status"
1962 rm -f core *.core core.conftest.* &&
1963 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1966 for ac_signal in 1 2 13 15; do
1967 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1971 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1972 rm -f -r conftest* confdefs.h
1974 $as_echo "/* confdefs.h */" > confdefs.h
1976 # Predefined preprocessor variables.
1978 cat >>confdefs.h <<_ACEOF
1979 #define PACKAGE_NAME "$PACKAGE_NAME"
1982 cat >>confdefs.h <<_ACEOF
1983 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1986 cat >>confdefs.h <<_ACEOF
1987 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1990 cat >>confdefs.h <<_ACEOF
1991 #define PACKAGE_STRING "$PACKAGE_STRING"
1994 cat >>confdefs.h <<_ACEOF
1995 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1998 cat >>confdefs.h <<_ACEOF
1999 #define PACKAGE_URL "$PACKAGE_URL"
2003 # Let the site file select an alternate cache file if it wants to.
2004 # Prefer an explicitly selected file to automatically selected ones.
2007 if test -n "$CONFIG_SITE"; then
2008 ac_site_file1=$CONFIG_SITE
2009 elif test "x$prefix" != xNONE; then
2010 ac_site_file1=$prefix/share/config.site
2011 ac_site_file2=$prefix/etc/config.site
2013 ac_site_file1=$ac_default_prefix/share/config.site
2014 ac_site_file2=$ac_default_prefix/etc/config.site
2016 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2018 test "x$ac_site_file" = xNONE && continue
2019 if test -r "$ac_site_file"; then
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2021 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2022 sed 's/^/| /' "$ac_site_file" >&5
2027 if test -r "$cache_file"; then
2028 # Some versions of bash will fail to source /dev/null (special
2029 # files actually), so we avoid doing that.
2030 if test -f "$cache_file"; then
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2032 $as_echo "$as_me: loading cache $cache_file" >&6;}
2034 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2035 *) . "./$cache_file";;
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2040 $as_echo "$as_me: creating cache $cache_file" >&6;}
2044 # Check that the precious variables saved in the cache have kept the same
2046 ac_cache_corrupted=false
2047 for ac_var in $ac_precious_vars; do
2048 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2049 eval ac_new_set=\$ac_env_${ac_var}_set
2050 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2051 eval ac_new_val=\$ac_env_${ac_var}_value
2052 case $ac_old_set,$ac_new_set in
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2055 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2056 ac_cache_corrupted=: ;;
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2059 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2060 ac_cache_corrupted=: ;;
2063 if test "x$ac_old_val" != "x$ac_new_val"; then
2064 # differences in whitespace do not lead to failure.
2065 ac_old_val_w=`echo x
$ac_old_val`
2066 ac_new_val_w=`echo x
$ac_new_val`
2067 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2069 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2070 ac_cache_corrupted=:
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2073 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2074 eval $ac_var=\$ac_old_val
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2077 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2079 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2082 # Pass precious variables to config.status.
2083 if test "$ac_new_set" = set; then
2085 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2086 *) ac_arg=$ac_var=$ac_new_val ;;
2088 case " $ac_configure_args " in
2089 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2090 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2094 if $ac_cache_corrupted; then
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2098 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2099 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2101 ## -------------------- ##
2102 ## Main body of script. ##
2103 ## -------------------- ##
2106 ac_cpp='$CPP $CPPFLAGS'
2107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2117 # The libgcc should not depend on any header files
2121 # Check whether --with-target-subdir was given.
2122 if test "${with_target_subdir+set}" = set; then :
2123 withval=$with_target_subdir;
2127 # Check whether --with-cross-host was given.
2128 if test "${with_cross_host+set}" = set; then :
2129 withval=$with_cross_host;
2133 # Check whether --with-ld was given.
2134 if test "${with_ld+set}" = set; then :
2139 if test "${srcdir}" = "."; then
2140 if test -n "${with_build_subdir}"; then
2141 libgcc_topdir="${srcdir}/../.."
2143 elif test -z "${with_target_subdir}"; then
2144 libgcc_topdir="${srcdir}/.."
2146 if test "${with_target_subdir}" != "."; then
2147 libgcc_topdir="${srcdir}/${with_multisrctop}../.."
2149 libgcc_topdir="${srcdir}/${with_multisrctop}.."
2153 libgcc_topdir="${srcdir}/.."
2157 for ac_dir in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
2158 for ac_t in install-sh install.sh shtool; do
2159 if test -f "$ac_dir/$ac_t"; then
2161 ac_install_sh="$ac_aux_dir/$ac_t -c"
2166 if test -z "$ac_aux_dir"; then
2167 as_fn_error "cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
2170 # These three variables are undocumented and unsupported,
2171 # and are intended to be withdrawn in a future Autoconf release.
2172 # They can cause serious problems if a builder's source tree is in a directory
2173 # whose full name contains unusual characters.
2174 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2175 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2176 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2179 ac_config_headers="$ac_config_headers auto-target.h:config.in"
2182 # Check whether --enable-shared was given.
2183 if test "${enable_shared+set}" = set; then :
2184 enableval=$enable_shared;
2185 case $enable_shared in
2189 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2190 for pkg in $enableval; do
2191 if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then
2205 # Check whether --enable-gcov was given.
2206 if test "${enable_gcov+set}" = set; then :
2207 enableval=$enable_gcov;
2214 # Check whether --enable-vtable-verify was given.
2215 if test "${enable_vtable_verify+set}" = set; then :
2216 enableval=$enable_vtable_verify; case "$enableval" in
2217 yes) enable_vtable_verify=yes ;;
2218 no) enable_vtable_verify=no ;;
2219 *) enable_vtable_verify=no;;
2222 enable_vtable_verify=no
2228 # Check whether --with-aix-soname was given.
2229 if test "${with_aix_soname+set}" = set; then :
2230 withval=$with_aix_soname; case "${host}:${enable_shared}" in
2231 power*-*-aix[5-9]*:yes)
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide for shared libgcc" >&5
2233 $as_echo_n "checking which variant of shared library versioning to provide for shared libgcc... " >&6; }
2236 *) as_fn_error "Unknown argument to --with-aix-soname" "$LINENO" 5;;
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
2239 $as_echo "$withval" >&6; }
2241 *) with_aix_soname=aix ;;
2250 # Make sure we can run config.sub.
2251 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2252 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2255 $as_echo_n "checking build system type... " >&6; }
2256 if test "${ac_cv_build+set}" = set; then :
2257 $as_echo_n "(cached) " >&6
2259 ac_build_alias=$build_alias
2260 test "x$ac_build_alias" = x &&
2261 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2262 test "x$ac_build_alias" = x &&
2263 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2264 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2265 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2269 $as_echo "$ac_cv_build" >&6; }
2270 case $ac_cv_build in
2272 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2275 ac_save_IFS=$IFS; IFS='-'
2281 # Remember, the first character of IFS is used to create $*,
2282 # except with old shells:
2285 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2289 $as_echo_n "checking host system type... " >&6; }
2290 if test "${ac_cv_host+set}" = set; then :
2291 $as_echo_n "(cached) " >&6
2293 if test "x$host_alias" = x; then
2294 ac_cv_host=$ac_cv_build
2296 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2297 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2302 $as_echo "$ac_cv_host" >&6; }
2305 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2308 ac_save_IFS=$IFS; IFS='-'
2314 # Remember, the first character of IFS is used to create $*,
2315 # except with old shells:
2318 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2326 # PIC is the default on some targets or must not be used.
2328 # For darwin, common symbols are not allowed in MH_DYLIB files
2330 # If we are using a compiler supporting mdynamic-no-pic
2331 # and the option has been tested as safe to add, then cancel
2332 # it here, since the code generated is incompatible with shared
2334 *-mdynamic-no-pic*) PICFLAG='-fno-common -mno-dynamic-no-pic' ;;
2335 *) PICFLAG=-fno-common ;;
2339 # PIC is the default.
2342 # PIC is the default for 64-bit PA HP-UX.
2344 i[34567]86-*-cygwin* | x86_64-*-cygwin*)
2346 i[34567]86-*-mingw* | x86_64-*-mingw*)
2348 i[34567]86-*-interix[3-9]*)
2349 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2350 # Instead, we relocate shared libraries at runtime.
2352 i[34567]86-*-nto-qnx*)
2353 # QNX uses GNU C++, but need to define -shared option too, otherwise
2355 PICFLAG='-fPIC -shared'
2357 i[34567]86-pc-msdosdjgpp*)
2358 # DJGPP does not support shared libraries at all.
2361 # On IA64 HP-UX, PIC is the default but the pic flag
2362 # sets the default TLS model and affects inlining.
2366 # PIC is the default.
2368 rs6000-ibm-aix* | powerpc-ibm-aix*)
2369 # All AIX code is PIC.
2372 # Some targets support both -fPIC and -fpic, but prefer the latter.
2374 i[34567]86-*-* | x86_64-*-*)
2377 # FIXME: Override -fPIC default in libgcc only?
2378 sh-*-linux* | sh[2346lbe]*-*-linux*)
2381 # FIXME: Simplify to sh*-*-netbsd*?
2382 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
2383 sh64-*-netbsd* | sh64l*-*-netbsd*)
2386 # Default to -fPIC unless specified otherwise.
2392 # If the user explicitly uses -fpic/-fPIC, keep that.
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2405 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2406 # Check whether --enable-version-specific-runtime-libs was given.
2407 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2408 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2409 yes) version_specific_libs=yes ;;
2410 no) version_specific_libs=no ;;
2411 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2414 version_specific_libs=no
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2418 $as_echo "$version_specific_libs" >&6; }
2421 # Check whether --with-slibdir was given.
2422 if test "${with_slibdir+set}" = set; then :
2423 withval=$with_slibdir; slibdir="$with_slibdir"
2425 if test "${version_specific_libs}" = yes; then
2426 slibdir='$(libsubdir)'
2427 elif test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then
2428 slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
2436 # Command-line options.
2437 # Very limited version of AC_MAINTAINER_MODE.
2438 # Check whether --enable-maintainer-mode was given.
2439 if test "${enable_maintainer_mode+set}" = set; then :
2440 enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2443 *) as_fn_error "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2445 maintainer_mode=${enableval}
2451 # Find a good install program. We prefer a C program (faster),
2452 # so one script is as good as another. But avoid the broken or
2453 # incompatible versions:
2454 # SysV /etc/install, /usr/sbin/install
2455 # SunOS /usr/etc/install
2456 # IRIX /sbin/install
2458 # AmigaOS /C/install, which installs bootblocks on floppy discs
2459 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2460 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2461 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2462 # OS/2's system install, which has a completely different semantic
2463 # ./install, which can be erroneously created by make from ./install.sh.
2464 # Reject install programs that cannot install multiple files.
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2466 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2467 if test -z "$INSTALL"; then
2468 if test "${ac_cv_path_install+set}" = set; then :
2469 $as_echo_n "(cached) " >&6
2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2475 test -z "$as_dir" && as_dir=.
2476 # Account for people who put trailing slashes in PATH elements.
2477 case $as_dir/ in #((
2478 ./ | .// | /[cC]/* | \
2479 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2480 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2483 # OSF1 and SCO ODT 3.0 have their own names for install.
2484 # Don't use installbsd from OSF since it installs stuff as root
2486 for ac_prog in ginstall scoinst install; do
2487 for ac_exec_ext in '' $ac_executable_extensions; do
2488 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2489 if test $ac_prog = install &&
2490 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2491 # AIX install. It has an incompatible calling convention.
2493 elif test $ac_prog = install &&
2494 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2495 # program-specific install script used by HP pwplus--don't use.
2498 rm -rf conftest.one conftest.two conftest.dir
2499 echo one > conftest.one
2500 echo two > conftest.two
2502 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2503 test -s conftest.one && test -s conftest.two &&
2504 test -s conftest.dir/conftest.one &&
2505 test -s conftest.dir/conftest.two
2507 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2520 rm -rf conftest.one conftest.two conftest.dir
2523 if test "${ac_cv_path_install+set}" = set; then
2524 INSTALL=$ac_cv_path_install
2526 # As a last resort, use the slow shell script. Don't cache a
2527 # value for INSTALL within a source directory, because that will
2528 # break other packages using the cache if that directory is
2529 # removed, or if the value is a relative name.
2530 INSTALL=$ac_install_sh
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2534 $as_echo "$INSTALL" >&6; }
2536 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2537 # It thinks the first close brace ends the variable substitution.
2538 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2540 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2542 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2545 for ac_prog in gawk mawk nawk awk
2547 # Extract the first word of "$ac_prog", so it can be a program name with args.
2548 set dummy $ac_prog; ac_word=$2
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if test "${ac_cv_prog_AWK+set}" = set; then :
2552 $as_echo_n "(cached) " >&6
2554 if test -n "$AWK"; then
2555 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir=.
2562 for ac_exec_ext in '' $ac_executable_extensions; do
2563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564 ac_cv_prog_AWK="$ac_prog"
2565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2575 if test -n "$AWK"; then
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2577 $as_echo "$AWK" >&6; }
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580 $as_echo "no" >&6; }
2584 test -n "$AWK" && break
2587 # We need awk; bail out if it's missing.
2589 "") as_fn_error "can't build without awk, bailing out" "$LINENO" 5 ;;
2593 case ${build_alias} in
2594 "") build_noncanonical=${build} ;;
2595 *) build_noncanonical=${build_alias} ;;
2598 case ${host_alias} in
2599 "") host_noncanonical=${build_noncanonical} ;;
2600 *) host_noncanonical=${host_alias} ;;
2605 case ${target_alias} in
2606 "") target_noncanonical=${host_noncanonical} ;;
2607 *) target_noncanonical=${target_alias} ;;
2613 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2614 # have matching libraries, they should use host libraries: Makefile.tpl
2615 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2616 # However, they still use the build modules, because the corresponding
2617 # host modules (e.g. bison) are only built for the host when bootstrap
2619 # - build_subdir is where we find build modules, and never changes.
2620 # - build_libsubdir is where we find build libraries, and can be overridden.
2622 # Prefix 'build-' so this never conflicts with target_subdir.
2623 build_subdir="build-${build_noncanonical}"
2625 # Check whether --with-build-libsubdir was given.
2626 if test "${with_build_libsubdir+set}" = set; then :
2627 withval=$with_build_libsubdir; build_libsubdir="$withval"
2629 build_libsubdir="$build_subdir"
2632 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2633 if ( test $srcdir = . && test -d gcc ) \
2634 || test -d $srcdir/../host-${host_noncanonical}; then
2635 host_subdir="host-${host_noncanonical}"
2640 target_subdir=${target_noncanonical}
2643 # Calculate toolexeclibdir
2644 # Also toolexecdir, though it's only used in toolexeclibdir
2645 case ${version_specific_libs} in
2647 # Need the gcc compiler version to know where to install libraries
2648 # and header files if --enable-version-specific-runtime-libs option
2650 toolexecdir='$(libdir)/gcc/$(target_noncanonical)'
2651 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2654 if test -n "$with_cross_host" &&
2655 test x"$with_cross_host" != x"no"; then
2656 # Install a library built with a cross compiler in tooldir, not libdir.
2657 toolexecdir='$(exec_prefix)/$(target_noncanonical)'
2658 toolexeclibdir='$(toolexecdir)/lib'
2660 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
2661 toolexeclibdir='$(libdir)'
2663 multi_os_directory=`$CC -print-multi-os-directory`
2664 case $multi_os_directory in
2665 .) ;; # Avoid trailing /.
2666 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2673 if test -n "$ac_tool_prefix"; then
2674 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2675 set dummy ${ac_tool_prefix}ar; ac_word=$2
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2677 $as_echo_n "checking for $ac_word... " >&6; }
2678 if test "${ac_cv_prog_AR+set}" = set; then :
2679 $as_echo_n "(cached) " >&6
2681 if test -n "$AR"; then
2682 ac_cv_prog_AR="$AR" # Let the user override the test.
2684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir=.
2689 for ac_exec_ext in '' $ac_executable_extensions; do
2690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2691 ac_cv_prog_AR="${ac_tool_prefix}ar"
2692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 if test -n "$AR"; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2704 $as_echo "$AR" >&6; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2712 if test -z "$ac_cv_prog_AR"; then
2714 # Extract the first word of "ar", so it can be a program name with args.
2715 set dummy ar; ac_word=$2
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2717 $as_echo_n "checking for $ac_word... " >&6; }
2718 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2719 $as_echo_n "(cached) " >&6
2721 if test -n "$ac_ct_AR"; then
2722 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2728 test -z "$as_dir" && as_dir=.
2729 for ac_exec_ext in '' $ac_executable_extensions; do
2730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2731 ac_cv_prog_ac_ct_AR="ar"
2732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2741 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2742 if test -n "$ac_ct_AR"; then
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2744 $as_echo "$ac_ct_AR" >&6; }
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2747 $as_echo "no" >&6; }
2750 if test "x$ac_ct_AR" = x; then
2753 case $cross_compiling:$ac_tool_warned in
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2757 ac_tool_warned=yes ;;
2765 if test -n "$ac_tool_prefix"; then
2766 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2767 set dummy ${ac_tool_prefix}lipo; ac_word=$2
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2769 $as_echo_n "checking for $ac_word... " >&6; }
2770 if test "${ac_cv_prog_LIPO+set}" = set; then :
2771 $as_echo_n "(cached) " >&6
2773 if test -n "$LIPO"; then
2774 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
2776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780 test -z "$as_dir" && as_dir=.
2781 for ac_exec_ext in '' $ac_executable_extensions; do
2782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2783 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
2784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2793 LIPO=$ac_cv_prog_LIPO
2794 if test -n "$LIPO"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2796 $as_echo "$LIPO" >&6; }
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2799 $as_echo "no" >&6; }
2804 if test -z "$ac_cv_prog_LIPO"; then
2806 # Extract the first word of "lipo", so it can be a program name with args.
2807 set dummy lipo; ac_word=$2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
2811 $as_echo_n "(cached) " >&6
2813 if test -n "$ac_ct_LIPO"; then
2814 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir=.
2821 for ac_exec_ext in '' $ac_executable_extensions; do
2822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2823 ac_cv_prog_ac_ct_LIPO="lipo"
2824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
2834 if test -n "$ac_ct_LIPO"; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2836 $as_echo "$ac_ct_LIPO" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2842 if test "x$ac_ct_LIPO" = x; then
2845 case $cross_compiling:$ac_tool_warned in
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2849 ac_tool_warned=yes ;;
2854 LIPO="$ac_cv_prog_LIPO"
2857 if test -n "$ac_tool_prefix"; then
2858 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2859 set dummy ${ac_tool_prefix}nm; ac_word=$2
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2861 $as_echo_n "checking for $ac_word... " >&6; }
2862 if test "${ac_cv_prog_NM+set}" = set; then :
2863 $as_echo_n "(cached) " >&6
2865 if test -n "$NM"; then
2866 ac_cv_prog_NM="$NM" # Let the user override the test.
2868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2872 test -z "$as_dir" && as_dir=.
2873 for ac_exec_ext in '' $ac_executable_extensions; do
2874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2875 ac_cv_prog_NM="${ac_tool_prefix}nm"
2876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2886 if test -n "$NM"; then
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2888 $as_echo "$NM" >&6; }
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2891 $as_echo "no" >&6; }
2896 if test -z "$ac_cv_prog_NM"; then
2898 # Extract the first word of "nm", so it can be a program name with args.
2899 set dummy nm; ac_word=$2
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2901 $as_echo_n "checking for $ac_word... " >&6; }
2902 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
2903 $as_echo_n "(cached) " >&6
2905 if test -n "$ac_ct_NM"; then
2906 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 test -z "$as_dir" && as_dir=.
2913 for ac_exec_ext in '' $ac_executable_extensions; do
2914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2915 ac_cv_prog_ac_ct_NM="nm"
2916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2925 ac_ct_NM=$ac_cv_prog_ac_ct_NM
2926 if test -n "$ac_ct_NM"; then
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
2928 $as_echo "$ac_ct_NM" >&6; }
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2931 $as_echo "no" >&6; }
2934 if test "x$ac_ct_NM" = x; then
2937 case $cross_compiling:$ac_tool_warned in
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2941 ac_tool_warned=yes ;;
2949 if test -n "$ac_tool_prefix"; then
2950 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2951 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2953 $as_echo_n "checking for $ac_word... " >&6; }
2954 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2955 $as_echo_n "(cached) " >&6
2957 if test -n "$RANLIB"; then
2958 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964 test -z "$as_dir" && as_dir=.
2965 for ac_exec_ext in '' $ac_executable_extensions; do
2966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2967 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2977 RANLIB=$ac_cv_prog_RANLIB
2978 if test -n "$RANLIB"; then
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2980 $as_echo "$RANLIB" >&6; }
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983 $as_echo "no" >&6; }
2988 if test -z "$ac_cv_prog_RANLIB"; then
2989 ac_ct_RANLIB=$RANLIB
2990 # Extract the first word of "ranlib", so it can be a program name with args.
2991 set dummy ranlib; ac_word=$2
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2993 $as_echo_n "checking for $ac_word... " >&6; }
2994 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2995 $as_echo_n "(cached) " >&6
2997 if test -n "$ac_ct_RANLIB"; then
2998 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004 test -z "$as_dir" && as_dir=.
3005 for ac_exec_ext in '' $ac_executable_extensions; do
3006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007 ac_cv_prog_ac_ct_RANLIB="ranlib"
3008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3017 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3018 if test -n "$ac_ct_RANLIB"; then
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3020 $as_echo "$ac_ct_RANLIB" >&6; }
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3023 $as_echo "no" >&6; }
3026 if test "x$ac_ct_RANLIB" = x; then
3029 case $cross_compiling:$ac_tool_warned in
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3033 ac_tool_warned=yes ;;
3035 RANLIB=$ac_ct_RANLIB
3038 RANLIB="$ac_cv_prog_RANLIB"
3041 if test -n "$ac_tool_prefix"; then
3042 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3043 set dummy ${ac_tool_prefix}strip; ac_word=$2
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3045 $as_echo_n "checking for $ac_word... " >&6; }
3046 if test "${ac_cv_prog_STRIP+set}" = set; then :
3047 $as_echo_n "(cached) " >&6
3049 if test -n "$STRIP"; then
3050 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056 test -z "$as_dir" && as_dir=.
3057 for ac_exec_ext in '' $ac_executable_extensions; do
3058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3059 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 STRIP=$ac_cv_prog_STRIP
3070 if test -n "$STRIP"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3072 $as_echo "$STRIP" >&6; }
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075 $as_echo "no" >&6; }
3080 if test -z "$ac_cv_prog_STRIP"; then
3082 # Extract the first word of "strip", so it can be a program name with args.
3083 set dummy strip; ac_word=$2
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085 $as_echo_n "checking for $ac_word... " >&6; }
3086 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3087 $as_echo_n "(cached) " >&6
3089 if test -n "$ac_ct_STRIP"; then
3090 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 test -z "$as_dir" && as_dir=.
3097 for ac_exec_ext in '' $ac_executable_extensions; do
3098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3099 ac_cv_prog_ac_ct_STRIP="strip"
3100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3110 if test -n "$ac_ct_STRIP"; then
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3112 $as_echo "$ac_ct_STRIP" >&6; }
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115 $as_echo "no" >&6; }
3118 if test "x$ac_ct_STRIP" = x; then
3121 case $cross_compiling:$ac_tool_warned in
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3125 ac_tool_warned=yes ;;
3130 STRIP="$ac_cv_prog_STRIP"
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3134 $as_echo_n "checking whether ln -s works... " >&6; }
3136 if test "$LN_S" = "ln -s"; then
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3138 $as_echo "yes" >&6; }
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3141 $as_echo "no, using $LN_S" >&6; }
3147 ac_cpp='$CPP $CPPFLAGS'
3148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3151 if test -n "$ac_tool_prefix"; then
3152 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3153 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155 $as_echo_n "checking for $ac_word... " >&6; }
3156 if test "${ac_cv_prog_CC+set}" = set; then :
3157 $as_echo_n "(cached) " >&6
3159 if test -n "$CC"; then
3160 ac_cv_prog_CC="$CC" # Let the user override the test.
3162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3166 test -z "$as_dir" && as_dir=.
3167 for ac_exec_ext in '' $ac_executable_extensions; do
3168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3169 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3180 if test -n "$CC"; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3182 $as_echo "$CC" >&6; }
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185 $as_echo "no" >&6; }
3190 if test -z "$ac_cv_prog_CC"; then
3192 # Extract the first word of "gcc", so it can be a program name with args.
3193 set dummy gcc; ac_word=$2
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195 $as_echo_n "checking for $ac_word... " >&6; }
3196 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3197 $as_echo_n "(cached) " >&6
3199 if test -n "$ac_ct_CC"; then
3200 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206 test -z "$as_dir" && as_dir=.
3207 for ac_exec_ext in '' $ac_executable_extensions; do
3208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209 ac_cv_prog_ac_ct_CC="gcc"
3210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3219 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3220 if test -n "$ac_ct_CC"; then
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3222 $as_echo "$ac_ct_CC" >&6; }
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225 $as_echo "no" >&6; }
3228 if test "x$ac_ct_CC" = x; then
3231 case $cross_compiling:$ac_tool_warned in
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3235 ac_tool_warned=yes ;;
3243 if test -z "$CC"; then
3244 if test -n "$ac_tool_prefix"; then
3245 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3246 set dummy ${ac_tool_prefix}cc; ac_word=$2
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3248 $as_echo_n "checking for $ac_word... " >&6; }
3249 if test "${ac_cv_prog_CC+set}" = set; then :
3250 $as_echo_n "(cached) " >&6
3252 if test -n "$CC"; then
3253 ac_cv_prog_CC="$CC" # Let the user override the test.
3255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259 test -z "$as_dir" && as_dir=.
3260 for ac_exec_ext in '' $ac_executable_extensions; do
3261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3262 ac_cv_prog_CC="${ac_tool_prefix}cc"
3263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3273 if test -n "$CC"; then
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3275 $as_echo "$CC" >&6; }
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278 $as_echo "no" >&6; }
3284 if test -z "$CC"; then
3285 # Extract the first word of "cc", so it can be a program name with args.
3286 set dummy cc; ac_word=$2
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288 $as_echo_n "checking for $ac_word... " >&6; }
3289 if test "${ac_cv_prog_CC+set}" = set; then :
3290 $as_echo_n "(cached) " >&6
3292 if test -n "$CC"; then
3293 ac_cv_prog_CC="$CC" # Let the user override the test.
3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300 test -z "$as_dir" && as_dir=.
3301 for ac_exec_ext in '' $ac_executable_extensions; do
3302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3303 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3304 ac_prog_rejected=yes
3308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3315 if test $ac_prog_rejected = yes; then
3316 # We found a bogon in the path, so make sure we never use it.
3317 set dummy $ac_cv_prog_CC
3319 if test $# != 0; then
3320 # We chose a different compiler from the bogus one.
3321 # However, it has the same basename, so the bogon will be chosen
3322 # first if we set CC to just the basename; use the full file name.
3324 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3330 if test -n "$CC"; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3332 $as_echo "$CC" >&6; }
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3335 $as_echo "no" >&6; }
3340 if test -z "$CC"; then
3341 if test -n "$ac_tool_prefix"; then
3342 for ac_prog in cl.exe
3344 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3345 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347 $as_echo_n "checking for $ac_word... " >&6; }
3348 if test "${ac_cv_prog_CC+set}" = set; then :
3349 $as_echo_n "(cached) " >&6
3351 if test -n "$CC"; then
3352 ac_cv_prog_CC="$CC" # Let the user override the test.
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3372 if test -n "$CC"; then
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3374 $as_echo "$CC" >&6; }
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3381 test -n "$CC" && break
3384 if test -z "$CC"; then
3386 for ac_prog in cl.exe
3388 # Extract the first word of "$ac_prog", so it can be a program name with args.
3389 set dummy $ac_prog; ac_word=$2
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3391 $as_echo_n "checking for $ac_word... " >&6; }
3392 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3393 $as_echo_n "(cached) " >&6
3395 if test -n "$ac_ct_CC"; then
3396 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3402 test -z "$as_dir" && as_dir=.
3403 for ac_exec_ext in '' $ac_executable_extensions; do
3404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3405 ac_cv_prog_ac_ct_CC="$ac_prog"
3406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3415 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3416 if test -n "$ac_ct_CC"; then
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3418 $as_echo "$ac_ct_CC" >&6; }
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3421 $as_echo "no" >&6; }
3425 test -n "$ac_ct_CC" && break
3428 if test "x$ac_ct_CC" = x; then
3431 case $cross_compiling:$ac_tool_warned in
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3435 ac_tool_warned=yes ;;
3444 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3446 as_fn_error "no acceptable C compiler found
in \
$PATH
3447 See \
`config.log' for more details." "$LINENO" 5; }
3449 # Provide some information about the compiler.
3450 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3453 for ac_option in --version -v -V -qversion; do
3454 { { ac_try="$ac_compiler $ac_option >&5"
3456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3457 *) ac_try_echo
=$ac_try;;
3459 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3460 $as_echo "$ac_try_echo"; } >&5
3461 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3463 if test -s conftest.err
; then
3465 ... rest of stderr output deleted ...
3466 10q' conftest.err
>conftest.er1
3467 cat conftest.er1
>&5
3468 rm -f conftest.er1 conftest.err
3470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3471 test $ac_status = 0; }
3474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3475 /* end confdefs.h. */
3486 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3487 (eval $ac_link) 2>&5
3489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3490 test $ac_status = 0; }; then :
3495 if test x
$gcc_no_link = xyes
; then
3496 # Setting cross_compile will disable run tests; it will
3497 # also disable AC_CHECK_FILE but that's generally
3498 # correct if we can't link.
3502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3503 /* end confdefs.h. */
3513 ac_clean_files_save
=$ac_clean_files
3514 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3515 # Try to create an executable without -o first, disregard a.out.
3516 # It will help us diagnose broken compilers, and finding out an intuition
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3519 $as_echo_n "checking for C compiler default output file name... " >&6; }
3520 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3522 # The possible output files:
3523 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3526 for ac_file
in $ac_files
3529 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3530 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3535 if { { ac_try
="$ac_link_default"
3537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3538 *) ac_try_echo=$ac_try;;
3540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3541 $as_echo "$ac_try_echo"; } >&5
3542 (eval "$ac_link_default") 2>&5
3544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3545 test $ac_status = 0; }; then :
3546 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3547 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3548 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3549 # so that the user can short-circuit this test for compilers unknown to
3551 for ac_file in $ac_files ''
3553 test -f "$ac_file" || continue
3555 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3558 # We found the default executable, but exeext='' is most
3562 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3564 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3566 # We set ac_cv_exeext here because the later test for it is not
3567 # safe: cross compilers may not add the suffix if given an `-o'
3568 # argument, so we may need to know it at that point already.
3569 # Even if this section looks crufty: it has the advantage of
3576 test "$ac_cv_exeext" = no && ac_cv_exeext=
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3582 $as_echo "$ac_file" >&6; }
3583 if test -z "$ac_file"; then :
3584 $as_echo "$as_me: failed program was:" >&5
3585 sed 's
/^
/|
/' conftest.$ac_ext >&5
3587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3588 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3589 { as_fn_set_status 77
3590 as_fn_error "C compiler cannot create executables
3591 See \`config.log
' for more details." "$LINENO" 5; }; }
3593 ac_exeext=$ac_cv_exeext
3595 # Check that the compiler produces executables we can run. If not, either
3596 # the compiler is broken, or we cross compile.
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3598 $as_echo_n "checking whether the C compiler works... " >&6; }
3599 # If not cross compiling, check that we can run a simple program.
3600 if test "$cross_compiling" != yes; then
3601 if { ac_try='.
/$ac_file'
3602 { { case "(($ac_try" in
3603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3604 *) ac_try_echo=$ac_try;;
3606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3607 $as_echo "$ac_try_echo"; } >&5
3608 (eval "$ac_try") 2>&5
3610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3611 test $ac_status = 0; }; }; then
3614 if test "$cross_compiling" = maybe; then
3617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3618 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3619 as_fn_error "cannot run C compiled programs.
3620 If you meant to cross compile, use \`--host'.
3621 See \`config.log' for more details.
" "$LINENO" 5; }
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3626 $as_echo "yes" >&6; }
3628 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3629 ac_clean_files=$ac_clean_files_save
3630 # Check that the compiler produces executables we can run. If not, either
3631 # the compiler is broken, or we cross compile.
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3633 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3635 $as_echo "$cross_compiling" >&6; }
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3638 $as_echo_n "checking
for suffix of executables...
" >&6; }
3639 if { { ac_try="$ac_link"
3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3644 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3645 $as_echo "$ac_try_echo"; } >&5
3646 (eval "$ac_link") 2>&5
3648 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3649 test $ac_status = 0; }; then :
3650 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3651 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3652 # work properly (i.e., refer to `conftest.exe'), while it won't with
3654 for ac_file in conftest.exe conftest conftest.*; do
3655 test -f "$ac_file" || continue
3657 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3658 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3664 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3666 as_fn_error "cannot compute suffix of executables: cannot compile and link
3667 See \`config.log' for more details.
" "$LINENO" 5; }
3669 rm -f conftest$ac_cv_exeext
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3671 $as_echo "$ac_cv_exeext" >&6; }
3673 rm -f conftest.$ac_ext
3674 EXEEXT=$ac_cv_exeext
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3678 $as_echo_n "checking
for suffix of object files...
" >&6; }
3679 if test "${ac_cv_objext+set}" = set; then :
3680 $as_echo_n "(cached
) " >&6
3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3683 /* end confdefs.h. */
3693 rm -f conftest.o conftest.obj
3694 if { { ac_try="$ac_compile"
3696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3697 *) ac_try_echo=$ac_try;;
3699 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3700 $as_echo "$ac_try_echo"; } >&5
3701 (eval "$ac_compile") 2>&5
3703 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3704 test $ac_status = 0; }; then :
3705 for ac_file in conftest.o conftest.obj conftest.*; do
3706 test -f "$ac_file" || continue;
3708 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3709 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3714 $as_echo "$as_me: failed program was
:" >&5
3715 sed 's/^/| /' conftest.$ac_ext >&5
3717 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3719 as_fn_error "cannot compute suffix of object files: cannot compile
3720 See \`config.log' for more details.
" "$LINENO" 5; }
3722 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3725 $as_echo "$ac_cv_objext" >&6; }
3726 OBJEXT=$ac_cv_objext
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3729 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3730 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3731 $as_echo_n "(cached
) " >&6
3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734 /* end confdefs.h. */
3747 if ac_fn_c_try_compile "$LINENO"; then :
3752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3753 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3757 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3758 if test $ac_compiler_gnu = yes; then
3763 ac_test_CFLAGS=${CFLAGS+set}
3764 ac_save_CFLAGS=$CFLAGS
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3766 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3767 if test "${ac_cv_prog_cc_g+set}" = set; then :
3768 $as_echo_n "(cached
) " >&6
3770 ac_save_c_werror_flag=$ac_c_werror_flag
3771 ac_c_werror_flag=yes
3774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775 /* end confdefs.h. */
3785 if ac_fn_c_try_compile "$LINENO"; then :
3789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3790 /* end confdefs.h. */
3800 if ac_fn_c_try_compile "$LINENO"; then :
3803 ac_c_werror_flag=$ac_save_c_werror_flag
3805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3806 /* end confdefs.h. */
3816 if ac_fn_c_try_compile "$LINENO"; then :
3819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3824 ac_c_werror_flag=$ac_save_c_werror_flag
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3827 $as_echo "$ac_cv_prog_cc_g" >&6; }
3828 if test "$ac_test_CFLAGS" = set; then
3829 CFLAGS=$ac_save_CFLAGS
3830 elif test $ac_cv_prog_cc_g = yes; then
3831 if test "$GCC" = yes; then
3837 if test "$GCC" = yes; then
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3844 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3845 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3846 $as_echo_n "(cached
) " >&6
3848 ac_cv_prog_cc_c89=no
3850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3851 /* end confdefs.h. */
3854 #include <sys/types.h>
3855 #include <sys/stat.h>
3856 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3857 struct buf { int x; };
3858 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3859 static char *e (p, i)
3865 static char *f (char * (*g) (char **, int), char **p, ...)
3870 s = g (p, va_arg (v,int));
3875 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3876 function prototypes and stuff, but not '\xHH' hex character constants.
3877 These don't provoke an error unfortunately, instead are silently treated
3878 as 'x'. The following induces an error, until -std is added to get
3879 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3880 array size at least. It's necessary to write '\x00'==0 to get something
3881 that's true only with -std. */
3882 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3884 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3885 inside strings and character constants. */
3887 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3889 int test (int i, double x);
3890 struct s1 {int (*f) (int a);};
3891 struct s2 {int (*f) (double a);};
3892 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3898 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3903 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3904 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3906 CC="$ac_save_CC $ac_arg"
3907 if ac_fn_c_try_compile "$LINENO"; then :
3908 ac_cv_prog_cc_c89=$ac_arg
3910 rm -f core conftest.err conftest.$ac_objext
3911 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3913 rm -f conftest.$ac_ext
3918 case "x
$ac_cv_prog_cc_c89" in
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3921 $as_echo "none needed
" >&6; } ;;
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3924 $as_echo "unsupported
" >&6; } ;;
3926 CC="$CC $ac_cv_prog_cc_c89"
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3928 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3930 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3935 ac_cpp='$CPP $CPPFLAGS'
3936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941 ac_cpp='$CPP $CPPFLAGS'
3942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3946 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3947 # On Suns, sometimes $CPP names a directory.
3948 if test -n "$CPP" && test -d "$CPP"; then
3951 if test -z "$CPP"; then
3952 if test "${ac_cv_prog_CPP+set}" = set; then :
3953 $as_echo_n "(cached
) " >&6
3955 # Double quotes because CPP needs to be expanded
3956 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3959 for ac_c_preproc_warn_flag in '' yes
3961 # Use a header file that comes with gcc, so configuring glibc
3962 # with a fresh cross-compiler works.
3963 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3964 # <limits.h> exists even on freestanding compilers.
3965 # On the NeXT, cc -E runs the code through the compiler's parser,
3966 # not just through cpp. "Syntax error
" is here to catch this case.
3967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3970 # include <limits.h>
3972 # include <assert.h>
3976 if ac_fn_c_try_cpp "$LINENO"; then :
3979 # Broken: fails on valid input.
3982 rm -f conftest.err conftest.$ac_ext
3984 # OK, works on sane cases. Now check whether nonexistent headers
3985 # can be detected and how.
3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
3988 #include <ac_nonexistent.h>
3990 if ac_fn_c_try_cpp "$LINENO"; then :
3991 # Broken: success on invalid input.
3994 # Passes both tests.
3998 rm -f conftest.err conftest.$ac_ext
4001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4002 rm -f conftest.err conftest.$ac_ext
4003 if $ac_preproc_ok; then :
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
4016 $as_echo "$CPP" >&6; }
4018 for ac_c_preproc_warn_flag in '' yes
4020 # Use a header file that comes with gcc, so configuring glibc
4021 # with a fresh cross-compiler works.
4022 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4023 # <limits.h> exists even on freestanding compilers.
4024 # On the NeXT, cc -E runs the code through the compiler's parser,
4025 # not just through cpp. "Syntax error
" is here to catch this case.
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4029 # include <limits.h>
4031 # include <assert.h>
4035 if ac_fn_c_try_cpp "$LINENO"; then :
4038 # Broken: fails on valid input.
4041 rm -f conftest.err conftest.$ac_ext
4043 # OK, works on sane cases. Now check whether nonexistent headers
4044 # can be detected and how.
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4047 #include <ac_nonexistent.h>
4049 if ac_fn_c_try_cpp "$LINENO"; then :
4050 # Broken: success on invalid input.
4053 # Passes both tests.
4057 rm -f conftest.err conftest.$ac_ext
4060 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4061 rm -f conftest.err conftest.$ac_ext
4062 if $ac_preproc_ok; then :
4065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
4066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4067 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4068 See \`config.log' for more details.
" "$LINENO" 5; }
4072 ac_cpp='$CPP $CPPFLAGS'
4073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4078 ac_c_preproc_warn_flag=yes
4081 # Check whether --enable-largefile was given.
4082 if test "${enable_largefile+set}" = set; then :
4083 enableval=$enable_largefile;
4086 if test "$enable_largefile" != no; then
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for special C compiler options needed
for large files
" >&5
4089 $as_echo_n "checking
for special C compiler options needed
for large files...
" >&6; }
4090 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4091 $as_echo_n "(cached
) " >&6
4093 ac_cv_sys_largefile_CC=no
4094 if test "$GCC" != yes; then
4097 # IRIX 6.2 and later do not support large files by default,
4098 # so use the C compiler's -n32 option if that helps.
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4101 #include <sys/types.h>
4102 /* Check that off_t can represent 2**63 - 1 correctly.
4103 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4104 since some C++ compilers masquerading as C compilers
4105 incorrectly reject 9223372036854775807. */
4106 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4107 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4108 && LARGE_OFF_T % 2147483647 == 1)
4118 if ac_fn_c_try_compile "$LINENO"; then :
4121 rm -f core conftest.err conftest.$ac_objext
4123 if ac_fn_c_try_compile "$LINENO"; then :
4124 ac_cv_sys_largefile_CC=' -n32'; break
4126 rm -f core conftest.err conftest.$ac_objext
4130 rm -f conftest.$ac_ext
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_sys_largefile_CC" >&5
4134 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4135 if test "$ac_cv_sys_largefile_CC" != no; then
4136 CC=$CC$ac_cv_sys_largefile_CC
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for _FILE_OFFSET_BITS value needed
for large files
" >&5
4140 $as_echo_n "checking
for _FILE_OFFSET_BITS value needed
for large files...
" >&6; }
4141 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
4142 $as_echo_n "(cached
) " >&6
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4147 #include <sys/types.h>
4148 /* Check that off_t can represent 2**63 - 1 correctly.
4149 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4150 since some C++ compilers masquerading as C compilers
4151 incorrectly reject 9223372036854775807. */
4152 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4153 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4154 && LARGE_OFF_T % 2147483647 == 1)
4164 if ac_fn_c_try_compile "$LINENO"; then :
4165 ac_cv_sys_file_offset_bits=no; break
4167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4170 #define _FILE_OFFSET_BITS 64
4171 #include <sys/types.h>
4172 /* Check that off_t can represent 2**63 - 1 correctly.
4173 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4174 since some C++ compilers masquerading as C compilers
4175 incorrectly reject 9223372036854775807. */
4176 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4177 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4178 && LARGE_OFF_T % 2147483647 == 1)
4188 if ac_fn_c_try_compile "$LINENO"; then :
4189 ac_cv_sys_file_offset_bits=64; break
4191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4192 ac_cv_sys_file_offset_bits=unknown
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_sys_file_offset_bits" >&5
4197 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4198 case $ac_cv_sys_file_offset_bits in #(
4201 cat >>confdefs.h <<_ACEOF
4202 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4207 if test $ac_cv_sys_file_offset_bits = unknown; then
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for _LARGE_FILES value needed
for large files
" >&5
4209 $as_echo_n "checking
for _LARGE_FILES value needed
for large files...
" >&6; }
4210 if test "${ac_cv_sys_large_files+set}" = set; then :
4211 $as_echo_n "(cached
) " >&6
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4216 #include <sys/types.h>
4217 /* Check that off_t can represent 2**63 - 1 correctly.
4218 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4219 since some C++ compilers masquerading as C compilers
4220 incorrectly reject 9223372036854775807. */
4221 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4222 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4223 && LARGE_OFF_T % 2147483647 == 1)
4233 if ac_fn_c_try_compile "$LINENO"; then :
4234 ac_cv_sys_large_files=no; break
4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4239 #define _LARGE_FILES 1
4240 #include <sys/types.h>
4241 /* Check that off_t can represent 2**63 - 1 correctly.
4242 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4243 since some C++ compilers masquerading as C compilers
4244 incorrectly reject 9223372036854775807. */
4245 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4246 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4247 && LARGE_OFF_T % 2147483647 == 1)
4257 if ac_fn_c_try_compile "$LINENO"; then :
4258 ac_cv_sys_large_files=1; break
4260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4261 ac_cv_sys_large_files=unknown
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_sys_large_files" >&5
4266 $as_echo "$ac_cv_sys_large_files" >&6; }
4267 case $ac_cv_sys_large_files in #(
4270 cat >>confdefs.h <<_ACEOF
4271 #define _LARGE_FILES $ac_cv_sys_large_files
4281 # The cast to long int works around a bug in the HP C Compiler
4282 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4283 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4284 # This bug is HP SR number 8606223364.
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double
" >&5
4286 $as_echo_n "checking size of double...
" >&6; }
4287 if test "${ac_cv_sizeof_double+set}" = set; then :
4288 $as_echo_n "(cached
) " >&6
4290 if ac_fn_c_compute_int "$LINENO" "(long int
) (sizeof
(double
))" "ac_cv_sizeof_double
" "$ac_includes_default"; then :
4293 if test "$ac_cv_type_double" = yes; then
4294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
4295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4296 { as_fn_set_status 77
4297 as_fn_error "cannot compute sizeof (double)
4298 See \`config.log' for more details.
" "$LINENO" 5; }; }
4300 ac_cv_sizeof_double=0
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_sizeof_double" >&5
4306 $as_echo "$ac_cv_sizeof_double" >&6; }
4310 cat >>confdefs.h <<_ACEOF
4311 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
4315 # The cast to long int works around a bug in the HP C Compiler
4316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4318 # This bug is HP SR number 8606223364.
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double
" >&5
4320 $as_echo_n "checking size of long double...
" >&6; }
4321 if test "${ac_cv_sizeof_long_double+set}" = set; then :
4322 $as_echo_n "(cached
) " >&6
4324 if ac_fn_c_compute_int "$LINENO" "(long int
) (sizeof
(long double
))" "ac_cv_sizeof_long_double
" "$ac_includes_default"; then :
4327 if test "$ac_cv_type_long_double" = yes; then
4328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
4329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4330 { as_fn_set_status 77
4331 as_fn_error "cannot compute sizeof (long double)
4332 See \`config.log' for more details.
" "$LINENO" 5; }; }
4334 ac_cv_sizeof_long_double=0
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_sizeof_long_double" >&5
4340 $as_echo "$ac_cv_sizeof_long_double" >&6; }
4344 cat >>confdefs.h <<_ACEOF
4345 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
4349 as_fn_arith $ac_cv_sizeof_double \* 8 && double_type_size=$as_val
4350 as_fn_arith $ac_cv_sizeof_long_double \* 8 && long_double_type_size=$as_val
4355 for ac_header in inttypes.h stdint.h stdlib.h ftw.h \
4356 unistd.h sys/stat.h sys/types.h \
4357 string.h strings.h memory.h
4359 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
4360 ac_fn_c_check_header_preproc "$LINENO" "$ac_header" "$as_ac_Header"
4361 eval as_val=\$$as_ac_Header
4362 if test "x
$as_val" = x""yes; then :
4363 cat >>confdefs.h <<_ACEOF
4364 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4371 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4372 if test "${ac_cv_path_GREP+set}" = set; then :
4373 $as_echo_n "(cached
) " >&6
4375 if test -z "$GREP"; then
4376 ac_path_GREP_found=false
4377 # Loop through the user's path and test for each of PROGNAME-LIST
4378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4382 test -z "$as_dir" && as_dir=.
4383 for ac_prog in grep ggrep; do
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4386 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4387 # Check for GNU ac_path_GREP and select it if it is found.
4388 # Check for GNU $ac_path_GREP
4389 case `"$ac_path_GREP" --version 2>&1` in
4391 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4394 $as_echo_n 0123456789 >"conftest.
in"
4397 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4398 mv "conftest.tmp
" "conftest.
in"
4399 cp "conftest.
in" "conftest.
nl"
4400 $as_echo 'GREP' >> "conftest.
nl"
4401 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4402 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4403 as_fn_arith $ac_count + 1 && ac_count=$as_val
4404 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4405 # Best one so far, save it but keep looking for a better one
4406 ac_cv_path_GREP="$ac_path_GREP"
4407 ac_path_GREP_max=$ac_count
4409 # 10*(2^10) chars as input seems more than enough
4410 test $ac_count -gt 10 && break
4412 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4415 $ac_path_GREP_found && break 3
4420 if test -z "$ac_cv_path_GREP"; then
4421 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4424 ac_cv_path_GREP=$GREP
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4429 $as_echo "$ac_cv_path_GREP" >&6; }
4430 GREP="$ac_cv_path_GREP"
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4434 $as_echo_n "checking
for egrep...
" >&6; }
4435 if test "${ac_cv_path_EGREP+set}" = set; then :
4436 $as_echo_n "(cached
) " >&6
4438 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4439 then ac_cv_path_EGREP="$GREP -E"
4441 if test -z "$EGREP"; then
4442 ac_path_EGREP_found=false
4443 # Loop through the user's path and test for each of PROGNAME-LIST
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4448 test -z "$as_dir" && as_dir=.
4449 for ac_prog in egrep; do
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4452 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4453 # Check for GNU ac_path_EGREP and select it if it is found.
4454 # Check for GNU $ac_path_EGREP
4455 case `"$ac_path_EGREP" --version 2>&1` in
4457 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4460 $as_echo_n 0123456789 >"conftest.
in"
4463 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4464 mv "conftest.tmp
" "conftest.
in"
4465 cp "conftest.
in" "conftest.
nl"
4466 $as_echo 'EGREP' >> "conftest.
nl"
4467 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4468 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4469 as_fn_arith $ac_count + 1 && ac_count=$as_val
4470 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4471 # Best one so far, save it but keep looking for a better one
4472 ac_cv_path_EGREP="$ac_path_EGREP"
4473 ac_path_EGREP_max=$ac_count
4475 # 10*(2^10) chars as input seems more than enough
4476 test $ac_count -gt 10 && break
4478 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4481 $ac_path_EGREP_found && break 3
4486 if test -z "$ac_cv_path_EGREP"; then
4487 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4490 ac_cv_path_EGREP=$EGREP
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4496 $as_echo "$ac_cv_path_EGREP" >&6; }
4497 EGREP="$ac_cv_path_EGREP"
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
4501 $as_echo_n "checking
for ANSI C header files...
" >&6; }
4502 if test "${ac_cv_header_stdc+set}" = set; then :
4503 $as_echo_n "(cached
) " >&6
4505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4520 if ac_fn_c_try_compile "$LINENO"; then :
4521 ac_cv_header_stdc=yes
4523 ac_cv_header_stdc=no
4525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4527 if test $ac_cv_header_stdc = yes; then
4528 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h. */
4534 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
4535 $EGREP "memchr
" >/dev/null 2>&1; then :
4538 ac_cv_header_stdc=no
4544 if test $ac_cv_header_stdc = yes; then
4545 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4551 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
4552 $EGREP "free
" >/dev/null 2>&1; then :
4555 ac_cv_header_stdc=no
4561 if test $ac_cv_header_stdc = yes; then
4562 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4563 if test "$cross_compiling" = yes; then :
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4570 #if ((' ' & 0x0FF) == 0x020)
4571 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4572 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4574 # define ISLOWER(c) \
4575 (('a' <= (c) && (c) <= 'i') \
4576 || ('j' <= (c) && (c) <= 'r') \
4577 || ('s' <= (c) && (c) <= 'z'))
4578 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4581 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4586 for (i = 0; i < 256; i++)
4587 if (XOR (islower (i), ISLOWER (i))
4588 || toupper (i) != TOUPPER (i))
4593 if ac_fn_c_try_run "$LINENO"; then :
4596 ac_cv_header_stdc=no
4598 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4599 conftest.$ac_objext conftest.beam conftest.$ac_ext
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
4605 $as_echo "$ac_cv_header_stdc" >&6; }
4606 if test $ac_cv_header_stdc = yes; then
4608 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4613 # Check for decimal float support.
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
4615 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
4616 if test "${libgcc_cv_dfp+set}" = set; then :
4617 $as_echo_n "(cached) " >&6
4619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4630 FE_INVALID|FE_DIVBYZERO|FE_OVERFLOW|FE_UNDERFLOW|FE_INEXACT;
4636 if ac_fn_c_try_compile
"$LINENO"; then :
4641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
4644 $as_echo "$libgcc_cv_dfp" >&6; }
4645 decimal_float
=$libgcc_cv_dfp
4649 # Check whether --enable-decimal-float was given.
4650 if test "${enable_decimal_float+set}" = set; then :
4651 enableval
=$enable_decimal_float;
4652 case $enable_decimal_float in
4653 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4654 *) as_fn_error
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4655 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4661 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4662 i?
86*-*-elfiamcu | i?
86*-*-gnu* | \
4663 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4664 i?
86*-*-cygwin* | x86_64
*-*-cygwin*)
4665 enable_decimal_float
=yes
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4669 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4670 enable_decimal_float
=no
4677 # x86's use BID format instead of DPD
4678 case x
$enable_decimal_float in
4681 i?
86*-*-* | x86_64
*-*-*)
4682 enable_decimal_float
=bid
4685 enable_decimal_float
=dpd
4688 default_decimal_float
=$enable_decimal_float
4691 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4692 # dependency on libdecnumber.
4693 default_decimal_float
=dpd
4700 # Check for fixed-point support.
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
4702 $as_echo_n "checking whether fixed-point is supported... " >&6; }
4703 if test "${libgcc_cv_fixed_point+set}" = set; then :
4704 $as_echo_n "(cached) " >&6
4706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4707 /* end confdefs.h. */
4710 if ac_fn_c_try_compile
"$LINENO"; then :
4711 libgcc_cv_fixed_point
=yes
4713 libgcc_cv_fixed_point
=no
4715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
4718 $as_echo "$libgcc_cv_fixed_point" >&6; }
4719 fixed_point
=$libgcc_cv_fixed_point
4722 # For platforms with the unwind ABI which includes an unwind library,
4723 # libunwind, we can choose to use the system libunwind.
4724 # config.gcc also contains tests of with_system_libunwind.
4727 # Check whether --with-system-libunwind was given.
4728 if test "${with_system_libunwind+set}" = set; then :
4729 withval
=$with_system_libunwind;
4732 # If system-libunwind was not specifically set, pick a default setting.
4733 if test x
$with_system_libunwind = x
; then
4735 ia64-
*-hpux*) with_system_libunwind
=yes ;;
4736 *) with_system_libunwind
=no
;;
4739 # Based on system-libunwind and target, do we have ipinfo?
4740 if test x
$with_system_libunwind = xyes
; then
4742 ia64-
*-*) have_unwind_getipinfo
=no
;;
4743 *) have_unwind_getipinfo
=yes ;;
4746 # Darwin before version 9 does not have _Unwind_GetIPInfo.
4749 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
4750 *) have_unwind_getipinfo
=yes ;;
4755 if test x
$have_unwind_getipinfo = xyes
; then
4757 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
4762 # Check if the compiler is configured for setjmp/longjmp exceptions.
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler is configured for setjmp/longjmp exceptions" >&5
4764 $as_echo_n "checking whether the compiler is configured for setjmp/longjmp exceptions... " >&6; }
4765 if test "${ac_cv_sjlj_exceptions+set}" = set; then :
4766 $as_echo_n "(cached) " >&6
4768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4770 #ifdef __USING_SJLJ_EXCEPTIONS__
4781 if ac_fn_c_try_compile
"$LINENO"; then :
4782 ac_cv_sjlj_exceptions
=no
4784 ac_cv_sjlj_exceptions
=yes
4786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sjlj_exceptions" >&5
4789 $as_echo "$ac_cv_sjlj_exceptions" >&6; }
4791 # Check whether --enable-cet was given.
4792 if test "${enable_cet+set}" = set; then :
4793 enableval
=$enable_cet;
4794 case "$enableval" in
4796 *) as_fn_error
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
4805 $as_echo_n "checking for CET support... " >&6; }
4808 i
[34567]86-*-linux* | x86_64-
*-linux*)
4809 case "$enable_cet" in
4811 # Check if target supports multi-byte NOPs
4812 # and if assembler supports CET insn.
4813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4820 #if !defined(__SSE2__)
4821 #error target does not support multi-byte NOPs
4830 if ac_fn_c_try_compile
"$LINENO"; then :
4835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4838 # Check if assembler supports CET.
4839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4840 /* end confdefs.h. */
4850 if ac_fn_c_try_compile
"$LINENO"; then :
4853 as_fn_error
"assembler with CET support is required for --enable-cet" "$LINENO" 5
4855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4863 if test x
$enable_cet = xyes
; then
4864 CET_FLAGS
="-fcf-protection -mshstk"
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4866 $as_echo "yes" >&6; }
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869 $as_echo "no" >&6; }
4874 # Check whether --enable-explicit-exception-frame-registration was given.
4875 if test "${enable_explicit_exception_frame_registration+set}" = set; then :
4876 enableval
=$enable_explicit_exception_frame_registration;
4877 force_explicit_eh_registry
=
4878 if test "$enable_explicit_exception_frame_registration" = yes; then
4879 if test $ac_cv_sjlj_exceptions = yes; then
4880 as_fn_error
"Can't --enable-explicit-exception-frame-registration
4881 with setjmp/longjmp exceptions" "$LINENO" 5
4883 force_explicit_eh_registry
=-DUSE_EH_FRAME_REGISTRY_ALWAYS
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4891 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4892 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4893 $as_echo_n "(cached) " >&6
4895 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4896 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4897 acl_cv_prog_gnu_ld
=yes
4899 acl_cv_prog_gnu_ld
=no
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4903 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4904 with_gnu_ld
=$acl_cv_prog_gnu_ld
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
4908 $as_echo_n "checking for thread model used by GCC... " >&6; }
4909 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
4911 $as_echo "$target_thread_file" >&6; }
4913 # Check for assembler CFI support.
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
4915 $as_echo_n "checking whether assembler supports CFI directives... " >&6; }
4916 if test "${libgcc_cv_cfi+set}" = set; then :
4917 $as_echo_n "(cached) " >&6
4919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4920 /* end confdefs.h. */
4924 .cfi_personality 0, symbol\n\
4927 if ac_fn_c_try_compile
"$LINENO"; then :
4932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
4935 $as_echo "$libgcc_cv_cfi" >&6; }
4937 # Check 32bit or 64bit. In the case of MIPS, this really determines the
4938 # word size rather than the address size.
4939 cat > conftest.c
<<EOF
4940 #if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) \
4941 || defined(__mips64)
4947 eval `${CC-cc} -E conftest.c | grep host_address=`
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target is hard-float" >&5
4953 $as_echo_n "checking whether the target is hard-float... " >&6; }
4954 if test "${libgcc_cv_mips_hard_float+set}" = set; then :
4955 $as_echo_n "(cached) " >&6
4957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4959 #ifndef __mips_hard_float
4963 if ac_fn_c_try_compile
"$LINENO"; then :
4964 libgcc_cv_mips_hard_float
=yes
4966 libgcc_cv_mips_hard_float
=no
4968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_mips_hard_float" >&5
4971 $as_echo "$libgcc_cv_mips_hard_float" >&6; }
4976 # Check for system-provided CRTs on Solaris 11.4.
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system-provided CRTs on Solaris" >&5
4978 $as_echo_n "checking system-provided CRTs on Solaris... " >&6; }
4979 if test "${libgcc_cv_solaris_crts+set}" = set; then :
4980 $as_echo_n "(cached) " >&6
4982 libgcc_cv_solaris_crts
=no
4983 libgcc_sysroot
="`${CC} -print-sysroot`"
4984 libgcc_libdir
="$libgcc_sysroot/usr/lib"
4985 # At the time they were added, gcrt1.o became a symlink for backwards
4986 # compatibility on x86, while crt1.o was added on sparc, so check for that.
4988 i?
86-*-solaris2* | x86_64-
*-solaris2*)
4989 if test -h "$libgcc_libdir/gcrt1.o"; then libgcc_cv_solaris_crts
=yes; fi
4992 if test -f "$libgcc_libdir/crt1.o"; then libgcc_cv_solaris_crts
=yes; fi
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_solaris_crts" >&5
4997 $as_echo "$libgcc_cv_solaris_crts" >&6; }
4998 if test $libgcc_cv_solaris_crts = yes; then
5000 $as_echo "#define HAVE_SOLARIS_CRTS 1" >>confdefs.h
5006 # Determine the version of glibc, if any, used on the target.
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target glibc version" >&5
5008 $as_echo_n "checking for target glibc version... " >&6; }
5010 # Check whether --with-glibc-version was given.
5011 if test "${with_glibc_version+set}" = set; then :
5012 withval
=$with_glibc_version;
5013 if echo "$with_glibc_version" |
grep '^[0-9][0-9]*\.[0-9][0-9]*$'; then
5014 glibc_version_major
=`echo "$with_glibc_version" | sed -e 's/\..*//'`
5015 glibc_version_minor
=`echo "$with_glibc_version" | sed -e 's/.*\.//'`
5017 as_fn_error
"option --with-glibc-version requires a version number M.N" "$LINENO" 5
5021 if ac_fn_c_compute_int
"$LINENO" "__GLIBC__" "glibc_version_major" "#include <features.h>"; then :
5024 glibc_version_major
=0
5027 if ac_fn_c_compute_int
"$LINENO" "__GLIBC_MINOR__" "glibc_version_minor" "#include <features.h>"; then :
5030 glibc_version_minor
=0
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibc_version_major.$glibc_version_minor" >&5
5036 $as_echo "$glibc_version_major.$glibc_version_minor" >&6; }
5038 # Determine floating-point type for powerpc*-*-linux*.
5039 # Single-precision-only FPRs are not a supported configuration for
5040 # this target, so are not allowed for in this test.
5043 cat > conftest.c
<<EOF
5044 #ifdef __powerpc64__
5046 #elif defined _SOFT_FLOAT
5048 #elif defined _SOFT_DOUBLE
5050 #elif defined __NO_FPRS__
5056 eval `${CC-cc} -E conftest.c | grep ppc_fp_type=`
5058 # glibc 2.19 and later provide all the soft-fp functions, with proper
5059 # interactions with <fenv.h> exception and rounding mode handling, so
5060 # make libgcc's versions into compat symbols if a recent enough glibc
5061 # version is being used.
5063 case ${ppc_fp_type} in
5065 if test $glibc_version_major -gt 2 \
5066 ||
( test $glibc_version_major -eq 2 \
5067 && test $glibc_version_minor -ge 19 ); then
5068 ppc_fp_compat
="t-softfp-compat"
5076 # At present, we cannot turn -mfloat128 on via #pragma GCC target, so just
5077 # check if we have VSX (ISA 2.06) support to build the software libraries, and
5078 # whether the assembler can handle xsaddqp for hardware support. Also check if
5079 # a new glibc is being used so that __builtin_cpu_supports can be used.
5081 saved_CFLAGS
="$CFLAGS"
5082 CFLAGS
="$CFLAGS -mabi=altivec -mvsx -mfloat128"
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 2.06 to build __float128 libraries" >&5
5084 $as_echo_n "checking for PowerPC ISA 2.06 to build __float128 libraries... " >&6; }
5085 if test "${libgcc_cv_powerpc_float128+set}" = set; then :
5086 $as_echo_n "(cached) " >&6
5088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5089 /* end confdefs.h. */
5090 vector double dadd (vector double a, vector double b) { return a + b; }
5092 if ac_fn_c_try_compile
"$LINENO"; then :
5093 libgcc_cv_powerpc_float128
=yes
5095 libgcc_cv_powerpc_float128
=no
5097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_float128" >&5
5100 $as_echo "$libgcc_cv_powerpc_float128" >&6; }
5102 CFLAGS
="$CFLAGS -mpower9-vector -mfloat128-hardware"
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 3.0 to build hardware __float128 libraries" >&5
5104 $as_echo_n "checking for PowerPC ISA 3.0 to build hardware __float128 libraries... " >&6; }
5105 if test "${libgcc_cv_powerpc_float128_hw+set}" = set; then :
5106 $as_echo_n "(cached) " >&6
5108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5109 /* end confdefs.h. */
5110 #include <sys/auxv.h>
5112 #error "AT_PLATFORM is not defined"
5114 #ifndef __BUILTIN_CPU_SUPPORTS__
5115 #error "__builtin_cpu_supports is not available"
5117 vector unsigned char add (vector unsigned char a, vector unsigned char b)
5119 vector unsigned char ret;
5120 __asm__ ("xsaddqp %0,%1,%2" : "=v" (ret) : "v" (a), "v" (b));
5123 void *add_resolver (void) { return (void *) add; }
5124 __float128 add_ifunc (__float128, __float128)
5125 __attribute__ ((__ifunc__ ("add_resolver")));
5127 if ac_fn_c_try_compile
"$LINENO"; then :
5128 libgcc_cv_powerpc_float128_hw
=yes
5130 libgcc_cv_powerpc_float128_hw
=no
5132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_float128_hw" >&5
5135 $as_echo "$libgcc_cv_powerpc_float128_hw" >&6; }
5136 CFLAGS
="$saved_CFLAGS"
5139 # Collect host-machine-specific information.
5140 .
${srcdir}/config.
host
5142 # Used for constructing correct paths for offload compilers.
5144 real_host_noncanonical
=${host_noncanonical}
5145 if test x
"$enable_as_accelerator_for" != x
; then
5146 accel_dir_suffix
=/accel
/${target_noncanonical}
5147 real_host_noncanonical
=${enable_as_accelerator_for}
5152 if test x
"$enable_offload_targets" != x
; then
5153 extra_parts
="${extra_parts} crtoffloadbegin.o crtoffloadend.o crtoffloadtable.o"
5156 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
5157 # This is after config.host so we can augment tmake_file.
5158 # Link with -nostartfiles -nodefaultlibs since neither are present while
5161 i?
86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
5162 cat > conftest.s
<<EOF
5163 .section .eh_frame,"a",@unwind
5165 .section .jcr,"aw",@progbits
5168 if { ac_try
='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
5169 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5173 test $ac_status = 0; }; }; then
5174 tmake_file
="${tmake_file} i386/t-crtstuff"
5179 # Check if xtensa target is configured for windowed ABI and thus needs to use
5180 # custom unwind code.
5181 # This is after config.host so we can augment tmake_file.
5184 cat > conftest.c
<<EOF
5185 #ifdef __XTENSA_CALL0_ABI__
5189 if { ac_try
='${CC-cc} -E -o conftest.i conftest.c 1>&5'
5190 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5194 test $ac_status = 0; }; }; then
5195 tmake_file
="${tmake_file} xtensa/t-windowed"
5200 # Check for visibility support. This is after config.host so that
5201 # we can check for asm_hidden_op.
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
5203 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
5204 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then :
5205 $as_echo_n "(cached) " >&6
5208 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
5209 libgcc_cv_hidden_visibility_attribute
=no
5210 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
5211 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5215 test $ac_status = 0; }; }; then
5216 if grep "\\$asm_hidden_op.*foo" conftest.s
>/dev
/null
; then
5217 libgcc_cv_hidden_visibility_attribute
=yes
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
5224 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
5226 if test $libgcc_cv_hidden_visibility_attribute = yes; then
5227 vis_hide
='-fvisibility=hidden -DHIDE_EXPORTS'
5229 cat >>confdefs.h
<<_ACEOF
5230 #define AS_HIDDEN_DIRECTIVE $asm_hidden_op
5238 # Check for .cfi_sections .debug_frame support.
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .cfi_sections .debug_frame" >&5
5240 $as_echo_n "checking for .cfi_sections .debug_frame... " >&6; }
5241 if test "${libgcc_cv_cfi_sections_directive+set}" = set; then :
5242 $as_echo_n "(cached) " >&6
5245 echo 'int foo (int, char *);' > conftest.c
5246 echo 'int bar (int x) { char *y = __builtin_alloca (x); return foo (x + 1, y) + 1; }' >> conftest.c
5247 libgcc_cv_cfi_sections_directive
=no
5248 if { ac_try
='${CC-cc} -Werror -g -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-exceptions -S conftest.c -o conftest.s 1>&5'
5249 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5253 test $ac_status = 0; }; }; then
5254 if grep "\\.cfi_sections.*\\.debug_frame" conftest.s
>/dev
/null
; then
5255 libgcc_cv_cfi_sections_directive
=yes
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi_sections_directive" >&5
5262 $as_echo "$libgcc_cv_cfi_sections_directive" >&6; }
5263 if test $libgcc_cv_cfi_sections_directive = yes; then
5265 $as_echo "#define HAVE_AS_CFI_SECTIONS 1" >>confdefs.h
5269 # See if we have thread-local storage. We can only test assembler
5270 # since link-time and run-time tests require the newly built
5271 # gcc, which can't be used to build executable due to that libgcc
5272 # is yet to be built here.
5274 # Check whether --enable-tls was given.
5275 if test "${enable_tls+set}" = set; then :
5276 enableval
=$enable_tls;
5277 case "$enableval" in
5279 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
5288 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
5289 if test "${gcc_cv_have_cc_tls+set}" = set; then :
5290 $as_echo_n "(cached) " >&6
5293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5295 __thread int a; int b; int main() { return a = b; }
5297 if ac_fn_c_try_compile
"$LINENO"; then :
5298 gcc_cv_have_cc_tls
=yes
5300 gcc_cv_have_cc_tls
=no
5302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
5306 $as_echo "$gcc_cv_have_cc_tls" >&6; }
5308 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
5309 set_have_cc_tls
="-DHAVE_CC_TLS"
5313 # See if we have emulated thread-local storage.
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
5316 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
5317 if test "${gcc_cv_use_emutls+set}" = set; then :
5318 $as_echo_n "(cached) " >&6
5321 gcc_cv_use_emutls
=no
5322 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
5323 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
5324 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
5327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5328 test $ac_status = 0; }; }; then
5329 if grep __emutls_get_address conftest.s
> /dev
/null
; then
5330 gcc_cv_use_emutls
=yes
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
5337 $as_echo "$gcc_cv_use_emutls" >&6; }
5338 if test "$gcc_cv_use_emutls" = "yes" ; then
5340 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
5344 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
5345 set_use_emutls
="-DUSE_EMUTLS"
5352 i
[34567]86-*-* | x86_64-
*-*)
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports AVX" >&5
5354 $as_echo_n "checking if the assembler supports AVX... " >&6; }
5355 if test "${libgcc_cv_as_avx+set}" = set; then :
5356 $as_echo_n "(cached) " >&6
5359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5370 if ac_fn_c_try_compile
"$LINENO"; then :
5371 libgcc_cv_as_avx
=yes
5375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_as_avx" >&5
5379 $as_echo "$libgcc_cv_as_avx" >&6; }
5380 if test x
$libgcc_cv_as_avx = xyes
; then
5382 $as_echo "#define HAVE_AS_AVX 1" >>confdefs.h
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
5389 $as_echo_n "checking for init priority support... " >&6; }
5390 if test "${libgcc_cv_init_priority+set}" = set; then :
5391 $as_echo_n "(cached) " >&6
5394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5400 void ip (void) __attribute__ ((constructor (1)));
5405 if ac_fn_c_try_compile
"$LINENO"; then :
5406 libgcc_cv_init_priority
=yes
5408 libgcc_cv_init_priority
=no
5410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_init_priority" >&5
5413 $as_echo "$libgcc_cv_init_priority" >&6; }
5414 if test $libgcc_cv_init_priority = yes; then
5416 $as_echo "#define HAVE_INIT_PRIORITY 1" >>confdefs.h
5420 # Conditionalize the sfp-machine.h header for this target machine.
5421 if test -z "${sfp_machine_header}"; then
5422 sfp_machine_header
=$cpu_type/sfp-machine.h
5423 if test -f ${srcdir}/config
/${sfp_machine_header}; then
5426 sfp_machine_header
=no-sfp-machine.h
5431 # Conditionalize the makefile for this target machine.
5433 for f
in ${tmake_file}
5435 if test -f ${srcdir}/config
/$f
5437 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
5440 tmake_file
="${tmake_file_}"
5443 # Likewise export definitions for libgcc_tm.h
5447 tm_file_
="${tm_file_} \$(srcdir)/config/$f"
5449 tm_file
="${tm_file_}"
5453 # Map from thread model to thread header.
5455 case $target_thread_file in
5456 aix
) thread_header
=config
/rs6000
/gthr-aix.h
;;
5457 dce
) thread_header
=config
/pa
/gthr-dce.h
;;
5458 lynx
) thread_header
=config
/gthr-lynx.h
;;
5459 mipssde
) thread_header
=config
/mips
/gthr-mipssde.h
;;
5460 posix
) thread_header
=gthr-posix.h
;;
5461 rtems
) thread_header
=config
/gthr-rtems.h
;;
5462 single
) thread_header
=gthr-single.h
;;
5463 tpf
) thread_header
=config
/s390
/gthr-tpf.h
;;
5464 vxworks
) thread_header
=config
/gthr-vxworks.h
;;
5465 win32
) thread_header
=config
/i386
/gthr-win32.h
;;
5470 # Determine what GCC version number to use in filesystem paths.
5472 get_gcc_base_ver
="cat"
5474 # Check whether --with-gcc-major-version-only was given.
5475 if test "${with_gcc_major_version_only+set}" = set; then :
5476 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
5477 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
5485 # Substitute configuration variables
5495 # We need multilib support.
5496 ac_config_files
="$ac_config_files Makefile"
5498 ac_config_commands
="$ac_config_commands default"
5500 cat >confcache
<<\_ACEOF
5501 # This file is a shell script that caches the results of configure
5502 # tests run on this system so they can be shared between configure
5503 # scripts and configure runs, see configure's option --config-cache.
5504 # It is not useful on other systems. If it contains results you don't
5505 # want to keep, you may remove or edit it.
5507 # config.status only pays attention to the cache file if you give it
5508 # the --recheck option to rerun configure.
5510 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5511 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5516 # The following way of writing the cache mishandles newlines in values,
5517 # but we know of no workaround that is simple, portable, and efficient.
5518 # So, we kill variables containing newlines.
5519 # Ultrix sh set writes to stderr and can't be redirected directly,
5520 # and sets the high bit in the cache file unless we assign to the vars.
5522 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5523 eval ac_val
=\$
$ac_var
5527 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5528 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5531 _ | IFS | as_nl
) ;; #(
5532 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5533 *) { eval $ac_var=; unset $ac_var;} ;;
5539 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5540 *${as_nl}ac_space
=\
*)
5541 # `set' does not quote correctly, so add quotes: double-quote
5542 # substitution turns \\\\ into \\, and sed turns \\ into \.
5545 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5548 # `set' quotes correctly as required by POSIX, so do not add quotes.
5549 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5558 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5560 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5562 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5563 if test -w "$cache_file"; then
5564 test "x$cache_file" != "x/dev/null" &&
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5566 $as_echo "$as_me: updating cache $cache_file" >&6;}
5567 cat confcache
>$cache_file
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5570 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5575 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5576 # Let make expand exec_prefix.
5577 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5579 DEFS
=-DHAVE_CONFIG_H
5583 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5584 # 1. Remove the extension, and $U if already installed.
5585 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5586 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5587 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5588 # will be set to the directory where LIBOBJS objects are built.
5589 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5590 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5594 LTLIBOBJS
=$ac_ltlibobjs
5598 : ${CONFIG_STATUS=./config.status}
5600 ac_clean_files_save
=$ac_clean_files
5601 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5603 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5605 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5607 # Generated by $as_me.
5608 # Run this file to recreate the current configuration.
5609 # Compiler output produced by configure, useful for debugging
5610 # configure, is in config.log if it exists.
5616 SHELL=\${CONFIG_SHELL-$SHELL}
5619 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5620 ## -------------------- ##
5621 ## M4sh Initialization. ##
5622 ## -------------------- ##
5624 # Be more Bourne compatible
5625 DUALCASE
=1; export DUALCASE
# for MKS sh
5626 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5629 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5630 # is contrary to our usage. Disable this feature.
5631 alias -g '${1+"$@"}'='"$@"'
5632 setopt NO_GLOB_SUBST
5634 case `(set -o) 2>/dev/null` in #(
5646 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5647 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5648 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5649 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5650 # Prefer a ksh shell builtin over an external printf program on Solaris,
5651 # but without wasting forks for bash or zsh.
5652 if test -z "$BASH_VERSION$ZSH_VERSION" \
5653 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5654 as_echo='print
-r --'
5655 as_echo_n='print
-rn --'
5656 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5657 as_echo='printf %s
\n'
5658 as_echo_n='printf %s
'
5660 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5661 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5662 as_echo_n='/usr
/ucb
/echo -n'
5664 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5665 as_echo_n_body='eval
5669 expr "X$arg" : "X\\(.*\\)$as_nl";
5670 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5672 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5674 export as_echo_n_body
5675 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5678 as_echo='sh
-c $as_echo_body as_echo
'
5681 # The user is always right.
5682 if test "${PATH_SEPARATOR+set}" != set; then
5684 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5685 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5692 # We need space, tab and new line, in precisely that order. Quoting is
5693 # there to prevent editors from complaining about space-tab.
5694 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5695 # splitting by setting IFS to empty value.)
5698 # Find who we are. Look in the path if we contain no directory separator.
5700 *[\\/]* ) as_myself=$0 ;;
5701 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5705 test -z "$as_dir" && as_dir=.
5706 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5712 # We did not find ourselves, most probably we were run as `sh COMMAND'
5713 # in which case we are not to be found in the path.
5714 if test "x$as_myself" = x
; then
5717 if test ! -f "$as_myself"; then
5718 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5722 # Unset variables that we do not need and which cause bugs (e.g. in
5723 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5724 # suppresses any "Segmentation fault" message there. '((' could
5725 # trigger a bug in pdksh 5.2.14.
5726 for as_var
in BASH_ENV ENV MAIL MAILPATH
5727 do eval test x\
${$as_var+set} = xset \
5728 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5741 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5744 # as_fn_error ERROR [LINENO LOG_FD]
5745 # ---------------------------------
5746 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5747 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5748 # script with status $?, using 1 if that was 0.
5751 as_status
=$?
; test $as_status -eq 0 && as_status
=1
5753 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5754 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5756 $as_echo "$as_me: error: $1" >&2
5757 as_fn_exit
$as_status
5761 # as_fn_set_status STATUS
5762 # -----------------------
5763 # Set $? to STATUS, without forking.
5767 } # as_fn_set_status
5771 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5781 # Portably unset VAR.
5784 { eval $1=; unset $1;}
5786 as_unset
=as_fn_unset
5787 # as_fn_append VAR VALUE
5788 # ----------------------
5789 # Append the text in VALUE to the end of the definition contained in VAR. Take
5790 # advantage of any shell optimizations that allow amortized linear growth over
5791 # repeated appends, instead of the typical quadratic growth present in naive
5793 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5794 eval 'as_fn_append ()
5805 # as_fn_arith ARG...
5806 # ------------------
5807 # Perform arithmetic evaluation on the ARGs, and store the result in the
5808 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5809 # must be portable across $(()) and expr.
5810 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5811 eval 'as_fn_arith ()
5818 as_val
=`expr "$@" || test $? -eq 1`
5823 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5824 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5830 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5831 as_basename
=basename
5836 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5842 as_me
=`$as_basename -- "$0" ||
5843 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5844 X"$0" : 'X\(//\)$' \| \
5845 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5847 sed '/^.*\/\([^/][^/]*\)\/*$/{
5861 # Avoid depending upon Character Ranges.
5862 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5863 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5864 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5865 as_cr_digits
='0123456789'
5866 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5868 ECHO_C
= ECHO_N
= ECHO_T
=
5869 case `echo -n x` in #(((((
5871 case `echo 'xy\c'` in
5872 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5874 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5881 rm -f conf$$ conf$$.exe conf$$.
file
5882 if test -d conf$$.dir
; then
5883 rm -f conf$$.dir
/conf$$.
file
5886 mkdir conf$$.dir
2>/dev
/null
5888 if (echo >conf$$.
file) 2>/dev
/null
; then
5889 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5891 # ... but there are two gotchas:
5892 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5893 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5894 # In both cases, we have to default to `cp -p'.
5895 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5897 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5905 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5906 rmdir conf$$.dir
2>/dev
/null
5911 # Create "$as_dir" as a directory, including parents if necessary.
5916 -*) as_dir
=.
/$as_dir;;
5918 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5922 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5923 *) as_qdir
=$as_dir;;
5925 as_dirs
="'$as_qdir' $as_dirs"
5926 as_dir
=`$as_dirname -- "$as_dir" ||
5927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5928 X"$as_dir" : 'X\(//\)[^/]' \| \
5929 X"$as_dir" : 'X\(//\)$' \| \
5930 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5931 $as_echo X"$as_dir" |
5932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5949 test -d "$as_dir" && break
5951 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5952 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
5956 if mkdir
-p .
2>/dev
/null
; then
5957 as_mkdir_p
='mkdir -p "$as_dir"'
5959 test -d .
/-p && rmdir .
/-p
5963 if test -x / >/dev
/null
2>&1; then
5966 if ls -dL / >/dev
/null
2>&1; then
5973 if test -d "$1"; then
5979 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5980 ???[sx]*):;;*)false;;esac;fi
5984 as_executable_p
=$as_test_x
5986 # Sed expression to map a string onto a valid CPP name.
5987 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5989 # Sed expression to map a string onto a valid variable name.
5990 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5994 ## ----------------------------------- ##
5995 ## Main body of $CONFIG_STATUS script. ##
5996 ## ----------------------------------- ##
5998 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6001 # Save the log message, to keep $0 and so on meaningful, and to
6002 # report actual input values of CONFIG_FILES etc. instead of their
6003 # values after options handling.
6005 This file was extended by GNU C Runtime Library $as_me 1.0, which was
6006 generated by GNU Autoconf 2.64. Invocation command line was
6008 CONFIG_FILES = $CONFIG_FILES
6009 CONFIG_HEADERS = $CONFIG_HEADERS
6010 CONFIG_LINKS = $CONFIG_LINKS
6011 CONFIG_COMMANDS = $CONFIG_COMMANDS
6014 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6019 case $ac_config_files in *"
6020 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6023 case $ac_config_headers in *"
6024 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6029 # Files that config.status was made for.
6030 config_files="$ac_config_files"
6031 config_headers="$ac_config_headers"
6032 config_commands="$ac_config_commands"
6036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6038 \`$as_me' instantiates files and other configuration actions
6039 from templates according to the current configuration. Unless the files
6040 and actions are specified as TAGs, all are instantiated by default.
6042 Usage: $0 [OPTION]... [TAG]...
6044 -h, --help print this help, then exit
6045 -V, --version print version number and configuration settings, then exit
6046 -q, --quiet, --silent
6047 do not print progress messages
6048 -d, --debug don't remove temporary files
6049 --recheck update $as_me by reconfiguring in the same conditions
6050 --file=FILE[:TEMPLATE]
6051 instantiate the configuration file FILE
6052 --header=FILE[:TEMPLATE]
6053 instantiate the configuration header FILE
6055 Configuration files:
6058 Configuration headers:
6061 Configuration commands:
6064 Report bugs to the package provider.
6065 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
6066 General help using GNU software: <http://www.gnu.org/gethelp/>."
6069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6071 GNU C Runtime Library config.status 1.0
6072 configured by $0, generated by GNU Autoconf 2.64,
6073 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6075 Copyright (C) 2009 Free Software Foundation, Inc.
6076 This config.status script is free software; the Free Software Foundation
6077 gives unlimited permission to copy, distribute and modify it."
6083 test -n "\$AWK" || AWK=awk
6086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6087 # The default lists apply if the user does not specify any file.
6093 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6094 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6105 # Handling of the options.
6106 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6108 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6109 $as_echo "$ac_cs_version"; exit ;;
6110 --debug |
--debu |
--deb |
--de |
--d |
-d )
6112 --file |
--fil |
--fi |
--f )
6115 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6117 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6118 ac_need_defaults
=false
;;
6119 --header |
--heade |
--head |
--hea )
6122 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6124 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6125 ac_need_defaults
=false
;;
6127 # Conflict between --help and --header
6128 as_fn_error
"ambiguous option: \`$1'
6129 Try \`$0 --help' for more information.";;
6130 --help |
--hel |
-h )
6131 $as_echo "$ac_cs_usage"; exit ;;
6132 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6133 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6137 -*) as_fn_error
"unrecognized option: \`$1'
6138 Try \`$0 --help' for more information." ;;
6140 *) as_fn_append ac_config_targets
" $1"
6141 ac_need_defaults
=false
;;
6147 ac_configure_extra_args
=
6149 if $ac_cs_silent; then
6151 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6156 if \$ac_cs_recheck; then
6157 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6159 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6160 CONFIG_SHELL='$SHELL'
6166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6170 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6171 ## Running $as_me. ##
6177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6183 with_target_subdir=${with_target_subdir}
6184 with_multisubdir=${with_multisubdir}
6185 ac_configure_args="--enable-multilib ${ac_configure_args}"
6186 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
6187 libgcc_topdir=${libgcc_topdir}
6193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6195 # Handling of arguments.
6196 for ac_config_target
in $ac_config_targets
6198 case $ac_config_target in
6199 "auto-target.h") CONFIG_HEADERS
="$CONFIG_HEADERS auto-target.h:config.in" ;;
6200 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6201 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
6203 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6208 # If the user did not use the arguments to specify the items to instantiate,
6209 # then the envvar interface is used. Set only those that are not.
6210 # We use the long form for the default assignment because of an extremely
6211 # bizarre bug on SunOS 4.1.3.
6212 if $ac_need_defaults; then
6213 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6214 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6215 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6218 # Have a temporary directory for convenience. Make it in the build tree
6219 # simply because there is no reason against having it here, and in addition,
6220 # creating and moving files from /tmp can sometimes cause problems.
6221 # Hook for its removal unless debugging.
6222 # Note that there is a small window in which the directory will not be cleaned:
6223 # after its creation but before its name has been assigned to `$tmp'.
6227 trap 'exit_status=$?
6228 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6230 trap 'as_fn_exit 1' 1 2 13 15
6232 # Create a (secure) tmp directory for tmp files.
6235 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6236 test -n "$tmp" && test -d "$tmp"
6239 tmp
=.
/conf$$
-$RANDOM
6240 (umask 077 && mkdir
"$tmp")
6241 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
6243 # Set up the scripts for CONFIG_FILES section.
6244 # No need to generate them if there are no CONFIG_FILES.
6245 # This happens for instance with `./config.status config.h'.
6246 if test -n "$CONFIG_FILES"; then
6249 ac_cr
=`echo X | tr X '\015'`
6250 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6251 # But we know of no other shell where ac_cr would be empty at this
6252 # point, so we can use a bashism as a fallback.
6253 if test "x$ac_cr" = x
; then
6254 eval ac_cr
=\$
\'\\r
\'
6256 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6257 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6263 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6268 echo "cat >conf$$subs.awk <<_ACEOF" &&
6269 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6272 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6273 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6275 for ac_last_try in false false false false false :; do
6276 . ./conf$$subs.sh ||
6277 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6279 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6280 if test $ac_delim_n = $ac_delim_num; then
6282 elif $ac_last_try; then
6283 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6285 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6291 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
6295 s/^/S["/; s
/!.
*/"]=/
6305 s/\(.\{148\}\).*/\1/
6307 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6312 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6319 s/\(.\{148\}\).*/\1/
6321 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6325 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6330 ' <conf$$subs.awk | sed '
6335 ' >>$CONFIG_STATUS || ac_write_fail=1
6336 rm -f conf$$subs.awk
6337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6339 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
6340 for (key in S) S_is_set[key] = 1
6346 nfields = split(line, field, "@
")
6348 len = length(field[1])
6349 for (i = 2; i < nfields; i++) {
6351 keylen = length(key)
6352 if (S_is_set[key]) {
6354 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6355 len += length(value) + length(field[++i])
6366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6367 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6368 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6371 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
6372 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
6375 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6376 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
6377 # trailing colons and then remove the whole line if VPATH becomes empty
6378 # (actually we leave an empty line to preserve line numbers).
6379 if test "x
$srcdir" = x.; then
6380 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6384 s/^\([^=]*=[ ]*\):*/\1/
6390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6391 fi # test -n "$CONFIG_FILES"
6393 # Set up the scripts for CONFIG_HEADERS section.
6394 # No need to generate them if there are no CONFIG_HEADERS.
6395 # This happens for instance with `./config.status Makefile'.
6396 if test -n "$CONFIG_HEADERS"; then
6397 cat >"$tmp/defines.
awk" <<\_ACAWK ||
6401 # Transform confdefs.h into an awk script `defines.awk', embedded as
6402 # here-document in config.status, that substitutes the proper values into
6403 # config.h.in to produce config.h.
6405 # Create a delimiter string that does not exist in confdefs.h, to ease
6406 # handling of long lines.
6408 for ac_last_try in false false :; do
6409 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
6410 if test -z "$ac_t"; then
6412 elif $ac_last_try; then
6413 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
6415 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6419 # For the awk script, D is an array of macro values keyed by name,
6420 # likewise P contains macro parameters if any. Preserve backslash
6421 # newline sequences.
6423 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6425 s/.\{148\}/&'"$ac_delim"'/g
6428 s/^[ ]*#[ ]*define[ ][ ]*/ /
6435 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6437 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6441 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6442 D["\
1"]=" \
3\\\\\\n
"\\/p
6444 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6449 s/.\{148\}/&'"$ac_delim"'/g
6454 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6457 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6459 ' <confdefs.h | sed '
6460 s/'"$ac_delim"'/"\\\
6461 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6464 for (key in D) D_is_set[key] = 1
6467 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6469 split(line, arg, " ")
6470 if (arg[1] == "#") {
6474 defundef
= substr
(arg
[1], 2)
6477 split(mac1
, mac2
, "(") #)
6479 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6480 if (D_is_set
[macro
]) {
6481 # Preserve the white space surrounding the "#".
6482 print prefix
"define", macro P
[macro
] D
[macro
]
6485 # Replace #undef with comments. This is necessary, for example,
6486 # in the case of _POSIX_SOURCE, which is predefined and required
6487 # on some systems where configure will not decide to define it.
6488 if (defundef
== "undef") {
6489 print
"/*", prefix defundef
, macro
, "*/"
6497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6498 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
6499 fi # test -n "$CONFIG_HEADERS"
6502 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6507 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6509 case $ac_mode$ac_tag in
6511 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6512 :[FH
]-) ac_tag
=-:-;;
6513 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6530 -) ac_f
="$tmp/stdin";;
6531 *) # Look for the file first in the build tree, then in the source tree
6532 # (if the path is not absolute). The absolute path cannot be DOS-style,
6533 # because $ac_f cannot contain `:'.
6537 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6539 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
6541 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6542 as_fn_append ac_file_inputs
" '$ac_f'"
6545 # Let's still pretend it is `configure' which instantiates (i.e., don't
6546 # use $as_me), people would be surprised to read:
6547 # /* config.h. Generated by config.status. */
6548 configure_input
='Generated from '`
6549 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6551 if test x
"$ac_file" != x-
; then
6552 configure_input
="$ac_file. $configure_input"
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6554 $as_echo "$as_me: creating $ac_file" >&6;}
6556 # Neutralize special characters interpreted by sed in replacement strings.
6557 case $configure_input in #(
6558 *\
&* |
*\|
* |
*\\* )
6559 ac_sed_conf_input
=`$as_echo "$configure_input" |
6560 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6561 *) ac_sed_conf_input
=$configure_input;;
6565 *:-:* |
*:-) cat >"$tmp/stdin" \
6566 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
6571 ac_dir
=`$as_dirname -- "$ac_file" ||
6572 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6573 X"$ac_file" : 'X\(//\)[^/]' \| \
6574 X"$ac_file" : 'X\(//\)$' \| \
6575 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6576 $as_echo X"$ac_file" |
6577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6594 as_dir
="$ac_dir"; as_fn_mkdir_p
6598 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6600 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6601 # A ".." for each directory in $ac_dir_suffix.
6602 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6603 case $ac_top_builddir_sub in
6604 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6605 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6608 ac_abs_top_builddir
=$ac_pwd
6609 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6610 # for backward compatibility:
6611 ac_top_builddir
=$ac_top_build_prefix
6614 .
) # We are building in place.
6616 ac_top_srcdir
=$ac_top_builddir_sub
6617 ac_abs_top_srcdir
=$ac_pwd ;;
6618 [\\/]* | ?
:[\\/]* ) # Absolute name.
6619 ac_srcdir
=$srcdir$ac_dir_suffix;
6620 ac_top_srcdir
=$srcdir
6621 ac_abs_top_srcdir
=$srcdir ;;
6623 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6624 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6625 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6627 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6637 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6638 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6643 # If the template does not know about datarootdir, expand it.
6644 # FIXME: This hack should be removed a few years after 2.60.
6645 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6656 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6657 *datarootdir
*) ac_datarootdir_seen
=yes;;
6658 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6660 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6663 ac_datarootdir_hack='
6664 s&@datadir@&$datadir&g
6665 s&@docdir@&$docdir&g
6666 s&@infodir@&$infodir&g
6667 s&@localedir@&$localedir&g
6668 s&@mandir@&$mandir&g
6669 s&\\\${datarootdir}&$datarootdir&g' ;;
6673 # Neutralize VPATH when `$srcdir' = `.'.
6674 # Shell code in configure.ac might set extrasub.
6675 # FIXME: do we really want to maintain this feature?
6676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6677 ac_sed_extra="$ac_vpsub
6680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6682 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6683 s|@configure_input@|
$ac_sed_conf_input|
;t t
6684 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6685 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6686 s
&@srcdir@
&$ac_srcdir&;t t
6687 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6688 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6689 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6690 s
&@builddir@
&$ac_builddir&;t t
6691 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6692 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6693 s
&@INSTALL@
&$ac_INSTALL&;t t
6694 $ac_datarootdir_hack
6696 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
6697 || as_fn_error "could not create
$ac_file" "$LINENO" 5
6699 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6700 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6701 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6703 which seems to be undefined. Please make sure it is defined." >&5
6704 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6705 which seems to be undefined. Please make sure it is defined." >&2;}
6709 -) cat "$tmp/out" && rm -f "$tmp/out";;
6710 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6712 || as_fn_error "could not create $ac_file" "$LINENO" 5
6718 if test x"$ac_file" != x-; then
6720 $as_echo "/* $configure_input */" \
6721 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6722 } >"$tmp/config.h" \
6723 || as_fn_error "could not create $ac_file" "$LINENO" 5
6724 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6726 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6729 mv "$tmp/config.h" "$ac_file" \
6730 || as_fn_error "could not create $ac_file" "$LINENO" 5
6733 $as_echo "/* $configure_input */" \
6734 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6735 || as_fn_error "could not create -" "$LINENO" 5
6739 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6740 $as_echo "$as_me: executing $ac_file commands" >&6;}
6745 case $ac_file$ac_mode in
6746 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
6747 if test -n "$CONFIG_FILES"; then
6748 # FIXME: We shouldn't need to
set ac_file
6750 .
${libgcc_topdir}/config-ml.
in
6759 ac_clean_files
=$ac_clean_files_save
6761 test $ac_write_fail = 0 ||
6762 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6765 # configure is writing to config.log, and then calls config.status.
6766 # config.status does its own redirection, appending to config.log.
6767 # Unfortunately, on DOS this fails, as config.log is still kept open
6768 # by configure, so config.status won't be able to write to it; its
6769 # output is simply discarded. So we exec the FD to /dev/null,
6770 # effectively closing config.log, so it can be properly (re)opened and
6771 # appended to by config.status. When coming back to configure, we
6772 # need to make the FD available again.
6773 if test "$no_create" != yes; then
6775 ac_config_status_args
=
6776 test "$silent" = yes &&
6777 ac_config_status_args
="$ac_config_status_args --quiet"
6779 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6781 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6782 # would make configure fail if this is the last instruction.
6783 $ac_cs_success || as_fn_exit $?
6785 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6787 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}