2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU C Runtime Library 1.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
547 PACKAGE_NAME
='GNU C Runtime Library'
548 PACKAGE_TARNAME
='libgcc'
549 PACKAGE_VERSION
='1.0'
550 PACKAGE_STRING
='GNU C Runtime Library 1.0'
552 PACKAGE_URL
='http://www.gnu.org/software/libgcc/'
554 ac_unique_file
="static-object.mk"
555 ac_includes_default
='/* none */'
556 ac_subst_vars
='LTLIBOBJS
569 real_host_noncanonical
571 force_explicit_eh_registry
577 long_double_type_size
647 program_transform_name
660 enable_option_checking
667 enable_version_specific_runtime_libs
669 enable_maintainer_mode
672 with_system_libunwind
673 enable_explicit_exception_frame_registration
677 ac_precious_vars
='build_alias
688 # Initialize some variables set by options.
690 ac_init_version
=false
691 ac_unrecognized_opts
=
693 # The variables have the same names as the options, with
694 # dashes changed to underlines.
702 program_transform_name
=s
,x
,x
,
710 # Installation directory options.
711 # These are left unexpanded so users can "make install exec_prefix=/foo"
712 # and all the variables that are supposed to be based on exec_prefix
713 # by default will actually change.
714 # Use braces instead of parens because sh, perl, etc. also accept them.
715 # (The list follows the same order as the GNU Coding Standards.)
716 bindir
='${exec_prefix}/bin'
717 sbindir
='${exec_prefix}/sbin'
718 libexecdir
='${exec_prefix}/libexec'
719 datarootdir
='${prefix}/share'
720 datadir
='${datarootdir}'
721 sysconfdir
='${prefix}/etc'
722 sharedstatedir
='${prefix}/com'
723 localstatedir
='${prefix}/var'
724 includedir
='${prefix}/include'
725 oldincludedir
='/usr/include'
726 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
727 infodir
='${datarootdir}/info'
732 libdir
='${exec_prefix}/lib'
733 localedir
='${datarootdir}/locale'
734 mandir
='${datarootdir}/man'
740 # If the previous option needs an argument, assign it.
741 if test -n "$ac_prev"; then
742 eval $ac_prev=\
$ac_option
748 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
752 # Accept the important Cygnus configure options, so we can diagnose typos.
754 case $ac_dashdash$ac_option in
758 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
760 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
763 -build |
--build |
--buil |
--bui |
--bu)
764 ac_prev
=build_alias
;;
765 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
766 build_alias
=$ac_optarg ;;
768 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
769 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
770 ac_prev
=cache_file
;;
771 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
772 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
773 cache_file
=$ac_optarg ;;
776 cache_file
=config.cache
;;
778 -datadir |
--datadir |
--datadi |
--datad)
780 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
781 datadir
=$ac_optarg ;;
783 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
784 |
--dataroo |
--dataro |
--datar)
785 ac_prev
=datarootdir
;;
786 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
787 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
788 datarootdir
=$ac_optarg ;;
790 -disable-* |
--disable-*)
791 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
792 # Reject names that are not valid shell variable names.
793 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
794 as_fn_error
"invalid feature name: $ac_useropt"
795 ac_useropt_orig
=$ac_useropt
796 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
797 case $ac_user_opts in
801 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
802 ac_unrecognized_sep
=', ';;
804 eval enable_
$ac_useropt=no
;;
806 -docdir |
--docdir |
--docdi |
--doc |
--do)
808 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
811 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
813 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
816 -enable-* |
--enable-*)
817 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
818 # Reject names that are not valid shell variable names.
819 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
820 as_fn_error
"invalid feature name: $ac_useropt"
821 ac_useropt_orig
=$ac_useropt
822 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
823 case $ac_user_opts in
827 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
828 ac_unrecognized_sep
=', ';;
830 eval enable_
$ac_useropt=\
$ac_optarg ;;
832 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
833 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
834 |
--exec |
--exe |
--ex)
835 ac_prev
=exec_prefix
;;
836 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
837 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
838 |
--exec=* |
--exe=* |
--ex=*)
839 exec_prefix
=$ac_optarg ;;
841 -gas |
--gas |
--ga |
--g)
842 # Obsolete; use --with-gas.
845 -help |
--help |
--hel |
--he |
-h)
847 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
848 ac_init_help
=recursive
;;
849 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
850 ac_init_help
=short
;;
852 -host |
--host |
--hos |
--ho)
853 ac_prev
=host_alias
;;
854 -host=* |
--host=* |
--hos=* |
--ho=*)
855 host_alias
=$ac_optarg ;;
857 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
859 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
861 htmldir
=$ac_optarg ;;
863 -includedir |
--includedir |
--includedi |
--included |
--include \
864 |
--includ |
--inclu |
--incl |
--inc)
865 ac_prev
=includedir
;;
866 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
867 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
868 includedir
=$ac_optarg ;;
870 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
872 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
873 infodir
=$ac_optarg ;;
875 -libdir |
--libdir |
--libdi |
--libd)
877 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
880 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
881 |
--libexe |
--libex |
--libe)
882 ac_prev
=libexecdir
;;
883 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
884 |
--libexe=* |
--libex=* |
--libe=*)
885 libexecdir
=$ac_optarg ;;
887 -localedir |
--localedir |
--localedi |
--localed |
--locale)
889 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
890 localedir
=$ac_optarg ;;
892 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
893 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
894 ac_prev
=localstatedir
;;
895 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
896 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
897 localstatedir
=$ac_optarg ;;
899 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
901 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
905 # Obsolete; use --without-fp.
908 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
909 |
--no-cr |
--no-c |
-n)
912 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
913 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
916 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
917 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
918 |
--oldin |
--oldi |
--old |
--ol |
--o)
919 ac_prev
=oldincludedir
;;
920 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
921 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
922 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
923 oldincludedir
=$ac_optarg ;;
925 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
927 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
930 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
931 |
--program-pre |
--program-pr |
--program-p)
932 ac_prev
=program_prefix
;;
933 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
934 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
935 program_prefix
=$ac_optarg ;;
937 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
938 |
--program-suf |
--program-su |
--program-s)
939 ac_prev
=program_suffix
;;
940 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
941 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
942 program_suffix
=$ac_optarg ;;
944 -program-transform-name |
--program-transform-name \
945 |
--program-transform-nam |
--program-transform-na \
946 |
--program-transform-n |
--program-transform- \
947 |
--program-transform |
--program-transfor \
948 |
--program-transfo |
--program-transf \
949 |
--program-trans |
--program-tran \
950 |
--progr-tra |
--program-tr |
--program-t)
951 ac_prev
=program_transform_name
;;
952 -program-transform-name=* |
--program-transform-name=* \
953 |
--program-transform-nam=* |
--program-transform-na=* \
954 |
--program-transform-n=* |
--program-transform-=* \
955 |
--program-transform=* |
--program-transfor=* \
956 |
--program-transfo=* |
--program-transf=* \
957 |
--program-trans=* |
--program-tran=* \
958 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
959 program_transform_name
=$ac_optarg ;;
961 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
963 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
966 -psdir |
--psdir |
--psdi |
--psd |
--ps)
968 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
971 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
972 |
-silent |
--silent |
--silen |
--sile |
--sil)
975 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
977 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
979 sbindir
=$ac_optarg ;;
981 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
982 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
983 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
985 ac_prev
=sharedstatedir
;;
986 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
987 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
988 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
990 sharedstatedir
=$ac_optarg ;;
992 -site |
--site |
--sit)
994 -site=* |
--site=* |
--sit=*)
997 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
999 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1000 srcdir
=$ac_optarg ;;
1002 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1003 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1004 ac_prev
=sysconfdir
;;
1005 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1006 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1007 sysconfdir
=$ac_optarg ;;
1009 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1010 ac_prev
=target_alias
;;
1011 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1012 target_alias
=$ac_optarg ;;
1014 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1017 -version |
--version |
--versio |
--versi |
--vers |
-V)
1018 ac_init_version
=: ;;
1021 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1024 as_fn_error
"invalid package name: $ac_useropt"
1025 ac_useropt_orig
=$ac_useropt
1026 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1031 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1032 ac_unrecognized_sep
=', ';;
1034 eval with_
$ac_useropt=\
$ac_optarg ;;
1036 -without-* |
--without-*)
1037 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1040 as_fn_error
"invalid package name: $ac_useropt"
1041 ac_useropt_orig
=$ac_useropt
1042 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1047 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1048 ac_unrecognized_sep
=', ';;
1050 eval with_
$ac_useropt=no
;;
1053 # Obsolete; use --with-x.
1056 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1057 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1058 ac_prev
=x_includes
;;
1059 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1060 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1061 x_includes
=$ac_optarg ;;
1063 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1064 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1065 ac_prev
=x_libraries
;;
1066 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1067 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1068 x_libraries
=$ac_optarg ;;
1070 -*) as_fn_error
"unrecognized option: \`$ac_option'
1071 Try \`$0 --help' for more information."
1075 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1076 # Reject names that are not valid shell variable names.
1077 case $ac_envvar in #(
1078 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1079 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1081 eval $ac_envvar=\
$ac_optarg
1082 export $ac_envvar ;;
1085 # FIXME: should be removed in autoconf 3.0.
1086 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1087 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1088 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1089 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1095 if test -n "$ac_prev"; then
1096 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1097 as_fn_error
"missing argument to $ac_option"
1100 if test -n "$ac_unrecognized_opts"; then
1101 case $enable_option_checking in
1103 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1104 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1108 # Check all directory arguments for consistency.
1109 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1110 datadir sysconfdir sharedstatedir localstatedir includedir \
1111 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1112 libdir localedir mandir
1114 eval ac_val
=\$
$ac_var
1115 # Remove trailing slashes.
1118 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1119 eval $ac_var=\
$ac_val;;
1121 # Be sure to have absolute directory names.
1123 [\\/$
]* | ?
:[\\/]* ) continue;;
1124 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1126 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1129 # There might be people who depend on the old broken behavior: `$host'
1130 # used to hold the argument of --host etc.
1131 # FIXME: To remove some day.
1134 target
=$target_alias
1136 # FIXME: To remove some day.
1137 if test "x$host_alias" != x
; then
1138 if test "x$build_alias" = x
; then
1139 cross_compiling
=maybe
1140 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1141 If a cross compiler is detected then cross compile mode will be used." >&2
1142 elif test "x$build_alias" != "x$host_alias"; then
1148 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1150 test "$silent" = yes && exec 6>/dev
/null
1153 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1154 ac_ls_di
=`ls -di .` &&
1155 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1156 as_fn_error
"working directory cannot be determined"
1157 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1158 as_fn_error
"pwd does not report name of working directory"
1161 # Find the source files, if location was not specified.
1162 if test -z "$srcdir"; then
1163 ac_srcdir_defaulted
=yes
1164 # Try the directory containing this script, then the parent directory.
1165 ac_confdir
=`$as_dirname -- "$as_myself" ||
1166 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1167 X"$as_myself" : 'X\(//\)[^/]' \| \
1168 X"$as_myself" : 'X\(//\)$' \| \
1169 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1170 $as_echo X"$as_myself" |
1171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1189 if test ! -r "$srcdir/$ac_unique_file"; then
1193 ac_srcdir_defaulted
=no
1195 if test ! -r "$srcdir/$ac_unique_file"; then
1196 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1197 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1199 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1201 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1203 # When building in place, set srcdir=.
1204 if test "$ac_abs_confdir" = "$ac_pwd"; then
1207 # Remove unnecessary trailing slashes from srcdir.
1208 # Double slashes in file names in object file debugging info
1209 # mess up M-x gdb in Emacs.
1211 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1213 for ac_var
in $ac_precious_vars; do
1214 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1215 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1216 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1217 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1221 # Report the --help message.
1223 if test "$ac_init_help" = "long"; then
1224 # Omit some internal or obsolete options to make the list less imposing.
1225 # This message is too long to be a string in the A/UX 3.1 sh.
1227 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1229 Usage: $0 [OPTION]... [VAR=VALUE]...
1231 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1232 VAR=VALUE. See below for descriptions of some of the useful variables.
1234 Defaults for the options are specified in brackets.
1237 -h, --help display this help and exit
1238 --help=short display options specific to this package
1239 --help=recursive display the short help of all the included packages
1240 -V, --version display version information and exit
1241 -q, --quiet, --silent do not print \`checking...' messages
1242 --cache-file=FILE cache test results in FILE [disabled]
1243 -C, --config-cache alias for \`--cache-file=config.cache'
1244 -n, --no-create do not create output files
1245 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1247 Installation directories:
1248 --prefix=PREFIX install architecture-independent files in PREFIX
1249 [$ac_default_prefix]
1250 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1253 By default, \`make install' will install all the files in
1254 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1255 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1256 for instance \`--prefix=\$HOME'.
1258 For better control, use the options below.
1260 Fine tuning of the installation directories:
1261 --bindir=DIR user executables [EPREFIX/bin]
1262 --sbindir=DIR system admin executables [EPREFIX/sbin]
1263 --libexecdir=DIR program executables [EPREFIX/libexec]
1264 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1265 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1266 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1267 --libdir=DIR object code libraries [EPREFIX/lib]
1268 --includedir=DIR C header files [PREFIX/include]
1269 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1270 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1271 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1272 --infodir=DIR info documentation [DATAROOTDIR/info]
1273 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1274 --mandir=DIR man documentation [DATAROOTDIR/man]
1275 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1276 --htmldir=DIR html documentation [DOCDIR]
1277 --dvidir=DIR dvi documentation [DOCDIR]
1278 --pdfdir=DIR pdf documentation [DOCDIR]
1279 --psdir=DIR ps documentation [DOCDIR]
1285 --build=BUILD configure
for building on BUILD
[guessed
]
1286 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1290 if test -n "$ac_init_help"; then
1291 case $ac_init_help in
1292 short | recursive
) echo "Configuration of GNU C Runtime Library 1.0:";;
1297 --disable-option-checking ignore unrecognized
--enable/--with options
1298 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1299 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1300 --disable-shared don
't provide a shared libgcc
1301 --enable-vtable-verify Enable vtable verification feature
1302 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1303 --enable-maintainer-mode
1304 enable make rules and dependencies not useful (and
1305 sometimes confusing) to the casual installer
1306 --enable-decimal-float={no,yes,bid,dpd}
1307 enable decimal float extension to C. Selecting 'bid
'
1308 or 'dpd
' choses which decimal floating point format
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
1718 # ac_fn_c_check_header_preproc LINENO HEADER VAR
1719 # ----------------------------------------------
1720 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
1721 ac_fn_c_check_header_preproc
()
1723 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1725 $as_echo_n "checking for $2... " >&6; }
1726 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1727 $as_echo_n "(cached) " >&6
1729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1730 /* end confdefs.h. */
1733 if ac_fn_c_try_cpp
"$LINENO"; then :
1738 rm -f conftest.err conftest.
$ac_ext
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1742 $as_echo "$ac_res" >&6; }
1743 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1745 } # ac_fn_c_check_header_preproc
1746 cat >config.log
<<_ACEOF
1747 This file contains any messages produced by compilers while
1748 running configure, to aid debugging if configure makes a mistake.
1750 It was created by GNU C Runtime Library $as_me 1.0, which was
1751 generated by GNU Autoconf 2.64. Invocation command line was
1763 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1764 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1765 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1766 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1767 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1769 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1770 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1772 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1773 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1774 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1775 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1776 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1777 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1778 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1786 test -z "$as_dir" && as_dir
=.
1787 $as_echo "PATH: $as_dir"
1803 # Keep a trace of the command line.
1804 # Strip out --no-create and --no-recursion so they do not pile up.
1805 # Strip out --silent because we don't want to record it for future runs.
1806 # Also quote any args containing shell meta-characters.
1807 # Make two passes to allow for proper duplicate-argument suppression.
1811 ac_must_keep_next
=false
1817 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1818 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1819 |
-silent |
--silent |
--silen |
--sile |
--sil)
1822 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1825 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1827 as_fn_append ac_configure_args1
" '$ac_arg'"
1828 if test $ac_must_keep_next = true
; then
1829 ac_must_keep_next
=false
# Got value, back to normal.
1832 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1833 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1834 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1835 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1836 case "$ac_configure_args0 " in
1837 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1840 -* ) ac_must_keep_next
=true
;;
1843 as_fn_append ac_configure_args
" '$ac_arg'"
1848 { ac_configure_args0
=; unset ac_configure_args0
;}
1849 { ac_configure_args1
=; unset ac_configure_args1
;}
1851 # When interrupted or exit'd, cleanup temporary files, and complete
1852 # config.log. We remove comments because anyway the quotes in there
1853 # would cause problems or look ugly.
1854 # WARNING: Use '\'' to represent an apostrophe within the trap.
1855 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1856 trap 'exit_status=$?
1857 # Save into config.log some information that might help in debugging.
1862 ## ---------------- ##
1863 ## Cache variables. ##
1864 ## ---------------- ##
1867 # The following way of writing the cache mishandles newlines in values,
1869 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1870 eval ac_val=\$$ac_var
1874 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1875 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1878 _ | IFS | as_nl) ;; #(
1879 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1880 *) { eval $ac_var=; unset $ac_var;} ;;
1885 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1886 *${as_nl}ac_space=\ *)
1888 "s/'\''/'\''\\\\'\'''\''/g;
1889 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1892 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1900 ## ----------------- ##
1901 ## Output variables. ##
1902 ## ----------------- ##
1905 for ac_var in $ac_subst_vars
1907 eval ac_val=\$$ac_var
1909 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1911 $as_echo "$ac_var='\''$ac_val'\''"
1915 if test -n "$ac_subst_files"; then
1917 ## ------------------- ##
1918 ## File substitutions. ##
1919 ## ------------------- ##
1922 for ac_var
in $ac_subst_files
1924 eval ac_val
=\$
$ac_var
1926 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1928 $as_echo "$ac_var='\''$ac_val'\''"
1933 if test -s confdefs.h; then
1943 test "$ac_signal" != 0 &&
1944 $as_echo "$as_me: caught signal $ac_signal"
1945 $as_echo "$as_me: exit $exit_status"
1947 rm -f core *.core core.conftest.* &&
1948 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1951 for ac_signal
in 1 2 13 15; do
1952 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1956 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1957 rm -f -r conftest
* confdefs.h
1959 $as_echo "/* confdefs.h */" > confdefs.h
1961 # Predefined preprocessor variables.
1963 cat >>confdefs.h
<<_ACEOF
1964 #define PACKAGE_NAME "$PACKAGE_NAME"
1967 cat >>confdefs.h
<<_ACEOF
1968 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1971 cat >>confdefs.h
<<_ACEOF
1972 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1975 cat >>confdefs.h
<<_ACEOF
1976 #define PACKAGE_STRING "$PACKAGE_STRING"
1979 cat >>confdefs.h
<<_ACEOF
1980 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1983 cat >>confdefs.h
<<_ACEOF
1984 #define PACKAGE_URL "$PACKAGE_URL"
1988 # Let the site file select an alternate cache file if it wants to.
1989 # Prefer an explicitly selected file to automatically selected ones.
1992 if test -n "$CONFIG_SITE"; then
1993 ac_site_file1
=$CONFIG_SITE
1994 elif test "x$prefix" != xNONE
; then
1995 ac_site_file1
=$prefix/share
/config.site
1996 ac_site_file2
=$prefix/etc
/config.site
1998 ac_site_file1
=$ac_default_prefix/share
/config.site
1999 ac_site_file2
=$ac_default_prefix/etc
/config.site
2001 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2003 test "x$ac_site_file" = xNONE
&& continue
2004 if test -r "$ac_site_file"; then
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2006 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2007 sed 's/^/| /' "$ac_site_file" >&5
2012 if test -r "$cache_file"; then
2013 # Some versions of bash will fail to source /dev/null (special
2014 # files actually), so we avoid doing that.
2015 if test -f "$cache_file"; then
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2017 $as_echo "$as_me: loading cache $cache_file" >&6;}
2019 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2020 *) .
"./$cache_file";;
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2025 $as_echo "$as_me: creating cache $cache_file" >&6;}
2029 # Check that the precious variables saved in the cache have kept the same
2031 ac_cache_corrupted
=false
2032 for ac_var
in $ac_precious_vars; do
2033 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2034 eval ac_new_set
=\
$ac_env_${ac_var}_set
2035 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2036 eval ac_new_val
=\
$ac_env_${ac_var}_value
2037 case $ac_old_set,$ac_new_set in
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2040 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2041 ac_cache_corrupted
=: ;;
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2044 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2045 ac_cache_corrupted
=: ;;
2048 if test "x$ac_old_val" != "x$ac_new_val"; then
2049 # differences in whitespace do not lead to failure.
2050 ac_old_val_w
=`echo x $ac_old_val`
2051 ac_new_val_w
=`echo x $ac_new_val`
2052 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2054 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2055 ac_cache_corrupted
=:
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2058 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2059 eval $ac_var=\
$ac_old_val
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2062 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2064 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2067 # Pass precious variables to config.status.
2068 if test "$ac_new_set" = set; then
2070 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2071 *) ac_arg
=$ac_var=$ac_new_val ;;
2073 case " $ac_configure_args " in
2074 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2075 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2079 if $ac_cache_corrupted; then
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2083 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2084 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2086 ## -------------------- ##
2087 ## Main body of script. ##
2088 ## -------------------- ##
2091 ac_cpp
='$CPP $CPPFLAGS'
2092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2102 # The libgcc should not depend on any header files
2106 # Check whether --with-target-subdir was given.
2107 if test "${with_target_subdir+set}" = set; then :
2108 withval
=$with_target_subdir;
2112 # Check whether --with-cross-host was given.
2113 if test "${with_cross_host+set}" = set; then :
2114 withval
=$with_cross_host;
2118 # Check whether --with-ld was given.
2119 if test "${with_ld+set}" = set; then :
2124 if test "${srcdir}" = "."; then
2125 if test -n "${with_build_subdir}"; then
2126 libgcc_topdir
="${srcdir}/../.."
2128 elif test -z "${with_target_subdir}"; then
2129 libgcc_topdir
="${srcdir}/.."
2131 if test "${with_target_subdir}" != "."; then
2132 libgcc_topdir
="${srcdir}/${with_multisrctop}../.."
2134 libgcc_topdir
="${srcdir}/${with_multisrctop}.."
2138 libgcc_topdir
="${srcdir}/.."
2142 for ac_dir
in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
2143 for ac_t
in install-sh
install.sh shtool
; do
2144 if test -f "$ac_dir/$ac_t"; then
2146 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2151 if test -z "$ac_aux_dir"; then
2152 as_fn_error
"cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
2155 # These three variables are undocumented and unsupported,
2156 # and are intended to be withdrawn in a future Autoconf release.
2157 # They can cause serious problems if a builder's source tree is in a directory
2158 # whose full name contains unusual characters.
2159 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2160 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2161 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2164 ac_config_headers
="$ac_config_headers auto-target.h:config.in"
2167 # Check whether --enable-shared was given.
2168 if test "${enable_shared+set}" = set; then :
2169 enableval
=$enable_shared;
2170 case $enable_shared in
2174 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2175 for pkg
in $enableval; do
2176 if test "X$pkg" = "Xgcc" ||
test "X$pkg" = "Xlibgcc"; then
2190 # Check whether --enable-vtable-verify was given.
2191 if test "${enable_vtable_verify+set}" = set; then :
2192 enableval
=$enable_vtable_verify; case "$enableval" in
2193 yes) enable_vtable_verify
=yes ;;
2194 no
) enable_vtable_verify
=no
;;
2195 *) enable_vtable_verify
=no
;;
2198 enable_vtable_verify
=no
2204 # Check whether --with-aix-soname was given.
2205 if test "${with_aix_soname+set}" = set; then :
2206 withval
=$with_aix_soname; case "${host}:${enable_shared}" in
2207 power
*-*-aix[5-9]*:yes)
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide for shared libgcc" >&5
2209 $as_echo_n "checking which variant of shared library versioning to provide for shared libgcc... " >&6; }
2212 *) as_fn_error
"Unknown argument to --with-aix-soname" "$LINENO" 5;;
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
2215 $as_echo "$withval" >&6; }
2217 *) with_aix_soname
=aix
;;
2226 # Make sure we can run config.sub.
2227 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2228 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2231 $as_echo_n "checking build system type... " >&6; }
2232 if test "${ac_cv_build+set}" = set; then :
2233 $as_echo_n "(cached) " >&6
2235 ac_build_alias
=$build_alias
2236 test "x$ac_build_alias" = x
&&
2237 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2238 test "x$ac_build_alias" = x
&&
2239 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2240 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2241 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2245 $as_echo "$ac_cv_build" >&6; }
2246 case $ac_cv_build in
2248 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2251 ac_save_IFS
=$IFS; IFS
='-'
2257 # Remember, the first character of IFS is used to create $*,
2258 # except with old shells:
2261 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2265 $as_echo_n "checking host system type... " >&6; }
2266 if test "${ac_cv_host+set}" = set; then :
2267 $as_echo_n "(cached) " >&6
2269 if test "x$host_alias" = x
; then
2270 ac_cv_host
=$ac_cv_build
2272 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2273 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2278 $as_echo "$ac_cv_host" >&6; }
2281 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2284 ac_save_IFS
=$IFS; IFS
='-'
2290 # Remember, the first character of IFS is used to create $*,
2291 # except with old shells:
2294 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2302 # PIC is the default on some targets or must not be used.
2304 # For darwin, common symbols are not allowed in MH_DYLIB files
2306 # If we are using a compiler supporting mdynamic-no-pic
2307 # and the option has been tested as safe to add, then cancel
2308 # it here, since the code generated is incompatible with shared
2310 *-mdynamic-no-pic*) PICFLAG
='-fno-common -mno-dynamic-no-pic' ;;
2311 *) PICFLAG
=-fno-common ;;
2315 # PIC is the default.
2318 # PIC is the default for 64-bit PA HP-UX.
2320 i
[34567]86-*-cygwin* | x86_64-
*-cygwin*)
2322 i
[34567]86-*-mingw* | x86_64-
*-mingw*)
2324 i
[34567]86-*-interix[3-9]*)
2325 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2326 # Instead, we relocate shared libraries at runtime.
2328 i
[34567]86-*-nto-qnx*)
2329 # QNX uses GNU C++, but need to define -shared option too, otherwise
2331 PICFLAG
='-fPIC -shared'
2333 i
[34567]86-pc-msdosdjgpp*)
2334 # DJGPP does not support shared libraries at all.
2337 # On IA64 HP-UX, PIC is the default but the pic flag
2338 # sets the default TLS model and affects inlining.
2342 # PIC is the default.
2344 rs6000-ibm-aix
* | powerpc-ibm-aix
*)
2345 # All AIX code is PIC.
2348 # Some targets support both -fPIC and -fpic, but prefer the latter.
2350 i
[34567]86-*-* | x86_64-
*-*)
2353 # FIXME: Override -fPIC default in libgcc only?
2354 sh-
*-linux* | sh
[2346lbe
]*-*-linux*)
2357 # FIXME: Simplify to sh*-*-netbsd*?
2358 sh-
*-netbsdelf* | shl
*-*-netbsdelf*)
2361 # Default to -fPIC unless specified otherwise.
2367 # If the user explicitly uses -fpic/-fPIC, keep that.
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2380 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2381 # Check whether --enable-version-specific-runtime-libs was given.
2382 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2383 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2384 yes) version_specific_libs
=yes ;;
2385 no
) version_specific_libs
=no
;;
2386 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2389 version_specific_libs
=no
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2393 $as_echo "$version_specific_libs" >&6; }
2396 # Check whether --with-slibdir was given.
2397 if test "${with_slibdir+set}" = set; then :
2398 withval
=$with_slibdir; slibdir
="$with_slibdir"
2400 if test "${version_specific_libs}" = yes; then
2401 slibdir
='$(libsubdir)'
2402 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
2403 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
2411 # Command-line options.
2412 # Very limited version of AC_MAINTAINER_MODE.
2413 # Check whether --enable-maintainer-mode was given.
2414 if test "${enable_maintainer_mode+set}" = set; then :
2415 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2418 *) as_fn_error
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2420 maintainer_mode
=${enableval}
2426 # Find a good install program. We prefer a C program (faster),
2427 # so one script is as good as another. But avoid the broken or
2428 # incompatible versions:
2429 # SysV /etc/install, /usr/sbin/install
2430 # SunOS /usr/etc/install
2431 # IRIX /sbin/install
2433 # AmigaOS /C/install, which installs bootblocks on floppy discs
2434 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2435 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2436 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2437 # OS/2's system install, which has a completely different semantic
2438 # ./install, which can be erroneously created by make from ./install.sh.
2439 # Reject install programs that cannot install multiple files.
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2441 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2442 if test -z "$INSTALL"; then
2443 if test "${ac_cv_path_install+set}" = set; then :
2444 $as_echo_n "(cached) " >&6
2446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2450 test -z "$as_dir" && as_dir
=.
2451 # Account for people who put trailing slashes in PATH elements.
2452 case $as_dir/ in #((
2453 .
/ | .
// |
/[cC
]/* | \
2454 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2455 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2458 # OSF1 and SCO ODT 3.0 have their own names for install.
2459 # Don't use installbsd from OSF since it installs stuff as root
2461 for ac_prog
in ginstall scoinst
install; do
2462 for ac_exec_ext
in '' $ac_executable_extensions; do
2463 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2464 if test $ac_prog = install &&
2465 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2466 # AIX install. It has an incompatible calling convention.
2468 elif test $ac_prog = install &&
2469 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2470 # program-specific install script used by HP pwplus--don't use.
2473 rm -rf conftest.one conftest.two conftest.dir
2474 echo one
> conftest.one
2475 echo two
> conftest.two
2477 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2478 test -s conftest.one
&& test -s conftest.two
&&
2479 test -s conftest.dir
/conftest.one
&&
2480 test -s conftest.dir
/conftest.two
2482 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2495 rm -rf conftest.one conftest.two conftest.dir
2498 if test "${ac_cv_path_install+set}" = set; then
2499 INSTALL
=$ac_cv_path_install
2501 # As a last resort, use the slow shell script. Don't cache a
2502 # value for INSTALL within a source directory, because that will
2503 # break other packages using the cache if that directory is
2504 # removed, or if the value is a relative name.
2505 INSTALL
=$ac_install_sh
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2509 $as_echo "$INSTALL" >&6; }
2511 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2512 # It thinks the first close brace ends the variable substitution.
2513 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2515 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2517 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2520 for ac_prog
in gawk mawk nawk
awk
2522 # Extract the first word of "$ac_prog", so it can be a program name with args.
2523 set dummy
$ac_prog; ac_word
=$2
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2525 $as_echo_n "checking for $ac_word... " >&6; }
2526 if test "${ac_cv_prog_AWK+set}" = set; then :
2527 $as_echo_n "(cached) " >&6
2529 if test -n "$AWK"; then
2530 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2536 test -z "$as_dir" && as_dir
=.
2537 for ac_exec_ext
in '' $ac_executable_extensions; do
2538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2539 ac_cv_prog_AWK
="$ac_prog"
2540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 if test -n "$AWK"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2552 $as_echo "$AWK" >&6; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555 $as_echo "no" >&6; }
2559 test -n "$AWK" && break
2562 # We need awk; bail out if it's missing.
2564 "") as_fn_error
"can't build without awk, bailing out" "$LINENO" 5 ;;
2568 case ${build_alias} in
2569 "") build_noncanonical
=${build} ;;
2570 *) build_noncanonical
=${build_alias} ;;
2573 case ${host_alias} in
2574 "") host_noncanonical
=${build_noncanonical} ;;
2575 *) host_noncanonical
=${host_alias} ;;
2580 case ${target_alias} in
2581 "") target_noncanonical
=${host_noncanonical} ;;
2582 *) target_noncanonical
=${target_alias} ;;
2588 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2589 # have matching libraries, they should use host libraries: Makefile.tpl
2590 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2591 # However, they still use the build modules, because the corresponding
2592 # host modules (e.g. bison) are only built for the host when bootstrap
2594 # - build_subdir is where we find build modules, and never changes.
2595 # - build_libsubdir is where we find build libraries, and can be overridden.
2597 # Prefix 'build-' so this never conflicts with target_subdir.
2598 build_subdir
="build-${build_noncanonical}"
2600 # Check whether --with-build-libsubdir was given.
2601 if test "${with_build_libsubdir+set}" = set; then :
2602 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2604 build_libsubdir
="$build_subdir"
2607 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2608 if ( test $srcdir = .
&& test -d gcc
) \
2609 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2610 host_subdir
="host-${host_noncanonical}"
2615 target_subdir
=${target_noncanonical}
2618 # Calculate toolexeclibdir
2619 # Also toolexecdir, though it's only used in toolexeclibdir
2620 case ${version_specific_libs} in
2622 # Need the gcc compiler version to know where to install libraries
2623 # and header files if --enable-version-specific-runtime-libs option
2625 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
2626 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2629 if test -n "$with_cross_host" &&
2630 test x
"$with_cross_host" != x
"no"; then
2631 # Install a library built with a cross compiler in tooldir, not libdir.
2632 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
2633 toolexeclibdir
='$(toolexecdir)/lib'
2635 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
2636 toolexeclibdir
='$(libdir)'
2638 multi_os_directory
=`$CC -print-multi-os-directory`
2639 case $multi_os_directory in
2640 .
) ;; # Avoid trailing /.
2641 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2648 if test -n "$ac_tool_prefix"; then
2649 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2650 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2652 $as_echo_n "checking for $ac_word... " >&6; }
2653 if test "${ac_cv_prog_AR+set}" = set; then :
2654 $as_echo_n "(cached) " >&6
2656 if test -n "$AR"; then
2657 ac_cv_prog_AR
="$AR" # Let the user override the test.
2659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2663 test -z "$as_dir" && as_dir
=.
2664 for ac_exec_ext
in '' $ac_executable_extensions; do
2665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2666 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2677 if test -n "$AR"; then
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2679 $as_echo "$AR" >&6; }
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2682 $as_echo "no" >&6; }
2687 if test -z "$ac_cv_prog_AR"; then
2689 # Extract the first word of "ar", so it can be a program name with args.
2690 set dummy
ar; ac_word
=$2
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2692 $as_echo_n "checking for $ac_word... " >&6; }
2693 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2694 $as_echo_n "(cached) " >&6
2696 if test -n "$ac_ct_AR"; then
2697 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2703 test -z "$as_dir" && as_dir
=.
2704 for ac_exec_ext
in '' $ac_executable_extensions; do
2705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 ac_cv_prog_ac_ct_AR
="ar"
2707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2716 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2717 if test -n "$ac_ct_AR"; then
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2719 $as_echo "$ac_ct_AR" >&6; }
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722 $as_echo "no" >&6; }
2725 if test "x$ac_ct_AR" = x
; then
2728 case $cross_compiling:$ac_tool_warned in
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2732 ac_tool_warned
=yes ;;
2740 if test -n "$ac_tool_prefix"; then
2741 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2742 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2744 $as_echo_n "checking for $ac_word... " >&6; }
2745 if test "${ac_cv_prog_LIPO+set}" = set; then :
2746 $as_echo_n "(cached) " >&6
2748 if test -n "$LIPO"; then
2749 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
2751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2755 test -z "$as_dir" && as_dir
=.
2756 for ac_exec_ext
in '' $ac_executable_extensions; do
2757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2758 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
2759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2768 LIPO
=$ac_cv_prog_LIPO
2769 if test -n "$LIPO"; then
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2771 $as_echo "$LIPO" >&6; }
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2774 $as_echo "no" >&6; }
2779 if test -z "$ac_cv_prog_LIPO"; then
2781 # Extract the first word of "lipo", so it can be a program name with args.
2782 set dummy lipo
; ac_word
=$2
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2784 $as_echo_n "checking for $ac_word... " >&6; }
2785 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
2786 $as_echo_n "(cached) " >&6
2788 if test -n "$ac_ct_LIPO"; then
2789 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
2791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2795 test -z "$as_dir" && as_dir
=.
2796 for ac_exec_ext
in '' $ac_executable_extensions; do
2797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2798 ac_cv_prog_ac_ct_LIPO
="lipo"
2799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2808 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
2809 if test -n "$ac_ct_LIPO"; then
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2811 $as_echo "$ac_ct_LIPO" >&6; }
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2814 $as_echo "no" >&6; }
2817 if test "x$ac_ct_LIPO" = x
; then
2820 case $cross_compiling:$ac_tool_warned in
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2824 ac_tool_warned
=yes ;;
2829 LIPO
="$ac_cv_prog_LIPO"
2832 if test -n "$ac_tool_prefix"; then
2833 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2834 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if test "${ac_cv_prog_NM+set}" = set; then :
2838 $as_echo_n "(cached) " >&6
2840 if test -n "$NM"; then
2841 ac_cv_prog_NM
="$NM" # Let the user override the test.
2843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir
=.
2848 for ac_exec_ext
in '' $ac_executable_extensions; do
2849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2850 ac_cv_prog_NM
="${ac_tool_prefix}nm"
2851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 if test -n "$NM"; then
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2863 $as_echo "$NM" >&6; }
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2866 $as_echo "no" >&6; }
2871 if test -z "$ac_cv_prog_NM"; then
2873 # Extract the first word of "nm", so it can be a program name with args.
2874 set dummy nm
; ac_word
=$2
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2876 $as_echo_n "checking for $ac_word... " >&6; }
2877 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
2878 $as_echo_n "(cached) " >&6
2880 if test -n "$ac_ct_NM"; then
2881 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
2883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2887 test -z "$as_dir" && as_dir
=.
2888 for ac_exec_ext
in '' $ac_executable_extensions; do
2889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2890 ac_cv_prog_ac_ct_NM
="nm"
2891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
2901 if test -n "$ac_ct_NM"; then
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
2903 $as_echo "$ac_ct_NM" >&6; }
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2906 $as_echo "no" >&6; }
2909 if test "x$ac_ct_NM" = x
; then
2912 case $cross_compiling:$ac_tool_warned in
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2916 ac_tool_warned
=yes ;;
2924 if test -n "$ac_tool_prefix"; then
2925 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2926 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2928 $as_echo_n "checking for $ac_word... " >&6; }
2929 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2930 $as_echo_n "(cached) " >&6
2932 if test -n "$RANLIB"; then
2933 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2939 test -z "$as_dir" && as_dir
=.
2940 for ac_exec_ext
in '' $ac_executable_extensions; do
2941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2942 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952 RANLIB
=$ac_cv_prog_RANLIB
2953 if test -n "$RANLIB"; then
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2955 $as_echo "$RANLIB" >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 $as_echo "no" >&6; }
2963 if test -z "$ac_cv_prog_RANLIB"; then
2964 ac_ct_RANLIB
=$RANLIB
2965 # Extract the first word of "ranlib", so it can be a program name with args.
2966 set dummy ranlib
; ac_word
=$2
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2968 $as_echo_n "checking for $ac_word... " >&6; }
2969 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2970 $as_echo_n "(cached) " >&6
2972 if test -n "$ac_ct_RANLIB"; then
2973 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2979 test -z "$as_dir" && as_dir
=.
2980 for ac_exec_ext
in '' $ac_executable_extensions; do
2981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2982 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2992 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2993 if test -n "$ac_ct_RANLIB"; then
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2995 $as_echo "$ac_ct_RANLIB" >&6; }
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2998 $as_echo "no" >&6; }
3001 if test "x$ac_ct_RANLIB" = x
; then
3004 case $cross_compiling:$ac_tool_warned in
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3008 ac_tool_warned
=yes ;;
3010 RANLIB
=$ac_ct_RANLIB
3013 RANLIB
="$ac_cv_prog_RANLIB"
3016 if test -n "$ac_tool_prefix"; then
3017 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3018 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if test "${ac_cv_prog_STRIP+set}" = set; then :
3022 $as_echo_n "(cached) " >&6
3024 if test -n "$STRIP"; then
3025 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir
=.
3032 for ac_exec_ext
in '' $ac_executable_extensions; do
3033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3034 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 STRIP
=$ac_cv_prog_STRIP
3045 if test -n "$STRIP"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3047 $as_echo "$STRIP" >&6; }
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 $as_echo "no" >&6; }
3055 if test -z "$ac_cv_prog_STRIP"; then
3057 # Extract the first word of "strip", so it can be a program name with args.
3058 set dummy strip
; ac_word
=$2
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3060 $as_echo_n "checking for $ac_word... " >&6; }
3061 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3062 $as_echo_n "(cached) " >&6
3064 if test -n "$ac_ct_STRIP"; then
3065 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3071 test -z "$as_dir" && as_dir
=.
3072 for ac_exec_ext
in '' $ac_executable_extensions; do
3073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3074 ac_cv_prog_ac_ct_STRIP
="strip"
3075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3084 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3085 if test -n "$ac_ct_STRIP"; then
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3087 $as_echo "$ac_ct_STRIP" >&6; }
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3093 if test "x$ac_ct_STRIP" = x
; then
3096 case $cross_compiling:$ac_tool_warned in
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3100 ac_tool_warned
=yes ;;
3105 STRIP
="$ac_cv_prog_STRIP"
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3109 $as_echo_n "checking whether ln -s works... " >&6; }
3111 if test "$LN_S" = "ln -s"; then
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3113 $as_echo "yes" >&6; }
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3116 $as_echo "no, using $LN_S" >&6; }
3122 ac_cpp
='$CPP $CPPFLAGS'
3123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3126 if test -n "$ac_tool_prefix"; then
3127 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3128 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3130 $as_echo_n "checking for $ac_word... " >&6; }
3131 if test "${ac_cv_prog_CC+set}" = set; then :
3132 $as_echo_n "(cached) " >&6
3134 if test -n "$CC"; then
3135 ac_cv_prog_CC
="$CC" # Let the user override the test.
3137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3141 test -z "$as_dir" && as_dir
=.
3142 for ac_exec_ext
in '' $ac_executable_extensions; do
3143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3144 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3155 if test -n "$CC"; then
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3157 $as_echo "$CC" >&6; }
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3160 $as_echo "no" >&6; }
3165 if test -z "$ac_cv_prog_CC"; then
3167 # Extract the first word of "gcc", so it can be a program name with args.
3168 set dummy gcc
; ac_word
=$2
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3170 $as_echo_n "checking for $ac_word... " >&6; }
3171 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3172 $as_echo_n "(cached) " >&6
3174 if test -n "$ac_ct_CC"; then
3175 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3181 test -z "$as_dir" && as_dir
=.
3182 for ac_exec_ext
in '' $ac_executable_extensions; do
3183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3184 ac_cv_prog_ac_ct_CC
="gcc"
3185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3194 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3195 if test -n "$ac_ct_CC"; then
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3197 $as_echo "$ac_ct_CC" >&6; }
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3200 $as_echo "no" >&6; }
3203 if test "x$ac_ct_CC" = x
; then
3206 case $cross_compiling:$ac_tool_warned in
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3210 ac_tool_warned
=yes ;;
3218 if test -z "$CC"; then
3219 if test -n "$ac_tool_prefix"; then
3220 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3221 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if test "${ac_cv_prog_CC+set}" = set; then :
3225 $as_echo_n "(cached) " >&6
3227 if test -n "$CC"; then
3228 ac_cv_prog_CC
="$CC" # Let the user override the test.
3230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3234 test -z "$as_dir" && as_dir
=.
3235 for ac_exec_ext
in '' $ac_executable_extensions; do
3236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3237 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 if test -n "$CC"; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3250 $as_echo "$CC" >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3259 if test -z "$CC"; then
3260 # Extract the first word of "cc", so it can be a program name with args.
3261 set dummy cc
; ac_word
=$2
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3263 $as_echo_n "checking for $ac_word... " >&6; }
3264 if test "${ac_cv_prog_CC+set}" = set; then :
3265 $as_echo_n "(cached) " >&6
3267 if test -n "$CC"; then
3268 ac_cv_prog_CC
="$CC" # Let the user override the test.
3271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3275 test -z "$as_dir" && as_dir
=.
3276 for ac_exec_ext
in '' $ac_executable_extensions; do
3277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3279 ac_prog_rejected
=yes
3283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3290 if test $ac_prog_rejected = yes; then
3291 # We found a bogon in the path, so make sure we never use it.
3292 set dummy
$ac_cv_prog_CC
3294 if test $# != 0; then
3295 # We chose a different compiler from the bogus one.
3296 # However, it has the same basename, so the bogon will be chosen
3297 # first if we set CC to just the basename; use the full file name.
3299 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3305 if test -n "$CC"; then
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3307 $as_echo "$CC" >&6; }
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3310 $as_echo "no" >&6; }
3315 if test -z "$CC"; then
3316 if test -n "$ac_tool_prefix"; then
3317 for ac_prog
in cl.exe
3319 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3320 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3322 $as_echo_n "checking for $ac_word... " >&6; }
3323 if test "${ac_cv_prog_CC+set}" = set; then :
3324 $as_echo_n "(cached) " >&6
3326 if test -n "$CC"; then
3327 ac_cv_prog_CC
="$CC" # Let the user override the test.
3329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3333 test -z "$as_dir" && as_dir
=.
3334 for ac_exec_ext
in '' $ac_executable_extensions; do
3335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3336 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3347 if test -n "$CC"; then
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3349 $as_echo "$CC" >&6; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3352 $as_echo "no" >&6; }
3356 test -n "$CC" && break
3359 if test -z "$CC"; then
3361 for ac_prog
in cl.exe
3363 # Extract the first word of "$ac_prog", so it can be a program name with args.
3364 set dummy
$ac_prog; ac_word
=$2
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3366 $as_echo_n "checking for $ac_word... " >&6; }
3367 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3368 $as_echo_n "(cached) " >&6
3370 if test -n "$ac_ct_CC"; then
3371 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir
=.
3378 for ac_exec_ext
in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_ac_ct_CC
="$ac_prog"
3381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3391 if test -n "$ac_ct_CC"; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3393 $as_echo "$ac_ct_CC" >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3400 test -n "$ac_ct_CC" && break
3403 if test "x$ac_ct_CC" = x
; then
3406 case $cross_compiling:$ac_tool_warned in
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3410 ac_tool_warned
=yes ;;
3419 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3421 as_fn_error
"no acceptable C compiler found in \$PATH
3422 See \`config.log' for more details." "$LINENO" 5; }
3424 # Provide some information about the compiler.
3425 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3428 for ac_option
in --version -v -V -qversion; do
3429 { { ac_try
="$ac_compiler $ac_option >&5"
3431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3432 *) ac_try_echo=$ac_try;;
3434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3435 $as_echo "$ac_try_echo"; } >&5
3436 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3438 if test -s conftest.err; then
3440 ... rest of stderr output deleted ...
3441 10q' conftest.err >conftest.er1
3442 cat conftest.er1 >&5
3443 rm -f conftest.er1 conftest.err
3445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3446 test $ac_status = 0; }
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3462 (eval $ac_link) 2>&5
3464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3465 test $ac_status = 0; }; then :
3470 if test x$gcc_no_link = xyes; then
3471 # Setting cross_compile will disable run tests; it will
3472 # also disable AC_CHECK_FILE but that's generally
3473 # correct if we can't link.
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3488 ac_clean_files_save=$ac_clean_files
3489 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3490 # Try to create an executable without -o first, disregard a.out.
3491 # It will help us diagnose broken compilers, and finding out an intuition
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3494 $as_echo_n "checking for C compiler default output file name... " >&6; }
3495 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3497 # The possible output files:
3498 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3501 for ac_file in $ac_files
3504 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3505 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3510 if { { ac_try="$ac_link_default"
3512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3513 *) ac_try_echo
=$ac_try;;
3515 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3516 $as_echo "$ac_try_echo"; } >&5
3517 (eval "$ac_link_default") 2>&5
3519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3520 test $ac_status = 0; }; then :
3521 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3522 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3523 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3524 # so that the user can short-circuit this test for compilers unknown to
3526 for ac_file
in $ac_files ''
3528 test -f "$ac_file" ||
continue
3530 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3533 # We found the default executable, but exeext='' is most
3537 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3539 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3541 # We set ac_cv_exeext here because the later test for it is not
3542 # safe: cross compilers may not add the suffix if given an `-o'
3543 # argument, so we may need to know it at that point already.
3544 # Even if this section looks crufty: it has the advantage of
3551 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3557 $as_echo "$ac_file" >&6; }
3558 if test -z "$ac_file"; then :
3559 $as_echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.
$ac_ext >&5
3562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564 { as_fn_set_status
77
3565 as_fn_error
"C compiler cannot create executables
3566 See \`config.log' for more details." "$LINENO" 5; }; }
3568 ac_exeext
=$ac_cv_exeext
3570 # Check that the compiler produces executables we can run. If not, either
3571 # the compiler is broken, or we cross compile.
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3573 $as_echo_n "checking whether the C compiler works... " >&6; }
3574 # If not cross compiling, check that we can run a simple program.
3575 if test "$cross_compiling" != yes; then
3576 if { ac_try
='./$ac_file'
3577 { { case "(($ac_try" in
3578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3579 *) ac_try_echo=$ac_try;;
3581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3582 $as_echo "$ac_try_echo"; } >&5
3583 (eval "$ac_try") 2>&5
3585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3586 test $ac_status = 0; }; }; then
3589 if test "$cross_compiling" = maybe; then
3592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3594 as_fn_error "cannot run C compiled programs.
3595 If you meant to cross compile
, use \
`--host'.
3596 See \`config.log
' for more details." "$LINENO" 5; }
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3601 $as_echo "yes" >&6; }
3603 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3604 ac_clean_files=$ac_clean_files_save
3605 # Check that the compiler produces executables we can run. If not, either
3606 # the compiler is broken, or we cross compile.
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3608 $as_echo_n "checking whether we are cross compiling... " >&6; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3610 $as_echo "$cross_compiling" >&6; }
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3613 $as_echo_n "checking for suffix of executables... " >&6; }
3614 if { { ac_try="$ac_link"
3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3620 $as_echo "$ac_try_echo"; } >&5
3621 (eval "$ac_link") 2>&5
3623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3624 test $ac_status = 0; }; then :
3625 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3626 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3627 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3629 for ac_file
in conftest.exe conftest conftest.
*; do
3630 test -f "$ac_file" ||
continue
3632 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3633 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3639 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3641 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3642 See \`config.log' for more details." "$LINENO" 5; }
3644 rm -f conftest
$ac_cv_exeext
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3646 $as_echo "$ac_cv_exeext" >&6; }
3648 rm -f conftest.
$ac_ext
3649 EXEEXT
=$ac_cv_exeext
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3653 $as_echo_n "checking for suffix of object files... " >&6; }
3654 if test "${ac_cv_objext+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h. */
3668 rm -f conftest.o conftest.obj
3669 if { { ac_try
="$ac_compile"
3671 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3672 *) ac_try_echo=$ac_try;;
3674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3675 $as_echo "$ac_try_echo"; } >&5
3676 (eval "$ac_compile") 2>&5
3678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3679 test $ac_status = 0; }; then :
3680 for ac_file in conftest.o conftest.obj conftest.*; do
3681 test -f "$ac_file" || continue;
3683 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3684 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3689 $as_echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.$ac_ext >&5
3692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3694 as_fn_error "cannot compute suffix of object files
: cannot compile
3695 See \
`config.log' for more details." "$LINENO" 5; }
3697 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3700 $as_echo "$ac_cv_objext" >&6; }
3701 OBJEXT=$ac_cv_objext
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3704 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3705 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3706 $as_echo_n "(cached) " >&6
3708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3709 /* end confdefs.h. */
3722 if ac_fn_c_try_compile "$LINENO"; then :
3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3728 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3732 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3733 if test $ac_compiler_gnu = yes; then
3738 ac_test_CFLAGS=${CFLAGS+set}
3739 ac_save_CFLAGS=$CFLAGS
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3741 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3742 if test "${ac_cv_prog_cc_g+set}" = set; then :
3743 $as_echo_n "(cached) " >&6
3745 ac_save_c_werror_flag=$ac_c_werror_flag
3746 ac_c_werror_flag=yes
3749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3760 if ac_fn_c_try_compile "$LINENO"; then :
3764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765 /* end confdefs.h. */
3775 if ac_fn_c_try_compile "$LINENO"; then :
3778 ac_c_werror_flag=$ac_save_c_werror_flag
3780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3781 /* end confdefs.h. */
3791 if ac_fn_c_try_compile "$LINENO"; then :
3794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3799 ac_c_werror_flag=$ac_save_c_werror_flag
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3802 $as_echo "$ac_cv_prog_cc_g" >&6; }
3803 if test "$ac_test_CFLAGS" = set; then
3804 CFLAGS=$ac_save_CFLAGS
3805 elif test $ac_cv_prog_cc_g = yes; then
3806 if test "$GCC" = yes; then
3812 if test "$GCC" = yes; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3819 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3820 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3821 $as_echo_n "(cached) " >&6
3823 ac_cv_prog_cc_c89=no
3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */
3829 #include <sys/types.h>
3830 #include <sys/stat.h>
3831 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3832 struct buf { int x; };
3833 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3834 static char *e (p, i)
3840 static char *f (char * (*g) (char **, int), char **p, ...)
3845 s = g (p, va_arg (v,int));
3850 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3851 function prototypes and stuff, but not '\xHH' hex character constants.
3852 These don't provoke an error unfortunately, instead are silently treated
3853 as 'x'. The following induces an error, until -std is added to get
3854 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3855 array size at least. It's necessary to write '\x00'==0 to get something
3856 that's true only with -std. */
3857 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3859 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3860 inside strings and character constants. */
3862 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3864 int test (int i, double x);
3865 struct s1 {int (*f) (int a);};
3866 struct s2 {int (*f) (double a);};
3867 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3873 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3878 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3879 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3881 CC="$ac_save_CC $ac_arg"
3882 if ac_fn_c_try_compile "$LINENO"; then :
3883 ac_cv_prog_cc_c89=$ac_arg
3885 rm -f core conftest.err conftest.$ac_objext
3886 test "x$ac_cv_prog_cc_c89" != "xno" && break
3888 rm -f conftest.$ac_ext
3893 case "x$ac_cv_prog_cc_c89" in
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3896 $as_echo "none needed" >&6; } ;;
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3899 $as_echo "unsupported" >&6; } ;;
3901 CC="$CC $ac_cv_prog_cc_c89"
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3903 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3905 if test "x$ac_cv_prog_cc_c89" != xno; then :
3910 ac_cpp='$CPP $CPPFLAGS'
3911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3916 ac_cpp='$CPP $CPPFLAGS'
3917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3921 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3922 # On Suns, sometimes $CPP names a directory.
3923 if test -n "$CPP" && test -d "$CPP"; then
3926 if test -z "$CPP"; then
3927 if test "${ac_cv_prog_CPP+set}" = set; then :
3928 $as_echo_n "(cached) " >&6
3930 # Double quotes because CPP needs to be expanded
3931 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3934 for ac_c_preproc_warn_flag in '' yes
3936 # Use a header file that comes with gcc, so configuring glibc
3937 # with a fresh cross-compiler works.
3938 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3939 # <limits.h> exists even on freestanding compilers.
3940 # On the NeXT, cc -E runs the code through the compiler's parser,
3941 # not just through cpp. "Syntax error" is here to catch this case.
3942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3943 /* end confdefs.h. */
3945 # include <limits.h>
3947 # include <assert.h>
3951 if ac_fn_c_try_cpp "$LINENO"; then :
3954 # Broken: fails on valid input.
3957 rm -f conftest.err conftest.$ac_ext
3959 # OK, works on sane cases. Now check whether nonexistent headers
3960 # can be detected and how.
3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3963 #include <ac_nonexistent.h>
3965 if ac_fn_c_try_cpp "$LINENO"; then :
3966 # Broken: success on invalid input.
3969 # Passes both tests.
3973 rm -f conftest.err conftest.$ac_ext
3976 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3977 rm -f conftest.err conftest.
$ac_ext
3978 if $ac_preproc_ok; then :
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3991 $as_echo "$CPP" >&6; }
3993 for ac_c_preproc_warn_flag
in '' yes
3995 # Use a header file that comes with gcc, so configuring glibc
3996 # with a fresh cross-compiler works.
3997 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3998 # <limits.h> exists even on freestanding compilers.
3999 # On the NeXT, cc -E runs the code through the compiler's parser,
4000 # not just through cpp. "Syntax error" is here to catch this case.
4001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4004 # include <limits.h>
4006 # include <assert.h>
4010 if ac_fn_c_try_cpp
"$LINENO"; then :
4013 # Broken: fails on valid input.
4016 rm -f conftest.err conftest.
$ac_ext
4018 # OK, works on sane cases. Now check whether nonexistent headers
4019 # can be detected and how.
4020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4022 #include <ac_nonexistent.h>
4024 if ac_fn_c_try_cpp
"$LINENO"; then :
4025 # Broken: success on invalid input.
4028 # Passes both tests.
4032 rm -f conftest.err conftest.
$ac_ext
4035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4036 rm -f conftest.err conftest.
$ac_ext
4037 if $ac_preproc_ok; then :
4040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4043 See \`config.log' for more details." "$LINENO" 5; }
4047 ac_cpp
='$CPP $CPPFLAGS'
4048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4053 ac_c_preproc_warn_flag
=yes
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 double" >&5
4062 $as_echo_n "checking size of double... " >&6; }
4063 if test "${ac_cv_sizeof_double+set}" = set; then :
4064 $as_echo_n "(cached) " >&6
4066 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
4069 if test "$ac_cv_type_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 (double)
4074 See \`config.log' for more details." "$LINENO" 5; }; }
4076 ac_cv_sizeof_double
=0
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
4082 $as_echo "$ac_cv_sizeof_double" >&6; }
4086 cat >>confdefs.h
<<_ACEOF
4087 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
4091 # The cast to long int works around a bug in the HP C Compiler
4092 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4093 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4094 # This bug is HP SR number 8606223364.
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
4096 $as_echo_n "checking size of long double... " >&6; }
4097 if test "${ac_cv_sizeof_long_double+set}" = set; then :
4098 $as_echo_n "(cached) " >&6
4100 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
4103 if test "$ac_cv_type_long_double" = yes; then
4104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4106 { as_fn_set_status
77
4107 as_fn_error
"cannot compute sizeof (long double)
4108 See \`config.log' for more details." "$LINENO" 5; }; }
4110 ac_cv_sizeof_long_double
=0
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
4116 $as_echo "$ac_cv_sizeof_long_double" >&6; }
4120 cat >>confdefs.h
<<_ACEOF
4121 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
4125 as_fn_arith
$ac_cv_sizeof_double \
* 8 && double_type_size
=$as_val
4126 as_fn_arith
$ac_cv_sizeof_long_double \
* 8 && long_double_type_size
=$as_val
4131 for ac_header
in inttypes.h stdint.h stdlib.h ftw.h \
4132 unistd.h sys
/stat.h sys
/types.h \
4133 string.h
strings.h memory.h
4135 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4136 ac_fn_c_check_header_preproc
"$LINENO" "$ac_header" "$as_ac_Header"
4137 eval as_val
=\$
$as_ac_Header
4138 if test "x$as_val" = x
""yes; then :
4139 cat >>confdefs.h
<<_ACEOF
4140 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4147 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4148 if test "${ac_cv_path_GREP+set}" = set; then :
4149 $as_echo_n "(cached) " >&6
4151 if test -z "$GREP"; then
4152 ac_path_GREP_found
=false
4153 # Loop through the user's path and test for each of PROGNAME-LIST
4154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4155 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4158 test -z "$as_dir" && as_dir
=.
4159 for ac_prog
in grep ggrep
; do
4160 for ac_exec_ext
in '' $ac_executable_extensions; do
4161 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4162 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4163 # Check for GNU ac_path_GREP and select it if it is found.
4164 # Check for GNU $ac_path_GREP
4165 case `"$ac_path_GREP" --version 2>&1` in
4167 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4170 $as_echo_n 0123456789 >"conftest.in"
4173 cat "conftest.in" "conftest.in" >"conftest.tmp"
4174 mv "conftest.tmp" "conftest.in"
4175 cp "conftest.in" "conftest.nl"
4176 $as_echo 'GREP' >> "conftest.nl"
4177 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4178 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4179 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4180 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4181 # Best one so far, save it but keep looking for a better one
4182 ac_cv_path_GREP
="$ac_path_GREP"
4183 ac_path_GREP_max
=$ac_count
4185 # 10*(2^10) chars as input seems more than enough
4186 test $ac_count -gt 10 && break
4188 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4191 $ac_path_GREP_found && break 3
4196 if test -z "$ac_cv_path_GREP"; then
4197 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4200 ac_cv_path_GREP
=$GREP
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4205 $as_echo "$ac_cv_path_GREP" >&6; }
4206 GREP
="$ac_cv_path_GREP"
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4210 $as_echo_n "checking for egrep... " >&6; }
4211 if test "${ac_cv_path_EGREP+set}" = set; then :
4212 $as_echo_n "(cached) " >&6
4214 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4215 then ac_cv_path_EGREP
="$GREP -E"
4217 if test -z "$EGREP"; then
4218 ac_path_EGREP_found
=false
4219 # Loop through the user's path and test for each of PROGNAME-LIST
4220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4221 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4224 test -z "$as_dir" && as_dir
=.
4225 for ac_prog
in egrep; do
4226 for ac_exec_ext
in '' $ac_executable_extensions; do
4227 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4228 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4229 # Check for GNU ac_path_EGREP and select it if it is found.
4230 # Check for GNU $ac_path_EGREP
4231 case `"$ac_path_EGREP" --version 2>&1` in
4233 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4236 $as_echo_n 0123456789 >"conftest.in"
4239 cat "conftest.in" "conftest.in" >"conftest.tmp"
4240 mv "conftest.tmp" "conftest.in"
4241 cp "conftest.in" "conftest.nl"
4242 $as_echo 'EGREP' >> "conftest.nl"
4243 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4244 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4245 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4246 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4247 # Best one so far, save it but keep looking for a better one
4248 ac_cv_path_EGREP
="$ac_path_EGREP"
4249 ac_path_EGREP_max
=$ac_count
4251 # 10*(2^10) chars as input seems more than enough
4252 test $ac_count -gt 10 && break
4254 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4257 $ac_path_EGREP_found && break 3
4262 if test -z "$ac_cv_path_EGREP"; then
4263 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4266 ac_cv_path_EGREP
=$EGREP
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4272 $as_echo "$ac_cv_path_EGREP" >&6; }
4273 EGREP
="$ac_cv_path_EGREP"
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4277 $as_echo_n "checking for ANSI C header files... " >&6; }
4278 if test "${ac_cv_header_stdc+set}" = set; then :
4279 $as_echo_n "(cached) " >&6
4281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4296 if ac_fn_c_try_compile
"$LINENO"; then :
4297 ac_cv_header_stdc
=yes
4299 ac_cv_header_stdc
=no
4301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4303 if test $ac_cv_header_stdc = yes; then
4304 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4311 $EGREP "memchr" >/dev
/null
2>&1; then :
4314 ac_cv_header_stdc
=no
4320 if test $ac_cv_header_stdc = yes; then
4321 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4323 /* end confdefs.h. */
4327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4328 $EGREP "free" >/dev
/null
2>&1; then :
4331 ac_cv_header_stdc
=no
4337 if test $ac_cv_header_stdc = yes; then
4338 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4339 if test "$cross_compiling" = yes; then :
4342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4343 /* end confdefs.h. */
4346 #if ((' ' & 0x0FF) == 0x020)
4347 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4348 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4350 # define ISLOWER(c) \
4351 (('a' <= (c) && (c) <= 'i') \
4352 || ('j' <= (c) && (c) <= 'r') \
4353 || ('s' <= (c) && (c) <= 'z'))
4354 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4357 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4362 for (i = 0; i < 256; i++)
4363 if (XOR (islower (i), ISLOWER (i))
4364 || toupper (i) != TOUPPER (i))
4369 if ac_fn_c_try_run
"$LINENO"; then :
4372 ac_cv_header_stdc
=no
4374 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4375 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4381 $as_echo "$ac_cv_header_stdc" >&6; }
4382 if test $ac_cv_header_stdc = yes; then
4384 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4389 # Check for decimal float support.
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
4391 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
4392 if test "${libgcc_cv_dfp+set}" = set; then :
4393 $as_echo_n "(cached) " >&6
4395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4396 /* end confdefs.h. */
4406 FE_INVALID|FE_DIVBYZERO|FE_OVERFLOW|FE_UNDERFLOW|FE_INEXACT;
4412 if ac_fn_c_try_compile
"$LINENO"; then :
4417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
4420 $as_echo "$libgcc_cv_dfp" >&6; }
4421 decimal_float
=$libgcc_cv_dfp
4425 # Check whether --enable-decimal-float was given.
4426 if test "${enable_decimal_float+set}" = set; then :
4427 enableval
=$enable_decimal_float;
4428 case $enable_decimal_float in
4429 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4430 *) as_fn_error
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4431 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4437 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4438 i?
86*-*-elfiamcu | i?
86*-*-gnu* | \
4439 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4440 i?
86*-*-cygwin* | x86_64
*-*-cygwin*)
4441 enable_decimal_float
=yes
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4445 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4446 enable_decimal_float
=no
4453 # x86's use BID format instead of DPD
4454 case x
$enable_decimal_float in
4457 i?
86*-*-* | x86_64
*-*-*)
4458 enable_decimal_float
=bid
4461 enable_decimal_float
=dpd
4464 default_decimal_float
=$enable_decimal_float
4467 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4468 # dependency on libdecnumber.
4469 default_decimal_float
=dpd
4476 # Check for fixed-point support.
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
4478 $as_echo_n "checking whether fixed-point is supported... " >&6; }
4479 if test "${libgcc_cv_fixed_point+set}" = set; then :
4480 $as_echo_n "(cached) " >&6
4482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4483 /* end confdefs.h. */
4486 if ac_fn_c_try_compile
"$LINENO"; then :
4487 libgcc_cv_fixed_point
=yes
4489 libgcc_cv_fixed_point
=no
4491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
4494 $as_echo "$libgcc_cv_fixed_point" >&6; }
4495 fixed_point
=$libgcc_cv_fixed_point
4498 # For platforms with the unwind ABI which includes an unwind library,
4499 # libunwind, we can choose to use the system libunwind.
4500 # config.gcc also contains tests of with_system_libunwind.
4503 # Check whether --with-system-libunwind was given.
4504 if test "${with_system_libunwind+set}" = set; then :
4505 withval
=$with_system_libunwind;
4508 # If system-libunwind was not specifically set, pick a default setting.
4509 if test x
$with_system_libunwind = x
; then
4511 ia64-
*-hpux*) with_system_libunwind
=yes ;;
4512 *) with_system_libunwind
=no
;;
4515 # Based on system-libunwind and target, do we have ipinfo?
4516 if test x
$with_system_libunwind = xyes
; then
4518 ia64-
*-*) have_unwind_getipinfo
=no
;;
4519 *) have_unwind_getipinfo
=yes ;;
4522 # Darwin before version 9 does not have _Unwind_GetIPInfo.
4525 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
4526 *) have_unwind_getipinfo
=yes ;;
4531 if test x
$have_unwind_getipinfo = xyes
; then
4533 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
4538 # Check if the compiler is configured for setjmp/longjmp exceptions.
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler is configured for setjmp/longjmp exceptions" >&5
4540 $as_echo_n "checking whether the compiler is configured for setjmp/longjmp exceptions... " >&6; }
4541 if test "${ac_cv_sjlj_exceptions+set}" = set; then :
4542 $as_echo_n "(cached) " >&6
4544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4546 #ifdef __USING_SJLJ_EXCEPTIONS__
4557 if ac_fn_c_try_compile
"$LINENO"; then :
4558 ac_cv_sjlj_exceptions
=no
4560 ac_cv_sjlj_exceptions
=yes
4562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sjlj_exceptions" >&5
4565 $as_echo "$ac_cv_sjlj_exceptions" >&6; }
4567 # Check whether --enable-explicit-exception-frame-registration was given.
4568 if test "${enable_explicit_exception_frame_registration+set}" = set; then :
4569 enableval
=$enable_explicit_exception_frame_registration;
4570 force_explicit_eh_registry
=
4571 if test "$enable_explicit_exception_frame_registration" = yes; then
4572 if test $ac_cv_sjlj_exceptions = yes; then
4573 as_fn_error
"Can't --enable-explicit-exception-frame-registration
4574 with setjmp/longjmp exceptions" "$LINENO" 5
4576 force_explicit_eh_registry
=-DUSE_EH_FRAME_REGISTRY_ALWAYS
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4584 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4585 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4586 $as_echo_n "(cached) " >&6
4588 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4589 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4590 acl_cv_prog_gnu_ld
=yes
4592 acl_cv_prog_gnu_ld
=no
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4596 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4597 with_gnu_ld
=$acl_cv_prog_gnu_ld
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
4601 $as_echo_n "checking for thread model used by GCC... " >&6; }
4602 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
4604 $as_echo "$target_thread_file" >&6; }
4606 # Check for assembler CFI support.
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
4608 $as_echo_n "checking whether assembler supports CFI directives... " >&6; }
4609 if test "${libgcc_cv_cfi+set}" = set; then :
4610 $as_echo_n "(cached) " >&6
4612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4617 .cfi_personality 0, symbol\n\
4620 if ac_fn_c_try_compile
"$LINENO"; then :
4625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
4628 $as_echo "$libgcc_cv_cfi" >&6; }
4630 # Check 32bit or 64bit. In the case of MIPS, this really determines the
4631 # word size rather than the address size.
4632 cat > conftest.c
<<EOF
4633 #if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) \
4634 || defined(__mips64)
4640 eval `${CC-cc} -E conftest.c | grep host_address=`
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target is hard-float" >&5
4646 $as_echo_n "checking whether the target is hard-float... " >&6; }
4647 if test "${libgcc_cv_mips_hard_float+set}" = set; then :
4648 $as_echo_n "(cached) " >&6
4650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4651 /* end confdefs.h. */
4652 #ifndef __mips_hard_float
4656 if ac_fn_c_try_compile
"$LINENO"; then :
4657 libgcc_cv_mips_hard_float
=yes
4659 libgcc_cv_mips_hard_float
=no
4661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_mips_hard_float" >&5
4664 $as_echo "$libgcc_cv_mips_hard_float" >&6; }
4669 # Check for system-provided CRTs on Solaris 11.x and Solaris 12.
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system-provided CRTs on Solaris" >&5
4671 $as_echo_n "checking system-provided CRTs on Solaris... " >&6; }
4672 if test "${libgcc_cv_solaris_crts+set}" = set; then :
4673 $as_echo_n "(cached) " >&6
4675 libgcc_cv_solaris_crts
=no
4676 libgcc_sysroot
="`${CC} -print-sysroot`"
4677 libgcc_libdir
="$libgcc_sysroot/usr/lib"
4678 # At the time they were added, gcrt1.o became a symlink for backwards
4679 # compatibility on x86, while crt1.o was added on sparc, so check for that.
4681 i?
86-*-solaris2* | x86_64-
*-solaris2*)
4682 if test -h "$libgcc_libdir/gcrt1.o"; then libgcc_cv_solaris_crts
=yes; fi
4685 if test -f "$libgcc_libdir/crt1.o"; then libgcc_cv_solaris_crts
=yes; fi
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_solaris_crts" >&5
4690 $as_echo "$libgcc_cv_solaris_crts" >&6; }
4691 if test $libgcc_cv_solaris_crts = yes; then
4693 $as_echo "#define HAVE_SOLARIS_CRTS 1" >>confdefs.h
4699 # Determine the version of glibc, if any, used on the target.
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target glibc version" >&5
4701 $as_echo_n "checking for target glibc version... " >&6; }
4703 # Check whether --with-glibc-version was given.
4704 if test "${with_glibc_version+set}" = set; then :
4705 withval
=$with_glibc_version;
4706 if echo "$with_glibc_version" |
grep '^[0-9][0-9]*\.[0-9][0-9]*$'; then
4707 glibc_version_major
=`echo "$with_glibc_version" | sed -e 's/\..*//'`
4708 glibc_version_minor
=`echo "$with_glibc_version" | sed -e 's/.*\.//'`
4710 as_fn_error
"option --with-glibc-version requires a version number M.N" "$LINENO" 5
4714 if ac_fn_c_compute_int
"$LINENO" "__GLIBC__" "glibc_version_major" "#include <features.h>"; then :
4717 glibc_version_major
=0
4720 if ac_fn_c_compute_int
"$LINENO" "__GLIBC_MINOR__" "glibc_version_minor" "#include <features.h>"; then :
4723 glibc_version_minor
=0
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibc_version_major.$glibc_version_minor" >&5
4729 $as_echo "$glibc_version_major.$glibc_version_minor" >&6; }
4731 # Determine floating-point type for powerpc*-*-linux*.
4732 # Single-precision-only FPRs are not a supported configuration for
4733 # this target, so are not allowed for in this test.
4736 cat > conftest.c
<<EOF
4737 #ifdef __powerpc64__
4739 #elif defined _SOFT_FLOAT
4741 #elif defined _SOFT_DOUBLE
4743 #elif defined __NO_FPRS__
4749 eval `${CC-cc} -E conftest.c | grep ppc_fp_type=`
4751 # glibc 2.19 and later provide all the soft-fp functions, with proper
4752 # interactions with <fenv.h> exception and rounding mode handling, so
4753 # make libgcc's versions into compat symbols if a recent enough glibc
4754 # version is being used.
4756 case ${ppc_fp_type} in
4758 if test $glibc_version_major -gt 2 \
4759 ||
( test $glibc_version_major -eq 2 \
4760 && test $glibc_version_minor -ge 19 ); then
4761 ppc_fp_compat
="t-softfp-compat"
4769 # At present, we cannot turn -mfloat128 on via #pragma GCC target,
4770 # so just check if we have VSX (ISA 2.06) support to build the
4771 # software libraries, and whether the assembler can handle xsaddqp
4772 # for hardware support.
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 2.06 to build __float128 libraries" >&5
4775 $as_echo_n "checking for PowerPC ISA 2.06 to build __float128 libraries... " >&6; }
4776 if test "${libgcc_cv_powerpc_float128+set}" = set; then :
4777 $as_echo_n "(cached) " >&6
4779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4781 #pragma GCC target ("vsx")
4782 vector double dadd (vector double a, vector double b) { return a + b; }
4784 if ac_fn_c_try_compile
"$LINENO"; then :
4785 libgcc_cv_powerpc_float128
=yes
4787 libgcc_cv_powerpc_float128
=no
4789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_float128" >&5
4792 $as_echo "$libgcc_cv_powerpc_float128" >&6; }
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 3.0 to build hardware __float128 libraries" >&5
4795 $as_echo_n "checking for PowerPC ISA 3.0 to build hardware __float128 libraries... " >&6; }
4796 if test "${libgcc_cv_powerpc_float128_hw+set}" = set; then :
4797 $as_echo_n "(cached) " >&6
4799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4801 #pragma GCC target ("vsx,power9-vector")
4802 #include <sys/auxv.h>
4804 #error "AT_PLATFORM is not defined"
4806 vector unsigned char (vector unsigned char a, vector unsigned char b)
4808 vector unsigned char ret;
4809 __asm__ ("xsaddqp %0,%1,%2" : "=v" (ret) : "v" (a), "v" (b));
4812 void *add_resolver (void) { return (void *) add; }
4813 __float128 add_ifunc (__float128, __float128)
4814 __attribute__ ((__ifunc__ ("add_resolver")));
4816 if ac_fn_c_try_compile
"$LINENO"; then :
4817 libgcc_cv_powerpc_float128_hw
=yes
4819 libgcc_cv_powerpc_float128_hw
=no
4821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_float128_hw" >&5
4824 $as_echo "$libgcc_cv_powerpc_float128_hw" >&6; }
4827 # Collect host-machine-specific information.
4828 .
${srcdir}/config.
host
4830 # Used for constructing correct paths for offload compilers.
4832 real_host_noncanonical
=${host_noncanonical}
4833 if test x
"$enable_as_accelerator_for" != x
; then
4834 accel_dir_suffix
=/accel
/${target_noncanonical}
4835 real_host_noncanonical
=${enable_as_accelerator_for}
4840 if test x
"$enable_offload_targets" != x
; then
4841 extra_parts
="${extra_parts} crtoffloadbegin.o crtoffloadend.o crtoffloadtable.o"
4844 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
4845 # This is after config.host so we can augment tmake_file.
4846 # Link with -nostartfiles -nodefaultlibs since neither are present while
4849 i?
86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
4850 cat > conftest.s
<<EOF
4851 .section .eh_frame,"a",@unwind
4853 .section .jcr,"aw",@progbits
4856 if { ac_try
='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
4857 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4861 test $ac_status = 0; }; }; then
4862 tmake_file
="${tmake_file} i386/t-crtstuff"
4867 # Check if xtensa target is configured for windowed ABI and thus needs to use
4868 # custom unwind code.
4869 # This is after config.host so we can augment tmake_file.
4872 cat > conftest.c
<<EOF
4873 #ifdef __XTENSA_CALL0_ABI__
4877 if { ac_try
='${CC-cc} -E -o conftest.i conftest.c 1>&5'
4878 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4882 test $ac_status = 0; }; }; then
4883 tmake_file
="${tmake_file} xtensa/t-windowed"
4888 # Check for visibility support. This is after config.host so that
4889 # we can check for asm_hidden_op.
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
4891 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
4892 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then :
4893 $as_echo_n "(cached) " >&6
4896 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
4897 libgcc_cv_hidden_visibility_attribute
=no
4898 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
4899 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4903 test $ac_status = 0; }; }; then
4904 if grep "\\$asm_hidden_op.*foo" conftest.s
>/dev
/null
; then
4905 libgcc_cv_hidden_visibility_attribute
=yes
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
4912 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
4914 if test $libgcc_cv_hidden_visibility_attribute = yes; then
4915 vis_hide
='-fvisibility=hidden -DHIDE_EXPORTS'
4921 # See if we have thread-local storage. We can only test assembler
4922 # since link-time and run-time tests require the newly built
4923 # gcc, which can't be used to build executable due to that libgcc
4924 # is yet to be built here.
4926 # Check whether --enable-tls was given.
4927 if test "${enable_tls+set}" = set; then :
4928 enableval
=$enable_tls;
4929 case "$enableval" in
4931 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
4940 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
4941 if test "${gcc_cv_have_cc_tls+set}" = set; then :
4942 $as_echo_n "(cached) " >&6
4945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4946 /* end confdefs.h. */
4947 __thread int a; int b; int main() { return a = b; }
4949 if ac_fn_c_try_compile
"$LINENO"; then :
4950 gcc_cv_have_cc_tls
=yes
4952 gcc_cv_have_cc_tls
=no
4954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
4958 $as_echo "$gcc_cv_have_cc_tls" >&6; }
4960 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
4961 set_have_cc_tls
="-DHAVE_CC_TLS"
4965 # See if we have emulated thread-local storage.
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
4968 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
4969 if test "${gcc_cv_use_emutls+set}" = set; then :
4970 $as_echo_n "(cached) " >&6
4973 gcc_cv_use_emutls
=no
4974 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
4975 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
4976 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4980 test $ac_status = 0; }; }; then
4981 if grep __emutls_get_address conftest.s
> /dev
/null
; then
4982 gcc_cv_use_emutls
=yes
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
4989 $as_echo "$gcc_cv_use_emutls" >&6; }
4990 if test "$gcc_cv_use_emutls" = "yes" ; then
4992 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
4996 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
4997 set_use_emutls
="-DUSE_EMUTLS"
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
5002 $as_echo_n "checking for init priority support... " >&6; }
5003 if test "${libgcc_cv_init_priority+set}" = set; then :
5004 $as_echo_n "(cached) " >&6
5007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5008 /* end confdefs.h. */
5013 void ip (void) __attribute__ ((constructor (1)));
5018 if ac_fn_c_try_compile
"$LINENO"; then :
5019 libgcc_cv_init_priority
=yes
5021 libgcc_cv_init_priority
=no
5023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_init_priority" >&5
5026 $as_echo "$libgcc_cv_init_priority" >&6; }
5027 if test $libgcc_cv_init_priority = yes; then
5029 $as_echo "#define HAVE_INIT_PRIORITY 1" >>confdefs.h
5033 # Conditionalize the sfp-machine.h header for this target machine.
5034 if test -z "${sfp_machine_header}"; then
5035 sfp_machine_header
=$cpu_type/sfp-machine.h
5036 if test -f ${srcdir}/config
/${sfp_machine_header}; then
5039 sfp_machine_header
=no-sfp-machine.h
5044 # Conditionalize the makefile for this target machine.
5046 for f
in ${tmake_file}
5048 if test -f ${srcdir}/config
/$f
5050 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
5053 tmake_file
="${tmake_file_}"
5056 # Likewise export definitions for libgcc_tm.h
5060 tm_file_
="${tm_file_} \$(srcdir)/config/$f"
5062 tm_file
="${tm_file_}"
5066 # Map from thread model to thread header.
5068 case $target_thread_file in
5069 aix
) thread_header
=config
/rs6000
/gthr-aix.h
;;
5070 dce
) thread_header
=config
/pa
/gthr-dce.h
;;
5071 lynx
) thread_header
=config
/gthr-lynx.h
;;
5072 mipssde
) thread_header
=config
/mips
/gthr-mipssde.h
;;
5073 posix
) thread_header
=gthr-posix.h
;;
5074 rtems
) thread_header
=config
/gthr-rtems.h
;;
5075 single
) thread_header
=gthr-single.h
;;
5076 tpf
) thread_header
=config
/s390
/gthr-tpf.h
;;
5077 vxworks
) thread_header
=config
/gthr-vxworks.h
;;
5078 win32
) thread_header
=config
/i386
/gthr-win32.h
;;
5083 # Substitute configuration variables
5087 ac_config_links
="$ac_config_links enable-execute-stack.c:$enable_execute_stack"
5089 ac_config_links
="$ac_config_links unwind.h:$unwind_header"
5091 ac_config_links
="$ac_config_links md-unwind-support.h:config/$md_unwind_header"
5093 ac_config_links
="$ac_config_links sfp-machine.h:config/$sfp_machine_header"
5095 ac_config_links
="$ac_config_links gthr-default.h:$thread_header"
5098 # We need multilib support.
5099 ac_config_files
="$ac_config_files Makefile"
5101 ac_config_commands
="$ac_config_commands default"
5103 cat >confcache
<<\_ACEOF
5104 # This file is a shell script that caches the results of configure
5105 # tests run on this system so they can be shared between configure
5106 # scripts and configure runs, see configure's option --config-cache.
5107 # It is not useful on other systems. If it contains results you don't
5108 # want to keep, you may remove or edit it.
5110 # config.status only pays attention to the cache file if you give it
5111 # the --recheck option to rerun configure.
5113 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5114 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5119 # The following way of writing the cache mishandles newlines in values,
5120 # but we know of no workaround that is simple, portable, and efficient.
5121 # So, we kill variables containing newlines.
5122 # Ultrix sh set writes to stderr and can't be redirected directly,
5123 # and sets the high bit in the cache file unless we assign to the vars.
5125 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5126 eval ac_val
=\$
$ac_var
5130 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5131 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5134 _ | IFS | as_nl
) ;; #(
5135 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5136 *) { eval $ac_var=; unset $ac_var;} ;;
5142 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5143 *${as_nl}ac_space
=\
*)
5144 # `set' does not quote correctly, so add quotes: double-quote
5145 # substitution turns \\\\ into \\, and sed turns \\ into \.
5148 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5151 # `set' quotes correctly as required by POSIX, so do not add quotes.
5152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5161 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5163 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5165 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5166 if test -w "$cache_file"; then
5167 test "x$cache_file" != "x/dev/null" &&
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5169 $as_echo "$as_me: updating cache $cache_file" >&6;}
5170 cat confcache
>$cache_file
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5173 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5178 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5179 # Let make expand exec_prefix.
5180 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5182 DEFS
=-DHAVE_CONFIG_H
5186 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5187 # 1. Remove the extension, and $U if already installed.
5188 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5189 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5190 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5191 # will be set to the directory where LIBOBJS objects are built.
5192 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5193 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5197 LTLIBOBJS
=$ac_ltlibobjs
5201 : ${CONFIG_STATUS=./config.status}
5203 ac_clean_files_save
=$ac_clean_files
5204 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5206 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5208 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5210 # Generated by $as_me.
5211 # Run this file to recreate the current configuration.
5212 # Compiler output produced by configure, useful for debugging
5213 # configure, is in config.log if it exists.
5219 SHELL=\${CONFIG_SHELL-$SHELL}
5222 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5223 ## -------------------- ##
5224 ## M4sh Initialization. ##
5225 ## -------------------- ##
5227 # Be more Bourne compatible
5228 DUALCASE
=1; export DUALCASE
# for MKS sh
5229 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5232 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5233 # is contrary to our usage. Disable this feature.
5234 alias -g '${1+"$@"}'='"$@"'
5235 setopt NO_GLOB_SUBST
5237 case `(set -o) 2>/dev/null` in #(
5249 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5250 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5251 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5252 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5253 # Prefer a ksh shell builtin over an external printf program on Solaris,
5254 # but without wasting forks for bash or zsh.
5255 if test -z "$BASH_VERSION$ZSH_VERSION" \
5256 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5257 as_echo='print
-r --'
5258 as_echo_n='print
-rn --'
5259 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5260 as_echo='printf %s
\n'
5261 as_echo_n='printf %s
'
5263 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5264 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5265 as_echo_n='/usr
/ucb
/echo -n'
5267 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5268 as_echo_n_body='eval
5272 expr "X$arg" : "X\\(.*\\)$as_nl";
5273 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5275 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5277 export as_echo_n_body
5278 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5281 as_echo='sh
-c $as_echo_body as_echo
'
5284 # The user is always right.
5285 if test "${PATH_SEPARATOR+set}" != set; then
5287 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5288 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5295 # We need space, tab and new line, in precisely that order. Quoting is
5296 # there to prevent editors from complaining about space-tab.
5297 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5298 # splitting by setting IFS to empty value.)
5301 # Find who we are. Look in the path if we contain no directory separator.
5303 *[\\/]* ) as_myself=$0 ;;
5304 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308 test -z "$as_dir" && as_dir=.
5309 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5315 # We did not find ourselves, most probably we were run as `sh COMMAND'
5316 # in which case we are not to be found in the path.
5317 if test "x$as_myself" = x
; then
5320 if test ! -f "$as_myself"; then
5321 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5325 # Unset variables that we do not need and which cause bugs (e.g. in
5326 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5327 # suppresses any "Segmentation fault" message there. '((' could
5328 # trigger a bug in pdksh 5.2.14.
5329 for as_var
in BASH_ENV ENV MAIL MAILPATH
5330 do eval test x\
${$as_var+set} = xset \
5331 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5344 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5347 # as_fn_error ERROR [LINENO LOG_FD]
5348 # ---------------------------------
5349 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5350 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5351 # script with status $?, using 1 if that was 0.
5354 as_status
=$?
; test $as_status -eq 0 && as_status
=1
5356 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5357 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5359 $as_echo "$as_me: error: $1" >&2
5360 as_fn_exit
$as_status
5364 # as_fn_set_status STATUS
5365 # -----------------------
5366 # Set $? to STATUS, without forking.
5370 } # as_fn_set_status
5374 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5384 # Portably unset VAR.
5387 { eval $1=; unset $1;}
5389 as_unset
=as_fn_unset
5390 # as_fn_append VAR VALUE
5391 # ----------------------
5392 # Append the text in VALUE to the end of the definition contained in VAR. Take
5393 # advantage of any shell optimizations that allow amortized linear growth over
5394 # repeated appends, instead of the typical quadratic growth present in naive
5396 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5397 eval 'as_fn_append ()
5408 # as_fn_arith ARG...
5409 # ------------------
5410 # Perform arithmetic evaluation on the ARGs, and store the result in the
5411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5412 # must be portable across $(()) and expr.
5413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5414 eval 'as_fn_arith ()
5421 as_val
=`expr "$@" || test $? -eq 1`
5426 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5427 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5433 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5434 as_basename
=basename
5439 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5445 as_me
=`$as_basename -- "$0" ||
5446 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5447 X"$0" : 'X\(//\)$' \| \
5448 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5450 sed '/^.*\/\([^/][^/]*\)\/*$/{
5464 # Avoid depending upon Character Ranges.
5465 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5466 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5467 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5468 as_cr_digits
='0123456789'
5469 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5471 ECHO_C
= ECHO_N
= ECHO_T
=
5472 case `echo -n x` in #(((((
5474 case `echo 'xy\c'` in
5475 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5477 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5484 rm -f conf$$ conf$$.exe conf$$.
file
5485 if test -d conf$$.dir
; then
5486 rm -f conf$$.dir
/conf$$.
file
5489 mkdir conf$$.dir
2>/dev
/null
5491 if (echo >conf$$.
file) 2>/dev
/null
; then
5492 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5494 # ... but there are two gotchas:
5495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5497 # In both cases, we have to default to `cp -p'.
5498 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5508 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5509 rmdir conf$$.dir
2>/dev
/null
5514 # Create "$as_dir" as a directory, including parents if necessary.
5519 -*) as_dir
=.
/$as_dir;;
5521 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5525 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5526 *) as_qdir
=$as_dir;;
5528 as_dirs
="'$as_qdir' $as_dirs"
5529 as_dir
=`$as_dirname -- "$as_dir" ||
5530 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5531 X"$as_dir" : 'X\(//\)[^/]' \| \
5532 X"$as_dir" : 'X\(//\)$' \| \
5533 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5534 $as_echo X"$as_dir" |
5535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5552 test -d "$as_dir" && break
5554 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5555 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
5559 if mkdir
-p .
2>/dev
/null
; then
5560 as_mkdir_p
='mkdir -p "$as_dir"'
5562 test -d .
/-p && rmdir .
/-p
5566 if test -x / >/dev
/null
2>&1; then
5569 if ls -dL / >/dev
/null
2>&1; then
5576 if test -d "$1"; then
5582 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5583 ???[sx]*):;;*)false;;esac;fi
5587 as_executable_p
=$as_test_x
5589 # Sed expression to map a string onto a valid CPP name.
5590 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5592 # Sed expression to map a string onto a valid variable name.
5593 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5597 ## ----------------------------------- ##
5598 ## Main body of $CONFIG_STATUS script. ##
5599 ## ----------------------------------- ##
5601 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5604 # Save the log message, to keep $0 and so on meaningful, and to
5605 # report actual input values of CONFIG_FILES etc. instead of their
5606 # values after options handling.
5608 This file was extended by GNU C Runtime Library $as_me 1.0, which was
5609 generated by GNU Autoconf 2.64. Invocation command line was
5611 CONFIG_FILES = $CONFIG_FILES
5612 CONFIG_HEADERS = $CONFIG_HEADERS
5613 CONFIG_LINKS = $CONFIG_LINKS
5614 CONFIG_COMMANDS = $CONFIG_COMMANDS
5617 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5622 case $ac_config_files in *"
5623 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5626 case $ac_config_headers in *"
5627 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5632 # Files that config.status was made for.
5633 config_files="$ac_config_files"
5634 config_headers="$ac_config_headers"
5635 config_links="$ac_config_links"
5636 config_commands="$ac_config_commands"
5640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5642 \`$as_me' instantiates files and other configuration actions
5643 from templates according to the current configuration. Unless the files
5644 and actions are specified as TAGs, all are instantiated by default.
5646 Usage: $0 [OPTION]... [TAG]...
5648 -h, --help print this help, then exit
5649 -V, --version print version number and configuration settings, then exit
5650 -q, --quiet, --silent
5651 do not print progress messages
5652 -d, --debug don't remove temporary files
5653 --recheck update $as_me by reconfiguring in the same conditions
5654 --file=FILE[:TEMPLATE]
5655 instantiate the configuration file FILE
5656 --header=FILE[:TEMPLATE]
5657 instantiate the configuration header FILE
5659 Configuration files:
5662 Configuration headers:
5665 Configuration links:
5668 Configuration commands:
5671 Report bugs to the package provider.
5672 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
5673 General help using GNU software: <http://www.gnu.org/gethelp/>."
5676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5678 GNU C Runtime Library config.status 1.0
5679 configured by $0, generated by GNU Autoconf 2.64,
5680 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5682 Copyright (C) 2009 Free Software Foundation, Inc.
5683 This config.status script is free software; the Free Software Foundation
5684 gives unlimited permission to copy, distribute and modify it."
5690 test -n "\$AWK" || AWK=awk
5693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5694 # The default lists apply if the user does not specify any file.
5700 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5701 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5712 # Handling of the options.
5713 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5715 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5716 $as_echo "$ac_cs_version"; exit ;;
5717 --debug |
--debu |
--deb |
--de |
--d |
-d )
5719 --file |
--fil |
--fi |
--f )
5722 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5724 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5725 ac_need_defaults
=false
;;
5726 --header |
--heade |
--head |
--hea )
5729 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5731 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5732 ac_need_defaults
=false
;;
5734 # Conflict between --help and --header
5735 as_fn_error
"ambiguous option: \`$1'
5736 Try \`$0 --help' for more information.";;
5737 --help |
--hel |
-h )
5738 $as_echo "$ac_cs_usage"; exit ;;
5739 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5740 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5744 -*) as_fn_error
"unrecognized option: \`$1'
5745 Try \`$0 --help' for more information." ;;
5747 *) as_fn_append ac_config_targets
" $1"
5748 ac_need_defaults
=false
;;
5754 ac_configure_extra_args
=
5756 if $ac_cs_silent; then
5758 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5763 if \$ac_cs_recheck; then
5764 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5766 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5767 CONFIG_SHELL='$SHELL'
5773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5777 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5778 ## Running $as_me. ##
5784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5790 with_target_subdir=${with_target_subdir}
5791 with_multisubdir=${with_multisubdir}
5792 ac_configure_args="--enable-multilib ${ac_configure_args}"
5793 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
5794 libgcc_topdir=${libgcc_topdir}
5800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5802 # Handling of arguments.
5803 for ac_config_target
in $ac_config_targets
5805 case $ac_config_target in
5806 "auto-target.h") CONFIG_HEADERS
="$CONFIG_HEADERS auto-target.h:config.in" ;;
5807 "enable-execute-stack.c") CONFIG_LINKS
="$CONFIG_LINKS enable-execute-stack.c:$enable_execute_stack" ;;
5808 "unwind.h") CONFIG_LINKS
="$CONFIG_LINKS unwind.h:$unwind_header" ;;
5809 "md-unwind-support.h") CONFIG_LINKS
="$CONFIG_LINKS md-unwind-support.h:config/$md_unwind_header" ;;
5810 "sfp-machine.h") CONFIG_LINKS
="$CONFIG_LINKS sfp-machine.h:config/$sfp_machine_header" ;;
5811 "gthr-default.h") CONFIG_LINKS
="$CONFIG_LINKS gthr-default.h:$thread_header" ;;
5812 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5813 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
5815 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5820 # If the user did not use the arguments to specify the items to instantiate,
5821 # then the envvar interface is used. Set only those that are not.
5822 # We use the long form for the default assignment because of an extremely
5823 # bizarre bug on SunOS 4.1.3.
5824 if $ac_need_defaults; then
5825 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5826 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5827 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
5828 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5831 # Have a temporary directory for convenience. Make it in the build tree
5832 # simply because there is no reason against having it here, and in addition,
5833 # creating and moving files from /tmp can sometimes cause problems.
5834 # Hook for its removal unless debugging.
5835 # Note that there is a small window in which the directory will not be cleaned:
5836 # after its creation but before its name has been assigned to `$tmp'.
5840 trap 'exit_status=$?
5841 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5843 trap 'as_fn_exit 1' 1 2 13 15
5845 # Create a (secure) tmp directory for tmp files.
5848 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5849 test -n "$tmp" && test -d "$tmp"
5852 tmp
=.
/conf$$
-$RANDOM
5853 (umask 077 && mkdir
"$tmp")
5854 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
5856 # Set up the scripts for CONFIG_FILES section.
5857 # No need to generate them if there are no CONFIG_FILES.
5858 # This happens for instance with `./config.status config.h'.
5859 if test -n "$CONFIG_FILES"; then
5862 ac_cr
=`echo X | tr X '\015'`
5863 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5864 # But we know of no other shell where ac_cr would be empty at this
5865 # point, so we can use a bashism as a fallback.
5866 if test "x$ac_cr" = x
; then
5867 eval ac_cr
=\$
\'\\r
\'
5869 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5870 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5876 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5881 echo "cat >conf$$subs.awk <<_ACEOF" &&
5882 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5885 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5886 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5888 for ac_last_try in false false false false false :; do
5889 . ./conf$$subs.sh ||
5890 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5892 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5893 if test $ac_delim_n = $ac_delim_num; then
5895 elif $ac_last_try; then
5896 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5898 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5904 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
5908 s/^/S["/; s
/!.
*/"]=/
5918 s/\(.\{148\}\).*/\1/
5920 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5925 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5932 s/\(.\{148\}\).*/\1/
5934 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5938 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5943 ' <conf$$subs.awk | sed '
5948 ' >>$CONFIG_STATUS || ac_write_fail=1
5949 rm -f conf$$subs.awk
5950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5952 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
5953 for (key in S) S_is_set[key] = 1
5959 nfields = split(line, field, "@
")
5961 len = length(field[1])
5962 for (i = 2; i < nfields; i++) {
5964 keylen = length(key)
5965 if (S_is_set[key]) {
5967 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5968 len += length(value) + length(field[++i])
5979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5980 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5981 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5984 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
5985 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
5988 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5989 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
5990 # trailing colons and then remove the whole line if VPATH becomes empty
5991 # (actually we leave an empty line to preserve line numbers).
5992 if test "x
$srcdir" = x.; then
5993 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5997 s/^\([^=]*=[ ]*\):*/\1/
6003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6004 fi # test -n "$CONFIG_FILES"
6006 # Set up the scripts for CONFIG_HEADERS section.
6007 # No need to generate them if there are no CONFIG_HEADERS.
6008 # This happens for instance with `./config.status Makefile'.
6009 if test -n "$CONFIG_HEADERS"; then
6010 cat >"$tmp/defines.
awk" <<\_ACAWK ||
6014 # Transform confdefs.h into an awk script `defines.awk', embedded as
6015 # here-document in config.status, that substitutes the proper values into
6016 # config.h.in to produce config.h.
6018 # Create a delimiter string that does not exist in confdefs.h, to ease
6019 # handling of long lines.
6021 for ac_last_try in false false :; do
6022 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
6023 if test -z "$ac_t"; then
6025 elif $ac_last_try; then
6026 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
6028 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6032 # For the awk script, D is an array of macro values keyed by name,
6033 # likewise P contains macro parameters if any. Preserve backslash
6034 # newline sequences.
6036 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6038 s/.\{148\}/&'"$ac_delim"'/g
6041 s/^[ ]*#[ ]*define[ ][ ]*/ /
6048 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6050 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6054 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6055 D["\
1"]=" \
3\\\\\\n
"\\/p
6057 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6062 s/.\{148\}/&'"$ac_delim"'/g
6067 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6070 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6072 ' <confdefs.h | sed '
6073 s/'"$ac_delim"'/"\\\
6074 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6077 for (key in D) D_is_set[key] = 1
6080 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6082 split(line, arg, " ")
6083 if (arg[1] == "#") {
6087 defundef
= substr
(arg
[1], 2)
6090 split(mac1
, mac2
, "(") #)
6092 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6093 if (D_is_set
[macro
]) {
6094 # Preserve the white space surrounding the "#".
6095 print prefix
"define", macro P
[macro
] D
[macro
]
6098 # Replace #undef with comments. This is necessary, for example,
6099 # in the case of _POSIX_SOURCE, which is predefined and required
6100 # on some systems where configure will not decide to define it.
6101 if (defundef
== "undef") {
6102 print
"/*", prefix defundef
, macro
, "*/"
6110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6111 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
6112 fi # test -n "$CONFIG_HEADERS"
6115 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
6120 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6122 case $ac_mode$ac_tag in
6124 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6125 :[FH
]-) ac_tag
=-:-;;
6126 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6143 -) ac_f
="$tmp/stdin";;
6144 *) # Look for the file first in the build tree, then in the source tree
6145 # (if the path is not absolute). The absolute path cannot be DOS-style,
6146 # because $ac_f cannot contain `:'.
6150 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6152 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
6154 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6155 as_fn_append ac_file_inputs
" '$ac_f'"
6158 # Let's still pretend it is `configure' which instantiates (i.e., don't
6159 # use $as_me), people would be surprised to read:
6160 # /* config.h. Generated by config.status. */
6161 configure_input
='Generated from '`
6162 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6164 if test x
"$ac_file" != x-
; then
6165 configure_input
="$ac_file. $configure_input"
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6167 $as_echo "$as_me: creating $ac_file" >&6;}
6169 # Neutralize special characters interpreted by sed in replacement strings.
6170 case $configure_input in #(
6171 *\
&* |
*\|
* |
*\\* )
6172 ac_sed_conf_input
=`$as_echo "$configure_input" |
6173 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6174 *) ac_sed_conf_input
=$configure_input;;
6178 *:-:* |
*:-) cat >"$tmp/stdin" \
6179 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
6184 ac_dir
=`$as_dirname -- "$ac_file" ||
6185 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6186 X"$ac_file" : 'X\(//\)[^/]' \| \
6187 X"$ac_file" : 'X\(//\)$' \| \
6188 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6189 $as_echo X"$ac_file" |
6190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6207 as_dir
="$ac_dir"; as_fn_mkdir_p
6211 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6213 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6214 # A ".." for each directory in $ac_dir_suffix.
6215 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6216 case $ac_top_builddir_sub in
6217 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6218 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6221 ac_abs_top_builddir
=$ac_pwd
6222 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6223 # for backward compatibility:
6224 ac_top_builddir
=$ac_top_build_prefix
6227 .
) # We are building in place.
6229 ac_top_srcdir
=$ac_top_builddir_sub
6230 ac_abs_top_srcdir
=$ac_pwd ;;
6231 [\\/]* | ?
:[\\/]* ) # Absolute name.
6232 ac_srcdir
=$srcdir$ac_dir_suffix;
6233 ac_top_srcdir
=$srcdir
6234 ac_abs_top_srcdir
=$srcdir ;;
6236 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6237 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6238 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6240 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6250 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6251 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6256 # If the template does not know about datarootdir, expand it.
6257 # FIXME: This hack should be removed a few years after 2.60.
6258 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6269 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6270 *datarootdir
*) ac_datarootdir_seen
=yes;;
6271 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6273 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6276 ac_datarootdir_hack='
6277 s&@datadir@&$datadir&g
6278 s&@docdir@&$docdir&g
6279 s&@infodir@&$infodir&g
6280 s&@localedir@&$localedir&g
6281 s&@mandir@&$mandir&g
6282 s&\\\${datarootdir}&$datarootdir&g' ;;
6286 # Neutralize VPATH when `$srcdir' = `.'.
6287 # Shell code in configure.ac might set extrasub.
6288 # FIXME: do we really want to maintain this feature?
6289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6290 ac_sed_extra="$ac_vpsub
6293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6295 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6296 s|@configure_input@|
$ac_sed_conf_input|
;t t
6297 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6298 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6299 s
&@srcdir@
&$ac_srcdir&;t t
6300 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6301 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6302 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6303 s
&@builddir@
&$ac_builddir&;t t
6304 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6305 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6306 s
&@INSTALL@
&$ac_INSTALL&;t t
6307 $ac_datarootdir_hack
6309 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
6310 || as_fn_error "could not create
$ac_file" "$LINENO" 5
6312 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6313 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6314 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6316 which seems to be undefined. Please make sure it is defined." >&5
6317 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6318 which seems to be undefined. Please make sure it is defined." >&2;}
6322 -) cat "$tmp/out" && rm -f "$tmp/out";;
6323 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6325 || as_fn_error "could not create $ac_file" "$LINENO" 5
6331 if test x"$ac_file" != x-; then
6333 $as_echo "/* $configure_input */" \
6334 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6335 } >"$tmp/config.h" \
6336 || as_fn_error "could not create $ac_file" "$LINENO" 5
6337 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6339 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6342 mv "$tmp/config.h" "$ac_file" \
6343 || as_fn_error "could not create $ac_file" "$LINENO" 5
6346 $as_echo "/* $configure_input */" \
6347 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6348 || as_fn_error "could not create -" "$LINENO" 5
6356 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
6359 # Prefer the file from the source tree if names are identical.
6360 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
6361 ac_source=$srcdir/$ac_source
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
6365 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
6367 if test ! -r "$ac_source"; then
6368 as_fn_error "$ac_source: file not found" "$LINENO" 5
6372 # Try a relative symlink, then a hard link, then a copy.
6374 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
6375 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
6377 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
6378 ln "$ac_source" "$ac_file" 2>/dev/null ||
6379 cp -p "$ac_source" "$ac_file" ||
6380 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
6383 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6384 $as_echo "$as_me: executing $ac_file commands" >&6;}
6389 case $ac_file$ac_mode in
6390 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
6391 if test -n "$CONFIG_FILES"; then
6392 # FIXME: We shouldn't need to
set ac_file
6394 .
${libgcc_topdir}/config-ml.
in
6403 ac_clean_files
=$ac_clean_files_save
6405 test $ac_write_fail = 0 ||
6406 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6409 # configure is writing to config.log, and then calls config.status.
6410 # config.status does its own redirection, appending to config.log.
6411 # Unfortunately, on DOS this fails, as config.log is still kept open
6412 # by configure, so config.status won't be able to write to it; its
6413 # output is simply discarded. So we exec the FD to /dev/null,
6414 # effectively closing config.log, so it can be properly (re)opened and
6415 # appended to by config.status. When coming back to configure, we
6416 # need to make the FD available again.
6417 if test "$no_create" != yes; then
6419 ac_config_status_args
=
6420 test "$silent" = yes &&
6421 ac_config_status_args
="$ac_config_status_args --quiet"
6423 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6425 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6426 # would make configure fail if this is the last instruction.
6427 $ac_cs_success || as_fn_exit $?
6429 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6431 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}