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
569 force_explicit_eh_registry
573 long_double_type_size
642 program_transform_name
655 enable_option_checking
661 enable_version_specific_runtime_libs
663 enable_maintainer_mode
666 with_system_libunwind
667 enable_sjlj_exceptions
668 enable_explicit_exception_frame_registration
669 enable_offload_targets
672 ac_precious_vars
='build_alias
683 # Initialize some variables set by options.
685 ac_init_version
=false
686 ac_unrecognized_opts
=
688 # The variables have the same names as the options, with
689 # dashes changed to underlines.
697 program_transform_name
=s
,x
,x
,
705 # Installation directory options.
706 # These are left unexpanded so users can "make install exec_prefix=/foo"
707 # and all the variables that are supposed to be based on exec_prefix
708 # by default will actually change.
709 # Use braces instead of parens because sh, perl, etc. also accept them.
710 # (The list follows the same order as the GNU Coding Standards.)
711 bindir
='${exec_prefix}/bin'
712 sbindir
='${exec_prefix}/sbin'
713 libexecdir
='${exec_prefix}/libexec'
714 datarootdir
='${prefix}/share'
715 datadir
='${datarootdir}'
716 sysconfdir
='${prefix}/etc'
717 sharedstatedir
='${prefix}/com'
718 localstatedir
='${prefix}/var'
719 includedir
='${prefix}/include'
720 oldincludedir
='/usr/include'
721 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
722 infodir
='${datarootdir}/info'
727 libdir
='${exec_prefix}/lib'
728 localedir
='${datarootdir}/locale'
729 mandir
='${datarootdir}/man'
735 # If the previous option needs an argument, assign it.
736 if test -n "$ac_prev"; then
737 eval $ac_prev=\
$ac_option
743 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
747 # Accept the important Cygnus configure options, so we can diagnose typos.
749 case $ac_dashdash$ac_option in
753 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
755 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
758 -build |
--build |
--buil |
--bui |
--bu)
759 ac_prev
=build_alias
;;
760 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
761 build_alias
=$ac_optarg ;;
763 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
764 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
765 ac_prev
=cache_file
;;
766 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
767 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
768 cache_file
=$ac_optarg ;;
771 cache_file
=config.cache
;;
773 -datadir |
--datadir |
--datadi |
--datad)
775 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
776 datadir
=$ac_optarg ;;
778 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
779 |
--dataroo |
--dataro |
--datar)
780 ac_prev
=datarootdir
;;
781 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
782 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
783 datarootdir
=$ac_optarg ;;
785 -disable-* |
--disable-*)
786 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
789 as_fn_error
"invalid feature name: $ac_useropt"
790 ac_useropt_orig
=$ac_useropt
791 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
792 case $ac_user_opts in
796 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
797 ac_unrecognized_sep
=', ';;
799 eval enable_
$ac_useropt=no
;;
801 -docdir |
--docdir |
--docdi |
--doc |
--do)
803 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
806 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
808 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
811 -enable-* |
--enable-*)
812 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
815 as_fn_error
"invalid feature name: $ac_useropt"
816 ac_useropt_orig
=$ac_useropt
817 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818 case $ac_user_opts in
822 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
823 ac_unrecognized_sep
=', ';;
825 eval enable_
$ac_useropt=\
$ac_optarg ;;
827 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
828 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
829 |
--exec |
--exe |
--ex)
830 ac_prev
=exec_prefix
;;
831 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
832 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
833 |
--exec=* |
--exe=* |
--ex=*)
834 exec_prefix
=$ac_optarg ;;
836 -gas |
--gas |
--ga |
--g)
837 # Obsolete; use --with-gas.
840 -help |
--help |
--hel |
--he |
-h)
842 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
843 ac_init_help
=recursive
;;
844 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
845 ac_init_help
=short
;;
847 -host |
--host |
--hos |
--ho)
848 ac_prev
=host_alias
;;
849 -host=* |
--host=* |
--hos=* |
--ho=*)
850 host_alias
=$ac_optarg ;;
852 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
854 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
856 htmldir
=$ac_optarg ;;
858 -includedir |
--includedir |
--includedi |
--included |
--include \
859 |
--includ |
--inclu |
--incl |
--inc)
860 ac_prev
=includedir
;;
861 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
862 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
863 includedir
=$ac_optarg ;;
865 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
867 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
868 infodir
=$ac_optarg ;;
870 -libdir |
--libdir |
--libdi |
--libd)
872 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
875 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
876 |
--libexe |
--libex |
--libe)
877 ac_prev
=libexecdir
;;
878 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
879 |
--libexe=* |
--libex=* |
--libe=*)
880 libexecdir
=$ac_optarg ;;
882 -localedir |
--localedir |
--localedi |
--localed |
--locale)
884 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
885 localedir
=$ac_optarg ;;
887 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
888 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
889 ac_prev
=localstatedir
;;
890 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
891 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
892 localstatedir
=$ac_optarg ;;
894 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
896 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
900 # Obsolete; use --without-fp.
903 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
904 |
--no-cr |
--no-c |
-n)
907 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
908 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
911 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
912 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
913 |
--oldin |
--oldi |
--old |
--ol |
--o)
914 ac_prev
=oldincludedir
;;
915 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
916 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
917 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
918 oldincludedir
=$ac_optarg ;;
920 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
922 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
925 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
926 |
--program-pre |
--program-pr |
--program-p)
927 ac_prev
=program_prefix
;;
928 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
929 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
930 program_prefix
=$ac_optarg ;;
932 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
933 |
--program-suf |
--program-su |
--program-s)
934 ac_prev
=program_suffix
;;
935 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
936 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
937 program_suffix
=$ac_optarg ;;
939 -program-transform-name |
--program-transform-name \
940 |
--program-transform-nam |
--program-transform-na \
941 |
--program-transform-n |
--program-transform- \
942 |
--program-transform |
--program-transfor \
943 |
--program-transfo |
--program-transf \
944 |
--program-trans |
--program-tran \
945 |
--progr-tra |
--program-tr |
--program-t)
946 ac_prev
=program_transform_name
;;
947 -program-transform-name=* |
--program-transform-name=* \
948 |
--program-transform-nam=* |
--program-transform-na=* \
949 |
--program-transform-n=* |
--program-transform-=* \
950 |
--program-transform=* |
--program-transfor=* \
951 |
--program-transfo=* |
--program-transf=* \
952 |
--program-trans=* |
--program-tran=* \
953 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
954 program_transform_name
=$ac_optarg ;;
956 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
958 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
961 -psdir |
--psdir |
--psdi |
--psd |
--ps)
963 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
966 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
967 |
-silent |
--silent |
--silen |
--sile |
--sil)
970 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
972 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
974 sbindir
=$ac_optarg ;;
976 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
977 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
978 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
980 ac_prev
=sharedstatedir
;;
981 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
982 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
983 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
985 sharedstatedir
=$ac_optarg ;;
987 -site |
--site |
--sit)
989 -site=* |
--site=* |
--sit=*)
992 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
994 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
997 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
998 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
999 ac_prev
=sysconfdir
;;
1000 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1001 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1002 sysconfdir
=$ac_optarg ;;
1004 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1005 ac_prev
=target_alias
;;
1006 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1007 target_alias
=$ac_optarg ;;
1009 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1012 -version |
--version |
--versio |
--versi |
--vers |
-V)
1013 ac_init_version
=: ;;
1016 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1019 as_fn_error
"invalid package name: $ac_useropt"
1020 ac_useropt_orig
=$ac_useropt
1021 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1026 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1027 ac_unrecognized_sep
=', ';;
1029 eval with_
$ac_useropt=\
$ac_optarg ;;
1031 -without-* |
--without-*)
1032 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1035 as_fn_error
"invalid package name: $ac_useropt"
1036 ac_useropt_orig
=$ac_useropt
1037 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1042 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1043 ac_unrecognized_sep
=', ';;
1045 eval with_
$ac_useropt=no
;;
1048 # Obsolete; use --with-x.
1051 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1052 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1053 ac_prev
=x_includes
;;
1054 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1055 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1056 x_includes
=$ac_optarg ;;
1058 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1059 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1060 ac_prev
=x_libraries
;;
1061 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1062 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1063 x_libraries
=$ac_optarg ;;
1065 -*) as_fn_error
"unrecognized option: \`$ac_option'
1066 Try \`$0 --help' for more information."
1070 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1071 # Reject names that are not valid shell variable names.
1072 case $ac_envvar in #(
1073 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1074 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1076 eval $ac_envvar=\
$ac_optarg
1077 export $ac_envvar ;;
1080 # FIXME: should be removed in autoconf 3.0.
1081 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1082 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1083 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1084 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1090 if test -n "$ac_prev"; then
1091 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1092 as_fn_error
"missing argument to $ac_option"
1095 if test -n "$ac_unrecognized_opts"; then
1096 case $enable_option_checking in
1098 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1099 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1103 # Check all directory arguments for consistency.
1104 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1105 datadir sysconfdir sharedstatedir localstatedir includedir \
1106 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1107 libdir localedir mandir
1109 eval ac_val
=\$
$ac_var
1110 # Remove trailing slashes.
1113 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1114 eval $ac_var=\
$ac_val;;
1116 # Be sure to have absolute directory names.
1118 [\\/$
]* | ?
:[\\/]* ) continue;;
1119 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1121 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1124 # There might be people who depend on the old broken behavior: `$host'
1125 # used to hold the argument of --host etc.
1126 # FIXME: To remove some day.
1129 target
=$target_alias
1131 # FIXME: To remove some day.
1132 if test "x$host_alias" != x
; then
1133 if test "x$build_alias" = x
; then
1134 cross_compiling
=maybe
1135 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1136 If a cross compiler is detected then cross compile mode will be used." >&2
1137 elif test "x$build_alias" != "x$host_alias"; then
1143 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1145 test "$silent" = yes && exec 6>/dev
/null
1148 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1149 ac_ls_di
=`ls -di .` &&
1150 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1151 as_fn_error
"working directory cannot be determined"
1152 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1153 as_fn_error
"pwd does not report name of working directory"
1156 # Find the source files, if location was not specified.
1157 if test -z "$srcdir"; then
1158 ac_srcdir_defaulted
=yes
1159 # Try the directory containing this script, then the parent directory.
1160 ac_confdir
=`$as_dirname -- "$as_myself" ||
1161 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1162 X"$as_myself" : 'X\(//\)[^/]' \| \
1163 X"$as_myself" : 'X\(//\)$' \| \
1164 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1165 $as_echo X"$as_myself" |
1166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1184 if test ! -r "$srcdir/$ac_unique_file"; then
1188 ac_srcdir_defaulted
=no
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1191 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1192 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1194 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1196 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1198 # When building in place, set srcdir=.
1199 if test "$ac_abs_confdir" = "$ac_pwd"; then
1202 # Remove unnecessary trailing slashes from srcdir.
1203 # Double slashes in file names in object file debugging info
1204 # mess up M-x gdb in Emacs.
1206 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1208 for ac_var
in $ac_precious_vars; do
1209 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1210 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1211 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1212 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1216 # Report the --help message.
1218 if test "$ac_init_help" = "long"; then
1219 # Omit some internal or obsolete options to make the list less imposing.
1220 # This message is too long to be a string in the A/UX 3.1 sh.
1222 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1224 Usage: $0 [OPTION]... [VAR=VALUE]...
1226 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1227 VAR=VALUE. See below for descriptions of some of the useful variables.
1229 Defaults for the options are specified in brackets.
1232 -h, --help display this help and exit
1233 --help=short display options specific to this package
1234 --help=recursive display the short help of all the included packages
1235 -V, --version display version information and exit
1236 -q, --quiet, --silent do not print \`checking...' messages
1237 --cache-file=FILE cache test results in FILE [disabled]
1238 -C, --config-cache alias for \`--cache-file=config.cache'
1239 -n, --no-create do not create output files
1240 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1242 Installation directories:
1243 --prefix=PREFIX install architecture-independent files in PREFIX
1244 [$ac_default_prefix]
1245 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1248 By default, \`make install' will install all the files in
1249 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1250 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1251 for instance \`--prefix=\$HOME'.
1253 For better control, use the options below.
1255 Fine tuning of the installation directories:
1256 --bindir=DIR user executables [EPREFIX/bin]
1257 --sbindir=DIR system admin executables [EPREFIX/sbin]
1258 --libexecdir=DIR program executables [EPREFIX/libexec]
1259 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1260 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1261 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1262 --libdir=DIR object code libraries [EPREFIX/lib]
1263 --includedir=DIR C header files [PREFIX/include]
1264 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1265 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1266 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1267 --infodir=DIR info documentation [DATAROOTDIR/info]
1268 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1269 --mandir=DIR man documentation [DATAROOTDIR/man]
1270 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1271 --htmldir=DIR html documentation [DOCDIR]
1272 --dvidir=DIR dvi documentation [DOCDIR]
1273 --pdfdir=DIR pdf documentation [DOCDIR]
1274 --psdir=DIR ps documentation [DOCDIR]
1280 --build=BUILD configure
for building on BUILD
[guessed
]
1281 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1285 if test -n "$ac_init_help"; then
1286 case $ac_init_help in
1287 short | recursive
) echo "Configuration of GNU C Runtime Library 1.0:";;
1292 --disable-option-checking ignore unrecognized
--enable/--with options
1293 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1294 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1295 --disable-shared don
't provide a shared libgcc
1296 --enable-vtable-verify Enable vtable verification feature
1297 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1298 --enable-maintainer-mode
1299 enable make rules and dependencies not useful (and
1300 sometimes confusing) to the casual installer
1301 --enable-decimal-float={no,yes,bid,dpd}
1302 enable decimal float extension to C. Selecting 'bid
'
1303 or 'dpd
' choses which decimal floating point format
1305 --enable-sjlj-exceptions
1306 force use of builtin_setjmp for exceptions
1307 --enable-explicit-exception-frame-registration
1308 register exception tables explicitly at module
1309 start, for use e.g. for compatibility with
1310 installations without PT_GNU_EH_FRAME support
1311 --enable-offload-targets=LIST
1312 enable offloading to devices from LIST
1313 --enable-tls Use thread-local storage [default=yes]
1316 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1317 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1318 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
1319 --with-cross-host=HOST Configuring with a cross compiler
1320 --with-ld arrange to use the specified ld (full pathname)
1321 --with-slibdir=DIR shared libraries in DIR LIBDIR
1322 --with-build-libsubdir=DIR Directory where to find libraries for build system
1323 --with-system-libunwind use installed libunwind
1325 Some influential environment variables:
1326 CC C compiler command
1327 CFLAGS C compiler flags
1328 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1329 nonstandard directory <lib dir>
1330 LIBS libraries to pass to the linker, e.g. -l<library>
1331 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1332 you have headers in a nonstandard directory <include dir>
1335 Use these variables to override the choices made by `configure' or to
help
1336 it to
find libraries and programs with nonstandard names
/locations.
1338 Report bugs to the package provider.
1339 GNU C Runtime Library home page
: <http
://www.gnu.org
/software
/libgcc
/>.
1340 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1345 if test "$ac_init_help" = "recursive"; then
1346 # If there are subdirs, report their specific --help.
1347 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1348 test -d "$ac_dir" ||
1349 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1354 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1356 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1357 # A ".." for each directory in $ac_dir_suffix.
1358 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1359 case $ac_top_builddir_sub in
1360 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1361 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1364 ac_abs_top_builddir
=$ac_pwd
1365 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1366 # for backward compatibility:
1367 ac_top_builddir
=$ac_top_build_prefix
1370 .
) # We are building in place.
1372 ac_top_srcdir
=$ac_top_builddir_sub
1373 ac_abs_top_srcdir
=$ac_pwd ;;
1374 [\\/]* | ?
:[\\/]* ) # Absolute name.
1375 ac_srcdir
=$srcdir$ac_dir_suffix;
1376 ac_top_srcdir
=$srcdir
1377 ac_abs_top_srcdir
=$srcdir ;;
1379 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1380 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1381 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1383 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1385 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1386 # Check for guested configure.
1387 if test -f "$ac_srcdir/configure.gnu"; then
1389 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1390 elif test -f "$ac_srcdir/configure"; then
1392 $SHELL "$ac_srcdir/configure" --help=recursive
1394 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1396 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1400 test -n "$ac_init_help" && exit $ac_status
1401 if $ac_init_version; then
1403 GNU C Runtime Library configure
1.0
1404 generated by GNU Autoconf
2.64
1406 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1407 This configure
script is free software
; the Free Software Foundation
1408 gives unlimited permission to copy
, distribute and modify it.
1413 ## ------------------------ ##
1414 ## Autoconf initialization. ##
1415 ## ------------------------ ##
1417 # ac_fn_c_try_compile LINENO
1418 # --------------------------
1419 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1420 ac_fn_c_try_compile
()
1422 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1423 rm -f conftest.
$ac_objext
1424 if { { ac_try
="$ac_compile"
1426 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1427 *) ac_try_echo=$ac_try;;
1429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1430 $as_echo "$ac_try_echo"; } >&5
1431 (eval "$ac_compile") 2>conftest.err
1433 if test -s conftest.err; then
1434 grep -v '^ *+' conftest.err >conftest.er1
1435 cat conftest.er1 >&5
1436 mv -f conftest.er1 conftest.err
1438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1439 test $ac_status = 0; } && {
1440 test -z "$ac_c_werror_flag" ||
1441 test ! -s conftest.err
1442 } && test -s conftest.$ac_objext; then :
1445 $as_echo "$as_me: failed program was:" >&5
1446 sed 's/^/| /' conftest.$ac_ext >&5
1450 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1453 } # ac_fn_c_try_compile
1455 # ac_fn_c_try_cpp LINENO
1456 # ----------------------
1457 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1460 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1461 if { { ac_try="$ac_cpp conftest.$ac_ext"
1463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1464 *) ac_try_echo
=$ac_try;;
1466 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1467 $as_echo "$ac_try_echo"; } >&5
1468 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1470 if test -s conftest.err
; then
1471 grep -v '^ *+' conftest.err
>conftest.er1
1472 cat conftest.er1
>&5
1473 mv -f conftest.er1 conftest.err
1475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1476 test $ac_status = 0; } >/dev
/null
&& {
1477 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1478 test ! -s conftest.err
1482 $as_echo "$as_me: failed program was:" >&5
1483 sed 's/^/| /' conftest.
$ac_ext >&5
1487 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1492 # ac_fn_c_try_run LINENO
1493 # ----------------------
1494 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1495 # that executables *can* be run.
1498 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1499 if { { ac_try
="$ac_link"
1501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1502 *) ac_try_echo=$ac_try;;
1504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1505 $as_echo "$ac_try_echo"; } >&5
1506 (eval "$ac_link") 2>&5
1508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1509 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1510 { { case "(($ac_try" in
1511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1512 *) ac_try_echo
=$ac_try;;
1514 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1515 $as_echo "$ac_try_echo"; } >&5
1516 (eval "$ac_try") 2>&5
1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1519 test $ac_status = 0; }; }; then :
1522 $as_echo "$as_me: program exited with status $ac_status" >&5
1523 $as_echo "$as_me: failed program was:" >&5
1524 sed 's/^/| /' conftest.
$ac_ext >&5
1526 ac_retval
=$ac_status
1528 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1529 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1534 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1535 # --------------------------------------------
1536 # Tries to find the compile-time value of EXPR in a program that includes
1537 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1539 ac_fn_c_compute_int
()
1541 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1542 if test "$cross_compiling" = yes; then
1543 # Depending upon the size, compute the lo and hi bounds.
1544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1545 /* end confdefs.h. */
1550 static int test_array [1 - 2 * !(($2) >= 0)];
1557 if ac_fn_c_try_compile
"$LINENO"; then :
1560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1561 /* end confdefs.h. */
1566 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1573 if ac_fn_c_try_compile
"$LINENO"; then :
1574 ac_hi
=$ac_mid; break
1576 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1577 if test $ac_lo -le $ac_mid; then
1581 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1587 /* end confdefs.h. */
1592 static int test_array [1 - 2 * !(($2) < 0)];
1599 if ac_fn_c_try_compile
"$LINENO"; then :
1602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1603 /* end confdefs.h. */
1608 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1615 if ac_fn_c_try_compile
"$LINENO"; then :
1616 ac_lo
=$ac_mid; break
1618 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1619 if test $ac_mid -le $ac_hi; then
1623 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1633 # Binary search between lo and hi bounds.
1634 while test "x$ac_lo" != "x$ac_hi"; do
1635 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1637 /* end confdefs.h. */
1642 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1649 if ac_fn_c_try_compile
"$LINENO"; then :
1652 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1657 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1662 /* end confdefs.h. */
1664 static long int longval () { return $2; }
1665 static unsigned long int ulongval () { return $2; }
1672 FILE *f = fopen ("conftest.val", "w");
1677 long int i = longval ();
1680 fprintf (f, "%ld", i);
1684 unsigned long int i = ulongval ();
1687 fprintf (f, "%lu", i);
1689 /* Do not output a trailing newline, as this causes \r\n confusion
1690 on some platforms. */
1691 return ferror (f) || fclose (f) != 0;
1697 if ac_fn_c_try_run
"$LINENO"; then :
1698 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
1702 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
1703 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1707 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1710 } # ac_fn_c_compute_int
1711 cat >config.log
<<_ACEOF
1712 This file contains any messages produced by compilers while
1713 running configure, to aid debugging if configure makes a mistake.
1715 It was created by GNU C Runtime Library $as_me 1.0, which was
1716 generated by GNU Autoconf 2.64. Invocation command line was
1728 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1729 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1730 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1731 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1732 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1734 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1735 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1737 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1738 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1739 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1740 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1741 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1742 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1743 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1751 test -z "$as_dir" && as_dir
=.
1752 $as_echo "PATH: $as_dir"
1768 # Keep a trace of the command line.
1769 # Strip out --no-create and --no-recursion so they do not pile up.
1770 # Strip out --silent because we don't want to record it for future runs.
1771 # Also quote any args containing shell meta-characters.
1772 # Make two passes to allow for proper duplicate-argument suppression.
1776 ac_must_keep_next
=false
1782 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1783 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1784 |
-silent |
--silent |
--silen |
--sile |
--sil)
1787 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1790 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1792 as_fn_append ac_configure_args1
" '$ac_arg'"
1793 if test $ac_must_keep_next = true
; then
1794 ac_must_keep_next
=false
# Got value, back to normal.
1797 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1798 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1799 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1800 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1801 case "$ac_configure_args0 " in
1802 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1805 -* ) ac_must_keep_next
=true
;;
1808 as_fn_append ac_configure_args
" '$ac_arg'"
1813 { ac_configure_args0
=; unset ac_configure_args0
;}
1814 { ac_configure_args1
=; unset ac_configure_args1
;}
1816 # When interrupted or exit'd, cleanup temporary files, and complete
1817 # config.log. We remove comments because anyway the quotes in there
1818 # would cause problems or look ugly.
1819 # WARNING: Use '\'' to represent an apostrophe within the trap.
1820 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1821 trap 'exit_status=$?
1822 # Save into config.log some information that might help in debugging.
1827 ## ---------------- ##
1828 ## Cache variables. ##
1829 ## ---------------- ##
1832 # The following way of writing the cache mishandles newlines in values,
1834 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1835 eval ac_val=\$$ac_var
1839 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1840 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1843 _ | IFS | as_nl) ;; #(
1844 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1845 *) { eval $ac_var=; unset $ac_var;} ;;
1850 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1851 *${as_nl}ac_space=\ *)
1853 "s/'\''/'\''\\\\'\'''\''/g;
1854 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1857 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1865 ## ----------------- ##
1866 ## Output variables. ##
1867 ## ----------------- ##
1870 for ac_var in $ac_subst_vars
1872 eval ac_val=\$$ac_var
1874 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1876 $as_echo "$ac_var='\''$ac_val'\''"
1880 if test -n "$ac_subst_files"; then
1882 ## ------------------- ##
1883 ## File substitutions. ##
1884 ## ------------------- ##
1887 for ac_var
in $ac_subst_files
1889 eval ac_val
=\$
$ac_var
1891 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1893 $as_echo "$ac_var='\''$ac_val'\''"
1898 if test -s confdefs.h; then
1908 test "$ac_signal" != 0 &&
1909 $as_echo "$as_me: caught signal $ac_signal"
1910 $as_echo "$as_me: exit $exit_status"
1912 rm -f core *.core core.conftest.* &&
1913 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1916 for ac_signal
in 1 2 13 15; do
1917 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1921 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1922 rm -f -r conftest
* confdefs.h
1924 $as_echo "/* confdefs.h */" > confdefs.h
1926 # Predefined preprocessor variables.
1928 cat >>confdefs.h
<<_ACEOF
1929 #define PACKAGE_NAME "$PACKAGE_NAME"
1932 cat >>confdefs.h
<<_ACEOF
1933 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1936 cat >>confdefs.h
<<_ACEOF
1937 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1940 cat >>confdefs.h
<<_ACEOF
1941 #define PACKAGE_STRING "$PACKAGE_STRING"
1944 cat >>confdefs.h
<<_ACEOF
1945 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1948 cat >>confdefs.h
<<_ACEOF
1949 #define PACKAGE_URL "$PACKAGE_URL"
1953 # Let the site file select an alternate cache file if it wants to.
1954 # Prefer an explicitly selected file to automatically selected ones.
1957 if test -n "$CONFIG_SITE"; then
1958 ac_site_file1
=$CONFIG_SITE
1959 elif test "x$prefix" != xNONE
; then
1960 ac_site_file1
=$prefix/share
/config.site
1961 ac_site_file2
=$prefix/etc
/config.site
1963 ac_site_file1
=$ac_default_prefix/share
/config.site
1964 ac_site_file2
=$ac_default_prefix/etc
/config.site
1966 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1968 test "x$ac_site_file" = xNONE
&& continue
1969 if test -r "$ac_site_file"; then
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1971 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1972 sed 's/^/| /' "$ac_site_file" >&5
1977 if test -r "$cache_file"; then
1978 # Some versions of bash will fail to source /dev/null (special
1979 # files actually), so we avoid doing that.
1980 if test -f "$cache_file"; then
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1982 $as_echo "$as_me: loading cache $cache_file" >&6;}
1984 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1985 *) .
"./$cache_file";;
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1990 $as_echo "$as_me: creating cache $cache_file" >&6;}
1994 # Check that the precious variables saved in the cache have kept the same
1996 ac_cache_corrupted
=false
1997 for ac_var
in $ac_precious_vars; do
1998 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1999 eval ac_new_set
=\
$ac_env_${ac_var}_set
2000 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2001 eval ac_new_val
=\
$ac_env_${ac_var}_value
2002 case $ac_old_set,$ac_new_set in
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2005 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2006 ac_cache_corrupted
=: ;;
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2009 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2010 ac_cache_corrupted
=: ;;
2013 if test "x$ac_old_val" != "x$ac_new_val"; then
2014 # differences in whitespace do not lead to failure.
2015 ac_old_val_w
=`echo x $ac_old_val`
2016 ac_new_val_w
=`echo x $ac_new_val`
2017 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2019 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2020 ac_cache_corrupted
=:
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2023 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2024 eval $ac_var=\
$ac_old_val
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2027 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2029 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2032 # Pass precious variables to config.status.
2033 if test "$ac_new_set" = set; then
2035 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2036 *) ac_arg
=$ac_var=$ac_new_val ;;
2038 case " $ac_configure_args " in
2039 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2040 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2044 if $ac_cache_corrupted; then
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2048 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2049 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2051 ## -------------------- ##
2052 ## Main body of script. ##
2053 ## -------------------- ##
2056 ac_cpp
='$CPP $CPPFLAGS'
2057 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2058 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2059 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2067 # The libgcc should not depend on any header files
2071 # Check whether --with-target-subdir was given.
2072 if test "${with_target_subdir+set}" = set; then :
2073 withval
=$with_target_subdir;
2077 # Check whether --with-cross-host was given.
2078 if test "${with_cross_host+set}" = set; then :
2079 withval
=$with_cross_host;
2083 # Check whether --with-ld was given.
2084 if test "${with_ld+set}" = set; then :
2089 if test "${srcdir}" = "."; then
2090 if test -n "${with_build_subdir}"; then
2091 libgcc_topdir
="${srcdir}/../.."
2093 elif test -z "${with_target_subdir}"; then
2094 libgcc_topdir
="${srcdir}/.."
2096 if test "${with_target_subdir}" != "."; then
2097 libgcc_topdir
="${srcdir}/${with_multisrctop}../.."
2099 libgcc_topdir
="${srcdir}/${with_multisrctop}.."
2103 libgcc_topdir
="${srcdir}/.."
2107 for ac_dir
in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
2108 for ac_t
in install-sh
install.sh shtool
; do
2109 if test -f "$ac_dir/$ac_t"; then
2111 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2116 if test -z "$ac_aux_dir"; then
2117 as_fn_error
"cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
2120 # These three variables are undocumented and unsupported,
2121 # and are intended to be withdrawn in a future Autoconf release.
2122 # They can cause serious problems if a builder's source tree is in a directory
2123 # whose full name contains unusual characters.
2124 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2125 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2126 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2129 ac_config_headers
="$ac_config_headers auto-target.h:config.in"
2132 # Check whether --enable-shared was given.
2133 if test "${enable_shared+set}" = set; then :
2134 enableval
=$enable_shared;
2135 case $enable_shared in
2139 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2140 for pkg
in $enableval; do
2141 if test "X$pkg" = "Xgcc" ||
test "X$pkg" = "Xlibgcc"; then
2155 # Check whether --enable-vtable-verify was given.
2156 if test "${enable_vtable_verify+set}" = set; then :
2157 enableval
=$enable_vtable_verify; case "$enableval" in
2158 yes) enable_vtable_verify
=yes ;;
2159 no
) enable_vtable_verify
=no
;;
2160 *) enable_vtable_verify
=no
;;
2163 enable_vtable_verify
=no
2168 # Make sure we can run config.sub.
2169 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2170 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2173 $as_echo_n "checking build system type... " >&6; }
2174 if test "${ac_cv_build+set}" = set; then :
2175 $as_echo_n "(cached) " >&6
2177 ac_build_alias
=$build_alias
2178 test "x$ac_build_alias" = x
&&
2179 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2180 test "x$ac_build_alias" = x
&&
2181 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2182 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2183 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2187 $as_echo "$ac_cv_build" >&6; }
2188 case $ac_cv_build in
2190 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2193 ac_save_IFS
=$IFS; IFS
='-'
2199 # Remember, the first character of IFS is used to create $*,
2200 # except with old shells:
2203 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2207 $as_echo_n "checking host system type... " >&6; }
2208 if test "${ac_cv_host+set}" = set; then :
2209 $as_echo_n "(cached) " >&6
2211 if test "x$host_alias" = x
; then
2212 ac_cv_host
=$ac_cv_build
2214 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2215 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2220 $as_echo "$ac_cv_host" >&6; }
2223 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2226 ac_save_IFS
=$IFS; IFS
='-'
2232 # Remember, the first character of IFS is used to create $*,
2233 # except with old shells:
2236 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2244 # PIC is the default on some targets or must not be used.
2246 # PIC is the default on this platform
2247 # Common symbols not allowed in MH_DYLIB files
2251 # PIC is the default.
2254 # PIC is the default for 64-bit PA HP-UX.
2256 i
[34567]86-*-cygwin* | x86_64-
*-cygwin*)
2258 i
[34567]86-*-mingw* | x86_64-
*-mingw*)
2260 i
[34567]86-*-interix[3-9]*)
2261 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2262 # Instead, we relocate shared libraries at runtime.
2264 i
[34567]86-*-nto-qnx*)
2265 # QNX uses GNU C++, but need to define -shared option too, otherwise
2267 PICFLAG
='-fPIC -shared'
2269 i
[34567]86-pc-msdosdjgpp*)
2270 # DJGPP does not support shared libraries at all.
2273 # On IA64 HP-UX, PIC is the default but the pic flag
2274 # sets the default TLS model and affects inlining.
2278 # PIC is the default.
2280 rs6000-ibm-aix
* | powerpc-ibm-aix
*)
2281 # All AIX code is PIC.
2284 # Some targets support both -fPIC and -fpic, but prefer the latter.
2286 i
[34567]86-*-* | x86_64-
*-*)
2289 # FIXME: Override -fPIC default in libgcc only?
2290 sh-
*-linux* | sh
[2346lbe
]*-*-linux*)
2293 # FIXME: Simplify to sh*-*-netbsd*?
2294 sh-
*-netbsdelf* | shl
*-*-netbsdelf* | sh5-
*-netbsd* | sh5l
*-*-netbsd* | \
2295 sh64-
*-netbsd* | sh64l
*-*-netbsd*)
2298 # Default to -fPIC unless specified otherwise.
2304 # If the user explicitly uses -fpic/-fPIC, keep that.
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2317 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2318 # Check whether --enable-version-specific-runtime-libs was given.
2319 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2320 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2321 yes) version_specific_libs
=yes ;;
2322 no
) version_specific_libs
=no
;;
2323 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2326 version_specific_libs
=no
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2330 $as_echo "$version_specific_libs" >&6; }
2333 # Check whether --with-slibdir was given.
2334 if test "${with_slibdir+set}" = set; then :
2335 withval
=$with_slibdir; slibdir
="$with_slibdir"
2337 if test "${version_specific_libs}" = yes; then
2338 slibdir
='$(libsubdir)'
2339 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
2340 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
2348 # Command-line options.
2349 # Very limited version of AC_MAINTAINER_MODE.
2350 # Check whether --enable-maintainer-mode was given.
2351 if test "${enable_maintainer_mode+set}" = set; then :
2352 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2355 *) as_fn_error
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2357 maintainer_mode
=${enableval}
2363 # Find a good install program. We prefer a C program (faster),
2364 # so one script is as good as another. But avoid the broken or
2365 # incompatible versions:
2366 # SysV /etc/install, /usr/sbin/install
2367 # SunOS /usr/etc/install
2368 # IRIX /sbin/install
2370 # AmigaOS /C/install, which installs bootblocks on floppy discs
2371 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2372 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2373 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2374 # OS/2's system install, which has a completely different semantic
2375 # ./install, which can be erroneously created by make from ./install.sh.
2376 # Reject install programs that cannot install multiple files.
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2378 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2379 if test -z "$INSTALL"; then
2380 if test "${ac_cv_path_install+set}" = set; then :
2381 $as_echo_n "(cached) " >&6
2383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2387 test -z "$as_dir" && as_dir
=.
2388 # Account for people who put trailing slashes in PATH elements.
2389 case $as_dir/ in #((
2390 .
/ | .
// |
/[cC
]/* | \
2391 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2392 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2395 # OSF1 and SCO ODT 3.0 have their own names for install.
2396 # Don't use installbsd from OSF since it installs stuff as root
2398 for ac_prog
in ginstall scoinst
install; do
2399 for ac_exec_ext
in '' $ac_executable_extensions; do
2400 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2401 if test $ac_prog = install &&
2402 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2403 # AIX install. It has an incompatible calling convention.
2405 elif test $ac_prog = install &&
2406 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2407 # program-specific install script used by HP pwplus--don't use.
2410 rm -rf conftest.one conftest.two conftest.dir
2411 echo one
> conftest.one
2412 echo two
> conftest.two
2414 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2415 test -s conftest.one
&& test -s conftest.two
&&
2416 test -s conftest.dir
/conftest.one
&&
2417 test -s conftest.dir
/conftest.two
2419 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2432 rm -rf conftest.one conftest.two conftest.dir
2435 if test "${ac_cv_path_install+set}" = set; then
2436 INSTALL
=$ac_cv_path_install
2438 # As a last resort, use the slow shell script. Don't cache a
2439 # value for INSTALL within a source directory, because that will
2440 # break other packages using the cache if that directory is
2441 # removed, or if the value is a relative name.
2442 INSTALL
=$ac_install_sh
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2446 $as_echo "$INSTALL" >&6; }
2448 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2449 # It thinks the first close brace ends the variable substitution.
2450 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2452 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2454 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2457 for ac_prog
in gawk mawk nawk
awk
2459 # Extract the first word of "$ac_prog", so it can be a program name with args.
2460 set dummy
$ac_prog; ac_word
=$2
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2462 $as_echo_n "checking for $ac_word... " >&6; }
2463 if test "${ac_cv_prog_AWK+set}" = set; then :
2464 $as_echo_n "(cached) " >&6
2466 if test -n "$AWK"; then
2467 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2473 test -z "$as_dir" && as_dir
=.
2474 for ac_exec_ext
in '' $ac_executable_extensions; do
2475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2476 ac_cv_prog_AWK
="$ac_prog"
2477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2487 if test -n "$AWK"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2489 $as_echo "$AWK" >&6; }
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2492 $as_echo "no" >&6; }
2496 test -n "$AWK" && break
2499 # We need awk; bail out if it's missing.
2501 "") as_fn_error
"can't build without awk, bailing out" "$LINENO" 5 ;;
2505 case ${build_alias} in
2506 "") build_noncanonical
=${build} ;;
2507 *) build_noncanonical
=${build_alias} ;;
2510 case ${host_alias} in
2511 "") host_noncanonical
=${build_noncanonical} ;;
2512 *) host_noncanonical
=${host_alias} ;;
2517 case ${target_alias} in
2518 "") target_noncanonical
=${host_noncanonical} ;;
2519 *) target_noncanonical
=${target_alias} ;;
2525 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2526 # have matching libraries, they should use host libraries: Makefile.tpl
2527 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2528 # However, they still use the build modules, because the corresponding
2529 # host modules (e.g. bison) are only built for the host when bootstrap
2531 # - build_subdir is where we find build modules, and never changes.
2532 # - build_libsubdir is where we find build libraries, and can be overridden.
2534 # Prefix 'build-' so this never conflicts with target_subdir.
2535 build_subdir
="build-${build_noncanonical}"
2537 # Check whether --with-build-libsubdir was given.
2538 if test "${with_build_libsubdir+set}" = set; then :
2539 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2541 build_libsubdir
="$build_subdir"
2544 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2545 if ( test $srcdir = .
&& test -d gcc
) \
2546 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2547 host_subdir
="host-${host_noncanonical}"
2552 target_subdir
=${target_noncanonical}
2555 # Calculate toolexeclibdir
2556 # Also toolexecdir, though it's only used in toolexeclibdir
2557 case ${version_specific_libs} in
2559 # Need the gcc compiler version to know where to install libraries
2560 # and header files if --enable-version-specific-runtime-libs option
2562 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
2563 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2566 if test -n "$with_cross_host" &&
2567 test x
"$with_cross_host" != x
"no"; then
2568 # Install a library built with a cross compiler in tooldir, not libdir.
2569 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
2570 toolexeclibdir
='$(toolexecdir)/lib'
2572 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
2573 toolexeclibdir
='$(libdir)'
2575 multi_os_directory
=`$CC -print-multi-os-directory`
2576 case $multi_os_directory in
2577 .
) ;; # Avoid trailing /.
2578 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2585 if test -n "$ac_tool_prefix"; then
2586 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2587 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2589 $as_echo_n "checking for $ac_word... " >&6; }
2590 if test "${ac_cv_prog_AR+set}" = set; then :
2591 $as_echo_n "(cached) " >&6
2593 if test -n "$AR"; then
2594 ac_cv_prog_AR
="$AR" # Let the user override the test.
2596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2600 test -z "$as_dir" && as_dir
=.
2601 for ac_exec_ext
in '' $ac_executable_extensions; do
2602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2603 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 if test -n "$AR"; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2616 $as_echo "$AR" >&6; }
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2619 $as_echo "no" >&6; }
2624 if test -z "$ac_cv_prog_AR"; then
2626 # Extract the first word of "ar", so it can be a program name with args.
2627 set dummy
ar; ac_word
=$2
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2629 $as_echo_n "checking for $ac_word... " >&6; }
2630 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2631 $as_echo_n "(cached) " >&6
2633 if test -n "$ac_ct_AR"; then
2634 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2640 test -z "$as_dir" && as_dir
=.
2641 for ac_exec_ext
in '' $ac_executable_extensions; do
2642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2643 ac_cv_prog_ac_ct_AR
="ar"
2644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2654 if test -n "$ac_ct_AR"; then
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2656 $as_echo "$ac_ct_AR" >&6; }
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2659 $as_echo "no" >&6; }
2662 if test "x$ac_ct_AR" = x
; then
2665 case $cross_compiling:$ac_tool_warned in
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2669 ac_tool_warned
=yes ;;
2677 if test -n "$ac_tool_prefix"; then
2678 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2679 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if test "${ac_cv_prog_LIPO+set}" = set; then :
2683 $as_echo_n "(cached) " >&6
2685 if test -n "$LIPO"; then
2686 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
2688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2692 test -z "$as_dir" && as_dir
=.
2693 for ac_exec_ext
in '' $ac_executable_extensions; do
2694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
2696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2705 LIPO
=$ac_cv_prog_LIPO
2706 if test -n "$LIPO"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2708 $as_echo "$LIPO" >&6; }
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2716 if test -z "$ac_cv_prog_LIPO"; then
2718 # Extract the first word of "lipo", so it can be a program name with args.
2719 set dummy lipo
; ac_word
=$2
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721 $as_echo_n "checking for $ac_word... " >&6; }
2722 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
2723 $as_echo_n "(cached) " >&6
2725 if test -n "$ac_ct_LIPO"; then
2726 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
2728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2732 test -z "$as_dir" && as_dir
=.
2733 for ac_exec_ext
in '' $ac_executable_extensions; do
2734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735 ac_cv_prog_ac_ct_LIPO
="lipo"
2736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
2746 if test -n "$ac_ct_LIPO"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2748 $as_echo "$ac_ct_LIPO" >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2754 if test "x$ac_ct_LIPO" = x
; then
2757 case $cross_compiling:$ac_tool_warned in
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2761 ac_tool_warned
=yes ;;
2766 LIPO
="$ac_cv_prog_LIPO"
2769 if test -n "$ac_tool_prefix"; then
2770 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2771 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2773 $as_echo_n "checking for $ac_word... " >&6; }
2774 if test "${ac_cv_prog_NM+set}" = set; then :
2775 $as_echo_n "(cached) " >&6
2777 if test -n "$NM"; then
2778 ac_cv_prog_NM
="$NM" # Let the user override the test.
2780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2784 test -z "$as_dir" && as_dir
=.
2785 for ac_exec_ext
in '' $ac_executable_extensions; do
2786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2787 ac_cv_prog_NM
="${ac_tool_prefix}nm"
2788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2798 if test -n "$NM"; then
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2800 $as_echo "$NM" >&6; }
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2803 $as_echo "no" >&6; }
2808 if test -z "$ac_cv_prog_NM"; then
2810 # Extract the first word of "nm", so it can be a program name with args.
2811 set dummy nm
; ac_word
=$2
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2813 $as_echo_n "checking for $ac_word... " >&6; }
2814 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
2815 $as_echo_n "(cached) " >&6
2817 if test -n "$ac_ct_NM"; then
2818 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
2820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir
=.
2825 for ac_exec_ext
in '' $ac_executable_extensions; do
2826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2827 ac_cv_prog_ac_ct_NM
="nm"
2828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2837 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
2838 if test -n "$ac_ct_NM"; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
2840 $as_echo "$ac_ct_NM" >&6; }
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843 $as_echo "no" >&6; }
2846 if test "x$ac_ct_NM" = x
; then
2849 case $cross_compiling:$ac_tool_warned in
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2853 ac_tool_warned
=yes ;;
2861 if test -n "$ac_tool_prefix"; then
2862 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2863 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2865 $as_echo_n "checking for $ac_word... " >&6; }
2866 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2867 $as_echo_n "(cached) " >&6
2869 if test -n "$RANLIB"; then
2870 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir
=.
2877 for ac_exec_ext
in '' $ac_executable_extensions; do
2878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2879 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889 RANLIB
=$ac_cv_prog_RANLIB
2890 if test -n "$RANLIB"; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2892 $as_echo "$RANLIB" >&6; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2900 if test -z "$ac_cv_prog_RANLIB"; then
2901 ac_ct_RANLIB
=$RANLIB
2902 # Extract the first word of "ranlib", so it can be a program name with args.
2903 set dummy ranlib
; ac_word
=$2
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2905 $as_echo_n "checking for $ac_word... " >&6; }
2906 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2907 $as_echo_n "(cached) " >&6
2909 if test -n "$ac_ct_RANLIB"; then
2910 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir
=.
2917 for ac_exec_ext
in '' $ac_executable_extensions; do
2918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2919 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2930 if test -n "$ac_ct_RANLIB"; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2932 $as_echo "$ac_ct_RANLIB" >&6; }
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2938 if test "x$ac_ct_RANLIB" = x
; then
2941 case $cross_compiling:$ac_tool_warned in
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2945 ac_tool_warned
=yes ;;
2947 RANLIB
=$ac_ct_RANLIB
2950 RANLIB
="$ac_cv_prog_RANLIB"
2953 if test -n "$ac_tool_prefix"; then
2954 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2955 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957 $as_echo_n "checking for $ac_word... " >&6; }
2958 if test "${ac_cv_prog_STRIP+set}" = set; then :
2959 $as_echo_n "(cached) " >&6
2961 if test -n "$STRIP"; then
2962 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2968 test -z "$as_dir" && as_dir
=.
2969 for ac_exec_ext
in '' $ac_executable_extensions; do
2970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2971 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2981 STRIP
=$ac_cv_prog_STRIP
2982 if test -n "$STRIP"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2984 $as_echo "$STRIP" >&6; }
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987 $as_echo "no" >&6; }
2992 if test -z "$ac_cv_prog_STRIP"; then
2994 # Extract the first word of "strip", so it can be a program name with args.
2995 set dummy strip
; ac_word
=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2999 $as_echo_n "(cached) " >&6
3001 if test -n "$ac_ct_STRIP"; then
3002 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir
=.
3009 for ac_exec_ext
in '' $ac_executable_extensions; do
3010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3011 ac_cv_prog_ac_ct_STRIP
="strip"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3022 if test -n "$ac_ct_STRIP"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3024 $as_echo "$ac_ct_STRIP" >&6; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3030 if test "x$ac_ct_STRIP" = x
; then
3033 case $cross_compiling:$ac_tool_warned in
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3037 ac_tool_warned
=yes ;;
3042 STRIP
="$ac_cv_prog_STRIP"
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3046 $as_echo_n "checking whether ln -s works... " >&6; }
3048 if test "$LN_S" = "ln -s"; then
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3050 $as_echo "yes" >&6; }
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3053 $as_echo "no, using $LN_S" >&6; }
3059 ac_cpp
='$CPP $CPPFLAGS'
3060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3063 if test -n "$ac_tool_prefix"; then
3064 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3065 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067 $as_echo_n "checking for $ac_word... " >&6; }
3068 if test "${ac_cv_prog_CC+set}" = set; then :
3069 $as_echo_n "(cached) " >&6
3071 if test -n "$CC"; then
3072 ac_cv_prog_CC
="$CC" # Let the user override the test.
3074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3078 test -z "$as_dir" && as_dir
=.
3079 for ac_exec_ext
in '' $ac_executable_extensions; do
3080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3081 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 if test -n "$CC"; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3094 $as_echo "$CC" >&6; }
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3102 if test -z "$ac_cv_prog_CC"; then
3104 # Extract the first word of "gcc", so it can be a program name with args.
3105 set dummy gcc
; ac_word
=$2
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3107 $as_echo_n "checking for $ac_word... " >&6; }
3108 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3109 $as_echo_n "(cached) " >&6
3111 if test -n "$ac_ct_CC"; then
3112 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3118 test -z "$as_dir" && as_dir
=.
3119 for ac_exec_ext
in '' $ac_executable_extensions; do
3120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3121 ac_cv_prog_ac_ct_CC
="gcc"
3122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3131 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3132 if test -n "$ac_ct_CC"; then
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3134 $as_echo "$ac_ct_CC" >&6; }
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137 $as_echo "no" >&6; }
3140 if test "x$ac_ct_CC" = x
; then
3143 case $cross_compiling:$ac_tool_warned in
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3147 ac_tool_warned
=yes ;;
3155 if test -z "$CC"; then
3156 if test -n "$ac_tool_prefix"; then
3157 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3158 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160 $as_echo_n "checking for $ac_word... " >&6; }
3161 if test "${ac_cv_prog_CC+set}" = set; then :
3162 $as_echo_n "(cached) " >&6
3164 if test -n "$CC"; then
3165 ac_cv_prog_CC
="$CC" # Let the user override the test.
3167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3171 test -z "$as_dir" && as_dir
=.
3172 for ac_exec_ext
in '' $ac_executable_extensions; do
3173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3174 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3185 if test -n "$CC"; then
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3187 $as_echo "$CC" >&6; }
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3196 if test -z "$CC"; then
3197 # Extract the first word of "cc", so it can be a program name with args.
3198 set dummy cc
; ac_word
=$2
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200 $as_echo_n "checking for $ac_word... " >&6; }
3201 if test "${ac_cv_prog_CC+set}" = set; then :
3202 $as_echo_n "(cached) " >&6
3204 if test -n "$CC"; then
3205 ac_cv_prog_CC
="$CC" # Let the user override the test.
3208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3212 test -z "$as_dir" && as_dir
=.
3213 for ac_exec_ext
in '' $ac_executable_extensions; do
3214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3215 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3216 ac_prog_rejected
=yes
3220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 if test $ac_prog_rejected = yes; then
3228 # We found a bogon in the path, so make sure we never use it.
3229 set dummy
$ac_cv_prog_CC
3231 if test $# != 0; then
3232 # We chose a different compiler from the bogus one.
3233 # However, it has the same basename, so the bogon will be chosen
3234 # first if we set CC to just the basename; use the full file name.
3236 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3242 if test -n "$CC"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3244 $as_echo "$CC" >&6; }
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3252 if test -z "$CC"; then
3253 if test -n "$ac_tool_prefix"; then
3254 for ac_prog
in cl.exe
3256 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3257 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3259 $as_echo_n "checking for $ac_word... " >&6; }
3260 if test "${ac_cv_prog_CC+set}" = set; then :
3261 $as_echo_n "(cached) " >&6
3263 if test -n "$CC"; then
3264 ac_cv_prog_CC
="$CC" # Let the user override the test.
3266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3270 test -z "$as_dir" && as_dir
=.
3271 for ac_exec_ext
in '' $ac_executable_extensions; do
3272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3273 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3284 if test -n "$CC"; then
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3286 $as_echo "$CC" >&6; }
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3289 $as_echo "no" >&6; }
3293 test -n "$CC" && break
3296 if test -z "$CC"; then
3298 for ac_prog
in cl.exe
3300 # Extract the first word of "$ac_prog", so it can be a program name with args.
3301 set dummy
$ac_prog; ac_word
=$2
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3303 $as_echo_n "checking for $ac_word... " >&6; }
3304 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3305 $as_echo_n "(cached) " >&6
3307 if test -n "$ac_ct_CC"; then
3308 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3314 test -z "$as_dir" && as_dir
=.
3315 for ac_exec_ext
in '' $ac_executable_extensions; do
3316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3317 ac_cv_prog_ac_ct_CC
="$ac_prog"
3318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3327 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3328 if test -n "$ac_ct_CC"; then
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3330 $as_echo "$ac_ct_CC" >&6; }
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3333 $as_echo "no" >&6; }
3337 test -n "$ac_ct_CC" && break
3340 if test "x$ac_ct_CC" = x
; then
3343 case $cross_compiling:$ac_tool_warned in
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3347 ac_tool_warned
=yes ;;
3356 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358 as_fn_error
"no acceptable C compiler found in \$PATH
3359 See \`config.log' for more details." "$LINENO" 5; }
3361 # Provide some information about the compiler.
3362 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3365 for ac_option
in --version -v -V -qversion; do
3366 { { ac_try
="$ac_compiler $ac_option >&5"
3368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3369 *) ac_try_echo=$ac_try;;
3371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3372 $as_echo "$ac_try_echo"; } >&5
3373 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3375 if test -s conftest.err; then
3377 ... rest of stderr output deleted ...
3378 10q' conftest.err >conftest.er1
3379 cat conftest.er1 >&5
3380 rm -f conftest.er1 conftest.err
3382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3383 test $ac_status = 0; }
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3398 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3399 (eval $ac_link) 2>&5
3401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3402 test $ac_status = 0; }; then :
3407 if test x$gcc_no_link = xyes; then
3408 # Setting cross_compile will disable run tests; it will
3409 # also disable AC_CHECK_FILE but that's generally
3410 # correct if we can't link.
3414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h. */
3425 ac_clean_files_save=$ac_clean_files
3426 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3427 # Try to create an executable without -o first, disregard a.out.
3428 # It will help us diagnose broken compilers, and finding out an intuition
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3431 $as_echo_n "checking for C compiler default output file name... " >&6; }
3432 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3434 # The possible output files:
3435 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3438 for ac_file in $ac_files
3441 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3442 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3447 if { { ac_try="$ac_link_default"
3449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3450 *) ac_try_echo
=$ac_try;;
3452 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3453 $as_echo "$ac_try_echo"; } >&5
3454 (eval "$ac_link_default") 2>&5
3456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3457 test $ac_status = 0; }; then :
3458 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3459 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3460 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3461 # so that the user can short-circuit this test for compilers unknown to
3463 for ac_file
in $ac_files ''
3465 test -f "$ac_file" ||
continue
3467 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3470 # We found the default executable, but exeext='' is most
3474 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3476 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3478 # We set ac_cv_exeext here because the later test for it is not
3479 # safe: cross compilers may not add the suffix if given an `-o'
3480 # argument, so we may need to know it at that point already.
3481 # Even if this section looks crufty: it has the advantage of
3488 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3494 $as_echo "$ac_file" >&6; }
3495 if test -z "$ac_file"; then :
3496 $as_echo "$as_me: failed program was:" >&5
3497 sed 's/^/| /' conftest.
$ac_ext >&5
3499 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3501 { as_fn_set_status
77
3502 as_fn_error
"C compiler cannot create executables
3503 See \`config.log' for more details." "$LINENO" 5; }; }
3505 ac_exeext
=$ac_cv_exeext
3507 # Check that the compiler produces executables we can run. If not, either
3508 # the compiler is broken, or we cross compile.
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3510 $as_echo_n "checking whether the C compiler works... " >&6; }
3511 # If not cross compiling, check that we can run a simple program.
3512 if test "$cross_compiling" != yes; then
3513 if { ac_try
='./$ac_file'
3514 { { case "(($ac_try" in
3515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3519 $as_echo "$ac_try_echo"; } >&5
3520 (eval "$ac_try") 2>&5
3522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3523 test $ac_status = 0; }; }; then
3526 if test "$cross_compiling" = maybe; then
3529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3531 as_fn_error "cannot run C compiled programs.
3532 If you meant to cross compile
, use \
`--host'.
3533 See \`config.log
' for more details." "$LINENO" 5; }
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3538 $as_echo "yes" >&6; }
3540 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3541 ac_clean_files=$ac_clean_files_save
3542 # Check that the compiler produces executables we can run. If not, either
3543 # the compiler is broken, or we cross compile.
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3545 $as_echo_n "checking whether we are cross compiling... " >&6; }
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3547 $as_echo "$cross_compiling" >&6; }
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3550 $as_echo_n "checking for suffix of executables... " >&6; }
3551 if { { ac_try="$ac_link"
3553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554 *) ac_try_echo=$ac_try;;
3556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3557 $as_echo "$ac_try_echo"; } >&5
3558 (eval "$ac_link") 2>&5
3560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3561 test $ac_status = 0; }; then :
3562 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3563 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3564 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3566 for ac_file
in conftest.exe conftest conftest.
*; do
3567 test -f "$ac_file" ||
continue
3569 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3570 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3578 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3579 See \`config.log' for more details." "$LINENO" 5; }
3581 rm -f conftest
$ac_cv_exeext
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3583 $as_echo "$ac_cv_exeext" >&6; }
3585 rm -f conftest.
$ac_ext
3586 EXEEXT
=$ac_cv_exeext
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3590 $as_echo_n "checking for suffix of object files... " >&6; }
3591 if test "${ac_cv_objext+set}" = set; then :
3592 $as_echo_n "(cached) " >&6
3594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3605 rm -f conftest.o conftest.obj
3606 if { { ac_try
="$ac_compile"
3608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3609 *) ac_try_echo=$ac_try;;
3611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3612 $as_echo "$ac_try_echo"; } >&5
3613 (eval "$ac_compile") 2>&5
3615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3616 test $ac_status = 0; }; then :
3617 for ac_file in conftest.o conftest.obj conftest.*; do
3618 test -f "$ac_file" || continue;
3620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3621 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3626 $as_echo "$as_me: failed program was:" >&5
3627 sed 's/^/| /' conftest.$ac_ext >&5
3629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631 as_fn_error "cannot compute suffix of object files
: cannot compile
3632 See \
`config.log' for more details." "$LINENO" 5; }
3634 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3637 $as_echo "$ac_cv_objext" >&6; }
3638 OBJEXT=$ac_cv_objext
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3641 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3642 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3643 $as_echo_n "(cached) " >&6
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3659 if ac_fn_c_try_compile "$LINENO"; then :
3664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3669 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3670 if test $ac_compiler_gnu = yes; then
3675 ac_test_CFLAGS=${CFLAGS+set}
3676 ac_save_CFLAGS=$CFLAGS
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3678 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3679 if test "${ac_cv_prog_cc_g+set}" = set; then :
3680 $as_echo_n "(cached) " >&6
3682 ac_save_c_werror_flag=$ac_c_werror_flag
3683 ac_c_werror_flag=yes
3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3697 if ac_fn_c_try_compile "$LINENO"; then :
3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3712 if ac_fn_c_try_compile "$LINENO"; then :
3715 ac_c_werror_flag=$ac_save_c_werror_flag
3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h. */
3728 if ac_fn_c_try_compile "$LINENO"; then :
3731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3736 ac_c_werror_flag=$ac_save_c_werror_flag
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3739 $as_echo "$ac_cv_prog_cc_g" >&6; }
3740 if test "$ac_test_CFLAGS" = set; then
3741 CFLAGS=$ac_save_CFLAGS
3742 elif test $ac_cv_prog_cc_g = yes; then
3743 if test "$GCC" = yes; then
3749 if test "$GCC" = yes; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3756 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3757 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3758 $as_echo_n "(cached) " >&6
3760 ac_cv_prog_cc_c89=no
3762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h. */
3766 #include <sys/types.h>
3767 #include <sys/stat.h>
3768 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3769 struct buf { int x; };
3770 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3771 static char *e (p, i)
3777 static char *f (char * (*g) (char **, int), char **p, ...)
3782 s = g (p, va_arg (v,int));
3787 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3788 function prototypes and stuff, but not '\xHH' hex character constants.
3789 These don't provoke an error unfortunately, instead are silently treated
3790 as 'x'. The following induces an error, until -std is added to get
3791 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3792 array size at least. It's necessary to write '\x00'==0 to get something
3793 that's true only with -std. */
3794 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3796 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3797 inside strings and character constants. */
3799 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3801 int test (int i, double x);
3802 struct s1 {int (*f) (int a);};
3803 struct s2 {int (*f) (double a);};
3804 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3810 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3815 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3816 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3818 CC="$ac_save_CC $ac_arg"
3819 if ac_fn_c_try_compile "$LINENO"; then :
3820 ac_cv_prog_cc_c89=$ac_arg
3822 rm -f core conftest.err conftest.$ac_objext
3823 test "x$ac_cv_prog_cc_c89" != "xno" && break
3825 rm -f conftest.$ac_ext
3830 case "x$ac_cv_prog_cc_c89" in
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3833 $as_echo "none needed" >&6; } ;;
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3836 $as_echo "unsupported" >&6; } ;;
3838 CC="$CC $ac_cv_prog_cc_c89"
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3840 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3842 if test "x$ac_cv_prog_cc_c89" != xno; then :
3847 ac_cpp='$CPP $CPPFLAGS'
3848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3853 ac_cpp='$CPP $CPPFLAGS'
3854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3858 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3859 # On Suns, sometimes $CPP names a directory.
3860 if test -n "$CPP" && test -d "$CPP"; then
3863 if test -z "$CPP"; then
3864 if test "${ac_cv_prog_CPP+set}" = set; then :
3865 $as_echo_n "(cached) " >&6
3867 # Double quotes because CPP needs to be expanded
3868 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3871 for ac_c_preproc_warn_flag in '' yes
3873 # Use a header file that comes with gcc, so configuring glibc
3874 # with a fresh cross-compiler works.
3875 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3876 # <limits.h> exists even on freestanding compilers.
3877 # On the NeXT, cc -E runs the code through the compiler's parser,
3878 # not just through cpp. "Syntax error" is here to catch this case.
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3882 # include <limits.h>
3884 # include <assert.h>
3888 if ac_fn_c_try_cpp "$LINENO"; then :
3891 # Broken: fails on valid input.
3894 rm -f conftest.err conftest.$ac_ext
3896 # OK, works on sane cases. Now check whether nonexistent headers
3897 # can be detected and how.
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3900 #include <ac_nonexistent.h>
3902 if ac_fn_c_try_cpp "$LINENO"; then :
3903 # Broken: success on invalid input.
3906 # Passes both tests.
3910 rm -f conftest.err conftest.$ac_ext
3913 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3914 rm -f conftest.err conftest.
$ac_ext
3915 if $ac_preproc_ok; then :
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3928 $as_echo "$CPP" >&6; }
3930 for ac_c_preproc_warn_flag
in '' yes
3932 # Use a header file that comes with gcc, so configuring glibc
3933 # with a fresh cross-compiler works.
3934 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3935 # <limits.h> exists even on freestanding compilers.
3936 # On the NeXT, cc -E runs the code through the compiler's parser,
3937 # not just through cpp. "Syntax error" is here to catch this case.
3938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3941 # include <limits.h>
3943 # include <assert.h>
3947 if ac_fn_c_try_cpp
"$LINENO"; then :
3950 # Broken: fails on valid input.
3953 rm -f conftest.err conftest.
$ac_ext
3955 # OK, works on sane cases. Now check whether nonexistent headers
3956 # can be detected and how.
3957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3958 /* end confdefs.h. */
3959 #include <ac_nonexistent.h>
3961 if ac_fn_c_try_cpp
"$LINENO"; then :
3962 # Broken: success on invalid input.
3965 # Passes both tests.
3969 rm -f conftest.err conftest.
$ac_ext
3972 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3973 rm -f conftest.err conftest.
$ac_ext
3974 if $ac_preproc_ok; then :
3977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3979 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3980 See \`config.log' for more details." "$LINENO" 5; }
3984 ac_cpp
='$CPP $CPPFLAGS'
3985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3990 ac_c_preproc_warn_flag
=yes
3994 # The cast to long int works around a bug in the HP C Compiler
3995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3997 # This bug is HP SR number 8606223364.
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
3999 $as_echo_n "checking size of double... " >&6; }
4000 if test "${ac_cv_sizeof_double+set}" = set; then :
4001 $as_echo_n "(cached) " >&6
4003 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
4006 if test "$ac_cv_type_double" = yes; then
4007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4009 { as_fn_set_status
77
4010 as_fn_error
"cannot compute sizeof (double)
4011 See \`config.log' for more details." "$LINENO" 5; }; }
4013 ac_cv_sizeof_double
=0
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
4019 $as_echo "$ac_cv_sizeof_double" >&6; }
4023 cat >>confdefs.h
<<_ACEOF
4024 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
4028 # The cast to long int works around a bug in the HP C Compiler
4029 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4030 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4031 # This bug is HP SR number 8606223364.
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
4033 $as_echo_n "checking size of long double... " >&6; }
4034 if test "${ac_cv_sizeof_long_double+set}" = set; then :
4035 $as_echo_n "(cached) " >&6
4037 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
4040 if test "$ac_cv_type_long_double" = yes; then
4041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4043 { as_fn_set_status
77
4044 as_fn_error
"cannot compute sizeof (long double)
4045 See \`config.log' for more details." "$LINENO" 5; }; }
4047 ac_cv_sizeof_long_double
=0
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
4053 $as_echo "$ac_cv_sizeof_long_double" >&6; }
4057 cat >>confdefs.h
<<_ACEOF
4058 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
4062 as_fn_arith
$ac_cv_sizeof_double \
* 8 && double_type_size
=$as_val
4063 as_fn_arith
$ac_cv_sizeof_long_double \
* 8 && long_double_type_size
=$as_val
4067 # Check for decimal float support.
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
4069 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
4070 if test "${libgcc_cv_dfp+set}" = set; then :
4071 $as_echo_n "(cached) " >&6
4073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4084 FE_INVALID|FE_DIVBYZERO|FE_OVERFLOW|FE_UNDERFLOW|FE_INEXACT;
4090 if ac_fn_c_try_compile
"$LINENO"; then :
4095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
4098 $as_echo "$libgcc_cv_dfp" >&6; }
4099 decimal_float
=$libgcc_cv_dfp
4103 # Check whether --enable-decimal-float was given.
4104 if test "${enable_decimal_float+set}" = set; then :
4105 enableval
=$enable_decimal_float;
4106 case $enable_decimal_float in
4107 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4108 *) as_fn_error
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4109 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4115 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4117 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4118 i?
86*-*-cygwin* | x86_64
*-*-cygwin*)
4119 enable_decimal_float
=yes
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4123 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4124 enable_decimal_float
=no
4131 # x86's use BID format instead of DPD
4132 case x
$enable_decimal_float in
4135 i?
86*-*-* | x86_64
*-*-*)
4136 enable_decimal_float
=bid
4139 enable_decimal_float
=dpd
4142 default_decimal_float
=$enable_decimal_float
4145 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4146 # dependency on libdecnumber.
4147 default_decimal_float
=dpd
4154 # Check for fixed-point support.
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
4156 $as_echo_n "checking whether fixed-point is supported... " >&6; }
4157 if test "${libgcc_cv_fixed_point+set}" = set; then :
4158 $as_echo_n "(cached) " >&6
4160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4164 if ac_fn_c_try_compile
"$LINENO"; then :
4165 libgcc_cv_fixed_point
=yes
4167 libgcc_cv_fixed_point
=no
4169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
4172 $as_echo "$libgcc_cv_fixed_point" >&6; }
4173 fixed_point
=$libgcc_cv_fixed_point
4176 # For platforms with the unwind ABI which includes an unwind library,
4177 # libunwind, we can choose to use the system libunwind.
4178 # config.gcc also contains tests of with_system_libunwind.
4181 # Check whether --with-system-libunwind was given.
4182 if test "${with_system_libunwind+set}" = set; then :
4183 withval
=$with_system_libunwind;
4186 # If system-libunwind was not specifically set, pick a default setting.
4187 if test x
$with_system_libunwind = x
; then
4189 ia64-
*-hpux*) with_system_libunwind
=yes ;;
4190 *) with_system_libunwind
=no
;;
4193 # Based on system-libunwind and target, do we have ipinfo?
4194 if test x
$with_system_libunwind = xyes
; then
4196 ia64-
*-*) have_unwind_getipinfo
=no
;;
4197 *) have_unwind_getipinfo
=yes ;;
4200 # Darwin before version 9 does not have _Unwind_GetIPInfo.
4203 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
4204 *) have_unwind_getipinfo
=yes ;;
4209 if test x
$have_unwind_getipinfo = xyes
; then
4211 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
4216 # The sjlj test is almost duplicated here and in libgo/configure.ac (for C),
4217 # libstdc++-v3/acinclude.m4 and libjava/configure.ac (for C++), and
4218 # libobjc/configure.ac (for Objective-C).
4219 # FIXME: This should be centralized in config/sjlj.m4.
4220 # Check whether --enable-sjlj-exceptions was given.
4221 if test "${enable_sjlj_exceptions+set}" = set; then :
4222 enableval
=$enable_sjlj_exceptions; case "$enableval" in
4224 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
4227 enable_sjlj_exceptions
=auto
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
4232 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
4233 if test "${libgcc_cv_lib_sjlj_exceptions+set}" = set; then :
4234 $as_echo_n "(cached) " >&6
4236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4243 int i __attribute__ ((cleanup (clean)));
4249 CFLAGS
="--save-temps -fexceptions"
4250 libgcc_cv_lib_sjlj_exceptions
=unknown
4251 if ac_fn_c_try_compile
; then :
4252 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
4253 libgcc_cv_lib_sjlj_exceptions
=yes
4254 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
4255 libgcc_cv_lib_sjlj_exceptions
=no
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_lib_sjlj_exceptions" >&5
4263 $as_echo "$libgcc_cv_lib_sjlj_exceptions" >&6; }
4265 if test "$enable_sjlj_exceptions" = "auto"; then
4266 enable_sjlj_exceptions
=$libgcc_cv_lib_sjlj_exceptions
4269 case $enable_sjlj_exceptions in
4272 $as_echo "#define LIBGCC_SJLJ_EXCEPTIONS 1" >>confdefs.h
4278 as_fn_error
"unable to detect exception model" "$LINENO" 5
4282 # Check whether --enable-explicit-exception-frame-registration was given.
4283 if test "${enable_explicit_exception_frame_registration+set}" = set; then :
4284 enableval
=$enable_explicit_exception_frame_registration;
4285 force_explicit_eh_registry
=
4286 if test "$enable_explicit_exception_frame_registration" = yes; then
4287 if test "$enable_sjlj_exceptions" = yes; then
4288 as_fn_error
"Can't enable both of --enable-sjlj-exceptions
4289 and --enable-explicit-exception-frame-registration" "$LINENO" 5
4291 force_explicit_eh_registry
=-DUSE_EH_FRAME_REGISTRY_ALWAYS
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4299 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4300 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4301 $as_echo_n "(cached) " >&6
4303 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4304 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4305 acl_cv_prog_gnu_ld
=yes
4307 acl_cv_prog_gnu_ld
=no
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4311 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4312 with_gnu_ld
=$acl_cv_prog_gnu_ld
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
4316 $as_echo_n "checking for thread model used by GCC... " >&6; }
4317 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
4319 $as_echo "$target_thread_file" >&6; }
4321 # Check for assembler CFI support.
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
4323 $as_echo_n "checking whether assembler supports CFI directives... " >&6; }
4324 if test "${libgcc_cv_cfi+set}" = set; then :
4325 $as_echo_n "(cached) " >&6
4327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4332 .cfi_personality 0, symbol\n\
4335 if ac_fn_c_try_compile
"$LINENO"; then :
4340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
4343 $as_echo "$libgcc_cv_cfi" >&6; }
4345 # Check 32bit or 64bit. In the case of MIPS, this really determines the
4346 # word size rather than the address size.
4347 cat > conftest.c
<<EOF
4348 #if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) \
4349 || defined(__mips64)
4355 eval `${CC-cc} -E conftest.c | grep host_address=`
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target is hard-float" >&5
4361 $as_echo_n "checking whether the target is hard-float... " >&6; }
4362 if test "${libgcc_cv_mips_hard_float+set}" = set; then :
4363 $as_echo_n "(cached) " >&6
4365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4367 #ifndef __mips_hard_float
4371 if ac_fn_c_try_compile
"$LINENO"; then :
4372 libgcc_cv_mips_hard_float
=yes
4374 libgcc_cv_mips_hard_float
=no
4376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_mips_hard_float" >&5
4379 $as_echo "$libgcc_cv_mips_hard_float" >&6; }
4382 # Determine floating-point type for powerpc*-*-linux*.
4383 # Single-precision-only FPRs are not a supported configuration for
4384 # this target, so are not allowed for in this test.
4387 cat > conftest.c
<<EOF
4388 #ifdef __powerpc64__
4390 #elif defined _SOFT_FLOAT
4392 #elif defined _SOFT_DOUBLE
4394 #elif defined __NO_FPRS__
4400 eval `${CC-cc} -E conftest.c | grep ppc_fp_type=`
4405 # Collect host-machine-specific information.
4406 .
${srcdir}/config.
host
4408 # Check whether --enable-offload-targets was given.
4409 if test "${enable_offload_targets+set}" = set; then :
4410 enableval
=$enable_offload_targets;
4411 if test x
"$enable_offload_targets" = x
; then
4412 as_fn_error
"no offload targets specified" "$LINENO" 5
4416 enable_offload_targets
=
4419 if test x
"$enable_offload_targets" != x
; then
4420 extra_parts
="${extra_parts} crtompbegin.o crtompend.o"
4423 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
4424 # This is after config.host so we can augment tmake_file.
4425 # Link with -nostartfiles -nodefaultlibs since neither are present while
4428 i?
86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
4429 cat > conftest.s
<<EOF
4430 .section .eh_frame,"a",@unwind
4432 .section .jcr,"aw",@progbits
4435 if { ac_try
='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
4436 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4440 test $ac_status = 0; }; }; then
4441 tmake_file
="${tmake_file} i386/t-crtstuff"
4446 # Check for visibility support. This is after config.host so that
4447 # we can check for asm_hidden_op.
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
4449 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
4450 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then :
4451 $as_echo_n "(cached) " >&6
4454 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
4455 libgcc_cv_hidden_visibility_attribute
=no
4456 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
4457 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4461 test $ac_status = 0; }; }; then
4462 if grep "\\$asm_hidden_op.*foo" conftest.s
>/dev
/null
; then
4463 libgcc_cv_hidden_visibility_attribute
=yes
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
4470 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
4472 if test $libgcc_cv_hidden_visibility_attribute = yes; then
4473 vis_hide
='-fvisibility=hidden -DHIDE_EXPORTS'
4479 # See if we have thread-local storage. We can only test assembler
4480 # since link-time and run-time tests require the newly built
4481 # gcc, which can't be used to build executable due to that libgcc
4482 # is yet to be built here.
4484 # Check whether --enable-tls was given.
4485 if test "${enable_tls+set}" = set; then :
4486 enableval
=$enable_tls;
4487 case "$enableval" in
4489 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
4498 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
4499 if test "${gcc_cv_have_cc_tls+set}" = set; then :
4500 $as_echo_n "(cached) " >&6
4503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4505 __thread int a; int b; int main() { return a = b; }
4507 if ac_fn_c_try_compile
"$LINENO"; then :
4508 gcc_cv_have_cc_tls
=yes
4510 gcc_cv_have_cc_tls
=no
4512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
4516 $as_echo "$gcc_cv_have_cc_tls" >&6; }
4518 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
4519 set_have_cc_tls
="-DHAVE_CC_TLS"
4523 # See if we have emulated thread-local storage.
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
4526 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
4527 if test "${gcc_cv_use_emutls+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4531 gcc_cv_use_emutls
=no
4532 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
4533 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
4534 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4538 test $ac_status = 0; }; }; then
4539 if grep __emutls_get_address conftest.s
> /dev
/null
; then
4540 gcc_cv_use_emutls
=yes
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
4547 $as_echo "$gcc_cv_use_emutls" >&6; }
4548 if test "$gcc_cv_use_emutls" = "yes" ; then
4550 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
4554 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
4555 set_use_emutls
="-DUSE_EMUTLS"
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
4560 $as_echo_n "checking for init priority support... " >&6; }
4561 if test "${libgcc_cv_init_priority+set}" = set; then :
4562 $as_echo_n "(cached) " >&6
4565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4571 void ip (void) __attribute__ ((constructor (1)));
4576 if ac_fn_c_try_compile
"$LINENO"; then :
4577 libgcc_cv_init_priority
=yes
4579 libgcc_cv_init_priority
=no
4581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_init_priority" >&5
4584 $as_echo "$libgcc_cv_init_priority" >&6; }
4585 if test $libgcc_cv_init_priority = yes; then
4587 $as_echo "#define HAVE_INIT_PRIORITY 1" >>confdefs.h
4591 # Conditionalize the sfp-machine.h header for this target machine.
4592 if test -z "${sfp_machine_header}"; then
4593 sfp_machine_header
=$cpu_type/sfp-machine.h
4594 if test -f ${srcdir}/config
/${sfp_machine_header}; then
4597 sfp_machine_header
=no-sfp-machine.h
4602 # Conditionalize the makefile for this target machine.
4604 for f
in ${tmake_file}
4606 if test -f ${srcdir}/config
/$f
4608 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
4611 tmake_file
="${tmake_file_}"
4614 # Likewise export definitions for libgcc_tm.h
4618 tm_file_
="${tm_file_} \$(srcdir)/config/$f"
4620 tm_file
="${tm_file_}"
4624 # Map from thread model to thread header.
4626 case $target_thread_file in
4627 aix
) thread_header
=config
/rs6000
/gthr-aix.h
;;
4628 dce
) thread_header
=config
/pa
/gthr-dce.h
;;
4629 lynx
) thread_header
=config
/gthr-lynx.h
;;
4630 mipssde
) thread_header
=config
/mips
/gthr-mipssde.h
;;
4631 posix
) thread_header
=gthr-posix.h
;;
4632 rtems
) thread_header
=config
/gthr-rtems.h
;;
4633 single
) thread_header
=gthr-single.h
;;
4634 tpf
) thread_header
=config
/s390
/gthr-tpf.h
;;
4635 vxworks
) thread_header
=config
/gthr-vxworks.h
;;
4636 win32
) thread_header
=config
/i386
/gthr-win32.h
;;
4641 # Substitute configuration variables
4645 ac_config_links
="$ac_config_links enable-execute-stack.c:$enable_execute_stack"
4647 ac_config_links
="$ac_config_links unwind.h:$unwind_header"
4649 ac_config_links
="$ac_config_links md-unwind-support.h:config/$md_unwind_header"
4651 ac_config_links
="$ac_config_links sfp-machine.h:config/$sfp_machine_header"
4653 ac_config_links
="$ac_config_links gthr-default.h:$thread_header"
4656 # We need multilib support.
4657 ac_config_files
="$ac_config_files Makefile"
4659 ac_config_commands
="$ac_config_commands default"
4661 cat >confcache
<<\_ACEOF
4662 # This file is a shell script that caches the results of configure
4663 # tests run on this system so they can be shared between configure
4664 # scripts and configure runs, see configure's option --config-cache.
4665 # It is not useful on other systems. If it contains results you don't
4666 # want to keep, you may remove or edit it.
4668 # config.status only pays attention to the cache file if you give it
4669 # the --recheck option to rerun configure.
4671 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4672 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4677 # The following way of writing the cache mishandles newlines in values,
4678 # but we know of no workaround that is simple, portable, and efficient.
4679 # So, we kill variables containing newlines.
4680 # Ultrix sh set writes to stderr and can't be redirected directly,
4681 # and sets the high bit in the cache file unless we assign to the vars.
4683 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4684 eval ac_val
=\$
$ac_var
4688 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4689 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4692 _ | IFS | as_nl
) ;; #(
4693 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4694 *) { eval $ac_var=; unset $ac_var;} ;;
4700 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4701 *${as_nl}ac_space
=\
*)
4702 # `set' does not quote correctly, so add quotes: double-quote
4703 # substitution turns \\\\ into \\, and sed turns \\ into \.
4706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4709 # `set' quotes correctly as required by POSIX, so do not add quotes.
4710 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4719 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4721 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4723 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4724 if test -w "$cache_file"; then
4725 test "x$cache_file" != "x/dev/null" &&
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4727 $as_echo "$as_me: updating cache $cache_file" >&6;}
4728 cat confcache
>$cache_file
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4731 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4736 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4737 # Let make expand exec_prefix.
4738 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4740 DEFS
=-DHAVE_CONFIG_H
4744 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4745 # 1. Remove the extension, and $U if already installed.
4746 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4747 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4748 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4749 # will be set to the directory where LIBOBJS objects are built.
4750 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4751 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4755 LTLIBOBJS
=$ac_ltlibobjs
4759 : ${CONFIG_STATUS=./config.status}
4761 ac_clean_files_save
=$ac_clean_files
4762 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4764 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4766 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4768 # Generated by $as_me.
4769 # Run this file to recreate the current configuration.
4770 # Compiler output produced by configure, useful for debugging
4771 # configure, is in config.log if it exists.
4777 SHELL=\${CONFIG_SHELL-$SHELL}
4780 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4781 ## -------------------- ##
4782 ## M4sh Initialization. ##
4783 ## -------------------- ##
4785 # Be more Bourne compatible
4786 DUALCASE
=1; export DUALCASE
# for MKS sh
4787 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4790 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4791 # is contrary to our usage. Disable this feature.
4792 alias -g '${1+"$@"}'='"$@"'
4793 setopt NO_GLOB_SUBST
4795 case `(set -o) 2>/dev/null` in #(
4807 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4808 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4809 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4810 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4811 # Prefer a ksh shell builtin over an external printf program on Solaris,
4812 # but without wasting forks for bash or zsh.
4813 if test -z "$BASH_VERSION$ZSH_VERSION" \
4814 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4815 as_echo='print
-r --'
4816 as_echo_n='print
-rn --'
4817 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4818 as_echo='printf %s
\n'
4819 as_echo_n='printf %s
'
4821 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4822 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4823 as_echo_n='/usr
/ucb
/echo -n'
4825 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4826 as_echo_n_body='eval
4830 expr "X$arg" : "X\\(.*\\)$as_nl";
4831 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4833 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4835 export as_echo_n_body
4836 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4839 as_echo='sh
-c $as_echo_body as_echo
'
4842 # The user is always right.
4843 if test "${PATH_SEPARATOR+set}" != set; then
4845 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4846 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4853 # We need space, tab and new line, in precisely that order. Quoting is
4854 # there to prevent editors from complaining about space-tab.
4855 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4856 # splitting by setting IFS to empty value.)
4859 # Find who we are. Look in the path if we contain no directory separator.
4861 *[\\/]* ) as_myself=$0 ;;
4862 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4866 test -z "$as_dir" && as_dir=.
4867 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4873 # We did not find ourselves, most probably we were run as `sh COMMAND'
4874 # in which case we are not to be found in the path.
4875 if test "x$as_myself" = x
; then
4878 if test ! -f "$as_myself"; then
4879 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4883 # Unset variables that we do not need and which cause bugs (e.g. in
4884 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4885 # suppresses any "Segmentation fault" message there. '((' could
4886 # trigger a bug in pdksh 5.2.14.
4887 for as_var
in BASH_ENV ENV MAIL MAILPATH
4888 do eval test x\
${$as_var+set} = xset \
4889 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4902 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4905 # as_fn_error ERROR [LINENO LOG_FD]
4906 # ---------------------------------
4907 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4908 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4909 # script with status $?, using 1 if that was 0.
4912 as_status
=$?
; test $as_status -eq 0 && as_status
=1
4914 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4915 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4917 $as_echo "$as_me: error: $1" >&2
4918 as_fn_exit
$as_status
4922 # as_fn_set_status STATUS
4923 # -----------------------
4924 # Set $? to STATUS, without forking.
4928 } # as_fn_set_status
4932 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4942 # Portably unset VAR.
4945 { eval $1=; unset $1;}
4947 as_unset
=as_fn_unset
4948 # as_fn_append VAR VALUE
4949 # ----------------------
4950 # Append the text in VALUE to the end of the definition contained in VAR. Take
4951 # advantage of any shell optimizations that allow amortized linear growth over
4952 # repeated appends, instead of the typical quadratic growth present in naive
4954 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4955 eval 'as_fn_append ()
4966 # as_fn_arith ARG...
4967 # ------------------
4968 # Perform arithmetic evaluation on the ARGs, and store the result in the
4969 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4970 # must be portable across $(()) and expr.
4971 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4972 eval 'as_fn_arith ()
4979 as_val
=`expr "$@" || test $? -eq 1`
4984 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4985 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4991 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4992 as_basename
=basename
4997 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5003 as_me
=`$as_basename -- "$0" ||
5004 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5005 X"$0" : 'X\(//\)$' \| \
5006 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5008 sed '/^.*\/\([^/][^/]*\)\/*$/{
5022 # Avoid depending upon Character Ranges.
5023 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5024 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5025 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5026 as_cr_digits
='0123456789'
5027 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5029 ECHO_C
= ECHO_N
= ECHO_T
=
5030 case `echo -n x` in #(((((
5032 case `echo 'xy\c'` in
5033 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5035 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5042 rm -f conf$$ conf$$.exe conf$$.
file
5043 if test -d conf$$.dir
; then
5044 rm -f conf$$.dir
/conf$$.
file
5047 mkdir conf$$.dir
2>/dev
/null
5049 if (echo >conf$$.
file) 2>/dev
/null
; then
5050 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5052 # ... but there are two gotchas:
5053 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5054 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5055 # In both cases, we have to default to `cp -p'.
5056 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5058 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5066 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5067 rmdir conf$$.dir
2>/dev
/null
5072 # Create "$as_dir" as a directory, including parents if necessary.
5077 -*) as_dir
=.
/$as_dir;;
5079 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5083 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5084 *) as_qdir
=$as_dir;;
5086 as_dirs
="'$as_qdir' $as_dirs"
5087 as_dir
=`$as_dirname -- "$as_dir" ||
5088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5089 X"$as_dir" : 'X\(//\)[^/]' \| \
5090 X"$as_dir" : 'X\(//\)$' \| \
5091 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5092 $as_echo X"$as_dir" |
5093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5110 test -d "$as_dir" && break
5112 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5113 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
5117 if mkdir
-p .
2>/dev
/null
; then
5118 as_mkdir_p
='mkdir -p "$as_dir"'
5120 test -d .
/-p && rmdir .
/-p
5124 if test -x / >/dev
/null
2>&1; then
5127 if ls -dL / >/dev
/null
2>&1; then
5134 if test -d "$1"; then
5140 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5141 ???[sx]*):;;*)false;;esac;fi
5145 as_executable_p
=$as_test_x
5147 # Sed expression to map a string onto a valid CPP name.
5148 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5150 # Sed expression to map a string onto a valid variable name.
5151 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5155 ## ----------------------------------- ##
5156 ## Main body of $CONFIG_STATUS script. ##
5157 ## ----------------------------------- ##
5159 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5162 # Save the log message, to keep $0 and so on meaningful, and to
5163 # report actual input values of CONFIG_FILES etc. instead of their
5164 # values after options handling.
5166 This file was extended by GNU C Runtime Library $as_me 1.0, which was
5167 generated by GNU Autoconf 2.64. Invocation command line was
5169 CONFIG_FILES = $CONFIG_FILES
5170 CONFIG_HEADERS = $CONFIG_HEADERS
5171 CONFIG_LINKS = $CONFIG_LINKS
5172 CONFIG_COMMANDS = $CONFIG_COMMANDS
5175 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5180 case $ac_config_files in *"
5181 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5184 case $ac_config_headers in *"
5185 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5190 # Files that config.status was made for.
5191 config_files="$ac_config_files"
5192 config_headers="$ac_config_headers"
5193 config_links="$ac_config_links"
5194 config_commands="$ac_config_commands"
5198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5200 \`$as_me' instantiates files and other configuration actions
5201 from templates according to the current configuration. Unless the files
5202 and actions are specified as TAGs, all are instantiated by default.
5204 Usage: $0 [OPTION]... [TAG]...
5206 -h, --help print this help, then exit
5207 -V, --version print version number and configuration settings, then exit
5208 -q, --quiet, --silent
5209 do not print progress messages
5210 -d, --debug don't remove temporary files
5211 --recheck update $as_me by reconfiguring in the same conditions
5212 --file=FILE[:TEMPLATE]
5213 instantiate the configuration file FILE
5214 --header=FILE[:TEMPLATE]
5215 instantiate the configuration header FILE
5217 Configuration files:
5220 Configuration headers:
5223 Configuration links:
5226 Configuration commands:
5229 Report bugs to the package provider.
5230 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
5231 General help using GNU software: <http://www.gnu.org/gethelp/>."
5234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5236 GNU C Runtime Library config.status 1.0
5237 configured by $0, generated by GNU Autoconf 2.64,
5238 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5240 Copyright (C) 2009 Free Software Foundation, Inc.
5241 This config.status script is free software; the Free Software Foundation
5242 gives unlimited permission to copy, distribute and modify it."
5248 test -n "\$AWK" || AWK=awk
5251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5252 # The default lists apply if the user does not specify any file.
5258 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5259 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5270 # Handling of the options.
5271 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5273 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5274 $as_echo "$ac_cs_version"; exit ;;
5275 --debug |
--debu |
--deb |
--de |
--d |
-d )
5277 --file |
--fil |
--fi |
--f )
5280 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5282 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5283 ac_need_defaults
=false
;;
5284 --header |
--heade |
--head |
--hea )
5287 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5289 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5290 ac_need_defaults
=false
;;
5292 # Conflict between --help and --header
5293 as_fn_error
"ambiguous option: \`$1'
5294 Try \`$0 --help' for more information.";;
5295 --help |
--hel |
-h )
5296 $as_echo "$ac_cs_usage"; exit ;;
5297 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5298 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5302 -*) as_fn_error
"unrecognized option: \`$1'
5303 Try \`$0 --help' for more information." ;;
5305 *) as_fn_append ac_config_targets
" $1"
5306 ac_need_defaults
=false
;;
5312 ac_configure_extra_args
=
5314 if $ac_cs_silent; then
5316 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5321 if \$ac_cs_recheck; then
5322 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5324 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5325 CONFIG_SHELL='$SHELL'
5331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5335 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5336 ## Running $as_me. ##
5342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5348 with_target_subdir=${with_target_subdir}
5349 with_multisubdir=${with_multisubdir}
5350 ac_configure_args="--enable-multilib ${ac_configure_args}"
5351 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
5352 libgcc_topdir=${libgcc_topdir}
5358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5360 # Handling of arguments.
5361 for ac_config_target
in $ac_config_targets
5363 case $ac_config_target in
5364 "auto-target.h") CONFIG_HEADERS
="$CONFIG_HEADERS auto-target.h:config.in" ;;
5365 "enable-execute-stack.c") CONFIG_LINKS
="$CONFIG_LINKS enable-execute-stack.c:$enable_execute_stack" ;;
5366 "unwind.h") CONFIG_LINKS
="$CONFIG_LINKS unwind.h:$unwind_header" ;;
5367 "md-unwind-support.h") CONFIG_LINKS
="$CONFIG_LINKS md-unwind-support.h:config/$md_unwind_header" ;;
5368 "sfp-machine.h") CONFIG_LINKS
="$CONFIG_LINKS sfp-machine.h:config/$sfp_machine_header" ;;
5369 "gthr-default.h") CONFIG_LINKS
="$CONFIG_LINKS gthr-default.h:$thread_header" ;;
5370 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5371 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
5373 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5378 # If the user did not use the arguments to specify the items to instantiate,
5379 # then the envvar interface is used. Set only those that are not.
5380 # We use the long form for the default assignment because of an extremely
5381 # bizarre bug on SunOS 4.1.3.
5382 if $ac_need_defaults; then
5383 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5384 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5385 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
5386 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5389 # Have a temporary directory for convenience. Make it in the build tree
5390 # simply because there is no reason against having it here, and in addition,
5391 # creating and moving files from /tmp can sometimes cause problems.
5392 # Hook for its removal unless debugging.
5393 # Note that there is a small window in which the directory will not be cleaned:
5394 # after its creation but before its name has been assigned to `$tmp'.
5398 trap 'exit_status=$?
5399 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5401 trap 'as_fn_exit 1' 1 2 13 15
5403 # Create a (secure) tmp directory for tmp files.
5406 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5407 test -n "$tmp" && test -d "$tmp"
5410 tmp
=.
/conf$$
-$RANDOM
5411 (umask 077 && mkdir
"$tmp")
5412 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
5414 # Set up the scripts for CONFIG_FILES section.
5415 # No need to generate them if there are no CONFIG_FILES.
5416 # This happens for instance with `./config.status config.h'.
5417 if test -n "$CONFIG_FILES"; then
5420 ac_cr
=`echo X | tr X '\015'`
5421 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5422 # But we know of no other shell where ac_cr would be empty at this
5423 # point, so we can use a bashism as a fallback.
5424 if test "x$ac_cr" = x
; then
5425 eval ac_cr
=\$
\'\\r
\'
5427 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5428 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5434 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5439 echo "cat >conf$$subs.awk <<_ACEOF" &&
5440 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5443 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5444 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5446 for ac_last_try in false false false false false :; do
5447 . ./conf$$subs.sh ||
5448 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5450 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5451 if test $ac_delim_n = $ac_delim_num; then
5453 elif $ac_last_try; then
5454 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5456 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5462 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
5466 s/^/S["/; s
/!.
*/"]=/
5476 s/\(.\{148\}\).*/\1/
5478 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5483 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5490 s/\(.\{148\}\).*/\1/
5492 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5496 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5501 ' <conf$$subs.awk | sed '
5506 ' >>$CONFIG_STATUS || ac_write_fail=1
5507 rm -f conf$$subs.awk
5508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5510 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
5511 for (key in S) S_is_set[key] = 1
5517 nfields = split(line, field, "@
")
5519 len = length(field[1])
5520 for (i = 2; i < nfields; i++) {
5522 keylen = length(key)
5523 if (S_is_set[key]) {
5525 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5526 len += length(value) + length(field[++i])
5537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5538 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5539 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5542 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
5543 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
5546 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5547 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
5548 # trailing colons and then remove the whole line if VPATH becomes empty
5549 # (actually we leave an empty line to preserve line numbers).
5550 if test "x
$srcdir" = x.; then
5551 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5555 s/^\([^=]*=[ ]*\):*/\1/
5561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5562 fi # test -n "$CONFIG_FILES"
5564 # Set up the scripts for CONFIG_HEADERS section.
5565 # No need to generate them if there are no CONFIG_HEADERS.
5566 # This happens for instance with `./config.status Makefile'.
5567 if test -n "$CONFIG_HEADERS"; then
5568 cat >"$tmp/defines.
awk" <<\_ACAWK ||
5572 # Transform confdefs.h into an awk script `defines.awk', embedded as
5573 # here-document in config.status, that substitutes the proper values into
5574 # config.h.in to produce config.h.
5576 # Create a delimiter string that does not exist in confdefs.h, to ease
5577 # handling of long lines.
5579 for ac_last_try in false false :; do
5580 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
5581 if test -z "$ac_t"; then
5583 elif $ac_last_try; then
5584 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
5586 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5590 # For the awk script, D is an array of macro values keyed by name,
5591 # likewise P contains macro parameters if any. Preserve backslash
5592 # newline sequences.
5594 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5596 s/.\{148\}/&'"$ac_delim"'/g
5599 s/^[ ]*#[ ]*define[ ][ ]*/ /
5606 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5608 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5612 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5613 D["\
1"]=" \
3\\\\\\n
"\\/p
5615 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5620 s/.\{148\}/&'"$ac_delim"'/g
5625 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5628 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5630 ' <confdefs.h | sed '
5631 s/'"$ac_delim"'/"\\\
5632 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5635 for (key in D) D_is_set[key] = 1
5638 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5640 split(line, arg, " ")
5641 if (arg[1] == "#") {
5645 defundef
= substr
(arg
[1], 2)
5648 split(mac1
, mac2
, "(") #)
5650 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5651 if (D_is_set
[macro
]) {
5652 # Preserve the white space surrounding the "#".
5653 print prefix
"define", macro P
[macro
] D
[macro
]
5656 # Replace #undef with comments. This is necessary, for example,
5657 # in the case of _POSIX_SOURCE, which is predefined and required
5658 # on some systems where configure will not decide to define it.
5659 if (defundef
== "undef") {
5660 print
"/*", prefix defundef
, macro
, "*/"
5668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5669 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
5670 fi # test -n "$CONFIG_HEADERS"
5673 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
5678 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5680 case $ac_mode$ac_tag in
5682 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5683 :[FH
]-) ac_tag
=-:-;;
5684 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5701 -) ac_f
="$tmp/stdin";;
5702 *) # Look for the file first in the build tree, then in the source tree
5703 # (if the path is not absolute). The absolute path cannot be DOS-style,
5704 # because $ac_f cannot contain `:'.
5708 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5710 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
5712 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5713 as_fn_append ac_file_inputs
" '$ac_f'"
5716 # Let's still pretend it is `configure' which instantiates (i.e., don't
5717 # use $as_me), people would be surprised to read:
5718 # /* config.h. Generated by config.status. */
5719 configure_input
='Generated from '`
5720 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5722 if test x
"$ac_file" != x-
; then
5723 configure_input
="$ac_file. $configure_input"
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5725 $as_echo "$as_me: creating $ac_file" >&6;}
5727 # Neutralize special characters interpreted by sed in replacement strings.
5728 case $configure_input in #(
5729 *\
&* |
*\|
* |
*\\* )
5730 ac_sed_conf_input
=`$as_echo "$configure_input" |
5731 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5732 *) ac_sed_conf_input
=$configure_input;;
5736 *:-:* |
*:-) cat >"$tmp/stdin" \
5737 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
5742 ac_dir
=`$as_dirname -- "$ac_file" ||
5743 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5744 X"$ac_file" : 'X\(//\)[^/]' \| \
5745 X"$ac_file" : 'X\(//\)$' \| \
5746 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5747 $as_echo X"$ac_file" |
5748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5765 as_dir
="$ac_dir"; as_fn_mkdir_p
5769 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5771 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5772 # A ".." for each directory in $ac_dir_suffix.
5773 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5774 case $ac_top_builddir_sub in
5775 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5776 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5779 ac_abs_top_builddir
=$ac_pwd
5780 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5781 # for backward compatibility:
5782 ac_top_builddir
=$ac_top_build_prefix
5785 .
) # We are building in place.
5787 ac_top_srcdir
=$ac_top_builddir_sub
5788 ac_abs_top_srcdir
=$ac_pwd ;;
5789 [\\/]* | ?
:[\\/]* ) # Absolute name.
5790 ac_srcdir
=$srcdir$ac_dir_suffix;
5791 ac_top_srcdir
=$srcdir
5792 ac_abs_top_srcdir
=$srcdir ;;
5794 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5795 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5796 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5798 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5808 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5809 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5814 # If the template does not know about datarootdir, expand it.
5815 # FIXME: This hack should be removed a few years after 2.60.
5816 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5827 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5828 *datarootdir
*) ac_datarootdir_seen
=yes;;
5829 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5831 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5834 ac_datarootdir_hack='
5835 s&@datadir@&$datadir&g
5836 s&@docdir@&$docdir&g
5837 s&@infodir@&$infodir&g
5838 s&@localedir@&$localedir&g
5839 s&@mandir@&$mandir&g
5840 s&\\\${datarootdir}&$datarootdir&g' ;;
5844 # Neutralize VPATH when `$srcdir' = `.'.
5845 # Shell code in configure.ac might set extrasub.
5846 # FIXME: do we really want to maintain this feature?
5847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5848 ac_sed_extra="$ac_vpsub
5851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5853 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5854 s|@configure_input@|
$ac_sed_conf_input|
;t t
5855 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5856 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5857 s
&@srcdir@
&$ac_srcdir&;t t
5858 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5859 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5860 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5861 s
&@builddir@
&$ac_builddir&;t t
5862 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5863 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5864 s
&@INSTALL@
&$ac_INSTALL&;t t
5865 $ac_datarootdir_hack
5867 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
5868 || as_fn_error "could not create
$ac_file" "$LINENO" 5
5870 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5871 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5872 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5874 which seems to be undefined. Please make sure it is defined." >&5
5875 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5876 which seems to be undefined. Please make sure it is defined." >&2;}
5880 -) cat "$tmp/out" && rm -f "$tmp/out";;
5881 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5883 || as_fn_error "could not create $ac_file" "$LINENO" 5
5889 if test x"$ac_file" != x-; then
5891 $as_echo "/* $configure_input */" \
5892 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5893 } >"$tmp/config.h" \
5894 || as_fn_error "could not create $ac_file" "$LINENO" 5
5895 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5897 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5900 mv "$tmp/config.h" "$ac_file" \
5901 || as_fn_error "could not create $ac_file" "$LINENO" 5
5904 $as_echo "/* $configure_input */" \
5905 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5906 || as_fn_error "could not create -" "$LINENO" 5
5914 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
5917 # Prefer the file from the source tree if names are identical.
5918 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
5919 ac_source=$srcdir/$ac_source
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
5923 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
5925 if test ! -r "$ac_source"; then
5926 as_fn_error "$ac_source: file not found" "$LINENO" 5
5930 # Try a relative symlink, then a hard link, then a copy.
5932 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
5933 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
5935 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
5936 ln "$ac_source" "$ac_file" 2>/dev/null ||
5937 cp -p "$ac_source" "$ac_file" ||
5938 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
5941 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5942 $as_echo "$as_me: executing $ac_file commands" >&6;}
5947 case $ac_file$ac_mode in
5948 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
5949 if test -n "$CONFIG_FILES"; then
5950 # FIXME: We shouldn't need to
set ac_file
5952 .
${libgcc_topdir}/config-ml.
in
5961 ac_clean_files
=$ac_clean_files_save
5963 test $ac_write_fail = 0 ||
5964 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
5967 # configure is writing to config.log, and then calls config.status.
5968 # config.status does its own redirection, appending to config.log.
5969 # Unfortunately, on DOS this fails, as config.log is still kept open
5970 # by configure, so config.status won't be able to write to it; its
5971 # output is simply discarded. So we exec the FD to /dev/null,
5972 # effectively closing config.log, so it can be properly (re)opened and
5973 # appended to by config.status. When coming back to configure, we
5974 # need to make the FD available again.
5975 if test "$no_create" != yes; then
5977 ac_config_status_args
=
5978 test "$silent" = yes &&
5979 ac_config_status_args
="$ac_config_status_args --quiet"
5981 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5983 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5984 # would make configure fail if this is the last instruction.
5985 $ac_cs_success || as_fn_exit $?
5987 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5989 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}