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
572 long_double_type_size
640 program_transform_name
653 enable_option_checking
658 enable_version_specific_runtime_libs
660 enable_maintainer_mode
663 with_system_libunwind
664 enable_sjlj_exceptions
667 ac_precious_vars
='build_alias
678 # Initialize some variables set by options.
680 ac_init_version
=false
681 ac_unrecognized_opts
=
683 # The variables have the same names as the options, with
684 # dashes changed to underlines.
692 program_transform_name
=s
,x
,x
,
700 # Installation directory options.
701 # These are left unexpanded so users can "make install exec_prefix=/foo"
702 # and all the variables that are supposed to be based on exec_prefix
703 # by default will actually change.
704 # Use braces instead of parens because sh, perl, etc. also accept them.
705 # (The list follows the same order as the GNU Coding Standards.)
706 bindir
='${exec_prefix}/bin'
707 sbindir
='${exec_prefix}/sbin'
708 libexecdir
='${exec_prefix}/libexec'
709 datarootdir
='${prefix}/share'
710 datadir
='${datarootdir}'
711 sysconfdir
='${prefix}/etc'
712 sharedstatedir
='${prefix}/com'
713 localstatedir
='${prefix}/var'
714 includedir
='${prefix}/include'
715 oldincludedir
='/usr/include'
716 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
717 infodir
='${datarootdir}/info'
722 libdir
='${exec_prefix}/lib'
723 localedir
='${datarootdir}/locale'
724 mandir
='${datarootdir}/man'
730 # If the previous option needs an argument, assign it.
731 if test -n "$ac_prev"; then
732 eval $ac_prev=\
$ac_option
738 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
742 # Accept the important Cygnus configure options, so we can diagnose typos.
744 case $ac_dashdash$ac_option in
748 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
750 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
753 -build |
--build |
--buil |
--bui |
--bu)
754 ac_prev
=build_alias
;;
755 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
756 build_alias
=$ac_optarg ;;
758 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
759 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
760 ac_prev
=cache_file
;;
761 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
762 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
763 cache_file
=$ac_optarg ;;
766 cache_file
=config.cache
;;
768 -datadir |
--datadir |
--datadi |
--datad)
770 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
771 datadir
=$ac_optarg ;;
773 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
774 |
--dataroo |
--dataro |
--datar)
775 ac_prev
=datarootdir
;;
776 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
777 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
778 datarootdir
=$ac_optarg ;;
780 -disable-* |
--disable-*)
781 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
784 as_fn_error
"invalid feature name: $ac_useropt"
785 ac_useropt_orig
=$ac_useropt
786 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
787 case $ac_user_opts in
791 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
792 ac_unrecognized_sep
=', ';;
794 eval enable_
$ac_useropt=no
;;
796 -docdir |
--docdir |
--docdi |
--doc |
--do)
798 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
801 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
803 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
806 -enable-* |
--enable-*)
807 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
808 # Reject names that are not valid shell variable names.
809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
810 as_fn_error
"invalid feature name: $ac_useropt"
811 ac_useropt_orig
=$ac_useropt
812 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
813 case $ac_user_opts in
817 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
818 ac_unrecognized_sep
=', ';;
820 eval enable_
$ac_useropt=\
$ac_optarg ;;
822 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
823 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
824 |
--exec |
--exe |
--ex)
825 ac_prev
=exec_prefix
;;
826 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
827 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
828 |
--exec=* |
--exe=* |
--ex=*)
829 exec_prefix
=$ac_optarg ;;
831 -gas |
--gas |
--ga |
--g)
832 # Obsolete; use --with-gas.
835 -help |
--help |
--hel |
--he |
-h)
837 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
838 ac_init_help
=recursive
;;
839 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
840 ac_init_help
=short
;;
842 -host |
--host |
--hos |
--ho)
843 ac_prev
=host_alias
;;
844 -host=* |
--host=* |
--hos=* |
--ho=*)
845 host_alias
=$ac_optarg ;;
847 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
849 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
851 htmldir
=$ac_optarg ;;
853 -includedir |
--includedir |
--includedi |
--included |
--include \
854 |
--includ |
--inclu |
--incl |
--inc)
855 ac_prev
=includedir
;;
856 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
857 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
858 includedir
=$ac_optarg ;;
860 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
862 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
863 infodir
=$ac_optarg ;;
865 -libdir |
--libdir |
--libdi |
--libd)
867 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
870 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
871 |
--libexe |
--libex |
--libe)
872 ac_prev
=libexecdir
;;
873 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
874 |
--libexe=* |
--libex=* |
--libe=*)
875 libexecdir
=$ac_optarg ;;
877 -localedir |
--localedir |
--localedi |
--localed |
--locale)
879 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
880 localedir
=$ac_optarg ;;
882 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
883 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
884 ac_prev
=localstatedir
;;
885 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
886 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
887 localstatedir
=$ac_optarg ;;
889 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
891 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
895 # Obsolete; use --without-fp.
898 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
899 |
--no-cr |
--no-c |
-n)
902 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
903 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
906 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
907 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
908 |
--oldin |
--oldi |
--old |
--ol |
--o)
909 ac_prev
=oldincludedir
;;
910 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
911 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
912 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
913 oldincludedir
=$ac_optarg ;;
915 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
917 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
920 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
921 |
--program-pre |
--program-pr |
--program-p)
922 ac_prev
=program_prefix
;;
923 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
924 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
925 program_prefix
=$ac_optarg ;;
927 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
928 |
--program-suf |
--program-su |
--program-s)
929 ac_prev
=program_suffix
;;
930 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
931 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
932 program_suffix
=$ac_optarg ;;
934 -program-transform-name |
--program-transform-name \
935 |
--program-transform-nam |
--program-transform-na \
936 |
--program-transform-n |
--program-transform- \
937 |
--program-transform |
--program-transfor \
938 |
--program-transfo |
--program-transf \
939 |
--program-trans |
--program-tran \
940 |
--progr-tra |
--program-tr |
--program-t)
941 ac_prev
=program_transform_name
;;
942 -program-transform-name=* |
--program-transform-name=* \
943 |
--program-transform-nam=* |
--program-transform-na=* \
944 |
--program-transform-n=* |
--program-transform-=* \
945 |
--program-transform=* |
--program-transfor=* \
946 |
--program-transfo=* |
--program-transf=* \
947 |
--program-trans=* |
--program-tran=* \
948 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
949 program_transform_name
=$ac_optarg ;;
951 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
953 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
956 -psdir |
--psdir |
--psdi |
--psd |
--ps)
958 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
961 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
962 |
-silent |
--silent |
--silen |
--sile |
--sil)
965 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
967 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
969 sbindir
=$ac_optarg ;;
971 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
972 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
973 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
975 ac_prev
=sharedstatedir
;;
976 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
977 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
978 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
980 sharedstatedir
=$ac_optarg ;;
982 -site |
--site |
--sit)
984 -site=* |
--site=* |
--sit=*)
987 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
989 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
992 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
993 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
994 ac_prev
=sysconfdir
;;
995 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
996 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
997 sysconfdir
=$ac_optarg ;;
999 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1000 ac_prev
=target_alias
;;
1001 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1002 target_alias
=$ac_optarg ;;
1004 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1007 -version |
--version |
--versio |
--versi |
--vers |
-V)
1008 ac_init_version
=: ;;
1011 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1012 # Reject names that are not valid shell variable names.
1013 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1014 as_fn_error
"invalid package name: $ac_useropt"
1015 ac_useropt_orig
=$ac_useropt
1016 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1017 case $ac_user_opts in
1021 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1022 ac_unrecognized_sep
=', ';;
1024 eval with_
$ac_useropt=\
$ac_optarg ;;
1026 -without-* |
--without-*)
1027 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1030 as_fn_error
"invalid package name: $ac_useropt"
1031 ac_useropt_orig
=$ac_useropt
1032 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1037 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1038 ac_unrecognized_sep
=', ';;
1040 eval with_
$ac_useropt=no
;;
1043 # Obsolete; use --with-x.
1046 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1047 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1048 ac_prev
=x_includes
;;
1049 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1050 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1051 x_includes
=$ac_optarg ;;
1053 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1054 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1055 ac_prev
=x_libraries
;;
1056 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1057 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1058 x_libraries
=$ac_optarg ;;
1060 -*) as_fn_error
"unrecognized option: \`$ac_option'
1061 Try \`$0 --help' for more information."
1065 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1066 # Reject names that are not valid shell variable names.
1067 case $ac_envvar in #(
1068 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1069 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1071 eval $ac_envvar=\
$ac_optarg
1072 export $ac_envvar ;;
1075 # FIXME: should be removed in autoconf 3.0.
1076 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1077 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1078 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1079 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1085 if test -n "$ac_prev"; then
1086 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1087 as_fn_error
"missing argument to $ac_option"
1090 if test -n "$ac_unrecognized_opts"; then
1091 case $enable_option_checking in
1093 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1094 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1098 # Check all directory arguments for consistency.
1099 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1100 datadir sysconfdir sharedstatedir localstatedir includedir \
1101 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1102 libdir localedir mandir
1104 eval ac_val
=\$
$ac_var
1105 # Remove trailing slashes.
1108 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1109 eval $ac_var=\
$ac_val;;
1111 # Be sure to have absolute directory names.
1113 [\\/$
]* | ?
:[\\/]* ) continue;;
1114 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1116 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1119 # There might be people who depend on the old broken behavior: `$host'
1120 # used to hold the argument of --host etc.
1121 # FIXME: To remove some day.
1124 target
=$target_alias
1126 # FIXME: To remove some day.
1127 if test "x$host_alias" != x
; then
1128 if test "x$build_alias" = x
; then
1129 cross_compiling
=maybe
1130 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1131 If a cross compiler is detected then cross compile mode will be used." >&2
1132 elif test "x$build_alias" != "x$host_alias"; then
1138 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1140 test "$silent" = yes && exec 6>/dev
/null
1143 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1144 ac_ls_di
=`ls -di .` &&
1145 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1146 as_fn_error
"working directory cannot be determined"
1147 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1148 as_fn_error
"pwd does not report name of working directory"
1151 # Find the source files, if location was not specified.
1152 if test -z "$srcdir"; then
1153 ac_srcdir_defaulted
=yes
1154 # Try the directory containing this script, then the parent directory.
1155 ac_confdir
=`$as_dirname -- "$as_myself" ||
1156 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1157 X"$as_myself" : 'X\(//\)[^/]' \| \
1158 X"$as_myself" : 'X\(//\)$' \| \
1159 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1160 $as_echo X"$as_myself" |
1161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1179 if test ! -r "$srcdir/$ac_unique_file"; then
1183 ac_srcdir_defaulted
=no
1185 if test ! -r "$srcdir/$ac_unique_file"; then
1186 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1187 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1189 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1191 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1193 # When building in place, set srcdir=.
1194 if test "$ac_abs_confdir" = "$ac_pwd"; then
1197 # Remove unnecessary trailing slashes from srcdir.
1198 # Double slashes in file names in object file debugging info
1199 # mess up M-x gdb in Emacs.
1201 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1203 for ac_var
in $ac_precious_vars; do
1204 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1205 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1206 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1207 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1211 # Report the --help message.
1213 if test "$ac_init_help" = "long"; then
1214 # Omit some internal or obsolete options to make the list less imposing.
1215 # This message is too long to be a string in the A/UX 3.1 sh.
1217 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1219 Usage: $0 [OPTION]... [VAR=VALUE]...
1221 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1222 VAR=VALUE. See below for descriptions of some of the useful variables.
1224 Defaults for the options are specified in brackets.
1227 -h, --help display this help and exit
1228 --help=short display options specific to this package
1229 --help=recursive display the short help of all the included packages
1230 -V, --version display version information and exit
1231 -q, --quiet, --silent do not print \`checking...' messages
1232 --cache-file=FILE cache test results in FILE [disabled]
1233 -C, --config-cache alias for \`--cache-file=config.cache'
1234 -n, --no-create do not create output files
1235 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1237 Installation directories:
1238 --prefix=PREFIX install architecture-independent files in PREFIX
1239 [$ac_default_prefix]
1240 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1243 By default, \`make install' will install all the files in
1244 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1245 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1246 for instance \`--prefix=\$HOME'.
1248 For better control, use the options below.
1250 Fine tuning of the installation directories:
1251 --bindir=DIR user executables [EPREFIX/bin]
1252 --sbindir=DIR system admin executables [EPREFIX/sbin]
1253 --libexecdir=DIR program executables [EPREFIX/libexec]
1254 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1255 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1256 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1257 --libdir=DIR object code libraries [EPREFIX/lib]
1258 --includedir=DIR C header files [PREFIX/include]
1259 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1260 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1261 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1262 --infodir=DIR info documentation [DATAROOTDIR/info]
1263 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1264 --mandir=DIR man documentation [DATAROOTDIR/man]
1265 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1266 --htmldir=DIR html documentation [DOCDIR]
1267 --dvidir=DIR dvi documentation [DOCDIR]
1268 --pdfdir=DIR pdf documentation [DOCDIR]
1269 --psdir=DIR ps documentation [DOCDIR]
1275 --build=BUILD configure
for building on BUILD
[guessed
]
1276 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1280 if test -n "$ac_init_help"; then
1281 case $ac_init_help in
1282 short | recursive
) echo "Configuration of GNU C Runtime Library 1.0:";;
1287 --disable-option-checking ignore unrecognized
--enable/--with options
1288 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1289 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1290 --disable-shared don
't provide a shared libgcc
1291 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1292 --enable-maintainer-mode
1293 enable make rules and dependencies not useful (and
1294 sometimes confusing) to the casual installer
1295 --enable-decimal-float={no,yes,bid,dpd}
1296 enable decimal float extension to C. Selecting 'bid
'
1297 or 'dpd
' choses which decimal floating point format
1299 --enable-sjlj-exceptions
1300 force use of builtin_setjmp for exceptions
1301 --enable-tls Use thread-local storage [default=yes]
1304 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1305 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1306 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
1307 --with-cross-host=HOST Configuring with a cross compiler
1308 --with-ld arrange to use the specified ld (full pathname)
1309 --with-slibdir=DIR shared libraries in DIR LIBDIR
1310 --with-build-libsubdir=DIR Directory where to find libraries for build system
1311 --with-system-libunwind use installed libunwind
1313 Some influential environment variables:
1314 CC C compiler command
1315 CFLAGS C compiler flags
1316 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1317 nonstandard directory <lib dir>
1318 LIBS libraries to pass to the linker, e.g. -l<library>
1319 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1320 you have headers in a nonstandard directory <include dir>
1323 Use these variables to override the choices made by `configure' or to
help
1324 it to
find libraries and programs with nonstandard names
/locations.
1326 Report bugs to the package provider.
1327 GNU C Runtime Library home page
: <http
://www.gnu.org
/software
/libgcc
/>.
1328 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1333 if test "$ac_init_help" = "recursive"; then
1334 # If there are subdirs, report their specific --help.
1335 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1336 test -d "$ac_dir" ||
1337 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1342 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1344 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1345 # A ".." for each directory in $ac_dir_suffix.
1346 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1347 case $ac_top_builddir_sub in
1348 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1349 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1352 ac_abs_top_builddir
=$ac_pwd
1353 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1354 # for backward compatibility:
1355 ac_top_builddir
=$ac_top_build_prefix
1358 .
) # We are building in place.
1360 ac_top_srcdir
=$ac_top_builddir_sub
1361 ac_abs_top_srcdir
=$ac_pwd ;;
1362 [\\/]* | ?
:[\\/]* ) # Absolute name.
1363 ac_srcdir
=$srcdir$ac_dir_suffix;
1364 ac_top_srcdir
=$srcdir
1365 ac_abs_top_srcdir
=$srcdir ;;
1367 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1368 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1369 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1371 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1373 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1374 # Check for guested configure.
1375 if test -f "$ac_srcdir/configure.gnu"; then
1377 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1378 elif test -f "$ac_srcdir/configure"; then
1380 $SHELL "$ac_srcdir/configure" --help=recursive
1382 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1384 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1388 test -n "$ac_init_help" && exit $ac_status
1389 if $ac_init_version; then
1391 GNU C Runtime Library configure
1.0
1392 generated by GNU Autoconf
2.64
1394 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1395 This configure
script is free software
; the Free Software Foundation
1396 gives unlimited permission to copy
, distribute and modify it.
1401 ## ------------------------ ##
1402 ## Autoconf initialization. ##
1403 ## ------------------------ ##
1405 # ac_fn_c_try_compile LINENO
1406 # --------------------------
1407 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1408 ac_fn_c_try_compile
()
1410 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1411 rm -f conftest.
$ac_objext
1412 if { { ac_try
="$ac_compile"
1414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1415 *) ac_try_echo=$ac_try;;
1417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1418 $as_echo "$ac_try_echo"; } >&5
1419 (eval "$ac_compile") 2>conftest.err
1421 if test -s conftest.err; then
1422 grep -v '^ *+' conftest.err >conftest.er1
1423 cat conftest.er1 >&5
1424 mv -f conftest.er1 conftest.err
1426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1427 test $ac_status = 0; } && {
1428 test -z "$ac_c_werror_flag" ||
1429 test ! -s conftest.err
1430 } && test -s conftest.$ac_objext; then :
1433 $as_echo "$as_me: failed program was:" >&5
1434 sed 's/^/| /' conftest.$ac_ext >&5
1438 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1441 } # ac_fn_c_try_compile
1443 # ac_fn_c_try_cpp LINENO
1444 # ----------------------
1445 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1448 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1449 if { { ac_try="$ac_cpp conftest.$ac_ext"
1451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1452 *) ac_try_echo
=$ac_try;;
1454 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1455 $as_echo "$ac_try_echo"; } >&5
1456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1458 if test -s conftest.err
; then
1459 grep -v '^ *+' conftest.err
>conftest.er1
1460 cat conftest.er1
>&5
1461 mv -f conftest.er1 conftest.err
1463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1464 test $ac_status = 0; } >/dev
/null
&& {
1465 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1466 test ! -s conftest.err
1470 $as_echo "$as_me: failed program was:" >&5
1471 sed 's/^/| /' conftest.
$ac_ext >&5
1475 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1480 # ac_fn_c_try_run LINENO
1481 # ----------------------
1482 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1483 # that executables *can* be run.
1486 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1487 if { { ac_try
="$ac_link"
1489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1490 *) ac_try_echo=$ac_try;;
1492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493 $as_echo "$ac_try_echo"; } >&5
1494 (eval "$ac_link") 2>&5
1496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1497 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1498 { { case "(($ac_try" in
1499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1500 *) ac_try_echo
=$ac_try;;
1502 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1503 $as_echo "$ac_try_echo"; } >&5
1504 (eval "$ac_try") 2>&5
1506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1507 test $ac_status = 0; }; }; then :
1510 $as_echo "$as_me: program exited with status $ac_status" >&5
1511 $as_echo "$as_me: failed program was:" >&5
1512 sed 's/^/| /' conftest.
$ac_ext >&5
1514 ac_retval
=$ac_status
1516 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1517 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1522 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1523 # --------------------------------------------
1524 # Tries to find the compile-time value of EXPR in a program that includes
1525 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1527 ac_fn_c_compute_int
()
1529 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1530 if test "$cross_compiling" = yes; then
1531 # Depending upon the size, compute the lo and hi bounds.
1532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1533 /* end confdefs.h. */
1538 static int test_array [1 - 2 * !(($2) >= 0)];
1545 if ac_fn_c_try_compile
"$LINENO"; then :
1548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1549 /* end confdefs.h. */
1554 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1561 if ac_fn_c_try_compile
"$LINENO"; then :
1562 ac_hi
=$ac_mid; break
1564 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1565 if test $ac_lo -le $ac_mid; then
1569 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1575 /* end confdefs.h. */
1580 static int test_array [1 - 2 * !(($2) < 0)];
1587 if ac_fn_c_try_compile
"$LINENO"; then :
1590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1591 /* end confdefs.h. */
1596 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1603 if ac_fn_c_try_compile
"$LINENO"; then :
1604 ac_lo
=$ac_mid; break
1606 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1607 if test $ac_mid -le $ac_hi; then
1611 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1621 # Binary search between lo and hi bounds.
1622 while test "x$ac_lo" != "x$ac_hi"; do
1623 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1625 /* end confdefs.h. */
1630 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1637 if ac_fn_c_try_compile
"$LINENO"; then :
1640 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1645 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1650 /* end confdefs.h. */
1652 static long int longval () { return $2; }
1653 static unsigned long int ulongval () { return $2; }
1660 FILE *f = fopen ("conftest.val", "w");
1665 long int i = longval ();
1668 fprintf (f, "%ld", i);
1672 unsigned long int i = ulongval ();
1675 fprintf (f, "%lu", i);
1677 /* Do not output a trailing newline, as this causes \r\n confusion
1678 on some platforms. */
1679 return ferror (f) || fclose (f) != 0;
1685 if ac_fn_c_try_run
"$LINENO"; then :
1686 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
1690 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
1691 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1695 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1698 } # ac_fn_c_compute_int
1699 cat >config.log
<<_ACEOF
1700 This file contains any messages produced by compilers while
1701 running configure, to aid debugging if configure makes a mistake.
1703 It was created by GNU C Runtime Library $as_me 1.0, which was
1704 generated by GNU Autoconf 2.64. Invocation command line was
1716 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1717 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1718 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1719 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1720 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1722 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1723 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1725 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1726 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1727 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1728 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1729 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1730 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1731 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1739 test -z "$as_dir" && as_dir
=.
1740 $as_echo "PATH: $as_dir"
1756 # Keep a trace of the command line.
1757 # Strip out --no-create and --no-recursion so they do not pile up.
1758 # Strip out --silent because we don't want to record it for future runs.
1759 # Also quote any args containing shell meta-characters.
1760 # Make two passes to allow for proper duplicate-argument suppression.
1764 ac_must_keep_next
=false
1770 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1771 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1772 |
-silent |
--silent |
--silen |
--sile |
--sil)
1775 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1780 as_fn_append ac_configure_args1
" '$ac_arg'"
1781 if test $ac_must_keep_next = true
; then
1782 ac_must_keep_next
=false
# Got value, back to normal.
1785 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1786 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1787 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1788 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1789 case "$ac_configure_args0 " in
1790 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1793 -* ) ac_must_keep_next
=true
;;
1796 as_fn_append ac_configure_args
" '$ac_arg'"
1801 { ac_configure_args0
=; unset ac_configure_args0
;}
1802 { ac_configure_args1
=; unset ac_configure_args1
;}
1804 # When interrupted or exit'd, cleanup temporary files, and complete
1805 # config.log. We remove comments because anyway the quotes in there
1806 # would cause problems or look ugly.
1807 # WARNING: Use '\'' to represent an apostrophe within the trap.
1808 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1809 trap 'exit_status=$?
1810 # Save into config.log some information that might help in debugging.
1815 ## ---------------- ##
1816 ## Cache variables. ##
1817 ## ---------------- ##
1820 # The following way of writing the cache mishandles newlines in values,
1822 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1823 eval ac_val=\$$ac_var
1827 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1828 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1831 _ | IFS | as_nl) ;; #(
1832 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1833 *) { eval $ac_var=; unset $ac_var;} ;;
1838 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1839 *${as_nl}ac_space=\ *)
1841 "s/'\''/'\''\\\\'\'''\''/g;
1842 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1845 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1853 ## ----------------- ##
1854 ## Output variables. ##
1855 ## ----------------- ##
1858 for ac_var in $ac_subst_vars
1860 eval ac_val=\$$ac_var
1862 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1864 $as_echo "$ac_var='\''$ac_val'\''"
1868 if test -n "$ac_subst_files"; then
1870 ## ------------------- ##
1871 ## File substitutions. ##
1872 ## ------------------- ##
1875 for ac_var
in $ac_subst_files
1877 eval ac_val
=\$
$ac_var
1879 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1881 $as_echo "$ac_var='\''$ac_val'\''"
1886 if test -s confdefs.h; then
1896 test "$ac_signal" != 0 &&
1897 $as_echo "$as_me: caught signal $ac_signal"
1898 $as_echo "$as_me: exit $exit_status"
1900 rm -f core *.core core.conftest.* &&
1901 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1904 for ac_signal
in 1 2 13 15; do
1905 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1909 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1910 rm -f -r conftest
* confdefs.h
1912 $as_echo "/* confdefs.h */" > confdefs.h
1914 # Predefined preprocessor variables.
1916 cat >>confdefs.h
<<_ACEOF
1917 #define PACKAGE_NAME "$PACKAGE_NAME"
1920 cat >>confdefs.h
<<_ACEOF
1921 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1924 cat >>confdefs.h
<<_ACEOF
1925 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1928 cat >>confdefs.h
<<_ACEOF
1929 #define PACKAGE_STRING "$PACKAGE_STRING"
1932 cat >>confdefs.h
<<_ACEOF
1933 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1936 cat >>confdefs.h
<<_ACEOF
1937 #define PACKAGE_URL "$PACKAGE_URL"
1941 # Let the site file select an alternate cache file if it wants to.
1942 # Prefer an explicitly selected file to automatically selected ones.
1945 if test -n "$CONFIG_SITE"; then
1946 ac_site_file1
=$CONFIG_SITE
1947 elif test "x$prefix" != xNONE
; then
1948 ac_site_file1
=$prefix/share
/config.site
1949 ac_site_file2
=$prefix/etc
/config.site
1951 ac_site_file1
=$ac_default_prefix/share
/config.site
1952 ac_site_file2
=$ac_default_prefix/etc
/config.site
1954 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1956 test "x$ac_site_file" = xNONE
&& continue
1957 if test -r "$ac_site_file"; then
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1959 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1960 sed 's/^/| /' "$ac_site_file" >&5
1965 if test -r "$cache_file"; then
1966 # Some versions of bash will fail to source /dev/null (special
1967 # files actually), so we avoid doing that.
1968 if test -f "$cache_file"; then
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1970 $as_echo "$as_me: loading cache $cache_file" >&6;}
1972 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1973 *) .
"./$cache_file";;
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1978 $as_echo "$as_me: creating cache $cache_file" >&6;}
1982 # Check that the precious variables saved in the cache have kept the same
1984 ac_cache_corrupted
=false
1985 for ac_var
in $ac_precious_vars; do
1986 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1987 eval ac_new_set
=\
$ac_env_${ac_var}_set
1988 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1989 eval ac_new_val
=\
$ac_env_${ac_var}_value
1990 case $ac_old_set,$ac_new_set in
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1993 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1994 ac_cache_corrupted
=: ;;
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1997 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1998 ac_cache_corrupted
=: ;;
2001 if test "x$ac_old_val" != "x$ac_new_val"; then
2002 # differences in whitespace do not lead to failure.
2003 ac_old_val_w
=`echo x $ac_old_val`
2004 ac_new_val_w
=`echo x $ac_new_val`
2005 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2007 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2008 ac_cache_corrupted
=:
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2011 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2012 eval $ac_var=\
$ac_old_val
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2015 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2017 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2020 # Pass precious variables to config.status.
2021 if test "$ac_new_set" = set; then
2023 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2024 *) ac_arg
=$ac_var=$ac_new_val ;;
2026 case " $ac_configure_args " in
2027 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2028 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2032 if $ac_cache_corrupted; then
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2036 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2037 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2039 ## -------------------- ##
2040 ## Main body of script. ##
2041 ## -------------------- ##
2044 ac_cpp
='$CPP $CPPFLAGS'
2045 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2046 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2047 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2055 # The libgcc should not depend on any header files
2059 # Check whether --with-target-subdir was given.
2060 if test "${with_target_subdir+set}" = set; then :
2061 withval
=$with_target_subdir;
2065 # Check whether --with-cross-host was given.
2066 if test "${with_cross_host+set}" = set; then :
2067 withval
=$with_cross_host;
2071 # Check whether --with-ld was given.
2072 if test "${with_ld+set}" = set; then :
2077 if test "${srcdir}" = "."; then
2078 if test -n "${with_build_subdir}"; then
2079 libgcc_topdir
="${srcdir}/../.."
2081 elif test -z "${with_target_subdir}"; then
2082 libgcc_topdir
="${srcdir}/.."
2084 if test "${with_target_subdir}" != "."; then
2085 libgcc_topdir
="${srcdir}/${with_multisrctop}../.."
2087 libgcc_topdir
="${srcdir}/${with_multisrctop}.."
2091 libgcc_topdir
="${srcdir}/.."
2095 for ac_dir
in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
2096 for ac_t
in install-sh
install.sh shtool
; do
2097 if test -f "$ac_dir/$ac_t"; then
2099 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2104 if test -z "$ac_aux_dir"; then
2105 as_fn_error
"cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
2108 # These three variables are undocumented and unsupported,
2109 # and are intended to be withdrawn in a future Autoconf release.
2110 # They can cause serious problems if a builder's source tree is in a directory
2111 # whose full name contains unusual characters.
2112 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2113 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2114 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2117 ac_config_headers
="$ac_config_headers auto-target.h:config.in"
2120 # Check whether --enable-shared was given.
2121 if test "${enable_shared+set}" = set; then :
2122 enableval
=$enable_shared;
2123 case $enable_shared in
2127 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2128 for pkg
in $enableval; do
2129 if test "X$pkg" = "Xgcc" ||
test "X$pkg" = "Xlibgcc"; then
2143 # Make sure we can run config.sub.
2144 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2145 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2148 $as_echo_n "checking build system type... " >&6; }
2149 if test "${ac_cv_build+set}" = set; then :
2150 $as_echo_n "(cached) " >&6
2152 ac_build_alias
=$build_alias
2153 test "x$ac_build_alias" = x
&&
2154 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2155 test "x$ac_build_alias" = x
&&
2156 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2157 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2158 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2162 $as_echo "$ac_cv_build" >&6; }
2163 case $ac_cv_build in
2165 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2168 ac_save_IFS
=$IFS; IFS
='-'
2174 # Remember, the first character of IFS is used to create $*,
2175 # except with old shells:
2178 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2182 $as_echo_n "checking host system type... " >&6; }
2183 if test "${ac_cv_host+set}" = set; then :
2184 $as_echo_n "(cached) " >&6
2186 if test "x$host_alias" = x
; then
2187 ac_cv_host
=$ac_cv_build
2189 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2190 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2195 $as_echo "$ac_cv_host" >&6; }
2198 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2201 ac_save_IFS
=$IFS; IFS
='-'
2207 # Remember, the first character of IFS is used to create $*,
2208 # except with old shells:
2211 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2219 # PIC is the default on some targets or must not be used.
2221 # PIC is the default on this platform
2222 # Common symbols not allowed in MH_DYLIB files
2226 # PIC is the default.
2229 # PIC is the default for 64-bit PA HP-UX.
2231 i
[34567]86-*-cygwin* | i
[34567]86-*-mingw* | x86_64-
*-mingw*)
2233 i
[34567]86-*-interix[3-9]*)
2234 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2235 # Instead, we relocate shared libraries at runtime.
2237 i
[34567]86-*-nto-qnx*)
2238 # QNX uses GNU C++, but need to define -shared option too, otherwise
2240 PICFLAG
='-fPIC -shared'
2242 i
[34567]86-pc-msdosdjgpp*)
2243 # DJGPP does not support shared libraries at all.
2246 # On IA64 HP-UX, PIC is the default but the pic flag
2247 # sets the default TLS model and affects inlining.
2251 # PIC is the default.
2253 rs6000-ibm-aix
* | powerpc-ibm-aix
*)
2254 # All AIX code is PIC.
2257 # Some targets support both -fPIC and -fpic, but prefer the latter.
2259 i
[34567]86-*-* | x86_64-
*-*)
2265 # FIXME: Override -fPIC default in libgcc only?
2266 sh-
*-linux* | sh
[2346lbe
]*-*-linux*)
2269 # FIXME: Simplify to sh*-*-netbsd*?
2270 sh-
*-netbsdelf* | shl
*-*-netbsdelf* | sh5-
*-netbsd* | sh5l
*-*-netbsd* | \
2271 sh64-
*-netbsd* | sh64l
*-*-netbsd*)
2274 # Default to -fPIC unless specified otherwise.
2280 # If the user explicitly uses -fpic/-fPIC, keep that.
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2293 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2294 # Check whether --enable-version-specific-runtime-libs was given.
2295 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2296 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2297 yes) version_specific_libs
=yes ;;
2298 no
) version_specific_libs
=no
;;
2299 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2302 version_specific_libs
=no
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2306 $as_echo "$version_specific_libs" >&6; }
2309 # Check whether --with-slibdir was given.
2310 if test "${with_slibdir+set}" = set; then :
2311 withval
=$with_slibdir; slibdir
="$with_slibdir"
2313 if test "${version_specific_libs}" = yes; then
2314 slibdir
='$(libsubdir)'
2315 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
2316 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
2324 # Command-line options.
2325 # Very limited version of AC_MAINTAINER_MODE.
2326 # Check whether --enable-maintainer-mode was given.
2327 if test "${enable_maintainer_mode+set}" = set; then :
2328 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2331 *) as_fn_error
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2333 maintainer_mode
=${enableval}
2339 # Find a good install program. We prefer a C program (faster),
2340 # so one script is as good as another. But avoid the broken or
2341 # incompatible versions:
2342 # SysV /etc/install, /usr/sbin/install
2343 # SunOS /usr/etc/install
2344 # IRIX /sbin/install
2346 # AmigaOS /C/install, which installs bootblocks on floppy discs
2347 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2348 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2349 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2350 # OS/2's system install, which has a completely different semantic
2351 # ./install, which can be erroneously created by make from ./install.sh.
2352 # Reject install programs that cannot install multiple files.
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2354 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2355 if test -z "$INSTALL"; then
2356 if test "${ac_cv_path_install+set}" = set; then :
2357 $as_echo_n "(cached) " >&6
2359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir
=.
2364 # Account for people who put trailing slashes in PATH elements.
2365 case $as_dir/ in #((
2366 .
/ | .
// |
/[cC
]/* | \
2367 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2368 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2371 # OSF1 and SCO ODT 3.0 have their own names for install.
2372 # Don't use installbsd from OSF since it installs stuff as root
2374 for ac_prog
in ginstall scoinst
install; do
2375 for ac_exec_ext
in '' $ac_executable_extensions; do
2376 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2377 if test $ac_prog = install &&
2378 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2379 # AIX install. It has an incompatible calling convention.
2381 elif test $ac_prog = install &&
2382 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2383 # program-specific install script used by HP pwplus--don't use.
2386 rm -rf conftest.one conftest.two conftest.dir
2387 echo one
> conftest.one
2388 echo two
> conftest.two
2390 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2391 test -s conftest.one
&& test -s conftest.two
&&
2392 test -s conftest.dir
/conftest.one
&&
2393 test -s conftest.dir
/conftest.two
2395 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2408 rm -rf conftest.one conftest.two conftest.dir
2411 if test "${ac_cv_path_install+set}" = set; then
2412 INSTALL
=$ac_cv_path_install
2414 # As a last resort, use the slow shell script. Don't cache a
2415 # value for INSTALL within a source directory, because that will
2416 # break other packages using the cache if that directory is
2417 # removed, or if the value is a relative name.
2418 INSTALL
=$ac_install_sh
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2422 $as_echo "$INSTALL" >&6; }
2424 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2425 # It thinks the first close brace ends the variable substitution.
2426 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2428 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2430 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2433 for ac_prog
in gawk mawk nawk
awk
2435 # Extract the first word of "$ac_prog", so it can be a program name with args.
2436 set dummy
$ac_prog; ac_word
=$2
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2438 $as_echo_n "checking for $ac_word... " >&6; }
2439 if test "${ac_cv_prog_AWK+set}" = set; then :
2440 $as_echo_n "(cached) " >&6
2442 if test -n "$AWK"; then
2443 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2449 test -z "$as_dir" && as_dir
=.
2450 for ac_exec_ext
in '' $ac_executable_extensions; do
2451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2452 ac_cv_prog_AWK
="$ac_prog"
2453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2463 if test -n "$AWK"; then
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2465 $as_echo "$AWK" >&6; }
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2468 $as_echo "no" >&6; }
2472 test -n "$AWK" && break
2475 # We need awk; bail out if it's missing.
2477 "") as_fn_error
"can't build without awk, bailing out" "$LINENO" 5 ;;
2481 case ${build_alias} in
2482 "") build_noncanonical
=${build} ;;
2483 *) build_noncanonical
=${build_alias} ;;
2486 case ${host_alias} in
2487 "") host_noncanonical
=${build_noncanonical} ;;
2488 *) host_noncanonical
=${host_alias} ;;
2493 case ${target_alias} in
2494 "") target_noncanonical
=${host_noncanonical} ;;
2495 *) target_noncanonical
=${target_alias} ;;
2501 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2502 # have matching libraries, they should use host libraries: Makefile.tpl
2503 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2504 # However, they still use the build modules, because the corresponding
2505 # host modules (e.g. bison) are only built for the host when bootstrap
2507 # - build_subdir is where we find build modules, and never changes.
2508 # - build_libsubdir is where we find build libraries, and can be overridden.
2510 # Prefix 'build-' so this never conflicts with target_subdir.
2511 build_subdir
="build-${build_noncanonical}"
2513 # Check whether --with-build-libsubdir was given.
2514 if test "${with_build_libsubdir+set}" = set; then :
2515 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2517 build_libsubdir
="$build_subdir"
2520 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2521 if ( test $srcdir = .
&& test -d gcc
) \
2522 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2523 host_subdir
="host-${host_noncanonical}"
2528 target_subdir
=${target_noncanonical}
2531 # Calculate toolexeclibdir
2532 # Also toolexecdir, though it's only used in toolexeclibdir
2533 case ${version_specific_libs} in
2535 # Need the gcc compiler version to know where to install libraries
2536 # and header files if --enable-version-specific-runtime-libs option
2538 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
2539 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2542 if test -n "$with_cross_host" &&
2543 test x
"$with_cross_host" != x
"no"; then
2544 # Install a library built with a cross compiler in tooldir, not libdir.
2545 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
2546 toolexeclibdir
='$(toolexecdir)/lib'
2548 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
2549 toolexeclibdir
='$(libdir)'
2551 multi_os_directory
=`$CC -print-multi-os-directory`
2552 case $multi_os_directory in
2553 .
) ;; # Avoid trailing /.
2554 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2561 if test -n "$ac_tool_prefix"; then
2562 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2563 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2565 $as_echo_n "checking for $ac_word... " >&6; }
2566 if test "${ac_cv_prog_AR+set}" = set; then :
2567 $as_echo_n "(cached) " >&6
2569 if test -n "$AR"; then
2570 ac_cv_prog_AR
="$AR" # Let the user override the test.
2572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir
=.
2577 for ac_exec_ext
in '' $ac_executable_extensions; do
2578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2579 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 if test -n "$AR"; then
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2592 $as_echo "$AR" >&6; }
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2595 $as_echo "no" >&6; }
2600 if test -z "$ac_cv_prog_AR"; then
2602 # Extract the first word of "ar", so it can be a program name with args.
2603 set dummy
ar; ac_word
=$2
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2605 $as_echo_n "checking for $ac_word... " >&6; }
2606 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2607 $as_echo_n "(cached) " >&6
2609 if test -n "$ac_ct_AR"; then
2610 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2616 test -z "$as_dir" && as_dir
=.
2617 for ac_exec_ext
in '' $ac_executable_extensions; do
2618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2619 ac_cv_prog_ac_ct_AR
="ar"
2620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2630 if test -n "$ac_ct_AR"; then
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2632 $as_echo "$ac_ct_AR" >&6; }
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2635 $as_echo "no" >&6; }
2638 if test "x$ac_ct_AR" = x
; then
2641 case $cross_compiling:$ac_tool_warned in
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2645 ac_tool_warned
=yes ;;
2653 if test -n "$ac_tool_prefix"; then
2654 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2655 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if test "${ac_cv_prog_LIPO+set}" = set; then :
2659 $as_echo_n "(cached) " >&6
2661 if test -n "$LIPO"; then
2662 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
2664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir
=.
2669 for ac_exec_ext
in '' $ac_executable_extensions; do
2670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
2672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 LIPO
=$ac_cv_prog_LIPO
2682 if test -n "$LIPO"; then
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2684 $as_echo "$LIPO" >&6; }
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687 $as_echo "no" >&6; }
2692 if test -z "$ac_cv_prog_LIPO"; then
2694 # Extract the first word of "lipo", so it can be a program name with args.
2695 set dummy lipo
; ac_word
=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
2699 $as_echo_n "(cached) " >&6
2701 if test -n "$ac_ct_LIPO"; then
2702 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
2704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir
=.
2709 for ac_exec_ext
in '' $ac_executable_extensions; do
2710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2711 ac_cv_prog_ac_ct_LIPO
="lipo"
2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2721 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
2722 if test -n "$ac_ct_LIPO"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2724 $as_echo "$ac_ct_LIPO" >&6; }
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2730 if test "x$ac_ct_LIPO" = x
; then
2733 case $cross_compiling:$ac_tool_warned in
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2737 ac_tool_warned
=yes ;;
2742 LIPO
="$ac_cv_prog_LIPO"
2745 if test -n "$ac_tool_prefix"; then
2746 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2747 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749 $as_echo_n "checking for $ac_word... " >&6; }
2750 if test "${ac_cv_prog_NM+set}" = set; then :
2751 $as_echo_n "(cached) " >&6
2753 if test -n "$NM"; then
2754 ac_cv_prog_NM
="$NM" # Let the user override the test.
2756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2760 test -z "$as_dir" && as_dir
=.
2761 for ac_exec_ext
in '' $ac_executable_extensions; do
2762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2763 ac_cv_prog_NM
="${ac_tool_prefix}nm"
2764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2774 if test -n "$NM"; then
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2776 $as_echo "$NM" >&6; }
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779 $as_echo "no" >&6; }
2784 if test -z "$ac_cv_prog_NM"; then
2786 # Extract the first word of "nm", so it can be a program name with args.
2787 set dummy nm
; ac_word
=$2
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2789 $as_echo_n "checking for $ac_word... " >&6; }
2790 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
2791 $as_echo_n "(cached) " >&6
2793 if test -n "$ac_ct_NM"; then
2794 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
2796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir
=.
2801 for ac_exec_ext
in '' $ac_executable_extensions; do
2802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2803 ac_cv_prog_ac_ct_NM
="nm"
2804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2813 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
2814 if test -n "$ac_ct_NM"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
2816 $as_echo "$ac_ct_NM" >&6; }
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2819 $as_echo "no" >&6; }
2822 if test "x$ac_ct_NM" = x
; then
2825 case $cross_compiling:$ac_tool_warned in
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2829 ac_tool_warned
=yes ;;
2837 if test -n "$ac_tool_prefix"; then
2838 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2839 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2841 $as_echo_n "checking for $ac_word... " >&6; }
2842 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2843 $as_echo_n "(cached) " >&6
2845 if test -n "$RANLIB"; then
2846 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2852 test -z "$as_dir" && as_dir
=.
2853 for ac_exec_ext
in '' $ac_executable_extensions; do
2854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2855 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 RANLIB
=$ac_cv_prog_RANLIB
2866 if test -n "$RANLIB"; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2868 $as_echo "$RANLIB" >&6; }
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2871 $as_echo "no" >&6; }
2876 if test -z "$ac_cv_prog_RANLIB"; then
2877 ac_ct_RANLIB
=$RANLIB
2878 # Extract the first word of "ranlib", so it can be a program name with args.
2879 set dummy ranlib
; ac_word
=$2
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2881 $as_echo_n "checking for $ac_word... " >&6; }
2882 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2883 $as_echo_n "(cached) " >&6
2885 if test -n "$ac_ct_RANLIB"; then
2886 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir
=.
2893 for ac_exec_ext
in '' $ac_executable_extensions; do
2894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2895 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2905 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2906 if test -n "$ac_ct_RANLIB"; then
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2908 $as_echo "$ac_ct_RANLIB" >&6; }
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2914 if test "x$ac_ct_RANLIB" = x
; then
2917 case $cross_compiling:$ac_tool_warned in
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2921 ac_tool_warned
=yes ;;
2923 RANLIB
=$ac_ct_RANLIB
2926 RANLIB
="$ac_cv_prog_RANLIB"
2929 if test -n "$ac_tool_prefix"; then
2930 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2931 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933 $as_echo_n "checking for $ac_word... " >&6; }
2934 if test "${ac_cv_prog_STRIP+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2937 if test -n "$STRIP"; then
2938 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir
=.
2945 for ac_exec_ext
in '' $ac_executable_extensions; do
2946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2947 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 STRIP
=$ac_cv_prog_STRIP
2958 if test -n "$STRIP"; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2960 $as_echo "$STRIP" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2968 if test -z "$ac_cv_prog_STRIP"; then
2970 # Extract the first word of "strip", so it can be a program name with args.
2971 set dummy strip
; ac_word
=$2
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973 $as_echo_n "checking for $ac_word... " >&6; }
2974 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2975 $as_echo_n "(cached) " >&6
2977 if test -n "$ac_ct_STRIP"; then
2978 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2984 test -z "$as_dir" && as_dir
=.
2985 for ac_exec_ext
in '' $ac_executable_extensions; do
2986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987 ac_cv_prog_ac_ct_STRIP
="strip"
2988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2997 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2998 if test -n "$ac_ct_STRIP"; then
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3000 $as_echo "$ac_ct_STRIP" >&6; }
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3003 $as_echo "no" >&6; }
3006 if test "x$ac_ct_STRIP" = x
; then
3009 case $cross_compiling:$ac_tool_warned in
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3013 ac_tool_warned
=yes ;;
3018 STRIP
="$ac_cv_prog_STRIP"
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3022 $as_echo_n "checking whether ln -s works... " >&6; }
3024 if test "$LN_S" = "ln -s"; then
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3026 $as_echo "yes" >&6; }
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3029 $as_echo "no, using $LN_S" >&6; }
3035 ac_cpp
='$CPP $CPPFLAGS'
3036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3039 if test -n "$ac_tool_prefix"; then
3040 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3041 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3043 $as_echo_n "checking for $ac_word... " >&6; }
3044 if test "${ac_cv_prog_CC+set}" = set; then :
3045 $as_echo_n "(cached) " >&6
3047 if test -n "$CC"; then
3048 ac_cv_prog_CC
="$CC" # Let the user override the test.
3050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3054 test -z "$as_dir" && as_dir
=.
3055 for ac_exec_ext
in '' $ac_executable_extensions; do
3056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3057 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3068 if test -n "$CC"; then
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3070 $as_echo "$CC" >&6; }
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073 $as_echo "no" >&6; }
3078 if test -z "$ac_cv_prog_CC"; then
3080 # Extract the first word of "gcc", so it can be a program name with args.
3081 set dummy gcc
; ac_word
=$2
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3083 $as_echo_n "checking for $ac_word... " >&6; }
3084 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3085 $as_echo_n "(cached) " >&6
3087 if test -n "$ac_ct_CC"; then
3088 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3094 test -z "$as_dir" && as_dir
=.
3095 for ac_exec_ext
in '' $ac_executable_extensions; do
3096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3097 ac_cv_prog_ac_ct_CC
="gcc"
3098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3107 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3108 if test -n "$ac_ct_CC"; then
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3110 $as_echo "$ac_ct_CC" >&6; }
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3113 $as_echo "no" >&6; }
3116 if test "x$ac_ct_CC" = x
; then
3119 case $cross_compiling:$ac_tool_warned in
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3123 ac_tool_warned
=yes ;;
3131 if test -z "$CC"; then
3132 if test -n "$ac_tool_prefix"; then
3133 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3134 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 $as_echo_n "checking for $ac_word... " >&6; }
3137 if test "${ac_cv_prog_CC+set}" = set; then :
3138 $as_echo_n "(cached) " >&6
3140 if test -n "$CC"; then
3141 ac_cv_prog_CC
="$CC" # Let the user override the test.
3143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir
=.
3148 for ac_exec_ext
in '' $ac_executable_extensions; do
3149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3150 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161 if test -n "$CC"; then
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3163 $as_echo "$CC" >&6; }
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3172 if test -z "$CC"; then
3173 # Extract the first word of "cc", so it can be a program name with args.
3174 set dummy cc
; ac_word
=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if test "${ac_cv_prog_CC+set}" = set; then :
3178 $as_echo_n "(cached) " >&6
3180 if test -n "$CC"; then
3181 ac_cv_prog_CC
="$CC" # Let the user override the test.
3184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3188 test -z "$as_dir" && as_dir
=.
3189 for ac_exec_ext
in '' $ac_executable_extensions; do
3190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3191 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3192 ac_prog_rejected
=yes
3196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 if test $ac_prog_rejected = yes; then
3204 # We found a bogon in the path, so make sure we never use it.
3205 set dummy
$ac_cv_prog_CC
3207 if test $# != 0; then
3208 # We chose a different compiler from the bogus one.
3209 # However, it has the same basename, so the bogon will be chosen
3210 # first if we set CC to just the basename; use the full file name.
3212 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3218 if test -n "$CC"; then
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3220 $as_echo "$CC" >&6; }
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3223 $as_echo "no" >&6; }
3228 if test -z "$CC"; then
3229 if test -n "$ac_tool_prefix"; then
3230 for ac_prog
in cl.exe
3232 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3233 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3235 $as_echo_n "checking for $ac_word... " >&6; }
3236 if test "${ac_cv_prog_CC+set}" = set; then :
3237 $as_echo_n "(cached) " >&6
3239 if test -n "$CC"; then
3240 ac_cv_prog_CC
="$CC" # Let the user override the test.
3242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3246 test -z "$as_dir" && as_dir
=.
3247 for ac_exec_ext
in '' $ac_executable_extensions; do
3248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3249 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3260 if test -n "$CC"; then
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3262 $as_echo "$CC" >&6; }
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265 $as_echo "no" >&6; }
3269 test -n "$CC" && break
3272 if test -z "$CC"; then
3274 for ac_prog
in cl.exe
3276 # Extract the first word of "$ac_prog", so it can be a program name with args.
3277 set dummy
$ac_prog; ac_word
=$2
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3279 $as_echo_n "checking for $ac_word... " >&6; }
3280 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3281 $as_echo_n "(cached) " >&6
3283 if test -n "$ac_ct_CC"; then
3284 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3290 test -z "$as_dir" && as_dir
=.
3291 for ac_exec_ext
in '' $ac_executable_extensions; do
3292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3293 ac_cv_prog_ac_ct_CC
="$ac_prog"
3294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3304 if test -n "$ac_ct_CC"; then
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3306 $as_echo "$ac_ct_CC" >&6; }
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3309 $as_echo "no" >&6; }
3313 test -n "$ac_ct_CC" && break
3316 if test "x$ac_ct_CC" = x
; then
3319 case $cross_compiling:$ac_tool_warned in
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3323 ac_tool_warned
=yes ;;
3332 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3334 as_fn_error
"no acceptable C compiler found in \$PATH
3335 See \`config.log' for more details." "$LINENO" 5; }
3337 # Provide some information about the compiler.
3338 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3341 for ac_option
in --version -v -V -qversion; do
3342 { { ac_try
="$ac_compiler $ac_option >&5"
3344 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3345 *) ac_try_echo=$ac_try;;
3347 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3348 $as_echo "$ac_try_echo"; } >&5
3349 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3351 if test -s conftest.err; then
3353 ... rest of stderr output deleted ...
3354 10q' conftest.err >conftest.er1
3355 cat conftest.er1 >&5
3356 rm -f conftest.er1 conftest.err
3358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3359 test $ac_status = 0; }
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3374 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3375 (eval $ac_link) 2>&5
3377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3378 test $ac_status = 0; }; then :
3383 if test x$gcc_no_link = xyes; then
3384 # Setting cross_compile will disable run tests; it will
3385 # also disable AC_CHECK_FILE but that's generally
3386 # correct if we can't link.
3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h. */
3401 ac_clean_files_save=$ac_clean_files
3402 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3403 # Try to create an executable without -o first, disregard a.out.
3404 # It will help us diagnose broken compilers, and finding out an intuition
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3407 $as_echo_n "checking for C compiler default output file name... " >&6; }
3408 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3410 # The possible output files:
3411 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3414 for ac_file in $ac_files
3417 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3418 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3423 if { { ac_try="$ac_link_default"
3425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3426 *) ac_try_echo
=$ac_try;;
3428 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3429 $as_echo "$ac_try_echo"; } >&5
3430 (eval "$ac_link_default") 2>&5
3432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3433 test $ac_status = 0; }; then :
3434 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3435 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3436 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3437 # so that the user can short-circuit this test for compilers unknown to
3439 for ac_file
in $ac_files ''
3441 test -f "$ac_file" ||
continue
3443 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3446 # We found the default executable, but exeext='' is most
3450 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3452 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3454 # We set ac_cv_exeext here because the later test for it is not
3455 # safe: cross compilers may not add the suffix if given an `-o'
3456 # argument, so we may need to know it at that point already.
3457 # Even if this section looks crufty: it has the advantage of
3464 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3470 $as_echo "$ac_file" >&6; }
3471 if test -z "$ac_file"; then :
3472 $as_echo "$as_me: failed program was:" >&5
3473 sed 's/^/| /' conftest.
$ac_ext >&5
3475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3477 { as_fn_set_status
77
3478 as_fn_error
"C compiler cannot create executables
3479 See \`config.log' for more details." "$LINENO" 5; }; }
3481 ac_exeext
=$ac_cv_exeext
3483 # Check that the compiler produces executables we can run. If not, either
3484 # the compiler is broken, or we cross compile.
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3486 $as_echo_n "checking whether the C compiler works... " >&6; }
3487 # If not cross compiling, check that we can run a simple program.
3488 if test "$cross_compiling" != yes; then
3489 if { ac_try
='./$ac_file'
3490 { { case "(($ac_try" in
3491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3495 $as_echo "$ac_try_echo"; } >&5
3496 (eval "$ac_try") 2>&5
3498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3499 test $ac_status = 0; }; }; then
3502 if test "$cross_compiling" = maybe; then
3505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3507 as_fn_error "cannot run C compiled programs.
3508 If you meant to cross compile
, use \
`--host'.
3509 See \`config.log
' for more details." "$LINENO" 5; }
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3514 $as_echo "yes" >&6; }
3516 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3517 ac_clean_files=$ac_clean_files_save
3518 # Check that the compiler produces executables we can run. If not, either
3519 # the compiler is broken, or we cross compile.
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3521 $as_echo_n "checking whether we are cross compiling... " >&6; }
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3523 $as_echo "$cross_compiling" >&6; }
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3526 $as_echo_n "checking for suffix of executables... " >&6; }
3527 if { { ac_try="$ac_link"
3529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530 *) ac_try_echo=$ac_try;;
3532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3533 $as_echo "$ac_try_echo"; } >&5
3534 (eval "$ac_link") 2>&5
3536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3537 test $ac_status = 0; }; then :
3538 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3539 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3540 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3542 for ac_file
in conftest.exe conftest conftest.
*; do
3543 test -f "$ac_file" ||
continue
3545 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3546 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3554 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3555 See \`config.log' for more details." "$LINENO" 5; }
3557 rm -f conftest
$ac_cv_exeext
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3559 $as_echo "$ac_cv_exeext" >&6; }
3561 rm -f conftest.
$ac_ext
3562 EXEEXT
=$ac_cv_exeext
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3566 $as_echo_n "checking for suffix of object files... " >&6; }
3567 if test "${ac_cv_objext+set}" = set; then :
3568 $as_echo_n "(cached) " >&6
3570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3581 rm -f conftest.o conftest.obj
3582 if { { ac_try
="$ac_compile"
3584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3585 *) ac_try_echo=$ac_try;;
3587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3588 $as_echo "$ac_try_echo"; } >&5
3589 (eval "$ac_compile") 2>&5
3591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3592 test $ac_status = 0; }; then :
3593 for ac_file in conftest.o conftest.obj conftest.*; do
3594 test -f "$ac_file" || continue;
3596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3597 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3602 $as_echo "$as_me: failed program was:" >&5
3603 sed 's/^/| /' conftest.$ac_ext >&5
3605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3607 as_fn_error "cannot compute suffix of object files
: cannot compile
3608 See \
`config.log' for more details." "$LINENO" 5; }
3610 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3613 $as_echo "$ac_cv_objext" >&6; }
3614 OBJEXT=$ac_cv_objext
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3617 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3618 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3619 $as_echo_n "(cached) " >&6
3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3635 if ac_fn_c_try_compile "$LINENO"; then :
3640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3645 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3646 if test $ac_compiler_gnu = yes; then
3651 ac_test_CFLAGS=${CFLAGS+set}
3652 ac_save_CFLAGS=$CFLAGS
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3654 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3655 if test "${ac_cv_prog_cc_g+set}" = set; then :
3656 $as_echo_n "(cached) " >&6
3658 ac_save_c_werror_flag=$ac_c_werror_flag
3659 ac_c_werror_flag=yes
3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3663 /* end confdefs.h. */
3673 if ac_fn_c_try_compile "$LINENO"; then :
3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3688 if ac_fn_c_try_compile "$LINENO"; then :
3691 ac_c_werror_flag=$ac_save_c_werror_flag
3693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3694 /* end confdefs.h. */
3704 if ac_fn_c_try_compile "$LINENO"; then :
3707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3712 ac_c_werror_flag=$ac_save_c_werror_flag
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3715 $as_echo "$ac_cv_prog_cc_g" >&6; }
3716 if test "$ac_test_CFLAGS" = set; then
3717 CFLAGS=$ac_save_CFLAGS
3718 elif test $ac_cv_prog_cc_g = yes; then
3719 if test "$GCC" = yes; then
3725 if test "$GCC" = yes; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3732 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3733 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3734 $as_echo_n "(cached) " >&6
3736 ac_cv_prog_cc_c89=no
3738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3742 #include <sys/types.h>
3743 #include <sys/stat.h>
3744 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3745 struct buf { int x; };
3746 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3747 static char *e (p, i)
3753 static char *f (char * (*g) (char **, int), char **p, ...)
3758 s = g (p, va_arg (v,int));
3763 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3764 function prototypes and stuff, but not '\xHH' hex character constants.
3765 These don't provoke an error unfortunately, instead are silently treated
3766 as 'x'. The following induces an error, until -std is added to get
3767 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3768 array size at least. It's necessary to write '\x00'==0 to get something
3769 that's true only with -std. */
3770 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3772 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3773 inside strings and character constants. */
3775 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3777 int test (int i, double x);
3778 struct s1 {int (*f) (int a);};
3779 struct s2 {int (*f) (double a);};
3780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3786 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3791 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3792 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3794 CC="$ac_save_CC $ac_arg"
3795 if ac_fn_c_try_compile "$LINENO"; then :
3796 ac_cv_prog_cc_c89=$ac_arg
3798 rm -f core conftest.err conftest.$ac_objext
3799 test "x$ac_cv_prog_cc_c89" != "xno" && break
3801 rm -f conftest.$ac_ext
3806 case "x$ac_cv_prog_cc_c89" in
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3809 $as_echo "none needed" >&6; } ;;
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3812 $as_echo "unsupported" >&6; } ;;
3814 CC="$CC $ac_cv_prog_cc_c89"
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3816 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3818 if test "x$ac_cv_prog_cc_c89" != xno; then :
3823 ac_cpp='$CPP $CPPFLAGS'
3824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3829 ac_cpp='$CPP $CPPFLAGS'
3830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3834 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3835 # On Suns, sometimes $CPP names a directory.
3836 if test -n "$CPP" && test -d "$CPP"; then
3839 if test -z "$CPP"; then
3840 if test "${ac_cv_prog_CPP+set}" = set; then :
3841 $as_echo_n "(cached) " >&6
3843 # Double quotes because CPP needs to be expanded
3844 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3847 for ac_c_preproc_warn_flag in '' yes
3849 # Use a header file that comes with gcc, so configuring glibc
3850 # with a fresh cross-compiler works.
3851 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3852 # <limits.h> exists even on freestanding compilers.
3853 # On the NeXT, cc -E runs the code through the compiler's parser,
3854 # not just through cpp. "Syntax error" is here to catch this case.
3855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3856 /* end confdefs.h. */
3858 # include <limits.h>
3860 # include <assert.h>
3864 if ac_fn_c_try_cpp "$LINENO"; then :
3867 # Broken: fails on valid input.
3870 rm -f conftest.err conftest.$ac_ext
3872 # OK, works on sane cases. Now check whether nonexistent headers
3873 # can be detected and how.
3874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3875 /* end confdefs.h. */
3876 #include <ac_nonexistent.h>
3878 if ac_fn_c_try_cpp "$LINENO"; then :
3879 # Broken: success on invalid input.
3882 # Passes both tests.
3886 rm -f conftest.err conftest.$ac_ext
3889 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3890 rm -f conftest.err conftest.
$ac_ext
3891 if $ac_preproc_ok; then :
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3904 $as_echo "$CPP" >&6; }
3906 for ac_c_preproc_warn_flag
in '' yes
3908 # Use a header file that comes with gcc, so configuring glibc
3909 # with a fresh cross-compiler works.
3910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3911 # <limits.h> exists even on freestanding compilers.
3912 # On the NeXT, cc -E runs the code through the compiler's parser,
3913 # not just through cpp. "Syntax error" is here to catch this case.
3914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3917 # include <limits.h>
3919 # include <assert.h>
3923 if ac_fn_c_try_cpp
"$LINENO"; then :
3926 # Broken: fails on valid input.
3929 rm -f conftest.err conftest.
$ac_ext
3931 # OK, works on sane cases. Now check whether nonexistent headers
3932 # can be detected and how.
3933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h. */
3935 #include <ac_nonexistent.h>
3937 if ac_fn_c_try_cpp
"$LINENO"; then :
3938 # Broken: success on invalid input.
3941 # Passes both tests.
3945 rm -f conftest.err conftest.
$ac_ext
3948 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3949 rm -f conftest.err conftest.
$ac_ext
3950 if $ac_preproc_ok; then :
3953 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3955 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3956 See \`config.log' for more details." "$LINENO" 5; }
3960 ac_cpp
='$CPP $CPPFLAGS'
3961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3966 ac_c_preproc_warn_flag
=yes
3970 # The cast to long int works around a bug in the HP C Compiler
3971 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3972 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3973 # This bug is HP SR number 8606223364.
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
3975 $as_echo_n "checking size of double... " >&6; }
3976 if test "${ac_cv_sizeof_double+set}" = set; then :
3977 $as_echo_n "(cached) " >&6
3979 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
3982 if test "$ac_cv_type_double" = yes; then
3983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3985 { as_fn_set_status
77
3986 as_fn_error
"cannot compute sizeof (double)
3987 See \`config.log' for more details." "$LINENO" 5; }; }
3989 ac_cv_sizeof_double
=0
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
3995 $as_echo "$ac_cv_sizeof_double" >&6; }
3999 cat >>confdefs.h
<<_ACEOF
4000 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
4004 # The cast to long int works around a bug in the HP C Compiler
4005 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4006 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4007 # This bug is HP SR number 8606223364.
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
4009 $as_echo_n "checking size of long double... " >&6; }
4010 if test "${ac_cv_sizeof_long_double+set}" = set; then :
4011 $as_echo_n "(cached) " >&6
4013 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
4016 if test "$ac_cv_type_long_double" = yes; then
4017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4019 { as_fn_set_status
77
4020 as_fn_error
"cannot compute sizeof (long double)
4021 See \`config.log' for more details." "$LINENO" 5; }; }
4023 ac_cv_sizeof_long_double
=0
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
4029 $as_echo "$ac_cv_sizeof_long_double" >&6; }
4033 cat >>confdefs.h
<<_ACEOF
4034 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
4038 as_fn_arith
$ac_cv_sizeof_double \
* 8 && double_type_size
=$as_val
4039 as_fn_arith
$ac_cv_sizeof_long_double \
* 8 && long_double_type_size
=$as_val
4043 # Check for decimal float support.
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
4045 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
4046 if test "${libgcc_cv_dfp+set}" = set; then :
4047 $as_echo_n "(cached) " >&6
4049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4053 if ac_fn_c_try_compile
"$LINENO"; then :
4058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
4061 $as_echo "$libgcc_cv_dfp" >&6; }
4062 decimal_float
=$libgcc_cv_dfp
4066 # Check whether --enable-decimal-float was given.
4067 if test "${enable_decimal_float+set}" = set; then :
4068 enableval
=$enable_decimal_float;
4069 case $enable_decimal_float in
4070 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4071 *) as_fn_error
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4072 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4078 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4079 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4081 enable_decimal_float
=yes
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4085 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4086 enable_decimal_float
=no
4093 # x86's use BID format instead of DPD
4094 case x
$enable_decimal_float in
4097 i?
86*-*-* | x86_64
*-*-*)
4098 enable_decimal_float
=bid
4101 enable_decimal_float
=dpd
4104 default_decimal_float
=$enable_decimal_float
4107 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4108 # dependency on libdecnumber.
4109 default_decimal_float
=dpd
4116 # Check for fixed-point support.
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
4118 $as_echo_n "checking whether fixed-point is supported... " >&6; }
4119 if test "${libgcc_cv_fixed_point+set}" = set; then :
4120 $as_echo_n "(cached) " >&6
4122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4126 if ac_fn_c_try_compile
"$LINENO"; then :
4127 libgcc_cv_fixed_point
=yes
4129 libgcc_cv_fixed_point
=no
4131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
4134 $as_echo "$libgcc_cv_fixed_point" >&6; }
4135 fixed_point
=$libgcc_cv_fixed_point
4138 # For platforms with the unwind ABI which includes an unwind library,
4139 # libunwind, we can choose to use the system libunwind.
4140 # config.gcc also contains tests of with_system_libunwind.
4143 # Check whether --with-system-libunwind was given.
4144 if test "${with_system_libunwind+set}" = set; then :
4145 withval
=$with_system_libunwind;
4148 # If system-libunwind was not specifically set, pick a default setting.
4149 if test x
$with_system_libunwind = x
; then
4151 ia64-
*-hpux*) with_system_libunwind
=yes ;;
4152 *) with_system_libunwind
=no
;;
4155 # Based on system-libunwind and target, do we have ipinfo?
4156 if test x
$with_system_libunwind = xyes
; then
4158 ia64-
*-*) have_unwind_getipinfo
=no
;;
4159 *) have_unwind_getipinfo
=yes ;;
4162 # Darwin before version 9 does not have _Unwind_GetIPInfo.
4165 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
4166 *) have_unwind_getipinfo
=yes ;;
4171 if test x
$have_unwind_getipinfo = xyes
; then
4173 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
4178 # The sjlj test is almost duplicated here and in libgo/configure.ac (for C),
4179 # libstdc++-v3/acinclude.m4 and libjava/configure.ac (for C++), and
4180 # libobjc/configure.ac (for Objective-C).
4181 # FIXME: This should be centralized in config/sjlj.m4.
4182 # Check whether --enable-sjlj-exceptions was given.
4183 if test "${enable_sjlj_exceptions+set}" = set; then :
4184 enableval
=$enable_sjlj_exceptions; case "$enableval" in
4186 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
4189 enable_sjlj_exceptions
=auto
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
4194 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
4195 if test "${libgcc_cv_lib_sjlj_exceptions+set}" = set; then :
4196 $as_echo_n "(cached) " >&6
4198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4205 int i __attribute__ ((cleanup (clean)));
4211 CFLAGS
="--save-temps -fexceptions"
4212 libgcc_cv_lib_sjlj_exceptions
=unknown
4213 if ac_fn_c_try_compile
; then :
4214 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
4215 libgcc_cv_lib_sjlj_exceptions
=yes
4216 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
4217 libgcc_cv_lib_sjlj_exceptions
=no
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_lib_sjlj_exceptions" >&5
4225 $as_echo "$libgcc_cv_lib_sjlj_exceptions" >&6; }
4227 if test "$enable_sjlj_exceptions" = "auto"; then
4228 enable_sjlj_exceptions
=$libgcc_cv_lib_sjlj_exceptions
4231 case $enable_sjlj_exceptions in
4234 $as_echo "#define LIBGCC_SJLJ_EXCEPTIONS 1" >>confdefs.h
4240 as_fn_error
"unable to detect exception model" "$LINENO" 5
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4245 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4246 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4247 $as_echo_n "(cached) " >&6
4249 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4250 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4251 acl_cv_prog_gnu_ld
=yes
4253 acl_cv_prog_gnu_ld
=no
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4257 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4258 with_gnu_ld
=$acl_cv_prog_gnu_ld
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
4262 $as_echo_n "checking for thread model used by GCC... " >&6; }
4263 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
4265 $as_echo "$target_thread_file" >&6; }
4267 # Check for assembler CFI support.
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
4269 $as_echo_n "checking whether assembler supports CFI directives... " >&6; }
4270 if test "${libgcc_cv_cfi+set}" = set; then :
4271 $as_echo_n "(cached) " >&6
4273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4278 .cfi_personality 0, symbol\n\
4281 if ac_fn_c_try_compile
"$LINENO"; then :
4286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
4289 $as_echo "$libgcc_cv_cfi" >&6; }
4291 # Check 32bit or 64bit
4292 cat > conftest.c
<<EOF
4293 #if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__))
4299 eval `${CC-cc} -E conftest.c | grep host_address=`
4302 # Collect host-machine-specific information.
4303 .
${srcdir}/config.
host
4305 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
4306 # This is after config.host so we can augment tmake_file.
4307 # Link with -nostartfiles -nodefaultlibs since neither are present while
4310 i?
86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
4311 cat > conftest.s
<<EOF
4312 .section .eh_frame,"a",@unwind
4314 .section .jcr,"aw",@progbits
4317 if { ac_try
='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
4318 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4322 test $ac_status = 0; }; }; then
4323 tmake_file
="${tmake_file} i386/t-crtstuff"
4328 # Check for visibility support. This is after config.host so that
4329 # we can check for asm_hidden_op.
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
4331 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
4332 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then :
4333 $as_echo_n "(cached) " >&6
4336 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
4337 libgcc_cv_hidden_visibility_attribute
=no
4338 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
4339 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4343 test $ac_status = 0; }; }; then
4344 if grep "\\$asm_hidden_op.*foo" conftest.s
>/dev
/null
; then
4345 libgcc_cv_hidden_visibility_attribute
=yes
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
4352 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
4354 if test $libgcc_cv_hidden_visibility_attribute = yes; then
4355 vis_hide
='-fvisibility=hidden -DHIDE_EXPORTS'
4361 # See if we have thread-local storage. We can only test assembler
4362 # since link-time and run-time tests require the newly built
4363 # gcc, which can't be used to build executable due to that libgcc
4364 # is yet to be built here.
4366 # Check whether --enable-tls was given.
4367 if test "${enable_tls+set}" = set; then :
4368 enableval
=$enable_tls;
4369 case "$enableval" in
4371 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
4380 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
4381 if test "${gcc_cv_have_cc_tls+set}" = set; then :
4382 $as_echo_n "(cached) " >&6
4385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4386 /* end confdefs.h. */
4387 __thread int a; int b; int main() { return a = b; }
4389 if ac_fn_c_try_compile
"$LINENO"; then :
4390 gcc_cv_have_cc_tls
=yes
4392 gcc_cv_have_cc_tls
=no
4394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
4398 $as_echo "$gcc_cv_have_cc_tls" >&6; }
4400 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
4401 set_have_cc_tls
="-DHAVE_CC_TLS"
4405 # See if we have emulated thread-local storage.
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
4408 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
4409 if test "${gcc_cv_use_emutls+set}" = set; then :
4410 $as_echo_n "(cached) " >&6
4413 gcc_cv_use_emutls
=no
4414 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
4415 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
4416 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4420 test $ac_status = 0; }; }; then
4421 if grep __emutls_get_address conftest.s
> /dev
/null
; then
4422 gcc_cv_use_emutls
=yes
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
4429 $as_echo "$gcc_cv_use_emutls" >&6; }
4430 if test "$gcc_cv_use_emutls" = "yes" ; then
4432 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
4436 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
4437 set_use_emutls
="-DUSE_EMUTLS"
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
4442 $as_echo_n "checking for init priority support... " >&6; }
4443 if test "${libgcc_cv_init_priority+set}" = set; then :
4444 $as_echo_n "(cached) " >&6
4447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4453 void ip (void) __attribute__ ((constructor (1)));
4458 if ac_fn_c_try_compile
"$LINENO"; then :
4459 libgcc_cv_init_priority
=yes
4461 libgcc_cv_init_priority
=no
4463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_init_priority" >&5
4466 $as_echo "$libgcc_cv_init_priority" >&6; }
4467 if test $libgcc_cv_init_priority = yes; then
4469 $as_echo "#define HAVE_INIT_PRIORITY 1" >>confdefs.h
4473 # Conditionalize the sfp-machine.h header for this target machine.
4474 if test -z "${sfp_machine_header}"; then
4475 sfp_machine_header
=$cpu_type/sfp-machine.h
4476 if test -f ${srcdir}/config
/${sfp_machine_header}; then
4479 sfp_machine_header
=no-sfp-machine.h
4484 # Conditionalize the makefile for this target machine.
4486 for f
in ${tmake_file}
4488 if test -f ${srcdir}/config
/$f
4490 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
4493 tmake_file
="${tmake_file_}"
4496 # Likewise export definitions for libgcc_tm.h
4500 tm_file_
="${tm_file_} \$(srcdir)/config/$f"
4502 tm_file
="${tm_file_}"
4506 # Map from thread model to thread header.
4508 case $target_thread_file in
4509 aix
) thread_header
=config
/rs6000
/gthr-aix.h
;;
4510 dce
) thread_header
=config
/pa
/gthr-dce.h
;;
4511 lynx
) thread_header
=config
/gthr-lynx.h
;;
4512 mipssde
) thread_header
=config
/mips
/gthr-mipssde.h
;;
4513 posix
) thread_header
=gthr-posix.h
;;
4514 rtems
) thread_header
=config
/gthr-rtems.h
;;
4515 single
) thread_header
=gthr-single.h
;;
4516 tpf
) thread_header
=config
/s390
/gthr-tpf.h
;;
4517 vxworks
) thread_header
=config
/gthr-vxworks.h
;;
4518 win32
) thread_header
=config
/i386
/gthr-win32.h
;;
4523 # Substitute configuration variables
4527 ac_config_links
="$ac_config_links enable-execute-stack.c:$enable_execute_stack"
4529 ac_config_links
="$ac_config_links unwind.h:$unwind_header"
4531 ac_config_links
="$ac_config_links md-unwind-support.h:config/$md_unwind_header"
4533 ac_config_links
="$ac_config_links sfp-machine.h:config/$sfp_machine_header"
4535 ac_config_links
="$ac_config_links gthr-default.h:$thread_header"
4538 # We need multilib support.
4539 ac_config_files
="$ac_config_files Makefile"
4541 ac_config_commands
="$ac_config_commands default"
4543 cat >confcache
<<\_ACEOF
4544 # This file is a shell script that caches the results of configure
4545 # tests run on this system so they can be shared between configure
4546 # scripts and configure runs, see configure's option --config-cache.
4547 # It is not useful on other systems. If it contains results you don't
4548 # want to keep, you may remove or edit it.
4550 # config.status only pays attention to the cache file if you give it
4551 # the --recheck option to rerun configure.
4553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4559 # The following way of writing the cache mishandles newlines in values,
4560 # but we know of no workaround that is simple, portable, and efficient.
4561 # So, we kill variables containing newlines.
4562 # Ultrix sh set writes to stderr and can't be redirected directly,
4563 # and sets the high bit in the cache file unless we assign to the vars.
4565 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4566 eval ac_val
=\$
$ac_var
4570 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4571 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4574 _ | IFS | as_nl
) ;; #(
4575 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4576 *) { eval $ac_var=; unset $ac_var;} ;;
4582 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4583 *${as_nl}ac_space
=\
*)
4584 # `set' does not quote correctly, so add quotes: double-quote
4585 # substitution turns \\\\ into \\, and sed turns \\ into \.
4588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4591 # `set' quotes correctly as required by POSIX, so do not add quotes.
4592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4603 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4605 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4606 if test -w "$cache_file"; then
4607 test "x$cache_file" != "x/dev/null" &&
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4609 $as_echo "$as_me: updating cache $cache_file" >&6;}
4610 cat confcache
>$cache_file
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4613 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4618 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4619 # Let make expand exec_prefix.
4620 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4622 DEFS
=-DHAVE_CONFIG_H
4626 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4627 # 1. Remove the extension, and $U if already installed.
4628 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4629 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4630 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4631 # will be set to the directory where LIBOBJS objects are built.
4632 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4633 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4637 LTLIBOBJS
=$ac_ltlibobjs
4641 : ${CONFIG_STATUS=./config.status}
4643 ac_clean_files_save
=$ac_clean_files
4644 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4646 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4648 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4650 # Generated by $as_me.
4651 # Run this file to recreate the current configuration.
4652 # Compiler output produced by configure, useful for debugging
4653 # configure, is in config.log if it exists.
4659 SHELL=\${CONFIG_SHELL-$SHELL}
4662 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4663 ## -------------------- ##
4664 ## M4sh Initialization. ##
4665 ## -------------------- ##
4667 # Be more Bourne compatible
4668 DUALCASE
=1; export DUALCASE
# for MKS sh
4669 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4672 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4673 # is contrary to our usage. Disable this feature.
4674 alias -g '${1+"$@"}'='"$@"'
4675 setopt NO_GLOB_SUBST
4677 case `(set -o) 2>/dev/null` in #(
4689 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4690 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4691 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4692 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4693 # Prefer a ksh shell builtin over an external printf program on Solaris,
4694 # but without wasting forks for bash or zsh.
4695 if test -z "$BASH_VERSION$ZSH_VERSION" \
4696 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4697 as_echo='print
-r --'
4698 as_echo_n='print
-rn --'
4699 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4700 as_echo='printf %s
\n'
4701 as_echo_n='printf %s
'
4703 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4704 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4705 as_echo_n='/usr
/ucb
/echo -n'
4707 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4708 as_echo_n_body='eval
4712 expr "X$arg" : "X\\(.*\\)$as_nl";
4713 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4715 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4717 export as_echo_n_body
4718 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4721 as_echo='sh
-c $as_echo_body as_echo
'
4724 # The user is always right.
4725 if test "${PATH_SEPARATOR+set}" != set; then
4727 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4728 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4735 # We need space, tab and new line, in precisely that order. Quoting is
4736 # there to prevent editors from complaining about space-tab.
4737 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4738 # splitting by setting IFS to empty value.)
4741 # Find who we are. Look in the path if we contain no directory separator.
4743 *[\\/]* ) as_myself=$0 ;;
4744 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748 test -z "$as_dir" && as_dir=.
4749 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4755 # We did not find ourselves, most probably we were run as `sh COMMAND'
4756 # in which case we are not to be found in the path.
4757 if test "x$as_myself" = x
; then
4760 if test ! -f "$as_myself"; then
4761 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4765 # Unset variables that we do not need and which cause bugs (e.g. in
4766 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4767 # suppresses any "Segmentation fault" message there. '((' could
4768 # trigger a bug in pdksh 5.2.14.
4769 for as_var
in BASH_ENV ENV MAIL MAILPATH
4770 do eval test x\
${$as_var+set} = xset \
4771 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4784 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4787 # as_fn_error ERROR [LINENO LOG_FD]
4788 # ---------------------------------
4789 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4790 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4791 # script with status $?, using 1 if that was 0.
4794 as_status
=$?
; test $as_status -eq 0 && as_status
=1
4796 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4797 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4799 $as_echo "$as_me: error: $1" >&2
4800 as_fn_exit
$as_status
4804 # as_fn_set_status STATUS
4805 # -----------------------
4806 # Set $? to STATUS, without forking.
4810 } # as_fn_set_status
4814 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4824 # Portably unset VAR.
4827 { eval $1=; unset $1;}
4829 as_unset
=as_fn_unset
4830 # as_fn_append VAR VALUE
4831 # ----------------------
4832 # Append the text in VALUE to the end of the definition contained in VAR. Take
4833 # advantage of any shell optimizations that allow amortized linear growth over
4834 # repeated appends, instead of the typical quadratic growth present in naive
4836 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4837 eval 'as_fn_append ()
4848 # as_fn_arith ARG...
4849 # ------------------
4850 # Perform arithmetic evaluation on the ARGs, and store the result in the
4851 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4852 # must be portable across $(()) and expr.
4853 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4854 eval 'as_fn_arith ()
4861 as_val
=`expr "$@" || test $? -eq 1`
4866 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4867 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4873 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4874 as_basename
=basename
4879 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4885 as_me
=`$as_basename -- "$0" ||
4886 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4887 X"$0" : 'X\(//\)$' \| \
4888 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4890 sed '/^.*\/\([^/][^/]*\)\/*$/{
4904 # Avoid depending upon Character Ranges.
4905 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4906 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4907 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4908 as_cr_digits
='0123456789'
4909 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4911 ECHO_C
= ECHO_N
= ECHO_T
=
4912 case `echo -n x` in #(((((
4914 case `echo 'xy\c'` in
4915 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4917 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4924 rm -f conf$$ conf$$.exe conf$$.
file
4925 if test -d conf$$.dir
; then
4926 rm -f conf$$.dir
/conf$$.
file
4929 mkdir conf$$.dir
2>/dev
/null
4931 if (echo >conf$$.
file) 2>/dev
/null
; then
4932 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4934 # ... but there are two gotchas:
4935 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4936 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4937 # In both cases, we have to default to `cp -p'.
4938 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4940 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4948 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4949 rmdir conf$$.dir
2>/dev
/null
4954 # Create "$as_dir" as a directory, including parents if necessary.
4959 -*) as_dir
=.
/$as_dir;;
4961 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4965 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4966 *) as_qdir
=$as_dir;;
4968 as_dirs
="'$as_qdir' $as_dirs"
4969 as_dir
=`$as_dirname -- "$as_dir" ||
4970 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4971 X"$as_dir" : 'X\(//\)[^/]' \| \
4972 X"$as_dir" : 'X\(//\)$' \| \
4973 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4974 $as_echo X"$as_dir" |
4975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4992 test -d "$as_dir" && break
4994 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4995 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
4999 if mkdir
-p .
2>/dev
/null
; then
5000 as_mkdir_p
='mkdir -p "$as_dir"'
5002 test -d .
/-p && rmdir .
/-p
5006 if test -x / >/dev
/null
2>&1; then
5009 if ls -dL / >/dev
/null
2>&1; then
5016 if test -d "$1"; then
5022 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5023 ???[sx]*):;;*)false;;esac;fi
5027 as_executable_p
=$as_test_x
5029 # Sed expression to map a string onto a valid CPP name.
5030 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5032 # Sed expression to map a string onto a valid variable name.
5033 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5037 ## ----------------------------------- ##
5038 ## Main body of $CONFIG_STATUS script. ##
5039 ## ----------------------------------- ##
5041 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5044 # Save the log message, to keep $0 and so on meaningful, and to
5045 # report actual input values of CONFIG_FILES etc. instead of their
5046 # values after options handling.
5048 This file was extended by GNU C Runtime Library $as_me 1.0, which was
5049 generated by GNU Autoconf 2.64. Invocation command line was
5051 CONFIG_FILES = $CONFIG_FILES
5052 CONFIG_HEADERS = $CONFIG_HEADERS
5053 CONFIG_LINKS = $CONFIG_LINKS
5054 CONFIG_COMMANDS = $CONFIG_COMMANDS
5057 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5062 case $ac_config_files in *"
5063 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5066 case $ac_config_headers in *"
5067 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5072 # Files that config.status was made for.
5073 config_files="$ac_config_files"
5074 config_headers="$ac_config_headers"
5075 config_links="$ac_config_links"
5076 config_commands="$ac_config_commands"
5080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5082 \`$as_me' instantiates files and other configuration actions
5083 from templates according to the current configuration. Unless the files
5084 and actions are specified as TAGs, all are instantiated by default.
5086 Usage: $0 [OPTION]... [TAG]...
5088 -h, --help print this help, then exit
5089 -V, --version print version number and configuration settings, then exit
5090 -q, --quiet, --silent
5091 do not print progress messages
5092 -d, --debug don't remove temporary files
5093 --recheck update $as_me by reconfiguring in the same conditions
5094 --file=FILE[:TEMPLATE]
5095 instantiate the configuration file FILE
5096 --header=FILE[:TEMPLATE]
5097 instantiate the configuration header FILE
5099 Configuration files:
5102 Configuration headers:
5105 Configuration links:
5108 Configuration commands:
5111 Report bugs to the package provider.
5112 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
5113 General help using GNU software: <http://www.gnu.org/gethelp/>."
5116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5118 GNU C Runtime Library config.status 1.0
5119 configured by $0, generated by GNU Autoconf 2.64,
5120 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5122 Copyright (C) 2009 Free Software Foundation, Inc.
5123 This config.status script is free software; the Free Software Foundation
5124 gives unlimited permission to copy, distribute and modify it."
5130 test -n "\$AWK" || AWK=awk
5133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5134 # The default lists apply if the user does not specify any file.
5140 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5141 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5152 # Handling of the options.
5153 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5155 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5156 $as_echo "$ac_cs_version"; exit ;;
5157 --debug |
--debu |
--deb |
--de |
--d |
-d )
5159 --file |
--fil |
--fi |
--f )
5162 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5164 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5165 ac_need_defaults
=false
;;
5166 --header |
--heade |
--head |
--hea )
5169 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5171 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5172 ac_need_defaults
=false
;;
5174 # Conflict between --help and --header
5175 as_fn_error
"ambiguous option: \`$1'
5176 Try \`$0 --help' for more information.";;
5177 --help |
--hel |
-h )
5178 $as_echo "$ac_cs_usage"; exit ;;
5179 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5180 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5184 -*) as_fn_error
"unrecognized option: \`$1'
5185 Try \`$0 --help' for more information." ;;
5187 *) as_fn_append ac_config_targets
" $1"
5188 ac_need_defaults
=false
;;
5194 ac_configure_extra_args
=
5196 if $ac_cs_silent; then
5198 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5203 if \$ac_cs_recheck; then
5204 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5206 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5207 CONFIG_SHELL='$SHELL'
5213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5217 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5218 ## Running $as_me. ##
5224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5230 with_target_subdir=${with_target_subdir}
5231 with_multisubdir=${with_multisubdir}
5232 ac_configure_args="--enable-multilib ${ac_configure_args}"
5233 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
5234 libgcc_topdir=${libgcc_topdir}
5240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5242 # Handling of arguments.
5243 for ac_config_target
in $ac_config_targets
5245 case $ac_config_target in
5246 "auto-target.h") CONFIG_HEADERS
="$CONFIG_HEADERS auto-target.h:config.in" ;;
5247 "enable-execute-stack.c") CONFIG_LINKS
="$CONFIG_LINKS enable-execute-stack.c:$enable_execute_stack" ;;
5248 "unwind.h") CONFIG_LINKS
="$CONFIG_LINKS unwind.h:$unwind_header" ;;
5249 "md-unwind-support.h") CONFIG_LINKS
="$CONFIG_LINKS md-unwind-support.h:config/$md_unwind_header" ;;
5250 "sfp-machine.h") CONFIG_LINKS
="$CONFIG_LINKS sfp-machine.h:config/$sfp_machine_header" ;;
5251 "gthr-default.h") CONFIG_LINKS
="$CONFIG_LINKS gthr-default.h:$thread_header" ;;
5252 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5253 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
5255 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5260 # If the user did not use the arguments to specify the items to instantiate,
5261 # then the envvar interface is used. Set only those that are not.
5262 # We use the long form for the default assignment because of an extremely
5263 # bizarre bug on SunOS 4.1.3.
5264 if $ac_need_defaults; then
5265 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5266 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5267 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
5268 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5271 # Have a temporary directory for convenience. Make it in the build tree
5272 # simply because there is no reason against having it here, and in addition,
5273 # creating and moving files from /tmp can sometimes cause problems.
5274 # Hook for its removal unless debugging.
5275 # Note that there is a small window in which the directory will not be cleaned:
5276 # after its creation but before its name has been assigned to `$tmp'.
5280 trap 'exit_status=$?
5281 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5283 trap 'as_fn_exit 1' 1 2 13 15
5285 # Create a (secure) tmp directory for tmp files.
5288 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5289 test -n "$tmp" && test -d "$tmp"
5292 tmp
=.
/conf$$
-$RANDOM
5293 (umask 077 && mkdir
"$tmp")
5294 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
5296 # Set up the scripts for CONFIG_FILES section.
5297 # No need to generate them if there are no CONFIG_FILES.
5298 # This happens for instance with `./config.status config.h'.
5299 if test -n "$CONFIG_FILES"; then
5302 ac_cr
=`echo X | tr X '\015'`
5303 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5304 # But we know of no other shell where ac_cr would be empty at this
5305 # point, so we can use a bashism as a fallback.
5306 if test "x$ac_cr" = x
; then
5307 eval ac_cr
=\$
\'\\r
\'
5309 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5310 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5316 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5321 echo "cat >conf$$subs.awk <<_ACEOF" &&
5322 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5325 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5326 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5328 for ac_last_try in false false false false false :; do
5329 . ./conf$$subs.sh ||
5330 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5332 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5333 if test $ac_delim_n = $ac_delim_num; then
5335 elif $ac_last_try; then
5336 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5338 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5344 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
5348 s/^/S["/; s
/!.
*/"]=/
5358 s/\(.\{148\}\).*/\1/
5360 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5365 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5372 s/\(.\{148\}\).*/\1/
5374 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5378 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5383 ' <conf$$subs.awk | sed '
5388 ' >>$CONFIG_STATUS || ac_write_fail=1
5389 rm -f conf$$subs.awk
5390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5392 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
5393 for (key in S) S_is_set[key] = 1
5399 nfields = split(line, field, "@
")
5401 len = length(field[1])
5402 for (i = 2; i < nfields; i++) {
5404 keylen = length(key)
5405 if (S_is_set[key]) {
5407 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5408 len += length(value) + length(field[++i])
5419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5420 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5421 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5424 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
5425 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
5428 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5429 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
5430 # trailing colons and then remove the whole line if VPATH becomes empty
5431 # (actually we leave an empty line to preserve line numbers).
5432 if test "x
$srcdir" = x.; then
5433 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5437 s/^\([^=]*=[ ]*\):*/\1/
5443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5444 fi # test -n "$CONFIG_FILES"
5446 # Set up the scripts for CONFIG_HEADERS section.
5447 # No need to generate them if there are no CONFIG_HEADERS.
5448 # This happens for instance with `./config.status Makefile'.
5449 if test -n "$CONFIG_HEADERS"; then
5450 cat >"$tmp/defines.
awk" <<\_ACAWK ||
5454 # Transform confdefs.h into an awk script `defines.awk', embedded as
5455 # here-document in config.status, that substitutes the proper values into
5456 # config.h.in to produce config.h.
5458 # Create a delimiter string that does not exist in confdefs.h, to ease
5459 # handling of long lines.
5461 for ac_last_try in false false :; do
5462 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
5463 if test -z "$ac_t"; then
5465 elif $ac_last_try; then
5466 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
5468 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5472 # For the awk script, D is an array of macro values keyed by name,
5473 # likewise P contains macro parameters if any. Preserve backslash
5474 # newline sequences.
5476 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5478 s/.\{148\}/&'"$ac_delim"'/g
5481 s/^[ ]*#[ ]*define[ ][ ]*/ /
5488 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5490 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5494 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5495 D["\
1"]=" \
3\\\\\\n
"\\/p
5497 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5502 s/.\{148\}/&'"$ac_delim"'/g
5507 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5510 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5512 ' <confdefs.h | sed '
5513 s/'"$ac_delim"'/"\\\
5514 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5517 for (key in D) D_is_set[key] = 1
5520 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5522 split(line, arg, " ")
5523 if (arg[1] == "#") {
5527 defundef
= substr
(arg
[1], 2)
5530 split(mac1
, mac2
, "(") #)
5532 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5533 if (D_is_set
[macro
]) {
5534 # Preserve the white space surrounding the "#".
5535 print prefix
"define", macro P
[macro
] D
[macro
]
5538 # Replace #undef with comments. This is necessary, for example,
5539 # in the case of _POSIX_SOURCE, which is predefined and required
5540 # on some systems where configure will not decide to define it.
5541 if (defundef
== "undef") {
5542 print
"/*", prefix defundef
, macro
, "*/"
5550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5551 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
5552 fi # test -n "$CONFIG_HEADERS"
5555 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
5560 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5562 case $ac_mode$ac_tag in
5564 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5565 :[FH
]-) ac_tag
=-:-;;
5566 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5583 -) ac_f
="$tmp/stdin";;
5584 *) # Look for the file first in the build tree, then in the source tree
5585 # (if the path is not absolute). The absolute path cannot be DOS-style,
5586 # because $ac_f cannot contain `:'.
5590 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5592 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
5594 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5595 as_fn_append ac_file_inputs
" '$ac_f'"
5598 # Let's still pretend it is `configure' which instantiates (i.e., don't
5599 # use $as_me), people would be surprised to read:
5600 # /* config.h. Generated by config.status. */
5601 configure_input
='Generated from '`
5602 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5604 if test x
"$ac_file" != x-
; then
5605 configure_input
="$ac_file. $configure_input"
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5607 $as_echo "$as_me: creating $ac_file" >&6;}
5609 # Neutralize special characters interpreted by sed in replacement strings.
5610 case $configure_input in #(
5611 *\
&* |
*\|
* |
*\\* )
5612 ac_sed_conf_input
=`$as_echo "$configure_input" |
5613 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5614 *) ac_sed_conf_input
=$configure_input;;
5618 *:-:* |
*:-) cat >"$tmp/stdin" \
5619 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
5624 ac_dir
=`$as_dirname -- "$ac_file" ||
5625 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5626 X"$ac_file" : 'X\(//\)[^/]' \| \
5627 X"$ac_file" : 'X\(//\)$' \| \
5628 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5629 $as_echo X"$ac_file" |
5630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5647 as_dir
="$ac_dir"; as_fn_mkdir_p
5651 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5653 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5654 # A ".." for each directory in $ac_dir_suffix.
5655 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5656 case $ac_top_builddir_sub in
5657 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5658 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5661 ac_abs_top_builddir
=$ac_pwd
5662 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5663 # for backward compatibility:
5664 ac_top_builddir
=$ac_top_build_prefix
5667 .
) # We are building in place.
5669 ac_top_srcdir
=$ac_top_builddir_sub
5670 ac_abs_top_srcdir
=$ac_pwd ;;
5671 [\\/]* | ?
:[\\/]* ) # Absolute name.
5672 ac_srcdir
=$srcdir$ac_dir_suffix;
5673 ac_top_srcdir
=$srcdir
5674 ac_abs_top_srcdir
=$srcdir ;;
5676 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5677 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5678 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5680 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5690 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5691 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5696 # If the template does not know about datarootdir, expand it.
5697 # FIXME: This hack should be removed a few years after 2.60.
5698 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5709 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5710 *datarootdir
*) ac_datarootdir_seen
=yes;;
5711 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5713 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5716 ac_datarootdir_hack='
5717 s&@datadir@&$datadir&g
5718 s&@docdir@&$docdir&g
5719 s&@infodir@&$infodir&g
5720 s&@localedir@&$localedir&g
5721 s&@mandir@&$mandir&g
5722 s&\\\${datarootdir}&$datarootdir&g' ;;
5726 # Neutralize VPATH when `$srcdir' = `.'.
5727 # Shell code in configure.ac might set extrasub.
5728 # FIXME: do we really want to maintain this feature?
5729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5730 ac_sed_extra="$ac_vpsub
5733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5735 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5736 s|@configure_input@|
$ac_sed_conf_input|
;t t
5737 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5738 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5739 s
&@srcdir@
&$ac_srcdir&;t t
5740 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5741 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5742 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5743 s
&@builddir@
&$ac_builddir&;t t
5744 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5745 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5746 s
&@INSTALL@
&$ac_INSTALL&;t t
5747 $ac_datarootdir_hack
5749 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
5750 || as_fn_error "could not create
$ac_file" "$LINENO" 5
5752 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5753 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5754 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5756 which seems to be undefined. Please make sure it is defined." >&5
5757 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5758 which seems to be undefined. Please make sure it is defined." >&2;}
5762 -) cat "$tmp/out" && rm -f "$tmp/out";;
5763 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5765 || as_fn_error "could not create $ac_file" "$LINENO" 5
5771 if test x"$ac_file" != x-; then
5773 $as_echo "/* $configure_input */" \
5774 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5775 } >"$tmp/config.h" \
5776 || as_fn_error "could not create $ac_file" "$LINENO" 5
5777 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5779 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5782 mv "$tmp/config.h" "$ac_file" \
5783 || as_fn_error "could not create $ac_file" "$LINENO" 5
5786 $as_echo "/* $configure_input */" \
5787 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5788 || as_fn_error "could not create -" "$LINENO" 5
5796 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
5799 # Prefer the file from the source tree if names are identical.
5800 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
5801 ac_source=$srcdir/$ac_source
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
5805 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
5807 if test ! -r "$ac_source"; then
5808 as_fn_error "$ac_source: file not found" "$LINENO" 5
5812 # Try a relative symlink, then a hard link, then a copy.
5814 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
5815 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
5817 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
5818 ln "$ac_source" "$ac_file" 2>/dev/null ||
5819 cp -p "$ac_source" "$ac_file" ||
5820 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
5823 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5824 $as_echo "$as_me: executing $ac_file commands" >&6;}
5829 case $ac_file$ac_mode in
5830 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
5831 if test -n "$CONFIG_FILES"; then
5832 # FIXME: We shouldn't need to
set ac_file
5834 .
${libgcc_topdir}/config-ml.
in
5843 ac_clean_files
=$ac_clean_files_save
5845 test $ac_write_fail = 0 ||
5846 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
5849 # configure is writing to config.log, and then calls config.status.
5850 # config.status does its own redirection, appending to config.log.
5851 # Unfortunately, on DOS this fails, as config.log is still kept open
5852 # by configure, so config.status won't be able to write to it; its
5853 # output is simply discarded. So we exec the FD to /dev/null,
5854 # effectively closing config.log, so it can be properly (re)opened and
5855 # appended to by config.status. When coming back to configure, we
5856 # need to make the FD available again.
5857 if test "$no_create" != yes; then
5859 ac_config_status_args
=
5860 test "$silent" = yes &&
5861 ac_config_status_args
="$ac_config_status_args --quiet"
5863 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5865 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5866 # would make configure fail if this is the last instruction.
5867 $ac_cs_success || as_fn_exit $?
5869 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5871 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}