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
630 program_transform_name
643 enable_option_checking
648 enable_version_specific_runtime_libs
650 enable_maintainer_mode
655 ac_precious_vars
='build_alias
666 # Initialize some variables set by options.
668 ac_init_version
=false
669 ac_unrecognized_opts
=
671 # The variables have the same names as the options, with
672 # dashes changed to underlines.
680 program_transform_name
=s
,x
,x
,
688 # Installation directory options.
689 # These are left unexpanded so users can "make install exec_prefix=/foo"
690 # and all the variables that are supposed to be based on exec_prefix
691 # by default will actually change.
692 # Use braces instead of parens because sh, perl, etc. also accept them.
693 # (The list follows the same order as the GNU Coding Standards.)
694 bindir
='${exec_prefix}/bin'
695 sbindir
='${exec_prefix}/sbin'
696 libexecdir
='${exec_prefix}/libexec'
697 datarootdir
='${prefix}/share'
698 datadir
='${datarootdir}'
699 sysconfdir
='${prefix}/etc'
700 sharedstatedir
='${prefix}/com'
701 localstatedir
='${prefix}/var'
702 includedir
='${prefix}/include'
703 oldincludedir
='/usr/include'
704 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
705 infodir
='${datarootdir}/info'
710 libdir
='${exec_prefix}/lib'
711 localedir
='${datarootdir}/locale'
712 mandir
='${datarootdir}/man'
718 # If the previous option needs an argument, assign it.
719 if test -n "$ac_prev"; then
720 eval $ac_prev=\
$ac_option
726 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
730 # Accept the important Cygnus configure options, so we can diagnose typos.
732 case $ac_dashdash$ac_option in
736 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
738 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
741 -build |
--build |
--buil |
--bui |
--bu)
742 ac_prev
=build_alias
;;
743 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
744 build_alias
=$ac_optarg ;;
746 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
747 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
748 ac_prev
=cache_file
;;
749 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
750 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
751 cache_file
=$ac_optarg ;;
754 cache_file
=config.cache
;;
756 -datadir |
--datadir |
--datadi |
--datad)
758 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
759 datadir
=$ac_optarg ;;
761 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
762 |
--dataroo |
--dataro |
--datar)
763 ac_prev
=datarootdir
;;
764 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
765 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
766 datarootdir
=$ac_optarg ;;
768 -disable-* |
--disable-*)
769 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
770 # Reject names that are not valid shell variable names.
771 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
772 as_fn_error
"invalid feature name: $ac_useropt"
773 ac_useropt_orig
=$ac_useropt
774 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
775 case $ac_user_opts in
779 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
780 ac_unrecognized_sep
=', ';;
782 eval enable_
$ac_useropt=no
;;
784 -docdir |
--docdir |
--docdi |
--doc |
--do)
786 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
789 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
791 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
794 -enable-* |
--enable-*)
795 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
796 # Reject names that are not valid shell variable names.
797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
798 as_fn_error
"invalid feature name: $ac_useropt"
799 ac_useropt_orig
=$ac_useropt
800 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
801 case $ac_user_opts in
805 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
806 ac_unrecognized_sep
=', ';;
808 eval enable_
$ac_useropt=\
$ac_optarg ;;
810 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
811 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
812 |
--exec |
--exe |
--ex)
813 ac_prev
=exec_prefix
;;
814 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
815 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
816 |
--exec=* |
--exe=* |
--ex=*)
817 exec_prefix
=$ac_optarg ;;
819 -gas |
--gas |
--ga |
--g)
820 # Obsolete; use --with-gas.
823 -help |
--help |
--hel |
--he |
-h)
825 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
826 ac_init_help
=recursive
;;
827 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
828 ac_init_help
=short
;;
830 -host |
--host |
--hos |
--ho)
831 ac_prev
=host_alias
;;
832 -host=* |
--host=* |
--hos=* |
--ho=*)
833 host_alias
=$ac_optarg ;;
835 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
837 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
839 htmldir
=$ac_optarg ;;
841 -includedir |
--includedir |
--includedi |
--included |
--include \
842 |
--includ |
--inclu |
--incl |
--inc)
843 ac_prev
=includedir
;;
844 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
845 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
846 includedir
=$ac_optarg ;;
848 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
850 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
851 infodir
=$ac_optarg ;;
853 -libdir |
--libdir |
--libdi |
--libd)
855 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
858 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
859 |
--libexe |
--libex |
--libe)
860 ac_prev
=libexecdir
;;
861 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
862 |
--libexe=* |
--libex=* |
--libe=*)
863 libexecdir
=$ac_optarg ;;
865 -localedir |
--localedir |
--localedi |
--localed |
--locale)
867 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
868 localedir
=$ac_optarg ;;
870 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
871 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
872 ac_prev
=localstatedir
;;
873 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
874 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
875 localstatedir
=$ac_optarg ;;
877 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
879 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
883 # Obsolete; use --without-fp.
886 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
887 |
--no-cr |
--no-c |
-n)
890 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
891 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
894 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
895 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
896 |
--oldin |
--oldi |
--old |
--ol |
--o)
897 ac_prev
=oldincludedir
;;
898 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
899 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
900 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
901 oldincludedir
=$ac_optarg ;;
903 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
905 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
908 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
909 |
--program-pre |
--program-pr |
--program-p)
910 ac_prev
=program_prefix
;;
911 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
912 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
913 program_prefix
=$ac_optarg ;;
915 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
916 |
--program-suf |
--program-su |
--program-s)
917 ac_prev
=program_suffix
;;
918 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
919 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
920 program_suffix
=$ac_optarg ;;
922 -program-transform-name |
--program-transform-name \
923 |
--program-transform-nam |
--program-transform-na \
924 |
--program-transform-n |
--program-transform- \
925 |
--program-transform |
--program-transfor \
926 |
--program-transfo |
--program-transf \
927 |
--program-trans |
--program-tran \
928 |
--progr-tra |
--program-tr |
--program-t)
929 ac_prev
=program_transform_name
;;
930 -program-transform-name=* |
--program-transform-name=* \
931 |
--program-transform-nam=* |
--program-transform-na=* \
932 |
--program-transform-n=* |
--program-transform-=* \
933 |
--program-transform=* |
--program-transfor=* \
934 |
--program-transfo=* |
--program-transf=* \
935 |
--program-trans=* |
--program-tran=* \
936 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
937 program_transform_name
=$ac_optarg ;;
939 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
941 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
944 -psdir |
--psdir |
--psdi |
--psd |
--ps)
946 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
949 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
950 |
-silent |
--silent |
--silen |
--sile |
--sil)
953 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
955 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
957 sbindir
=$ac_optarg ;;
959 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
960 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
961 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
963 ac_prev
=sharedstatedir
;;
964 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
965 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
966 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
968 sharedstatedir
=$ac_optarg ;;
970 -site |
--site |
--sit)
972 -site=* |
--site=* |
--sit=*)
975 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
977 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
980 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
981 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
982 ac_prev
=sysconfdir
;;
983 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
984 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
985 sysconfdir
=$ac_optarg ;;
987 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
988 ac_prev
=target_alias
;;
989 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
990 target_alias
=$ac_optarg ;;
992 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
995 -version |
--version |
--versio |
--versi |
--vers |
-V)
999 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1002 as_fn_error
"invalid package name: $ac_useropt"
1003 ac_useropt_orig
=$ac_useropt
1004 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1005 case $ac_user_opts in
1009 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1010 ac_unrecognized_sep
=', ';;
1012 eval with_
$ac_useropt=\
$ac_optarg ;;
1014 -without-* |
--without-*)
1015 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1018 as_fn_error
"invalid package name: $ac_useropt"
1019 ac_useropt_orig
=$ac_useropt
1020 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1025 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1026 ac_unrecognized_sep
=', ';;
1028 eval with_
$ac_useropt=no
;;
1031 # Obsolete; use --with-x.
1034 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1035 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1036 ac_prev
=x_includes
;;
1037 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1038 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1039 x_includes
=$ac_optarg ;;
1041 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1042 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1043 ac_prev
=x_libraries
;;
1044 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1045 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1046 x_libraries
=$ac_optarg ;;
1048 -*) as_fn_error
"unrecognized option: \`$ac_option'
1049 Try \`$0 --help' for more information."
1053 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1054 # Reject names that are not valid shell variable names.
1055 case $ac_envvar in #(
1056 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1057 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1059 eval $ac_envvar=\
$ac_optarg
1060 export $ac_envvar ;;
1063 # FIXME: should be removed in autoconf 3.0.
1064 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1065 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1066 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1067 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1073 if test -n "$ac_prev"; then
1074 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1075 as_fn_error
"missing argument to $ac_option"
1078 if test -n "$ac_unrecognized_opts"; then
1079 case $enable_option_checking in
1081 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1082 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1086 # Check all directory arguments for consistency.
1087 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1088 datadir sysconfdir sharedstatedir localstatedir includedir \
1089 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1090 libdir localedir mandir
1092 eval ac_val
=\$
$ac_var
1093 # Remove trailing slashes.
1096 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1097 eval $ac_var=\
$ac_val;;
1099 # Be sure to have absolute directory names.
1101 [\\/$
]* | ?
:[\\/]* ) continue;;
1102 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1104 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1107 # There might be people who depend on the old broken behavior: `$host'
1108 # used to hold the argument of --host etc.
1109 # FIXME: To remove some day.
1112 target
=$target_alias
1114 # FIXME: To remove some day.
1115 if test "x$host_alias" != x
; then
1116 if test "x$build_alias" = x
; then
1117 cross_compiling
=maybe
1118 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1119 If a cross compiler is detected then cross compile mode will be used." >&2
1120 elif test "x$build_alias" != "x$host_alias"; then
1126 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1128 test "$silent" = yes && exec 6>/dev
/null
1131 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1132 ac_ls_di
=`ls -di .` &&
1133 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1134 as_fn_error
"working directory cannot be determined"
1135 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1136 as_fn_error
"pwd does not report name of working directory"
1139 # Find the source files, if location was not specified.
1140 if test -z "$srcdir"; then
1141 ac_srcdir_defaulted
=yes
1142 # Try the directory containing this script, then the parent directory.
1143 ac_confdir
=`$as_dirname -- "$as_myself" ||
1144 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1145 X"$as_myself" : 'X\(//\)[^/]' \| \
1146 X"$as_myself" : 'X\(//\)$' \| \
1147 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1148 $as_echo X"$as_myself" |
1149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1167 if test ! -r "$srcdir/$ac_unique_file"; then
1171 ac_srcdir_defaulted
=no
1173 if test ! -r "$srcdir/$ac_unique_file"; then
1174 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1175 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1177 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1179 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1181 # When building in place, set srcdir=.
1182 if test "$ac_abs_confdir" = "$ac_pwd"; then
1185 # Remove unnecessary trailing slashes from srcdir.
1186 # Double slashes in file names in object file debugging info
1187 # mess up M-x gdb in Emacs.
1189 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1191 for ac_var
in $ac_precious_vars; do
1192 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1193 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1194 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1195 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1199 # Report the --help message.
1201 if test "$ac_init_help" = "long"; then
1202 # Omit some internal or obsolete options to make the list less imposing.
1203 # This message is too long to be a string in the A/UX 3.1 sh.
1205 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1207 Usage: $0 [OPTION]... [VAR=VALUE]...
1209 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1210 VAR=VALUE. See below for descriptions of some of the useful variables.
1212 Defaults for the options are specified in brackets.
1215 -h, --help display this help and exit
1216 --help=short display options specific to this package
1217 --help=recursive display the short help of all the included packages
1218 -V, --version display version information and exit
1219 -q, --quiet, --silent do not print \`checking...' messages
1220 --cache-file=FILE cache test results in FILE [disabled]
1221 -C, --config-cache alias for \`--cache-file=config.cache'
1222 -n, --no-create do not create output files
1223 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1225 Installation directories:
1226 --prefix=PREFIX install architecture-independent files in PREFIX
1227 [$ac_default_prefix]
1228 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1231 By default, \`make install' will install all the files in
1232 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1233 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1234 for instance \`--prefix=\$HOME'.
1236 For better control, use the options below.
1238 Fine tuning of the installation directories:
1239 --bindir=DIR user executables [EPREFIX/bin]
1240 --sbindir=DIR system admin executables [EPREFIX/sbin]
1241 --libexecdir=DIR program executables [EPREFIX/libexec]
1242 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1243 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1244 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1245 --libdir=DIR object code libraries [EPREFIX/lib]
1246 --includedir=DIR C header files [PREFIX/include]
1247 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1248 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1249 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1250 --infodir=DIR info documentation [DATAROOTDIR/info]
1251 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1252 --mandir=DIR man documentation [DATAROOTDIR/man]
1253 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1254 --htmldir=DIR html documentation [DOCDIR]
1255 --dvidir=DIR dvi documentation [DOCDIR]
1256 --pdfdir=DIR pdf documentation [DOCDIR]
1257 --psdir=DIR ps documentation [DOCDIR]
1263 --build=BUILD configure
for building on BUILD
[guessed
]
1264 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1268 if test -n "$ac_init_help"; then
1269 case $ac_init_help in
1270 short | recursive
) echo "Configuration of GNU C Runtime Library 1.0:";;
1275 --disable-option-checking ignore unrecognized
--enable/--with options
1276 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1277 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1278 --disable-shared don
't provide a shared libgcc
1279 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1280 --enable-maintainer-mode
1281 enable make rules and dependencies not useful (and
1282 sometimes confusing) to the casual installer
1283 --enable-decimal-float={no,yes,bid,dpd}
1284 enable decimal float extension to C. Selecting 'bid
'
1285 or 'dpd
' choses which decimal floating point format
1287 --enable-tls Use thread-local storage [default=yes]
1290 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1291 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1292 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
1293 --with-cross-host=HOST Configuring with a cross compiler
1294 --with-ld arrange to use the specified ld (full pathname)
1295 --with-slibdir=DIR shared libraries in DIR LIBDIR
1296 --with-build-libsubdir=DIR Directory where to find libraries for build system
1298 Some influential environment variables:
1299 CC C compiler command
1300 CFLAGS C compiler flags
1301 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1302 nonstandard directory <lib dir>
1303 LIBS libraries to pass to the linker, e.g. -l<library>
1304 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1305 you have headers in a nonstandard directory <include dir>
1308 Use these variables to override the choices made by `configure' or to
help
1309 it to
find libraries and programs with nonstandard names
/locations.
1311 Report bugs to the package provider.
1312 GNU C Runtime Library home page
: <http
://www.gnu.org
/software
/libgcc
/>.
1313 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1318 if test "$ac_init_help" = "recursive"; then
1319 # If there are subdirs, report their specific --help.
1320 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1321 test -d "$ac_dir" ||
1322 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1327 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1329 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1330 # A ".." for each directory in $ac_dir_suffix.
1331 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1332 case $ac_top_builddir_sub in
1333 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1334 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1337 ac_abs_top_builddir
=$ac_pwd
1338 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1339 # for backward compatibility:
1340 ac_top_builddir
=$ac_top_build_prefix
1343 .
) # We are building in place.
1345 ac_top_srcdir
=$ac_top_builddir_sub
1346 ac_abs_top_srcdir
=$ac_pwd ;;
1347 [\\/]* | ?
:[\\/]* ) # Absolute name.
1348 ac_srcdir
=$srcdir$ac_dir_suffix;
1349 ac_top_srcdir
=$srcdir
1350 ac_abs_top_srcdir
=$srcdir ;;
1352 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1353 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1354 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1356 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1358 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1359 # Check for guested configure.
1360 if test -f "$ac_srcdir/configure.gnu"; then
1362 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1363 elif test -f "$ac_srcdir/configure"; then
1365 $SHELL "$ac_srcdir/configure" --help=recursive
1367 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1369 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1373 test -n "$ac_init_help" && exit $ac_status
1374 if $ac_init_version; then
1376 GNU C Runtime Library configure
1.0
1377 generated by GNU Autoconf
2.64
1379 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1380 This configure
script is free software
; the Free Software Foundation
1381 gives unlimited permission to copy
, distribute and modify it.
1386 ## ------------------------ ##
1387 ## Autoconf initialization. ##
1388 ## ------------------------ ##
1390 # ac_fn_c_try_compile LINENO
1391 # --------------------------
1392 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1393 ac_fn_c_try_compile
()
1395 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1396 rm -f conftest.
$ac_objext
1397 if { { ac_try
="$ac_compile"
1399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1400 *) ac_try_echo=$ac_try;;
1402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1403 $as_echo "$ac_try_echo"; } >&5
1404 (eval "$ac_compile") 2>conftest.err
1406 if test -s conftest.err; then
1407 grep -v '^ *+' conftest.err >conftest.er1
1408 cat conftest.er1 >&5
1409 mv -f conftest.er1 conftest.err
1411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1412 test $ac_status = 0; } && {
1413 test -z "$ac_c_werror_flag" ||
1414 test ! -s conftest.err
1415 } && test -s conftest.$ac_objext; then :
1418 $as_echo "$as_me: failed program was:" >&5
1419 sed 's/^/| /' conftest.$ac_ext >&5
1423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1426 } # ac_fn_c_try_compile
1428 # ac_fn_c_try_cpp LINENO
1429 # ----------------------
1430 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1433 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1434 if { { ac_try="$ac_cpp conftest.$ac_ext"
1436 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1437 *) ac_try_echo
=$ac_try;;
1439 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1440 $as_echo "$ac_try_echo"; } >&5
1441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1443 if test -s conftest.err
; then
1444 grep -v '^ *+' conftest.err
>conftest.er1
1445 cat conftest.er1
>&5
1446 mv -f conftest.er1 conftest.err
1448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1449 test $ac_status = 0; } >/dev
/null
&& {
1450 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1451 test ! -s conftest.err
1455 $as_echo "$as_me: failed program was:" >&5
1456 sed 's/^/| /' conftest.
$ac_ext >&5
1460 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1464 cat >config.log
<<_ACEOF
1465 This file contains any messages produced by compilers while
1466 running configure, to aid debugging if configure makes a mistake.
1468 It was created by GNU C Runtime Library $as_me 1.0, which was
1469 generated by GNU Autoconf 2.64. Invocation command line was
1481 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1482 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1483 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1484 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1485 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1487 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1488 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1490 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1491 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1492 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1493 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1494 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1495 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1496 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1504 test -z "$as_dir" && as_dir
=.
1505 $as_echo "PATH: $as_dir"
1521 # Keep a trace of the command line.
1522 # Strip out --no-create and --no-recursion so they do not pile up.
1523 # Strip out --silent because we don't want to record it for future runs.
1524 # Also quote any args containing shell meta-characters.
1525 # Make two passes to allow for proper duplicate-argument suppression.
1529 ac_must_keep_next
=false
1535 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1537 |
-silent |
--silent |
--silen |
--sile |
--sil)
1540 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1543 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1545 as_fn_append ac_configure_args1
" '$ac_arg'"
1546 if test $ac_must_keep_next = true
; then
1547 ac_must_keep_next
=false
# Got value, back to normal.
1550 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1551 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1552 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1553 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1554 case "$ac_configure_args0 " in
1555 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1558 -* ) ac_must_keep_next
=true
;;
1561 as_fn_append ac_configure_args
" '$ac_arg'"
1566 { ac_configure_args0
=; unset ac_configure_args0
;}
1567 { ac_configure_args1
=; unset ac_configure_args1
;}
1569 # When interrupted or exit'd, cleanup temporary files, and complete
1570 # config.log. We remove comments because anyway the quotes in there
1571 # would cause problems or look ugly.
1572 # WARNING: Use '\'' to represent an apostrophe within the trap.
1573 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1574 trap 'exit_status=$?
1575 # Save into config.log some information that might help in debugging.
1580 ## ---------------- ##
1581 ## Cache variables. ##
1582 ## ---------------- ##
1585 # The following way of writing the cache mishandles newlines in values,
1587 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1588 eval ac_val=\$$ac_var
1592 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1593 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1596 _ | IFS | as_nl) ;; #(
1597 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1598 *) { eval $ac_var=; unset $ac_var;} ;;
1603 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1604 *${as_nl}ac_space=\ *)
1606 "s/'\''/'\''\\\\'\'''\''/g;
1607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1618 ## ----------------- ##
1619 ## Output variables. ##
1620 ## ----------------- ##
1623 for ac_var in $ac_subst_vars
1625 eval ac_val=\$$ac_var
1627 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1629 $as_echo "$ac_var='\''$ac_val'\''"
1633 if test -n "$ac_subst_files"; then
1635 ## ------------------- ##
1636 ## File substitutions. ##
1637 ## ------------------- ##
1640 for ac_var
in $ac_subst_files
1642 eval ac_val
=\$
$ac_var
1644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1646 $as_echo "$ac_var='\''$ac_val'\''"
1651 if test -s confdefs.h; then
1661 test "$ac_signal" != 0 &&
1662 $as_echo "$as_me: caught signal $ac_signal"
1663 $as_echo "$as_me: exit $exit_status"
1665 rm -f core *.core core.conftest.* &&
1666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1669 for ac_signal
in 1 2 13 15; do
1670 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1675 rm -f -r conftest
* confdefs.h
1677 $as_echo "/* confdefs.h */" > confdefs.h
1679 # Predefined preprocessor variables.
1681 cat >>confdefs.h
<<_ACEOF
1682 #define PACKAGE_NAME "$PACKAGE_NAME"
1685 cat >>confdefs.h
<<_ACEOF
1686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1689 cat >>confdefs.h
<<_ACEOF
1690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1693 cat >>confdefs.h
<<_ACEOF
1694 #define PACKAGE_STRING "$PACKAGE_STRING"
1697 cat >>confdefs.h
<<_ACEOF
1698 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1701 cat >>confdefs.h
<<_ACEOF
1702 #define PACKAGE_URL "$PACKAGE_URL"
1706 # Let the site file select an alternate cache file if it wants to.
1707 # Prefer an explicitly selected file to automatically selected ones.
1710 if test -n "$CONFIG_SITE"; then
1711 ac_site_file1
=$CONFIG_SITE
1712 elif test "x$prefix" != xNONE
; then
1713 ac_site_file1
=$prefix/share
/config.site
1714 ac_site_file2
=$prefix/etc
/config.site
1716 ac_site_file1
=$ac_default_prefix/share
/config.site
1717 ac_site_file2
=$ac_default_prefix/etc
/config.site
1719 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1721 test "x$ac_site_file" = xNONE
&& continue
1722 if test -r "$ac_site_file"; then
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1724 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1725 sed 's/^/| /' "$ac_site_file" >&5
1730 if test -r "$cache_file"; then
1731 # Some versions of bash will fail to source /dev/null (special
1732 # files actually), so we avoid doing that.
1733 if test -f "$cache_file"; then
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1735 $as_echo "$as_me: loading cache $cache_file" >&6;}
1737 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1738 *) .
"./$cache_file";;
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1743 $as_echo "$as_me: creating cache $cache_file" >&6;}
1747 # Check that the precious variables saved in the cache have kept the same
1749 ac_cache_corrupted
=false
1750 for ac_var
in $ac_precious_vars; do
1751 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1752 eval ac_new_set
=\
$ac_env_${ac_var}_set
1753 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1754 eval ac_new_val
=\
$ac_env_${ac_var}_value
1755 case $ac_old_set,$ac_new_set in
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1758 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1759 ac_cache_corrupted
=: ;;
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1762 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1763 ac_cache_corrupted
=: ;;
1766 if test "x$ac_old_val" != "x$ac_new_val"; then
1767 # differences in whitespace do not lead to failure.
1768 ac_old_val_w
=`echo x $ac_old_val`
1769 ac_new_val_w
=`echo x $ac_new_val`
1770 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1772 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1773 ac_cache_corrupted
=:
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1776 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1777 eval $ac_var=\
$ac_old_val
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1780 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1782 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1785 # Pass precious variables to config.status.
1786 if test "$ac_new_set" = set; then
1788 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1789 *) ac_arg
=$ac_var=$ac_new_val ;;
1791 case " $ac_configure_args " in
1792 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1793 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1797 if $ac_cache_corrupted; then
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1801 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1802 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1804 ## -------------------- ##
1805 ## Main body of script. ##
1806 ## -------------------- ##
1809 ac_cpp
='$CPP $CPPFLAGS'
1810 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1811 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1812 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1821 # Check whether --with-target-subdir was given.
1822 if test "${with_target_subdir+set}" = set; then :
1823 withval
=$with_target_subdir;
1827 # Check whether --with-cross-host was given.
1828 if test "${with_cross_host+set}" = set; then :
1829 withval
=$with_cross_host;
1833 # Check whether --with-ld was given.
1834 if test "${with_ld+set}" = set; then :
1839 if test "${srcdir}" = "."; then
1840 if test -n "${with_build_subdir}"; then
1841 libgcc_topdir
="${srcdir}/../.."
1843 elif test -z "${with_target_subdir}"; then
1844 libgcc_topdir
="${srcdir}/.."
1846 if test "${with_target_subdir}" != "."; then
1847 libgcc_topdir
="${srcdir}/${with_multisrctop}../.."
1849 libgcc_topdir
="${srcdir}/${with_multisrctop}.."
1853 libgcc_topdir
="${srcdir}/.."
1857 for ac_dir
in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
1858 for ac_t
in install-sh
install.sh shtool
; do
1859 if test -f "$ac_dir/$ac_t"; then
1861 ac_install_sh
="$ac_aux_dir/$ac_t -c"
1866 if test -z "$ac_aux_dir"; then
1867 as_fn_error
"cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
1870 # These three variables are undocumented and unsupported,
1871 # and are intended to be withdrawn in a future Autoconf release.
1872 # They can cause serious problems if a builder's source tree is in a directory
1873 # whose full name contains unusual characters.
1874 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1875 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1876 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1880 # Check whether --enable-shared was given.
1881 if test "${enable_shared+set}" = set; then :
1882 enableval
=$enable_shared;
1883 case $enable_shared in
1887 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1888 for pkg
in $enableval; do
1889 if test "X$pkg" = "Xgcc" ||
test "X$pkg" = "Xlibgcc"; then
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
1904 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
1905 # Check whether --enable-version-specific-runtime-libs was given.
1906 if test "${enable_version_specific_runtime_libs+set}" = set; then :
1907 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
1908 yes) version_specific_libs
=yes ;;
1909 no
) version_specific_libs
=no
;;
1910 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
1913 version_specific_libs
=no
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
1917 $as_echo "$version_specific_libs" >&6; }
1920 # Check whether --with-slibdir was given.
1921 if test "${with_slibdir+set}" = set; then :
1922 withval
=$with_slibdir; slibdir
="$with_slibdir"
1924 if test "${version_specific_libs}" = yes; then
1925 slibdir
='$(libsubdir)'
1926 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
1927 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
1935 # Command-line options.
1936 # Very limited version of AC_MAINTAINER_MODE.
1937 # Check whether --enable-maintainer-mode was given.
1938 if test "${enable_maintainer_mode+set}" = set; then :
1939 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
1942 *) as_fn_error
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
1944 maintainer_mode
=${enableval}
1950 # Find a good install program. We prefer a C program (faster),
1951 # so one script is as good as another. But avoid the broken or
1952 # incompatible versions:
1953 # SysV /etc/install, /usr/sbin/install
1954 # SunOS /usr/etc/install
1955 # IRIX /sbin/install
1957 # AmigaOS /C/install, which installs bootblocks on floppy discs
1958 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1959 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1960 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1961 # OS/2's system install, which has a completely different semantic
1962 # ./install, which can be erroneously created by make from ./install.sh.
1963 # Reject install programs that cannot install multiple files.
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1965 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1966 if test -z "$INSTALL"; then
1967 if test "${ac_cv_path_install+set}" = set; then :
1968 $as_echo_n "(cached) " >&6
1970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1974 test -z "$as_dir" && as_dir
=.
1975 # Account for people who put trailing slashes in PATH elements.
1976 case $as_dir/ in #((
1977 .
/ | .
// |
/[cC
]/* | \
1978 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1979 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
1982 # OSF1 and SCO ODT 3.0 have their own names for install.
1983 # Don't use installbsd from OSF since it installs stuff as root
1985 for ac_prog
in ginstall scoinst
install; do
1986 for ac_exec_ext
in '' $ac_executable_extensions; do
1987 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1988 if test $ac_prog = install &&
1989 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1990 # AIX install. It has an incompatible calling convention.
1992 elif test $ac_prog = install &&
1993 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1994 # program-specific install script used by HP pwplus--don't use.
1997 rm -rf conftest.one conftest.two conftest.dir
1998 echo one
> conftest.one
1999 echo two
> conftest.two
2001 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2002 test -s conftest.one
&& test -s conftest.two
&&
2003 test -s conftest.dir
/conftest.one
&&
2004 test -s conftest.dir
/conftest.two
2006 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2019 rm -rf conftest.one conftest.two conftest.dir
2022 if test "${ac_cv_path_install+set}" = set; then
2023 INSTALL
=$ac_cv_path_install
2025 # As a last resort, use the slow shell script. Don't cache a
2026 # value for INSTALL within a source directory, because that will
2027 # break other packages using the cache if that directory is
2028 # removed, or if the value is a relative name.
2029 INSTALL
=$ac_install_sh
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2033 $as_echo "$INSTALL" >&6; }
2035 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2036 # It thinks the first close brace ends the variable substitution.
2037 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2039 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2041 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2044 for ac_prog
in gawk mawk nawk
awk
2046 # Extract the first word of "$ac_prog", so it can be a program name with args.
2047 set dummy
$ac_prog; ac_word
=$2
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2049 $as_echo_n "checking for $ac_word... " >&6; }
2050 if test "${ac_cv_prog_AWK+set}" = set; then :
2051 $as_echo_n "(cached) " >&6
2053 if test -n "$AWK"; then
2054 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2060 test -z "$as_dir" && as_dir
=.
2061 for ac_exec_ext
in '' $ac_executable_extensions; do
2062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2063 ac_cv_prog_AWK
="$ac_prog"
2064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2074 if test -n "$AWK"; then
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2076 $as_echo "$AWK" >&6; }
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2079 $as_echo "no" >&6; }
2083 test -n "$AWK" && break
2086 # We need awk; bail out if it's missing.
2088 "") as_fn_error
"can't build without awk, bailing out" "$LINENO" 5 ;;
2091 # Make sure we can run config.sub.
2092 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2093 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2096 $as_echo_n "checking build system type... " >&6; }
2097 if test "${ac_cv_build+set}" = set; then :
2098 $as_echo_n "(cached) " >&6
2100 ac_build_alias
=$build_alias
2101 test "x$ac_build_alias" = x
&&
2102 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2103 test "x$ac_build_alias" = x
&&
2104 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2105 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2106 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2110 $as_echo "$ac_cv_build" >&6; }
2111 case $ac_cv_build in
2113 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2116 ac_save_IFS
=$IFS; IFS
='-'
2122 # Remember, the first character of IFS is used to create $*,
2123 # except with old shells:
2126 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2130 $as_echo_n "checking host system type... " >&6; }
2131 if test "${ac_cv_host+set}" = set; then :
2132 $as_echo_n "(cached) " >&6
2134 if test "x$host_alias" = x
; then
2135 ac_cv_host
=$ac_cv_build
2137 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2138 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2143 $as_echo "$ac_cv_host" >&6; }
2146 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2149 ac_save_IFS
=$IFS; IFS
='-'
2155 # Remember, the first character of IFS is used to create $*,
2156 # except with old shells:
2159 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2162 case ${build_alias} in
2163 "") build_noncanonical
=${build} ;;
2164 *) build_noncanonical
=${build_alias} ;;
2167 case ${host_alias} in
2168 "") host_noncanonical
=${build_noncanonical} ;;
2169 *) host_noncanonical
=${host_alias} ;;
2174 case ${target_alias} in
2175 "") target_noncanonical
=${host_noncanonical} ;;
2176 *) target_noncanonical
=${target_alias} ;;
2182 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2183 # have matching libraries, they should use host libraries: Makefile.tpl
2184 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2185 # However, they still use the build modules, because the corresponding
2186 # host modules (e.g. bison) are only built for the host when bootstrap
2188 # - build_subdir is where we find build modules, and never changes.
2189 # - build_libsubdir is where we find build libraries, and can be overridden.
2191 # Prefix 'build-' so this never conflicts with target_subdir.
2192 build_subdir
="build-${build_noncanonical}"
2194 # Check whether --with-build-libsubdir was given.
2195 if test "${with_build_libsubdir+set}" = set; then :
2196 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2198 build_libsubdir
="$build_subdir"
2201 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2202 if ( test $srcdir = .
&& test -d gcc
) \
2203 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2204 host_subdir
="host-${host_noncanonical}"
2209 target_subdir
=${target_noncanonical}
2212 # Calculate toolexeclibdir
2213 # Also toolexecdir, though it's only used in toolexeclibdir
2214 case ${version_specific_libs} in
2216 # Need the gcc compiler version to know where to install libraries
2217 # and header files if --enable-version-specific-runtime-libs option
2219 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
2220 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2223 if test -n "$with_cross_host" &&
2224 test x
"$with_cross_host" != x
"no"; then
2225 # Install a library built with a cross compiler in tooldir, not libdir.
2226 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
2227 toolexeclibdir
='$(toolexecdir)/lib'
2229 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
2230 toolexeclibdir
='$(libdir)'
2232 multi_os_directory
=`$CC -print-multi-os-directory`
2233 case $multi_os_directory in
2234 .
) ;; # Avoid trailing /.
2235 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2242 if test -n "$ac_tool_prefix"; then
2243 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2244 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2246 $as_echo_n "checking for $ac_word... " >&6; }
2247 if test "${ac_cv_prog_AR+set}" = set; then :
2248 $as_echo_n "(cached) " >&6
2250 if test -n "$AR"; then
2251 ac_cv_prog_AR
="$AR" # Let the user override the test.
2253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir
=.
2258 for ac_exec_ext
in '' $ac_executable_extensions; do
2259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2260 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2271 if test -n "$AR"; then
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2273 $as_echo "$AR" >&6; }
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2276 $as_echo "no" >&6; }
2281 if test -z "$ac_cv_prog_AR"; then
2283 # Extract the first word of "ar", so it can be a program name with args.
2284 set dummy
ar; ac_word
=$2
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2286 $as_echo_n "checking for $ac_word... " >&6; }
2287 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2288 $as_echo_n "(cached) " >&6
2290 if test -n "$ac_ct_AR"; then
2291 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2297 test -z "$as_dir" && as_dir
=.
2298 for ac_exec_ext
in '' $ac_executable_extensions; do
2299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2300 ac_cv_prog_ac_ct_AR
="ar"
2301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2310 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2311 if test -n "$ac_ct_AR"; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2313 $as_echo "$ac_ct_AR" >&6; }
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2316 $as_echo "no" >&6; }
2319 if test "x$ac_ct_AR" = x
; then
2322 case $cross_compiling:$ac_tool_warned in
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2326 ac_tool_warned
=yes ;;
2334 if test -n "$ac_tool_prefix"; then
2335 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2336 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2338 $as_echo_n "checking for $ac_word... " >&6; }
2339 if test "${ac_cv_prog_LIPO+set}" = set; then :
2340 $as_echo_n "(cached) " >&6
2342 if test -n "$LIPO"; then
2343 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
2345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir
=.
2350 for ac_exec_ext
in '' $ac_executable_extensions; do
2351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2352 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
2353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 LIPO
=$ac_cv_prog_LIPO
2363 if test -n "$LIPO"; then
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2365 $as_echo "$LIPO" >&6; }
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2368 $as_echo "no" >&6; }
2373 if test -z "$ac_cv_prog_LIPO"; then
2375 # Extract the first word of "lipo", so it can be a program name with args.
2376 set dummy lipo
; ac_word
=$2
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2378 $as_echo_n "checking for $ac_word... " >&6; }
2379 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
2380 $as_echo_n "(cached) " >&6
2382 if test -n "$ac_ct_LIPO"; then
2383 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
2385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir
=.
2390 for ac_exec_ext
in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2392 ac_cv_prog_ac_ct_LIPO
="lipo"
2393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2402 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
2403 if test -n "$ac_ct_LIPO"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2405 $as_echo "$ac_ct_LIPO" >&6; }
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2408 $as_echo "no" >&6; }
2411 if test "x$ac_ct_LIPO" = x
; then
2414 case $cross_compiling:$ac_tool_warned in
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2418 ac_tool_warned
=yes ;;
2423 LIPO
="$ac_cv_prog_LIPO"
2426 if test -n "$ac_tool_prefix"; then
2427 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2428 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2430 $as_echo_n "checking for $ac_word... " >&6; }
2431 if test "${ac_cv_prog_NM+set}" = set; then :
2432 $as_echo_n "(cached) " >&6
2434 if test -n "$NM"; then
2435 ac_cv_prog_NM
="$NM" # Let the user override the test.
2437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2441 test -z "$as_dir" && as_dir
=.
2442 for ac_exec_ext
in '' $ac_executable_extensions; do
2443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2444 ac_cv_prog_NM
="${ac_tool_prefix}nm"
2445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2455 if test -n "$NM"; then
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2457 $as_echo "$NM" >&6; }
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2460 $as_echo "no" >&6; }
2465 if test -z "$ac_cv_prog_NM"; then
2467 # Extract the first word of "nm", so it can be a program name with args.
2468 set dummy nm
; ac_word
=$2
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2470 $as_echo_n "checking for $ac_word... " >&6; }
2471 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
2472 $as_echo_n "(cached) " >&6
2474 if test -n "$ac_ct_NM"; then
2475 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
2477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2481 test -z "$as_dir" && as_dir
=.
2482 for ac_exec_ext
in '' $ac_executable_extensions; do
2483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2484 ac_cv_prog_ac_ct_NM
="nm"
2485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2494 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
2495 if test -n "$ac_ct_NM"; then
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
2497 $as_echo "$ac_ct_NM" >&6; }
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2500 $as_echo "no" >&6; }
2503 if test "x$ac_ct_NM" = x
; then
2506 case $cross_compiling:$ac_tool_warned in
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2510 ac_tool_warned
=yes ;;
2518 if test -n "$ac_tool_prefix"; then
2519 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2520 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2522 $as_echo_n "checking for $ac_word... " >&6; }
2523 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2524 $as_echo_n "(cached) " >&6
2526 if test -n "$RANLIB"; then
2527 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2533 test -z "$as_dir" && as_dir
=.
2534 for ac_exec_ext
in '' $ac_executable_extensions; do
2535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2536 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2546 RANLIB
=$ac_cv_prog_RANLIB
2547 if test -n "$RANLIB"; then
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2549 $as_echo "$RANLIB" >&6; }
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2552 $as_echo "no" >&6; }
2557 if test -z "$ac_cv_prog_RANLIB"; then
2558 ac_ct_RANLIB
=$RANLIB
2559 # Extract the first word of "ranlib", so it can be a program name with args.
2560 set dummy ranlib
; ac_word
=$2
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2562 $as_echo_n "checking for $ac_word... " >&6; }
2563 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2564 $as_echo_n "(cached) " >&6
2566 if test -n "$ac_ct_RANLIB"; then
2567 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2573 test -z "$as_dir" && as_dir
=.
2574 for ac_exec_ext
in '' $ac_executable_extensions; do
2575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2576 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2586 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2587 if test -n "$ac_ct_RANLIB"; then
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2589 $as_echo "$ac_ct_RANLIB" >&6; }
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2592 $as_echo "no" >&6; }
2595 if test "x$ac_ct_RANLIB" = x
; then
2598 case $cross_compiling:$ac_tool_warned in
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2602 ac_tool_warned
=yes ;;
2604 RANLIB
=$ac_ct_RANLIB
2607 RANLIB
="$ac_cv_prog_RANLIB"
2610 if test -n "$ac_tool_prefix"; then
2611 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2612 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614 $as_echo_n "checking for $ac_word... " >&6; }
2615 if test "${ac_cv_prog_STRIP+set}" = set; then :
2616 $as_echo_n "(cached) " >&6
2618 if test -n "$STRIP"; then
2619 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir
=.
2626 for ac_exec_ext
in '' $ac_executable_extensions; do
2627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2628 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2638 STRIP
=$ac_cv_prog_STRIP
2639 if test -n "$STRIP"; then
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2641 $as_echo "$STRIP" >&6; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644 $as_echo "no" >&6; }
2649 if test -z "$ac_cv_prog_STRIP"; then
2651 # Extract the first word of "strip", so it can be a program name with args.
2652 set dummy strip
; ac_word
=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2656 $as_echo_n "(cached) " >&6
2658 if test -n "$ac_ct_STRIP"; then
2659 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir
=.
2666 for ac_exec_ext
in '' $ac_executable_extensions; do
2667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2668 ac_cv_prog_ac_ct_STRIP
="strip"
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2679 if test -n "$ac_ct_STRIP"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2681 $as_echo "$ac_ct_STRIP" >&6; }
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2687 if test "x$ac_ct_STRIP" = x
; then
2690 case $cross_compiling:$ac_tool_warned in
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2694 ac_tool_warned
=yes ;;
2699 STRIP
="$ac_cv_prog_STRIP"
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2703 $as_echo_n "checking whether ln -s works... " >&6; }
2705 if test "$LN_S" = "ln -s"; then
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2707 $as_echo "yes" >&6; }
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2710 $as_echo "no, using $LN_S" >&6; }
2716 ac_cpp
='$CPP $CPPFLAGS'
2717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2720 if test -n "$ac_tool_prefix"; then
2721 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2722 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if test "${ac_cv_prog_CC+set}" = set; then :
2726 $as_echo_n "(cached) " >&6
2728 if test -n "$CC"; then
2729 ac_cv_prog_CC
="$CC" # Let the user override the test.
2731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2735 test -z "$as_dir" && as_dir
=.
2736 for ac_exec_ext
in '' $ac_executable_extensions; do
2737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2738 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 if test -n "$CC"; then
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2751 $as_echo "$CC" >&6; }
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2754 $as_echo "no" >&6; }
2759 if test -z "$ac_cv_prog_CC"; then
2761 # Extract the first word of "gcc", so it can be a program name with args.
2762 set dummy gcc
; ac_word
=$2
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2764 $as_echo_n "checking for $ac_word... " >&6; }
2765 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2766 $as_echo_n "(cached) " >&6
2768 if test -n "$ac_ct_CC"; then
2769 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir
=.
2776 for ac_exec_ext
in '' $ac_executable_extensions; do
2777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2778 ac_cv_prog_ac_ct_CC
="gcc"
2779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2789 if test -n "$ac_ct_CC"; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2791 $as_echo "$ac_ct_CC" >&6; }
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794 $as_echo "no" >&6; }
2797 if test "x$ac_ct_CC" = x
; then
2800 case $cross_compiling:$ac_tool_warned in
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2804 ac_tool_warned
=yes ;;
2812 if test -z "$CC"; then
2813 if test -n "$ac_tool_prefix"; then
2814 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2815 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2817 $as_echo_n "checking for $ac_word... " >&6; }
2818 if test "${ac_cv_prog_CC+set}" = set; then :
2819 $as_echo_n "(cached) " >&6
2821 if test -n "$CC"; then
2822 ac_cv_prog_CC
="$CC" # Let the user override the test.
2824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir
=.
2829 for ac_exec_ext
in '' $ac_executable_extensions; do
2830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2831 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 if test -n "$CC"; then
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2844 $as_echo "$CC" >&6; }
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847 $as_echo "no" >&6; }
2853 if test -z "$CC"; then
2854 # Extract the first word of "cc", so it can be a program name with args.
2855 set dummy cc
; ac_word
=$2
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2857 $as_echo_n "checking for $ac_word... " >&6; }
2858 if test "${ac_cv_prog_CC+set}" = set; then :
2859 $as_echo_n "(cached) " >&6
2861 if test -n "$CC"; then
2862 ac_cv_prog_CC
="$CC" # Let the user override the test.
2865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir
=.
2870 for ac_exec_ext
in '' $ac_executable_extensions; do
2871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2872 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2873 ac_prog_rejected
=yes
2877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 if test $ac_prog_rejected = yes; then
2885 # We found a bogon in the path, so make sure we never use it.
2886 set dummy
$ac_cv_prog_CC
2888 if test $# != 0; then
2889 # We chose a different compiler from the bogus one.
2890 # However, it has the same basename, so the bogon will be chosen
2891 # first if we set CC to just the basename; use the full file name.
2893 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2899 if test -n "$CC"; then
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2901 $as_echo "$CC" >&6; }
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904 $as_echo "no" >&6; }
2909 if test -z "$CC"; then
2910 if test -n "$ac_tool_prefix"; then
2911 for ac_prog
in cl.exe
2913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2914 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916 $as_echo_n "checking for $ac_word... " >&6; }
2917 if test "${ac_cv_prog_CC+set}" = set; then :
2918 $as_echo_n "(cached) " >&6
2920 if test -n "$CC"; then
2921 ac_cv_prog_CC
="$CC" # Let the user override the test.
2923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir
=.
2928 for ac_exec_ext
in '' $ac_executable_extensions; do
2929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2930 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 if test -n "$CC"; then
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2943 $as_echo "$CC" >&6; }
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946 $as_echo "no" >&6; }
2950 test -n "$CC" && break
2953 if test -z "$CC"; then
2955 for ac_prog
in cl.exe
2957 # Extract the first word of "$ac_prog", so it can be a program name with args.
2958 set dummy
$ac_prog; ac_word
=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2964 if test -n "$ac_ct_CC"; then
2965 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir
=.
2972 for ac_exec_ext
in '' $ac_executable_extensions; do
2973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2974 ac_cv_prog_ac_ct_CC
="$ac_prog"
2975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2984 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2985 if test -n "$ac_ct_CC"; then
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2987 $as_echo "$ac_ct_CC" >&6; }
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
2994 test -n "$ac_ct_CC" && break
2997 if test "x$ac_ct_CC" = x
; then
3000 case $cross_compiling:$ac_tool_warned in
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3004 ac_tool_warned
=yes ;;
3013 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015 as_fn_error
"no acceptable C compiler found in \$PATH
3016 See \`config.log' for more details." "$LINENO" 5; }
3018 # Provide some information about the compiler.
3019 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3022 for ac_option
in --version -v -V -qversion; do
3023 { { ac_try
="$ac_compiler $ac_option >&5"
3025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3026 *) ac_try_echo=$ac_try;;
3028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3029 $as_echo "$ac_try_echo"; } >&5
3030 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3032 if test -s conftest.err; then
3034 ... rest of stderr output deleted ...
3035 10q' conftest.err >conftest.er1
3036 cat conftest.er1 >&5
3037 rm -f conftest.er1 conftest.err
3039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3040 test $ac_status = 0; }
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3055 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3056 (eval $ac_link) 2>&5
3058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3059 test $ac_status = 0; }; then :
3064 if test x$gcc_no_link = xyes; then
3065 # Setting cross_compile will disable run tests; it will
3066 # also disable AC_CHECK_FILE but that's generally
3067 # correct if we can't link.
3071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3072 /* end confdefs.h. */
3082 ac_clean_files_save=$ac_clean_files
3083 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3084 # Try to create an executable without -o first, disregard a.out.
3085 # It will help us diagnose broken compilers, and finding out an intuition
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3088 $as_echo_n "checking for C compiler default output file name... " >&6; }
3089 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3091 # The possible output files:
3092 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3095 for ac_file in $ac_files
3098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3099 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3104 if { { ac_try="$ac_link_default"
3106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3107 *) ac_try_echo
=$ac_try;;
3109 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3110 $as_echo "$ac_try_echo"; } >&5
3111 (eval "$ac_link_default") 2>&5
3113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3114 test $ac_status = 0; }; then :
3115 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3116 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3117 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3118 # so that the user can short-circuit this test for compilers unknown to
3120 for ac_file
in $ac_files ''
3122 test -f "$ac_file" ||
continue
3124 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3127 # We found the default executable, but exeext='' is most
3131 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3133 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3135 # We set ac_cv_exeext here because the later test for it is not
3136 # safe: cross compilers may not add the suffix if given an `-o'
3137 # argument, so we may need to know it at that point already.
3138 # Even if this section looks crufty: it has the advantage of
3145 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3151 $as_echo "$ac_file" >&6; }
3152 if test -z "$ac_file"; then :
3153 $as_echo "$as_me: failed program was:" >&5
3154 sed 's/^/| /' conftest.
$ac_ext >&5
3156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3158 { as_fn_set_status
77
3159 as_fn_error
"C compiler cannot create executables
3160 See \`config.log' for more details." "$LINENO" 5; }; }
3162 ac_exeext
=$ac_cv_exeext
3164 # Check that the compiler produces executables we can run. If not, either
3165 # the compiler is broken, or we cross compile.
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3167 $as_echo_n "checking whether the C compiler works... " >&6; }
3168 # If not cross compiling, check that we can run a simple program.
3169 if test "$cross_compiling" != yes; then
3170 if { ac_try
='./$ac_file'
3171 { { case "(($ac_try" in
3172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3173 *) ac_try_echo=$ac_try;;
3175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3176 $as_echo "$ac_try_echo"; } >&5
3177 (eval "$ac_try") 2>&5
3179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3180 test $ac_status = 0; }; }; then
3183 if test "$cross_compiling" = maybe; then
3186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3188 as_fn_error "cannot run C compiled programs.
3189 If you meant to cross compile
, use \
`--host'.
3190 See \`config.log
' for more details." "$LINENO" 5; }
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3195 $as_echo "yes" >&6; }
3197 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3198 ac_clean_files=$ac_clean_files_save
3199 # Check that the compiler produces executables we can run. If not, either
3200 # the compiler is broken, or we cross compile.
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3202 $as_echo_n "checking whether we are cross compiling... " >&6; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3204 $as_echo "$cross_compiling" >&6; }
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3207 $as_echo_n "checking for suffix of executables... " >&6; }
3208 if { { ac_try="$ac_link"
3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3214 $as_echo "$ac_try_echo"; } >&5
3215 (eval "$ac_link") 2>&5
3217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3218 test $ac_status = 0; }; then :
3219 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3220 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3221 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3223 for ac_file
in conftest.exe conftest conftest.
*; do
3224 test -f "$ac_file" ||
continue
3226 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3227 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3235 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3236 See \`config.log' for more details." "$LINENO" 5; }
3238 rm -f conftest
$ac_cv_exeext
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3240 $as_echo "$ac_cv_exeext" >&6; }
3242 rm -f conftest.
$ac_ext
3243 EXEEXT
=$ac_cv_exeext
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3247 $as_echo_n "checking for suffix of object files... " >&6; }
3248 if test "${ac_cv_objext+set}" = set; then :
3249 $as_echo_n "(cached) " >&6
3251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3252 /* end confdefs.h. */
3262 rm -f conftest.o conftest.obj
3263 if { { ac_try
="$ac_compile"
3265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3266 *) ac_try_echo=$ac_try;;
3268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3269 $as_echo "$ac_try_echo"; } >&5
3270 (eval "$ac_compile") 2>&5
3272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3273 test $ac_status = 0; }; then :
3274 for ac_file in conftest.o conftest.obj conftest.*; do
3275 test -f "$ac_file" || continue;
3277 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3278 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3283 $as_echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.$ac_ext >&5
3286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3288 as_fn_error "cannot compute suffix of object files
: cannot compile
3289 See \
`config.log' for more details." "$LINENO" 5; }
3291 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3294 $as_echo "$ac_cv_objext" >&6; }
3295 OBJEXT=$ac_cv_objext
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3298 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3299 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3300 $as_echo_n "(cached) " >&6
3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3316 if ac_fn_c_try_compile "$LINENO"; then :
3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3322 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3326 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3327 if test $ac_compiler_gnu = yes; then
3332 ac_test_CFLAGS=${CFLAGS+set}
3333 ac_save_CFLAGS=$CFLAGS
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3335 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3336 if test "${ac_cv_prog_cc_g+set}" = set; then :
3337 $as_echo_n "(cached) " >&6
3339 ac_save_c_werror_flag=$ac_c_werror_flag
3340 ac_c_werror_flag=yes
3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3354 if ac_fn_c_try_compile "$LINENO"; then :
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3369 if ac_fn_c_try_compile "$LINENO"; then :
3372 ac_c_werror_flag=$ac_save_c_werror_flag
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h. */
3385 if ac_fn_c_try_compile "$LINENO"; then :
3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3393 ac_c_werror_flag=$ac_save_c_werror_flag
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3396 $as_echo "$ac_cv_prog_cc_g" >&6; }
3397 if test "$ac_test_CFLAGS" = set; then
3398 CFLAGS=$ac_save_CFLAGS
3399 elif test $ac_cv_prog_cc_g = yes; then
3400 if test "$GCC" = yes; then
3406 if test "$GCC" = yes; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3413 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3414 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3415 $as_echo_n "(cached) " >&6
3417 ac_cv_prog_cc_c89=no
3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3423 #include <sys/types.h>
3424 #include <sys/stat.h>
3425 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3426 struct buf { int x; };
3427 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3428 static char *e (p, i)
3434 static char *f (char * (*g) (char **, int), char **p, ...)
3439 s = g (p, va_arg (v,int));
3444 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3445 function prototypes and stuff, but not '\xHH' hex character constants.
3446 These don't provoke an error unfortunately, instead are silently treated
3447 as 'x'. The following induces an error, until -std is added to get
3448 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3449 array size at least. It's necessary to write '\x00'==0 to get something
3450 that's true only with -std. */
3451 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3453 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3454 inside strings and character constants. */
3456 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3458 int test (int i, double x);
3459 struct s1 {int (*f) (int a);};
3460 struct s2 {int (*f) (double a);};
3461 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3467 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3472 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3473 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3475 CC="$ac_save_CC $ac_arg"
3476 if ac_fn_c_try_compile "$LINENO"; then :
3477 ac_cv_prog_cc_c89=$ac_arg
3479 rm -f core conftest.err conftest.$ac_objext
3480 test "x$ac_cv_prog_cc_c89" != "xno" && break
3482 rm -f conftest.$ac_ext
3487 case "x$ac_cv_prog_cc_c89" in
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3490 $as_echo "none needed" >&6; } ;;
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3493 $as_echo "unsupported" >&6; } ;;
3495 CC="$CC $ac_cv_prog_cc_c89"
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3497 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3499 if test "x$ac_cv_prog_cc_c89" != xno; then :
3504 ac_cpp='$CPP $CPPFLAGS'
3505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3510 ac_cpp='$CPP $CPPFLAGS'
3511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3515 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3516 # On Suns, sometimes $CPP names a directory.
3517 if test -n "$CPP" && test -d "$CPP"; then
3520 if test -z "$CPP"; then
3521 if test "${ac_cv_prog_CPP+set}" = set; then :
3522 $as_echo_n "(cached) " >&6
3524 # Double quotes because CPP needs to be expanded
3525 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3528 for ac_c_preproc_warn_flag in '' yes
3530 # Use a header file that comes with gcc, so configuring glibc
3531 # with a fresh cross-compiler works.
3532 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3533 # <limits.h> exists even on freestanding compilers.
3534 # On the NeXT, cc -E runs the code through the compiler's parser,
3535 # not just through cpp. "Syntax error" is here to catch this case.
3536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3537 /* end confdefs.h. */
3539 # include <limits.h>
3541 # include <assert.h>
3545 if ac_fn_c_try_cpp "$LINENO"; then :
3548 # Broken: fails on valid input.
3551 rm -f conftest.err conftest.$ac_ext
3553 # OK, works on sane cases. Now check whether nonexistent headers
3554 # can be detected and how.
3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3557 #include <ac_nonexistent.h>
3559 if ac_fn_c_try_cpp "$LINENO"; then :
3560 # Broken: success on invalid input.
3563 # Passes both tests.
3567 rm -f conftest.err conftest.$ac_ext
3570 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3571 rm -f conftest.err conftest.
$ac_ext
3572 if $ac_preproc_ok; then :
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3585 $as_echo "$CPP" >&6; }
3587 for ac_c_preproc_warn_flag
in '' yes
3589 # Use a header file that comes with gcc, so configuring glibc
3590 # with a fresh cross-compiler works.
3591 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3592 # <limits.h> exists even on freestanding compilers.
3593 # On the NeXT, cc -E runs the code through the compiler's parser,
3594 # not just through cpp. "Syntax error" is here to catch this case.
3595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3596 /* end confdefs.h. */
3598 # include <limits.h>
3600 # include <assert.h>
3604 if ac_fn_c_try_cpp
"$LINENO"; then :
3607 # Broken: fails on valid input.
3610 rm -f conftest.err conftest.
$ac_ext
3612 # OK, works on sane cases. Now check whether nonexistent headers
3613 # can be detected and how.
3614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h. */
3616 #include <ac_nonexistent.h>
3618 if ac_fn_c_try_cpp
"$LINENO"; then :
3619 # Broken: success on invalid input.
3622 # Passes both tests.
3626 rm -f conftest.err conftest.
$ac_ext
3629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3630 rm -f conftest.err conftest.
$ac_ext
3631 if $ac_preproc_ok; then :
3634 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3636 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3637 See \`config.log' for more details." "$LINENO" 5; }
3641 ac_cpp
='$CPP $CPPFLAGS'
3642 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3643 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3644 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3647 ac_c_preproc_warn_flag
=yes
3649 # Check for decimal float support.
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
3652 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
3653 if test "${libgcc_cv_dfp+set}" = set; then :
3654 $as_echo_n "(cached) " >&6
3656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3657 /* end confdefs.h. */
3660 if ac_fn_c_try_compile
"$LINENO"; then :
3665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
3668 $as_echo "$libgcc_cv_dfp" >&6; }
3669 decimal_float
=$libgcc_cv_dfp
3673 # Check whether --enable-decimal-float was given.
3674 if test "${enable_decimal_float+set}" = set; then :
3675 enableval
=$enable_decimal_float;
3676 case $enable_decimal_float in
3677 yes | no | bid | dpd
) default_decimal_float
=$enable_decimal_float ;;
3678 *) as_fn_error
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
3679 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
3685 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux* | s390
*-*-linux* | \
3686 i?
86*-*-mingw* | x86_64
*-*-mingw* | \
3688 enable_decimal_float
=yes
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
3692 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
3693 enable_decimal_float
=no
3700 # x86's use BID format instead of DPD
3701 case x
$enable_decimal_float in
3704 i?
86*-*-* | x86_64
*-*-*)
3705 enable_decimal_float
=bid
3708 enable_decimal_float
=dpd
3711 default_decimal_float
=$enable_decimal_float
3714 # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
3715 # dependency on libdecnumber.
3716 default_decimal_float
=dpd
3723 # Check for fixed-point support.
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
3725 $as_echo_n "checking whether fixed-point is supported... " >&6; }
3726 if test "${libgcc_cv_fixed_point+set}" = set; then :
3727 $as_echo_n "(cached) " >&6
3729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3730 /* end confdefs.h. */
3733 if ac_fn_c_try_compile
"$LINENO"; then :
3734 libgcc_cv_fixed_point
=yes
3736 libgcc_cv_fixed_point
=no
3738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
3741 $as_echo "$libgcc_cv_fixed_point" >&6; }
3742 fixed_point
=$libgcc_cv_fixed_point
3745 # Check for assembler CFI support.
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether assembler supports CFI directives" >&5
3747 $as_echo_n "checking whether assembler supports CFI directives... " >&6; }
3748 if test "${libgcc_cv_cfi+set}" = set; then :
3749 $as_echo_n "(cached) " >&6
3751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h. */
3756 .cfi_personality 0, symbol\n\
3759 if ac_fn_c_try_compile
"$LINENO"; then :
3764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5
3767 $as_echo "$libgcc_cv_cfi" >&6; }
3769 # Check 32bit or 64bit for x86.
3771 i?
86*-*-* | x86_64
*-*-*)
3772 cat > conftest.c
<<EOF
3779 eval `${CC-cc} -E conftest.c | grep host_address=`
3784 # Collect host-machine-specific information.
3785 .
${srcdir}/config.
host
3787 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
3788 # This is after config.host so we can augment tmake_file.
3789 # Link with -nostartfiles -nodefaultlibs since neither are present while
3793 cat > conftest.s
<<EOF
3794 .section .eh_frame,"a",@unwind
3796 .section .jcr,"aw",@progbits
3799 if { ac_try
='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
3800 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3804 test $ac_status = 0; }; }; then
3805 # configure expects config files in libgcc/config, so need a relative
3807 tmake_file
="${tmake_file} ../../gcc/config/i386/t-crtstuff"
3812 # Check for visibility support. This is after config.host so that
3813 # we can check for asm_hidden_op.
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
3815 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
3816 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then :
3817 $as_echo_n "(cached) " >&6
3820 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
3821 libgcc_cv_hidden_visibility_attribute
=no
3822 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
3823 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3827 test $ac_status = 0; }; }; then
3828 if grep "\\$asm_hidden_op.*foo" conftest.s
>/dev
/null
; then
3829 libgcc_cv_hidden_visibility_attribute
=yes
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
3836 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
3838 if test $libgcc_cv_hidden_visibility_attribute = yes; then
3839 vis_hide
='-fvisibility=hidden -DHIDE_EXPORTS'
3845 # See if we have thread-local storage. We can only test assembler
3846 # sicne link-time and run-time tests require the newly built
3847 # gcc, which can't be used to build executable due to that libgcc
3848 # is yet to be built here.
3850 # Check whether --enable-tls was given.
3851 if test "${enable_tls+set}" = set; then :
3852 enableval
=$enable_tls;
3853 case "$enableval" in
3855 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
3864 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
3865 if test "${gcc_cv_have_cc_tls+set}" = set; then :
3866 $as_echo_n "(cached) " >&6
3869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3871 __thread int a; int b; int main() { return a = b; }
3873 if ac_fn_c_try_compile
"$LINENO"; then :
3874 gcc_cv_have_cc_tls
=yes
3876 gcc_cv_have_cc_tls
=no
3878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
3882 $as_echo "$gcc_cv_have_cc_tls" >&6; }
3884 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
3885 set_have_cc_tls
="-DHAVE_CC_TLS"
3889 # See if we have emulated thread-local storage.
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
3892 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
3893 if test "${gcc_cv_use_emutls+set}" = set; then :
3894 $as_echo_n "(cached) " >&6
3897 gcc_cv_use_emutls
=no
3898 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
3899 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
3900 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3904 test $ac_status = 0; }; }; then
3905 if grep __emutls_get_address conftest.s
> /dev
/null
; then
3906 gcc_cv_use_emutls
=yes
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
3913 $as_echo "$gcc_cv_use_emutls" >&6; }
3914 if test "$gcc_cv_use_emutls" = "yes" ; then
3916 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
3920 if test "$enable_tls $gcc_cv_use_emutls" = "yes yes"; then
3921 set_use_emutls
="-DUSE_EMUTLS"
3925 # Conditionalize the makefile for this target machine.
3927 for f
in ${tmake_file}
3929 if test -f ${srcdir}/config
/$f
3931 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
3934 tmake_file
="${tmake_file_}"
3937 # Substitute configuration variables
3941 # We need multilib support.
3942 ac_config_files
="$ac_config_files Makefile"
3944 ac_config_commands
="$ac_config_commands default"
3946 cat >confcache
<<\_ACEOF
3947 # This file is a shell script that caches the results of configure
3948 # tests run on this system so they can be shared between configure
3949 # scripts and configure runs, see configure's option --config-cache.
3950 # It is not useful on other systems. If it contains results you don't
3951 # want to keep, you may remove or edit it.
3953 # config.status only pays attention to the cache file if you give it
3954 # the --recheck option to rerun configure.
3956 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3957 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3962 # The following way of writing the cache mishandles newlines in values,
3963 # but we know of no workaround that is simple, portable, and efficient.
3964 # So, we kill variables containing newlines.
3965 # Ultrix sh set writes to stderr and can't be redirected directly,
3966 # and sets the high bit in the cache file unless we assign to the vars.
3968 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3969 eval ac_val
=\$
$ac_var
3973 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3974 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3977 _ | IFS | as_nl
) ;; #(
3978 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3979 *) { eval $ac_var=; unset $ac_var;} ;;
3985 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3986 *${as_nl}ac_space
=\
*)
3987 # `set' does not quote correctly, so add quotes: double-quote
3988 # substitution turns \\\\ into \\, and sed turns \\ into \.
3991 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3994 # `set' quotes correctly as required by POSIX, so do not add quotes.
3995 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4004 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4006 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4008 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4009 if test -w "$cache_file"; then
4010 test "x$cache_file" != "x/dev/null" &&
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4012 $as_echo "$as_me: updating cache $cache_file" >&6;}
4013 cat confcache
>$cache_file
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4016 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4021 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4022 # Let make expand exec_prefix.
4023 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4025 # Transform confdefs.h into DEFS.
4026 # Protect against shell expansion while executing Makefile rules.
4027 # Protect against Makefile macro expansion.
4029 # If the first sed substitution is executed (which looks for macros that
4030 # take arguments), then branch to the quote section. Otherwise,
4031 # look for a macro that doesn't take arguments.
4041 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4043 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4047 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4060 DEFS
=`sed -n "$ac_script" confdefs.h`
4065 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4066 # 1. Remove the extension, and $U if already installed.
4067 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4068 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4069 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4070 # will be set to the directory where LIBOBJS objects are built.
4071 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4072 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4076 LTLIBOBJS
=$ac_ltlibobjs
4080 : ${CONFIG_STATUS=./config.status}
4082 ac_clean_files_save
=$ac_clean_files
4083 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4085 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4087 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4089 # Generated by $as_me.
4090 # Run this file to recreate the current configuration.
4091 # Compiler output produced by configure, useful for debugging
4092 # configure, is in config.log if it exists.
4098 SHELL=\${CONFIG_SHELL-$SHELL}
4101 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4102 ## -------------------- ##
4103 ## M4sh Initialization. ##
4104 ## -------------------- ##
4106 # Be more Bourne compatible
4107 DUALCASE
=1; export DUALCASE
# for MKS sh
4108 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4111 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4112 # is contrary to our usage. Disable this feature.
4113 alias -g '${1+"$@"}'='"$@"'
4114 setopt NO_GLOB_SUBST
4116 case `(set -o) 2>/dev/null` in #(
4128 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4129 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4130 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4131 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4132 # Prefer a ksh shell builtin over an external printf program on Solaris,
4133 # but without wasting forks for bash or zsh.
4134 if test -z "$BASH_VERSION$ZSH_VERSION" \
4135 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4136 as_echo='print
-r --'
4137 as_echo_n='print
-rn --'
4138 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4139 as_echo='printf %s
\n'
4140 as_echo_n='printf %s
'
4142 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4143 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4144 as_echo_n='/usr
/ucb
/echo -n'
4146 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4147 as_echo_n_body='eval
4151 expr "X$arg" : "X\\(.*\\)$as_nl";
4152 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4154 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4156 export as_echo_n_body
4157 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4160 as_echo='sh
-c $as_echo_body as_echo
'
4163 # The user is always right.
4164 if test "${PATH_SEPARATOR+set}" != set; then
4166 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4167 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4174 # We need space, tab and new line, in precisely that order. Quoting is
4175 # there to prevent editors from complaining about space-tab.
4176 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4177 # splitting by setting IFS to empty value.)
4180 # Find who we are. Look in the path if we contain no directory separator.
4182 *[\\/]* ) as_myself=$0 ;;
4183 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4187 test -z "$as_dir" && as_dir=.
4188 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4194 # We did not find ourselves, most probably we were run as `sh COMMAND'
4195 # in which case we are not to be found in the path.
4196 if test "x$as_myself" = x
; then
4199 if test ! -f "$as_myself"; then
4200 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4204 # Unset variables that we do not need and which cause bugs (e.g. in
4205 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4206 # suppresses any "Segmentation fault" message there. '((' could
4207 # trigger a bug in pdksh 5.2.14.
4208 for as_var
in BASH_ENV ENV MAIL MAILPATH
4209 do eval test x\
${$as_var+set} = xset \
4210 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4223 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4226 # as_fn_error ERROR [LINENO LOG_FD]
4227 # ---------------------------------
4228 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4229 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4230 # script with status $?, using 1 if that was 0.
4233 as_status
=$?
; test $as_status -eq 0 && as_status
=1
4235 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4236 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4238 $as_echo "$as_me: error: $1" >&2
4239 as_fn_exit
$as_status
4243 # as_fn_set_status STATUS
4244 # -----------------------
4245 # Set $? to STATUS, without forking.
4249 } # as_fn_set_status
4253 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4263 # Portably unset VAR.
4266 { eval $1=; unset $1;}
4268 as_unset
=as_fn_unset
4269 # as_fn_append VAR VALUE
4270 # ----------------------
4271 # Append the text in VALUE to the end of the definition contained in VAR. Take
4272 # advantage of any shell optimizations that allow amortized linear growth over
4273 # repeated appends, instead of the typical quadratic growth present in naive
4275 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4276 eval 'as_fn_append ()
4287 # as_fn_arith ARG...
4288 # ------------------
4289 # Perform arithmetic evaluation on the ARGs, and store the result in the
4290 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4291 # must be portable across $(()) and expr.
4292 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4293 eval 'as_fn_arith ()
4300 as_val
=`expr "$@" || test $? -eq 1`
4305 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4306 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4312 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4313 as_basename
=basename
4318 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4324 as_me
=`$as_basename -- "$0" ||
4325 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4326 X"$0" : 'X\(//\)$' \| \
4327 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4329 sed '/^.*\/\([^/][^/]*\)\/*$/{
4343 # Avoid depending upon Character Ranges.
4344 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4345 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4346 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4347 as_cr_digits
='0123456789'
4348 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4350 ECHO_C
= ECHO_N
= ECHO_T
=
4351 case `echo -n x` in #(((((
4353 case `echo 'xy\c'` in
4354 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4356 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4363 rm -f conf$$ conf$$.exe conf$$.
file
4364 if test -d conf$$.dir
; then
4365 rm -f conf$$.dir
/conf$$.
file
4368 mkdir conf$$.dir
2>/dev
/null
4370 if (echo >conf$$.
file) 2>/dev
/null
; then
4371 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4373 # ... but there are two gotchas:
4374 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4375 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4376 # In both cases, we have to default to `cp -p'.
4377 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4379 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4387 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4388 rmdir conf$$.dir
2>/dev
/null
4393 # Create "$as_dir" as a directory, including parents if necessary.
4398 -*) as_dir
=.
/$as_dir;;
4400 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4404 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4405 *) as_qdir
=$as_dir;;
4407 as_dirs
="'$as_qdir' $as_dirs"
4408 as_dir
=`$as_dirname -- "$as_dir" ||
4409 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4410 X"$as_dir" : 'X\(//\)[^/]' \| \
4411 X"$as_dir" : 'X\(//\)$' \| \
4412 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4413 $as_echo X"$as_dir" |
4414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4431 test -d "$as_dir" && break
4433 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4434 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
4438 if mkdir
-p .
2>/dev
/null
; then
4439 as_mkdir_p
='mkdir -p "$as_dir"'
4441 test -d .
/-p && rmdir .
/-p
4445 if test -x / >/dev
/null
2>&1; then
4448 if ls -dL / >/dev
/null
2>&1; then
4455 if test -d "$1"; then
4461 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4462 ???[sx]*):;;*)false;;esac;fi
4466 as_executable_p
=$as_test_x
4468 # Sed expression to map a string onto a valid CPP name.
4469 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4471 # Sed expression to map a string onto a valid variable name.
4472 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4476 ## ----------------------------------- ##
4477 ## Main body of $CONFIG_STATUS script. ##
4478 ## ----------------------------------- ##
4480 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4483 # Save the log message, to keep $0 and so on meaningful, and to
4484 # report actual input values of CONFIG_FILES etc. instead of their
4485 # values after options handling.
4487 This file was extended by GNU C Runtime Library $as_me 1.0, which was
4488 generated by GNU Autoconf 2.64. Invocation command line was
4490 CONFIG_FILES = $CONFIG_FILES
4491 CONFIG_HEADERS = $CONFIG_HEADERS
4492 CONFIG_LINKS = $CONFIG_LINKS
4493 CONFIG_COMMANDS = $CONFIG_COMMANDS
4496 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4501 case $ac_config_files in *"
4502 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4508 # Files that config.status was made for.
4509 config_files="$ac_config_files"
4510 config_commands="$ac_config_commands"
4514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4516 \`$as_me' instantiates files and other configuration actions
4517 from templates according to the current configuration. Unless the files
4518 and actions are specified as TAGs, all are instantiated by default.
4520 Usage: $0 [OPTION]... [TAG]...
4522 -h, --help print this help, then exit
4523 -V, --version print version number and configuration settings, then exit
4524 -q, --quiet, --silent
4525 do not print progress messages
4526 -d, --debug don't remove temporary files
4527 --recheck update $as_me by reconfiguring in the same conditions
4528 --file=FILE[:TEMPLATE]
4529 instantiate the configuration file FILE
4531 Configuration files:
4534 Configuration commands:
4537 Report bugs to the package provider.
4538 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
4539 General help using GNU software: <http://www.gnu.org/gethelp/>."
4542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4544 GNU C Runtime Library config.status 1.0
4545 configured by $0, generated by GNU Autoconf 2.64,
4546 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4548 Copyright (C) 2009 Free Software Foundation, Inc.
4549 This config.status script is free software; the Free Software Foundation
4550 gives unlimited permission to copy, distribute and modify it."
4556 test -n "\$AWK" || AWK=awk
4559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4560 # The default lists apply if the user does not specify any file.
4566 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4567 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4578 # Handling of the options.
4579 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4581 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4582 $as_echo "$ac_cs_version"; exit ;;
4583 --debug |
--debu |
--deb |
--de |
--d |
-d )
4585 --file |
--fil |
--fi |
--f )
4588 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4590 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4591 ac_need_defaults
=false
;;
4592 --he |
--h |
--help |
--hel |
-h )
4593 $as_echo "$ac_cs_usage"; exit ;;
4594 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4595 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4599 -*) as_fn_error
"unrecognized option: \`$1'
4600 Try \`$0 --help' for more information." ;;
4602 *) as_fn_append ac_config_targets
" $1"
4603 ac_need_defaults
=false
;;
4609 ac_configure_extra_args
=
4611 if $ac_cs_silent; then
4613 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4618 if \$ac_cs_recheck; then
4619 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4621 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4622 CONFIG_SHELL='$SHELL'
4628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4632 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4633 ## Running $as_me. ##
4639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4645 with_target_subdir=${with_target_subdir}
4646 with_multisubdir=${with_multisubdir}
4647 ac_configure_args="--enable-multilib ${ac_configure_args}"
4648 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4649 libgcc_topdir=${libgcc_topdir}
4655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4657 # Handling of arguments.
4658 for ac_config_target
in $ac_config_targets
4660 case $ac_config_target in
4661 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4662 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
4664 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4669 # If the user did not use the arguments to specify the items to instantiate,
4670 # then the envvar interface is used. Set only those that are not.
4671 # We use the long form for the default assignment because of an extremely
4672 # bizarre bug on SunOS 4.1.3.
4673 if $ac_need_defaults; then
4674 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4675 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4678 # Have a temporary directory for convenience. Make it in the build tree
4679 # simply because there is no reason against having it here, and in addition,
4680 # creating and moving files from /tmp can sometimes cause problems.
4681 # Hook for its removal unless debugging.
4682 # Note that there is a small window in which the directory will not be cleaned:
4683 # after its creation but before its name has been assigned to `$tmp'.
4687 trap 'exit_status=$?
4688 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4690 trap 'as_fn_exit 1' 1 2 13 15
4692 # Create a (secure) tmp directory for tmp files.
4695 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4696 test -n "$tmp" && test -d "$tmp"
4699 tmp
=.
/conf$$
-$RANDOM
4700 (umask 077 && mkdir
"$tmp")
4701 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
4703 # Set up the scripts for CONFIG_FILES section.
4704 # No need to generate them if there are no CONFIG_FILES.
4705 # This happens for instance with `./config.status config.h'.
4706 if test -n "$CONFIG_FILES"; then
4709 ac_cr
=`echo X | tr X '\015'`
4710 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4711 # But we know of no other shell where ac_cr would be empty at this
4712 # point, so we can use a bashism as a fallback.
4713 if test "x$ac_cr" = x
; then
4714 eval ac_cr
=\$
\'\\r
\'
4716 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4717 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4723 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4728 echo "cat >conf$$subs.awk <<_ACEOF" &&
4729 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4732 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4733 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4735 for ac_last_try in false false false false false :; do
4736 . ./conf$$subs.sh ||
4737 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4739 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4740 if test $ac_delim_n = $ac_delim_num; then
4742 elif $ac_last_try; then
4743 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4745 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4751 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
4755 s/^/S["/; s
/!.
*/"]=/
4765 s/\(.\{148\}\).*/\1/
4767 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4772 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4779 s/\(.\{148\}\).*/\1/
4781 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4785 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4790 ' <conf$$subs.awk | sed '
4795 ' >>$CONFIG_STATUS || ac_write_fail=1
4796 rm -f conf$$subs.awk
4797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4799 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
4800 for (key in S) S_is_set[key] = 1
4806 nfields = split(line, field, "@
")
4808 len = length(field[1])
4809 for (i = 2; i < nfields; i++) {
4811 keylen = length(key)
4812 if (S_is_set[key]) {
4814 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4815 len += length(value) + length(field[++i])
4826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4827 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4828 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4831 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
4832 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
4835 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4836 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
4837 # trailing colons and then remove the whole line if VPATH becomes empty
4838 # (actually we leave an empty line to preserve line numbers).
4839 if test "x
$srcdir" = x.; then
4840 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4844 s/^\([^=]*=[ ]*\):*/\1/
4850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4851 fi # test -n "$CONFIG_FILES"
4854 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
4859 :[FHLC]) ac_mode=$ac_tag; continue;;
4861 case $ac_mode$ac_tag in
4863 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4864 :[FH]-) ac_tag=-:-;;
4865 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4882 -) ac_f="$tmp/stdin";;
4883 *) # Look for the file first in the build tree, then in the source tree
4884 # (if the path is not absolute). The absolute path cannot be DOS-style,
4885 # because $ac_f cannot contain `:'.
4889 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4891 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4893 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4894 as_fn_append ac_file_inputs " '$ac_f'"
4897 # Let's still pretend it is `configure' which instantiates (i.e., don't
4898 # use $as_me), people would be surprised to read:
4899 # /* config.h. Generated by config.status. */
4900 configure_input='Generated from '`
4901 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4903 if test x"$ac_file" != x-; then
4904 configure_input="$ac_file.
$configure_input"
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4906 $as_echo "$as_me: creating
$ac_file" >&6;}
4908 # Neutralize special characters interpreted by sed in replacement strings.
4909 case $configure_input in #(
4910 *\&* | *\|* | *\\* )
4911 ac_sed_conf_input=`$as_echo "$configure_input" |
4912 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4913 *) ac_sed_conf_input=$configure_input;;
4917 *:-:* | *:-) cat >"$tmp/stdin
" \
4918 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
4923 ac_dir=`$as_dirname -- "$ac_file" ||
4924 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4925 X"$ac_file" : 'X\(//\)[^/]' \| \
4926 X"$ac_file" : 'X\(//\)$' \| \
4927 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4928 $as_echo X"$ac_file" |
4929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4946 as_dir="$ac_dir"; as_fn_mkdir_p
4950 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4952 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4953 # A "..
" for each directory in $ac_dir_suffix.
4954 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4955 case $ac_top_builddir_sub in
4956 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4957 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4960 ac_abs_top_builddir=$ac_pwd
4961 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4962 # for backward compatibility:
4963 ac_top_builddir=$ac_top_build_prefix
4966 .) # We are building in place.
4968 ac_top_srcdir=$ac_top_builddir_sub
4969 ac_abs_top_srcdir=$ac_pwd ;;
4970 [\\/]* | ?:[\\/]* ) # Absolute name.
4971 ac_srcdir=$srcdir$ac_dir_suffix;
4972 ac_top_srcdir=$srcdir
4973 ac_abs_top_srcdir=$srcdir ;;
4975 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4976 ac_top_srcdir=$ac_top_build_prefix$srcdir
4977 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4979 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4989 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4990 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4995 # If the template does not know about datarootdir, expand it.
4996 # FIXME: This hack should be removed a few years after 2.60.
4997 ac_datarootdir_hack=; ac_datarootdir_seen=
5008 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
5009 *datarootdir*) ac_datarootdir_seen=yes;;
5010 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
5012 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
5014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5015 ac_datarootdir_hack='
5016 s&@datadir@&$datadir&g
5017 s&@docdir@&$docdir&g
5018 s&@infodir@&$infodir&g
5019 s&@localedir@&$localedir&g
5020 s&@mandir@&$mandir&g
5021 s&\\\${datarootdir}&$datarootdir&g' ;;
5025 # Neutralize VPATH when `$srcdir' = `.'.
5026 # Shell code in configure.ac might set extrasub.
5027 # FIXME: do we really want to maintain this feature?
5028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5029 ac_sed_extra="$ac_vpsub
5032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5034 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5035 s|@configure_input@|
$ac_sed_conf_input|
;t t
5036 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5037 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5038 s
&@srcdir@
&$ac_srcdir&;t t
5039 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5040 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5041 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5042 s
&@builddir@
&$ac_builddir&;t t
5043 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5044 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5045 s
&@INSTALL@
&$ac_INSTALL&;t t
5046 $ac_datarootdir_hack
5048 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
5049 || as_fn_error "could not create
$ac_file" "$LINENO" 5
5051 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5052 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5053 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5055 which seems to be undefined. Please make sure it is defined." >&5
5056 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5057 which seems to be undefined. Please make sure it is defined." >&2;}
5061 -) cat "$tmp/out" && rm -f "$tmp/out";;
5062 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5064 || as_fn_error "could not create $ac_file" "$LINENO" 5
5068 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5069 $as_echo "$as_me: executing $ac_file commands" >&6;}
5074 case $ac_file$ac_mode in
5075 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
5076 if test -n "$CONFIG_FILES"; then
5077 # FIXME: We shouldn't need to
set ac_file
5079 .
${libgcc_topdir}/config-ml.
in
5088 ac_clean_files
=$ac_clean_files_save
5090 test $ac_write_fail = 0 ||
5091 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
5094 # configure is writing to config.log, and then calls config.status.
5095 # config.status does its own redirection, appending to config.log.
5096 # Unfortunately, on DOS this fails, as config.log is still kept open
5097 # by configure, so config.status won't be able to write to it; its
5098 # output is simply discarded. So we exec the FD to /dev/null,
5099 # effectively closing config.log, so it can be properly (re)opened and
5100 # appended to by config.status. When coming back to configure, we
5101 # need to make the FD available again.
5102 if test "$no_create" != yes; then
5104 ac_config_status_args
=
5105 test "$silent" = yes &&
5106 ac_config_status_args
="$ac_config_status_args --quiet"
5108 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5110 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5111 # would make configure fail if this is the last instruction.
5112 $ac_cs_success || as_fn_exit $?
5114 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5116 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}