2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU C Runtime Library 1.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
547 PACKAGE_NAME
='GNU C Runtime Library'
548 PACKAGE_TARNAME
='libgcc'
549 PACKAGE_VERSION
='1.0'
550 PACKAGE_STRING
='GNU C Runtime Library 1.0'
552 PACKAGE_URL
='http://www.gnu.org/software/libgcc/'
554 ac_unique_file
="static-object.mk"
555 ac_includes_default
='/* none */'
556 ac_subst_vars
='LTLIBOBJS
573 real_host_noncanonical
575 force_explicit_eh_registry
581 long_double_type_size
651 program_transform_name
664 enable_option_checking
671 enable_version_specific_runtime_libs
673 enable_maintainer_mode
676 with_system_libunwind
677 enable_explicit_exception_frame_registration
680 with_gcc_major_version_only
682 ac_precious_vars
='build_alias
693 # Initialize some variables set by options.
695 ac_init_version
=false
696 ac_unrecognized_opts
=
698 # The variables have the same names as the options, with
699 # dashes changed to underlines.
707 program_transform_name
=s
,x
,x
,
715 # Installation directory options.
716 # These are left unexpanded so users can "make install exec_prefix=/foo"
717 # and all the variables that are supposed to be based on exec_prefix
718 # by default will actually change.
719 # Use braces instead of parens because sh, perl, etc. also accept them.
720 # (The list follows the same order as the GNU Coding Standards.)
721 bindir
='${exec_prefix}/bin'
722 sbindir
='${exec_prefix}/sbin'
723 libexecdir
='${exec_prefix}/libexec'
724 datarootdir
='${prefix}/share'
725 datadir
='${datarootdir}'
726 sysconfdir
='${prefix}/etc'
727 sharedstatedir
='${prefix}/com'
728 localstatedir
='${prefix}/var'
729 includedir
='${prefix}/include'
730 oldincludedir
='/usr/include'
731 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
732 infodir
='${datarootdir}/info'
737 libdir
='${exec_prefix}/lib'
738 localedir
='${datarootdir}/locale'
739 mandir
='${datarootdir}/man'
745 # If the previous option needs an argument, assign it.
746 if test -n "$ac_prev"; then
747 eval $ac_prev=\
$ac_option
753 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
757 # Accept the important Cygnus configure options, so we can diagnose typos.
759 case $ac_dashdash$ac_option in
763 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
765 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
768 -build |
--build |
--buil |
--bui |
--bu)
769 ac_prev
=build_alias
;;
770 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
771 build_alias
=$ac_optarg ;;
773 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
774 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
775 ac_prev
=cache_file
;;
776 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
777 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
778 cache_file
=$ac_optarg ;;
781 cache_file
=config.cache
;;
783 -datadir |
--datadir |
--datadi |
--datad)
785 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
786 datadir
=$ac_optarg ;;
788 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
789 |
--dataroo |
--dataro |
--datar)
790 ac_prev
=datarootdir
;;
791 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
792 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
793 datarootdir
=$ac_optarg ;;
795 -disable-* |
--disable-*)
796 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
797 # Reject names that are not valid shell variable names.
798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
799 as_fn_error
"invalid feature name: $ac_useropt"
800 ac_useropt_orig
=$ac_useropt
801 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
802 case $ac_user_opts in
806 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
807 ac_unrecognized_sep
=', ';;
809 eval enable_
$ac_useropt=no
;;
811 -docdir |
--docdir |
--docdi |
--doc |
--do)
813 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
816 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
818 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
821 -enable-* |
--enable-*)
822 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
823 # Reject names that are not valid shell variable names.
824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
825 as_fn_error
"invalid feature name: $ac_useropt"
826 ac_useropt_orig
=$ac_useropt
827 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
828 case $ac_user_opts in
832 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
833 ac_unrecognized_sep
=', ';;
835 eval enable_
$ac_useropt=\
$ac_optarg ;;
837 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
838 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
839 |
--exec |
--exe |
--ex)
840 ac_prev
=exec_prefix
;;
841 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
842 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
843 |
--exec=* |
--exe=* |
--ex=*)
844 exec_prefix
=$ac_optarg ;;
846 -gas |
--gas |
--ga |
--g)
847 # Obsolete; use --with-gas.
850 -help |
--help |
--hel |
--he |
-h)
852 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
853 ac_init_help
=recursive
;;
854 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
855 ac_init_help
=short
;;
857 -host |
--host |
--hos |
--ho)
858 ac_prev
=host_alias
;;
859 -host=* |
--host=* |
--hos=* |
--ho=*)
860 host_alias
=$ac_optarg ;;
862 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
864 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
866 htmldir
=$ac_optarg ;;
868 -includedir |
--includedir |
--includedi |
--included |
--include \
869 |
--includ |
--inclu |
--incl |
--inc)
870 ac_prev
=includedir
;;
871 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
872 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
873 includedir
=$ac_optarg ;;
875 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
877 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
878 infodir
=$ac_optarg ;;
880 -libdir |
--libdir |
--libdi |
--libd)
882 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
885 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
886 |
--libexe |
--libex |
--libe)
887 ac_prev
=libexecdir
;;
888 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
889 |
--libexe=* |
--libex=* |
--libe=*)
890 libexecdir
=$ac_optarg ;;
892 -localedir |
--localedir |
--localedi |
--localed |
--locale)
894 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
895 localedir
=$ac_optarg ;;
897 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
898 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
899 ac_prev
=localstatedir
;;
900 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
901 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
902 localstatedir
=$ac_optarg ;;
904 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
906 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
910 # Obsolete; use --without-fp.
913 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
914 |
--no-cr |
--no-c |
-n)
917 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
918 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
921 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
922 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
923 |
--oldin |
--oldi |
--old |
--ol |
--o)
924 ac_prev
=oldincludedir
;;
925 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
926 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
927 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
928 oldincludedir
=$ac_optarg ;;
930 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
932 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
935 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
936 |
--program-pre |
--program-pr |
--program-p)
937 ac_prev
=program_prefix
;;
938 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
939 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
940 program_prefix
=$ac_optarg ;;
942 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
943 |
--program-suf |
--program-su |
--program-s)
944 ac_prev
=program_suffix
;;
945 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
946 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
947 program_suffix
=$ac_optarg ;;
949 -program-transform-name |
--program-transform-name \
950 |
--program-transform-nam |
--program-transform-na \
951 |
--program-transform-n |
--program-transform- \
952 |
--program-transform |
--program-transfor \
953 |
--program-transfo |
--program-transf \
954 |
--program-trans |
--program-tran \
955 |
--progr-tra |
--program-tr |
--program-t)
956 ac_prev
=program_transform_name
;;
957 -program-transform-name=* |
--program-transform-name=* \
958 |
--program-transform-nam=* |
--program-transform-na=* \
959 |
--program-transform-n=* |
--program-transform-=* \
960 |
--program-transform=* |
--program-transfor=* \
961 |
--program-transfo=* |
--program-transf=* \
962 |
--program-trans=* |
--program-tran=* \
963 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
964 program_transform_name
=$ac_optarg ;;
966 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
968 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
971 -psdir |
--psdir |
--psdi |
--psd |
--ps)
973 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
976 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
977 |
-silent |
--silent |
--silen |
--sile |
--sil)
980 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
982 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
984 sbindir
=$ac_optarg ;;
986 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
987 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
988 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
990 ac_prev
=sharedstatedir
;;
991 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
992 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
993 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
995 sharedstatedir
=$ac_optarg ;;
997 -site |
--site |
--sit)
999 -site=* |
--site=* |
--sit=*)
1002 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1004 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1005 srcdir
=$ac_optarg ;;
1007 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1008 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1009 ac_prev
=sysconfdir
;;
1010 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1011 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1012 sysconfdir
=$ac_optarg ;;
1014 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1015 ac_prev
=target_alias
;;
1016 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1017 target_alias
=$ac_optarg ;;
1019 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1022 -version |
--version |
--versio |
--versi |
--vers |
-V)
1023 ac_init_version
=: ;;
1026 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1029 as_fn_error
"invalid package name: $ac_useropt"
1030 ac_useropt_orig
=$ac_useropt
1031 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1036 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1037 ac_unrecognized_sep
=', ';;
1039 eval with_
$ac_useropt=\
$ac_optarg ;;
1041 -without-* |
--without-*)
1042 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1045 as_fn_error
"invalid package name: $ac_useropt"
1046 ac_useropt_orig
=$ac_useropt
1047 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1052 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1053 ac_unrecognized_sep
=', ';;
1055 eval with_
$ac_useropt=no
;;
1058 # Obsolete; use --with-x.
1061 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1062 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1063 ac_prev
=x_includes
;;
1064 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1065 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1066 x_includes
=$ac_optarg ;;
1068 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1069 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1070 ac_prev
=x_libraries
;;
1071 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1072 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1073 x_libraries
=$ac_optarg ;;
1075 -*) as_fn_error
"unrecognized option: \`$ac_option'
1076 Try \`$0 --help' for more information."
1080 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1081 # Reject names that are not valid shell variable names.
1082 case $ac_envvar in #(
1083 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1084 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1086 eval $ac_envvar=\
$ac_optarg
1087 export $ac_envvar ;;
1090 # FIXME: should be removed in autoconf 3.0.
1091 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1092 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1093 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1094 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1100 if test -n "$ac_prev"; then
1101 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1102 as_fn_error
"missing argument to $ac_option"
1105 if test -n "$ac_unrecognized_opts"; then
1106 case $enable_option_checking in
1108 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1109 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1113 # Check all directory arguments for consistency.
1114 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1115 datadir sysconfdir sharedstatedir localstatedir includedir \
1116 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1117 libdir localedir mandir
1119 eval ac_val
=\$
$ac_var
1120 # Remove trailing slashes.
1123 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1124 eval $ac_var=\
$ac_val;;
1126 # Be sure to have absolute directory names.
1128 [\\/$
]* | ?
:[\\/]* ) continue;;
1129 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1131 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1134 # There might be people who depend on the old broken behavior: `$host'
1135 # used to hold the argument of --host etc.
1136 # FIXME: To remove some day.
1139 target
=$target_alias
1141 # FIXME: To remove some day.
1142 if test "x$host_alias" != x
; then
1143 if test "x$build_alias" = x
; then
1144 cross_compiling
=maybe
1145 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1146 If a cross compiler is detected then cross compile mode will be used." >&2
1147 elif test "x$build_alias" != "x$host_alias"; then
1153 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1155 test "$silent" = yes && exec 6>/dev
/null
1158 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1159 ac_ls_di
=`ls -di .` &&
1160 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1161 as_fn_error
"working directory cannot be determined"
1162 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1163 as_fn_error
"pwd does not report name of working directory"
1166 # Find the source files, if location was not specified.
1167 if test -z "$srcdir"; then
1168 ac_srcdir_defaulted
=yes
1169 # Try the directory containing this script, then the parent directory.
1170 ac_confdir
=`$as_dirname -- "$as_myself" ||
1171 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1172 X"$as_myself" : 'X\(//\)[^/]' \| \
1173 X"$as_myself" : 'X\(//\)$' \| \
1174 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1175 $as_echo X"$as_myself" |
1176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1194 if test ! -r "$srcdir/$ac_unique_file"; then
1198 ac_srcdir_defaulted
=no
1200 if test ! -r "$srcdir/$ac_unique_file"; then
1201 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1202 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1204 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1206 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1208 # When building in place, set srcdir=.
1209 if test "$ac_abs_confdir" = "$ac_pwd"; then
1212 # Remove unnecessary trailing slashes from srcdir.
1213 # Double slashes in file names in object file debugging info
1214 # mess up M-x gdb in Emacs.
1216 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1218 for ac_var
in $ac_precious_vars; do
1219 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1220 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1221 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1222 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1226 # Report the --help message.
1228 if test "$ac_init_help" = "long"; then
1229 # Omit some internal or obsolete options to make the list less imposing.
1230 # This message is too long to be a string in the A/UX 3.1 sh.
1232 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1234 Usage: $0 [OPTION]... [VAR=VALUE]...
1236 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1237 VAR=VALUE. See below for descriptions of some of the useful variables.
1239 Defaults for the options are specified in brackets.
1242 -h, --help display this help and exit
1243 --help=short display options specific to this package
1244 --help=recursive display the short help of all the included packages
1245 -V, --version display version information and exit
1246 -q, --quiet, --silent do not print \`checking...' messages
1247 --cache-file=FILE cache test results in FILE [disabled]
1248 -C, --config-cache alias for \`--cache-file=config.cache'
1249 -n, --no-create do not create output files
1250 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1252 Installation directories:
1253 --prefix=PREFIX install architecture-independent files in PREFIX
1254 [$ac_default_prefix]
1255 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1258 By default, \`make install' will install all the files in
1259 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1260 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1261 for instance \`--prefix=\$HOME'.
1263 For better control, use the options below.
1265 Fine tuning of the installation directories:
1266 --bindir=DIR user executables [EPREFIX/bin]
1267 --sbindir=DIR system admin executables [EPREFIX/sbin]
1268 --libexecdir=DIR program executables [EPREFIX/libexec]
1269 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1270 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1271 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1272 --libdir=DIR object code libraries [EPREFIX/lib]
1273 --includedir=DIR C header files [PREFIX/include]
1274 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1275 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1276 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1277 --infodir=DIR info documentation [DATAROOTDIR/info]
1278 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1279 --mandir=DIR man documentation [DATAROOTDIR/man]
1280 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1281 --htmldir=DIR html documentation [DOCDIR]
1282 --dvidir=DIR dvi documentation [DOCDIR]
1283 --pdfdir=DIR pdf documentation [DOCDIR]
1284 --psdir=DIR ps documentation [DOCDIR]
1290 --build=BUILD configure
for building on BUILD
[guessed
]
1291 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1295 if test -n "$ac_init_help"; then
1296 case $ac_init_help in
1297 short | recursive
) echo "Configuration of GNU C Runtime Library 1.0:";;
1302 --disable-option-checking ignore unrecognized
--enable/--with options
1303 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1304 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1305 --disable-shared don
't provide a shared libgcc
1306 --enable-vtable-verify Enable vtable verification feature
1307 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1308 --enable-maintainer-mode
1309 enable make rules and dependencies not useful (and
1310 sometimes confusing) to the casual installer
1311 --enable-decimal-float={no,yes,bid,dpd}
1312 enable decimal float extension to C. Selecting 'bid
'
1313 or 'dpd
' choses which decimal floating point format
1315 --enable-explicit-exception-frame-registration
1316 register exception tables explicitly at module
1317 start, for use e.g. for compatibility with
1318 installations without PT_GNU_EH_FRAME support
1319 --enable-tls Use thread-local storage [default=yes]
1322 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1323 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1324 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
1325 --with-cross-host=HOST Configuring with a cross compiler
1326 --with-ld arrange to use the specified ld (full pathname)
1327 --with-aix-soname=aix|svr4|both
1328 shared library versioning (aka "SONAME") variant to
1330 --with-slibdir=DIR shared libraries in DIR LIBDIR
1331 --with-build-libsubdir=DIR Directory where to find libraries for build system
1332 --with-system-libunwind use installed libunwind
1333 --with-glibc-version=M.N
1334 assume GCC used with glibc version M.N or later
1335 --with-gcc-major-version-only
1336 use only GCC major number in filesystem paths
1338 Some influential environment variables:
1339 CC C compiler command
1340 CFLAGS C compiler flags
1341 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1342 nonstandard directory <lib dir>
1343 LIBS libraries to pass to the linker, e.g. -l<library>
1344 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1345 you have headers in a nonstandard directory <include dir>
1348 Use these variables to override the choices made by `configure' or to
help
1349 it to
find libraries and programs with nonstandard names
/locations.
1351 Report bugs to the package provider.
1352 GNU C Runtime Library home page
: <http
://www.gnu.org
/software
/libgcc
/>.
1353 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1358 if test "$ac_init_help" = "recursive"; then
1359 # If there are subdirs, report their specific --help.
1360 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1361 test -d "$ac_dir" ||
1362 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1367 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1369 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1370 # A ".." for each directory in $ac_dir_suffix.
1371 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1372 case $ac_top_builddir_sub in
1373 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1374 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1377 ac_abs_top_builddir
=$ac_pwd
1378 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1379 # for backward compatibility:
1380 ac_top_builddir
=$ac_top_build_prefix
1383 .
) # We are building in place.
1385 ac_top_srcdir
=$ac_top_builddir_sub
1386 ac_abs_top_srcdir
=$ac_pwd ;;
1387 [\\/]* | ?
:[\\/]* ) # Absolute name.
1388 ac_srcdir
=$srcdir$ac_dir_suffix;
1389 ac_top_srcdir
=$srcdir
1390 ac_abs_top_srcdir
=$srcdir ;;
1392 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1393 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1394 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1396 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1398 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1399 # Check for guested configure.
1400 if test -f "$ac_srcdir/configure.gnu"; then
1402 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1403 elif test -f "$ac_srcdir/configure"; then
1405 $SHELL "$ac_srcdir/configure" --help=recursive
1407 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1409 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1413 test -n "$ac_init_help" && exit $ac_status
1414 if $ac_init_version; then
1416 GNU C Runtime Library configure
1.0
1417 generated by GNU Autoconf
2.64
1419 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1420 This configure
script is free software
; the Free Software Foundation
1421 gives unlimited permission to copy
, distribute and modify it.
1426 ## ------------------------ ##
1427 ## Autoconf initialization. ##
1428 ## ------------------------ ##
1430 # ac_fn_c_try_compile LINENO
1431 # --------------------------
1432 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1433 ac_fn_c_try_compile
()
1435 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1436 rm -f conftest.
$ac_objext
1437 if { { ac_try
="$ac_compile"
1439 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1440 *) ac_try_echo=$ac_try;;
1442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1443 $as_echo "$ac_try_echo"; } >&5
1444 (eval "$ac_compile") 2>conftest.err
1446 if test -s conftest.err; then
1447 grep -v '^ *+' conftest.err >conftest.er1
1448 cat conftest.er1 >&5
1449 mv -f conftest.er1 conftest.err
1451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1452 test $ac_status = 0; } && {
1453 test -z "$ac_c_werror_flag" ||
1454 test ! -s conftest.err
1455 } && test -s conftest.$ac_objext; then :
1458 $as_echo "$as_me: failed program was:" >&5
1459 sed 's/^/| /' conftest.$ac_ext >&5
1463 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1466 } # ac_fn_c_try_compile
1468 # ac_fn_c_try_cpp LINENO
1469 # ----------------------
1470 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1474 if { { ac_try="$ac_cpp conftest.$ac_ext"
1476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1477 *) ac_try_echo
=$ac_try;;
1479 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1480 $as_echo "$ac_try_echo"; } >&5
1481 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1483 if test -s conftest.err
; then
1484 grep -v '^ *+' conftest.err
>conftest.er1
1485 cat conftest.er1
>&5
1486 mv -f conftest.er1 conftest.err
1488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1489 test $ac_status = 0; } >/dev
/null
&& {
1490 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1491 test ! -s conftest.err
1495 $as_echo "$as_me: failed program was:" >&5
1496 sed 's/^/| /' conftest.
$ac_ext >&5
1500 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1505 # ac_fn_c_try_run LINENO
1506 # ----------------------
1507 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1508 # that executables *can* be run.
1511 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1512 if { { ac_try
="$ac_link"
1514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1515 *) ac_try_echo=$ac_try;;
1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1518 $as_echo "$ac_try_echo"; } >&5
1519 (eval "$ac_link") 2>&5
1521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1522 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1523 { { case "(($ac_try" in
1524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1525 *) ac_try_echo
=$ac_try;;
1527 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528 $as_echo "$ac_try_echo"; } >&5
1529 (eval "$ac_try") 2>&5
1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532 test $ac_status = 0; }; }; then :
1535 $as_echo "$as_me: program exited with status $ac_status" >&5
1536 $as_echo "$as_me: failed program was:" >&5
1537 sed 's/^/| /' conftest.
$ac_ext >&5
1539 ac_retval
=$ac_status
1541 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1542 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1547 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1548 # --------------------------------------------
1549 # Tries to find the compile-time value of EXPR in a program that includes
1550 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1552 ac_fn_c_compute_int
()
1554 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1555 if test "$cross_compiling" = yes; then
1556 # Depending upon the size, compute the lo and hi bounds.
1557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1558 /* end confdefs.h. */
1563 static int test_array [1 - 2 * !(($2) >= 0)];
1570 if ac_fn_c_try_compile
"$LINENO"; then :
1573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1574 /* end confdefs.h. */
1579 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1586 if ac_fn_c_try_compile
"$LINENO"; then :
1587 ac_hi
=$ac_mid; break
1589 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1590 if test $ac_lo -le $ac_mid; then
1594 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1600 /* end confdefs.h. */
1605 static int test_array [1 - 2 * !(($2) < 0)];
1612 if ac_fn_c_try_compile
"$LINENO"; then :
1615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1616 /* end confdefs.h. */
1621 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1628 if ac_fn_c_try_compile
"$LINENO"; then :
1629 ac_lo
=$ac_mid; break
1631 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1632 if test $ac_mid -le $ac_hi; then
1636 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1646 # Binary search between lo and hi bounds.
1647 while test "x$ac_lo" != "x$ac_hi"; do
1648 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1650 /* end confdefs.h. */
1655 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1662 if ac_fn_c_try_compile
"$LINENO"; then :
1665 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1670 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1675 /* end confdefs.h. */
1677 static long int longval () { return $2; }
1678 static unsigned long int ulongval () { return $2; }
1685 FILE *f = fopen ("conftest.val", "w");
1690 long int i = longval ();
1693 fprintf (f, "%ld", i);
1697 unsigned long int i = ulongval ();
1700 fprintf (f, "%lu", i);
1702 /* Do not output a trailing newline, as this causes \r\n confusion
1703 on some platforms. */
1704 return ferror (f) || fclose (f) != 0;
1710 if ac_fn_c_try_run
"$LINENO"; then :
1711 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
1715 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
1716 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1720 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1723 } # ac_fn_c_compute_int
1725 # ac_fn_c_check_header_preproc LINENO HEADER VAR
1726 # ----------------------------------------------
1727 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
1728 ac_fn_c_check_header_preproc
()
1730 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1732 $as_echo_n "checking for $2... " >&6; }
1733 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1734 $as_echo_n "(cached) " >&6
1736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1737 /* end confdefs.h. */
1740 if ac_fn_c_try_cpp
"$LINENO"; then :
1745 rm -f conftest.err conftest.
$ac_ext
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1750 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1752 } # ac_fn_c_check_header_preproc
1753 cat >config.log
<<_ACEOF
1754 This file contains any messages produced by compilers while
1755 running configure, to aid debugging if configure makes a mistake.
1757 It was created by GNU C Runtime Library $as_me 1.0, which was
1758 generated by GNU Autoconf 2.64. Invocation command line was
1770 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1771 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1772 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1773 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1774 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1776 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1777 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1779 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1780 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1781 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1782 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1783 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1784 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1785 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1793 test -z "$as_dir" && as_dir
=.
1794 $as_echo "PATH: $as_dir"
1810 # Keep a trace of the command line.
1811 # Strip out --no-create and --no-recursion so they do not pile up.
1812 # Strip out --silent because we don't want to record it for future runs.
1813 # Also quote any args containing shell meta-characters.
1814 # Make two passes to allow for proper duplicate-argument suppression.
1818 ac_must_keep_next
=false
1824 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1825 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1826 |
-silent |
--silent |
--silen |
--sile |
--sil)
1829 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1832 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1834 as_fn_append ac_configure_args1
" '$ac_arg'"
1835 if test $ac_must_keep_next = true
; then
1836 ac_must_keep_next
=false
# Got value, back to normal.
1839 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1840 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1841 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1842 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1843 case "$ac_configure_args0 " in
1844 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1847 -* ) ac_must_keep_next
=true
;;
1850 as_fn_append ac_configure_args
" '$ac_arg'"
1855 { ac_configure_args0
=; unset ac_configure_args0
;}
1856 { ac_configure_args1
=; unset ac_configure_args1
;}
1858 # When interrupted or exit'd, cleanup temporary files, and complete
1859 # config.log. We remove comments because anyway the quotes in there
1860 # would cause problems or look ugly.
1861 # WARNING: Use '\'' to represent an apostrophe within the trap.
1862 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1863 trap 'exit_status=$?
1864 # Save into config.log some information that might help in debugging.
1869 ## ---------------- ##
1870 ## Cache variables. ##
1871 ## ---------------- ##
1874 # The following way of writing the cache mishandles newlines in values,
1876 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1877 eval ac_val=\$$ac_var
1881 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1882 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1885 _ | IFS | as_nl) ;; #(
1886 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1887 *) { eval $ac_var=; unset $ac_var;} ;;
1892 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1893 *${as_nl}ac_space=\ *)
1895 "s/'\''/'\''\\\\'\'''\''/g;
1896 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1899 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1907 ## ----------------- ##
1908 ## Output variables. ##
1909 ## ----------------- ##
1912 for ac_var in $ac_subst_vars
1914 eval ac_val=\$$ac_var
1916 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1918 $as_echo "$ac_var='\''$ac_val'\''"
1922 if test -n "$ac_subst_files"; then
1924 ## ------------------- ##
1925 ## File substitutions. ##
1926 ## ------------------- ##
1929 for ac_var
in $ac_subst_files
1931 eval ac_val
=\$
$ac_var
1933 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1935 $as_echo "$ac_var='\''$ac_val'\''"
1940 if test -s confdefs.h; then
1950 test "$ac_signal" != 0 &&
1951 $as_echo "$as_me: caught signal $ac_signal"
1952 $as_echo "$as_me: exit $exit_status"
1954 rm -f core *.core core.conftest.* &&
1955 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1958 for ac_signal
in 1 2 13 15; do
1959 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1963 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1964 rm -f -r conftest
* confdefs.h
1966 $as_echo "/* confdefs.h */" > confdefs.h
1968 # Predefined preprocessor variables.
1970 cat >>confdefs.h
<<_ACEOF
1971 #define PACKAGE_NAME "$PACKAGE_NAME"
1974 cat >>confdefs.h
<<_ACEOF
1975 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1978 cat >>confdefs.h
<<_ACEOF
1979 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1982 cat >>confdefs.h
<<_ACEOF
1983 #define PACKAGE_STRING "$PACKAGE_STRING"
1986 cat >>confdefs.h
<<_ACEOF
1987 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1990 cat >>confdefs.h
<<_ACEOF
1991 #define PACKAGE_URL "$PACKAGE_URL"
1995 # Let the site file select an alternate cache file if it wants to.
1996 # Prefer an explicitly selected file to automatically selected ones.
1999 if test -n "$CONFIG_SITE"; then
2000 ac_site_file1
=$CONFIG_SITE
2001 elif test "x$prefix" != xNONE
; then
2002 ac_site_file1
=$prefix/share
/config.site
2003 ac_site_file2
=$prefix/etc
/config.site
2005 ac_site_file1
=$ac_default_prefix/share
/config.site
2006 ac_site_file2
=$ac_default_prefix/etc
/config.site
2008 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2010 test "x$ac_site_file" = xNONE
&& continue
2011 if test -r "$ac_site_file"; then
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2013 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2014 sed 's/^/| /' "$ac_site_file" >&5
2019 if test -r "$cache_file"; then
2020 # Some versions of bash will fail to source /dev/null (special
2021 # files actually), so we avoid doing that.
2022 if test -f "$cache_file"; then
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2024 $as_echo "$as_me: loading cache $cache_file" >&6;}
2026 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2027 *) .
"./$cache_file";;
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2032 $as_echo "$as_me: creating cache $cache_file" >&6;}
2036 # Check that the precious variables saved in the cache have kept the same
2038 ac_cache_corrupted
=false
2039 for ac_var
in $ac_precious_vars; do
2040 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2041 eval ac_new_set
=\
$ac_env_${ac_var}_set
2042 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2043 eval ac_new_val
=\
$ac_env_${ac_var}_value
2044 case $ac_old_set,$ac_new_set in
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2047 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2048 ac_cache_corrupted
=: ;;
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2051 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2052 ac_cache_corrupted
=: ;;
2055 if test "x$ac_old_val" != "x$ac_new_val"; then
2056 # differences in whitespace do not lead to failure.
2057 ac_old_val_w
=`echo x $ac_old_val`
2058 ac_new_val_w
=`echo x $ac_new_val`
2059 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2061 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2062 ac_cache_corrupted
=:
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2065 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2066 eval $ac_var=\
$ac_old_val
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2069 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2071 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2074 # Pass precious variables to config.status.
2075 if test "$ac_new_set" = set; then
2077 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2078 *) ac_arg
=$ac_var=$ac_new_val ;;
2080 case " $ac_configure_args " in
2081 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2082 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2086 if $ac_cache_corrupted; then
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2090 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2091 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2093 ## -------------------- ##
2094 ## Main body of script. ##
2095 ## -------------------- ##
2098 ac_cpp
='$CPP $CPPFLAGS'
2099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2109 # The libgcc should not depend on any header files
2113 # Check whether --with-target-subdir was given.
2114 if test "${with_target_subdir+set}" = set; then :
2115 withval
=$with_target_subdir;
2119 # Check whether --with-cross-host was given.
2120 if test "${with_cross_host+set}" = set; then :
2121 withval
=$with_cross_host;
2125 # Check whether --with-ld was given.
2126 if test "${with_ld+set}" = set; then :
2131 if test "${srcdir}" = "."; then
2132 if test -n "${with_build_subdir}"; then
2133 libgcc_topdir
="${srcdir}/../.."
2135 elif test -z "${with_target_subdir}"; then
2136 libgcc_topdir
="${srcdir}/.."
2138 if test "${with_target_subdir}" != "."; then
2139 libgcc_topdir
="${srcdir}/${with_multisrctop}../.."
2141 libgcc_topdir
="${srcdir}/${with_multisrctop}.."
2145 libgcc_topdir
="${srcdir}/.."
2149 for ac_dir
in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
2150 for ac_t
in install-sh
install.sh shtool
; do
2151 if test -f "$ac_dir/$ac_t"; then
2153 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2158 if test -z "$ac_aux_dir"; then
2159 as_fn_error
"cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
2162 # These three variables are undocumented and unsupported,
2163 # and are intended to be withdrawn in a future Autoconf release.
2164 # They can cause serious problems if a builder's source tree is in a directory
2165 # whose full name contains unusual characters.
2166 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2167 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2168 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2171 ac_config_headers
="$ac_config_headers auto-target.h:config.in"
2174 # Check whether --enable-shared was given.
2175 if test "${enable_shared+set}" = set; then :
2176 enableval
=$enable_shared;
2177 case $enable_shared in
2181 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
2182 for pkg
in $enableval; do
2183 if test "X$pkg" = "Xgcc" ||
test "X$pkg" = "Xlibgcc"; then
2197 # Check whether --enable-vtable-verify was given.
2198 if test "${enable_vtable_verify+set}" = set; then :
2199 enableval
=$enable_vtable_verify; case "$enableval" in
2200 yes) enable_vtable_verify
=yes ;;
2201 no
) enable_vtable_verify
=no
;;
2202 *) enable_vtable_verify
=no
;;
2205 enable_vtable_verify
=no
2211 # Check whether --with-aix-soname was given.
2212 if test "${with_aix_soname+set}" = set; then :
2213 withval
=$with_aix_soname; case "${host}:${enable_shared}" in
2214 power
*-*-aix[5-9]*:yes)
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide for shared libgcc" >&5
2216 $as_echo_n "checking which variant of shared library versioning to provide for shared libgcc... " >&6; }
2219 *) as_fn_error
"Unknown argument to --with-aix-soname" "$LINENO" 5;;
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
2222 $as_echo "$withval" >&6; }
2224 *) with_aix_soname
=aix
;;
2233 # Make sure we can run config.sub.
2234 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2235 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2238 $as_echo_n "checking build system type... " >&6; }
2239 if test "${ac_cv_build+set}" = set; then :
2240 $as_echo_n "(cached) " >&6
2242 ac_build_alias
=$build_alias
2243 test "x$ac_build_alias" = x
&&
2244 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2245 test "x$ac_build_alias" = x
&&
2246 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2247 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2248 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2252 $as_echo "$ac_cv_build" >&6; }
2253 case $ac_cv_build in
2255 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2258 ac_save_IFS
=$IFS; IFS
='-'
2264 # Remember, the first character of IFS is used to create $*,
2265 # except with old shells:
2268 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2272 $as_echo_n "checking host system type... " >&6; }
2273 if test "${ac_cv_host+set}" = set; then :
2274 $as_echo_n "(cached) " >&6
2276 if test "x$host_alias" = x
; then
2277 ac_cv_host
=$ac_cv_build
2279 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2280 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2285 $as_echo "$ac_cv_host" >&6; }
2288 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2291 ac_save_IFS
=$IFS; IFS
='-'
2297 # Remember, the first character of IFS is used to create $*,
2298 # except with old shells:
2301 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2309 # PIC is the default on some targets or must not be used.
2311 # For darwin, common symbols are not allowed in MH_DYLIB files
2313 # If we are using a compiler supporting mdynamic-no-pic
2314 # and the option has been tested as safe to add, then cancel
2315 # it here, since the code generated is incompatible with shared
2317 *-mdynamic-no-pic*) PICFLAG
='-fno-common -mno-dynamic-no-pic' ;;
2318 *) PICFLAG
=-fno-common ;;
2322 # PIC is the default.
2325 # PIC is the default for 64-bit PA HP-UX.
2327 i
[34567]86-*-cygwin* | x86_64-
*-cygwin*)
2329 i
[34567]86-*-mingw* | x86_64-
*-mingw*)
2331 i
[34567]86-*-interix[3-9]*)
2332 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
2333 # Instead, we relocate shared libraries at runtime.
2335 i
[34567]86-*-nto-qnx*)
2336 # QNX uses GNU C++, but need to define -shared option too, otherwise
2338 PICFLAG
='-fPIC -shared'
2340 i
[34567]86-pc-msdosdjgpp*)
2341 # DJGPP does not support shared libraries at all.
2344 # On IA64 HP-UX, PIC is the default but the pic flag
2345 # sets the default TLS model and affects inlining.
2349 # PIC is the default.
2351 rs6000-ibm-aix
* | powerpc-ibm-aix
*)
2352 # All AIX code is PIC.
2355 # Some targets support both -fPIC and -fpic, but prefer the latter.
2357 i
[34567]86-*-* | x86_64-
*-*)
2360 # FIXME: Override -fPIC default in libgcc only?
2361 sh-
*-linux* | sh
[2346lbe
]*-*-linux*)
2364 # FIXME: Simplify to sh*-*-netbsd*?
2365 sh-
*-netbsdelf* | shl
*-*-netbsdelf* | sh5-
*-netbsd* | sh5l
*-*-netbsd* | \
2366 sh64-
*-netbsd* | sh64l
*-*-netbsd*)
2369 # Default to -fPIC unless specified otherwise.
2375 # If the user explicitly uses -fpic/-fPIC, keep that.
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2388 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2389 # Check whether --enable-version-specific-runtime-libs was given.
2390 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2391 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2392 yes) version_specific_libs
=yes ;;
2393 no
) version_specific_libs
=no
;;
2394 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2397 version_specific_libs
=no
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2401 $as_echo "$version_specific_libs" >&6; }
2404 # Check whether --with-slibdir was given.
2405 if test "${with_slibdir+set}" = set; then :
2406 withval
=$with_slibdir; slibdir
="$with_slibdir"
2408 if test "${version_specific_libs}" = yes; then
2409 slibdir
='$(libsubdir)'
2410 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
2411 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
2419 # Command-line options.
2420 # Very limited version of AC_MAINTAINER_MODE.
2421 # Check whether --enable-maintainer-mode was given.
2422 if test "${enable_maintainer_mode+set}" = set; then :
2423 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
2426 *) as_fn_error
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
2428 maintainer_mode
=${enableval}
2434 # Find a good install program. We prefer a C program (faster),
2435 # so one script is as good as another. But avoid the broken or
2436 # incompatible versions:
2437 # SysV /etc/install, /usr/sbin/install
2438 # SunOS /usr/etc/install
2439 # IRIX /sbin/install
2441 # AmigaOS /C/install, which installs bootblocks on floppy discs
2442 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2443 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2444 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2445 # OS/2's system install, which has a completely different semantic
2446 # ./install, which can be erroneously created by make from ./install.sh.
2447 # Reject install programs that cannot install multiple files.
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2449 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2450 if test -z "$INSTALL"; then
2451 if test "${ac_cv_path_install+set}" = set; then :
2452 $as_echo_n "(cached) " >&6
2454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2458 test -z "$as_dir" && as_dir
=.
2459 # Account for people who put trailing slashes in PATH elements.
2460 case $as_dir/ in #((
2461 .
/ | .
// |
/[cC
]/* | \
2462 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2463 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2466 # OSF1 and SCO ODT 3.0 have their own names for install.
2467 # Don't use installbsd from OSF since it installs stuff as root
2469 for ac_prog
in ginstall scoinst
install; do
2470 for ac_exec_ext
in '' $ac_executable_extensions; do
2471 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2472 if test $ac_prog = install &&
2473 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2474 # AIX install. It has an incompatible calling convention.
2476 elif test $ac_prog = install &&
2477 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2478 # program-specific install script used by HP pwplus--don't use.
2481 rm -rf conftest.one conftest.two conftest.dir
2482 echo one
> conftest.one
2483 echo two
> conftest.two
2485 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2486 test -s conftest.one
&& test -s conftest.two
&&
2487 test -s conftest.dir
/conftest.one
&&
2488 test -s conftest.dir
/conftest.two
2490 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2503 rm -rf conftest.one conftest.two conftest.dir
2506 if test "${ac_cv_path_install+set}" = set; then
2507 INSTALL
=$ac_cv_path_install
2509 # As a last resort, use the slow shell script. Don't cache a
2510 # value for INSTALL within a source directory, because that will
2511 # break other packages using the cache if that directory is
2512 # removed, or if the value is a relative name.
2513 INSTALL
=$ac_install_sh
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2517 $as_echo "$INSTALL" >&6; }
2519 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2520 # It thinks the first close brace ends the variable substitution.
2521 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2523 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2525 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2528 for ac_prog
in gawk mawk nawk
awk
2530 # Extract the first word of "$ac_prog", so it can be a program name with args.
2531 set dummy
$ac_prog; ac_word
=$2
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2533 $as_echo_n "checking for $ac_word... " >&6; }
2534 if test "${ac_cv_prog_AWK+set}" = set; then :
2535 $as_echo_n "(cached) " >&6
2537 if test -n "$AWK"; then
2538 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2544 test -z "$as_dir" && as_dir
=.
2545 for ac_exec_ext
in '' $ac_executable_extensions; do
2546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547 ac_cv_prog_AWK
="$ac_prog"
2548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 if test -n "$AWK"; then
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2560 $as_echo "$AWK" >&6; }
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2563 $as_echo "no" >&6; }
2567 test -n "$AWK" && break
2570 # We need awk; bail out if it's missing.
2572 "") as_fn_error
"can't build without awk, bailing out" "$LINENO" 5 ;;
2576 case ${build_alias} in
2577 "") build_noncanonical
=${build} ;;
2578 *) build_noncanonical
=${build_alias} ;;
2581 case ${host_alias} in
2582 "") host_noncanonical
=${build_noncanonical} ;;
2583 *) host_noncanonical
=${host_alias} ;;
2588 case ${target_alias} in
2589 "") target_noncanonical
=${host_noncanonical} ;;
2590 *) target_noncanonical
=${target_alias} ;;
2596 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2597 # have matching libraries, they should use host libraries: Makefile.tpl
2598 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2599 # However, they still use the build modules, because the corresponding
2600 # host modules (e.g. bison) are only built for the host when bootstrap
2602 # - build_subdir is where we find build modules, and never changes.
2603 # - build_libsubdir is where we find build libraries, and can be overridden.
2605 # Prefix 'build-' so this never conflicts with target_subdir.
2606 build_subdir
="build-${build_noncanonical}"
2608 # Check whether --with-build-libsubdir was given.
2609 if test "${with_build_libsubdir+set}" = set; then :
2610 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2612 build_libsubdir
="$build_subdir"
2615 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2616 if ( test $srcdir = .
&& test -d gcc
) \
2617 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2618 host_subdir
="host-${host_noncanonical}"
2623 target_subdir
=${target_noncanonical}
2626 # Calculate toolexeclibdir
2627 # Also toolexecdir, though it's only used in toolexeclibdir
2628 case ${version_specific_libs} in
2630 # Need the gcc compiler version to know where to install libraries
2631 # and header files if --enable-version-specific-runtime-libs option
2633 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
2634 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2637 if test -n "$with_cross_host" &&
2638 test x
"$with_cross_host" != x
"no"; then
2639 # Install a library built with a cross compiler in tooldir, not libdir.
2640 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
2641 toolexeclibdir
='$(toolexecdir)/lib'
2643 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
2644 toolexeclibdir
='$(libdir)'
2646 multi_os_directory
=`$CC -print-multi-os-directory`
2647 case $multi_os_directory in
2648 .
) ;; # Avoid trailing /.
2649 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2656 if test -n "$ac_tool_prefix"; then
2657 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2658 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2660 $as_echo_n "checking for $ac_word... " >&6; }
2661 if test "${ac_cv_prog_AR+set}" = set; then :
2662 $as_echo_n "(cached) " >&6
2664 if test -n "$AR"; then
2665 ac_cv_prog_AR
="$AR" # Let the user override the test.
2667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2671 test -z "$as_dir" && as_dir
=.
2672 for ac_exec_ext
in '' $ac_executable_extensions; do
2673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2674 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2685 if test -n "$AR"; then
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2687 $as_echo "$AR" >&6; }
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2690 $as_echo "no" >&6; }
2695 if test -z "$ac_cv_prog_AR"; then
2697 # Extract the first word of "ar", so it can be a program name with args.
2698 set dummy
ar; ac_word
=$2
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2700 $as_echo_n "checking for $ac_word... " >&6; }
2701 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2702 $as_echo_n "(cached) " >&6
2704 if test -n "$ac_ct_AR"; then
2705 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir
=.
2712 for ac_exec_ext
in '' $ac_executable_extensions; do
2713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714 ac_cv_prog_ac_ct_AR
="ar"
2715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2725 if test -n "$ac_ct_AR"; then
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2727 $as_echo "$ac_ct_AR" >&6; }
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2730 $as_echo "no" >&6; }
2733 if test "x$ac_ct_AR" = x
; then
2736 case $cross_compiling:$ac_tool_warned in
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2740 ac_tool_warned
=yes ;;
2748 if test -n "$ac_tool_prefix"; then
2749 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2750 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2752 $as_echo_n "checking for $ac_word... " >&6; }
2753 if test "${ac_cv_prog_LIPO+set}" = set; then :
2754 $as_echo_n "(cached) " >&6
2756 if test -n "$LIPO"; then
2757 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
2759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2763 test -z "$as_dir" && as_dir
=.
2764 for ac_exec_ext
in '' $ac_executable_extensions; do
2765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2766 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
2767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776 LIPO
=$ac_cv_prog_LIPO
2777 if test -n "$LIPO"; then
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2779 $as_echo "$LIPO" >&6; }
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2782 $as_echo "no" >&6; }
2787 if test -z "$ac_cv_prog_LIPO"; then
2789 # Extract the first word of "lipo", so it can be a program name with args.
2790 set dummy lipo
; ac_word
=$2
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2792 $as_echo_n "checking for $ac_word... " >&6; }
2793 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
2794 $as_echo_n "(cached) " >&6
2796 if test -n "$ac_ct_LIPO"; then
2797 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
2799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2803 test -z "$as_dir" && as_dir
=.
2804 for ac_exec_ext
in '' $ac_executable_extensions; do
2805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2806 ac_cv_prog_ac_ct_LIPO
="lipo"
2807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2816 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
2817 if test -n "$ac_ct_LIPO"; then
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2819 $as_echo "$ac_ct_LIPO" >&6; }
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2822 $as_echo "no" >&6; }
2825 if test "x$ac_ct_LIPO" = x
; then
2828 case $cross_compiling:$ac_tool_warned in
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2832 ac_tool_warned
=yes ;;
2837 LIPO
="$ac_cv_prog_LIPO"
2840 if test -n "$ac_tool_prefix"; then
2841 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2842 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2844 $as_echo_n "checking for $ac_word... " >&6; }
2845 if test "${ac_cv_prog_NM+set}" = set; then :
2846 $as_echo_n "(cached) " >&6
2848 if test -n "$NM"; then
2849 ac_cv_prog_NM
="$NM" # Let the user override the test.
2851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2855 test -z "$as_dir" && as_dir
=.
2856 for ac_exec_ext
in '' $ac_executable_extensions; do
2857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858 ac_cv_prog_NM
="${ac_tool_prefix}nm"
2859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 if test -n "$NM"; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2871 $as_echo "$NM" >&6; }
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874 $as_echo "no" >&6; }
2879 if test -z "$ac_cv_prog_NM"; then
2881 # Extract the first word of "nm", so it can be a program name with args.
2882 set dummy nm
; ac_word
=$2
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884 $as_echo_n "checking for $ac_word... " >&6; }
2885 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
2886 $as_echo_n "(cached) " >&6
2888 if test -n "$ac_ct_NM"; then
2889 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
2891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2895 test -z "$as_dir" && as_dir
=.
2896 for ac_exec_ext
in '' $ac_executable_extensions; do
2897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2898 ac_cv_prog_ac_ct_NM
="nm"
2899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2908 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
2909 if test -n "$ac_ct_NM"; then
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
2911 $as_echo "$ac_ct_NM" >&6; }
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914 $as_echo "no" >&6; }
2917 if test "x$ac_ct_NM" = x
; then
2920 case $cross_compiling:$ac_tool_warned in
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2924 ac_tool_warned
=yes ;;
2932 if test -n "$ac_tool_prefix"; then
2933 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2934 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2938 $as_echo_n "(cached) " >&6
2940 if test -n "$RANLIB"; then
2941 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2947 test -z "$as_dir" && as_dir
=.
2948 for ac_exec_ext
in '' $ac_executable_extensions; do
2949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2950 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 RANLIB
=$ac_cv_prog_RANLIB
2961 if test -n "$RANLIB"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2963 $as_echo "$RANLIB" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2971 if test -z "$ac_cv_prog_RANLIB"; then
2972 ac_ct_RANLIB
=$RANLIB
2973 # Extract the first word of "ranlib", so it can be a program name with args.
2974 set dummy ranlib
; ac_word
=$2
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2976 $as_echo_n "checking for $ac_word... " >&6; }
2977 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2978 $as_echo_n "(cached) " >&6
2980 if test -n "$ac_ct_RANLIB"; then
2981 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir
=.
2988 for ac_exec_ext
in '' $ac_executable_extensions; do
2989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3000 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3001 if test -n "$ac_ct_RANLIB"; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3003 $as_echo "$ac_ct_RANLIB" >&6; }
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006 $as_echo "no" >&6; }
3009 if test "x$ac_ct_RANLIB" = x
; then
3012 case $cross_compiling:$ac_tool_warned in
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3016 ac_tool_warned
=yes ;;
3018 RANLIB
=$ac_ct_RANLIB
3021 RANLIB
="$ac_cv_prog_RANLIB"
3024 if test -n "$ac_tool_prefix"; then
3025 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3026 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if test "${ac_cv_prog_STRIP+set}" = set; then :
3030 $as_echo_n "(cached) " >&6
3032 if test -n "$STRIP"; then
3033 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir
=.
3040 for ac_exec_ext
in '' $ac_executable_extensions; do
3041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 STRIP
=$ac_cv_prog_STRIP
3053 if test -n "$STRIP"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3055 $as_echo "$STRIP" >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3063 if test -z "$ac_cv_prog_STRIP"; then
3065 # Extract the first word of "strip", so it can be a program name with args.
3066 set dummy strip
; ac_word
=$2
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068 $as_echo_n "checking for $ac_word... " >&6; }
3069 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3070 $as_echo_n "(cached) " >&6
3072 if test -n "$ac_ct_STRIP"; then
3073 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3079 test -z "$as_dir" && as_dir
=.
3080 for ac_exec_ext
in '' $ac_executable_extensions; do
3081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3082 ac_cv_prog_ac_ct_STRIP
="strip"
3083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3093 if test -n "$ac_ct_STRIP"; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3095 $as_echo "$ac_ct_STRIP" >&6; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3098 $as_echo "no" >&6; }
3101 if test "x$ac_ct_STRIP" = x
; then
3104 case $cross_compiling:$ac_tool_warned in
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3108 ac_tool_warned
=yes ;;
3113 STRIP
="$ac_cv_prog_STRIP"
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3117 $as_echo_n "checking whether ln -s works... " >&6; }
3119 if test "$LN_S" = "ln -s"; then
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3121 $as_echo "yes" >&6; }
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3124 $as_echo "no, using $LN_S" >&6; }
3130 ac_cpp
='$CPP $CPPFLAGS'
3131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3134 if test -n "$ac_tool_prefix"; then
3135 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3136 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3138 $as_echo_n "checking for $ac_word... " >&6; }
3139 if test "${ac_cv_prog_CC+set}" = set; then :
3140 $as_echo_n "(cached) " >&6
3142 if test -n "$CC"; then
3143 ac_cv_prog_CC
="$CC" # Let the user override the test.
3145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3149 test -z "$as_dir" && as_dir
=.
3150 for ac_exec_ext
in '' $ac_executable_extensions; do
3151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3152 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3163 if test -n "$CC"; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3165 $as_echo "$CC" >&6; }
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3168 $as_echo "no" >&6; }
3173 if test -z "$ac_cv_prog_CC"; then
3175 # Extract the first word of "gcc", so it can be a program name with args.
3176 set dummy gcc
; ac_word
=$2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 $as_echo_n "checking for $ac_word... " >&6; }
3179 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3180 $as_echo_n "(cached) " >&6
3182 if test -n "$ac_ct_CC"; then
3183 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3189 test -z "$as_dir" && as_dir
=.
3190 for ac_exec_ext
in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3192 ac_cv_prog_ac_ct_CC
="gcc"
3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3202 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3203 if test -n "$ac_ct_CC"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3205 $as_echo "$ac_ct_CC" >&6; }
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3211 if test "x$ac_ct_CC" = x
; then
3214 case $cross_compiling:$ac_tool_warned in
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3218 ac_tool_warned
=yes ;;
3226 if test -z "$CC"; then
3227 if test -n "$ac_tool_prefix"; then
3228 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3229 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3231 $as_echo_n "checking for $ac_word... " >&6; }
3232 if test "${ac_cv_prog_CC+set}" = set; then :
3233 $as_echo_n "(cached) " >&6
3235 if test -n "$CC"; then
3236 ac_cv_prog_CC
="$CC" # Let the user override the test.
3238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3242 test -z "$as_dir" && as_dir
=.
3243 for ac_exec_ext
in '' $ac_executable_extensions; do
3244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3245 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3256 if test -n "$CC"; then
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3258 $as_echo "$CC" >&6; }
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261 $as_echo "no" >&6; }
3267 if test -z "$CC"; then
3268 # Extract the first word of "cc", so it can be a program name with args.
3269 set dummy cc
; ac_word
=$2
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3271 $as_echo_n "checking for $ac_word... " >&6; }
3272 if test "${ac_cv_prog_CC+set}" = set; then :
3273 $as_echo_n "(cached) " >&6
3275 if test -n "$CC"; then
3276 ac_cv_prog_CC
="$CC" # Let the user override the test.
3279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3283 test -z "$as_dir" && as_dir
=.
3284 for ac_exec_ext
in '' $ac_executable_extensions; do
3285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3286 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3287 ac_prog_rejected
=yes
3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3298 if test $ac_prog_rejected = yes; then
3299 # We found a bogon in the path, so make sure we never use it.
3300 set dummy
$ac_cv_prog_CC
3302 if test $# != 0; then
3303 # We chose a different compiler from the bogus one.
3304 # However, it has the same basename, so the bogon will be chosen
3305 # first if we set CC to just the basename; use the full file name.
3307 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3313 if test -n "$CC"; then
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3315 $as_echo "$CC" >&6; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3323 if test -z "$CC"; then
3324 if test -n "$ac_tool_prefix"; then
3325 for ac_prog
in cl.exe
3327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3328 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3330 $as_echo_n "checking for $ac_word... " >&6; }
3331 if test "${ac_cv_prog_CC+set}" = set; then :
3332 $as_echo_n "(cached) " >&6
3334 if test -n "$CC"; then
3335 ac_cv_prog_CC
="$CC" # Let the user override the test.
3337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3341 test -z "$as_dir" && as_dir
=.
3342 for ac_exec_ext
in '' $ac_executable_extensions; do
3343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3344 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3355 if test -n "$CC"; then
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3357 $as_echo "$CC" >&6; }
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3360 $as_echo "no" >&6; }
3364 test -n "$CC" && break
3367 if test -z "$CC"; then
3369 for ac_prog
in cl.exe
3371 # Extract the first word of "$ac_prog", so it can be a program name with args.
3372 set dummy
$ac_prog; ac_word
=$2
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3374 $as_echo_n "checking for $ac_word... " >&6; }
3375 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3376 $as_echo_n "(cached) " >&6
3378 if test -n "$ac_ct_CC"; then
3379 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3385 test -z "$as_dir" && as_dir
=.
3386 for ac_exec_ext
in '' $ac_executable_extensions; do
3387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3388 ac_cv_prog_ac_ct_CC
="$ac_prog"
3389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3398 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3399 if test -n "$ac_ct_CC"; then
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3401 $as_echo "$ac_ct_CC" >&6; }
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3404 $as_echo "no" >&6; }
3408 test -n "$ac_ct_CC" && break
3411 if test "x$ac_ct_CC" = x
; then
3414 case $cross_compiling:$ac_tool_warned in
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3418 ac_tool_warned
=yes ;;
3427 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3429 as_fn_error
"no acceptable C compiler found in \$PATH
3430 See \`config.log' for more details." "$LINENO" 5; }
3432 # Provide some information about the compiler.
3433 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3436 for ac_option
in --version -v -V -qversion; do
3437 { { ac_try
="$ac_compiler $ac_option >&5"
3439 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3440 *) ac_try_echo=$ac_try;;
3442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3443 $as_echo "$ac_try_echo"; } >&5
3444 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3446 if test -s conftest.err; then
3448 ... rest of stderr output deleted ...
3449 10q' conftest.err >conftest.er1
3450 cat conftest.er1 >&5
3451 rm -f conftest.er1 conftest.err
3453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3454 test $ac_status = 0; }
3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3469 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3470 (eval $ac_link) 2>&5
3472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3473 test $ac_status = 0; }; then :
3478 if test x$gcc_no_link = xyes; then
3479 # Setting cross_compile will disable run tests; it will
3480 # also disable AC_CHECK_FILE but that's generally
3481 # correct if we can't link.
3485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486 /* end confdefs.h. */
3496 ac_clean_files_save=$ac_clean_files
3497 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3498 # Try to create an executable without -o first, disregard a.out.
3499 # It will help us diagnose broken compilers, and finding out an intuition
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3502 $as_echo_n "checking for C compiler default output file name... " >&6; }
3503 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3505 # The possible output files:
3506 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3509 for ac_file in $ac_files
3512 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3513 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3518 if { { ac_try="$ac_link_default"
3520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3521 *) ac_try_echo
=$ac_try;;
3523 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3524 $as_echo "$ac_try_echo"; } >&5
3525 (eval "$ac_link_default") 2>&5
3527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3528 test $ac_status = 0; }; then :
3529 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3530 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3531 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3532 # so that the user can short-circuit this test for compilers unknown to
3534 for ac_file
in $ac_files ''
3536 test -f "$ac_file" ||
continue
3538 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3541 # We found the default executable, but exeext='' is most
3545 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3547 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3549 # We set ac_cv_exeext here because the later test for it is not
3550 # safe: cross compilers may not add the suffix if given an `-o'
3551 # argument, so we may need to know it at that point already.
3552 # Even if this section looks crufty: it has the advantage of
3559 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3565 $as_echo "$ac_file" >&6; }
3566 if test -z "$ac_file"; then :
3567 $as_echo "$as_me: failed program was:" >&5
3568 sed 's/^/| /' conftest.
$ac_ext >&5
3570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3572 { as_fn_set_status
77
3573 as_fn_error
"C compiler cannot create executables
3574 See \`config.log' for more details." "$LINENO" 5; }; }
3576 ac_exeext
=$ac_cv_exeext
3578 # Check that the compiler produces executables we can run. If not, either
3579 # the compiler is broken, or we cross compile.
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3581 $as_echo_n "checking whether the C compiler works... " >&6; }
3582 # If not cross compiling, check that we can run a simple program.
3583 if test "$cross_compiling" != yes; then
3584 if { ac_try
='./$ac_file'
3585 { { case "(($ac_try" in
3586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3587 *) ac_try_echo=$ac_try;;
3589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3590 $as_echo "$ac_try_echo"; } >&5
3591 (eval "$ac_try") 2>&5
3593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3594 test $ac_status = 0; }; }; then
3597 if test "$cross_compiling" = maybe; then
3600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3602 as_fn_error "cannot run C compiled programs.
3603 If you meant to cross compile
, use \
`--host'.
3604 See \`config.log
' for more details." "$LINENO" 5; }
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3609 $as_echo "yes" >&6; }
3611 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3612 ac_clean_files=$ac_clean_files_save
3613 # Check that the compiler produces executables we can run. If not, either
3614 # the compiler is broken, or we cross compile.
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3616 $as_echo_n "checking whether we are cross compiling... " >&6; }
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3618 $as_echo "$cross_compiling" >&6; }
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3621 $as_echo_n "checking for suffix of executables... " >&6; }
3622 if { { ac_try="$ac_link"
3624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3625 *) ac_try_echo=$ac_try;;
3627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3628 $as_echo "$ac_try_echo"; } >&5
3629 (eval "$ac_link") 2>&5
3631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3632 test $ac_status = 0; }; then :
3633 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3634 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3635 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3637 for ac_file
in conftest.exe conftest conftest.
*; do
3638 test -f "$ac_file" ||
continue
3640 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3641 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3649 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3650 See \`config.log' for more details." "$LINENO" 5; }
3652 rm -f conftest
$ac_cv_exeext
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3654 $as_echo "$ac_cv_exeext" >&6; }
3656 rm -f conftest.
$ac_ext
3657 EXEEXT
=$ac_cv_exeext
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3661 $as_echo_n "checking for suffix of object files... " >&6; }
3662 if test "${ac_cv_objext+set}" = set; then :
3663 $as_echo_n "(cached) " >&6
3665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3666 /* end confdefs.h. */
3676 rm -f conftest.o conftest.obj
3677 if { { ac_try
="$ac_compile"
3679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3680 *) ac_try_echo=$ac_try;;
3682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3683 $as_echo "$ac_try_echo"; } >&5
3684 (eval "$ac_compile") 2>&5
3686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3687 test $ac_status = 0; }; then :
3688 for ac_file in conftest.o conftest.obj conftest.*; do
3689 test -f "$ac_file" || continue;
3691 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3692 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3697 $as_echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.$ac_ext >&5
3700 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3702 as_fn_error "cannot compute suffix of object files
: cannot compile
3703 See \
`config.log' for more details." "$LINENO" 5; }
3705 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3708 $as_echo "$ac_cv_objext" >&6; }
3709 OBJEXT=$ac_cv_objext
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3712 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3713 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3714 $as_echo_n "(cached) " >&6
3716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3717 /* end confdefs.h. */
3730 if ac_fn_c_try_compile "$LINENO"; then :
3735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3736 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3740 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3741 if test $ac_compiler_gnu = yes; then
3746 ac_test_CFLAGS=${CFLAGS+set}
3747 ac_save_CFLAGS=$CFLAGS
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3749 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3750 if test "${ac_cv_prog_cc_g+set}" = set; then :
3751 $as_echo_n "(cached) " >&6
3753 ac_save_c_werror_flag=$ac_c_werror_flag
3754 ac_c_werror_flag=yes
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h. */
3768 if ac_fn_c_try_compile "$LINENO"; then :
3772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3773 /* end confdefs.h. */
3783 if ac_fn_c_try_compile "$LINENO"; then :
3786 ac_c_werror_flag=$ac_save_c_werror_flag
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3799 if ac_fn_c_try_compile "$LINENO"; then :
3802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3807 ac_c_werror_flag=$ac_save_c_werror_flag
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3810 $as_echo "$ac_cv_prog_cc_g" >&6; }
3811 if test "$ac_test_CFLAGS" = set; then
3812 CFLAGS=$ac_save_CFLAGS
3813 elif test $ac_cv_prog_cc_g = yes; then
3814 if test "$GCC" = yes; then
3820 if test "$GCC" = yes; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3827 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3828 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3829 $as_echo_n "(cached) " >&6
3831 ac_cv_prog_cc_c89=no
3833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3834 /* end confdefs.h. */
3837 #include <sys/types.h>
3838 #include <sys/stat.h>
3839 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3840 struct buf { int x; };
3841 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3842 static char *e (p, i)
3848 static char *f (char * (*g) (char **, int), char **p, ...)
3853 s = g (p, va_arg (v,int));
3858 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3859 function prototypes and stuff, but not '\xHH' hex character constants.
3860 These don't provoke an error unfortunately, instead are silently treated
3861 as 'x'. The following induces an error, until -std is added to get
3862 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3863 array size at least. It's necessary to write '\x00'==0 to get something
3864 that's true only with -std. */
3865 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3867 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3868 inside strings and character constants. */
3870 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3872 int test (int i, double x);
3873 struct s1 {int (*f) (int a);};
3874 struct s2 {int (*f) (double a);};
3875 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3881 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3886 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3887 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3889 CC="$ac_save_CC $ac_arg"
3890 if ac_fn_c_try_compile "$LINENO"; then :
3891 ac_cv_prog_cc_c89=$ac_arg
3893 rm -f core conftest.err conftest.$ac_objext
3894 test "x$ac_cv_prog_cc_c89" != "xno" && break
3896 rm -f conftest.$ac_ext
3901 case "x$ac_cv_prog_cc_c89" in
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3904 $as_echo "none needed" >&6; } ;;
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3907 $as_echo "unsupported" >&6; } ;;
3909 CC="$CC $ac_cv_prog_cc_c89"
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3911 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3913 if test "x$ac_cv_prog_cc_c89" != xno; then :
3918 ac_cpp='$CPP $CPPFLAGS'
3919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3924 ac_cpp='$CPP $CPPFLAGS'
3925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3929 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3930 # On Suns, sometimes $CPP names a directory.
3931 if test -n "$CPP" && test -d "$CPP"; then
3934 if test -z "$CPP"; then
3935 if test "${ac_cv_prog_CPP+set}" = set; then :
3936 $as_echo_n "(cached) " >&6
3938 # Double quotes because CPP needs to be expanded
3939 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3942 for ac_c_preproc_warn_flag in '' yes
3944 # Use a header file that comes with gcc, so configuring glibc
3945 # with a fresh cross-compiler works.
3946 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3947 # <limits.h> exists even on freestanding compilers.
3948 # On the NeXT, cc -E runs the code through the compiler's parser,
3949 # not just through cpp. "Syntax error" is here to catch this case.
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3953 # include <limits.h>
3955 # include <assert.h>
3959 if ac_fn_c_try_cpp "$LINENO"; then :
3962 # Broken: fails on valid input.
3965 rm -f conftest.err conftest.$ac_ext
3967 # OK, works on sane cases. Now check whether nonexistent headers
3968 # can be detected and how.
3969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3970 /* end confdefs.h. */
3971 #include <ac_nonexistent.h>
3973 if ac_fn_c_try_cpp "$LINENO"; then :
3974 # Broken: success on invalid input.
3977 # Passes both tests.
3981 rm -f conftest.err conftest.$ac_ext
3984 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3985 rm -f conftest.err conftest.
$ac_ext
3986 if $ac_preproc_ok; then :
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3999 $as_echo "$CPP" >&6; }
4001 for ac_c_preproc_warn_flag
in '' yes
4003 # Use a header file that comes with gcc, so configuring glibc
4004 # with a fresh cross-compiler works.
4005 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4006 # <limits.h> exists even on freestanding compilers.
4007 # On the NeXT, cc -E runs the code through the compiler's parser,
4008 # not just through cpp. "Syntax error" is here to catch this case.
4009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4012 # include <limits.h>
4014 # include <assert.h>
4018 if ac_fn_c_try_cpp
"$LINENO"; then :
4021 # Broken: fails on valid input.
4024 rm -f conftest.err conftest.
$ac_ext
4026 # OK, works on sane cases. Now check whether nonexistent headers
4027 # can be detected and how.
4028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4029 /* end confdefs.h. */
4030 #include <ac_nonexistent.h>
4032 if ac_fn_c_try_cpp
"$LINENO"; then :
4033 # Broken: success on invalid input.
4036 # Passes both tests.
4040 rm -f conftest.err conftest.
$ac_ext
4043 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4044 rm -f conftest.err conftest.
$ac_ext
4045 if $ac_preproc_ok; then :
4048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4050 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4051 See \`config.log' for more details." "$LINENO" 5; }
4055 ac_cpp
='$CPP $CPPFLAGS'
4056 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4057 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4061 ac_c_preproc_warn_flag
=yes
4065 # The cast to long int works around a bug in the HP C Compiler
4066 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4067 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4068 # This bug is HP SR number 8606223364.
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
4070 $as_echo_n "checking size of double... " >&6; }
4071 if test "${ac_cv_sizeof_double+set}" = set; then :
4072 $as_echo_n "(cached) " >&6
4074 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
4077 if test "$ac_cv_type_double" = yes; then
4078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080 { as_fn_set_status
77
4081 as_fn_error
"cannot compute sizeof (double)
4082 See \`config.log' for more details." "$LINENO" 5; }; }
4084 ac_cv_sizeof_double
=0
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
4090 $as_echo "$ac_cv_sizeof_double" >&6; }
4094 cat >>confdefs.h
<<_ACEOF
4095 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
4099 # The cast to long int works around a bug in the HP C Compiler
4100 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4101 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4102 # This bug is HP SR number 8606223364.
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
4104 $as_echo_n "checking size of long double... " >&6; }
4105 if test "${ac_cv_sizeof_long_double+set}" = set; then :
4106 $as_echo_n "(cached) " >&6
4108 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then :
4111 if test "$ac_cv_type_long_double" = yes; then
4112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4114 { as_fn_set_status
77
4115 as_fn_error
"cannot compute sizeof (long double)
4116 See \`config.log' for more details." "$LINENO" 5; }; }
4118 ac_cv_sizeof_long_double
=0
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
4124 $as_echo "$ac_cv_sizeof_long_double" >&6; }
4128 cat >>confdefs.h
<<_ACEOF
4129 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
4133 as_fn_arith
$ac_cv_sizeof_double \
* 8 && double_type_size
=$as_val
4134 as_fn_arith
$ac_cv_sizeof_long_double \
* 8 && long_double_type_size
=$as_val
4139 for ac_header
in inttypes.h stdint.h stdlib.h ftw.h \
4140 unistd.h sys
/stat.h sys
/types.h \
4141 string.h
strings.h memory.h
4143 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4144 ac_fn_c_check_header_preproc
"$LINENO" "$ac_header" "$as_ac_Header"
4145 eval as_val
=\$
$as_ac_Header
4146 if test "x$as_val" = x
""yes; then :
4147 cat >>confdefs.h
<<_ACEOF
4148 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4155 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4156 if test "${ac_cv_path_GREP+set}" = set; then :
4157 $as_echo_n "(cached) " >&6
4159 if test -z "$GREP"; then
4160 ac_path_GREP_found
=false
4161 # Loop through the user's path and test for each of PROGNAME-LIST
4162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4163 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4166 test -z "$as_dir" && as_dir
=.
4167 for ac_prog
in grep ggrep
; do
4168 for ac_exec_ext
in '' $ac_executable_extensions; do
4169 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4170 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4171 # Check for GNU ac_path_GREP and select it if it is found.
4172 # Check for GNU $ac_path_GREP
4173 case `"$ac_path_GREP" --version 2>&1` in
4175 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4178 $as_echo_n 0123456789 >"conftest.in"
4181 cat "conftest.in" "conftest.in" >"conftest.tmp"
4182 mv "conftest.tmp" "conftest.in"
4183 cp "conftest.in" "conftest.nl"
4184 $as_echo 'GREP' >> "conftest.nl"
4185 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4186 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4187 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4188 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4189 # Best one so far, save it but keep looking for a better one
4190 ac_cv_path_GREP
="$ac_path_GREP"
4191 ac_path_GREP_max
=$ac_count
4193 # 10*(2^10) chars as input seems more than enough
4194 test $ac_count -gt 10 && break
4196 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4199 $ac_path_GREP_found && break 3
4204 if test -z "$ac_cv_path_GREP"; then
4205 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4208 ac_cv_path_GREP
=$GREP
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4213 $as_echo "$ac_cv_path_GREP" >&6; }
4214 GREP
="$ac_cv_path_GREP"
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4218 $as_echo_n "checking for egrep... " >&6; }
4219 if test "${ac_cv_path_EGREP+set}" = set; then :
4220 $as_echo_n "(cached) " >&6
4222 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4223 then ac_cv_path_EGREP
="$GREP -E"
4225 if test -z "$EGREP"; then
4226 ac_path_EGREP_found
=false
4227 # Loop through the user's path and test for each of PROGNAME-LIST
4228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4229 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4232 test -z "$as_dir" && as_dir
=.
4233 for ac_prog
in egrep; do
4234 for ac_exec_ext
in '' $ac_executable_extensions; do
4235 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4236 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4237 # Check for GNU ac_path_EGREP and select it if it is found.
4238 # Check for GNU $ac_path_EGREP
4239 case `"$ac_path_EGREP" --version 2>&1` in
4241 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4244 $as_echo_n 0123456789 >"conftest.in"
4247 cat "conftest.in" "conftest.in" >"conftest.tmp"
4248 mv "conftest.tmp" "conftest.in"
4249 cp "conftest.in" "conftest.nl"
4250 $as_echo 'EGREP' >> "conftest.nl"
4251 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4252 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4253 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4254 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4255 # Best one so far, save it but keep looking for a better one
4256 ac_cv_path_EGREP
="$ac_path_EGREP"
4257 ac_path_EGREP_max
=$ac_count
4259 # 10*(2^10) chars as input seems more than enough
4260 test $ac_count -gt 10 && break
4262 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4265 $ac_path_EGREP_found && break 3
4270 if test -z "$ac_cv_path_EGREP"; then
4271 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4274 ac_cv_path_EGREP
=$EGREP
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4280 $as_echo "$ac_cv_path_EGREP" >&6; }
4281 EGREP
="$ac_cv_path_EGREP"
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4285 $as_echo_n "checking for ANSI C header files... " >&6; }
4286 if test "${ac_cv_header_stdc+set}" = set; then :
4287 $as_echo_n "(cached) " >&6
4289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4290 /* end confdefs.h. */
4304 if ac_fn_c_try_compile
"$LINENO"; then :
4305 ac_cv_header_stdc
=yes
4307 ac_cv_header_stdc
=no
4309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4311 if test $ac_cv_header_stdc = yes; then
4312 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4319 $EGREP "memchr" >/dev
/null
2>&1; then :
4322 ac_cv_header_stdc
=no
4328 if test $ac_cv_header_stdc = yes; then
4329 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4336 $EGREP "free" >/dev
/null
2>&1; then :
4339 ac_cv_header_stdc
=no
4345 if test $ac_cv_header_stdc = yes; then
4346 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4347 if test "$cross_compiling" = yes; then :
4350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4354 #if ((' ' & 0x0FF) == 0x020)
4355 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4356 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4358 # define ISLOWER(c) \
4359 (('a' <= (c) && (c) <= 'i') \
4360 || ('j' <= (c) && (c) <= 'r') \
4361 || ('s' <= (c) && (c) <= 'z'))
4362 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4365 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4370 for (i = 0; i < 256; i++)
4371 if (XOR (islower (i), ISLOWER (i))
4372 || toupper (i) != TOUPPER (i))
4377 if ac_fn_c_try_run
"$LINENO"; then :
4380 ac_cv_header_stdc
=no
4382 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4383 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4389 $as_echo "$ac_cv_header_stdc" >&6; }
4390 if test $ac_cv_header_stdc = yes; then
4392 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4397 # Check for decimal float support.
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
4399 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
4400 if test "${libgcc_cv_dfp+set}" = set; then :
4401 $as_echo_n "(cached) " >&6
4403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4414 FE_INVALID|FE_DIVBYZERO|FE_OVERFLOW|FE_UNDERFLOW|FE_INEXACT;
4420 if ac_fn_c_try_compile
"$LINENO"; then :
4425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
4428 $as_echo "$libgcc_cv_dfp" >&6; }
4429 decimal_float
=$libgcc_cv_dfp
4433 # Check whether --enable-decimal-float was given.
4434 if test "${enable_decimal_float+set}" = set; then :
4435 enableval
=$enable_decimal_float;
4436 case $enable_decimal_float in
4437 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
4438 *) as_fn_error
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
4439 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
4445 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
4446 i?
86*-*-elfiamcu | i?
86*-*-gnu* | \
4447 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
4448 i?
86*-*-cygwin* | x86_64
*-*-cygwin*)
4449 enable_decimal_float
=yes
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
4453 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
4454 enable_decimal_float
=no
4461 # x86's use BID format instead of DPD
4462 case x
$enable_decimal_float in
4465 i?
86*-*-* | x86_64
*-*-*)
4466 enable_decimal_float
=bid
4469 enable_decimal_float
=dpd
4472 default_decimal_float
=$enable_decimal_float
4475 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
4476 # dependency on libdecnumber.
4477 default_decimal_float
=dpd
4484 # Check for fixed-point support.
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
4486 $as_echo_n "checking whether fixed-point is supported... " >&6; }
4487 if test "${libgcc_cv_fixed_point+set}" = set; then :
4488 $as_echo_n "(cached) " >&6
4490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4494 if ac_fn_c_try_compile
"$LINENO"; then :
4495 libgcc_cv_fixed_point
=yes
4497 libgcc_cv_fixed_point
=no
4499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
4502 $as_echo "$libgcc_cv_fixed_point" >&6; }
4503 fixed_point
=$libgcc_cv_fixed_point
4506 # For platforms with the unwind ABI which includes an unwind library,
4507 # libunwind, we can choose to use the system libunwind.
4508 # config.gcc also contains tests of with_system_libunwind.
4511 # Check whether --with-system-libunwind was given.
4512 if test "${with_system_libunwind+set}" = set; then :
4513 withval
=$with_system_libunwind;
4516 # If system-libunwind was not specifically set, pick a default setting.
4517 if test x
$with_system_libunwind = x
; then
4519 ia64-
*-hpux*) with_system_libunwind
=yes ;;
4520 *) with_system_libunwind
=no
;;
4523 # Based on system-libunwind and target, do we have ipinfo?
4524 if test x
$with_system_libunwind = xyes
; then
4526 ia64-
*-*) have_unwind_getipinfo
=no
;;
4527 *) have_unwind_getipinfo
=yes ;;
4530 # Darwin before version 9 does not have _Unwind_GetIPInfo.
4533 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
4534 *) have_unwind_getipinfo
=yes ;;
4539 if test x
$have_unwind_getipinfo = xyes
; then
4541 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
4546 # Check if the compiler is configured for setjmp/longjmp exceptions.
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler is configured for setjmp/longjmp exceptions" >&5
4548 $as_echo_n "checking whether the compiler is configured for setjmp/longjmp exceptions... " >&6; }
4549 if test "${ac_cv_sjlj_exceptions+set}" = set; then :
4550 $as_echo_n "(cached) " >&6
4552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4553 /* end confdefs.h. */
4554 #ifdef __USING_SJLJ_EXCEPTIONS__
4565 if ac_fn_c_try_compile
"$LINENO"; then :
4566 ac_cv_sjlj_exceptions
=no
4568 ac_cv_sjlj_exceptions
=yes
4570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sjlj_exceptions" >&5
4573 $as_echo "$ac_cv_sjlj_exceptions" >&6; }
4575 # Check whether --enable-explicit-exception-frame-registration was given.
4576 if test "${enable_explicit_exception_frame_registration+set}" = set; then :
4577 enableval
=$enable_explicit_exception_frame_registration;
4578 force_explicit_eh_registry
=
4579 if test "$enable_explicit_exception_frame_registration" = yes; then
4580 if test $ac_cv_sjlj_exceptions = yes; then
4581 as_fn_error
"Can't --enable-explicit-exception-frame-registration
4582 with setjmp/longjmp exceptions" "$LINENO" 5
4584 force_explicit_eh_registry
=-DUSE_EH_FRAME_REGISTRY_ALWAYS
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4592 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4593 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
4594 $as_echo_n "(cached) " >&6
4596 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4597 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4598 acl_cv_prog_gnu_ld
=yes
4600 acl_cv_prog_gnu_ld
=no
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4604 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4605 with_gnu_ld
=$acl_cv_prog_gnu_ld
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
4609 $as_echo_n "checking for thread model used by GCC... " >&6; }
4610 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
4612 $as_echo "$target_thread_file" >&6; }
4614 # Check for assembler CFI support.
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
4616 $as_echo_n "checking whether assembler supports CFI directives... " >&6; }
4617 if test "${libgcc_cv_cfi+set}" = set; then :
4618 $as_echo_n "(cached) " >&6
4620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4625 .cfi_personality 0, symbol\n\
4628 if ac_fn_c_try_compile
"$LINENO"; then :
4633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
4636 $as_echo "$libgcc_cv_cfi" >&6; }
4638 # Check 32bit or 64bit. In the case of MIPS, this really determines the
4639 # word size rather than the address size.
4640 cat > conftest.c
<<EOF
4641 #if defined(__x86_64__) || (!defined(__i386__) && defined(__LP64__)) \
4642 || defined(__mips64)
4648 eval `${CC-cc} -E conftest.c | grep host_address=`
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target is hard-float" >&5
4654 $as_echo_n "checking whether the target is hard-float... " >&6; }
4655 if test "${libgcc_cv_mips_hard_float+set}" = set; then :
4656 $as_echo_n "(cached) " >&6
4658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4660 #ifndef __mips_hard_float
4664 if ac_fn_c_try_compile
"$LINENO"; then :
4665 libgcc_cv_mips_hard_float
=yes
4667 libgcc_cv_mips_hard_float
=no
4669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_mips_hard_float" >&5
4672 $as_echo "$libgcc_cv_mips_hard_float" >&6; }
4677 # Check for system-provided CRTs on Solaris 11.x and Solaris 12.
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system-provided CRTs on Solaris" >&5
4679 $as_echo_n "checking system-provided CRTs on Solaris... " >&6; }
4680 if test "${libgcc_cv_solaris_crts+set}" = set; then :
4681 $as_echo_n "(cached) " >&6
4683 libgcc_cv_solaris_crts
=no
4684 libgcc_sysroot
="`${CC} -print-sysroot`"
4685 libgcc_libdir
="$libgcc_sysroot/usr/lib"
4686 # At the time they were added, gcrt1.o became a symlink for backwards
4687 # compatibility on x86, while crt1.o was added on sparc, so check for that.
4689 i?
86-*-solaris2* | x86_64-
*-solaris2*)
4690 if test -h "$libgcc_libdir/gcrt1.o"; then libgcc_cv_solaris_crts
=yes; fi
4693 if test -f "$libgcc_libdir/crt1.o"; then libgcc_cv_solaris_crts
=yes; fi
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_solaris_crts" >&5
4698 $as_echo "$libgcc_cv_solaris_crts" >&6; }
4699 if test $libgcc_cv_solaris_crts = yes; then
4701 $as_echo "#define HAVE_SOLARIS_CRTS 1" >>confdefs.h
4707 # Determine the version of glibc, if any, used on the target.
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target glibc version" >&5
4709 $as_echo_n "checking for target glibc version... " >&6; }
4711 # Check whether --with-glibc-version was given.
4712 if test "${with_glibc_version+set}" = set; then :
4713 withval
=$with_glibc_version;
4714 if echo "$with_glibc_version" |
grep '^[0-9][0-9]*\.[0-9][0-9]*$'; then
4715 glibc_version_major
=`echo "$with_glibc_version" | sed -e 's/\..*//'`
4716 glibc_version_minor
=`echo "$with_glibc_version" | sed -e 's/.*\.//'`
4718 as_fn_error
"option --with-glibc-version requires a version number M.N" "$LINENO" 5
4722 if ac_fn_c_compute_int
"$LINENO" "__GLIBC__" "glibc_version_major" "#include <features.h>"; then :
4725 glibc_version_major
=0
4728 if ac_fn_c_compute_int
"$LINENO" "__GLIBC_MINOR__" "glibc_version_minor" "#include <features.h>"; then :
4731 glibc_version_minor
=0
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibc_version_major.$glibc_version_minor" >&5
4737 $as_echo "$glibc_version_major.$glibc_version_minor" >&6; }
4739 # Determine floating-point type for powerpc*-*-linux*.
4740 # Single-precision-only FPRs are not a supported configuration for
4741 # this target, so are not allowed for in this test.
4744 cat > conftest.c
<<EOF
4745 #ifdef __powerpc64__
4747 #elif defined _SOFT_FLOAT
4749 #elif defined _SOFT_DOUBLE
4751 #elif defined __NO_FPRS__
4757 eval `${CC-cc} -E conftest.c | grep ppc_fp_type=`
4759 # glibc 2.19 and later provide all the soft-fp functions, with proper
4760 # interactions with <fenv.h> exception and rounding mode handling, so
4761 # make libgcc's versions into compat symbols if a recent enough glibc
4762 # version is being used.
4764 case ${ppc_fp_type} in
4766 if test $glibc_version_major -gt 2 \
4767 ||
( test $glibc_version_major -eq 2 \
4768 && test $glibc_version_minor -ge 19 ); then
4769 ppc_fp_compat
="t-softfp-compat"
4777 # At present, we cannot turn -mfloat128 on via #pragma GCC target,
4778 # so just check if we have VSX (ISA 2.06) support to build the
4779 # software libraries, and whether the assembler can handle xsaddqp
4780 # for hardware support.
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 2.06 to build __float128 libraries" >&5
4783 $as_echo_n "checking for PowerPC ISA 2.06 to build __float128 libraries... " >&6; }
4784 if test "${libgcc_cv_powerpc_float128+set}" = set; then :
4785 $as_echo_n "(cached) " >&6
4787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4789 #pragma GCC target ("vsx")
4790 vector double dadd (vector double a, vector double b) { return a + b; }
4792 if ac_fn_c_try_compile
"$LINENO"; then :
4793 libgcc_cv_powerpc_float128
=yes
4795 libgcc_cv_powerpc_float128
=no
4797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_float128" >&5
4800 $as_echo "$libgcc_cv_powerpc_float128" >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PowerPC ISA 3.0 to build hardware __float128 libraries" >&5
4803 $as_echo_n "checking for PowerPC ISA 3.0 to build hardware __float128 libraries... " >&6; }
4804 if test "${libgcc_cv_powerpc_float128_hw+set}" = set; then :
4805 $as_echo_n "(cached) " >&6
4807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4809 #pragma GCC target ("vsx,power9-vector")
4810 #include <sys/auxv.h>
4812 #error "AT_PLATFORM is not defined"
4814 vector unsigned char (vector unsigned char a, vector unsigned char b)
4816 vector unsigned char ret;
4817 __asm__ ("xsaddqp %0,%1,%2" : "=v" (ret) : "v" (a), "v" (b));
4820 void *add_resolver (void) { return (void *) add; }
4821 __float128 add_ifunc (__float128, __float128)
4822 __attribute__ ((__ifunc__ ("add_resolver")));
4824 if ac_fn_c_try_compile
"$LINENO"; then :
4825 libgcc_cv_powerpc_float128_hw
=yes
4827 libgcc_cv_powerpc_float128_hw
=no
4829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_powerpc_float128_hw" >&5
4832 $as_echo "$libgcc_cv_powerpc_float128_hw" >&6; }
4835 # Collect host-machine-specific information.
4836 .
${srcdir}/config.
host
4838 # Used for constructing correct paths for offload compilers.
4840 real_host_noncanonical
=${host_noncanonical}
4841 if test x
"$enable_as_accelerator_for" != x
; then
4842 accel_dir_suffix
=/accel
/${target_noncanonical}
4843 real_host_noncanonical
=${enable_as_accelerator_for}
4848 if test x
"$enable_offload_targets" != x
; then
4849 extra_parts
="${extra_parts} crtoffloadbegin.o crtoffloadend.o crtoffloadtable.o"
4852 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
4853 # This is after config.host so we can augment tmake_file.
4854 # Link with -nostartfiles -nodefaultlibs since neither are present while
4857 i?
86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
4858 cat > conftest.s
<<EOF
4859 .section .eh_frame,"a",@unwind
4861 .section .jcr,"aw",@progbits
4864 if { ac_try
='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
4865 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4869 test $ac_status = 0; }; }; then
4870 tmake_file
="${tmake_file} i386/t-crtstuff"
4875 # Check if xtensa target is configured for windowed ABI and thus needs to use
4876 # custom unwind code.
4877 # This is after config.host so we can augment tmake_file.
4880 cat > conftest.c
<<EOF
4881 #ifdef __XTENSA_CALL0_ABI__
4885 if { ac_try
='${CC-cc} -E -o conftest.i conftest.c 1>&5'
4886 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4890 test $ac_status = 0; }; }; then
4891 tmake_file
="${tmake_file} xtensa/t-windowed"
4896 # Check for visibility support. This is after config.host so that
4897 # we can check for asm_hidden_op.
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
4899 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
4900 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then :
4901 $as_echo_n "(cached) " >&6
4904 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
4905 libgcc_cv_hidden_visibility_attribute
=no
4906 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
4907 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4911 test $ac_status = 0; }; }; then
4912 if grep "\\$asm_hidden_op.*foo" conftest.s
>/dev
/null
; then
4913 libgcc_cv_hidden_visibility_attribute
=yes
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
4920 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
4922 if test $libgcc_cv_hidden_visibility_attribute = yes; then
4923 vis_hide
='-fvisibility=hidden -DHIDE_EXPORTS'
4929 # See if we have thread-local storage. We can only test assembler
4930 # since link-time and run-time tests require the newly built
4931 # gcc, which can't be used to build executable due to that libgcc
4932 # is yet to be built here.
4934 # Check whether --enable-tls was given.
4935 if test "${enable_tls+set}" = set; then :
4936 enableval
=$enable_tls;
4937 case "$enableval" in
4939 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
4948 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
4949 if test "${gcc_cv_have_cc_tls+set}" = set; then :
4950 $as_echo_n "(cached) " >&6
4953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4954 /* end confdefs.h. */
4955 __thread int a; int b; int main() { return a = b; }
4957 if ac_fn_c_try_compile
"$LINENO"; then :
4958 gcc_cv_have_cc_tls
=yes
4960 gcc_cv_have_cc_tls
=no
4962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
4966 $as_echo "$gcc_cv_have_cc_tls" >&6; }
4968 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
4969 set_have_cc_tls
="-DHAVE_CC_TLS"
4973 # See if we have emulated thread-local storage.
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
4976 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
4977 if test "${gcc_cv_use_emutls+set}" = set; then :
4978 $as_echo_n "(cached) " >&6
4981 gcc_cv_use_emutls
=no
4982 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
4983 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
4984 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
4987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4988 test $ac_status = 0; }; }; then
4989 if grep __emutls_get_address conftest.s
> /dev
/null
; then
4990 gcc_cv_use_emutls
=yes
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
4997 $as_echo "$gcc_cv_use_emutls" >&6; }
4998 if test "$gcc_cv_use_emutls" = "yes" ; then
5000 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
5004 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
5005 set_use_emutls
="-DUSE_EMUTLS"
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for init priority support" >&5
5010 $as_echo_n "checking for init priority support... " >&6; }
5011 if test "${libgcc_cv_init_priority+set}" = set; then :
5012 $as_echo_n "(cached) " >&6
5015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5021 void ip (void) __attribute__ ((constructor (1)));
5026 if ac_fn_c_try_compile
"$LINENO"; then :
5027 libgcc_cv_init_priority
=yes
5029 libgcc_cv_init_priority
=no
5031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_init_priority" >&5
5034 $as_echo "$libgcc_cv_init_priority" >&6; }
5035 if test $libgcc_cv_init_priority = yes; then
5037 $as_echo "#define HAVE_INIT_PRIORITY 1" >>confdefs.h
5041 # Conditionalize the sfp-machine.h header for this target machine.
5042 if test -z "${sfp_machine_header}"; then
5043 sfp_machine_header
=$cpu_type/sfp-machine.h
5044 if test -f ${srcdir}/config
/${sfp_machine_header}; then
5047 sfp_machine_header
=no-sfp-machine.h
5052 # Conditionalize the makefile for this target machine.
5054 for f
in ${tmake_file}
5056 if test -f ${srcdir}/config
/$f
5058 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
5061 tmake_file
="${tmake_file_}"
5064 # Likewise export definitions for libgcc_tm.h
5068 tm_file_
="${tm_file_} \$(srcdir)/config/$f"
5070 tm_file
="${tm_file_}"
5074 # Map from thread model to thread header.
5076 case $target_thread_file in
5077 aix
) thread_header
=config
/rs6000
/gthr-aix.h
;;
5078 dce
) thread_header
=config
/pa
/gthr-dce.h
;;
5079 lynx
) thread_header
=config
/gthr-lynx.h
;;
5080 mipssde
) thread_header
=config
/mips
/gthr-mipssde.h
;;
5081 posix
) thread_header
=gthr-posix.h
;;
5082 rtems
) thread_header
=config
/gthr-rtems.h
;;
5083 single
) thread_header
=gthr-single.h
;;
5084 tpf
) thread_header
=config
/s390
/gthr-tpf.h
;;
5085 vxworks
) thread_header
=config
/gthr-vxworks.h
;;
5086 win32
) thread_header
=config
/i386
/gthr-win32.h
;;
5091 # Determine what GCC version number to use in filesystem paths.
5093 get_gcc_base_ver
="cat"
5095 # Check whether --with-gcc-major-version-only was given.
5096 if test "${with_gcc_major_version_only+set}" = set; then :
5097 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
5098 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
5106 # Substitute configuration variables
5116 # We need multilib support.
5117 ac_config_files
="$ac_config_files Makefile"
5119 ac_config_commands
="$ac_config_commands default"
5121 cat >confcache
<<\_ACEOF
5122 # This file is a shell script that caches the results of configure
5123 # tests run on this system so they can be shared between configure
5124 # scripts and configure runs, see configure's option --config-cache.
5125 # It is not useful on other systems. If it contains results you don't
5126 # want to keep, you may remove or edit it.
5128 # config.status only pays attention to the cache file if you give it
5129 # the --recheck option to rerun configure.
5131 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5132 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5137 # The following way of writing the cache mishandles newlines in values,
5138 # but we know of no workaround that is simple, portable, and efficient.
5139 # So, we kill variables containing newlines.
5140 # Ultrix sh set writes to stderr and can't be redirected directly,
5141 # and sets the high bit in the cache file unless we assign to the vars.
5143 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5144 eval ac_val
=\$
$ac_var
5148 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5149 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5152 _ | IFS | as_nl
) ;; #(
5153 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5154 *) { eval $ac_var=; unset $ac_var;} ;;
5160 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5161 *${as_nl}ac_space
=\
*)
5162 # `set' does not quote correctly, so add quotes: double-quote
5163 # substitution turns \\\\ into \\, and sed turns \\ into \.
5166 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5169 # `set' quotes correctly as required by POSIX, so do not add quotes.
5170 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5179 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5181 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5183 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5184 if test -w "$cache_file"; then
5185 test "x$cache_file" != "x/dev/null" &&
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5187 $as_echo "$as_me: updating cache $cache_file" >&6;}
5188 cat confcache
>$cache_file
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5191 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5196 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5197 # Let make expand exec_prefix.
5198 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5200 DEFS
=-DHAVE_CONFIG_H
5204 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5205 # 1. Remove the extension, and $U if already installed.
5206 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5207 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5208 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5209 # will be set to the directory where LIBOBJS objects are built.
5210 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5211 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5215 LTLIBOBJS
=$ac_ltlibobjs
5219 : ${CONFIG_STATUS=./config.status}
5221 ac_clean_files_save
=$ac_clean_files
5222 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5224 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5226 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5228 # Generated by $as_me.
5229 # Run this file to recreate the current configuration.
5230 # Compiler output produced by configure, useful for debugging
5231 # configure, is in config.log if it exists.
5237 SHELL=\${CONFIG_SHELL-$SHELL}
5240 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5241 ## -------------------- ##
5242 ## M4sh Initialization. ##
5243 ## -------------------- ##
5245 # Be more Bourne compatible
5246 DUALCASE
=1; export DUALCASE
# for MKS sh
5247 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5250 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5251 # is contrary to our usage. Disable this feature.
5252 alias -g '${1+"$@"}'='"$@"'
5253 setopt NO_GLOB_SUBST
5255 case `(set -o) 2>/dev/null` in #(
5267 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5268 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5269 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5270 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5271 # Prefer a ksh shell builtin over an external printf program on Solaris,
5272 # but without wasting forks for bash or zsh.
5273 if test -z "$BASH_VERSION$ZSH_VERSION" \
5274 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5275 as_echo='print
-r --'
5276 as_echo_n='print
-rn --'
5277 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5278 as_echo='printf %s
\n'
5279 as_echo_n='printf %s
'
5281 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5282 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5283 as_echo_n='/usr
/ucb
/echo -n'
5285 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5286 as_echo_n_body='eval
5290 expr "X$arg" : "X\\(.*\\)$as_nl";
5291 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5293 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5295 export as_echo_n_body
5296 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5299 as_echo='sh
-c $as_echo_body as_echo
'
5302 # The user is always right.
5303 if test "${PATH_SEPARATOR+set}" != set; then
5305 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5306 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5313 # We need space, tab and new line, in precisely that order. Quoting is
5314 # there to prevent editors from complaining about space-tab.
5315 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5316 # splitting by setting IFS to empty value.)
5319 # Find who we are. Look in the path if we contain no directory separator.
5321 *[\\/]* ) as_myself=$0 ;;
5322 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5326 test -z "$as_dir" && as_dir=.
5327 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5333 # We did not find ourselves, most probably we were run as `sh COMMAND'
5334 # in which case we are not to be found in the path.
5335 if test "x$as_myself" = x
; then
5338 if test ! -f "$as_myself"; then
5339 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5343 # Unset variables that we do not need and which cause bugs (e.g. in
5344 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5345 # suppresses any "Segmentation fault" message there. '((' could
5346 # trigger a bug in pdksh 5.2.14.
5347 for as_var
in BASH_ENV ENV MAIL MAILPATH
5348 do eval test x\
${$as_var+set} = xset \
5349 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5362 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5365 # as_fn_error ERROR [LINENO LOG_FD]
5366 # ---------------------------------
5367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5369 # script with status $?, using 1 if that was 0.
5372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
5374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5377 $as_echo "$as_me: error: $1" >&2
5378 as_fn_exit
$as_status
5382 # as_fn_set_status STATUS
5383 # -----------------------
5384 # Set $? to STATUS, without forking.
5388 } # as_fn_set_status
5392 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5402 # Portably unset VAR.
5405 { eval $1=; unset $1;}
5407 as_unset
=as_fn_unset
5408 # as_fn_append VAR VALUE
5409 # ----------------------
5410 # Append the text in VALUE to the end of the definition contained in VAR. Take
5411 # advantage of any shell optimizations that allow amortized linear growth over
5412 # repeated appends, instead of the typical quadratic growth present in naive
5414 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5415 eval 'as_fn_append ()
5426 # as_fn_arith ARG...
5427 # ------------------
5428 # Perform arithmetic evaluation on the ARGs, and store the result in the
5429 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5430 # must be portable across $(()) and expr.
5431 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5432 eval 'as_fn_arith ()
5439 as_val
=`expr "$@" || test $? -eq 1`
5444 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5445 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5451 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5452 as_basename
=basename
5457 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5463 as_me
=`$as_basename -- "$0" ||
5464 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5465 X"$0" : 'X\(//\)$' \| \
5466 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5468 sed '/^.*\/\([^/][^/]*\)\/*$/{
5482 # Avoid depending upon Character Ranges.
5483 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5484 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5485 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5486 as_cr_digits
='0123456789'
5487 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5489 ECHO_C
= ECHO_N
= ECHO_T
=
5490 case `echo -n x` in #(((((
5492 case `echo 'xy\c'` in
5493 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5495 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5502 rm -f conf$$ conf$$.exe conf$$.
file
5503 if test -d conf$$.dir
; then
5504 rm -f conf$$.dir
/conf$$.
file
5507 mkdir conf$$.dir
2>/dev
/null
5509 if (echo >conf$$.
file) 2>/dev
/null
; then
5510 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5512 # ... but there are two gotchas:
5513 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5514 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5515 # In both cases, we have to default to `cp -p'.
5516 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5518 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5526 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5527 rmdir conf$$.dir
2>/dev
/null
5532 # Create "$as_dir" as a directory, including parents if necessary.
5537 -*) as_dir
=.
/$as_dir;;
5539 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5543 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5544 *) as_qdir
=$as_dir;;
5546 as_dirs
="'$as_qdir' $as_dirs"
5547 as_dir
=`$as_dirname -- "$as_dir" ||
5548 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5549 X"$as_dir" : 'X\(//\)[^/]' \| \
5550 X"$as_dir" : 'X\(//\)$' \| \
5551 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5552 $as_echo X"$as_dir" |
5553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5570 test -d "$as_dir" && break
5572 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5573 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
5577 if mkdir
-p .
2>/dev
/null
; then
5578 as_mkdir_p
='mkdir -p "$as_dir"'
5580 test -d .
/-p && rmdir .
/-p
5584 if test -x / >/dev
/null
2>&1; then
5587 if ls -dL / >/dev
/null
2>&1; then
5594 if test -d "$1"; then
5600 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5601 ???[sx]*):;;*)false;;esac;fi
5605 as_executable_p
=$as_test_x
5607 # Sed expression to map a string onto a valid CPP name.
5608 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5610 # Sed expression to map a string onto a valid variable name.
5611 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5615 ## ----------------------------------- ##
5616 ## Main body of $CONFIG_STATUS script. ##
5617 ## ----------------------------------- ##
5619 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5622 # Save the log message, to keep $0 and so on meaningful, and to
5623 # report actual input values of CONFIG_FILES etc. instead of their
5624 # values after options handling.
5626 This file was extended by GNU C Runtime Library $as_me 1.0, which was
5627 generated by GNU Autoconf 2.64. Invocation command line was
5629 CONFIG_FILES = $CONFIG_FILES
5630 CONFIG_HEADERS = $CONFIG_HEADERS
5631 CONFIG_LINKS = $CONFIG_LINKS
5632 CONFIG_COMMANDS = $CONFIG_COMMANDS
5635 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5640 case $ac_config_files in *"
5641 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5644 case $ac_config_headers in *"
5645 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5650 # Files that config.status was made for.
5651 config_files="$ac_config_files"
5652 config_headers="$ac_config_headers"
5653 config_commands="$ac_config_commands"
5657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5659 \`$as_me' instantiates files and other configuration actions
5660 from templates according to the current configuration. Unless the files
5661 and actions are specified as TAGs, all are instantiated by default.
5663 Usage: $0 [OPTION]... [TAG]...
5665 -h, --help print this help, then exit
5666 -V, --version print version number and configuration settings, then exit
5667 -q, --quiet, --silent
5668 do not print progress messages
5669 -d, --debug don't remove temporary files
5670 --recheck update $as_me by reconfiguring in the same conditions
5671 --file=FILE[:TEMPLATE]
5672 instantiate the configuration file FILE
5673 --header=FILE[:TEMPLATE]
5674 instantiate the configuration header FILE
5676 Configuration files:
5679 Configuration headers:
5682 Configuration commands:
5685 Report bugs to the package provider.
5686 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
5687 General help using GNU software: <http://www.gnu.org/gethelp/>."
5690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5692 GNU C Runtime Library config.status 1.0
5693 configured by $0, generated by GNU Autoconf 2.64,
5694 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5696 Copyright (C) 2009 Free Software Foundation, Inc.
5697 This config.status script is free software; the Free Software Foundation
5698 gives unlimited permission to copy, distribute and modify it."
5704 test -n "\$AWK" || AWK=awk
5707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5708 # The default lists apply if the user does not specify any file.
5714 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5715 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5726 # Handling of the options.
5727 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5729 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5730 $as_echo "$ac_cs_version"; exit ;;
5731 --debug |
--debu |
--deb |
--de |
--d |
-d )
5733 --file |
--fil |
--fi |
--f )
5736 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5738 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5739 ac_need_defaults
=false
;;
5740 --header |
--heade |
--head |
--hea )
5743 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5745 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5746 ac_need_defaults
=false
;;
5748 # Conflict between --help and --header
5749 as_fn_error
"ambiguous option: \`$1'
5750 Try \`$0 --help' for more information.";;
5751 --help |
--hel |
-h )
5752 $as_echo "$ac_cs_usage"; exit ;;
5753 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5754 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5758 -*) as_fn_error
"unrecognized option: \`$1'
5759 Try \`$0 --help' for more information." ;;
5761 *) as_fn_append ac_config_targets
" $1"
5762 ac_need_defaults
=false
;;
5768 ac_configure_extra_args
=
5770 if $ac_cs_silent; then
5772 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5777 if \$ac_cs_recheck; then
5778 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5780 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5781 CONFIG_SHELL='$SHELL'
5787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5791 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5792 ## Running $as_me. ##
5798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5804 with_target_subdir=${with_target_subdir}
5805 with_multisubdir=${with_multisubdir}
5806 ac_configure_args="--enable-multilib ${ac_configure_args}"
5807 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
5808 libgcc_topdir=${libgcc_topdir}
5814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5816 # Handling of arguments.
5817 for ac_config_target
in $ac_config_targets
5819 case $ac_config_target in
5820 "auto-target.h") CONFIG_HEADERS
="$CONFIG_HEADERS auto-target.h:config.in" ;;
5821 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5822 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
5824 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5829 # If the user did not use the arguments to specify the items to instantiate,
5830 # then the envvar interface is used. Set only those that are not.
5831 # We use the long form for the default assignment because of an extremely
5832 # bizarre bug on SunOS 4.1.3.
5833 if $ac_need_defaults; then
5834 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5835 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5836 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5839 # Have a temporary directory for convenience. Make it in the build tree
5840 # simply because there is no reason against having it here, and in addition,
5841 # creating and moving files from /tmp can sometimes cause problems.
5842 # Hook for its removal unless debugging.
5843 # Note that there is a small window in which the directory will not be cleaned:
5844 # after its creation but before its name has been assigned to `$tmp'.
5848 trap 'exit_status=$?
5849 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5851 trap 'as_fn_exit 1' 1 2 13 15
5853 # Create a (secure) tmp directory for tmp files.
5856 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5857 test -n "$tmp" && test -d "$tmp"
5860 tmp
=.
/conf$$
-$RANDOM
5861 (umask 077 && mkdir
"$tmp")
5862 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
5864 # Set up the scripts for CONFIG_FILES section.
5865 # No need to generate them if there are no CONFIG_FILES.
5866 # This happens for instance with `./config.status config.h'.
5867 if test -n "$CONFIG_FILES"; then
5870 ac_cr
=`echo X | tr X '\015'`
5871 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5872 # But we know of no other shell where ac_cr would be empty at this
5873 # point, so we can use a bashism as a fallback.
5874 if test "x$ac_cr" = x
; then
5875 eval ac_cr
=\$
\'\\r
\'
5877 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5878 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5884 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5889 echo "cat >conf$$subs.awk <<_ACEOF" &&
5890 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5893 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5894 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5896 for ac_last_try in false false false false false :; do
5897 . ./conf$$subs.sh ||
5898 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5900 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5901 if test $ac_delim_n = $ac_delim_num; then
5903 elif $ac_last_try; then
5904 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5906 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5912 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
5916 s/^/S["/; s
/!.
*/"]=/
5926 s/\(.\{148\}\).*/\1/
5928 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5933 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5940 s/\(.\{148\}\).*/\1/
5942 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5946 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5951 ' <conf$$subs.awk | sed '
5956 ' >>$CONFIG_STATUS || ac_write_fail=1
5957 rm -f conf$$subs.awk
5958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5960 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
5961 for (key in S) S_is_set[key] = 1
5967 nfields = split(line, field, "@
")
5969 len = length(field[1])
5970 for (i = 2; i < nfields; i++) {
5972 keylen = length(key)
5973 if (S_is_set[key]) {
5975 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5976 len += length(value) + length(field[++i])
5987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5988 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5989 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5992 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
5993 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
5996 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5997 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
5998 # trailing colons and then remove the whole line if VPATH becomes empty
5999 # (actually we leave an empty line to preserve line numbers).
6000 if test "x
$srcdir" = x.; then
6001 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6005 s/^\([^=]*=[ ]*\):*/\1/
6011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6012 fi # test -n "$CONFIG_FILES"
6014 # Set up the scripts for CONFIG_HEADERS section.
6015 # No need to generate them if there are no CONFIG_HEADERS.
6016 # This happens for instance with `./config.status Makefile'.
6017 if test -n "$CONFIG_HEADERS"; then
6018 cat >"$tmp/defines.
awk" <<\_ACAWK ||
6022 # Transform confdefs.h into an awk script `defines.awk', embedded as
6023 # here-document in config.status, that substitutes the proper values into
6024 # config.h.in to produce config.h.
6026 # Create a delimiter string that does not exist in confdefs.h, to ease
6027 # handling of long lines.
6029 for ac_last_try in false false :; do
6030 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
6031 if test -z "$ac_t"; then
6033 elif $ac_last_try; then
6034 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
6036 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6040 # For the awk script, D is an array of macro values keyed by name,
6041 # likewise P contains macro parameters if any. Preserve backslash
6042 # newline sequences.
6044 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6046 s/.\{148\}/&'"$ac_delim"'/g
6049 s/^[ ]*#[ ]*define[ ][ ]*/ /
6056 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6058 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6062 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6063 D["\
1"]=" \
3\\\\\\n
"\\/p
6065 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6070 s/.\{148\}/&'"$ac_delim"'/g
6075 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6078 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6080 ' <confdefs.h | sed '
6081 s/'"$ac_delim"'/"\\\
6082 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6085 for (key in D) D_is_set[key] = 1
6088 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6090 split(line, arg, " ")
6091 if (arg[1] == "#") {
6095 defundef
= substr
(arg
[1], 2)
6098 split(mac1
, mac2
, "(") #)
6100 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6101 if (D_is_set
[macro
]) {
6102 # Preserve the white space surrounding the "#".
6103 print prefix
"define", macro P
[macro
] D
[macro
]
6106 # Replace #undef with comments. This is necessary, for example,
6107 # in the case of _POSIX_SOURCE, which is predefined and required
6108 # on some systems where configure will not decide to define it.
6109 if (defundef
== "undef") {
6110 print
"/*", prefix defundef
, macro
, "*/"
6118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6119 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
6120 fi # test -n "$CONFIG_HEADERS"
6123 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6128 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6130 case $ac_mode$ac_tag in
6132 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6133 :[FH
]-) ac_tag
=-:-;;
6134 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6151 -) ac_f
="$tmp/stdin";;
6152 *) # Look for the file first in the build tree, then in the source tree
6153 # (if the path is not absolute). The absolute path cannot be DOS-style,
6154 # because $ac_f cannot contain `:'.
6158 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6160 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
6162 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6163 as_fn_append ac_file_inputs
" '$ac_f'"
6166 # Let's still pretend it is `configure' which instantiates (i.e., don't
6167 # use $as_me), people would be surprised to read:
6168 # /* config.h. Generated by config.status. */
6169 configure_input
='Generated from '`
6170 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6172 if test x
"$ac_file" != x-
; then
6173 configure_input
="$ac_file. $configure_input"
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6175 $as_echo "$as_me: creating $ac_file" >&6;}
6177 # Neutralize special characters interpreted by sed in replacement strings.
6178 case $configure_input in #(
6179 *\
&* |
*\|
* |
*\\* )
6180 ac_sed_conf_input
=`$as_echo "$configure_input" |
6181 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6182 *) ac_sed_conf_input
=$configure_input;;
6186 *:-:* |
*:-) cat >"$tmp/stdin" \
6187 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
6192 ac_dir
=`$as_dirname -- "$ac_file" ||
6193 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6194 X"$ac_file" : 'X\(//\)[^/]' \| \
6195 X"$ac_file" : 'X\(//\)$' \| \
6196 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6197 $as_echo X"$ac_file" |
6198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6215 as_dir
="$ac_dir"; as_fn_mkdir_p
6219 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6221 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6222 # A ".." for each directory in $ac_dir_suffix.
6223 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6224 case $ac_top_builddir_sub in
6225 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
6226 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
6229 ac_abs_top_builddir
=$ac_pwd
6230 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
6231 # for backward compatibility:
6232 ac_top_builddir
=$ac_top_build_prefix
6235 .
) # We are building in place.
6237 ac_top_srcdir
=$ac_top_builddir_sub
6238 ac_abs_top_srcdir
=$ac_pwd ;;
6239 [\\/]* | ?
:[\\/]* ) # Absolute name.
6240 ac_srcdir
=$srcdir$ac_dir_suffix;
6241 ac_top_srcdir
=$srcdir
6242 ac_abs_top_srcdir
=$srcdir ;;
6244 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
6245 ac_top_srcdir
=$ac_top_build_prefix$srcdir
6246 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
6248 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
6258 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6259 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
6263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6264 # If the template does not know about datarootdir, expand it.
6265 # FIXME: This hack should be removed a few years after 2.60.
6266 ac_datarootdir_hack
=; ac_datarootdir_seen
=
6277 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6278 *datarootdir
*) ac_datarootdir_seen
=yes;;
6279 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6281 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6284 ac_datarootdir_hack='
6285 s&@datadir@&$datadir&g
6286 s&@docdir@&$docdir&g
6287 s&@infodir@&$infodir&g
6288 s&@localedir@&$localedir&g
6289 s&@mandir@&$mandir&g
6290 s&\\\${datarootdir}&$datarootdir&g' ;;
6294 # Neutralize VPATH when `$srcdir' = `.'.
6295 # Shell code in configure.ac might set extrasub.
6296 # FIXME: do we really want to maintain this feature?
6297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6298 ac_sed_extra="$ac_vpsub
6301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6303 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6304 s|@configure_input@|
$ac_sed_conf_input|
;t t
6305 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6306 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6307 s
&@srcdir@
&$ac_srcdir&;t t
6308 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6309 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6310 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6311 s
&@builddir@
&$ac_builddir&;t t
6312 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6313 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6314 s
&@INSTALL@
&$ac_INSTALL&;t t
6315 $ac_datarootdir_hack
6317 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
6318 || as_fn_error "could not create
$ac_file" "$LINENO" 5
6320 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6321 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
6322 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6324 which seems to be undefined. Please make sure it is defined." >&5
6325 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6326 which seems to be undefined. Please make sure it is defined." >&2;}
6330 -) cat "$tmp/out" && rm -f "$tmp/out";;
6331 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6333 || as_fn_error "could not create $ac_file" "$LINENO" 5
6339 if test x"$ac_file" != x-; then
6341 $as_echo "/* $configure_input */" \
6342 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6343 } >"$tmp/config.h" \
6344 || as_fn_error "could not create $ac_file" "$LINENO" 5
6345 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6347 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6350 mv "$tmp/config.h" "$ac_file" \
6351 || as_fn_error "could not create $ac_file" "$LINENO" 5
6354 $as_echo "/* $configure_input */" \
6355 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6356 || as_fn_error "could not create -" "$LINENO" 5
6360 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6361 $as_echo "$as_me: executing $ac_file commands" >&6;}
6366 case $ac_file$ac_mode in
6367 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
6368 if test -n "$CONFIG_FILES"; then
6369 # FIXME: We shouldn't need to
set ac_file
6371 .
${libgcc_topdir}/config-ml.
in
6380 ac_clean_files
=$ac_clean_files_save
6382 test $ac_write_fail = 0 ||
6383 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6386 # configure is writing to config.log, and then calls config.status.
6387 # config.status does its own redirection, appending to config.log.
6388 # Unfortunately, on DOS this fails, as config.log is still kept open
6389 # by configure, so config.status won't be able to write to it; its
6390 # output is simply discarded. So we exec the FD to /dev/null,
6391 # effectively closing config.log, so it can be properly (re)opened and
6392 # appended to by config.status. When coming back to configure, we
6393 # need to make the FD available again.
6394 if test "$no_create" != yes; then
6396 ac_config_status_args
=
6397 test "$silent" = yes &&
6398 ac_config_status_args
="$ac_config_status_args --quiet"
6400 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6402 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6403 # would make configure fail if this is the last instruction.
6404 $ac_cs_success || as_fn_exit $?
6406 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6408 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}