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
570 force_explicit_eh_registry
574 long_double_type_size
644 program_transform_name
657 enable_option_checking
664 enable_version_specific_runtime_libs
666 enable_maintainer_mode
669 with_system_libunwind
670 enable_sjlj_exceptions
671 enable_explicit_exception_frame_registration
675 ac_precious_vars
='build_alias
686 # Initialize some variables set by options.
688 ac_init_version
=false
689 ac_unrecognized_opts
=
691 # The variables have the same names as the options, with
692 # dashes changed to underlines.
700 program_transform_name
=s
,x
,x
,
708 # Installation directory options.
709 # These are left unexpanded so users can "make install exec_prefix=/foo"
710 # and all the variables that are supposed to be based on exec_prefix
711 # by default will actually change.
712 # Use braces instead of parens because sh, perl, etc. also accept them.
713 # (The list follows the same order as the GNU Coding Standards.)
714 bindir
='${exec_prefix}/bin'
715 sbindir
='${exec_prefix}/sbin'
716 libexecdir
='${exec_prefix}/libexec'
717 datarootdir
='${prefix}/share'
718 datadir
='${datarootdir}'
719 sysconfdir
='${prefix}/etc'
720 sharedstatedir
='${prefix}/com'
721 localstatedir
='${prefix}/var'
722 includedir
='${prefix}/include'
723 oldincludedir
='/usr/include'
724 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
725 infodir
='${datarootdir}/info'
730 libdir
='${exec_prefix}/lib'
731 localedir
='${datarootdir}/locale'
732 mandir
='${datarootdir}/man'
738 # If the previous option needs an argument, assign it.
739 if test -n "$ac_prev"; then
740 eval $ac_prev=\
$ac_option
746 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
750 # Accept the important Cygnus configure options, so we can diagnose typos.
752 case $ac_dashdash$ac_option in
756 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
758 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
761 -build |
--build |
--buil |
--bui |
--bu)
762 ac_prev
=build_alias
;;
763 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
764 build_alias
=$ac_optarg ;;
766 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
767 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
768 ac_prev
=cache_file
;;
769 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
770 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
771 cache_file
=$ac_optarg ;;
774 cache_file
=config.cache
;;
776 -datadir |
--datadir |
--datadi |
--datad)
778 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
779 datadir
=$ac_optarg ;;
781 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
782 |
--dataroo |
--dataro |
--datar)
783 ac_prev
=datarootdir
;;
784 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
785 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
786 datarootdir
=$ac_optarg ;;
788 -disable-* |
--disable-*)
789 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
792 as_fn_error
"invalid feature name: $ac_useropt"
793 ac_useropt_orig
=$ac_useropt
794 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
795 case $ac_user_opts in
799 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
800 ac_unrecognized_sep
=', ';;
802 eval enable_
$ac_useropt=no
;;
804 -docdir |
--docdir |
--docdi |
--doc |
--do)
806 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
809 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
811 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
814 -enable-* |
--enable-*)
815 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
816 # Reject names that are not valid shell variable names.
817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
818 as_fn_error
"invalid feature name: $ac_useropt"
819 ac_useropt_orig
=$ac_useropt
820 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
821 case $ac_user_opts in
825 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
826 ac_unrecognized_sep
=', ';;
828 eval enable_
$ac_useropt=\
$ac_optarg ;;
830 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
831 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
832 |
--exec |
--exe |
--ex)
833 ac_prev
=exec_prefix
;;
834 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
835 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
836 |
--exec=* |
--exe=* |
--ex=*)
837 exec_prefix
=$ac_optarg ;;
839 -gas |
--gas |
--ga |
--g)
840 # Obsolete; use --with-gas.
843 -help |
--help |
--hel |
--he |
-h)
845 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
846 ac_init_help
=recursive
;;
847 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
848 ac_init_help
=short
;;
850 -host |
--host |
--hos |
--ho)
851 ac_prev
=host_alias
;;
852 -host=* |
--host=* |
--hos=* |
--ho=*)
853 host_alias
=$ac_optarg ;;
855 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
857 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
859 htmldir
=$ac_optarg ;;
861 -includedir |
--includedir |
--includedi |
--included |
--include \
862 |
--includ |
--inclu |
--incl |
--inc)
863 ac_prev
=includedir
;;
864 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
865 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
866 includedir
=$ac_optarg ;;
868 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
870 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
871 infodir
=$ac_optarg ;;
873 -libdir |
--libdir |
--libdi |
--libd)
875 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
878 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
879 |
--libexe |
--libex |
--libe)
880 ac_prev
=libexecdir
;;
881 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
882 |
--libexe=* |
--libex=* |
--libe=*)
883 libexecdir
=$ac_optarg ;;
885 -localedir |
--localedir |
--localedi |
--localed |
--locale)
887 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
888 localedir
=$ac_optarg ;;
890 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
891 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
892 ac_prev
=localstatedir
;;
893 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
894 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
895 localstatedir
=$ac_optarg ;;
897 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
899 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
903 # Obsolete; use --without-fp.
906 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
907 |
--no-cr |
--no-c |
-n)
910 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
911 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
914 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
915 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
916 |
--oldin |
--oldi |
--old |
--ol |
--o)
917 ac_prev
=oldincludedir
;;
918 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
919 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
920 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
921 oldincludedir
=$ac_optarg ;;
923 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
925 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
928 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
929 |
--program-pre |
--program-pr |
--program-p)
930 ac_prev
=program_prefix
;;
931 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
932 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
933 program_prefix
=$ac_optarg ;;
935 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
936 |
--program-suf |
--program-su |
--program-s)
937 ac_prev
=program_suffix
;;
938 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
939 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
940 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
950 -program-transform-name=* |
--program-transform-name=* \
951 |
--program-transform-nam=* |
--program-transform-na=* \
952 |
--program-transform-n=* |
--program-transform-=* \
953 |
--program-transform=* |
--program-transfor=* \
954 |
--program-transfo=* |
--program-transf=* \
955 |
--program-trans=* |
--program-tran=* \
956 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
957 program_transform_name
=$ac_optarg ;;
959 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
961 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
964 -psdir |
--psdir |
--psdi |
--psd |
--ps)
966 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
969 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
970 |
-silent |
--silent |
--silen |
--sile |
--sil)
973 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
975 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
977 sbindir
=$ac_optarg ;;
979 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
980 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
981 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
983 ac_prev
=sharedstatedir
;;
984 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
985 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
986 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
988 sharedstatedir
=$ac_optarg ;;
990 -site |
--site |
--sit)
992 -site=* |
--site=* |
--sit=*)
995 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
997 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1000 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1001 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1002 ac_prev
=sysconfdir
;;
1003 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1004 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1005 sysconfdir
=$ac_optarg ;;
1007 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1008 ac_prev
=target_alias
;;
1009 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1010 target_alias
=$ac_optarg ;;
1012 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1015 -version |
--version |
--versio |
--versi |
--vers |
-V)
1016 ac_init_version
=: ;;
1019 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1022 as_fn_error
"invalid package name: $ac_useropt"
1023 ac_useropt_orig
=$ac_useropt
1024 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1029 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1030 ac_unrecognized_sep
=', ';;
1032 eval with_
$ac_useropt=\
$ac_optarg ;;
1034 -without-* |
--without-*)
1035 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1038 as_fn_error
"invalid package name: $ac_useropt"
1039 ac_useropt_orig
=$ac_useropt
1040 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1045 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1046 ac_unrecognized_sep
=', ';;
1048 eval with_
$ac_useropt=no
;;
1051 # Obsolete; use --with-x.
1054 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1055 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1056 ac_prev
=x_includes
;;
1057 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1058 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1059 x_includes
=$ac_optarg ;;
1061 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1062 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1063 ac_prev
=x_libraries
;;
1064 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1065 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1066 x_libraries
=$ac_optarg ;;
1068 -*) as_fn_error
"unrecognized option: \`$ac_option'
1069 Try \`$0 --help' for more information."
1073 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1074 # Reject names that are not valid shell variable names.
1075 case $ac_envvar in #(
1076 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1077 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1079 eval $ac_envvar=\
$ac_optarg
1080 export $ac_envvar ;;
1083 # FIXME: should be removed in autoconf 3.0.
1084 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1085 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1086 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1087 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1093 if test -n "$ac_prev"; then
1094 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1095 as_fn_error
"missing argument to $ac_option"
1098 if test -n "$ac_unrecognized_opts"; then
1099 case $enable_option_checking in
1101 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1102 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1106 # Check all directory arguments for consistency.
1107 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1108 datadir sysconfdir sharedstatedir localstatedir includedir \
1109 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1110 libdir localedir mandir
1112 eval ac_val
=\$
$ac_var
1113 # Remove trailing slashes.
1116 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1117 eval $ac_var=\
$ac_val;;
1119 # Be sure to have absolute directory names.
1121 [\\/$
]* | ?
:[\\/]* ) continue;;
1122 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1124 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1127 # There might be people who depend on the old broken behavior: `$host'
1128 # used to hold the argument of --host etc.
1129 # FIXME: To remove some day.
1132 target
=$target_alias
1134 # FIXME: To remove some day.
1135 if test "x$host_alias" != x
; then
1136 if test "x$build_alias" = x
; then
1137 cross_compiling
=maybe
1138 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1139 If a cross compiler is detected then cross compile mode will be used." >&2
1140 elif test "x$build_alias" != "x$host_alias"; then
1146 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1148 test "$silent" = yes && exec 6>/dev
/null
1151 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1152 ac_ls_di
=`ls -di .` &&
1153 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1154 as_fn_error
"working directory cannot be determined"
1155 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1156 as_fn_error
"pwd does not report name of working directory"
1159 # Find the source files, if location was not specified.
1160 if test -z "$srcdir"; then
1161 ac_srcdir_defaulted
=yes
1162 # Try the directory containing this script, then the parent directory.
1163 ac_confdir
=`$as_dirname -- "$as_myself" ||
1164 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1165 X"$as_myself" : 'X\(//\)[^/]' \| \
1166 X"$as_myself" : 'X\(//\)$' \| \
1167 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1168 $as_echo X"$as_myself" |
1169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1187 if test ! -r "$srcdir/$ac_unique_file"; then
1191 ac_srcdir_defaulted
=no
1193 if test ! -r "$srcdir/$ac_unique_file"; then
1194 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1195 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1197 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1199 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1201 # When building in place, set srcdir=.
1202 if test "$ac_abs_confdir" = "$ac_pwd"; then
1205 # Remove unnecessary trailing slashes from srcdir.
1206 # Double slashes in file names in object file debugging info
1207 # mess up M-x gdb in Emacs.
1209 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1211 for ac_var
in $ac_precious_vars; do
1212 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1213 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1214 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1215 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1219 # Report the --help message.
1221 if test "$ac_init_help" = "long"; then
1222 # Omit some internal or obsolete options to make the list less imposing.
1223 # This message is too long to be a string in the A/UX 3.1 sh.
1225 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1227 Usage: $0 [OPTION]... [VAR=VALUE]...
1229 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1230 VAR=VALUE. See below for descriptions of some of the useful variables.
1232 Defaults for the options are specified in brackets.
1235 -h, --help display this help and exit
1236 --help=short display options specific to this package
1237 --help=recursive display the short help of all the included packages
1238 -V, --version display version information and exit
1239 -q, --quiet, --silent do not print \`checking...' messages
1240 --cache-file=FILE cache test results in FILE [disabled]
1241 -C, --config-cache alias for \`--cache-file=config.cache'
1242 -n, --no-create do not create output files
1243 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1245 Installation directories:
1246 --prefix=PREFIX install architecture-independent files in PREFIX
1247 [$ac_default_prefix]
1248 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1251 By default, \`make install' will install all the files in
1252 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1253 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1254 for instance \`--prefix=\$HOME'.
1256 For better control, use the options below.
1258 Fine tuning of the installation directories:
1259 --bindir=DIR user executables [EPREFIX/bin]
1260 --sbindir=DIR system admin executables [EPREFIX/sbin]
1261 --libexecdir=DIR program executables [EPREFIX/libexec]
1262 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1263 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1264 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1265 --libdir=DIR object code libraries [EPREFIX/lib]
1266 --includedir=DIR C header files [PREFIX/include]
1267 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1268 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1269 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1270 --infodir=DIR info documentation [DATAROOTDIR/info]
1271 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1272 --mandir=DIR man documentation [DATAROOTDIR/man]
1273 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1274 --htmldir=DIR html documentation [DOCDIR]
1275 --dvidir=DIR dvi documentation [DOCDIR]
1276 --pdfdir=DIR pdf documentation [DOCDIR]
1277 --psdir=DIR ps documentation [DOCDIR]
1283 --build=BUILD configure
for building on BUILD
[guessed
]
1284 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1288 if test -n "$ac_init_help"; then
1289 case $ac_init_help in
1290 short | recursive
) echo "Configuration of GNU C Runtime Library 1.0:";;
1295 --disable-option-checking ignore unrecognized
--enable/--with options
1296 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1297 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1298 --disable-shared don
't provide a shared libgcc
1299 --enable-vtable-verify Enable vtable verification feature
1300 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1301 --enable-maintainer-mode
1302 enable make rules and dependencies not useful (and
1303 sometimes confusing) to the casual installer
1304 --enable-decimal-float={no,yes,bid,dpd}
1305 enable decimal float extension to C. Selecting 'bid
'
1306 or 'dpd
' choses which decimal floating point format
1308 --enable-sjlj-exceptions
1309 force use of builtin_setjmp for exceptions
1310 --enable-explicit-exception-frame-registration
1311 register exception tables explicitly at module
1312 start, for use e.g. for compatibility with
1313 installations without PT_GNU_EH_FRAME support
1314 --enable-tls Use thread-local storage [default=yes]
1317 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1318 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1319 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
1320 --with-cross-host=HOST Configuring with a cross compiler
1321 --with-ld arrange to use the specified ld (full pathname)
1322 --with-aix-soname=aix|svr4|both
1323 shared library versioning (aka "SONAME") variant to
1325 --with-slibdir=DIR shared libraries in DIR LIBDIR
1326 --with-build-libsubdir=DIR Directory where to find libraries for build system
1327 --with-system-libunwind use installed libunwind
1328 --with-glibc-version=M.N
1329 assume GCC used with glibc version M.N or later
1331 Some influential environment variables:
1332 CC C compiler command
1333 CFLAGS C compiler flags
1334 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1335 nonstandard directory <lib dir>
1336 LIBS libraries to pass to the linker, e.g. -l<library>
1337 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1338 you have headers in a nonstandard directory <include dir>
1341 Use these variables to override the choices made by `configure' or to
help
1342 it to
find libraries and programs with nonstandard names
/locations.
1344 Report bugs to the package provider.
1345 GNU C Runtime Library home page
: <http
://www.gnu.org
/software
/libgcc
/>.
1346 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1351 if test "$ac_init_help" = "recursive"; then
1352 # If there are subdirs, report their specific --help.
1353 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1354 test -d "$ac_dir" ||
1355 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1360 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1362 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1363 # A ".." for each directory in $ac_dir_suffix.
1364 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1365 case $ac_top_builddir_sub in
1366 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1367 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1370 ac_abs_top_builddir
=$ac_pwd
1371 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1372 # for backward compatibility:
1373 ac_top_builddir
=$ac_top_build_prefix
1376 .
) # We are building in place.
1378 ac_top_srcdir
=$ac_top_builddir_sub
1379 ac_abs_top_srcdir
=$ac_pwd ;;
1380 [\\/]* | ?
:[\\/]* ) # Absolute name.
1381 ac_srcdir
=$srcdir$ac_dir_suffix;
1382 ac_top_srcdir
=$srcdir
1383 ac_abs_top_srcdir
=$srcdir ;;
1385 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1386 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1387 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1389 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1391 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1392 # Check for guested configure.
1393 if test -f "$ac_srcdir/configure.gnu"; then
1395 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1396 elif test -f "$ac_srcdir/configure"; then
1398 $SHELL "$ac_srcdir/configure" --help=recursive
1400 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1402 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1406 test -n "$ac_init_help" && exit $ac_status
1407 if $ac_init_version; then
1409 GNU C Runtime Library configure
1.0
1410 generated by GNU Autoconf
2.64
1412 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1413 This configure
script is free software
; the Free Software Foundation
1414 gives unlimited permission to copy
, distribute and modify it.
1419 ## ------------------------ ##
1420 ## Autoconf initialization. ##
1421 ## ------------------------ ##
1423 # ac_fn_c_try_compile LINENO
1424 # --------------------------
1425 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1426 ac_fn_c_try_compile
()
1428 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1429 rm -f conftest.
$ac_objext
1430 if { { ac_try
="$ac_compile"
1432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1433 *) ac_try_echo=$ac_try;;
1435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1436 $as_echo "$ac_try_echo"; } >&5
1437 (eval "$ac_compile") 2>conftest.err
1439 if test -s conftest.err; then
1440 grep -v '^ *+' conftest.err >conftest.er1
1441 cat conftest.er1 >&5
1442 mv -f conftest.er1 conftest.err
1444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1445 test $ac_status = 0; } && {
1446 test -z "$ac_c_werror_flag" ||
1447 test ! -s conftest.err
1448 } && test -s conftest.$ac_objext; then :
1451 $as_echo "$as_me: failed program was:" >&5
1452 sed 's/^/| /' conftest.$ac_ext >&5
1456 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1459 } # ac_fn_c_try_compile
1461 # ac_fn_c_try_cpp LINENO
1462 # ----------------------
1463 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467 if { { ac_try="$ac_cpp conftest.$ac_ext"
1469 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1470 *) ac_try_echo
=$ac_try;;
1472 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1473 $as_echo "$ac_try_echo"; } >&5
1474 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1476 if test -s conftest.err
; then
1477 grep -v '^ *+' conftest.err
>conftest.er1
1478 cat conftest.er1
>&5
1479 mv -f conftest.er1 conftest.err
1481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1482 test $ac_status = 0; } >/dev
/null
&& {
1483 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1484 test ! -s conftest.err
1488 $as_echo "$as_me: failed program was:" >&5
1489 sed 's/^/| /' conftest.
$ac_ext >&5
1493 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1498 # ac_fn_c_try_run LINENO
1499 # ----------------------
1500 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1501 # that executables *can* be run.
1504 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1505 if { { ac_try
="$ac_link"
1507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1508 *) ac_try_echo=$ac_try;;
1510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1511 $as_echo "$ac_try_echo"; } >&5
1512 (eval "$ac_link") 2>&5
1514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1515 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1516 { { case "(($ac_try" in
1517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1518 *) ac_try_echo
=$ac_try;;
1520 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1521 $as_echo "$ac_try_echo"; } >&5
1522 (eval "$ac_try") 2>&5
1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1525 test $ac_status = 0; }; }; then :
1528 $as_echo "$as_me: program exited with status $ac_status" >&5
1529 $as_echo "$as_me: failed program was:" >&5
1530 sed 's/^/| /' conftest.
$ac_ext >&5
1532 ac_retval
=$ac_status
1534 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1535 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1540 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1541 # --------------------------------------------
1542 # Tries to find the compile-time value of EXPR in a program that includes
1543 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1545 ac_fn_c_compute_int
()
1547 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1548 if test "$cross_compiling" = yes; then
1549 # Depending upon the size, compute the lo and hi bounds.
1550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1551 /* end confdefs.h. */
1556 static int test_array [1 - 2 * !(($2) >= 0)];
1563 if ac_fn_c_try_compile
"$LINENO"; then :
1566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1567 /* end confdefs.h. */
1572 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1579 if ac_fn_c_try_compile
"$LINENO"; then :
1580 ac_hi
=$ac_mid; break
1582 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1583 if test $ac_lo -le $ac_mid; then
1587 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1593 /* end confdefs.h. */
1598 static int test_array [1 - 2 * !(($2) < 0)];
1605 if ac_fn_c_try_compile
"$LINENO"; then :
1608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1609 /* end confdefs.h. */
1614 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1621 if ac_fn_c_try_compile
"$LINENO"; then :
1622 ac_lo
=$ac_mid; break
1624 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1625 if test $ac_mid -le $ac_hi; then
1629 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1639 # Binary search between lo and hi bounds.
1640 while test "x$ac_lo" != "x$ac_hi"; do
1641 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1648 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1655 if ac_fn_c_try_compile
"$LINENO"; then :
1658 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1663 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1668 /* end confdefs.h. */
1670 static long int longval () { return $2; }
1671 static unsigned long int ulongval () { return $2; }
1678 FILE *f = fopen ("conftest.val", "w");
1683 long int i = longval ();
1686 fprintf (f, "%ld", i);
1690 unsigned long int i = ulongval ();
1693 fprintf (f, "%lu", i);
1695 /* Do not output a trailing newline, as this causes \r\n confusion
1696 on some platforms. */
1697 return ferror (f) || fclose (f) != 0;
1703 if ac_fn_c_try_run
"$LINENO"; then :
1704 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
1708 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
1709 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1713 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1716 } # ac_fn_c_compute_int
1717 cat >config.log
<<_ACEOF
1718 This file contains any messages produced by compilers while
1719 running configure, to aid debugging if configure makes a mistake.
1721 It was created by GNU C Runtime Library $as_me 1.0, which was
1722 generated by GNU Autoconf 2.64. Invocation command line was
1734 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1735 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1736 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1737 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1738 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1740 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1741 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1743 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1744 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1745 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1746 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1747 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1748 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1749 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1757 test -z "$as_dir" && as_dir
=.
1758 $as_echo "PATH: $as_dir"
1774 # Keep a trace of the command line.
1775 # Strip out --no-create and --no-recursion so they do not pile up.
1776 # Strip out --silent because we don't want to record it for future runs.
1777 # Also quote any args containing shell meta-characters.
1778 # Make two passes to allow for proper duplicate-argument suppression.
1782 ac_must_keep_next
=false
1788 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1789 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1790 |
-silent |
--silent |
--silen |
--sile |
--sil)
1793 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1796 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1798 as_fn_append ac_configure_args1
" '$ac_arg'"
1799 if test $ac_must_keep_next = true
; then
1800 ac_must_keep_next
=false
# Got value, back to normal.
1803 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1804 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1805 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1806 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1807 case "$ac_configure_args0 " in
1808 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1811 -* ) ac_must_keep_next
=true
;;
1814 as_fn_append ac_configure_args
" '$ac_arg'"
1819 { ac_configure_args0
=; unset ac_configure_args0
;}
1820 { ac_configure_args1
=; unset ac_configure_args1
;}
1822 # When interrupted or exit'd, cleanup temporary files, and complete
1823 # config.log. We remove comments because anyway the quotes in there
1824 # would cause problems or look ugly.
1825 # WARNING: Use '\'' to represent an apostrophe within the trap.
1826 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1827 trap 'exit_status=$?
1828 # Save into config.log some information that might help in debugging.
1833 ## ---------------- ##
1834 ## Cache variables. ##
1835 ## ---------------- ##
1838 # The following way of writing the cache mishandles newlines in values,
1840 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1841 eval ac_val=\$$ac_var
1845 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1846 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1849 _ | IFS | as_nl) ;; #(
1850 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1851 *) { eval $ac_var=; unset $ac_var;} ;;
1856 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1857 *${as_nl}ac_space=\ *)
1859 "s/'\''/'\''\\\\'\'''\''/g;
1860 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1863 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1871 ## ----------------- ##
1872 ## Output variables. ##
1873 ## ----------------- ##
1876 for ac_var in $ac_subst_vars
1878 eval ac_val=\$$ac_var
1880 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1882 $as_echo "$ac_var='\''$ac_val'\''"
1886 if test -n "$ac_subst_files"; then
1888 ## ------------------- ##
1889 ## File substitutions. ##
1890 ## ------------------- ##
1893 for ac_var
in $ac_subst_files
1895 eval ac_val
=\$
$ac_var
1897 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1899 $as_echo "$ac_var='\''$ac_val'\''"
1904 if test -s confdefs.h; then
1914 test "$ac_signal" != 0 &&
1915 $as_echo "$as_me: caught signal $ac_signal"
1916 $as_echo "$as_me: exit $exit_status"
1918 rm -f core *.core core.conftest.* &&
1919 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1922 for ac_signal
in 1 2 13 15; do
1923 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1927 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1928 rm -f -r conftest
* confdefs.h
1930 $as_echo "/* confdefs.h */" > confdefs.h
1932 # Predefined preprocessor variables.
1934 cat >>confdefs.h
<<_ACEOF
1935 #define PACKAGE_NAME "$PACKAGE_NAME"
1938 cat >>confdefs.h
<<_ACEOF
1939 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1942 cat >>confdefs.h
<<_ACEOF
1943 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1946 cat >>confdefs.h
<<_ACEOF
1947 #define PACKAGE_STRING "$PACKAGE_STRING"
1950 cat >>confdefs.h
<<_ACEOF
1951 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1954 cat >>confdefs.h
<<_ACEOF
1955 #define PACKAGE_URL "$PACKAGE_URL"
1959 # Let the site file select an alternate cache file if it wants to.
1960 # Prefer an explicitly selected file to automatically selected ones.
1963 if test -n "$CONFIG_SITE"; then
1964 ac_site_file1
=$CONFIG_SITE
1965 elif test "x$prefix" != xNONE
; then
1966 ac_site_file1
=$prefix/share
/config.site
1967 ac_site_file2
=$prefix/etc
/config.site
1969 ac_site_file1
=$ac_default_prefix/share
/config.site
1970 ac_site_file2
=$ac_default_prefix/etc
/config.site
1972 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1974 test "x$ac_site_file" = xNONE
&& continue
1975 if test -r "$ac_site_file"; then
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1977 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1978 sed 's/^/| /' "$ac_site_file" >&5
1983 if test -r "$cache_file"; then
1984 # Some versions of bash will fail to source /dev/null (special
1985 # files actually), so we avoid doing that.
1986 if test -f "$cache_file"; then
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1988 $as_echo "$as_me: loading cache $cache_file" >&6;}
1990 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1991 *) .
"./$cache_file";;
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1996 $as_echo "$as_me: creating cache $cache_file" >&6;}
2000 # Check that the precious variables saved in the cache have kept the same
2002 ac_cache_corrupted
=false
2003 for ac_var
in $ac_precious_vars; do
2004 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2005 eval ac_new_set
=\
$ac_env_${ac_var}_set
2006 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2007 eval ac_new_val
=\
$ac_env_${ac_var}_value
2008 case $ac_old_set,$ac_new_set in
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2011 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2012 ac_cache_corrupted
=: ;;
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2015 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2016 ac_cache_corrupted
=: ;;
2019 if test "x$ac_old_val" != "x$ac_new_val"; then
2020 # differences in whitespace do not lead to failure.
2021 ac_old_val_w
=`echo x $ac_old_val`
2022 ac_new_val_w
=`echo x $ac_new_val`
2023 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2025 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2026 ac_cache_corrupted
=:
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2029 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2030 eval $ac_var=\
$ac_old_val
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2033 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2035 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2038 # Pass precious variables to config.status.
2039 if test "$ac_new_set" = set; then
2041 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2042 *) ac_arg
=$ac_var=$ac_new_val ;;
2044 case " $ac_configure_args " in
2045 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2046 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2050 if $ac_cache_corrupted; then
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2054 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2055 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2057 ## -------------------- ##
2058 ## Main body of script. ##
2059 ## -------------------- ##
2062 ac_cpp
='$CPP $CPPFLAGS'
2063 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2064 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2065 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2073 # The libgcc should not depend on any header files
2077 # Check whether --with-target-subdir was given.
2078 if test "${with_target_subdir+set}" = set; then :
2079 withval
=$with_target_subdir;
2083 # Check whether --with-cross-host was given.
2084 if test "${with_cross_host+set}" = set; then :
2085 withval
=$with_cross_host;
2089 # Check whether --with-ld was given.
2090 if test "${with_ld+set}" = set; then :
2095 if test "${srcdir}" = "."; then
2096 if test -n "${with_build_subdir}"; then
2097 libgcc_topdir
="${srcdir}/../.."
2099 elif test -z "${with_target_subdir}"; then
2100 libgcc_topdir
="${srcdir}/.."
2102 if test "${with_target_subdir}" != "."; then
2103 libgcc_topdir
="${srcdir}/${with_multisrctop}../.."
2105 libgcc_topdir
="${srcdir}/${with_multisrctop}.."
2109 libgcc_topdir
="${srcdir}/.."
2113 for ac_dir
in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
2114 for ac_t
in install-sh
install.sh shtool
; do
2115 if test -f "$ac_dir/$ac_t"; then
2117 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2122 if test -z "$ac_aux_dir"; then
2123 as_fn_error
"cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
2126 # These three variables are undocumented and unsupported,
2127 # and are intended to be withdrawn in a future Autoconf release.
2128 # They can cause serious problems if a builder's source tree is in a directory
2129 # whose full name contains unusual characters.
2130 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2131 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2132 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2135 ac_config_headers
="$ac_config_headers auto-target.h:config.in"
2138 # Check whether --enable-shared was given.
2139 if test "${enable_shared+set}" = set; then :
2140 enableval
=$enable_shared;
2141 case $enable_shared in
2145 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2146 for pkg
in $enableval; do
2147 if test "X$pkg" = "Xgcc" ||
test "X$pkg" = "Xlibgcc"; then
2161 # Check whether --enable-vtable-verify was given.
2162 if test "${enable_vtable_verify+set}" = set; then :
2163 enableval
=$enable_vtable_verify; case "$enableval" in
2164 yes) enable_vtable_verify
=yes ;;
2165 no
) enable_vtable_verify
=no
;;
2166 *) enable_vtable_verify
=no
;;
2169 enable_vtable_verify
=no
2175 # Check whether --with-aix-soname was given.
2176 if test "${with_aix_soname+set}" = set; then :
2177 withval
=$with_aix_soname; case "${host}:${enable_shared}" in
2178 power
*-*-aix[5-9]*:yes)
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide for shared libgcc" >&5
2180 $as_echo_n "checking which variant of shared library versioning to provide for shared libgcc... " >&6; }
2183 *) as_fn_error
"Unknown argument to --with-aix-soname" "$LINENO" 5;;
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
2186 $as_echo "$withval" >&6; }
2188 *) with_aix_soname
=aix
;;
2197 # Make sure we can run config.sub.
2198 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2199 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2202 $as_echo_n "checking build system type... " >&6; }
2203 if test "${ac_cv_build+set}" = set; then :
2204 $as_echo_n "(cached) " >&6
2206 ac_build_alias
=$build_alias
2207 test "x$ac_build_alias" = x
&&
2208 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2209 test "x$ac_build_alias" = x
&&
2210 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2211 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2212 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2216 $as_echo "$ac_cv_build" >&6; }
2217 case $ac_cv_build in
2219 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2222 ac_save_IFS
=$IFS; IFS
='-'
2228 # Remember, the first character of IFS is used to create $*,
2229 # except with old shells:
2232 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2236 $as_echo_n "checking host system type... " >&6; }
2237 if test "${ac_cv_host+set}" = set; then :
2238 $as_echo_n "(cached) " >&6
2240 if test "x$host_alias" = x
; then
2241 ac_cv_host
=$ac_cv_build
2243 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2244 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2249 $as_echo "$ac_cv_host" >&6; }
2252 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2255 ac_save_IFS
=$IFS; IFS
='-'
2261 # Remember, the first character of IFS is used to create $*,
2262 # except with old shells:
2265 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2273 # PIC is the default on some targets or must not be used.
2275 # PIC is the default on this platform
2276 # Common symbols not allowed in MH_DYLIB files
2280 # PIC is the default.
2283 # PIC is the default for 64-bit PA HP-UX.
2285 i
[34567]86-*-cygwin* | x86_64-
*-cygwin*)
2287 i
[34567]86-*-mingw* | x86_64-
*-mingw*)
2289 i
[34567]86-*-interix[3-9]*)
2290 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2291 # Instead, we relocate shared libraries at runtime.
2293 i
[34567]86-*-nto-qnx*)
2294 # QNX uses GNU C++, but need to define -shared option too, otherwise
2296 PICFLAG
='-fPIC -shared'
2298 i
[34567]86-pc-msdosdjgpp*)
2299 # DJGPP does not support shared libraries at all.
2302 # On IA64 HP-UX, PIC is the default but the pic flag
2303 # sets the default TLS model and affects inlining.
2307 # PIC is the default.
2309 rs6000-ibm-aix
* | powerpc-ibm-aix
*)
2310 # All AIX code is PIC.
2313 # Some targets support both -fPIC and -fpic, but prefer the latter.
2315 i
[34567]86-*-* | x86_64-
*-*)
2318 # FIXME: Override -fPIC default in libgcc only?
2319 sh-
*-linux* | sh
[2346lbe
]*-*-linux*)
2322 # FIXME: Simplify to sh*-*-netbsd*?
2323 sh-
*-netbsdelf* | shl
*-*-netbsdelf* | sh5-
*-netbsd* | sh5l
*-*-netbsd* | \
2324 sh64-
*-netbsd* | sh64l
*-*-netbsd*)
2327 # Default to -fPIC unless specified otherwise.
2333 # If the user explicitly uses -fpic/-fPIC, keep that.
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2346 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2347 # Check whether --enable-version-specific-runtime-libs was given.
2348 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2349 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2350 yes) version_specific_libs
=yes ;;
2351 no
) version_specific_libs
=no
;;
2352 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2355 version_specific_libs
=no
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2359 $as_echo "$version_specific_libs" >&6; }
2362 # Check whether --with-slibdir was given.
2363 if test "${with_slibdir+set}" = set; then :
2364 withval
=$with_slibdir; slibdir
="$with_slibdir"
2366 if test "${version_specific_libs}" = yes; then
2367 slibdir
='$(libsubdir)'
2368 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
2369 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
2377 # Command-line options.
2378 # Very limited version of AC_MAINTAINER_MODE.
2379 # Check whether --enable-maintainer-mode was given.
2380 if test "${enable_maintainer_mode+set}" = set; then :
2381 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2384 *) as_fn_error
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2386 maintainer_mode
=${enableval}
2392 # Find a good install program. We prefer a C program (faster),
2393 # so one script is as good as another. But avoid the broken or
2394 # incompatible versions:
2395 # SysV /etc/install, /usr/sbin/install
2396 # SunOS /usr/etc/install
2397 # IRIX /sbin/install
2399 # AmigaOS /C/install, which installs bootblocks on floppy discs
2400 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2401 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2402 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2403 # OS/2's system install, which has a completely different semantic
2404 # ./install, which can be erroneously created by make from ./install.sh.
2405 # Reject install programs that cannot install multiple files.
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2407 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2408 if test -z "$INSTALL"; then
2409 if test "${ac_cv_path_install+set}" = set; then :
2410 $as_echo_n "(cached) " >&6
2412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2416 test -z "$as_dir" && as_dir
=.
2417 # Account for people who put trailing slashes in PATH elements.
2418 case $as_dir/ in #((
2419 .
/ | .
// |
/[cC
]/* | \
2420 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2421 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2424 # OSF1 and SCO ODT 3.0 have their own names for install.
2425 # Don't use installbsd from OSF since it installs stuff as root
2427 for ac_prog
in ginstall scoinst
install; do
2428 for ac_exec_ext
in '' $ac_executable_extensions; do
2429 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2430 if test $ac_prog = install &&
2431 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2432 # AIX install. It has an incompatible calling convention.
2434 elif test $ac_prog = install &&
2435 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2436 # program-specific install script used by HP pwplus--don't use.
2439 rm -rf conftest.one conftest.two conftest.dir
2440 echo one
> conftest.one
2441 echo two
> conftest.two
2443 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2444 test -s conftest.one
&& test -s conftest.two
&&
2445 test -s conftest.dir
/conftest.one
&&
2446 test -s conftest.dir
/conftest.two
2448 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2461 rm -rf conftest.one conftest.two conftest.dir
2464 if test "${ac_cv_path_install+set}" = set; then
2465 INSTALL
=$ac_cv_path_install
2467 # As a last resort, use the slow shell script. Don't cache a
2468 # value for INSTALL within a source directory, because that will
2469 # break other packages using the cache if that directory is
2470 # removed, or if the value is a relative name.
2471 INSTALL
=$ac_install_sh
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2475 $as_echo "$INSTALL" >&6; }
2477 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2478 # It thinks the first close brace ends the variable substitution.
2479 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2481 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2483 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2486 for ac_prog
in gawk mawk nawk
awk
2488 # Extract the first word of "$ac_prog", so it can be a program name with args.
2489 set dummy
$ac_prog; ac_word
=$2
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2491 $as_echo_n "checking for $ac_word... " >&6; }
2492 if test "${ac_cv_prog_AWK+set}" = set; then :
2493 $as_echo_n "(cached) " >&6
2495 if test -n "$AWK"; then
2496 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir
=.
2503 for ac_exec_ext
in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 ac_cv_prog_AWK
="$ac_prog"
2506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2516 if test -n "$AWK"; then
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2518 $as_echo "$AWK" >&6; }
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2521 $as_echo "no" >&6; }
2525 test -n "$AWK" && break
2528 # We need awk; bail out if it's missing.
2530 "") as_fn_error
"can't build without awk, bailing out" "$LINENO" 5 ;;
2534 case ${build_alias} in
2535 "") build_noncanonical
=${build} ;;
2536 *) build_noncanonical
=${build_alias} ;;
2539 case ${host_alias} in
2540 "") host_noncanonical
=${build_noncanonical} ;;
2541 *) host_noncanonical
=${host_alias} ;;
2546 case ${target_alias} in
2547 "") target_noncanonical
=${host_noncanonical} ;;
2548 *) target_noncanonical
=${target_alias} ;;
2554 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2555 # have matching libraries, they should use host libraries: Makefile.tpl
2556 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2557 # However, they still use the build modules, because the corresponding
2558 # host modules (e.g. bison) are only built for the host when bootstrap
2560 # - build_subdir is where we find build modules, and never changes.
2561 # - build_libsubdir is where we find build libraries, and can be overridden.
2563 # Prefix 'build-' so this never conflicts with target_subdir.
2564 build_subdir
="build-${build_noncanonical}"
2566 # Check whether --with-build-libsubdir was given.
2567 if test "${with_build_libsubdir+set}" = set; then :
2568 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2570 build_libsubdir
="$build_subdir"
2573 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2574 if ( test $srcdir = .
&& test -d gcc
) \
2575 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2576 host_subdir
="host-${host_noncanonical}"
2581 target_subdir
=${target_noncanonical}
2584 # Calculate toolexeclibdir
2585 # Also toolexecdir, though it's only used in toolexeclibdir
2586 case ${version_specific_libs} in
2588 # Need the gcc compiler version to know where to install libraries
2589 # and header files if --enable-version-specific-runtime-libs option
2591 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
2592 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2595 if test -n "$with_cross_host" &&
2596 test x
"$with_cross_host" != x
"no"; then
2597 # Install a library built with a cross compiler in tooldir, not libdir.
2598 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
2599 toolexeclibdir
='$(toolexecdir)/lib'
2601 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
2602 toolexeclibdir
='$(libdir)'
2604 multi_os_directory
=`$CC -print-multi-os-directory`
2605 case $multi_os_directory in
2606 .
) ;; # Avoid trailing /.
2607 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2614 if test -n "$ac_tool_prefix"; then
2615 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2616 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2618 $as_echo_n "checking for $ac_word... " >&6; }
2619 if test "${ac_cv_prog_AR+set}" = set; then :
2620 $as_echo_n "(cached) " >&6
2622 if test -n "$AR"; then
2623 ac_cv_prog_AR
="$AR" # Let the user override the test.
2625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2629 test -z "$as_dir" && as_dir
=.
2630 for ac_exec_ext
in '' $ac_executable_extensions; do
2631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2632 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2643 if test -n "$AR"; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2645 $as_echo "$AR" >&6; }
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2648 $as_echo "no" >&6; }
2653 if test -z "$ac_cv_prog_AR"; then
2655 # Extract the first word of "ar", so it can be a program name with args.
2656 set dummy
ar; ac_word
=$2
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2658 $as_echo_n "checking for $ac_word... " >&6; }
2659 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2660 $as_echo_n "(cached) " >&6
2662 if test -n "$ac_ct_AR"; then
2663 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir
=.
2670 for ac_exec_ext
in '' $ac_executable_extensions; do
2671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2672 ac_cv_prog_ac_ct_AR
="ar"
2673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2682 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2683 if test -n "$ac_ct_AR"; then
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2685 $as_echo "$ac_ct_AR" >&6; }
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688 $as_echo "no" >&6; }
2691 if test "x$ac_ct_AR" = x
; then
2694 case $cross_compiling:$ac_tool_warned in
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2698 ac_tool_warned
=yes ;;
2706 if test -n "$ac_tool_prefix"; then
2707 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2708 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2710 $as_echo_n "checking for $ac_word... " >&6; }
2711 if test "${ac_cv_prog_LIPO+set}" = set; then :
2712 $as_echo_n "(cached) " >&6
2714 if test -n "$LIPO"; then
2715 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
2717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2721 test -z "$as_dir" && as_dir
=.
2722 for ac_exec_ext
in '' $ac_executable_extensions; do
2723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
2725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2734 LIPO
=$ac_cv_prog_LIPO
2735 if test -n "$LIPO"; then
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2737 $as_echo "$LIPO" >&6; }
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740 $as_echo "no" >&6; }
2745 if test -z "$ac_cv_prog_LIPO"; then
2747 # Extract the first word of "lipo", so it can be a program name with args.
2748 set dummy lipo
; ac_word
=$2
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2750 $as_echo_n "checking for $ac_word... " >&6; }
2751 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
2752 $as_echo_n "(cached) " >&6
2754 if test -n "$ac_ct_LIPO"; then
2755 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
2757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2761 test -z "$as_dir" && as_dir
=.
2762 for ac_exec_ext
in '' $ac_executable_extensions; do
2763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2764 ac_cv_prog_ac_ct_LIPO
="lipo"
2765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2774 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
2775 if test -n "$ac_ct_LIPO"; then
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2777 $as_echo "$ac_ct_LIPO" >&6; }
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2780 $as_echo "no" >&6; }
2783 if test "x$ac_ct_LIPO" = x
; then
2786 case $cross_compiling:$ac_tool_warned in
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2790 ac_tool_warned
=yes ;;
2795 LIPO
="$ac_cv_prog_LIPO"
2798 if test -n "$ac_tool_prefix"; then
2799 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2800 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if test "${ac_cv_prog_NM+set}" = set; then :
2804 $as_echo_n "(cached) " >&6
2806 if test -n "$NM"; then
2807 ac_cv_prog_NM
="$NM" # Let the user override the test.
2809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir
=.
2814 for ac_exec_ext
in '' $ac_executable_extensions; do
2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816 ac_cv_prog_NM
="${ac_tool_prefix}nm"
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2827 if test -n "$NM"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2829 $as_echo "$NM" >&6; }
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2837 if test -z "$ac_cv_prog_NM"; then
2839 # Extract the first word of "nm", so it can be a program name with args.
2840 set dummy nm
; ac_word
=$2
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
2844 $as_echo_n "(cached) " >&6
2846 if test -n "$ac_ct_NM"; then
2847 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
2849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2853 test -z "$as_dir" && as_dir
=.
2854 for ac_exec_ext
in '' $ac_executable_extensions; do
2855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2856 ac_cv_prog_ac_ct_NM
="nm"
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
2867 if test -n "$ac_ct_NM"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
2869 $as_echo "$ac_ct_NM" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2875 if test "x$ac_ct_NM" = x
; then
2878 case $cross_compiling:$ac_tool_warned in
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2882 ac_tool_warned
=yes ;;
2890 if test -n "$ac_tool_prefix"; then
2891 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2892 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2894 $as_echo_n "checking for $ac_word... " >&6; }
2895 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2896 $as_echo_n "(cached) " >&6
2898 if test -n "$RANLIB"; then
2899 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2905 test -z "$as_dir" && as_dir
=.
2906 for ac_exec_ext
in '' $ac_executable_extensions; do
2907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2908 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2918 RANLIB
=$ac_cv_prog_RANLIB
2919 if test -n "$RANLIB"; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2921 $as_echo "$RANLIB" >&6; }
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2924 $as_echo "no" >&6; }
2929 if test -z "$ac_cv_prog_RANLIB"; then
2930 ac_ct_RANLIB
=$RANLIB
2931 # Extract the first word of "ranlib", so it can be a program name with args.
2932 set dummy ranlib
; ac_word
=$2
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934 $as_echo_n "checking for $ac_word... " >&6; }
2935 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2936 $as_echo_n "(cached) " >&6
2938 if test -n "$ac_ct_RANLIB"; then
2939 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2945 test -z "$as_dir" && as_dir
=.
2946 for ac_exec_ext
in '' $ac_executable_extensions; do
2947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2948 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2959 if test -n "$ac_ct_RANLIB"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2961 $as_echo "$ac_ct_RANLIB" >&6; }
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2967 if test "x$ac_ct_RANLIB" = x
; then
2970 case $cross_compiling:$ac_tool_warned in
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2974 ac_tool_warned
=yes ;;
2976 RANLIB
=$ac_ct_RANLIB
2979 RANLIB
="$ac_cv_prog_RANLIB"
2982 if test -n "$ac_tool_prefix"; then
2983 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2984 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2986 $as_echo_n "checking for $ac_word... " >&6; }
2987 if test "${ac_cv_prog_STRIP+set}" = set; then :
2988 $as_echo_n "(cached) " >&6
2990 if test -n "$STRIP"; then
2991 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2997 test -z "$as_dir" && as_dir
=.
2998 for ac_exec_ext
in '' $ac_executable_extensions; do
2999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3000 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3010 STRIP
=$ac_cv_prog_STRIP
3011 if test -n "$STRIP"; then
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3013 $as_echo "$STRIP" >&6; }
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3016 $as_echo "no" >&6; }
3021 if test -z "$ac_cv_prog_STRIP"; then
3023 # Extract the first word of "strip", so it can be a program name with args.
3024 set dummy strip
; ac_word
=$2
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026 $as_echo_n "checking for $ac_word... " >&6; }
3027 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3028 $as_echo_n "(cached) " >&6
3030 if test -n "$ac_ct_STRIP"; then
3031 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir
=.
3038 for ac_exec_ext
in '' $ac_executable_extensions; do
3039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3040 ac_cv_prog_ac_ct_STRIP
="strip"
3041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3051 if test -n "$ac_ct_STRIP"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3053 $as_echo "$ac_ct_STRIP" >&6; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056 $as_echo "no" >&6; }
3059 if test "x$ac_ct_STRIP" = x
; then
3062 case $cross_compiling:$ac_tool_warned in
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3066 ac_tool_warned
=yes ;;
3071 STRIP
="$ac_cv_prog_STRIP"
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3075 $as_echo_n "checking whether ln -s works... " >&6; }
3077 if test "$LN_S" = "ln -s"; then
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3079 $as_echo "yes" >&6; }
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3082 $as_echo "no, using $LN_S" >&6; }
3088 ac_cpp
='$CPP $CPPFLAGS'
3089 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3090 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3091 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3092 if test -n "$ac_tool_prefix"; then
3093 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3094 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096 $as_echo_n "checking for $ac_word... " >&6; }
3097 if test "${ac_cv_prog_CC+set}" = set; then :
3098 $as_echo_n "(cached) " >&6
3100 if test -n "$CC"; then
3101 ac_cv_prog_CC
="$CC" # Let the user override the test.
3103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3107 test -z "$as_dir" && as_dir
=.
3108 for ac_exec_ext
in '' $ac_executable_extensions; do
3109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3110 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 if test -n "$CC"; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3123 $as_echo "$CC" >&6; }
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126 $as_echo "no" >&6; }
3131 if test -z "$ac_cv_prog_CC"; then
3133 # Extract the first word of "gcc", so it can be a program name with args.
3134 set dummy gcc
; 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_ac_ct_CC+set}" = set; then :
3138 $as_echo_n "(cached) " >&6
3140 if test -n "$ac_ct_CC"; then
3141 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="gcc"
3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3160 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3161 if test -n "$ac_ct_CC"; then
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3163 $as_echo "$ac_ct_CC" >&6; }
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3169 if test "x$ac_ct_CC" = x
; then
3172 case $cross_compiling:$ac_tool_warned in
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3176 ac_tool_warned
=yes ;;
3184 if test -z "$CC"; then
3185 if test -n "$ac_tool_prefix"; then
3186 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3187 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189 $as_echo_n "checking for $ac_word... " >&6; }
3190 if test "${ac_cv_prog_CC+set}" = set; then :
3191 $as_echo_n "(cached) " >&6
3193 if test -n "$CC"; then
3194 ac_cv_prog_CC
="$CC" # Let the user override the test.
3196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3200 test -z "$as_dir" && as_dir
=.
3201 for ac_exec_ext
in '' $ac_executable_extensions; do
3202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3203 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 if test -n "$CC"; then
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3216 $as_echo "$CC" >&6; }
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3225 if test -z "$CC"; then
3226 # Extract the first word of "cc", so it can be a program name with args.
3227 set dummy cc
; ac_word
=$2
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3229 $as_echo_n "checking for $ac_word... " >&6; }
3230 if test "${ac_cv_prog_CC+set}" = set; then :
3231 $as_echo_n "(cached) " >&6
3233 if test -n "$CC"; then
3234 ac_cv_prog_CC
="$CC" # Let the user override the test.
3237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3241 test -z "$as_dir" && as_dir
=.
3242 for ac_exec_ext
in '' $ac_executable_extensions; do
3243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3244 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3245 ac_prog_rejected
=yes
3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3256 if test $ac_prog_rejected = yes; then
3257 # We found a bogon in the path, so make sure we never use it.
3258 set dummy
$ac_cv_prog_CC
3260 if test $# != 0; then
3261 # We chose a different compiler from the bogus one.
3262 # However, it has the same basename, so the bogon will be chosen
3263 # first if we set CC to just the basename; use the full file name.
3265 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3271 if test -n "$CC"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3273 $as_echo "$CC" >&6; }
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3281 if test -z "$CC"; then
3282 if test -n "$ac_tool_prefix"; then
3283 for ac_prog
in cl.exe
3285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3286 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288 $as_echo_n "checking for $ac_word... " >&6; }
3289 if test "${ac_cv_prog_CC+set}" = set; then :
3290 $as_echo_n "(cached) " >&6
3292 if test -n "$CC"; then
3293 ac_cv_prog_CC
="$CC" # Let the user override the test.
3295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3299 test -z "$as_dir" && as_dir
=.
3300 for ac_exec_ext
in '' $ac_executable_extensions; do
3301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 if test -n "$CC"; then
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3315 $as_echo "$CC" >&6; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3322 test -n "$CC" && break
3325 if test -z "$CC"; then
3327 for ac_prog
in cl.exe
3329 # Extract the first word of "$ac_prog", so it can be a program name with args.
3330 set dummy
$ac_prog; ac_word
=$2
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332 $as_echo_n "checking for $ac_word... " >&6; }
3333 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3334 $as_echo_n "(cached) " >&6
3336 if test -n "$ac_ct_CC"; then
3337 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3343 test -z "$as_dir" && as_dir
=.
3344 for ac_exec_ext
in '' $ac_executable_extensions; do
3345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3346 ac_cv_prog_ac_ct_CC
="$ac_prog"
3347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3356 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3357 if test -n "$ac_ct_CC"; then
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3359 $as_echo "$ac_ct_CC" >&6; }
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362 $as_echo "no" >&6; }
3366 test -n "$ac_ct_CC" && break
3369 if test "x$ac_ct_CC" = x
; then
3372 case $cross_compiling:$ac_tool_warned in
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3376 ac_tool_warned
=yes ;;
3385 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3387 as_fn_error
"no acceptable C compiler found in \$PATH
3388 See \`config.log' for more details." "$LINENO" 5; }
3390 # Provide some information about the compiler.
3391 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3394 for ac_option
in --version -v -V -qversion; do
3395 { { ac_try
="$ac_compiler $ac_option >&5"
3397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3401 $as_echo "$ac_try_echo"; } >&5
3402 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3404 if test -s conftest.err; then
3406 ... rest of stderr output deleted ...
3407 10q' conftest.err >conftest.er1
3408 cat conftest.er1 >&5
3409 rm -f conftest.er1 conftest.err
3411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3412 test $ac_status = 0; }
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3427 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3428 (eval $ac_link) 2>&5
3430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431 test $ac_status = 0; }; then :
3436 if test x$gcc_no_link = xyes; then
3437 # Setting cross_compile will disable run tests; it will
3438 # also disable AC_CHECK_FILE but that's generally
3439 # correct if we can't link.
3443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444 /* end confdefs.h. */
3454 ac_clean_files_save=$ac_clean_files
3455 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3456 # Try to create an executable without -o first, disregard a.out.
3457 # It will help us diagnose broken compilers, and finding out an intuition
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3460 $as_echo_n "checking for C compiler default output file name... " >&6; }
3461 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3463 # The possible output files:
3464 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3467 for ac_file in $ac_files
3470 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3471 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3476 if { { ac_try="$ac_link_default"
3478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3479 *) ac_try_echo
=$ac_try;;
3481 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3482 $as_echo "$ac_try_echo"; } >&5
3483 (eval "$ac_link_default") 2>&5
3485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3486 test $ac_status = 0; }; then :
3487 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3488 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3489 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3490 # so that the user can short-circuit this test for compilers unknown to
3492 for ac_file
in $ac_files ''
3494 test -f "$ac_file" ||
continue
3496 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3499 # We found the default executable, but exeext='' is most
3503 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3505 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3507 # We set ac_cv_exeext here because the later test for it is not
3508 # safe: cross compilers may not add the suffix if given an `-o'
3509 # argument, so we may need to know it at that point already.
3510 # Even if this section looks crufty: it has the advantage of
3517 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3523 $as_echo "$ac_file" >&6; }
3524 if test -z "$ac_file"; then :
3525 $as_echo "$as_me: failed program was:" >&5
3526 sed 's/^/| /' conftest.
$ac_ext >&5
3528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3530 { as_fn_set_status
77
3531 as_fn_error
"C compiler cannot create executables
3532 See \`config.log' for more details." "$LINENO" 5; }; }
3534 ac_exeext
=$ac_cv_exeext
3536 # Check that the compiler produces executables we can run. If not, either
3537 # the compiler is broken, or we cross compile.
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3539 $as_echo_n "checking whether the C compiler works... " >&6; }
3540 # If not cross compiling, check that we can run a simple program.
3541 if test "$cross_compiling" != yes; then
3542 if { ac_try
='./$ac_file'
3543 { { case "(($ac_try" in
3544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3545 *) ac_try_echo=$ac_try;;
3547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3548 $as_echo "$ac_try_echo"; } >&5
3549 (eval "$ac_try") 2>&5
3551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3552 test $ac_status = 0; }; }; then
3555 if test "$cross_compiling" = maybe; then
3558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3560 as_fn_error "cannot run C compiled programs.
3561 If you meant to cross compile
, use \
`--host'.
3562 See \`config.log
' for more details." "$LINENO" 5; }
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3567 $as_echo "yes" >&6; }
3569 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3570 ac_clean_files=$ac_clean_files_save
3571 # Check that the compiler produces executables we can run. If not, either
3572 # the compiler is broken, or we cross compile.
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3574 $as_echo_n "checking whether we are cross compiling... " >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3576 $as_echo "$cross_compiling" >&6; }
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3579 $as_echo_n "checking for suffix of executables... " >&6; }
3580 if { { ac_try="$ac_link"
3582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583 *) ac_try_echo=$ac_try;;
3585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3586 $as_echo "$ac_try_echo"; } >&5
3587 (eval "$ac_link") 2>&5
3589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3590 test $ac_status = 0; }; then :
3591 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3592 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3593 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3595 for ac_file
in conftest.exe conftest conftest.
*; do
3596 test -f "$ac_file" ||
continue
3598 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3599 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
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 executables: cannot compile and link
3608 See \`config.log' for more details." "$LINENO" 5; }
3610 rm -f conftest
$ac_cv_exeext
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3612 $as_echo "$ac_cv_exeext" >&6; }
3614 rm -f conftest.
$ac_ext
3615 EXEEXT
=$ac_cv_exeext
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3619 $as_echo_n "checking for suffix of object files... " >&6; }
3620 if test "${ac_cv_objext+set}" = set; then :
3621 $as_echo_n "(cached) " >&6
3623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3624 /* end confdefs.h. */
3634 rm -f conftest.o conftest.obj
3635 if { { ac_try
="$ac_compile"
3637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3638 *) ac_try_echo=$ac_try;;
3640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3641 $as_echo "$ac_try_echo"; } >&5
3642 (eval "$ac_compile") 2>&5
3644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3645 test $ac_status = 0; }; then :
3646 for ac_file in conftest.o conftest.obj conftest.*; do
3647 test -f "$ac_file" || continue;
3649 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3650 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3655 $as_echo "$as_me: failed program was:" >&5
3656 sed 's/^/| /' conftest.$ac_ext >&5
3658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3660 as_fn_error "cannot compute suffix of object files
: cannot compile
3661 See \
`config.log' for more details." "$LINENO" 5; }
3663 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3666 $as_echo "$ac_cv_objext" >&6; }
3667 OBJEXT=$ac_cv_objext
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3670 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3671 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3672 $as_echo_n "(cached) " >&6
3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675 /* end confdefs.h. */
3688 if ac_fn_c_try_compile "$LINENO"; then :
3693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3694 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3698 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3699 if test $ac_compiler_gnu = yes; then
3704 ac_test_CFLAGS=${CFLAGS+set}
3705 ac_save_CFLAGS=$CFLAGS
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3707 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3708 if test "${ac_cv_prog_cc_g+set}" = set; then :
3709 $as_echo_n "(cached) " >&6
3711 ac_save_c_werror_flag=$ac_c_werror_flag
3712 ac_c_werror_flag=yes
3715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716 /* end confdefs.h. */
3726 if ac_fn_c_try_compile "$LINENO"; then :
3730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3741 if ac_fn_c_try_compile "$LINENO"; then :
3744 ac_c_werror_flag=$ac_save_c_werror_flag
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3757 if ac_fn_c_try_compile "$LINENO"; then :
3760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3765 ac_c_werror_flag=$ac_save_c_werror_flag
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3768 $as_echo "$ac_cv_prog_cc_g" >&6; }
3769 if test "$ac_test_CFLAGS" = set; then
3770 CFLAGS=$ac_save_CFLAGS
3771 elif test $ac_cv_prog_cc_g = yes; then
3772 if test "$GCC" = yes; then
3778 if test "$GCC" = yes; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3785 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3786 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3787 $as_echo_n "(cached) " >&6
3789 ac_cv_prog_cc_c89=no
3791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792 /* end confdefs.h. */
3795 #include <sys/types.h>
3796 #include <sys/stat.h>
3797 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3798 struct buf { int x; };
3799 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3800 static char *e (p, i)
3806 static char *f (char * (*g) (char **, int), char **p, ...)
3811 s = g (p, va_arg (v,int));
3816 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3817 function prototypes and stuff, but not '\xHH' hex character constants.
3818 These don't provoke an error unfortunately, instead are silently treated
3819 as 'x'. The following induces an error, until -std is added to get
3820 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3821 array size at least. It's necessary to write '\x00'==0 to get something
3822 that's true only with -std. */
3823 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3825 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3826 inside strings and character constants. */
3828 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3830 int test (int i, double x);
3831 struct s1 {int (*f) (int a);};
3832 struct s2 {int (*f) (double a);};
3833 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3839 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3844 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3845 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3847 CC="$ac_save_CC $ac_arg"
3848 if ac_fn_c_try_compile "$LINENO"; then :
3849 ac_cv_prog_cc_c89=$ac_arg
3851 rm -f core conftest.err conftest.$ac_objext
3852 test "x$ac_cv_prog_cc_c89" != "xno" && break
3854 rm -f conftest.$ac_ext
3859 case "x$ac_cv_prog_cc_c89" in
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3862 $as_echo "none needed" >&6; } ;;
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3865 $as_echo "unsupported" >&6; } ;;
3867 CC="$CC $ac_cv_prog_cc_c89"
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3869 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3871 if test "x$ac_cv_prog_cc_c89" != xno; then :
3876 ac_cpp='$CPP $CPPFLAGS'
3877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3882 ac_cpp='$CPP $CPPFLAGS'
3883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3887 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3888 # On Suns, sometimes $CPP names a directory.
3889 if test -n "$CPP" && test -d "$CPP"; then
3892 if test -z "$CPP"; then
3893 if test "${ac_cv_prog_CPP+set}" = set; then :
3894 $as_echo_n "(cached) " >&6
3896 # Double quotes because CPP needs to be expanded
3897 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3900 for ac_c_preproc_warn_flag in '' yes
3902 # Use a header file that comes with gcc, so configuring glibc
3903 # with a fresh cross-compiler works.
3904 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3905 # <limits.h> exists even on freestanding compilers.
3906 # On the NeXT, cc -E runs the code through the compiler's parser,
3907 # not just through cpp. "Syntax error" is here to catch this case.
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3911 # include <limits.h>
3913 # include <assert.h>
3917 if ac_fn_c_try_cpp "$LINENO"; then :
3920 # Broken: fails on valid input.
3923 rm -f conftest.err conftest.$ac_ext
3925 # OK, works on sane cases. Now check whether nonexistent headers
3926 # can be detected and how.
3927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3929 #include <ac_nonexistent.h>
3931 if ac_fn_c_try_cpp "$LINENO"; then :
3932 # Broken: success on invalid input.
3935 # Passes both tests.
3939 rm -f conftest.err conftest.$ac_ext
3942 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3943 rm -f conftest.err conftest.
$ac_ext
3944 if $ac_preproc_ok; then :
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3957 $as_echo "$CPP" >&6; }
3959 for ac_c_preproc_warn_flag
in '' yes
3961 # Use a header file that comes with gcc, so configuring glibc
3962 # with a fresh cross-compiler works.
3963 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3964 # <limits.h> exists even on freestanding compilers.
3965 # On the NeXT, cc -E runs the code through the compiler's parser,
3966 # not just through cpp. "Syntax error" is here to catch this case.
3967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3970 # include <limits.h>
3972 # include <assert.h>
3976 if ac_fn_c_try_cpp
"$LINENO"; then :
3979 # Broken: fails on valid input.
3982 rm -f conftest.err conftest.
$ac_ext
3984 # OK, works on sane cases. Now check whether nonexistent headers
3985 # can be detected and how.
3986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
3988 #include <ac_nonexistent.h>
3990 if ac_fn_c_try_cpp
"$LINENO"; then :
3991 # Broken: success on invalid input.
3994 # Passes both tests.
3998 rm -f conftest.err conftest.
$ac_ext
4001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4002 rm -f conftest.err conftest.
$ac_ext
4003 if $ac_preproc_ok; then :
4006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4008 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4009 See \`config.log' for more details." "$LINENO" 5; }
4013 ac_cpp
='$CPP $CPPFLAGS'
4014 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4015 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4016 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4019 ac_c_preproc_warn_flag
=yes
4023 # The cast to long int works around a bug in the HP C Compiler
4024 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4025 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4026 # This bug is HP SR number 8606223364.
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
4028 $as_echo_n "checking size of double... " >&6; }
4029 if test "${ac_cv_sizeof_double+set}" = set; then :
4030 $as_echo_n "(cached) " >&6
4032 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
4035 if test "$ac_cv_type_double" = yes; then
4036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4038 { as_fn_set_status
77
4039 as_fn_error
"cannot compute sizeof (double)
4040 See \`config.log' for more details." "$LINENO" 5; }; }
4042 ac_cv_sizeof_double
=0
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
4048 $as_echo "$ac_cv_sizeof_double" >&6; }
4052 cat >>confdefs.h
<<_ACEOF
4053 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
4057 # The cast to long int works around a bug in the HP C Compiler
4058 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4059 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4060 # This bug is HP SR number 8606223364.
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
4062 $as_echo_n "checking size of long double... " >&6; }
4063 if test "${ac_cv_sizeof_long_double+set}" = set; then :
4064 $as_echo_n "(cached) " >&6
4066 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
4069 if test "$ac_cv_type_long_double" = yes; then
4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072 { as_fn_set_status
77
4073 as_fn_error
"cannot compute sizeof (long double)
4074 See \`config.log' for more details." "$LINENO" 5; }; }
4076 ac_cv_sizeof_long_double
=0
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
4082 $as_echo "$ac_cv_sizeof_long_double" >&6; }
4086 cat >>confdefs.h
<<_ACEOF
4087 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
4091 as_fn_arith
$ac_cv_sizeof_double \
* 8 && double_type_size
=$as_val
4092 as_fn_arith
$ac_cv_sizeof_long_double \
* 8 && long_double_type_size
=$as_val
4096 # Check for decimal float support.
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
4098 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
4099 if test "${libgcc_cv_dfp+set}" = set; then :
4100 $as_echo_n "(cached) " >&6
4102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4103 /* end confdefs.h. */
4113 FE_INVALID|FE_DIVBYZERO|FE_OVERFLOW|FE_UNDERFLOW|FE_INEXACT;
4119 if ac_fn_c_try_compile
"$LINENO"; then :
4124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
4127 $as_echo "$libgcc_cv_dfp" >&6; }
4128 decimal_float
=$libgcc_cv_dfp
4132 # Check whether --enable-decimal-float was given.
4133 if test "${enable_decimal_float+set}" = set; then :
4134 enableval
=$enable_decimal_float;
4135 case $enable_decimal_float in
4136 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4137 *) as_fn_error
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4138 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4144 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4146 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4147 i?
86*-*-cygwin* | x86_64
*-*-cygwin*)
4148 enable_decimal_float
=yes
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4152 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4153 enable_decimal_float
=no
4160 # x86's use BID format instead of DPD
4161 case x
$enable_decimal_float in
4164 i?
86*-*-* | x86_64
*-*-*)
4165 enable_decimal_float
=bid
4168 enable_decimal_float
=dpd
4171 default_decimal_float
=$enable_decimal_float
4174 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4175 # dependency on libdecnumber.
4176 default_decimal_float
=dpd
4183 # Check for fixed-point support.
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
4185 $as_echo_n "checking whether fixed-point is supported... " >&6; }
4186 if test "${libgcc_cv_fixed_point+set}" = set; then :
4187 $as_echo_n "(cached) " >&6
4189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4193 if ac_fn_c_try_compile
"$LINENO"; then :
4194 libgcc_cv_fixed_point
=yes
4196 libgcc_cv_fixed_point
=no
4198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
4201 $as_echo "$libgcc_cv_fixed_point" >&6; }
4202 fixed_point
=$libgcc_cv_fixed_point
4205 # For platforms with the unwind ABI which includes an unwind library,
4206 # libunwind, we can choose to use the system libunwind.
4207 # config.gcc also contains tests of with_system_libunwind.
4210 # Check whether --with-system-libunwind was given.
4211 if test "${with_system_libunwind+set}" = set; then :
4212 withval
=$with_system_libunwind;
4215 # If system-libunwind was not specifically set, pick a default setting.
4216 if test x
$with_system_libunwind = x
; then
4218 ia64-
*-hpux*) with_system_libunwind
=yes ;;
4219 *) with_system_libunwind
=no
;;
4222 # Based on system-libunwind and target, do we have ipinfo?
4223 if test x
$with_system_libunwind = xyes
; then
4225 ia64-
*-*) have_unwind_getipinfo
=no
;;
4226 *) have_unwind_getipinfo
=yes ;;
4229 # Darwin before version 9 does not have _Unwind_GetIPInfo.
4232 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
4233 *) have_unwind_getipinfo
=yes ;;
4238 if test x
$have_unwind_getipinfo = xyes
; then
4240 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
4245 # The sjlj test is almost duplicated here and in libgo/configure.ac (for C),
4246 # libstdc++-v3/acinclude.m4 and libjava/configure.ac (for C++), and
4247 # libobjc/configure.ac (for Objective-C).
4248 # FIXME: This should be centralized in config/sjlj.m4.
4249 # Check whether --enable-sjlj-exceptions was given.
4250 if test "${enable_sjlj_exceptions+set}" = set; then :
4251 enableval
=$enable_sjlj_exceptions; case "$enableval" in
4253 *) as_fn_error
"unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
4256 enable_sjlj_exceptions
=auto
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
4261 $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
4262 if test "${libgcc_cv_lib_sjlj_exceptions+set}" = set; then :
4263 $as_echo_n "(cached) " >&6
4265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4272 int i __attribute__ ((cleanup (clean)));
4278 CFLAGS
="--save-temps -fexceptions"
4279 libgcc_cv_lib_sjlj_exceptions
=unknown
4280 if ac_fn_c_try_compile
; then :
4281 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1; then
4282 libgcc_cv_lib_sjlj_exceptions
=yes
4283 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1; then
4284 libgcc_cv_lib_sjlj_exceptions
=no
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_lib_sjlj_exceptions" >&5
4292 $as_echo "$libgcc_cv_lib_sjlj_exceptions" >&6; }
4294 if test "$enable_sjlj_exceptions" = "auto"; then
4295 enable_sjlj_exceptions
=$libgcc_cv_lib_sjlj_exceptions
4298 case $enable_sjlj_exceptions in
4301 $as_echo "#define LIBGCC_SJLJ_EXCEPTIONS 1" >>confdefs.h
4307 as_fn_error
"unable to detect exception model" "$LINENO" 5
4311 # Check whether --enable-explicit-exception-frame-registration was given.
4312 if test "${enable_explicit_exception_frame_registration+set}" = set; then :
4313 enableval
=$enable_explicit_exception_frame_registration;
4314 force_explicit_eh_registry
=
4315 if test "$enable_explicit_exception_frame_registration" = yes; then
4316 if test "$enable_sjlj_exceptions" = yes; then
4317 as_fn_error
"Can't enable both of --enable-sjlj-exceptions
4318 and --enable-explicit-exception-frame-registration" "$LINENO" 5
4320 force_explicit_eh_registry
=-DUSE_EH_FRAME_REGISTRY_ALWAYS
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4328 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4329 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4330 $as_echo_n "(cached) " >&6
4332 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4333 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4334 acl_cv_prog_gnu_ld
=yes
4336 acl_cv_prog_gnu_ld
=no
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4340 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4341 with_gnu_ld
=$acl_cv_prog_gnu_ld
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
4345 $as_echo_n "checking for thread model used by GCC... " >&6; }
4346 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
4348 $as_echo "$target_thread_file" >&6; }
4350 # Check for assembler CFI support.
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
4352 $as_echo_n "checking whether assembler supports CFI directives... " >&6; }
4353 if test "${libgcc_cv_cfi+set}" = set; then :
4354 $as_echo_n "(cached) " >&6
4356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4361 .cfi_personality 0, symbol\n\
4364 if ac_fn_c_try_compile
"$LINENO"; then :
4369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
4372 $as_echo "$libgcc_cv_cfi" >&6; }
4374 # Check 32bit or 64bit. In the case of MIPS, this really determines the
4375 # word size rather than the address size.
4376 cat > conftest.c
<<EOF
4377 #if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) \
4378 || defined(__mips64)
4384 eval `${CC-cc} -E conftest.c | grep host_address=`
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target is hard-float" >&5
4390 $as_echo_n "checking whether the target is hard-float... " >&6; }
4391 if test "${libgcc_cv_mips_hard_float+set}" = set; then :
4392 $as_echo_n "(cached) " >&6
4394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4396 #ifndef __mips_hard_float
4400 if ac_fn_c_try_compile
"$LINENO"; then :
4401 libgcc_cv_mips_hard_float
=yes
4403 libgcc_cv_mips_hard_float
=no
4405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_mips_hard_float" >&5
4408 $as_echo "$libgcc_cv_mips_hard_float" >&6; }
4411 # Determine the version of glibc, if any, used on the target.
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target glibc version" >&5
4413 $as_echo_n "checking for target glibc version... " >&6; }
4415 # Check whether --with-glibc-version was given.
4416 if test "${with_glibc_version+set}" = set; then :
4417 withval
=$with_glibc_version;
4418 if echo "$with_glibc_version" |
grep '^[0-9][0-9]*\.[0-9][0-9]*$'; then
4419 glibc_version_major
=`echo "$with_glibc_version" | sed -e 's/\..*//'`
4420 glibc_version_minor
=`echo "$with_glibc_version" | sed -e 's/.*\.//'`
4422 as_fn_error
"option --with-glibc-version requires a version number M.N" "$LINENO" 5
4426 if ac_fn_c_compute_int
"$LINENO" "__GLIBC__" "glibc_version_major" "#include <features.h>"; then :
4429 glibc_version_major
=0
4432 if ac_fn_c_compute_int
"$LINENO" "__GLIBC_MINOR__" "glibc_version_minor" "#include <features.h>"; then :
4435 glibc_version_minor
=0
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibc_version_major.$glibc_version_minor" >&5
4441 $as_echo "$glibc_version_major.$glibc_version_minor" >&6; }
4443 # Determine floating-point type for powerpc*-*-linux*.
4444 # Single-precision-only FPRs are not a supported configuration for
4445 # this target, so are not allowed for in this test.
4448 cat > conftest.c
<<EOF
4449 #ifdef __powerpc64__
4451 #elif defined _SOFT_FLOAT
4453 #elif defined _SOFT_DOUBLE
4455 #elif defined __NO_FPRS__
4461 eval `${CC-cc} -E conftest.c | grep ppc_fp_type=`
4463 # glibc 2.19 and later provide all the soft-fp functions, with proper
4464 # interactions with <fenv.h> exception and rounding mode handling, so
4465 # make libgcc's versions into compat symbols if a recent enough glibc
4466 # version is being used.
4468 case ${ppc_fp_type} in
4470 if test $glibc_version_major -gt 2 \
4471 ||
( test $glibc_version_major -eq 2 \
4472 && test $glibc_version_minor -ge 19 ); then
4473 ppc_fp_compat
="t-softfp-compat"
4480 # Collect host-machine-specific information.
4481 .
${srcdir}/config.
host
4483 # Used for constructing correct paths for offload compilers.
4485 if test x
"$enable_as_accelerator_for" != x
; then
4486 accel_dir_suffix
=/accel
/${target_noncanonical}
4487 case "${target_noncanonical}" in
4489 # In this case we expect offload compiler to be built as native, so we
4490 # need to change install directory for driver to be able to find libgcc.
4491 host_noncanonical
=${enable_as_accelerator_for} ;;
4496 if test x
"$enable_offload_targets" != x
; then
4497 extra_parts
="${extra_parts} crtoffloadbegin.o crtoffloadend.o"
4500 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
4501 # This is after config.host so we can augment tmake_file.
4502 # Link with -nostartfiles -nodefaultlibs since neither are present while
4505 i?
86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
4506 cat > conftest.s
<<EOF
4507 .section .eh_frame,"a",@unwind
4509 .section .jcr,"aw",@progbits
4512 if { ac_try
='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
4513 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4517 test $ac_status = 0; }; }; then
4518 tmake_file
="${tmake_file} i386/t-crtstuff"
4523 # Check for visibility support. This is after config.host so that
4524 # we can check for asm_hidden_op.
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
4526 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
4527 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4531 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
4532 libgcc_cv_hidden_visibility_attribute
=no
4533 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
4534 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4538 test $ac_status = 0; }; }; then
4539 if grep "\\$asm_hidden_op.*foo" conftest.s
>/dev
/null
; then
4540 libgcc_cv_hidden_visibility_attribute
=yes
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
4547 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
4549 if test $libgcc_cv_hidden_visibility_attribute = yes; then
4550 vis_hide
='-fvisibility=hidden -DHIDE_EXPORTS'
4556 # See if we have thread-local storage. We can only test assembler
4557 # since link-time and run-time tests require the newly built
4558 # gcc, which can't be used to build executable due to that libgcc
4559 # is yet to be built here.
4561 # Check whether --enable-tls was given.
4562 if test "${enable_tls+set}" = set; then :
4563 enableval
=$enable_tls;
4564 case "$enableval" in
4566 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
4575 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
4576 if test "${gcc_cv_have_cc_tls+set}" = set; then :
4577 $as_echo_n "(cached) " >&6
4580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4582 __thread int a; int b; int main() { return a = b; }
4584 if ac_fn_c_try_compile
"$LINENO"; then :
4585 gcc_cv_have_cc_tls
=yes
4587 gcc_cv_have_cc_tls
=no
4589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
4593 $as_echo "$gcc_cv_have_cc_tls" >&6; }
4595 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
4596 set_have_cc_tls
="-DHAVE_CC_TLS"
4600 # See if we have emulated thread-local storage.
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
4603 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
4604 if test "${gcc_cv_use_emutls+set}" = set; then :
4605 $as_echo_n "(cached) " >&6
4608 gcc_cv_use_emutls
=no
4609 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
4610 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
4611 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4615 test $ac_status = 0; }; }; then
4616 if grep __emutls_get_address conftest.s
> /dev
/null
; then
4617 gcc_cv_use_emutls
=yes
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
4624 $as_echo "$gcc_cv_use_emutls" >&6; }
4625 if test "$gcc_cv_use_emutls" = "yes" ; then
4627 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
4631 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
4632 set_use_emutls
="-DUSE_EMUTLS"
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
4637 $as_echo_n "checking for init priority support... " >&6; }
4638 if test "${libgcc_cv_init_priority+set}" = set; then :
4639 $as_echo_n "(cached) " >&6
4642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4648 void ip (void) __attribute__ ((constructor (1)));
4653 if ac_fn_c_try_compile
"$LINENO"; then :
4654 libgcc_cv_init_priority
=yes
4656 libgcc_cv_init_priority
=no
4658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_init_priority" >&5
4661 $as_echo "$libgcc_cv_init_priority" >&6; }
4662 if test $libgcc_cv_init_priority = yes; then
4664 $as_echo "#define HAVE_INIT_PRIORITY 1" >>confdefs.h
4668 # Conditionalize the sfp-machine.h header for this target machine.
4669 if test -z "${sfp_machine_header}"; then
4670 sfp_machine_header
=$cpu_type/sfp-machine.h
4671 if test -f ${srcdir}/config
/${sfp_machine_header}; then
4674 sfp_machine_header
=no-sfp-machine.h
4679 # Conditionalize the makefile for this target machine.
4681 for f
in ${tmake_file}
4683 if test -f ${srcdir}/config
/$f
4685 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
4688 tmake_file
="${tmake_file_}"
4691 # Likewise export definitions for libgcc_tm.h
4695 tm_file_
="${tm_file_} \$(srcdir)/config/$f"
4697 tm_file
="${tm_file_}"
4701 # Map from thread model to thread header.
4703 case $target_thread_file in
4704 aix
) thread_header
=config
/rs6000
/gthr-aix.h
;;
4705 dce
) thread_header
=config
/pa
/gthr-dce.h
;;
4706 lynx
) thread_header
=config
/gthr-lynx.h
;;
4707 mipssde
) thread_header
=config
/mips
/gthr-mipssde.h
;;
4708 posix
) thread_header
=gthr-posix.h
;;
4709 rtems
) thread_header
=config
/gthr-rtems.h
;;
4710 single
) thread_header
=gthr-single.h
;;
4711 tpf
) thread_header
=config
/s390
/gthr-tpf.h
;;
4712 vxworks
) thread_header
=config
/gthr-vxworks.h
;;
4713 win32
) thread_header
=config
/i386
/gthr-win32.h
;;
4718 # Substitute configuration variables
4722 ac_config_links
="$ac_config_links enable-execute-stack.c:$enable_execute_stack"
4724 ac_config_links
="$ac_config_links unwind.h:$unwind_header"
4726 ac_config_links
="$ac_config_links md-unwind-support.h:config/$md_unwind_header"
4728 ac_config_links
="$ac_config_links sfp-machine.h:config/$sfp_machine_header"
4730 ac_config_links
="$ac_config_links gthr-default.h:$thread_header"
4733 # We need multilib support.
4734 ac_config_files
="$ac_config_files Makefile"
4736 ac_config_commands
="$ac_config_commands default"
4738 cat >confcache
<<\_ACEOF
4739 # This file is a shell script that caches the results of configure
4740 # tests run on this system so they can be shared between configure
4741 # scripts and configure runs, see configure's option --config-cache.
4742 # It is not useful on other systems. If it contains results you don't
4743 # want to keep, you may remove or edit it.
4745 # config.status only pays attention to the cache file if you give it
4746 # the --recheck option to rerun configure.
4748 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4749 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4754 # The following way of writing the cache mishandles newlines in values,
4755 # but we know of no workaround that is simple, portable, and efficient.
4756 # So, we kill variables containing newlines.
4757 # Ultrix sh set writes to stderr and can't be redirected directly,
4758 # and sets the high bit in the cache file unless we assign to the vars.
4760 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4761 eval ac_val
=\$
$ac_var
4765 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4766 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4769 _ | IFS | as_nl
) ;; #(
4770 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4771 *) { eval $ac_var=; unset $ac_var;} ;;
4777 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4778 *${as_nl}ac_space
=\
*)
4779 # `set' does not quote correctly, so add quotes: double-quote
4780 # substitution turns \\\\ into \\, and sed turns \\ into \.
4783 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4786 # `set' quotes correctly as required by POSIX, so do not add quotes.
4787 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4796 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4798 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4800 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4801 if test -w "$cache_file"; then
4802 test "x$cache_file" != "x/dev/null" &&
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4804 $as_echo "$as_me: updating cache $cache_file" >&6;}
4805 cat confcache
>$cache_file
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4808 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4813 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4814 # Let make expand exec_prefix.
4815 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4817 DEFS
=-DHAVE_CONFIG_H
4821 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4822 # 1. Remove the extension, and $U if already installed.
4823 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4824 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4825 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4826 # will be set to the directory where LIBOBJS objects are built.
4827 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4828 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4832 LTLIBOBJS
=$ac_ltlibobjs
4836 : ${CONFIG_STATUS=./config.status}
4838 ac_clean_files_save
=$ac_clean_files
4839 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4841 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4843 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4845 # Generated by $as_me.
4846 # Run this file to recreate the current configuration.
4847 # Compiler output produced by configure, useful for debugging
4848 # configure, is in config.log if it exists.
4854 SHELL=\${CONFIG_SHELL-$SHELL}
4857 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4858 ## -------------------- ##
4859 ## M4sh Initialization. ##
4860 ## -------------------- ##
4862 # Be more Bourne compatible
4863 DUALCASE
=1; export DUALCASE
# for MKS sh
4864 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4867 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4868 # is contrary to our usage. Disable this feature.
4869 alias -g '${1+"$@"}'='"$@"'
4870 setopt NO_GLOB_SUBST
4872 case `(set -o) 2>/dev/null` in #(
4884 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4885 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4886 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4887 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4888 # Prefer a ksh shell builtin over an external printf program on Solaris,
4889 # but without wasting forks for bash or zsh.
4890 if test -z "$BASH_VERSION$ZSH_VERSION" \
4891 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4892 as_echo='print
-r --'
4893 as_echo_n='print
-rn --'
4894 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4895 as_echo='printf %s
\n'
4896 as_echo_n='printf %s
'
4898 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4899 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4900 as_echo_n='/usr
/ucb
/echo -n'
4902 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4903 as_echo_n_body='eval
4907 expr "X$arg" : "X\\(.*\\)$as_nl";
4908 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4910 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4912 export as_echo_n_body
4913 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4916 as_echo='sh
-c $as_echo_body as_echo
'
4919 # The user is always right.
4920 if test "${PATH_SEPARATOR+set}" != set; then
4922 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4923 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4930 # We need space, tab and new line, in precisely that order. Quoting is
4931 # there to prevent editors from complaining about space-tab.
4932 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4933 # splitting by setting IFS to empty value.)
4936 # Find who we are. Look in the path if we contain no directory separator.
4938 *[\\/]* ) as_myself=$0 ;;
4939 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4943 test -z "$as_dir" && as_dir=.
4944 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4950 # We did not find ourselves, most probably we were run as `sh COMMAND'
4951 # in which case we are not to be found in the path.
4952 if test "x$as_myself" = x
; then
4955 if test ! -f "$as_myself"; then
4956 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4960 # Unset variables that we do not need and which cause bugs (e.g. in
4961 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4962 # suppresses any "Segmentation fault" message there. '((' could
4963 # trigger a bug in pdksh 5.2.14.
4964 for as_var
in BASH_ENV ENV MAIL MAILPATH
4965 do eval test x\
${$as_var+set} = xset \
4966 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4979 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4982 # as_fn_error ERROR [LINENO LOG_FD]
4983 # ---------------------------------
4984 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4985 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4986 # script with status $?, using 1 if that was 0.
4989 as_status
=$?
; test $as_status -eq 0 && as_status
=1
4991 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4992 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4994 $as_echo "$as_me: error: $1" >&2
4995 as_fn_exit
$as_status
4999 # as_fn_set_status STATUS
5000 # -----------------------
5001 # Set $? to STATUS, without forking.
5005 } # as_fn_set_status
5009 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5019 # Portably unset VAR.
5022 { eval $1=; unset $1;}
5024 as_unset
=as_fn_unset
5025 # as_fn_append VAR VALUE
5026 # ----------------------
5027 # Append the text in VALUE to the end of the definition contained in VAR. Take
5028 # advantage of any shell optimizations that allow amortized linear growth over
5029 # repeated appends, instead of the typical quadratic growth present in naive
5031 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5032 eval 'as_fn_append ()
5043 # as_fn_arith ARG...
5044 # ------------------
5045 # Perform arithmetic evaluation on the ARGs, and store the result in the
5046 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5047 # must be portable across $(()) and expr.
5048 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5049 eval 'as_fn_arith ()
5056 as_val
=`expr "$@" || test $? -eq 1`
5061 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5062 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5068 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5069 as_basename
=basename
5074 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5080 as_me
=`$as_basename -- "$0" ||
5081 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5082 X"$0" : 'X\(//\)$' \| \
5083 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5085 sed '/^.*\/\([^/][^/]*\)\/*$/{
5099 # Avoid depending upon Character Ranges.
5100 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5101 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5102 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5103 as_cr_digits
='0123456789'
5104 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5106 ECHO_C
= ECHO_N
= ECHO_T
=
5107 case `echo -n x` in #(((((
5109 case `echo 'xy\c'` in
5110 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5112 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5119 rm -f conf$$ conf$$.exe conf$$.
file
5120 if test -d conf$$.dir
; then
5121 rm -f conf$$.dir
/conf$$.
file
5124 mkdir conf$$.dir
2>/dev
/null
5126 if (echo >conf$$.
file) 2>/dev
/null
; then
5127 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5129 # ... but there are two gotchas:
5130 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5131 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5132 # In both cases, we have to default to `cp -p'.
5133 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5135 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5143 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5144 rmdir conf$$.dir
2>/dev
/null
5149 # Create "$as_dir" as a directory, including parents if necessary.
5154 -*) as_dir
=.
/$as_dir;;
5156 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5160 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5161 *) as_qdir
=$as_dir;;
5163 as_dirs
="'$as_qdir' $as_dirs"
5164 as_dir
=`$as_dirname -- "$as_dir" ||
5165 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5166 X"$as_dir" : 'X\(//\)[^/]' \| \
5167 X"$as_dir" : 'X\(//\)$' \| \
5168 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5169 $as_echo X"$as_dir" |
5170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5187 test -d "$as_dir" && break
5189 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5190 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
5194 if mkdir
-p .
2>/dev
/null
; then
5195 as_mkdir_p
='mkdir -p "$as_dir"'
5197 test -d .
/-p && rmdir .
/-p
5201 if test -x / >/dev
/null
2>&1; then
5204 if ls -dL / >/dev
/null
2>&1; then
5211 if test -d "$1"; then
5217 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5218 ???[sx]*):;;*)false;;esac;fi
5222 as_executable_p
=$as_test_x
5224 # Sed expression to map a string onto a valid CPP name.
5225 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5227 # Sed expression to map a string onto a valid variable name.
5228 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5232 ## ----------------------------------- ##
5233 ## Main body of $CONFIG_STATUS script. ##
5234 ## ----------------------------------- ##
5236 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5239 # Save the log message, to keep $0 and so on meaningful, and to
5240 # report actual input values of CONFIG_FILES etc. instead of their
5241 # values after options handling.
5243 This file was extended by GNU C Runtime Library $as_me 1.0, which was
5244 generated by GNU Autoconf 2.64. Invocation command line was
5246 CONFIG_FILES = $CONFIG_FILES
5247 CONFIG_HEADERS = $CONFIG_HEADERS
5248 CONFIG_LINKS = $CONFIG_LINKS
5249 CONFIG_COMMANDS = $CONFIG_COMMANDS
5252 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5257 case $ac_config_files in *"
5258 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5261 case $ac_config_headers in *"
5262 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5267 # Files that config.status was made for.
5268 config_files="$ac_config_files"
5269 config_headers="$ac_config_headers"
5270 config_links="$ac_config_links"
5271 config_commands="$ac_config_commands"
5275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5277 \`$as_me' instantiates files and other configuration actions
5278 from templates according to the current configuration. Unless the files
5279 and actions are specified as TAGs, all are instantiated by default.
5281 Usage: $0 [OPTION]... [TAG]...
5283 -h, --help print this help, then exit
5284 -V, --version print version number and configuration settings, then exit
5285 -q, --quiet, --silent
5286 do not print progress messages
5287 -d, --debug don't remove temporary files
5288 --recheck update $as_me by reconfiguring in the same conditions
5289 --file=FILE[:TEMPLATE]
5290 instantiate the configuration file FILE
5291 --header=FILE[:TEMPLATE]
5292 instantiate the configuration header FILE
5294 Configuration files:
5297 Configuration headers:
5300 Configuration links:
5303 Configuration commands:
5306 Report bugs to the package provider.
5307 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
5308 General help using GNU software: <http://www.gnu.org/gethelp/>."
5311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5313 GNU C Runtime Library config.status 1.0
5314 configured by $0, generated by GNU Autoconf 2.64,
5315 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5317 Copyright (C) 2009 Free Software Foundation, Inc.
5318 This config.status script is free software; the Free Software Foundation
5319 gives unlimited permission to copy, distribute and modify it."
5325 test -n "\$AWK" || AWK=awk
5328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5329 # The default lists apply if the user does not specify any file.
5335 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5336 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5347 # Handling of the options.
5348 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5350 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5351 $as_echo "$ac_cs_version"; exit ;;
5352 --debug |
--debu |
--deb |
--de |
--d |
-d )
5354 --file |
--fil |
--fi |
--f )
5357 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5359 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5360 ac_need_defaults
=false
;;
5361 --header |
--heade |
--head |
--hea )
5364 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5366 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5367 ac_need_defaults
=false
;;
5369 # Conflict between --help and --header
5370 as_fn_error
"ambiguous option: \`$1'
5371 Try \`$0 --help' for more information.";;
5372 --help |
--hel |
-h )
5373 $as_echo "$ac_cs_usage"; exit ;;
5374 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5375 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5379 -*) as_fn_error
"unrecognized option: \`$1'
5380 Try \`$0 --help' for more information." ;;
5382 *) as_fn_append ac_config_targets
" $1"
5383 ac_need_defaults
=false
;;
5389 ac_configure_extra_args
=
5391 if $ac_cs_silent; then
5393 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5398 if \$ac_cs_recheck; then
5399 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5401 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5402 CONFIG_SHELL='$SHELL'
5408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5412 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5413 ## Running $as_me. ##
5419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5425 with_target_subdir=${with_target_subdir}
5426 with_multisubdir=${with_multisubdir}
5427 ac_configure_args="--enable-multilib ${ac_configure_args}"
5428 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
5429 libgcc_topdir=${libgcc_topdir}
5435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5437 # Handling of arguments.
5438 for ac_config_target
in $ac_config_targets
5440 case $ac_config_target in
5441 "auto-target.h") CONFIG_HEADERS
="$CONFIG_HEADERS auto-target.h:config.in" ;;
5442 "enable-execute-stack.c") CONFIG_LINKS
="$CONFIG_LINKS enable-execute-stack.c:$enable_execute_stack" ;;
5443 "unwind.h") CONFIG_LINKS
="$CONFIG_LINKS unwind.h:$unwind_header" ;;
5444 "md-unwind-support.h") CONFIG_LINKS
="$CONFIG_LINKS md-unwind-support.h:config/$md_unwind_header" ;;
5445 "sfp-machine.h") CONFIG_LINKS
="$CONFIG_LINKS sfp-machine.h:config/$sfp_machine_header" ;;
5446 "gthr-default.h") CONFIG_LINKS
="$CONFIG_LINKS gthr-default.h:$thread_header" ;;
5447 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5448 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
5450 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5455 # If the user did not use the arguments to specify the items to instantiate,
5456 # then the envvar interface is used. Set only those that are not.
5457 # We use the long form for the default assignment because of an extremely
5458 # bizarre bug on SunOS 4.1.3.
5459 if $ac_need_defaults; then
5460 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5461 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5462 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
5463 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5466 # Have a temporary directory for convenience. Make it in the build tree
5467 # simply because there is no reason against having it here, and in addition,
5468 # creating and moving files from /tmp can sometimes cause problems.
5469 # Hook for its removal unless debugging.
5470 # Note that there is a small window in which the directory will not be cleaned:
5471 # after its creation but before its name has been assigned to `$tmp'.
5475 trap 'exit_status=$?
5476 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5478 trap 'as_fn_exit 1' 1 2 13 15
5480 # Create a (secure) tmp directory for tmp files.
5483 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5484 test -n "$tmp" && test -d "$tmp"
5487 tmp
=.
/conf$$
-$RANDOM
5488 (umask 077 && mkdir
"$tmp")
5489 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
5491 # Set up the scripts for CONFIG_FILES section.
5492 # No need to generate them if there are no CONFIG_FILES.
5493 # This happens for instance with `./config.status config.h'.
5494 if test -n "$CONFIG_FILES"; then
5497 ac_cr
=`echo X | tr X '\015'`
5498 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5499 # But we know of no other shell where ac_cr would be empty at this
5500 # point, so we can use a bashism as a fallback.
5501 if test "x$ac_cr" = x
; then
5502 eval ac_cr
=\$
\'\\r
\'
5504 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5505 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5511 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5516 echo "cat >conf$$subs.awk <<_ACEOF" &&
5517 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5520 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5521 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5523 for ac_last_try in false false false false false :; do
5524 . ./conf$$subs.sh ||
5525 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5527 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5528 if test $ac_delim_n = $ac_delim_num; then
5530 elif $ac_last_try; then
5531 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5533 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5538 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5539 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
5543 s/^/S["/; s
/!.
*/"]=/
5553 s/\(.\{148\}\).*/\1/
5555 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5560 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5567 s/\(.\{148\}\).*/\1/
5569 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5573 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5578 ' <conf$$subs.awk | sed '
5583 ' >>$CONFIG_STATUS || ac_write_fail=1
5584 rm -f conf$$subs.awk
5585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5587 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
5588 for (key in S) S_is_set[key] = 1
5594 nfields = split(line, field, "@
")
5596 len = length(field[1])
5597 for (i = 2; i < nfields; i++) {
5599 keylen = length(key)
5600 if (S_is_set[key]) {
5602 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5603 len += length(value) + length(field[++i])
5614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5615 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5616 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5619 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
5620 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
5623 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5624 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
5625 # trailing colons and then remove the whole line if VPATH becomes empty
5626 # (actually we leave an empty line to preserve line numbers).
5627 if test "x
$srcdir" = x.; then
5628 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5632 s/^\([^=]*=[ ]*\):*/\1/
5638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5639 fi # test -n "$CONFIG_FILES"
5641 # Set up the scripts for CONFIG_HEADERS section.
5642 # No need to generate them if there are no CONFIG_HEADERS.
5643 # This happens for instance with `./config.status Makefile'.
5644 if test -n "$CONFIG_HEADERS"; then
5645 cat >"$tmp/defines.
awk" <<\_ACAWK ||
5649 # Transform confdefs.h into an awk script `defines.awk', embedded as
5650 # here-document in config.status, that substitutes the proper values into
5651 # config.h.in to produce config.h.
5653 # Create a delimiter string that does not exist in confdefs.h, to ease
5654 # handling of long lines.
5656 for ac_last_try in false false :; do
5657 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
5658 if test -z "$ac_t"; then
5660 elif $ac_last_try; then
5661 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
5663 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5667 # For the awk script, D is an array of macro values keyed by name,
5668 # likewise P contains macro parameters if any. Preserve backslash
5669 # newline sequences.
5671 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5673 s/.\{148\}/&'"$ac_delim"'/g
5676 s/^[ ]*#[ ]*define[ ][ ]*/ /
5683 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5685 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5689 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5690 D["\
1"]=" \
3\\\\\\n
"\\/p
5692 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5697 s/.\{148\}/&'"$ac_delim"'/g
5702 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5705 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5707 ' <confdefs.h | sed '
5708 s/'"$ac_delim"'/"\\\
5709 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5712 for (key in D) D_is_set[key] = 1
5715 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5717 split(line, arg, " ")
5718 if (arg[1] == "#") {
5722 defundef
= substr
(arg
[1], 2)
5725 split(mac1
, mac2
, "(") #)
5727 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5728 if (D_is_set
[macro
]) {
5729 # Preserve the white space surrounding the "#".
5730 print prefix
"define", macro P
[macro
] D
[macro
]
5733 # Replace #undef with comments. This is necessary, for example,
5734 # in the case of _POSIX_SOURCE, which is predefined and required
5735 # on some systems where configure will not decide to define it.
5736 if (defundef
== "undef") {
5737 print
"/*", prefix defundef
, macro
, "*/"
5745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5746 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
5747 fi # test -n "$CONFIG_HEADERS"
5750 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
5755 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5757 case $ac_mode$ac_tag in
5759 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5760 :[FH
]-) ac_tag
=-:-;;
5761 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5778 -) ac_f
="$tmp/stdin";;
5779 *) # Look for the file first in the build tree, then in the source tree
5780 # (if the path is not absolute). The absolute path cannot be DOS-style,
5781 # because $ac_f cannot contain `:'.
5785 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5787 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
5789 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5790 as_fn_append ac_file_inputs
" '$ac_f'"
5793 # Let's still pretend it is `configure' which instantiates (i.e., don't
5794 # use $as_me), people would be surprised to read:
5795 # /* config.h. Generated by config.status. */
5796 configure_input
='Generated from '`
5797 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5799 if test x
"$ac_file" != x-
; then
5800 configure_input
="$ac_file. $configure_input"
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5802 $as_echo "$as_me: creating $ac_file" >&6;}
5804 # Neutralize special characters interpreted by sed in replacement strings.
5805 case $configure_input in #(
5806 *\
&* |
*\|
* |
*\\* )
5807 ac_sed_conf_input
=`$as_echo "$configure_input" |
5808 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5809 *) ac_sed_conf_input
=$configure_input;;
5813 *:-:* |
*:-) cat >"$tmp/stdin" \
5814 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
5819 ac_dir
=`$as_dirname -- "$ac_file" ||
5820 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5821 X"$ac_file" : 'X\(//\)[^/]' \| \
5822 X"$ac_file" : 'X\(//\)$' \| \
5823 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5824 $as_echo X"$ac_file" |
5825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5842 as_dir
="$ac_dir"; as_fn_mkdir_p
5846 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5848 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5849 # A ".." for each directory in $ac_dir_suffix.
5850 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5851 case $ac_top_builddir_sub in
5852 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5853 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5856 ac_abs_top_builddir
=$ac_pwd
5857 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5858 # for backward compatibility:
5859 ac_top_builddir
=$ac_top_build_prefix
5862 .
) # We are building in place.
5864 ac_top_srcdir
=$ac_top_builddir_sub
5865 ac_abs_top_srcdir
=$ac_pwd ;;
5866 [\\/]* | ?
:[\\/]* ) # Absolute name.
5867 ac_srcdir
=$srcdir$ac_dir_suffix;
5868 ac_top_srcdir
=$srcdir
5869 ac_abs_top_srcdir
=$srcdir ;;
5871 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5872 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5873 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5875 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5885 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5886 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5891 # If the template does not know about datarootdir, expand it.
5892 # FIXME: This hack should be removed a few years after 2.60.
5893 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5904 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5905 *datarootdir
*) ac_datarootdir_seen
=yes;;
5906 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5908 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5911 ac_datarootdir_hack='
5912 s&@datadir@&$datadir&g
5913 s&@docdir@&$docdir&g
5914 s&@infodir@&$infodir&g
5915 s&@localedir@&$localedir&g
5916 s&@mandir@&$mandir&g
5917 s&\\\${datarootdir}&$datarootdir&g' ;;
5921 # Neutralize VPATH when `$srcdir' = `.'.
5922 # Shell code in configure.ac might set extrasub.
5923 # FIXME: do we really want to maintain this feature?
5924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5925 ac_sed_extra="$ac_vpsub
5928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5930 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5931 s|@configure_input@|
$ac_sed_conf_input|
;t t
5932 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5933 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5934 s
&@srcdir@
&$ac_srcdir&;t t
5935 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5936 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5937 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5938 s
&@builddir@
&$ac_builddir&;t t
5939 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5940 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5941 s
&@INSTALL@
&$ac_INSTALL&;t t
5942 $ac_datarootdir_hack
5944 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
5945 || as_fn_error "could not create
$ac_file" "$LINENO" 5
5947 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5948 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5949 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5951 which seems to be undefined. Please make sure it is defined." >&5
5952 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5953 which seems to be undefined. Please make sure it is defined." >&2;}
5957 -) cat "$tmp/out" && rm -f "$tmp/out";;
5958 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5960 || as_fn_error "could not create $ac_file" "$LINENO" 5
5966 if test x"$ac_file" != x-; then
5968 $as_echo "/* $configure_input */" \
5969 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5970 } >"$tmp/config.h" \
5971 || as_fn_error "could not create $ac_file" "$LINENO" 5
5972 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5974 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5977 mv "$tmp/config.h" "$ac_file" \
5978 || as_fn_error "could not create $ac_file" "$LINENO" 5
5981 $as_echo "/* $configure_input */" \
5982 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5983 || as_fn_error "could not create -" "$LINENO" 5
5991 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
5994 # Prefer the file from the source tree if names are identical.
5995 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
5996 ac_source=$srcdir/$ac_source
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
6000 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
6002 if test ! -r "$ac_source"; then
6003 as_fn_error "$ac_source: file not found" "$LINENO" 5
6007 # Try a relative symlink, then a hard link, then a copy.
6009 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
6010 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
6012 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
6013 ln "$ac_source" "$ac_file" 2>/dev/null ||
6014 cp -p "$ac_source" "$ac_file" ||
6015 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
6018 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6019 $as_echo "$as_me: executing $ac_file commands" >&6;}
6024 case $ac_file$ac_mode in
6025 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
6026 if test -n "$CONFIG_FILES"; then
6027 # FIXME: We shouldn't need to
set ac_file
6029 .
${libgcc_topdir}/config-ml.
in
6038 ac_clean_files
=$ac_clean_files_save
6040 test $ac_write_fail = 0 ||
6041 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6044 # configure is writing to config.log, and then calls config.status.
6045 # config.status does its own redirection, appending to config.log.
6046 # Unfortunately, on DOS this fails, as config.log is still kept open
6047 # by configure, so config.status won't be able to write to it; its
6048 # output is simply discarded. So we exec the FD to /dev/null,
6049 # effectively closing config.log, so it can be properly (re)opened and
6050 # appended to by config.status. When coming back to configure, we
6051 # need to make the FD available again.
6052 if test "$no_create" != yes; then
6054 ac_config_status_args
=
6055 test "$silent" = yes &&
6056 ac_config_status_args
="$ac_config_status_args --quiet"
6058 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6060 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6061 # would make configure fail if this is the last instruction.
6062 $ac_cs_success || as_fn_exit $?
6064 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6066 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}