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 if (eval "$as_required") 2>/dev
/null
; then :
177 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
182 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
185 test -z "$as_dir" && as_dir
=.
189 for as_base
in sh bash ksh sh5
; do
190 # Try only shells that exist, to save several forks.
191 as_shell
=$as_dir/$as_base
192 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
194 CONFIG_SHELL
=$as_shell as_have_required
=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
205 CONFIG_SHELL
=$SHELL as_have_required
=yes
210 if test "x$CONFIG_SHELL" != x
; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
216 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 if test x
$as_have_required = xno
; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x
${ZSH_VERSION+set} = xset
; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229 $0: including any error possibly output before this
230 $0: message. Then install a modern shell, or manually run
231 $0: the script under such a shell if you do have one."
237 SHELL
=${CONFIG_SHELL-/bin/sh}
239 # Unset more variables known to interfere with behavior of common tools.
240 CLICOLOR_FORCE
= GREP_OPTIONS
=
241 unset CLICOLOR_FORCE GREP_OPTIONS
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
248 # Portably unset VAR.
251 { eval $1=; unset $1;}
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 # Create "$as_dir" as a directory, including parents if necessary.
280 -*) as_dir
=.
/$as_dir;;
282 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
286 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289 as_dirs
="'$as_qdir' $as_dirs"
290 as_dir
=`$as_dirname -- "$as_dir" ||
291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295 $as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
313 test -d "$as_dir" && break
315 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
316 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
320 # as_fn_append VAR VALUE
321 # ----------------------
322 # Append the text in VALUE to the end of the definition contained in VAR. Take
323 # advantage of any shell optimizations that allow amortized linear growth over
324 # repeated appends, instead of the typical quadratic growth present in naive
326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
327 eval 'as_fn_append ()
340 # Perform arithmetic evaluation on the ARGs, and store the result in the
341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
342 # must be portable across $(()) and expr.
343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
351 as_val
=`expr "$@" || test $? -eq 1`
356 # as_fn_error ERROR [LINENO LOG_FD]
357 # ---------------------------------
358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360 # script with status $?, using 1 if that was 0.
363 as_status
=$?
; test $as_status -eq 0 && as_status
=1
365 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit
$as_status
372 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
379 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
385 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
391 as_me
=`$as_basename -- "$0" ||
392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393 X"$0" : 'X\(//\)$' \| \
394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 sed '/^.*\/\([^/][^/]*\)\/*$/{
410 # Avoid depending upon Character Ranges.
411 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
412 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
414 as_cr_digits
='0123456789'
415 as_cr_alnum
=$as_cr_Letters$as_cr_digits
418 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
419 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
420 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 chmod +x
"$as_me.lineno" ||
439 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
441 # Don't try to exec as it changes $[0], causing all sort of problems
442 # (the dirname of $[0] is not the place where we might find the
443 # original and so on. Autoconf is especially sensitive to this).
445 # Exit status is that of the last command.
449 ECHO_C
= ECHO_N
= ECHO_T
=
450 case `echo -n x` in #(((((
452 case `echo 'xy\c'` in
453 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
462 rm -f conf$$ conf$$.exe conf$$.
file
463 if test -d conf$$.dir
; then
464 rm -f conf$$.dir
/conf$$.
file
467 mkdir conf$$.dir
2>/dev
/null
469 if (echo >conf$$.
file) 2>/dev
/null
; then
470 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
472 # ... but there are two gotchas:
473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475 # In both cases, we have to default to `cp -p'.
476 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
478 elif ln conf$$.
file conf$$
2>/dev
/null
; then
486 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
487 rmdir conf$$.dir
2>/dev
/null
489 if mkdir
-p .
2>/dev
/null
; then
490 as_mkdir_p
='mkdir -p "$as_dir"'
492 test -d .
/-p && rmdir .
/-p
496 if test -x / >/dev
/null
2>&1; then
499 if ls -dL / >/dev
/null
2>&1; then
506 if test -d "$1"; then
512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513 ???[sx]*):;;*)false;;esac;fi
517 as_executable_p
=$as_test_x
519 # Sed expression to map a string onto a valid CPP name.
520 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522 # Sed expression to map a string onto a valid variable name.
523 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
526 exec 7<&0 </dev
/null
6>&1
529 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530 # so uname gets run too.
531 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
536 ac_default_prefix
=/usr
/local
538 ac_config_libobj_dir
=.
545 # Identity of this package.
546 PACKAGE_NAME
='GNU C Runtime Library'
547 PACKAGE_TARNAME
='libgcc'
548 PACKAGE_VERSION
='1.0'
549 PACKAGE_STRING
='GNU C Runtime Library 1.0'
551 PACKAGE_URL
='http://www.gnu.org/software/libgcc/'
553 ac_unique_file
="static-object.mk"
554 ac_subst_vars
='LTLIBOBJS
631 program_transform_name
644 enable_option_checking
649 enable_version_specific_runtime_libs
651 enable_maintainer_mode
656 ac_precious_vars
='build_alias
667 # Initialize some variables set by options.
669 ac_init_version
=false
670 ac_unrecognized_opts
=
672 # The variables have the same names as the options, with
673 # dashes changed to underlines.
681 program_transform_name
=s
,x
,x
,
689 # Installation directory options.
690 # These are left unexpanded so users can "make install exec_prefix=/foo"
691 # and all the variables that are supposed to be based on exec_prefix
692 # by default will actually change.
693 # Use braces instead of parens because sh, perl, etc. also accept them.
694 # (The list follows the same order as the GNU Coding Standards.)
695 bindir
='${exec_prefix}/bin'
696 sbindir
='${exec_prefix}/sbin'
697 libexecdir
='${exec_prefix}/libexec'
698 datarootdir
='${prefix}/share'
699 datadir
='${datarootdir}'
700 sysconfdir
='${prefix}/etc'
701 sharedstatedir
='${prefix}/com'
702 localstatedir
='${prefix}/var'
703 includedir
='${prefix}/include'
704 oldincludedir
='/usr/include'
705 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
706 infodir
='${datarootdir}/info'
711 libdir
='${exec_prefix}/lib'
712 localedir
='${datarootdir}/locale'
713 mandir
='${datarootdir}/man'
719 # If the previous option needs an argument, assign it.
720 if test -n "$ac_prev"; then
721 eval $ac_prev=\
$ac_option
727 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
731 # Accept the important Cygnus configure options, so we can diagnose typos.
733 case $ac_dashdash$ac_option in
737 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
739 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
742 -build |
--build |
--buil |
--bui |
--bu)
743 ac_prev
=build_alias
;;
744 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
745 build_alias
=$ac_optarg ;;
747 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
748 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
749 ac_prev
=cache_file
;;
750 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
751 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
752 cache_file
=$ac_optarg ;;
755 cache_file
=config.cache
;;
757 -datadir |
--datadir |
--datadi |
--datad)
759 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
760 datadir
=$ac_optarg ;;
762 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
763 |
--dataroo |
--dataro |
--datar)
764 ac_prev
=datarootdir
;;
765 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
766 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
767 datarootdir
=$ac_optarg ;;
769 -disable-* |
--disable-*)
770 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
771 # Reject names that are not valid shell variable names.
772 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
773 as_fn_error
"invalid feature name: $ac_useropt"
774 ac_useropt_orig
=$ac_useropt
775 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
776 case $ac_user_opts in
780 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
781 ac_unrecognized_sep
=', ';;
783 eval enable_
$ac_useropt=no
;;
785 -docdir |
--docdir |
--docdi |
--doc |
--do)
787 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
790 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
792 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
795 -enable-* |
--enable-*)
796 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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--enable-$ac_useropt_orig"
807 ac_unrecognized_sep
=', ';;
809 eval enable_
$ac_useropt=\
$ac_optarg ;;
811 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
812 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
813 |
--exec |
--exe |
--ex)
814 ac_prev
=exec_prefix
;;
815 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
816 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
817 |
--exec=* |
--exe=* |
--ex=*)
818 exec_prefix
=$ac_optarg ;;
820 -gas |
--gas |
--ga |
--g)
821 # Obsolete; use --with-gas.
824 -help |
--help |
--hel |
--he |
-h)
826 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
827 ac_init_help
=recursive
;;
828 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
829 ac_init_help
=short
;;
831 -host |
--host |
--hos |
--ho)
832 ac_prev
=host_alias
;;
833 -host=* |
--host=* |
--hos=* |
--ho=*)
834 host_alias
=$ac_optarg ;;
836 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
838 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
840 htmldir
=$ac_optarg ;;
842 -includedir |
--includedir |
--includedi |
--included |
--include \
843 |
--includ |
--inclu |
--incl |
--inc)
844 ac_prev
=includedir
;;
845 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
846 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
847 includedir
=$ac_optarg ;;
849 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
851 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
852 infodir
=$ac_optarg ;;
854 -libdir |
--libdir |
--libdi |
--libd)
856 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
859 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
860 |
--libexe |
--libex |
--libe)
861 ac_prev
=libexecdir
;;
862 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
863 |
--libexe=* |
--libex=* |
--libe=*)
864 libexecdir
=$ac_optarg ;;
866 -localedir |
--localedir |
--localedi |
--localed |
--locale)
868 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
869 localedir
=$ac_optarg ;;
871 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
872 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
873 ac_prev
=localstatedir
;;
874 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
875 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
876 localstatedir
=$ac_optarg ;;
878 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
880 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
884 # Obsolete; use --without-fp.
887 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
888 |
--no-cr |
--no-c |
-n)
891 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
892 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
895 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
896 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
897 |
--oldin |
--oldi |
--old |
--ol |
--o)
898 ac_prev
=oldincludedir
;;
899 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
900 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
901 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
902 oldincludedir
=$ac_optarg ;;
904 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
906 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
909 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
910 |
--program-pre |
--program-pr |
--program-p)
911 ac_prev
=program_prefix
;;
912 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
913 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
914 program_prefix
=$ac_optarg ;;
916 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
917 |
--program-suf |
--program-su |
--program-s)
918 ac_prev
=program_suffix
;;
919 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
920 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
921 program_suffix
=$ac_optarg ;;
923 -program-transform-name |
--program-transform-name \
924 |
--program-transform-nam |
--program-transform-na \
925 |
--program-transform-n |
--program-transform- \
926 |
--program-transform |
--program-transfor \
927 |
--program-transfo |
--program-transf \
928 |
--program-trans |
--program-tran \
929 |
--progr-tra |
--program-tr |
--program-t)
930 ac_prev
=program_transform_name
;;
931 -program-transform-name=* |
--program-transform-name=* \
932 |
--program-transform-nam=* |
--program-transform-na=* \
933 |
--program-transform-n=* |
--program-transform-=* \
934 |
--program-transform=* |
--program-transfor=* \
935 |
--program-transfo=* |
--program-transf=* \
936 |
--program-trans=* |
--program-tran=* \
937 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
938 program_transform_name
=$ac_optarg ;;
940 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
942 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
945 -psdir |
--psdir |
--psdi |
--psd |
--ps)
947 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
950 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
951 |
-silent |
--silent |
--silen |
--sile |
--sil)
954 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
956 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
958 sbindir
=$ac_optarg ;;
960 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
961 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
962 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
964 ac_prev
=sharedstatedir
;;
965 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
966 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
967 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
969 sharedstatedir
=$ac_optarg ;;
971 -site |
--site |
--sit)
973 -site=* |
--site=* |
--sit=*)
976 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
978 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
981 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
982 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
983 ac_prev
=sysconfdir
;;
984 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
985 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
986 sysconfdir
=$ac_optarg ;;
988 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
989 ac_prev
=target_alias
;;
990 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
991 target_alias
=$ac_optarg ;;
993 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
996 -version |
--version |
--versio |
--versi |
--vers |
-V)
1000 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1003 as_fn_error
"invalid package name: $ac_useropt"
1004 ac_useropt_orig
=$ac_useropt
1005 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1010 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1011 ac_unrecognized_sep
=', ';;
1013 eval with_
$ac_useropt=\
$ac_optarg ;;
1015 -without-* |
--without-*)
1016 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1019 as_fn_error
"invalid package name: $ac_useropt"
1020 ac_useropt_orig
=$ac_useropt
1021 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1026 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1027 ac_unrecognized_sep
=', ';;
1029 eval with_
$ac_useropt=no
;;
1032 # Obsolete; use --with-x.
1035 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1036 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1037 ac_prev
=x_includes
;;
1038 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1039 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1040 x_includes
=$ac_optarg ;;
1042 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1043 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1044 ac_prev
=x_libraries
;;
1045 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1046 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1047 x_libraries
=$ac_optarg ;;
1049 -*) as_fn_error
"unrecognized option: \`$ac_option'
1050 Try \`$0 --help' for more information."
1054 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1055 # Reject names that are not valid shell variable names.
1056 case $ac_envvar in #(
1057 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1058 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1060 eval $ac_envvar=\
$ac_optarg
1061 export $ac_envvar ;;
1064 # FIXME: should be removed in autoconf 3.0.
1065 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1066 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1067 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1068 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1074 if test -n "$ac_prev"; then
1075 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1076 as_fn_error
"missing argument to $ac_option"
1079 if test -n "$ac_unrecognized_opts"; then
1080 case $enable_option_checking in
1082 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1083 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1087 # Check all directory arguments for consistency.
1088 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1089 datadir sysconfdir sharedstatedir localstatedir includedir \
1090 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1091 libdir localedir mandir
1093 eval ac_val
=\$
$ac_var
1094 # Remove trailing slashes.
1097 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1098 eval $ac_var=\
$ac_val;;
1100 # Be sure to have absolute directory names.
1102 [\\/$
]* | ?
:[\\/]* ) continue;;
1103 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1105 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1108 # There might be people who depend on the old broken behavior: `$host'
1109 # used to hold the argument of --host etc.
1110 # FIXME: To remove some day.
1113 target
=$target_alias
1115 # FIXME: To remove some day.
1116 if test "x$host_alias" != x
; then
1117 if test "x$build_alias" = x
; then
1118 cross_compiling
=maybe
1119 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1120 If a cross compiler is detected then cross compile mode will be used." >&2
1121 elif test "x$build_alias" != "x$host_alias"; then
1127 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1129 test "$silent" = yes && exec 6>/dev
/null
1132 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1133 ac_ls_di
=`ls -di .` &&
1134 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1135 as_fn_error
"working directory cannot be determined"
1136 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1137 as_fn_error
"pwd does not report name of working directory"
1140 # Find the source files, if location was not specified.
1141 if test -z "$srcdir"; then
1142 ac_srcdir_defaulted
=yes
1143 # Try the directory containing this script, then the parent directory.
1144 ac_confdir
=`$as_dirname -- "$as_myself" ||
1145 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1146 X"$as_myself" : 'X\(//\)[^/]' \| \
1147 X"$as_myself" : 'X\(//\)$' \| \
1148 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1149 $as_echo X"$as_myself" |
1150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1168 if test ! -r "$srcdir/$ac_unique_file"; then
1172 ac_srcdir_defaulted
=no
1174 if test ! -r "$srcdir/$ac_unique_file"; then
1175 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1176 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1178 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1180 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1182 # When building in place, set srcdir=.
1183 if test "$ac_abs_confdir" = "$ac_pwd"; then
1186 # Remove unnecessary trailing slashes from srcdir.
1187 # Double slashes in file names in object file debugging info
1188 # mess up M-x gdb in Emacs.
1190 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1192 for ac_var
in $ac_precious_vars; do
1193 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1194 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1195 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1196 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1200 # Report the --help message.
1202 if test "$ac_init_help" = "long"; then
1203 # Omit some internal or obsolete options to make the list less imposing.
1204 # This message is too long to be a string in the A/UX 3.1 sh.
1206 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1208 Usage: $0 [OPTION]... [VAR=VALUE]...
1210 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1211 VAR=VALUE. See below for descriptions of some of the useful variables.
1213 Defaults for the options are specified in brackets.
1216 -h, --help display this help and exit
1217 --help=short display options specific to this package
1218 --help=recursive display the short help of all the included packages
1219 -V, --version display version information and exit
1220 -q, --quiet, --silent do not print \`checking...' messages
1221 --cache-file=FILE cache test results in FILE [disabled]
1222 -C, --config-cache alias for \`--cache-file=config.cache'
1223 -n, --no-create do not create output files
1224 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1226 Installation directories:
1227 --prefix=PREFIX install architecture-independent files in PREFIX
1228 [$ac_default_prefix]
1229 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1232 By default, \`make install' will install all the files in
1233 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1234 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1235 for instance \`--prefix=\$HOME'.
1237 For better control, use the options below.
1239 Fine tuning of the installation directories:
1240 --bindir=DIR user executables [EPREFIX/bin]
1241 --sbindir=DIR system admin executables [EPREFIX/sbin]
1242 --libexecdir=DIR program executables [EPREFIX/libexec]
1243 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1244 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1245 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1246 --libdir=DIR object code libraries [EPREFIX/lib]
1247 --includedir=DIR C header files [PREFIX/include]
1248 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1249 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1250 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1251 --infodir=DIR info documentation [DATAROOTDIR/info]
1252 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1253 --mandir=DIR man documentation [DATAROOTDIR/man]
1254 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1255 --htmldir=DIR html documentation [DOCDIR]
1256 --dvidir=DIR dvi documentation [DOCDIR]
1257 --pdfdir=DIR pdf documentation [DOCDIR]
1258 --psdir=DIR ps documentation [DOCDIR]
1264 --build=BUILD configure
for building on BUILD
[guessed
]
1265 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1269 if test -n "$ac_init_help"; then
1270 case $ac_init_help in
1271 short | recursive
) echo "Configuration of GNU C Runtime Library 1.0:";;
1276 --disable-option-checking ignore unrecognized
--enable/--with options
1277 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1278 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1279 --disable-shared don
't provide a shared libgcc
1280 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1281 --enable-maintainer-mode
1282 enable make rules and dependencies not useful (and
1283 sometimes confusing) to the casual installer
1284 --enable-decimal-float={no,yes,bid,dpd}
1285 enable decimal float extension to C. Selecting 'bid
'
1286 or 'dpd
' choses which decimal floating point format
1288 --enable-tls Use thread-local storage [default=yes]
1291 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1292 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1293 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
1294 --with-cross-host=HOST Configuring with a cross compiler
1295 --with-ld arrange to use the specified ld (full pathname)
1296 --with-slibdir=DIR shared libraries in DIR LIBDIR
1297 --with-build-libsubdir=DIR Directory where to find libraries for build system
1299 Some influential environment variables:
1300 CC C compiler command
1301 CFLAGS C compiler flags
1302 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1303 nonstandard directory <lib dir>
1304 LIBS libraries to pass to the linker, e.g. -l<library>
1305 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1306 you have headers in a nonstandard directory <include dir>
1309 Use these variables to override the choices made by `configure' or to
help
1310 it to
find libraries and programs with nonstandard names
/locations.
1312 Report bugs to the package provider.
1313 GNU C Runtime Library home page
: <http
://www.gnu.org
/software
/libgcc
/>.
1314 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1319 if test "$ac_init_help" = "recursive"; then
1320 # If there are subdirs, report their specific --help.
1321 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1322 test -d "$ac_dir" ||
1323 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1328 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1330 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1331 # A ".." for each directory in $ac_dir_suffix.
1332 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1333 case $ac_top_builddir_sub in
1334 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1335 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1338 ac_abs_top_builddir
=$ac_pwd
1339 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1340 # for backward compatibility:
1341 ac_top_builddir
=$ac_top_build_prefix
1344 .
) # We are building in place.
1346 ac_top_srcdir
=$ac_top_builddir_sub
1347 ac_abs_top_srcdir
=$ac_pwd ;;
1348 [\\/]* | ?
:[\\/]* ) # Absolute name.
1349 ac_srcdir
=$srcdir$ac_dir_suffix;
1350 ac_top_srcdir
=$srcdir
1351 ac_abs_top_srcdir
=$srcdir ;;
1353 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1354 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1355 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1357 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1359 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1360 # Check for guested configure.
1361 if test -f "$ac_srcdir/configure.gnu"; then
1363 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1364 elif test -f "$ac_srcdir/configure"; then
1366 $SHELL "$ac_srcdir/configure" --help=recursive
1368 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1370 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1374 test -n "$ac_init_help" && exit $ac_status
1375 if $ac_init_version; then
1377 GNU C Runtime Library configure
1.0
1378 generated by GNU Autoconf
2.64
1380 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1381 This configure
script is free software
; the Free Software Foundation
1382 gives unlimited permission to copy
, distribute and modify it.
1387 ## ------------------------ ##
1388 ## Autoconf initialization. ##
1389 ## ------------------------ ##
1391 # ac_fn_c_try_compile LINENO
1392 # --------------------------
1393 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1394 ac_fn_c_try_compile
()
1396 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1397 rm -f conftest.
$ac_objext
1398 if { { ac_try
="$ac_compile"
1400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1401 *) ac_try_echo=$ac_try;;
1403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1404 $as_echo "$ac_try_echo"; } >&5
1405 (eval "$ac_compile") 2>conftest.err
1407 if test -s conftest.err; then
1408 grep -v '^ *+' conftest.err >conftest.er1
1409 cat conftest.er1 >&5
1410 mv -f conftest.er1 conftest.err
1412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1413 test $ac_status = 0; } && {
1414 test -z "$ac_c_werror_flag" ||
1415 test ! -s conftest.err
1416 } && test -s conftest.$ac_objext; then :
1419 $as_echo "$as_me: failed program was:" >&5
1420 sed 's/^/| /' conftest.$ac_ext >&5
1424 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1427 } # ac_fn_c_try_compile
1429 # ac_fn_c_try_cpp LINENO
1430 # ----------------------
1431 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1435 if { { ac_try="$ac_cpp conftest.$ac_ext"
1437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1438 *) ac_try_echo
=$ac_try;;
1440 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1441 $as_echo "$ac_try_echo"; } >&5
1442 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1444 if test -s conftest.err
; then
1445 grep -v '^ *+' conftest.err
>conftest.er1
1446 cat conftest.er1
>&5
1447 mv -f conftest.er1 conftest.err
1449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1450 test $ac_status = 0; } >/dev
/null
&& {
1451 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1452 test ! -s conftest.err
1456 $as_echo "$as_me: failed program was:" >&5
1457 sed 's/^/| /' conftest.
$ac_ext >&5
1461 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1465 cat >config.log
<<_ACEOF
1466 This file contains any messages produced by compilers while
1467 running configure, to aid debugging if configure makes a mistake.
1469 It was created by GNU C Runtime Library $as_me 1.0, which was
1470 generated by GNU Autoconf 2.64. Invocation command line was
1482 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1483 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1484 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1485 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1486 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1488 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1489 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1491 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1492 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1493 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1494 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1495 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1496 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1497 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1505 test -z "$as_dir" && as_dir
=.
1506 $as_echo "PATH: $as_dir"
1522 # Keep a trace of the command line.
1523 # Strip out --no-create and --no-recursion so they do not pile up.
1524 # Strip out --silent because we don't want to record it for future runs.
1525 # Also quote any args containing shell meta-characters.
1526 # Make two passes to allow for proper duplicate-argument suppression.
1530 ac_must_keep_next
=false
1536 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1538 |
-silent |
--silent |
--silen |
--sile |
--sil)
1541 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1544 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1546 as_fn_append ac_configure_args1
" '$ac_arg'"
1547 if test $ac_must_keep_next = true
; then
1548 ac_must_keep_next
=false
# Got value, back to normal.
1551 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1552 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1553 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1554 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1555 case "$ac_configure_args0 " in
1556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1559 -* ) ac_must_keep_next
=true
;;
1562 as_fn_append ac_configure_args
" '$ac_arg'"
1567 { ac_configure_args0
=; unset ac_configure_args0
;}
1568 { ac_configure_args1
=; unset ac_configure_args1
;}
1570 # When interrupted or exit'd, cleanup temporary files, and complete
1571 # config.log. We remove comments because anyway the quotes in there
1572 # would cause problems or look ugly.
1573 # WARNING: Use '\'' to represent an apostrophe within the trap.
1574 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1575 trap 'exit_status=$?
1576 # Save into config.log some information that might help in debugging.
1581 ## ---------------- ##
1582 ## Cache variables. ##
1583 ## ---------------- ##
1586 # The following way of writing the cache mishandles newlines in values,
1588 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1589 eval ac_val=\$$ac_var
1593 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1594 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1597 _ | IFS | as_nl) ;; #(
1598 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1599 *) { eval $ac_var=; unset $ac_var;} ;;
1604 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1605 *${as_nl}ac_space=\ *)
1607 "s/'\''/'\''\\\\'\'''\''/g;
1608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1619 ## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##
1624 for ac_var in $ac_subst_vars
1626 eval ac_val=\$$ac_var
1628 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1630 $as_echo "$ac_var='\''$ac_val'\''"
1634 if test -n "$ac_subst_files"; then
1636 ## ------------------- ##
1637 ## File substitutions. ##
1638 ## ------------------- ##
1641 for ac_var
in $ac_subst_files
1643 eval ac_val
=\$
$ac_var
1645 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1647 $as_echo "$ac_var='\''$ac_val'\''"
1652 if test -s confdefs.h; then
1662 test "$ac_signal" != 0 &&
1663 $as_echo "$as_me: caught signal $ac_signal"
1664 $as_echo "$as_me: exit $exit_status"
1666 rm -f core *.core core.conftest.* &&
1667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670 for ac_signal
in 1 2 13 15; do
1671 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1676 rm -f -r conftest
* confdefs.h
1678 $as_echo "/* confdefs.h */" > confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h
<<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1686 cat >>confdefs.h
<<_ACEOF
1687 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1690 cat >>confdefs.h
<<_ACEOF
1691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1694 cat >>confdefs.h
<<_ACEOF
1695 #define PACKAGE_STRING "$PACKAGE_STRING"
1698 cat >>confdefs.h
<<_ACEOF
1699 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1702 cat >>confdefs.h
<<_ACEOF
1703 #define PACKAGE_URL "$PACKAGE_URL"
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer an explicitly selected file to automatically selected ones.
1711 if test -n "$CONFIG_SITE"; then
1712 ac_site_file1
=$CONFIG_SITE
1713 elif test "x$prefix" != xNONE
; then
1714 ac_site_file1
=$prefix/share
/config.site
1715 ac_site_file2
=$prefix/etc
/config.site
1717 ac_site_file1
=$ac_default_prefix/share
/config.site
1718 ac_site_file2
=$ac_default_prefix/etc
/config.site
1720 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1722 test "x$ac_site_file" = xNONE
&& continue
1723 if test -r "$ac_site_file"; then
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1725 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1726 sed 's/^/| /' "$ac_site_file" >&5
1731 if test -r "$cache_file"; then
1732 # Some versions of bash will fail to source /dev/null (special
1733 # files actually), so we avoid doing that.
1734 if test -f "$cache_file"; then
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1736 $as_echo "$as_me: loading cache $cache_file" >&6;}
1738 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1739 *) .
"./$cache_file";;
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1744 $as_echo "$as_me: creating cache $cache_file" >&6;}
1748 # Check that the precious variables saved in the cache have kept the same
1750 ac_cache_corrupted
=false
1751 for ac_var
in $ac_precious_vars; do
1752 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1753 eval ac_new_set
=\
$ac_env_${ac_var}_set
1754 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1755 eval ac_new_val
=\
$ac_env_${ac_var}_value
1756 case $ac_old_set,$ac_new_set in
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1759 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1760 ac_cache_corrupted
=: ;;
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1763 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1764 ac_cache_corrupted
=: ;;
1767 if test "x$ac_old_val" != "x$ac_new_val"; then
1768 # differences in whitespace do not lead to failure.
1769 ac_old_val_w
=`echo x $ac_old_val`
1770 ac_new_val_w
=`echo x $ac_new_val`
1771 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1773 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1774 ac_cache_corrupted
=:
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1777 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1778 eval $ac_var=\
$ac_old_val
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1781 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1783 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1786 # Pass precious variables to config.status.
1787 if test "$ac_new_set" = set; then
1789 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1790 *) ac_arg
=$ac_var=$ac_new_val ;;
1792 case " $ac_configure_args " in
1793 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1794 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1798 if $ac_cache_corrupted; then
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1802 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1803 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1805 ## -------------------- ##
1806 ## Main body of script. ##
1807 ## -------------------- ##
1810 ac_cpp
='$CPP $CPPFLAGS'
1811 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1812 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1813 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1822 # Check whether --with-target-subdir was given.
1823 if test "${with_target_subdir+set}" = set; then :
1824 withval
=$with_target_subdir;
1828 # Check whether --with-cross-host was given.
1829 if test "${with_cross_host+set}" = set; then :
1830 withval
=$with_cross_host;
1834 # Check whether --with-ld was given.
1835 if test "${with_ld+set}" = set; then :
1840 if test "${srcdir}" = "."; then
1841 if test -n "${with_build_subdir}"; then
1842 libgcc_topdir
="${srcdir}/../.."
1844 elif test -z "${with_target_subdir}"; then
1845 libgcc_topdir
="${srcdir}/.."
1847 if test "${with_target_subdir}" != "."; then
1848 libgcc_topdir
="${srcdir}/${with_multisrctop}../.."
1850 libgcc_topdir
="${srcdir}/${with_multisrctop}.."
1854 libgcc_topdir
="${srcdir}/.."
1858 for ac_dir
in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
1859 for ac_t
in install-sh
install.sh shtool
; do
1860 if test -f "$ac_dir/$ac_t"; then
1862 ac_install_sh
="$ac_aux_dir/$ac_t -c"
1867 if test -z "$ac_aux_dir"; then
1868 as_fn_error
"cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
1871 # These three variables are undocumented and unsupported,
1872 # and are intended to be withdrawn in a future Autoconf release.
1873 # They can cause serious problems if a builder's source tree is in a directory
1874 # whose full name contains unusual characters.
1875 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1876 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1877 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1881 # Check whether --enable-shared was given.
1882 if test "${enable_shared+set}" = set; then :
1883 enableval
=$enable_shared;
1884 case $enable_shared in
1888 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1889 for pkg
in $enableval; do
1890 if test "X$pkg" = "Xgcc" ||
test "X$pkg" = "Xlibgcc"; then
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
1905 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
1906 # Check whether --enable-version-specific-runtime-libs was given.
1907 if test "${enable_version_specific_runtime_libs+set}" = set; then :
1908 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
1909 yes) version_specific_libs
=yes ;;
1910 no
) version_specific_libs
=no
;;
1911 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
1914 version_specific_libs
=no
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
1918 $as_echo "$version_specific_libs" >&6; }
1921 # Check whether --with-slibdir was given.
1922 if test "${with_slibdir+set}" = set; then :
1923 withval
=$with_slibdir; slibdir
="$with_slibdir"
1925 if test "${version_specific_libs}" = yes; then
1926 slibdir
='$(libsubdir)'
1927 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
1928 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
1936 # Command-line options.
1937 # Very limited version of AC_MAINTAINER_MODE.
1938 # Check whether --enable-maintainer-mode was given.
1939 if test "${enable_maintainer_mode+set}" = set; then :
1940 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
1943 *) as_fn_error
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
1945 maintainer_mode
=${enableval}
1951 # Find a good install program. We prefer a C program (faster),
1952 # so one script is as good as another. But avoid the broken or
1953 # incompatible versions:
1954 # SysV /etc/install, /usr/sbin/install
1955 # SunOS /usr/etc/install
1956 # IRIX /sbin/install
1958 # AmigaOS /C/install, which installs bootblocks on floppy discs
1959 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1960 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1961 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1962 # OS/2's system install, which has a completely different semantic
1963 # ./install, which can be erroneously created by make from ./install.sh.
1964 # Reject install programs that cannot install multiple files.
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1966 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1967 if test -z "$INSTALL"; then
1968 if test "${ac_cv_path_install+set}" = set; then :
1969 $as_echo_n "(cached) " >&6
1971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1975 test -z "$as_dir" && as_dir
=.
1976 # Account for people who put trailing slashes in PATH elements.
1977 case $as_dir/ in #((
1978 .
/ | .
// |
/[cC
]/* | \
1979 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1980 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
1983 # OSF1 and SCO ODT 3.0 have their own names for install.
1984 # Don't use installbsd from OSF since it installs stuff as root
1986 for ac_prog
in ginstall scoinst
install; do
1987 for ac_exec_ext
in '' $ac_executable_extensions; do
1988 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1989 if test $ac_prog = install &&
1990 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1991 # AIX install. It has an incompatible calling convention.
1993 elif test $ac_prog = install &&
1994 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1995 # program-specific install script used by HP pwplus--don't use.
1998 rm -rf conftest.one conftest.two conftest.dir
1999 echo one
> conftest.one
2000 echo two
> conftest.two
2002 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2003 test -s conftest.one
&& test -s conftest.two
&&
2004 test -s conftest.dir
/conftest.one
&&
2005 test -s conftest.dir
/conftest.two
2007 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2020 rm -rf conftest.one conftest.two conftest.dir
2023 if test "${ac_cv_path_install+set}" = set; then
2024 INSTALL
=$ac_cv_path_install
2026 # As a last resort, use the slow shell script. Don't cache a
2027 # value for INSTALL within a source directory, because that will
2028 # break other packages using the cache if that directory is
2029 # removed, or if the value is a relative name.
2030 INSTALL
=$ac_install_sh
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2034 $as_echo "$INSTALL" >&6; }
2036 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2037 # It thinks the first close brace ends the variable substitution.
2038 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2040 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2042 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2045 for ac_prog
in gawk mawk nawk
awk
2047 # Extract the first word of "$ac_prog", so it can be a program name with args.
2048 set dummy
$ac_prog; ac_word
=$2
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2050 $as_echo_n "checking for $ac_word... " >&6; }
2051 if test "${ac_cv_prog_AWK+set}" = set; then :
2052 $as_echo_n "(cached) " >&6
2054 if test -n "$AWK"; then
2055 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir
=.
2062 for ac_exec_ext
in '' $ac_executable_extensions; do
2063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2064 ac_cv_prog_AWK
="$ac_prog"
2065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2075 if test -n "$AWK"; then
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2077 $as_echo "$AWK" >&6; }
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2080 $as_echo "no" >&6; }
2084 test -n "$AWK" && break
2087 # We need awk; bail out if it's missing.
2089 "") as_fn_error
"can't build without awk, bailing out" "$LINENO" 5 ;;
2092 # Make sure we can run config.sub.
2093 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2094 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2097 $as_echo_n "checking build system type... " >&6; }
2098 if test "${ac_cv_build+set}" = set; then :
2099 $as_echo_n "(cached) " >&6
2101 ac_build_alias
=$build_alias
2102 test "x$ac_build_alias" = x
&&
2103 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2104 test "x$ac_build_alias" = x
&&
2105 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2106 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2107 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2111 $as_echo "$ac_cv_build" >&6; }
2112 case $ac_cv_build in
2114 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2117 ac_save_IFS
=$IFS; IFS
='-'
2123 # Remember, the first character of IFS is used to create $*,
2124 # except with old shells:
2127 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2131 $as_echo_n "checking host system type... " >&6; }
2132 if test "${ac_cv_host+set}" = set; then :
2133 $as_echo_n "(cached) " >&6
2135 if test "x$host_alias" = x
; then
2136 ac_cv_host
=$ac_cv_build
2138 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2139 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2144 $as_echo "$ac_cv_host" >&6; }
2147 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2150 ac_save_IFS
=$IFS; IFS
='-'
2156 # Remember, the first character of IFS is used to create $*,
2157 # except with old shells:
2160 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2163 case ${build_alias} in
2164 "") build_noncanonical
=${build} ;;
2165 *) build_noncanonical
=${build_alias} ;;
2168 case ${host_alias} in
2169 "") host_noncanonical
=${build_noncanonical} ;;
2170 *) host_noncanonical
=${host_alias} ;;
2175 case ${target_alias} in
2176 "") target_noncanonical
=${host_noncanonical} ;;
2177 *) target_noncanonical
=${target_alias} ;;
2183 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2184 # have matching libraries, they should use host libraries: Makefile.tpl
2185 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2186 # However, they still use the build modules, because the corresponding
2187 # host modules (e.g. bison) are only built for the host when bootstrap
2189 # - build_subdir is where we find build modules, and never changes.
2190 # - build_libsubdir is where we find build libraries, and can be overridden.
2192 # Prefix 'build-' so this never conflicts with target_subdir.
2193 build_subdir
="build-${build_noncanonical}"
2195 # Check whether --with-build-libsubdir was given.
2196 if test "${with_build_libsubdir+set}" = set; then :
2197 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2199 build_libsubdir
="$build_subdir"
2202 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2203 if ( test $srcdir = .
&& test -d gcc
) \
2204 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2205 host_subdir
="host-${host_noncanonical}"
2210 target_subdir
=${target_noncanonical}
2213 # Calculate toolexeclibdir
2214 # Also toolexecdir, though it's only used in toolexeclibdir
2215 case ${version_specific_libs} in
2217 # Need the gcc compiler version to know where to install libraries
2218 # and header files if --enable-version-specific-runtime-libs option
2220 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
2221 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2224 if test -n "$with_cross_host" &&
2225 test x
"$with_cross_host" != x
"no"; then
2226 # Install a library built with a cross compiler in tooldir, not libdir.
2227 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
2228 toolexeclibdir
='$(toolexecdir)/lib'
2230 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
2231 toolexeclibdir
='$(libdir)'
2233 multi_os_directory
=`$CC -print-multi-os-directory`
2234 case $multi_os_directory in
2235 .
) ;; # Avoid trailing /.
2236 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2243 if test -n "$ac_tool_prefix"; then
2244 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2245 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2247 $as_echo_n "checking for $ac_word... " >&6; }
2248 if test "${ac_cv_prog_AR+set}" = set; then :
2249 $as_echo_n "(cached) " >&6
2251 if test -n "$AR"; then
2252 ac_cv_prog_AR
="$AR" # Let the user override the test.
2254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2258 test -z "$as_dir" && as_dir
=.
2259 for ac_exec_ext
in '' $ac_executable_extensions; do
2260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2261 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2272 if test -n "$AR"; then
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2274 $as_echo "$AR" >&6; }
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2277 $as_echo "no" >&6; }
2282 if test -z "$ac_cv_prog_AR"; then
2284 # Extract the first word of "ar", so it can be a program name with args.
2285 set dummy
ar; ac_word
=$2
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2287 $as_echo_n "checking for $ac_word... " >&6; }
2288 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2289 $as_echo_n "(cached) " >&6
2291 if test -n "$ac_ct_AR"; then
2292 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2298 test -z "$as_dir" && as_dir
=.
2299 for ac_exec_ext
in '' $ac_executable_extensions; do
2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301 ac_cv_prog_ac_ct_AR
="ar"
2302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2312 if test -n "$ac_ct_AR"; then
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2314 $as_echo "$ac_ct_AR" >&6; }
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2317 $as_echo "no" >&6; }
2320 if test "x$ac_ct_AR" = x
; then
2323 case $cross_compiling:$ac_tool_warned in
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2327 ac_tool_warned
=yes ;;
2335 if test -n "$ac_tool_prefix"; then
2336 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2337 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2339 $as_echo_n "checking for $ac_word... " >&6; }
2340 if test "${ac_cv_prog_LIPO+set}" = set; then :
2341 $as_echo_n "(cached) " >&6
2343 if test -n "$LIPO"; then
2344 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
2346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2350 test -z "$as_dir" && as_dir
=.
2351 for ac_exec_ext
in '' $ac_executable_extensions; do
2352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2353 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
2354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 LIPO
=$ac_cv_prog_LIPO
2364 if test -n "$LIPO"; then
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2366 $as_echo "$LIPO" >&6; }
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2369 $as_echo "no" >&6; }
2374 if test -z "$ac_cv_prog_LIPO"; then
2376 # Extract the first word of "lipo", so it can be a program name with args.
2377 set dummy lipo
; ac_word
=$2
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2379 $as_echo_n "checking for $ac_word... " >&6; }
2380 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
2381 $as_echo_n "(cached) " >&6
2383 if test -n "$ac_ct_LIPO"; then
2384 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
2386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir
=.
2391 for ac_exec_ext
in '' $ac_executable_extensions; do
2392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2393 ac_cv_prog_ac_ct_LIPO
="lipo"
2394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
2404 if test -n "$ac_ct_LIPO"; then
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2406 $as_echo "$ac_ct_LIPO" >&6; }
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2409 $as_echo "no" >&6; }
2412 if test "x$ac_ct_LIPO" = x
; then
2415 case $cross_compiling:$ac_tool_warned in
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2419 ac_tool_warned
=yes ;;
2424 LIPO
="$ac_cv_prog_LIPO"
2427 if test -n "$ac_tool_prefix"; then
2428 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2429 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2431 $as_echo_n "checking for $ac_word... " >&6; }
2432 if test "${ac_cv_prog_NM+set}" = set; then :
2433 $as_echo_n "(cached) " >&6
2435 if test -n "$NM"; then
2436 ac_cv_prog_NM
="$NM" # Let the user override the test.
2438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2442 test -z "$as_dir" && as_dir
=.
2443 for ac_exec_ext
in '' $ac_executable_extensions; do
2444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2445 ac_cv_prog_NM
="${ac_tool_prefix}nm"
2446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2456 if test -n "$NM"; then
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2458 $as_echo "$NM" >&6; }
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2461 $as_echo "no" >&6; }
2466 if test -z "$ac_cv_prog_NM"; then
2468 # Extract the first word of "nm", so it can be a program name with args.
2469 set dummy nm
; ac_word
=$2
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2471 $as_echo_n "checking for $ac_word... " >&6; }
2472 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
2473 $as_echo_n "(cached) " >&6
2475 if test -n "$ac_ct_NM"; then
2476 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
2478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2482 test -z "$as_dir" && as_dir
=.
2483 for ac_exec_ext
in '' $ac_executable_extensions; do
2484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2485 ac_cv_prog_ac_ct_NM
="nm"
2486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2495 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
2496 if test -n "$ac_ct_NM"; then
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
2498 $as_echo "$ac_ct_NM" >&6; }
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2501 $as_echo "no" >&6; }
2504 if test "x$ac_ct_NM" = x
; then
2507 case $cross_compiling:$ac_tool_warned in
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2511 ac_tool_warned
=yes ;;
2519 if test -n "$ac_tool_prefix"; then
2520 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2521 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2523 $as_echo_n "checking for $ac_word... " >&6; }
2524 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2525 $as_echo_n "(cached) " >&6
2527 if test -n "$RANLIB"; then
2528 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir
=.
2535 for ac_exec_ext
in '' $ac_executable_extensions; do
2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2547 RANLIB
=$ac_cv_prog_RANLIB
2548 if test -n "$RANLIB"; then
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2550 $as_echo "$RANLIB" >&6; }
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2553 $as_echo "no" >&6; }
2558 if test -z "$ac_cv_prog_RANLIB"; then
2559 ac_ct_RANLIB
=$RANLIB
2560 # Extract the first word of "ranlib", so it can be a program name with args.
2561 set dummy ranlib
; ac_word
=$2
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2563 $as_echo_n "checking for $ac_word... " >&6; }
2564 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2565 $as_echo_n "(cached) " >&6
2567 if test -n "$ac_ct_RANLIB"; then
2568 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2574 test -z "$as_dir" && as_dir
=.
2575 for ac_exec_ext
in '' $ac_executable_extensions; do
2576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2577 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2588 if test -n "$ac_ct_RANLIB"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2590 $as_echo "$ac_ct_RANLIB" >&6; }
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593 $as_echo "no" >&6; }
2596 if test "x$ac_ct_RANLIB" = x
; then
2599 case $cross_compiling:$ac_tool_warned in
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2603 ac_tool_warned
=yes ;;
2605 RANLIB
=$ac_ct_RANLIB
2608 RANLIB
="$ac_cv_prog_RANLIB"
2611 if test -n "$ac_tool_prefix"; then
2612 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2613 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2615 $as_echo_n "checking for $ac_word... " >&6; }
2616 if test "${ac_cv_prog_STRIP+set}" = set; then :
2617 $as_echo_n "(cached) " >&6
2619 if test -n "$STRIP"; then
2620 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2626 test -z "$as_dir" && as_dir
=.
2627 for ac_exec_ext
in '' $ac_executable_extensions; do
2628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2629 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 STRIP
=$ac_cv_prog_STRIP
2640 if test -n "$STRIP"; then
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2642 $as_echo "$STRIP" >&6; }
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2645 $as_echo "no" >&6; }
2650 if test -z "$ac_cv_prog_STRIP"; then
2652 # Extract the first word of "strip", so it can be a program name with args.
2653 set dummy strip
; ac_word
=$2
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2655 $as_echo_n "checking for $ac_word... " >&6; }
2656 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2657 $as_echo_n "(cached) " >&6
2659 if test -n "$ac_ct_STRIP"; then
2660 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2666 test -z "$as_dir" && as_dir
=.
2667 for ac_exec_ext
in '' $ac_executable_extensions; do
2668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2669 ac_cv_prog_ac_ct_STRIP
="strip"
2670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2680 if test -n "$ac_ct_STRIP"; then
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2682 $as_echo "$ac_ct_STRIP" >&6; }
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685 $as_echo "no" >&6; }
2688 if test "x$ac_ct_STRIP" = x
; then
2691 case $cross_compiling:$ac_tool_warned in
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2695 ac_tool_warned
=yes ;;
2700 STRIP
="$ac_cv_prog_STRIP"
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2704 $as_echo_n "checking whether ln -s works... " >&6; }
2706 if test "$LN_S" = "ln -s"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2708 $as_echo "yes" >&6; }
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2711 $as_echo "no, using $LN_S" >&6; }
2717 ac_cpp
='$CPP $CPPFLAGS'
2718 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2719 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2720 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2721 if test -n "$ac_tool_prefix"; then
2722 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2723 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2725 $as_echo_n "checking for $ac_word... " >&6; }
2726 if test "${ac_cv_prog_CC+set}" = set; then :
2727 $as_echo_n "(cached) " >&6
2729 if test -n "$CC"; then
2730 ac_cv_prog_CC
="$CC" # Let the user override the test.
2732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2736 test -z "$as_dir" && as_dir
=.
2737 for ac_exec_ext
in '' $ac_executable_extensions; do
2738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2739 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2750 if test -n "$CC"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2752 $as_echo "$CC" >&6; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755 $as_echo "no" >&6; }
2760 if test -z "$ac_cv_prog_CC"; then
2762 # Extract the first word of "gcc", so it can be a program name with args.
2763 set dummy gcc
; ac_word
=$2
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765 $as_echo_n "checking for $ac_word... " >&6; }
2766 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2767 $as_echo_n "(cached) " >&6
2769 if test -n "$ac_ct_CC"; then
2770 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2776 test -z "$as_dir" && as_dir
=.
2777 for ac_exec_ext
in '' $ac_executable_extensions; do
2778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2779 ac_cv_prog_ac_ct_CC
="gcc"
2780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2789 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2790 if test -n "$ac_ct_CC"; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2792 $as_echo "$ac_ct_CC" >&6; }
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795 $as_echo "no" >&6; }
2798 if test "x$ac_ct_CC" = x
; then
2801 case $cross_compiling:$ac_tool_warned in
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2805 ac_tool_warned
=yes ;;
2813 if test -z "$CC"; then
2814 if test -n "$ac_tool_prefix"; then
2815 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2816 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818 $as_echo_n "checking for $ac_word... " >&6; }
2819 if test "${ac_cv_prog_CC+set}" = set; then :
2820 $as_echo_n "(cached) " >&6
2822 if test -n "$CC"; then
2823 ac_cv_prog_CC
="$CC" # Let the user override the test.
2825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2829 test -z "$as_dir" && as_dir
=.
2830 for ac_exec_ext
in '' $ac_executable_extensions; do
2831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2832 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 if test -n "$CC"; then
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2845 $as_echo "$CC" >&6; }
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2848 $as_echo "no" >&6; }
2854 if test -z "$CC"; then
2855 # Extract the first word of "cc", so it can be a program name with args.
2856 set dummy cc
; ac_word
=$2
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2858 $as_echo_n "checking for $ac_word... " >&6; }
2859 if test "${ac_cv_prog_CC+set}" = set; then :
2860 $as_echo_n "(cached) " >&6
2862 if test -n "$CC"; then
2863 ac_cv_prog_CC
="$CC" # Let the user override the test.
2866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2870 test -z "$as_dir" && as_dir
=.
2871 for ac_exec_ext
in '' $ac_executable_extensions; do
2872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2873 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2874 ac_prog_rejected
=yes
2878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2885 if test $ac_prog_rejected = yes; then
2886 # We found a bogon in the path, so make sure we never use it.
2887 set dummy
$ac_cv_prog_CC
2889 if test $# != 0; then
2890 # We chose a different compiler from the bogus one.
2891 # However, it has the same basename, so the bogon will be chosen
2892 # first if we set CC to just the basename; use the full file name.
2894 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2900 if test -n "$CC"; then
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2902 $as_echo "$CC" >&6; }
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2905 $as_echo "no" >&6; }
2910 if test -z "$CC"; then
2911 if test -n "$ac_tool_prefix"; then
2912 for ac_prog
in cl.exe
2914 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2915 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2917 $as_echo_n "checking for $ac_word... " >&6; }
2918 if test "${ac_cv_prog_CC+set}" = set; then :
2919 $as_echo_n "(cached) " >&6
2921 if test -n "$CC"; then
2922 ac_cv_prog_CC
="$CC" # Let the user override the test.
2924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2928 test -z "$as_dir" && as_dir
=.
2929 for ac_exec_ext
in '' $ac_executable_extensions; do
2930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2931 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2942 if test -n "$CC"; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2944 $as_echo "$CC" >&6; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947 $as_echo "no" >&6; }
2951 test -n "$CC" && break
2954 if test -z "$CC"; then
2956 for ac_prog
in cl.exe
2958 # Extract the first word of "$ac_prog", so it can be a program name with args.
2959 set dummy
$ac_prog; ac_word
=$2
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2961 $as_echo_n "checking for $ac_word... " >&6; }
2962 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2963 $as_echo_n "(cached) " >&6
2965 if test -n "$ac_ct_CC"; then
2966 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2972 test -z "$as_dir" && as_dir
=.
2973 for ac_exec_ext
in '' $ac_executable_extensions; do
2974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2975 ac_cv_prog_ac_ct_CC
="$ac_prog"
2976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2986 if test -n "$ac_ct_CC"; then
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2988 $as_echo "$ac_ct_CC" >&6; }
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 $as_echo "no" >&6; }
2995 test -n "$ac_ct_CC" && break
2998 if test "x$ac_ct_CC" = x
; then
3001 case $cross_compiling:$ac_tool_warned in
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3005 ac_tool_warned
=yes ;;
3014 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3016 as_fn_error
"no acceptable C compiler found in \$PATH
3017 See \`config.log' for more details." "$LINENO" 5; }
3019 # Provide some information about the compiler.
3020 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3023 for ac_option
in --version -v -V -qversion; do
3024 { { ac_try
="$ac_compiler $ac_option >&5"
3026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3027 *) ac_try_echo=$ac_try;;
3029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3030 $as_echo "$ac_try_echo"; } >&5
3031 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3033 if test -s conftest.err; then
3035 ... rest of stderr output deleted ...
3036 10q' conftest.err >conftest.er1
3037 cat conftest.er1 >&5
3038 rm -f conftest.er1 conftest.err
3040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3041 test $ac_status = 0; }
3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3057 (eval $ac_link) 2>&5
3059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3060 test $ac_status = 0; }; then :
3065 if test x$gcc_no_link = xyes; then
3066 # Setting cross_compile will disable run tests; it will
3067 # also disable AC_CHECK_FILE but that's generally
3068 # correct if we can't link.
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073 /* end confdefs.h. */
3083 ac_clean_files_save=$ac_clean_files
3084 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3085 # Try to create an executable without -o first, disregard a.out.
3086 # It will help us diagnose broken compilers, and finding out an intuition
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3089 $as_echo_n "checking for C compiler default output file name... " >&6; }
3090 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3092 # The possible output files:
3093 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3096 for ac_file in $ac_files
3099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3100 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3105 if { { ac_try="$ac_link_default"
3107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3108 *) ac_try_echo
=$ac_try;;
3110 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3111 $as_echo "$ac_try_echo"; } >&5
3112 (eval "$ac_link_default") 2>&5
3114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3115 test $ac_status = 0; }; then :
3116 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3117 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3118 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3119 # so that the user can short-circuit this test for compilers unknown to
3121 for ac_file
in $ac_files ''
3123 test -f "$ac_file" ||
continue
3125 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3128 # We found the default executable, but exeext='' is most
3132 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3134 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3136 # We set ac_cv_exeext here because the later test for it is not
3137 # safe: cross compilers may not add the suffix if given an `-o'
3138 # argument, so we may need to know it at that point already.
3139 # Even if this section looks crufty: it has the advantage of
3146 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3152 $as_echo "$ac_file" >&6; }
3153 if test -z "$ac_file"; then :
3154 $as_echo "$as_me: failed program was:" >&5
3155 sed 's/^/| /' conftest.
$ac_ext >&5
3157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3159 { as_fn_set_status
77
3160 as_fn_error
"C compiler cannot create executables
3161 See \`config.log' for more details." "$LINENO" 5; }; }
3163 ac_exeext
=$ac_cv_exeext
3165 # Check that the compiler produces executables we can run. If not, either
3166 # the compiler is broken, or we cross compile.
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3168 $as_echo_n "checking whether the C compiler works... " >&6; }
3169 # If not cross compiling, check that we can run a simple program.
3170 if test "$cross_compiling" != yes; then
3171 if { ac_try
='./$ac_file'
3172 { { case "(($ac_try" in
3173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3177 $as_echo "$ac_try_echo"; } >&5
3178 (eval "$ac_try") 2>&5
3180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3181 test $ac_status = 0; }; }; then
3184 if test "$cross_compiling" = maybe; then
3187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3189 as_fn_error "cannot run C compiled programs.
3190 If you meant to cross compile
, use \
`--host'.
3191 See \`config.log
' for more details." "$LINENO" 5; }
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3196 $as_echo "yes" >&6; }
3198 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3199 ac_clean_files=$ac_clean_files_save
3200 # Check that the compiler produces executables we can run. If not, either
3201 # the compiler is broken, or we cross compile.
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3203 $as_echo_n "checking whether we are cross compiling... " >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3205 $as_echo "$cross_compiling" >&6; }
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3208 $as_echo_n "checking for suffix of executables... " >&6; }
3209 if { { ac_try="$ac_link"
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3215 $as_echo "$ac_try_echo"; } >&5
3216 (eval "$ac_link") 2>&5
3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3219 test $ac_status = 0; }; then :
3220 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3221 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3222 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3224 for ac_file
in conftest.exe conftest conftest.
*; do
3225 test -f "$ac_file" ||
continue
3227 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3228 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3236 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3237 See \`config.log' for more details." "$LINENO" 5; }
3239 rm -f conftest
$ac_cv_exeext
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3241 $as_echo "$ac_cv_exeext" >&6; }
3243 rm -f conftest.
$ac_ext
3244 EXEEXT
=$ac_cv_exeext
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3248 $as_echo_n "checking for suffix of object files... " >&6; }
3249 if test "${ac_cv_objext+set}" = set; then :
3250 $as_echo_n "(cached) " >&6
3252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h. */
3263 rm -f conftest.o conftest.obj
3264 if { { ac_try
="$ac_compile"
3266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3270 $as_echo "$ac_try_echo"; } >&5
3271 (eval "$ac_compile") 2>&5
3273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3274 test $ac_status = 0; }; then :
3275 for ac_file in conftest.o conftest.obj conftest.*; do
3276 test -f "$ac_file" || continue;
3278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3279 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3284 $as_echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3289 as_fn_error "cannot compute suffix of object files
: cannot compile
3290 See \
`config.log' for more details." "$LINENO" 5; }
3292 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3295 $as_echo "$ac_cv_objext" >&6; }
3296 OBJEXT=$ac_cv_objext
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3299 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3300 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3301 $as_echo_n "(cached) " >&6
3303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3304 /* end confdefs.h. */
3317 if ac_fn_c_try_compile "$LINENO"; then :
3322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3323 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3327 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3328 if test $ac_compiler_gnu = yes; then
3333 ac_test_CFLAGS=${CFLAGS+set}
3334 ac_save_CFLAGS=$CFLAGS
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3336 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3337 if test "${ac_cv_prog_cc_g+set}" = set; then :
3338 $as_echo_n "(cached) " >&6
3340 ac_save_c_werror_flag=$ac_c_werror_flag
3341 ac_c_werror_flag=yes
3344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3345 /* end confdefs.h. */
3355 if ac_fn_c_try_compile "$LINENO"; then :
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3370 if ac_fn_c_try_compile "$LINENO"; then :
3373 ac_c_werror_flag=$ac_save_c_werror_flag
3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3386 if ac_fn_c_try_compile "$LINENO"; then :
3389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3394 ac_c_werror_flag=$ac_save_c_werror_flag
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3397 $as_echo "$ac_cv_prog_cc_g" >&6; }
3398 if test "$ac_test_CFLAGS" = set; then
3399 CFLAGS=$ac_save_CFLAGS
3400 elif test $ac_cv_prog_cc_g = yes; then
3401 if test "$GCC" = yes; then
3407 if test "$GCC" = yes; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3414 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3415 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3416 $as_echo_n "(cached) " >&6
3418 ac_cv_prog_cc_c89=no
3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3424 #include <sys/types.h>
3425 #include <sys/stat.h>
3426 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3427 struct buf { int x; };
3428 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3429 static char *e (p, i)
3435 static char *f (char * (*g) (char **, int), char **p, ...)
3440 s = g (p, va_arg (v,int));
3445 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3446 function prototypes and stuff, but not '\xHH' hex character constants.
3447 These don't provoke an error unfortunately, instead are silently treated
3448 as 'x'. The following induces an error, until -std is added to get
3449 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3450 array size at least. It's necessary to write '\x00'==0 to get something
3451 that's true only with -std. */
3452 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3454 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3455 inside strings and character constants. */
3457 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3459 int test (int i, double x);
3460 struct s1 {int (*f) (int a);};
3461 struct s2 {int (*f) (double a);};
3462 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3468 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3473 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3474 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3476 CC="$ac_save_CC $ac_arg"
3477 if ac_fn_c_try_compile "$LINENO"; then :
3478 ac_cv_prog_cc_c89=$ac_arg
3480 rm -f core conftest.err conftest.$ac_objext
3481 test "x$ac_cv_prog_cc_c89" != "xno" && break
3483 rm -f conftest.$ac_ext
3488 case "x$ac_cv_prog_cc_c89" in
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3491 $as_echo "none needed" >&6; } ;;
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3494 $as_echo "unsupported" >&6; } ;;
3496 CC="$CC $ac_cv_prog_cc_c89"
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3498 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3500 if test "x$ac_cv_prog_cc_c89" != xno; then :
3505 ac_cpp='$CPP $CPPFLAGS'
3506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3511 ac_cpp='$CPP $CPPFLAGS'
3512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3516 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3517 # On Suns, sometimes $CPP names a directory.
3518 if test -n "$CPP" && test -d "$CPP"; then
3521 if test -z "$CPP"; then
3522 if test "${ac_cv_prog_CPP+set}" = set; then :
3523 $as_echo_n "(cached) " >&6
3525 # Double quotes because CPP needs to be expanded
3526 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3529 for ac_c_preproc_warn_flag in '' yes
3531 # Use a header file that comes with gcc, so configuring glibc
3532 # with a fresh cross-compiler works.
3533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3534 # <limits.h> exists even on freestanding compilers.
3535 # On the NeXT, cc -E runs the code through the compiler's parser,
3536 # not just through cpp. "Syntax error" is here to catch this case.
3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3538 /* end confdefs.h. */
3540 # include <limits.h>
3542 # include <assert.h>
3546 if ac_fn_c_try_cpp "$LINENO"; then :
3549 # Broken: fails on valid input.
3552 rm -f conftest.err conftest.$ac_ext
3554 # OK, works on sane cases. Now check whether nonexistent headers
3555 # can be detected and how.
3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557 /* end confdefs.h. */
3558 #include <ac_nonexistent.h>
3560 if ac_fn_c_try_cpp "$LINENO"; then :
3561 # Broken: success on invalid input.
3564 # Passes both tests.
3568 rm -f conftest.err conftest.$ac_ext
3571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3572 rm -f conftest.err conftest.
$ac_ext
3573 if $ac_preproc_ok; then :
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3586 $as_echo "$CPP" >&6; }
3588 for ac_c_preproc_warn_flag
in '' yes
3590 # Use a header file that comes with gcc, so configuring glibc
3591 # with a fresh cross-compiler works.
3592 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3593 # <limits.h> exists even on freestanding compilers.
3594 # On the NeXT, cc -E runs the code through the compiler's parser,
3595 # not just through cpp. "Syntax error" is here to catch this case.
3596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3599 # include <limits.h>
3601 # include <assert.h>
3605 if ac_fn_c_try_cpp
"$LINENO"; then :
3608 # Broken: fails on valid input.
3611 rm -f conftest.err conftest.
$ac_ext
3613 # OK, works on sane cases. Now check whether nonexistent headers
3614 # can be detected and how.
3615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h. */
3617 #include <ac_nonexistent.h>
3619 if ac_fn_c_try_cpp
"$LINENO"; then :
3620 # Broken: success on invalid input.
3623 # Passes both tests.
3627 rm -f conftest.err conftest.
$ac_ext
3630 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3631 rm -f conftest.err conftest.
$ac_ext
3632 if $ac_preproc_ok; then :
3635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3637 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3638 See \`config.log' for more details." "$LINENO" 5; }
3642 ac_cpp
='$CPP $CPPFLAGS'
3643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3648 ac_c_preproc_warn_flag
=yes
3650 # Check for decimal float support.
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
3653 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
3654 if test "${libgcc_cv_dfp+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h. */
3661 if ac_fn_c_try_compile
"$LINENO"; then :
3666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
3669 $as_echo "$libgcc_cv_dfp" >&6; }
3670 decimal_float
=$libgcc_cv_dfp
3674 # Check whether --enable-decimal-float was given.
3675 if test "${enable_decimal_float+set}" = set; then :
3676 enableval
=$enable_decimal_float;
3677 case $enable_decimal_float in
3678 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
3679 *) as_fn_error
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
3680 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
3686 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
3687 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
3689 enable_decimal_float
=yes
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
3693 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
3694 enable_decimal_float
=no
3701 # x86's use BID format instead of DPD
3702 case x
$enable_decimal_float in
3705 i?
86*-*-* | x86_64
*-*-*)
3706 enable_decimal_float
=bid
3709 enable_decimal_float
=dpd
3712 default_decimal_float
=$enable_decimal_float
3715 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
3716 # dependency on libdecnumber.
3717 default_decimal_float
=dpd
3724 # Check for fixed-point support.
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
3726 $as_echo_n "checking whether fixed-point is supported... " >&6; }
3727 if test "${libgcc_cv_fixed_point+set}" = set; then :
3728 $as_echo_n "(cached) " >&6
3730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3734 if ac_fn_c_try_compile
"$LINENO"; then :
3735 libgcc_cv_fixed_point
=yes
3737 libgcc_cv_fixed_point
=no
3739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
3742 $as_echo "$libgcc_cv_fixed_point" >&6; }
3743 fixed_point
=$libgcc_cv_fixed_point
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3747 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3748 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
3749 $as_echo_n "(cached) " >&6
3751 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3752 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3753 acl_cv_prog_gnu_ld
=yes
3755 acl_cv_prog_gnu_ld
=no
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
3759 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
3760 with_gnu_ld
=$acl_cv_prog_gnu_ld
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
3764 $as_echo_n "checking for thread model used by GCC... " >&6; }
3765 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
3767 $as_echo "$target_thread_file" >&6; }
3769 # Check for assembler CFI support.
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
3771 $as_echo_n "checking whether assembler supports CFI directives... " >&6; }
3772 if test "${libgcc_cv_cfi+set}" = set; then :
3773 $as_echo_n "(cached) " >&6
3775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h. */
3780 .cfi_personality 0, symbol\n\
3783 if ac_fn_c_try_compile
"$LINENO"; then :
3788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
3791 $as_echo "$libgcc_cv_cfi" >&6; }
3793 # Check 32bit or 64bit for x86.
3795 i?
86*-*-* | x86_64
*-*-*)
3796 cat > conftest.c
<<EOF
3803 eval `${CC-cc} -E conftest.c | grep host_address=`
3808 # Collect host-machine-specific information.
3809 .
${srcdir}/config.
host
3811 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
3812 # This is after config.host so we can augment tmake_file.
3813 # Link with -nostartfiles -nodefaultlibs since neither are present while
3816 i?
86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3817 cat > conftest.s
<<EOF
3818 .section .eh_frame,"a",@unwind
3820 .section .jcr,"aw",@progbits
3823 if { ac_try
='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
3824 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3828 test $ac_status = 0; }; }; then
3829 tmake_file
="${tmake_file} i386/t-crtstuff"
3834 # Check for visibility support. This is after config.host so that
3835 # we can check for asm_hidden_op.
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
3837 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
3838 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then :
3839 $as_echo_n "(cached) " >&6
3842 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
3843 libgcc_cv_hidden_visibility_attribute
=no
3844 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
3845 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3849 test $ac_status = 0; }; }; then
3850 if grep "\\$asm_hidden_op.*foo" conftest.s
>/dev
/null
; then
3851 libgcc_cv_hidden_visibility_attribute
=yes
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
3858 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
3860 if test $libgcc_cv_hidden_visibility_attribute = yes; then
3861 vis_hide
='-fvisibility=hidden -DHIDE_EXPORTS'
3867 # See if we have thread-local storage. We can only test assembler
3868 # sicne link-time and run-time tests require the newly built
3869 # gcc, which can't be used to build executable due to that libgcc
3870 # is yet to be built here.
3872 # Check whether --enable-tls was given.
3873 if test "${enable_tls+set}" = set; then :
3874 enableval
=$enable_tls;
3875 case "$enableval" in
3877 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
3886 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
3887 if test "${gcc_cv_have_cc_tls+set}" = set; then :
3888 $as_echo_n "(cached) " >&6
3891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3893 __thread int a; int b; int main() { return a = b; }
3895 if ac_fn_c_try_compile
"$LINENO"; then :
3896 gcc_cv_have_cc_tls
=yes
3898 gcc_cv_have_cc_tls
=no
3900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
3904 $as_echo "$gcc_cv_have_cc_tls" >&6; }
3906 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
3907 set_have_cc_tls
="-DHAVE_CC_TLS"
3911 # See if we have emulated thread-local storage.
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
3914 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
3915 if test "${gcc_cv_use_emutls+set}" = set; then :
3916 $as_echo_n "(cached) " >&6
3919 gcc_cv_use_emutls
=no
3920 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
3921 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
3922 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3926 test $ac_status = 0; }; }; then
3927 if grep __emutls_get_address conftest.s
> /dev
/null
; then
3928 gcc_cv_use_emutls
=yes
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
3935 $as_echo "$gcc_cv_use_emutls" >&6; }
3936 if test "$gcc_cv_use_emutls" = "yes" ; then
3938 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
3942 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
3943 set_use_emutls
="-DUSE_EMUTLS"
3947 # Conditionalize the makefile for this target machine.
3949 for f
in ${tmake_file}
3951 if test -f ${srcdir}/config
/$f
3953 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
3956 tmake_file
="${tmake_file_}"
3959 # Substitute configuration variables
3963 ac_config_links
="$ac_config_links enable-execute-stack.c:$enable_execute_stack"
3965 ac_config_links
="$ac_config_links md-unwind-support.h:config/$md_unwind_header"
3968 # We need multilib support.
3969 ac_config_files
="$ac_config_files Makefile"
3971 ac_config_commands
="$ac_config_commands default"
3973 cat >confcache
<<\_ACEOF
3974 # This file is a shell script that caches the results of configure
3975 # tests run on this system so they can be shared between configure
3976 # scripts and configure runs, see configure's option --config-cache.
3977 # It is not useful on other systems. If it contains results you don't
3978 # want to keep, you may remove or edit it.
3980 # config.status only pays attention to the cache file if you give it
3981 # the --recheck option to rerun configure.
3983 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3984 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3989 # The following way of writing the cache mishandles newlines in values,
3990 # but we know of no workaround that is simple, portable, and efficient.
3991 # So, we kill variables containing newlines.
3992 # Ultrix sh set writes to stderr and can't be redirected directly,
3993 # and sets the high bit in the cache file unless we assign to the vars.
3995 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3996 eval ac_val
=\$
$ac_var
4000 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4001 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4004 _ | IFS | as_nl
) ;; #(
4005 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4006 *) { eval $ac_var=; unset $ac_var;} ;;
4012 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4013 *${as_nl}ac_space
=\
*)
4014 # `set' does not quote correctly, so add quotes: double-quote
4015 # substitution turns \\\\ into \\, and sed turns \\ into \.
4018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4021 # `set' quotes correctly as required by POSIX, so do not add quotes.
4022 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4031 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4033 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4035 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4036 if test -w "$cache_file"; then
4037 test "x$cache_file" != "x/dev/null" &&
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4039 $as_echo "$as_me: updating cache $cache_file" >&6;}
4040 cat confcache
>$cache_file
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4043 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4048 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4049 # Let make expand exec_prefix.
4050 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4052 # Transform confdefs.h into DEFS.
4053 # Protect against shell expansion while executing Makefile rules.
4054 # Protect against Makefile macro expansion.
4056 # If the first sed substitution is executed (which looks for macros that
4057 # take arguments), then branch to the quote section. Otherwise,
4058 # look for a macro that doesn't take arguments.
4068 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4070 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4074 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4087 DEFS
=`sed -n "$ac_script" confdefs.h`
4092 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4093 # 1. Remove the extension, and $U if already installed.
4094 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4095 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4096 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4097 # will be set to the directory where LIBOBJS objects are built.
4098 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4099 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4103 LTLIBOBJS
=$ac_ltlibobjs
4107 : ${CONFIG_STATUS=./config.status}
4109 ac_clean_files_save
=$ac_clean_files
4110 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4112 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4114 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4116 # Generated by $as_me.
4117 # Run this file to recreate the current configuration.
4118 # Compiler output produced by configure, useful for debugging
4119 # configure, is in config.log if it exists.
4125 SHELL=\${CONFIG_SHELL-$SHELL}
4128 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4129 ## -------------------- ##
4130 ## M4sh Initialization. ##
4131 ## -------------------- ##
4133 # Be more Bourne compatible
4134 DUALCASE
=1; export DUALCASE
# for MKS sh
4135 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4138 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4139 # is contrary to our usage. Disable this feature.
4140 alias -g '${1+"$@"}'='"$@"'
4141 setopt NO_GLOB_SUBST
4143 case `(set -o) 2>/dev/null` in #(
4155 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4156 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4157 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4158 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4159 # Prefer a ksh shell builtin over an external printf program on Solaris,
4160 # but without wasting forks for bash or zsh.
4161 if test -z "$BASH_VERSION$ZSH_VERSION" \
4162 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4163 as_echo='print
-r --'
4164 as_echo_n='print
-rn --'
4165 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4166 as_echo='printf %s
\n'
4167 as_echo_n='printf %s
'
4169 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4170 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4171 as_echo_n='/usr
/ucb
/echo -n'
4173 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4174 as_echo_n_body='eval
4178 expr "X$arg" : "X\\(.*\\)$as_nl";
4179 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4181 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4183 export as_echo_n_body
4184 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4187 as_echo='sh
-c $as_echo_body as_echo
'
4190 # The user is always right.
4191 if test "${PATH_SEPARATOR+set}" != set; then
4193 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4194 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4201 # We need space, tab and new line, in precisely that order. Quoting is
4202 # there to prevent editors from complaining about space-tab.
4203 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4204 # splitting by setting IFS to empty value.)
4207 # Find who we are. Look in the path if we contain no directory separator.
4209 *[\\/]* ) as_myself=$0 ;;
4210 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4214 test -z "$as_dir" && as_dir=.
4215 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4221 # We did not find ourselves, most probably we were run as `sh COMMAND'
4222 # in which case we are not to be found in the path.
4223 if test "x$as_myself" = x
; then
4226 if test ! -f "$as_myself"; then
4227 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4231 # Unset variables that we do not need and which cause bugs (e.g. in
4232 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4233 # suppresses any "Segmentation fault" message there. '((' could
4234 # trigger a bug in pdksh 5.2.14.
4235 for as_var
in BASH_ENV ENV MAIL MAILPATH
4236 do eval test x\
${$as_var+set} = xset \
4237 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4250 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4253 # as_fn_error ERROR [LINENO LOG_FD]
4254 # ---------------------------------
4255 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4256 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4257 # script with status $?, using 1 if that was 0.
4260 as_status
=$?
; test $as_status -eq 0 && as_status
=1
4262 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4263 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4265 $as_echo "$as_me: error: $1" >&2
4266 as_fn_exit
$as_status
4270 # as_fn_set_status STATUS
4271 # -----------------------
4272 # Set $? to STATUS, without forking.
4276 } # as_fn_set_status
4280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4290 # Portably unset VAR.
4293 { eval $1=; unset $1;}
4295 as_unset
=as_fn_unset
4296 # as_fn_append VAR VALUE
4297 # ----------------------
4298 # Append the text in VALUE to the end of the definition contained in VAR. Take
4299 # advantage of any shell optimizations that allow amortized linear growth over
4300 # repeated appends, instead of the typical quadratic growth present in naive
4302 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4303 eval 'as_fn_append ()
4314 # as_fn_arith ARG...
4315 # ------------------
4316 # Perform arithmetic evaluation on the ARGs, and store the result in the
4317 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4318 # must be portable across $(()) and expr.
4319 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4320 eval 'as_fn_arith ()
4327 as_val
=`expr "$@" || test $? -eq 1`
4332 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4333 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4339 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4340 as_basename
=basename
4345 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4351 as_me
=`$as_basename -- "$0" ||
4352 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4353 X"$0" : 'X\(//\)$' \| \
4354 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4356 sed '/^.*\/\([^/][^/]*\)\/*$/{
4370 # Avoid depending upon Character Ranges.
4371 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4372 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4373 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4374 as_cr_digits
='0123456789'
4375 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4377 ECHO_C
= ECHO_N
= ECHO_T
=
4378 case `echo -n x` in #(((((
4380 case `echo 'xy\c'` in
4381 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4383 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4390 rm -f conf$$ conf$$.exe conf$$.
file
4391 if test -d conf$$.dir
; then
4392 rm -f conf$$.dir
/conf$$.
file
4395 mkdir conf$$.dir
2>/dev
/null
4397 if (echo >conf$$.
file) 2>/dev
/null
; then
4398 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4400 # ... but there are two gotchas:
4401 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4402 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4403 # In both cases, we have to default to `cp -p'.
4404 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4406 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4414 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4415 rmdir conf$$.dir
2>/dev
/null
4420 # Create "$as_dir" as a directory, including parents if necessary.
4425 -*) as_dir
=.
/$as_dir;;
4427 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4431 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4432 *) as_qdir
=$as_dir;;
4434 as_dirs
="'$as_qdir' $as_dirs"
4435 as_dir
=`$as_dirname -- "$as_dir" ||
4436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4437 X"$as_dir" : 'X\(//\)[^/]' \| \
4438 X"$as_dir" : 'X\(//\)$' \| \
4439 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4440 $as_echo X"$as_dir" |
4441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4458 test -d "$as_dir" && break
4460 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4461 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
4465 if mkdir
-p .
2>/dev
/null
; then
4466 as_mkdir_p
='mkdir -p "$as_dir"'
4468 test -d .
/-p && rmdir .
/-p
4472 if test -x / >/dev
/null
2>&1; then
4475 if ls -dL / >/dev
/null
2>&1; then
4482 if test -d "$1"; then
4488 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4489 ???[sx]*):;;*)false;;esac;fi
4493 as_executable_p
=$as_test_x
4495 # Sed expression to map a string onto a valid CPP name.
4496 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4498 # Sed expression to map a string onto a valid variable name.
4499 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4503 ## ----------------------------------- ##
4504 ## Main body of $CONFIG_STATUS script. ##
4505 ## ----------------------------------- ##
4507 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4510 # Save the log message, to keep $0 and so on meaningful, and to
4511 # report actual input values of CONFIG_FILES etc. instead of their
4512 # values after options handling.
4514 This file was extended by GNU C Runtime Library $as_me 1.0, which was
4515 generated by GNU Autoconf 2.64. Invocation command line was
4517 CONFIG_FILES = $CONFIG_FILES
4518 CONFIG_HEADERS = $CONFIG_HEADERS
4519 CONFIG_LINKS = $CONFIG_LINKS
4520 CONFIG_COMMANDS = $CONFIG_COMMANDS
4523 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4528 case $ac_config_files in *"
4529 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4535 # Files that config.status was made for.
4536 config_files="$ac_config_files"
4537 config_links="$ac_config_links"
4538 config_commands="$ac_config_commands"
4542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4544 \`$as_me' instantiates files and other configuration actions
4545 from templates according to the current configuration. Unless the files
4546 and actions are specified as TAGs, all are instantiated by default.
4548 Usage: $0 [OPTION]... [TAG]...
4550 -h, --help print this help, then exit
4551 -V, --version print version number and configuration settings, then exit
4552 -q, --quiet, --silent
4553 do not print progress messages
4554 -d, --debug don't remove temporary files
4555 --recheck update $as_me by reconfiguring in the same conditions
4556 --file=FILE[:TEMPLATE]
4557 instantiate the configuration file FILE
4559 Configuration files:
4562 Configuration links:
4565 Configuration commands:
4568 Report bugs to the package provider.
4569 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
4570 General help using GNU software: <http://www.gnu.org/gethelp/>."
4573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4575 GNU C Runtime Library config.status 1.0
4576 configured by $0, generated by GNU Autoconf 2.64,
4577 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4579 Copyright (C) 2009 Free Software Foundation, Inc.
4580 This config.status script is free software; the Free Software Foundation
4581 gives unlimited permission to copy, distribute and modify it."
4587 test -n "\$AWK" || AWK=awk
4590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4591 # The default lists apply if the user does not specify any file.
4597 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4598 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4609 # Handling of the options.
4610 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4612 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4613 $as_echo "$ac_cs_version"; exit ;;
4614 --debug |
--debu |
--deb |
--de |
--d |
-d )
4616 --file |
--fil |
--fi |
--f )
4619 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4621 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4622 ac_need_defaults
=false
;;
4623 --he |
--h |
--help |
--hel |
-h )
4624 $as_echo "$ac_cs_usage"; exit ;;
4625 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4626 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4630 -*) as_fn_error
"unrecognized option: \`$1'
4631 Try \`$0 --help' for more information." ;;
4633 *) as_fn_append ac_config_targets
" $1"
4634 ac_need_defaults
=false
;;
4640 ac_configure_extra_args
=
4642 if $ac_cs_silent; then
4644 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4649 if \$ac_cs_recheck; then
4650 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4652 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4653 CONFIG_SHELL='$SHELL'
4659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4663 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4664 ## Running $as_me. ##
4670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4676 with_target_subdir=${with_target_subdir}
4677 with_multisubdir=${with_multisubdir}
4678 ac_configure_args="--enable-multilib ${ac_configure_args}"
4679 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4680 libgcc_topdir=${libgcc_topdir}
4686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4688 # Handling of arguments.
4689 for ac_config_target
in $ac_config_targets
4691 case $ac_config_target in
4692 "enable-execute-stack.c") CONFIG_LINKS
="$CONFIG_LINKS enable-execute-stack.c:$enable_execute_stack" ;;
4693 "md-unwind-support.h") CONFIG_LINKS
="$CONFIG_LINKS md-unwind-support.h:config/$md_unwind_header" ;;
4694 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4695 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
4697 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4702 # If the user did not use the arguments to specify the items to instantiate,
4703 # then the envvar interface is used. Set only those that are not.
4704 # We use the long form for the default assignment because of an extremely
4705 # bizarre bug on SunOS 4.1.3.
4706 if $ac_need_defaults; then
4707 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4708 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
4709 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4712 # Have a temporary directory for convenience. Make it in the build tree
4713 # simply because there is no reason against having it here, and in addition,
4714 # creating and moving files from /tmp can sometimes cause problems.
4715 # Hook for its removal unless debugging.
4716 # Note that there is a small window in which the directory will not be cleaned:
4717 # after its creation but before its name has been assigned to `$tmp'.
4721 trap 'exit_status=$?
4722 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4724 trap 'as_fn_exit 1' 1 2 13 15
4726 # Create a (secure) tmp directory for tmp files.
4729 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4730 test -n "$tmp" && test -d "$tmp"
4733 tmp
=.
/conf$$
-$RANDOM
4734 (umask 077 && mkdir
"$tmp")
4735 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
4737 # Set up the scripts for CONFIG_FILES section.
4738 # No need to generate them if there are no CONFIG_FILES.
4739 # This happens for instance with `./config.status config.h'.
4740 if test -n "$CONFIG_FILES"; then
4743 ac_cr
=`echo X | tr X '\015'`
4744 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4745 # But we know of no other shell where ac_cr would be empty at this
4746 # point, so we can use a bashism as a fallback.
4747 if test "x$ac_cr" = x
; then
4748 eval ac_cr
=\$
\'\\r
\'
4750 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4751 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4757 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4762 echo "cat >conf$$subs.awk <<_ACEOF" &&
4763 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4766 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4767 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4769 for ac_last_try in false false false false false :; do
4770 . ./conf$$subs.sh ||
4771 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4773 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4774 if test $ac_delim_n = $ac_delim_num; then
4776 elif $ac_last_try; then
4777 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4779 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4785 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
4789 s/^/S["/; s
/!.
*/"]=/
4799 s/\(.\{148\}\).*/\1/
4801 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4806 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4813 s/\(.\{148\}\).*/\1/
4815 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4819 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4824 ' <conf$$subs.awk | sed '
4829 ' >>$CONFIG_STATUS || ac_write_fail=1
4830 rm -f conf$$subs.awk
4831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4833 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
4834 for (key in S) S_is_set[key] = 1
4840 nfields = split(line, field, "@
")
4842 len = length(field[1])
4843 for (i = 2; i < nfields; i++) {
4845 keylen = length(key)
4846 if (S_is_set[key]) {
4848 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4849 len += length(value) + length(field[++i])
4860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4861 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4862 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4865 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
4866 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
4869 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4870 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
4871 # trailing colons and then remove the whole line if VPATH becomes empty
4872 # (actually we leave an empty line to preserve line numbers).
4873 if test "x
$srcdir" = x.; then
4874 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4878 s/^\([^=]*=[ ]*\):*/\1/
4884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4885 fi # test -n "$CONFIG_FILES"
4888 eval set X " :F
$CONFIG_FILES :L
$CONFIG_LINKS :C
$CONFIG_COMMANDS"
4893 :[FHLC]) ac_mode=$ac_tag; continue;;
4895 case $ac_mode$ac_tag in
4897 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4898 :[FH]-) ac_tag=-:-;;
4899 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4916 -) ac_f="$tmp/stdin";;
4917 *) # Look for the file first in the build tree, then in the source tree
4918 # (if the path is not absolute). The absolute path cannot be DOS-style,
4919 # because $ac_f cannot contain `:'.
4923 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4925 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4927 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4928 as_fn_append ac_file_inputs " '$ac_f'"
4931 # Let's still pretend it is `configure' which instantiates (i.e., don't
4932 # use $as_me), people would be surprised to read:
4933 # /* config.h. Generated by config.status. */
4934 configure_input='Generated from '`
4935 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4937 if test x"$ac_file" != x-; then
4938 configure_input="$ac_file.
$configure_input"
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4940 $as_echo "$as_me: creating
$ac_file" >&6;}
4942 # Neutralize special characters interpreted by sed in replacement strings.
4943 case $configure_input in #(
4944 *\&* | *\|* | *\\* )
4945 ac_sed_conf_input=`$as_echo "$configure_input" |
4946 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4947 *) ac_sed_conf_input=$configure_input;;
4951 *:-:* | *:-) cat >"$tmp/stdin
" \
4952 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
4957 ac_dir=`$as_dirname -- "$ac_file" ||
4958 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4959 X"$ac_file" : 'X\(//\)[^/]' \| \
4960 X"$ac_file" : 'X\(//\)$' \| \
4961 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4962 $as_echo X"$ac_file" |
4963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4980 as_dir="$ac_dir"; as_fn_mkdir_p
4984 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4986 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4987 # A "..
" for each directory in $ac_dir_suffix.
4988 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4989 case $ac_top_builddir_sub in
4990 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4991 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4994 ac_abs_top_builddir=$ac_pwd
4995 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4996 # for backward compatibility:
4997 ac_top_builddir=$ac_top_build_prefix
5000 .) # We are building in place.
5002 ac_top_srcdir=$ac_top_builddir_sub
5003 ac_abs_top_srcdir=$ac_pwd ;;
5004 [\\/]* | ?:[\\/]* ) # Absolute name.
5005 ac_srcdir=$srcdir$ac_dir_suffix;
5006 ac_top_srcdir=$srcdir
5007 ac_abs_top_srcdir=$srcdir ;;
5009 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5010 ac_top_srcdir=$ac_top_build_prefix$srcdir
5011 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5013 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5023 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5024 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5029 # If the template does not know about datarootdir, expand it.
5030 # FIXME: This hack should be removed a few years after 2.60.
5031 ac_datarootdir_hack=; ac_datarootdir_seen=
5042 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5043 *datarootdir*) ac_datarootdir_seen=yes;;
5044 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5046 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5049 ac_datarootdir_hack='
5050 s&@datadir@&$datadir&g
5051 s&@docdir@&$docdir&g
5052 s&@infodir@&$infodir&g
5053 s&@localedir@&$localedir&g
5054 s&@mandir@&$mandir&g
5055 s&\\\${datarootdir}&$datarootdir&g' ;;
5059 # Neutralize VPATH when `$srcdir' = `.'.
5060 # Shell code in configure.ac might set extrasub.
5061 # FIXME: do we really want to maintain this feature?
5062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5063 ac_sed_extra="$ac_vpsub
5066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5068 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5069 s|@configure_input@|
$ac_sed_conf_input|
;t t
5070 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5071 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5072 s
&@srcdir@
&$ac_srcdir&;t t
5073 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5074 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5075 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5076 s
&@builddir@
&$ac_builddir&;t t
5077 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5078 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5079 s
&@INSTALL@
&$ac_INSTALL&;t t
5080 $ac_datarootdir_hack
5082 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
5083 || as_fn_error "could not create
$ac_file" "$LINENO" 5
5085 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5086 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5087 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5089 which seems to be undefined. Please make sure it is defined." >&5
5090 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5091 which seems to be undefined. Please make sure it is defined." >&2;}
5095 -) cat "$tmp/out" && rm -f "$tmp/out";;
5096 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5098 || as_fn_error "could not create $ac_file" "$LINENO" 5
5106 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
5109 # Prefer the file from the source tree if names are identical.
5110 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
5111 ac_source=$srcdir/$ac_source
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
5115 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
5117 if test ! -r "$ac_source"; then
5118 as_fn_error "$ac_source: file not found" "$LINENO" 5
5122 # Try a relative symlink, then a hard link, then a copy.
5124 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
5125 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
5127 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
5128 ln "$ac_source" "$ac_file" 2>/dev/null ||
5129 cp -p "$ac_source" "$ac_file" ||
5130 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
5133 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5134 $as_echo "$as_me: executing $ac_file commands" >&6;}
5139 case $ac_file$ac_mode in
5140 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
5141 if test -n "$CONFIG_FILES"; then
5142 # FIXME: We shouldn't need to
set ac_file
5144 .
${libgcc_topdir}/config-ml.
in
5153 ac_clean_files
=$ac_clean_files_save
5155 test $ac_write_fail = 0 ||
5156 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
5159 # configure is writing to config.log, and then calls config.status.
5160 # config.status does its own redirection, appending to config.log.
5161 # Unfortunately, on DOS this fails, as config.log is still kept open
5162 # by configure, so config.status won't be able to write to it; its
5163 # output is simply discarded. So we exec the FD to /dev/null,
5164 # effectively closing config.log, so it can be properly (re)opened and
5165 # appended to by config.status. When coming back to configure, we
5166 # need to make the FD available again.
5167 if test "$no_create" != yes; then
5169 ac_config_status_args
=
5170 test "$silent" = yes &&
5171 ac_config_status_args
="$ac_config_status_args --quiet"
5173 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5175 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5176 # would make configure fail if this is the last instruction.
5177 $ac_cs_success || as_fn_exit $?
5179 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5181 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}