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
626 program_transform_name
639 enable_option_checking
644 enable_version_specific_runtime_libs
646 enable_maintainer_mode
651 ac_precious_vars
='build_alias
662 # Initialize some variables set by options.
664 ac_init_version
=false
665 ac_unrecognized_opts
=
667 # The variables have the same names as the options, with
668 # dashes changed to underlines.
676 program_transform_name
=s
,x
,x
,
684 # Installation directory options.
685 # These are left unexpanded so users can "make install exec_prefix=/foo"
686 # and all the variables that are supposed to be based on exec_prefix
687 # by default will actually change.
688 # Use braces instead of parens because sh, perl, etc. also accept them.
689 # (The list follows the same order as the GNU Coding Standards.)
690 bindir
='${exec_prefix}/bin'
691 sbindir
='${exec_prefix}/sbin'
692 libexecdir
='${exec_prefix}/libexec'
693 datarootdir
='${prefix}/share'
694 datadir
='${datarootdir}'
695 sysconfdir
='${prefix}/etc'
696 sharedstatedir
='${prefix}/com'
697 localstatedir
='${prefix}/var'
698 includedir
='${prefix}/include'
699 oldincludedir
='/usr/include'
700 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
701 infodir
='${datarootdir}/info'
706 libdir
='${exec_prefix}/lib'
707 localedir
='${datarootdir}/locale'
708 mandir
='${datarootdir}/man'
714 # If the previous option needs an argument, assign it.
715 if test -n "$ac_prev"; then
716 eval $ac_prev=\
$ac_option
722 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
726 # Accept the important Cygnus configure options, so we can diagnose typos.
728 case $ac_dashdash$ac_option in
732 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
734 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
737 -build |
--build |
--buil |
--bui |
--bu)
738 ac_prev
=build_alias
;;
739 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
740 build_alias
=$ac_optarg ;;
742 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
743 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
744 ac_prev
=cache_file
;;
745 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
746 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
747 cache_file
=$ac_optarg ;;
750 cache_file
=config.cache
;;
752 -datadir |
--datadir |
--datadi |
--datad)
754 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
755 datadir
=$ac_optarg ;;
757 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
758 |
--dataroo |
--dataro |
--datar)
759 ac_prev
=datarootdir
;;
760 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
761 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
762 datarootdir
=$ac_optarg ;;
764 -disable-* |
--disable-*)
765 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
766 # Reject names that are not valid shell variable names.
767 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
768 as_fn_error
"invalid feature name: $ac_useropt"
769 ac_useropt_orig
=$ac_useropt
770 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
771 case $ac_user_opts in
775 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
776 ac_unrecognized_sep
=', ';;
778 eval enable_
$ac_useropt=no
;;
780 -docdir |
--docdir |
--docdi |
--doc |
--do)
782 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
785 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
787 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
790 -enable-* |
--enable-*)
791 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
792 # Reject names that are not valid shell variable names.
793 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
794 as_fn_error
"invalid feature name: $ac_useropt"
795 ac_useropt_orig
=$ac_useropt
796 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
797 case $ac_user_opts in
801 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
802 ac_unrecognized_sep
=', ';;
804 eval enable_
$ac_useropt=\
$ac_optarg ;;
806 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
807 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
808 |
--exec |
--exe |
--ex)
809 ac_prev
=exec_prefix
;;
810 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
811 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
812 |
--exec=* |
--exe=* |
--ex=*)
813 exec_prefix
=$ac_optarg ;;
815 -gas |
--gas |
--ga |
--g)
816 # Obsolete; use --with-gas.
819 -help |
--help |
--hel |
--he |
-h)
821 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
822 ac_init_help
=recursive
;;
823 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
824 ac_init_help
=short
;;
826 -host |
--host |
--hos |
--ho)
827 ac_prev
=host_alias
;;
828 -host=* |
--host=* |
--hos=* |
--ho=*)
829 host_alias
=$ac_optarg ;;
831 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
833 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
835 htmldir
=$ac_optarg ;;
837 -includedir |
--includedir |
--includedi |
--included |
--include \
838 |
--includ |
--inclu |
--incl |
--inc)
839 ac_prev
=includedir
;;
840 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
841 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
842 includedir
=$ac_optarg ;;
844 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
846 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
847 infodir
=$ac_optarg ;;
849 -libdir |
--libdir |
--libdi |
--libd)
851 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
854 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
855 |
--libexe |
--libex |
--libe)
856 ac_prev
=libexecdir
;;
857 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
858 |
--libexe=* |
--libex=* |
--libe=*)
859 libexecdir
=$ac_optarg ;;
861 -localedir |
--localedir |
--localedi |
--localed |
--locale)
863 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
864 localedir
=$ac_optarg ;;
866 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
867 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
868 ac_prev
=localstatedir
;;
869 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
870 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
871 localstatedir
=$ac_optarg ;;
873 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
875 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
879 # Obsolete; use --without-fp.
882 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
883 |
--no-cr |
--no-c |
-n)
886 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
887 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
890 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
891 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
892 |
--oldin |
--oldi |
--old |
--ol |
--o)
893 ac_prev
=oldincludedir
;;
894 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
895 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
896 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
897 oldincludedir
=$ac_optarg ;;
899 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
901 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
904 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
905 |
--program-pre |
--program-pr |
--program-p)
906 ac_prev
=program_prefix
;;
907 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
908 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
909 program_prefix
=$ac_optarg ;;
911 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
912 |
--program-suf |
--program-su |
--program-s)
913 ac_prev
=program_suffix
;;
914 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
915 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
916 program_suffix
=$ac_optarg ;;
918 -program-transform-name |
--program-transform-name \
919 |
--program-transform-nam |
--program-transform-na \
920 |
--program-transform-n |
--program-transform- \
921 |
--program-transform |
--program-transfor \
922 |
--program-transfo |
--program-transf \
923 |
--program-trans |
--program-tran \
924 |
--progr-tra |
--program-tr |
--program-t)
925 ac_prev
=program_transform_name
;;
926 -program-transform-name=* |
--program-transform-name=* \
927 |
--program-transform-nam=* |
--program-transform-na=* \
928 |
--program-transform-n=* |
--program-transform-=* \
929 |
--program-transform=* |
--program-transfor=* \
930 |
--program-transfo=* |
--program-transf=* \
931 |
--program-trans=* |
--program-tran=* \
932 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
933 program_transform_name
=$ac_optarg ;;
935 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
937 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
940 -psdir |
--psdir |
--psdi |
--psd |
--ps)
942 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
945 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
946 |
-silent |
--silent |
--silen |
--sile |
--sil)
949 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
951 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
953 sbindir
=$ac_optarg ;;
955 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
956 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
957 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
959 ac_prev
=sharedstatedir
;;
960 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
961 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
962 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
964 sharedstatedir
=$ac_optarg ;;
966 -site |
--site |
--sit)
968 -site=* |
--site=* |
--sit=*)
971 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
973 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
976 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
977 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
978 ac_prev
=sysconfdir
;;
979 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
980 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
981 sysconfdir
=$ac_optarg ;;
983 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
984 ac_prev
=target_alias
;;
985 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
986 target_alias
=$ac_optarg ;;
988 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
991 -version |
--version |
--versio |
--versi |
--vers |
-V)
995 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
998 as_fn_error
"invalid package name: $ac_useropt"
999 ac_useropt_orig
=$ac_useropt
1000 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 case $ac_user_opts in
1005 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1006 ac_unrecognized_sep
=', ';;
1008 eval with_
$ac_useropt=\
$ac_optarg ;;
1010 -without-* |
--without-*)
1011 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1012 # Reject names that are not valid shell variable names.
1013 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1014 as_fn_error
"invalid package name: $ac_useropt"
1015 ac_useropt_orig
=$ac_useropt
1016 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1017 case $ac_user_opts in
1021 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1022 ac_unrecognized_sep
=', ';;
1024 eval with_
$ac_useropt=no
;;
1027 # Obsolete; use --with-x.
1030 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1031 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1032 ac_prev
=x_includes
;;
1033 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1034 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1035 x_includes
=$ac_optarg ;;
1037 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1038 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1039 ac_prev
=x_libraries
;;
1040 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1041 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1042 x_libraries
=$ac_optarg ;;
1044 -*) as_fn_error
"unrecognized option: \`$ac_option'
1045 Try \`$0 --help' for more information."
1049 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1050 # Reject names that are not valid shell variable names.
1051 case $ac_envvar in #(
1052 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1053 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1055 eval $ac_envvar=\
$ac_optarg
1056 export $ac_envvar ;;
1059 # FIXME: should be removed in autoconf 3.0.
1060 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1061 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1062 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1063 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1069 if test -n "$ac_prev"; then
1070 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1071 as_fn_error
"missing argument to $ac_option"
1074 if test -n "$ac_unrecognized_opts"; then
1075 case $enable_option_checking in
1077 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1078 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1082 # Check all directory arguments for consistency.
1083 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1084 datadir sysconfdir sharedstatedir localstatedir includedir \
1085 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1086 libdir localedir mandir
1088 eval ac_val
=\$
$ac_var
1089 # Remove trailing slashes.
1092 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1093 eval $ac_var=\
$ac_val;;
1095 # Be sure to have absolute directory names.
1097 [\\/$
]* | ?
:[\\/]* ) continue;;
1098 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1100 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1103 # There might be people who depend on the old broken behavior: `$host'
1104 # used to hold the argument of --host etc.
1105 # FIXME: To remove some day.
1108 target
=$target_alias
1110 # FIXME: To remove some day.
1111 if test "x$host_alias" != x
; then
1112 if test "x$build_alias" = x
; then
1113 cross_compiling
=maybe
1114 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1115 If a cross compiler is detected then cross compile mode will be used." >&2
1116 elif test "x$build_alias" != "x$host_alias"; then
1122 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1124 test "$silent" = yes && exec 6>/dev
/null
1127 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1128 ac_ls_di
=`ls -di .` &&
1129 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1130 as_fn_error
"working directory cannot be determined"
1131 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1132 as_fn_error
"pwd does not report name of working directory"
1135 # Find the source files, if location was not specified.
1136 if test -z "$srcdir"; then
1137 ac_srcdir_defaulted
=yes
1138 # Try the directory containing this script, then the parent directory.
1139 ac_confdir
=`$as_dirname -- "$as_myself" ||
1140 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1141 X"$as_myself" : 'X\(//\)[^/]' \| \
1142 X"$as_myself" : 'X\(//\)$' \| \
1143 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1144 $as_echo X"$as_myself" |
1145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1163 if test ! -r "$srcdir/$ac_unique_file"; then
1167 ac_srcdir_defaulted
=no
1169 if test ! -r "$srcdir/$ac_unique_file"; then
1170 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1171 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1173 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1175 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1177 # When building in place, set srcdir=.
1178 if test "$ac_abs_confdir" = "$ac_pwd"; then
1181 # Remove unnecessary trailing slashes from srcdir.
1182 # Double slashes in file names in object file debugging info
1183 # mess up M-x gdb in Emacs.
1185 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1187 for ac_var
in $ac_precious_vars; do
1188 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1189 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1190 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1191 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1195 # Report the --help message.
1197 if test "$ac_init_help" = "long"; then
1198 # Omit some internal or obsolete options to make the list less imposing.
1199 # This message is too long to be a string in the A/UX 3.1 sh.
1201 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1203 Usage: $0 [OPTION]... [VAR=VALUE]...
1205 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1206 VAR=VALUE. See below for descriptions of some of the useful variables.
1208 Defaults for the options are specified in brackets.
1211 -h, --help display this help and exit
1212 --help=short display options specific to this package
1213 --help=recursive display the short help of all the included packages
1214 -V, --version display version information and exit
1215 -q, --quiet, --silent do not print \`checking...' messages
1216 --cache-file=FILE cache test results in FILE [disabled]
1217 -C, --config-cache alias for \`--cache-file=config.cache'
1218 -n, --no-create do not create output files
1219 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1221 Installation directories:
1222 --prefix=PREFIX install architecture-independent files in PREFIX
1223 [$ac_default_prefix]
1224 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1227 By default, \`make install' will install all the files in
1228 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1229 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1230 for instance \`--prefix=\$HOME'.
1232 For better control, use the options below.
1234 Fine tuning of the installation directories:
1235 --bindir=DIR user executables [EPREFIX/bin]
1236 --sbindir=DIR system admin executables [EPREFIX/sbin]
1237 --libexecdir=DIR program executables [EPREFIX/libexec]
1238 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1239 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1240 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1241 --libdir=DIR object code libraries [EPREFIX/lib]
1242 --includedir=DIR C header files [PREFIX/include]
1243 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1244 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1245 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1246 --infodir=DIR info documentation [DATAROOTDIR/info]
1247 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1248 --mandir=DIR man documentation [DATAROOTDIR/man]
1249 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1250 --htmldir=DIR html documentation [DOCDIR]
1251 --dvidir=DIR dvi documentation [DOCDIR]
1252 --pdfdir=DIR pdf documentation [DOCDIR]
1253 --psdir=DIR ps documentation [DOCDIR]
1259 --build=BUILD configure
for building on BUILD
[guessed
]
1260 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1264 if test -n "$ac_init_help"; then
1265 case $ac_init_help in
1266 short | recursive
) echo "Configuration of GNU C Runtime Library 1.0:";;
1271 --disable-option-checking ignore unrecognized
--enable/--with options
1272 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1273 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1274 --disable-shared don
't provide a shared libgcc
1275 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1276 --enable-maintainer-mode
1277 enable make rules and dependencies not useful (and
1278 sometimes confusing) to the casual installer
1279 --enable-decimal-float={no,yes,bid,dpd}
1280 enable decimal float extension to C. Selecting 'bid
'
1281 or 'dpd
' choses which decimal floating point format
1283 --enable-tls Use thread-local storage [default=yes]
1286 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1287 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1288 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
1289 --with-cross-host=HOST Configuring with a cross compiler
1290 --with-ld arrange to use the specified ld (full pathname)
1291 --with-slibdir=DIR shared libraries in DIR LIBDIR
1292 --with-build-libsubdir=DIR Directory where to find libraries for build system
1294 Some influential environment variables:
1295 CC C compiler command
1296 CFLAGS C compiler flags
1297 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1298 nonstandard directory <lib dir>
1299 LIBS libraries to pass to the linker, e.g. -l<library>
1300 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1301 you have headers in a nonstandard directory <include dir>
1304 Use these variables to override the choices made by `configure' or to
help
1305 it to
find libraries and programs with nonstandard names
/locations.
1307 Report bugs to the package provider.
1308 GNU C Runtime Library home page
: <http
://www.gnu.org
/software
/libgcc
/>.
1309 General
help using GNU software
: <http
://www.gnu.org
/gethelp
/>.
1314 if test "$ac_init_help" = "recursive"; then
1315 # If there are subdirs, report their specific --help.
1316 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1317 test -d "$ac_dir" ||
1318 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1323 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1325 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1326 # A ".." for each directory in $ac_dir_suffix.
1327 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1328 case $ac_top_builddir_sub in
1329 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1330 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1333 ac_abs_top_builddir
=$ac_pwd
1334 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1335 # for backward compatibility:
1336 ac_top_builddir
=$ac_top_build_prefix
1339 .
) # We are building in place.
1341 ac_top_srcdir
=$ac_top_builddir_sub
1342 ac_abs_top_srcdir
=$ac_pwd ;;
1343 [\\/]* | ?
:[\\/]* ) # Absolute name.
1344 ac_srcdir
=$srcdir$ac_dir_suffix;
1345 ac_top_srcdir
=$srcdir
1346 ac_abs_top_srcdir
=$srcdir ;;
1348 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1349 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1350 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1352 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1354 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1355 # Check for guested configure.
1356 if test -f "$ac_srcdir/configure.gnu"; then
1358 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1359 elif test -f "$ac_srcdir/configure"; then
1361 $SHELL "$ac_srcdir/configure" --help=recursive
1363 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1365 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1369 test -n "$ac_init_help" && exit $ac_status
1370 if $ac_init_version; then
1372 GNU C Runtime Library configure
1.0
1373 generated by GNU Autoconf
2.64
1375 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1376 This configure
script is free software
; the Free Software Foundation
1377 gives unlimited permission to copy
, distribute and modify it.
1382 ## ------------------------ ##
1383 ## Autoconf initialization. ##
1384 ## ------------------------ ##
1386 # ac_fn_c_try_compile LINENO
1387 # --------------------------
1388 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1389 ac_fn_c_try_compile
()
1391 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1392 rm -f conftest.
$ac_objext
1393 if { { ac_try
="$ac_compile"
1395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1396 *) ac_try_echo=$ac_try;;
1398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1399 $as_echo "$ac_try_echo"; } >&5
1400 (eval "$ac_compile") 2>conftest.err
1402 if test -s conftest.err; then
1403 grep -v '^ *+' conftest.err >conftest.er1
1404 cat conftest.er1 >&5
1405 mv -f conftest.er1 conftest.err
1407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1408 test $ac_status = 0; } && {
1409 test -z "$ac_c_werror_flag" ||
1410 test ! -s conftest.err
1411 } && test -s conftest.$ac_objext; then :
1414 $as_echo "$as_me: failed program was:" >&5
1415 sed 's/^/| /' conftest.$ac_ext >&5
1419 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1422 } # ac_fn_c_try_compile
1424 # ac_fn_c_try_cpp LINENO
1425 # ----------------------
1426 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1429 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1430 if { { ac_try="$ac_cpp conftest.$ac_ext"
1432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1433 *) ac_try_echo
=$ac_try;;
1435 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1436 $as_echo "$ac_try_echo"; } >&5
1437 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1439 if test -s conftest.err
; then
1440 grep -v '^ *+' conftest.err
>conftest.er1
1441 cat conftest.er1
>&5
1442 mv -f conftest.er1 conftest.err
1444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1445 test $ac_status = 0; } >/dev
/null
&& {
1446 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1447 test ! -s conftest.err
1451 $as_echo "$as_me: failed program was:" >&5
1452 sed 's/^/| /' conftest.
$ac_ext >&5
1456 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1460 cat >config.log
<<_ACEOF
1461 This file contains any messages produced by compilers while
1462 running configure, to aid debugging if configure makes a mistake.
1464 It was created by GNU C Runtime Library $as_me 1.0, which was
1465 generated by GNU Autoconf 2.64. Invocation command line was
1477 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1478 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1479 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1480 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1481 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1483 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1484 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1486 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1487 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1488 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1489 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1490 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1491 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1492 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1500 test -z "$as_dir" && as_dir
=.
1501 $as_echo "PATH: $as_dir"
1517 # Keep a trace of the command line.
1518 # Strip out --no-create and --no-recursion so they do not pile up.
1519 # Strip out --silent because we don't want to record it for future runs.
1520 # Also quote any args containing shell meta-characters.
1521 # Make two passes to allow for proper duplicate-argument suppression.
1525 ac_must_keep_next
=false
1531 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1532 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1533 |
-silent |
--silent |
--silen |
--sile |
--sil)
1536 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1539 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1541 as_fn_append ac_configure_args1
" '$ac_arg'"
1542 if test $ac_must_keep_next = true
; then
1543 ac_must_keep_next
=false
# Got value, back to normal.
1546 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1547 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1548 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1549 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1550 case "$ac_configure_args0 " in
1551 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1554 -* ) ac_must_keep_next
=true
;;
1557 as_fn_append ac_configure_args
" '$ac_arg'"
1562 { ac_configure_args0
=; unset ac_configure_args0
;}
1563 { ac_configure_args1
=; unset ac_configure_args1
;}
1565 # When interrupted or exit'd, cleanup temporary files, and complete
1566 # config.log. We remove comments because anyway the quotes in there
1567 # would cause problems or look ugly.
1568 # WARNING: Use '\'' to represent an apostrophe within the trap.
1569 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1570 trap 'exit_status=$?
1571 # Save into config.log some information that might help in debugging.
1576 ## ---------------- ##
1577 ## Cache variables. ##
1578 ## ---------------- ##
1581 # The following way of writing the cache mishandles newlines in values,
1583 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1584 eval ac_val=\$$ac_var
1588 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1589 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1592 _ | IFS | as_nl) ;; #(
1593 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1594 *) { eval $ac_var=; unset $ac_var;} ;;
1599 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1600 *${as_nl}ac_space=\ *)
1602 "s/'\''/'\''\\\\'\'''\''/g;
1603 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1606 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1614 ## ----------------- ##
1615 ## Output variables. ##
1616 ## ----------------- ##
1619 for ac_var in $ac_subst_vars
1621 eval ac_val=\$$ac_var
1623 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1625 $as_echo "$ac_var='\''$ac_val'\''"
1629 if test -n "$ac_subst_files"; then
1631 ## ------------------- ##
1632 ## File substitutions. ##
1633 ## ------------------- ##
1636 for ac_var
in $ac_subst_files
1638 eval ac_val
=\$
$ac_var
1640 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1642 $as_echo "$ac_var='\''$ac_val'\''"
1647 if test -s confdefs.h; then
1657 test "$ac_signal" != 0 &&
1658 $as_echo "$as_me: caught signal $ac_signal"
1659 $as_echo "$as_me: exit $exit_status"
1661 rm -f core *.core core.conftest.* &&
1662 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1665 for ac_signal
in 1 2 13 15; do
1666 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1670 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1671 rm -f -r conftest
* confdefs.h
1673 $as_echo "/* confdefs.h */" > confdefs.h
1675 # Predefined preprocessor variables.
1677 cat >>confdefs.h
<<_ACEOF
1678 #define PACKAGE_NAME "$PACKAGE_NAME"
1681 cat >>confdefs.h
<<_ACEOF
1682 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1685 cat >>confdefs.h
<<_ACEOF
1686 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1689 cat >>confdefs.h
<<_ACEOF
1690 #define PACKAGE_STRING "$PACKAGE_STRING"
1693 cat >>confdefs.h
<<_ACEOF
1694 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1697 cat >>confdefs.h
<<_ACEOF
1698 #define PACKAGE_URL "$PACKAGE_URL"
1702 # Let the site file select an alternate cache file if it wants to.
1703 # Prefer an explicitly selected file to automatically selected ones.
1706 if test -n "$CONFIG_SITE"; then
1707 ac_site_file1
=$CONFIG_SITE
1708 elif test "x$prefix" != xNONE
; then
1709 ac_site_file1
=$prefix/share
/config.site
1710 ac_site_file2
=$prefix/etc
/config.site
1712 ac_site_file1
=$ac_default_prefix/share
/config.site
1713 ac_site_file2
=$ac_default_prefix/etc
/config.site
1715 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1717 test "x$ac_site_file" = xNONE
&& continue
1718 if test -r "$ac_site_file"; then
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1720 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1721 sed 's/^/| /' "$ac_site_file" >&5
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special
1728 # files actually), so we avoid doing that.
1729 if test -f "$cache_file"; then
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1731 $as_echo "$as_me: loading cache $cache_file" >&6;}
1733 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1734 *) .
"./$cache_file";;
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1739 $as_echo "$as_me: creating cache $cache_file" >&6;}
1743 # Check that the precious variables saved in the cache have kept the same
1745 ac_cache_corrupted
=false
1746 for ac_var
in $ac_precious_vars; do
1747 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1748 eval ac_new_set
=\
$ac_env_${ac_var}_set
1749 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1750 eval ac_new_val
=\
$ac_env_${ac_var}_value
1751 case $ac_old_set,$ac_new_set in
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1754 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1755 ac_cache_corrupted
=: ;;
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1758 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1759 ac_cache_corrupted
=: ;;
1762 if test "x$ac_old_val" != "x$ac_new_val"; then
1763 # differences in whitespace do not lead to failure.
1764 ac_old_val_w
=`echo x $ac_old_val`
1765 ac_new_val_w
=`echo x $ac_new_val`
1766 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1768 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1769 ac_cache_corrupted
=:
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1772 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1773 eval $ac_var=\
$ac_old_val
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1776 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1778 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1781 # Pass precious variables to config.status.
1782 if test "$ac_new_set" = set; then
1784 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1785 *) ac_arg
=$ac_var=$ac_new_val ;;
1787 case " $ac_configure_args " in
1788 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1789 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1793 if $ac_cache_corrupted; then
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1797 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1798 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1800 ## -------------------- ##
1801 ## Main body of script. ##
1802 ## -------------------- ##
1805 ac_cpp
='$CPP $CPPFLAGS'
1806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1817 # Check whether --with-target-subdir was given.
1818 if test "${with_target_subdir+set}" = set; then :
1819 withval
=$with_target_subdir;
1823 # Check whether --with-cross-host was given.
1824 if test "${with_cross_host+set}" = set; then :
1825 withval
=$with_cross_host;
1829 # Check whether --with-ld was given.
1830 if test "${with_ld+set}" = set; then :
1835 if test "${srcdir}" = "."; then
1836 if test -n "${with_build_subdir}"; then
1837 libgcc_topdir
="${srcdir}/../.."
1839 elif test -z "${with_target_subdir}"; then
1840 libgcc_topdir
="${srcdir}/.."
1842 if test "${with_target_subdir}" != "."; then
1843 libgcc_topdir
="${srcdir}/${with_multisrctop}../.."
1845 libgcc_topdir
="${srcdir}/${with_multisrctop}.."
1849 libgcc_topdir
="${srcdir}/.."
1853 for ac_dir
in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
1854 for ac_t
in install-sh
install.sh shtool
; do
1855 if test -f "$ac_dir/$ac_t"; then
1857 ac_install_sh
="$ac_aux_dir/$ac_t -c"
1862 if test -z "$ac_aux_dir"; then
1863 as_fn_error
"cannot find install-sh, install.sh, or shtool in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" "$LINENO" 5
1866 # These three variables are undocumented and unsupported,
1867 # and are intended to be withdrawn in a future Autoconf release.
1868 # They can cause serious problems if a builder's source tree is in a directory
1869 # whose full name contains unusual characters.
1870 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1871 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1872 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1876 # Check whether --enable-shared was given.
1877 if test "${enable_shared+set}" = set; then :
1878 enableval
=$enable_shared;
1879 case $enable_shared in
1883 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1884 for pkg
in $enableval; do
1885 if test "X$pkg" = "Xgcc" ||
test "X$pkg" = "Xlibgcc"; then
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
1900 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
1901 # Check whether --enable-version-specific-runtime-libs was given.
1902 if test "${enable_version_specific_runtime_libs+set}" = set; then :
1903 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
1904 yes) version_specific_libs
=yes ;;
1905 no
) version_specific_libs
=no
;;
1906 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
1909 version_specific_libs
=no
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
1913 $as_echo "$version_specific_libs" >&6; }
1916 # Check whether --with-slibdir was given.
1917 if test "${with_slibdir+set}" = set; then :
1918 withval
=$with_slibdir; slibdir
="$with_slibdir"
1920 if test "${version_specific_libs}" = yes; then
1921 slibdir
='$(libsubdir)'
1922 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
1923 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
1931 # Command-line options.
1932 # Very limited version of AC_MAINTAINER_MODE.
1933 # Check whether --enable-maintainer-mode was given.
1934 if test "${enable_maintainer_mode+set}" = set; then :
1935 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
1938 *) as_fn_error
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
1940 maintainer_mode
=${enableval}
1946 # Find a good install program. We prefer a C program (faster),
1947 # so one script is as good as another. But avoid the broken or
1948 # incompatible versions:
1949 # SysV /etc/install, /usr/sbin/install
1950 # SunOS /usr/etc/install
1951 # IRIX /sbin/install
1953 # AmigaOS /C/install, which installs bootblocks on floppy discs
1954 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1955 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1956 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1957 # OS/2's system install, which has a completely different semantic
1958 # ./install, which can be erroneously created by make from ./install.sh.
1959 # Reject install programs that cannot install multiple files.
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1961 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1962 if test -z "$INSTALL"; then
1963 if test "${ac_cv_path_install+set}" = set; then :
1964 $as_echo_n "(cached) " >&6
1966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1970 test -z "$as_dir" && as_dir
=.
1971 # Account for people who put trailing slashes in PATH elements.
1972 case $as_dir/ in #((
1973 .
/ | .
// |
/[cC
]/* | \
1974 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1975 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
1978 # OSF1 and SCO ODT 3.0 have their own names for install.
1979 # Don't use installbsd from OSF since it installs stuff as root
1981 for ac_prog
in ginstall scoinst
install; do
1982 for ac_exec_ext
in '' $ac_executable_extensions; do
1983 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1984 if test $ac_prog = install &&
1985 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1986 # AIX install. It has an incompatible calling convention.
1988 elif test $ac_prog = install &&
1989 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1990 # program-specific install script used by HP pwplus--don't use.
1993 rm -rf conftest.one conftest.two conftest.dir
1994 echo one
> conftest.one
1995 echo two
> conftest.two
1997 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1998 test -s conftest.one
&& test -s conftest.two
&&
1999 test -s conftest.dir
/conftest.one
&&
2000 test -s conftest.dir
/conftest.two
2002 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2015 rm -rf conftest.one conftest.two conftest.dir
2018 if test "${ac_cv_path_install+set}" = set; then
2019 INSTALL
=$ac_cv_path_install
2021 # As a last resort, use the slow shell script. Don't cache a
2022 # value for INSTALL within a source directory, because that will
2023 # break other packages using the cache if that directory is
2024 # removed, or if the value is a relative name.
2025 INSTALL
=$ac_install_sh
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2029 $as_echo "$INSTALL" >&6; }
2031 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2032 # It thinks the first close brace ends the variable substitution.
2033 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2035 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2037 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2040 for ac_prog
in gawk mawk nawk
awk
2042 # Extract the first word of "$ac_prog", so it can be a program name with args.
2043 set dummy
$ac_prog; ac_word
=$2
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2045 $as_echo_n "checking for $ac_word... " >&6; }
2046 if test "${ac_cv_prog_AWK+set}" = set; then :
2047 $as_echo_n "(cached) " >&6
2049 if test -n "$AWK"; then
2050 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2056 test -z "$as_dir" && as_dir
=.
2057 for ac_exec_ext
in '' $ac_executable_extensions; do
2058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2059 ac_cv_prog_AWK
="$ac_prog"
2060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2070 if test -n "$AWK"; then
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2072 $as_echo "$AWK" >&6; }
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2075 $as_echo "no" >&6; }
2079 test -n "$AWK" && break
2082 # We need awk; bail out if it's missing.
2084 "") as_fn_error
"can't build without awk, bailing out" "$LINENO" 5 ;;
2087 # Make sure we can run config.sub.
2088 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2089 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2092 $as_echo_n "checking build system type... " >&6; }
2093 if test "${ac_cv_build+set}" = set; then :
2094 $as_echo_n "(cached) " >&6
2096 ac_build_alias
=$build_alias
2097 test "x$ac_build_alias" = x
&&
2098 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2099 test "x$ac_build_alias" = x
&&
2100 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2101 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2102 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2106 $as_echo "$ac_cv_build" >&6; }
2107 case $ac_cv_build in
2109 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2112 ac_save_IFS
=$IFS; IFS
='-'
2118 # Remember, the first character of IFS is used to create $*,
2119 # except with old shells:
2122 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2126 $as_echo_n "checking host system type... " >&6; }
2127 if test "${ac_cv_host+set}" = set; then :
2128 $as_echo_n "(cached) " >&6
2130 if test "x$host_alias" = x
; then
2131 ac_cv_host
=$ac_cv_build
2133 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2134 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2139 $as_echo "$ac_cv_host" >&6; }
2142 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2145 ac_save_IFS
=$IFS; IFS
='-'
2151 # Remember, the first character of IFS is used to create $*,
2152 # except with old shells:
2155 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2158 case ${build_alias} in
2159 "") build_noncanonical
=${build} ;;
2160 *) build_noncanonical
=${build_alias} ;;
2163 case ${host_alias} in
2164 "") host_noncanonical
=${build_noncanonical} ;;
2165 *) host_noncanonical
=${host_alias} ;;
2170 case ${target_alias} in
2171 "") target_noncanonical
=${host_noncanonical} ;;
2172 *) target_noncanonical
=${target_alias} ;;
2176 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2177 # have matching libraries, they should use host libraries: Makefile.tpl
2178 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2179 # However, they still use the build modules, because the corresponding
2180 # host modules (e.g. bison) are only built for the host when bootstrap
2182 # - build_subdir is where we find build modules, and never changes.
2183 # - build_libsubdir is where we find build libraries, and can be overridden.
2185 # Prefix 'build-' so this never conflicts with target_subdir.
2186 build_subdir
="build-${build_noncanonical}"
2188 # Check whether --with-build-libsubdir was given.
2189 if test "${with_build_libsubdir+set}" = set; then :
2190 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2192 build_libsubdir
="$build_subdir"
2195 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2196 if ( test $srcdir = .
&& test -d gcc
) \
2197 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2198 host_subdir
="host-${host_noncanonical}"
2203 target_subdir
=${target_noncanonical}
2206 if test -n "$ac_tool_prefix"; then
2207 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2208 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2210 $as_echo_n "checking for $ac_word... " >&6; }
2211 if test "${ac_cv_prog_AR+set}" = set; then :
2212 $as_echo_n "(cached) " >&6
2214 if test -n "$AR"; then
2215 ac_cv_prog_AR
="$AR" # Let the user override the test.
2217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2221 test -z "$as_dir" && as_dir
=.
2222 for ac_exec_ext
in '' $ac_executable_extensions; do
2223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2224 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2235 if test -n "$AR"; then
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2237 $as_echo "$AR" >&6; }
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2240 $as_echo "no" >&6; }
2245 if test -z "$ac_cv_prog_AR"; then
2247 # Extract the first word of "ar", so it can be a program name with args.
2248 set dummy
ar; ac_word
=$2
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2250 $as_echo_n "checking for $ac_word... " >&6; }
2251 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2252 $as_echo_n "(cached) " >&6
2254 if test -n "$ac_ct_AR"; then
2255 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2261 test -z "$as_dir" && as_dir
=.
2262 for ac_exec_ext
in '' $ac_executable_extensions; do
2263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2264 ac_cv_prog_ac_ct_AR
="ar"
2265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2275 if test -n "$ac_ct_AR"; then
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2277 $as_echo "$ac_ct_AR" >&6; }
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2280 $as_echo "no" >&6; }
2283 if test "x$ac_ct_AR" = x
; then
2286 case $cross_compiling:$ac_tool_warned in
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2290 ac_tool_warned
=yes ;;
2298 if test -n "$ac_tool_prefix"; then
2299 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2300 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2302 $as_echo_n "checking for $ac_word... " >&6; }
2303 if test "${ac_cv_prog_LIPO+set}" = set; then :
2304 $as_echo_n "(cached) " >&6
2306 if test -n "$LIPO"; then
2307 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
2309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2313 test -z "$as_dir" && as_dir
=.
2314 for ac_exec_ext
in '' $ac_executable_extensions; do
2315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2316 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
2317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 LIPO
=$ac_cv_prog_LIPO
2327 if test -n "$LIPO"; then
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
2329 $as_echo "$LIPO" >&6; }
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2332 $as_echo "no" >&6; }
2337 if test -z "$ac_cv_prog_LIPO"; then
2339 # Extract the first word of "lipo", so it can be a program name with args.
2340 set dummy lipo
; ac_word
=$2
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2342 $as_echo_n "checking for $ac_word... " >&6; }
2343 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
2344 $as_echo_n "(cached) " >&6
2346 if test -n "$ac_ct_LIPO"; then
2347 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
2349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2353 test -z "$as_dir" && as_dir
=.
2354 for ac_exec_ext
in '' $ac_executable_extensions; do
2355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2356 ac_cv_prog_ac_ct_LIPO
="lipo"
2357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2366 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
2367 if test -n "$ac_ct_LIPO"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
2369 $as_echo "$ac_ct_LIPO" >&6; }
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2372 $as_echo "no" >&6; }
2375 if test "x$ac_ct_LIPO" = x
; then
2378 case $cross_compiling:$ac_tool_warned in
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2382 ac_tool_warned
=yes ;;
2387 LIPO
="$ac_cv_prog_LIPO"
2390 if test -n "$ac_tool_prefix"; then
2391 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2392 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2394 $as_echo_n "checking for $ac_word... " >&6; }
2395 if test "${ac_cv_prog_NM+set}" = set; then :
2396 $as_echo_n "(cached) " >&6
2398 if test -n "$NM"; then
2399 ac_cv_prog_NM
="$NM" # Let the user override the test.
2401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2405 test -z "$as_dir" && as_dir
=.
2406 for ac_exec_ext
in '' $ac_executable_extensions; do
2407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2408 ac_cv_prog_NM
="${ac_tool_prefix}nm"
2409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 if test -n "$NM"; then
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
2421 $as_echo "$NM" >&6; }
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2424 $as_echo "no" >&6; }
2429 if test -z "$ac_cv_prog_NM"; then
2431 # Extract the first word of "nm", so it can be a program name with args.
2432 set dummy nm
; ac_word
=$2
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2434 $as_echo_n "checking for $ac_word... " >&6; }
2435 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
2436 $as_echo_n "(cached) " >&6
2438 if test -n "$ac_ct_NM"; then
2439 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
2441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2445 test -z "$as_dir" && as_dir
=.
2446 for ac_exec_ext
in '' $ac_executable_extensions; do
2447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2448 ac_cv_prog_ac_ct_NM
="nm"
2449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2458 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
2459 if test -n "$ac_ct_NM"; then
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
2461 $as_echo "$ac_ct_NM" >&6; }
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2464 $as_echo "no" >&6; }
2467 if test "x$ac_ct_NM" = x
; then
2470 case $cross_compiling:$ac_tool_warned in
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2474 ac_tool_warned
=yes ;;
2482 if test -n "$ac_tool_prefix"; then
2483 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2484 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2486 $as_echo_n "checking for $ac_word... " >&6; }
2487 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2488 $as_echo_n "(cached) " >&6
2490 if test -n "$RANLIB"; then
2491 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2497 test -z "$as_dir" && as_dir
=.
2498 for ac_exec_ext
in '' $ac_executable_extensions; do
2499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2500 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 RANLIB
=$ac_cv_prog_RANLIB
2511 if test -n "$RANLIB"; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2513 $as_echo "$RANLIB" >&6; }
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2516 $as_echo "no" >&6; }
2521 if test -z "$ac_cv_prog_RANLIB"; then
2522 ac_ct_RANLIB
=$RANLIB
2523 # Extract the first word of "ranlib", so it can be a program name with args.
2524 set dummy ranlib
; ac_word
=$2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2528 $as_echo_n "(cached) " >&6
2530 if test -n "$ac_ct_RANLIB"; then
2531 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir
=.
2538 for ac_exec_ext
in '' $ac_executable_extensions; do
2539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2540 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2551 if test -n "$ac_ct_RANLIB"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2553 $as_echo "$ac_ct_RANLIB" >&6; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 $as_echo "no" >&6; }
2559 if test "x$ac_ct_RANLIB" = x
; then
2562 case $cross_compiling:$ac_tool_warned in
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2566 ac_tool_warned
=yes ;;
2568 RANLIB
=$ac_ct_RANLIB
2571 RANLIB
="$ac_cv_prog_RANLIB"
2574 if test -n "$ac_tool_prefix"; then
2575 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2576 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2578 $as_echo_n "checking for $ac_word... " >&6; }
2579 if test "${ac_cv_prog_STRIP+set}" = set; then :
2580 $as_echo_n "(cached) " >&6
2582 if test -n "$STRIP"; then
2583 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2589 test -z "$as_dir" && as_dir
=.
2590 for ac_exec_ext
in '' $ac_executable_extensions; do
2591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2592 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2602 STRIP
=$ac_cv_prog_STRIP
2603 if test -n "$STRIP"; then
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2605 $as_echo "$STRIP" >&6; }
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2608 $as_echo "no" >&6; }
2613 if test -z "$ac_cv_prog_STRIP"; then
2615 # Extract the first word of "strip", so it can be a program name with args.
2616 set dummy strip
; ac_word
=$2
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2618 $as_echo_n "checking for $ac_word... " >&6; }
2619 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2620 $as_echo_n "(cached) " >&6
2622 if test -n "$ac_ct_STRIP"; then
2623 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2629 test -z "$as_dir" && as_dir
=.
2630 for ac_exec_ext
in '' $ac_executable_extensions; do
2631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2632 ac_cv_prog_ac_ct_STRIP
="strip"
2633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2642 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2643 if test -n "$ac_ct_STRIP"; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2645 $as_echo "$ac_ct_STRIP" >&6; }
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2648 $as_echo "no" >&6; }
2651 if test "x$ac_ct_STRIP" = x
; then
2654 case $cross_compiling:$ac_tool_warned in
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2658 ac_tool_warned
=yes ;;
2663 STRIP
="$ac_cv_prog_STRIP"
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2667 $as_echo_n "checking whether ln -s works... " >&6; }
2669 if test "$LN_S" = "ln -s"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2671 $as_echo "yes" >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2674 $as_echo "no, using $LN_S" >&6; }
2680 ac_cpp
='$CPP $CPPFLAGS'
2681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2684 if test -n "$ac_tool_prefix"; then
2685 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2686 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2688 $as_echo_n "checking for $ac_word... " >&6; }
2689 if test "${ac_cv_prog_CC+set}" = set; then :
2690 $as_echo_n "(cached) " >&6
2692 if test -n "$CC"; then
2693 ac_cv_prog_CC
="$CC" # Let the user override the test.
2695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2699 test -z "$as_dir" && as_dir
=.
2700 for ac_exec_ext
in '' $ac_executable_extensions; do
2701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2702 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713 if test -n "$CC"; then
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2715 $as_echo "$CC" >&6; }
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2718 $as_echo "no" >&6; }
2723 if test -z "$ac_cv_prog_CC"; then
2725 # Extract the first word of "gcc", so it can be a program name with args.
2726 set dummy gcc
; ac_word
=$2
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2728 $as_echo_n "checking for $ac_word... " >&6; }
2729 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2730 $as_echo_n "(cached) " >&6
2732 if test -n "$ac_ct_CC"; then
2733 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2739 test -z "$as_dir" && as_dir
=.
2740 for ac_exec_ext
in '' $ac_executable_extensions; do
2741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2742 ac_cv_prog_ac_ct_CC
="gcc"
2743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2753 if test -n "$ac_ct_CC"; then
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2755 $as_echo "$ac_ct_CC" >&6; }
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2758 $as_echo "no" >&6; }
2761 if test "x$ac_ct_CC" = x
; then
2764 case $cross_compiling:$ac_tool_warned in
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2768 ac_tool_warned
=yes ;;
2776 if test -z "$CC"; then
2777 if test -n "$ac_tool_prefix"; then
2778 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2779 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781 $as_echo_n "checking for $ac_word... " >&6; }
2782 if test "${ac_cv_prog_CC+set}" = set; then :
2783 $as_echo_n "(cached) " >&6
2785 if test -n "$CC"; then
2786 ac_cv_prog_CC
="$CC" # Let the user override the test.
2788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir
=.
2793 for ac_exec_ext
in '' $ac_executable_extensions; do
2794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806 if test -n "$CC"; then
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2808 $as_echo "$CC" >&6; }
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2817 if test -z "$CC"; then
2818 # Extract the first word of "cc", so it can be a program name with args.
2819 set dummy cc
; ac_word
=$2
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2821 $as_echo_n "checking for $ac_word... " >&6; }
2822 if test "${ac_cv_prog_CC+set}" = set; then :
2823 $as_echo_n "(cached) " >&6
2825 if test -n "$CC"; then
2826 ac_cv_prog_CC
="$CC" # Let the user override the test.
2829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2833 test -z "$as_dir" && as_dir
=.
2834 for ac_exec_ext
in '' $ac_executable_extensions; do
2835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2836 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2837 ac_prog_rejected
=yes
2841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 if test $ac_prog_rejected = yes; then
2849 # We found a bogon in the path, so make sure we never use it.
2850 set dummy
$ac_cv_prog_CC
2852 if test $# != 0; then
2853 # We chose a different compiler from the bogus one.
2854 # However, it has the same basename, so the bogon will be chosen
2855 # first if we set CC to just the basename; use the full file name.
2857 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2863 if test -n "$CC"; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2865 $as_echo "$CC" >&6; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2873 if test -z "$CC"; then
2874 if test -n "$ac_tool_prefix"; then
2875 for ac_prog
in cl.exe
2877 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2878 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880 $as_echo_n "checking for $ac_word... " >&6; }
2881 if test "${ac_cv_prog_CC+set}" = set; then :
2882 $as_echo_n "(cached) " >&6
2884 if test -n "$CC"; then
2885 ac_cv_prog_CC
="$CC" # Let the user override the test.
2887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2891 test -z "$as_dir" && as_dir
=.
2892 for ac_exec_ext
in '' $ac_executable_extensions; do
2893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2894 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2905 if test -n "$CC"; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2907 $as_echo "$CC" >&6; }
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910 $as_echo "no" >&6; }
2914 test -n "$CC" && break
2917 if test -z "$CC"; then
2919 for ac_prog
in cl.exe
2921 # Extract the first word of "$ac_prog", so it can be a program name with args.
2922 set dummy
$ac_prog; ac_word
=$2
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2924 $as_echo_n "checking for $ac_word... " >&6; }
2925 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2926 $as_echo_n "(cached) " >&6
2928 if test -n "$ac_ct_CC"; then
2929 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2935 test -z "$as_dir" && as_dir
=.
2936 for ac_exec_ext
in '' $ac_executable_extensions; do
2937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2938 ac_cv_prog_ac_ct_CC
="$ac_prog"
2939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2949 if test -n "$ac_ct_CC"; then
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2951 $as_echo "$ac_ct_CC" >&6; }
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2954 $as_echo "no" >&6; }
2958 test -n "$ac_ct_CC" && break
2961 if test "x$ac_ct_CC" = x
; then
2964 case $cross_compiling:$ac_tool_warned in
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2968 ac_tool_warned
=yes ;;
2977 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2979 as_fn_error
"no acceptable C compiler found in \$PATH
2980 See \`config.log' for more details." "$LINENO" 5; }
2982 # Provide some information about the compiler.
2983 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2986 for ac_option
in --version -v -V -qversion; do
2987 { { ac_try
="$ac_compiler $ac_option >&5"
2989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2990 *) ac_try_echo=$ac_try;;
2992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2993 $as_echo "$ac_try_echo"; } >&5
2994 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2996 if test -s conftest.err; then
2998 ... rest of stderr output deleted ...
2999 10q' conftest.err >conftest.er1
3000 cat conftest.er1 >&5
3001 rm -f conftest.er1 conftest.err
3003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3004 test $ac_status = 0; }
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3020 (eval $ac_link) 2>&5
3022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3023 test $ac_status = 0; }; then :
3028 if test x$gcc_no_link = xyes; then
3029 # Setting cross_compile will disable run tests; it will
3030 # also disable AC_CHECK_FILE but that's generally
3031 # correct if we can't link.
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3046 ac_clean_files_save=$ac_clean_files
3047 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3048 # Try to create an executable without -o first, disregard a.out.
3049 # It will help us diagnose broken compilers, and finding out an intuition
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3052 $as_echo_n "checking for C compiler default output file name... " >&6; }
3053 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3055 # The possible output files:
3056 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3059 for ac_file in $ac_files
3062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3063 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3068 if { { ac_try="$ac_link_default"
3070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3071 *) ac_try_echo
=$ac_try;;
3073 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3074 $as_echo "$ac_try_echo"; } >&5
3075 (eval "$ac_link_default") 2>&5
3077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078 test $ac_status = 0; }; then :
3079 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3080 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3081 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3082 # so that the user can short-circuit this test for compilers unknown to
3084 for ac_file
in $ac_files ''
3086 test -f "$ac_file" ||
continue
3088 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3091 # We found the default executable, but exeext='' is most
3095 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3097 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3099 # We set ac_cv_exeext here because the later test for it is not
3100 # safe: cross compilers may not add the suffix if given an `-o'
3101 # argument, so we may need to know it at that point already.
3102 # Even if this section looks crufty: it has the advantage of
3109 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3115 $as_echo "$ac_file" >&6; }
3116 if test -z "$ac_file"; then :
3117 $as_echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.
$ac_ext >&5
3120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3122 { as_fn_set_status
77
3123 as_fn_error
"C compiler cannot create executables
3124 See \`config.log' for more details." "$LINENO" 5; }; }
3126 ac_exeext
=$ac_cv_exeext
3128 # Check that the compiler produces executables we can run. If not, either
3129 # the compiler is broken, or we cross compile.
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3131 $as_echo_n "checking whether the C compiler works... " >&6; }
3132 # If not cross compiling, check that we can run a simple program.
3133 if test "$cross_compiling" != yes; then
3134 if { ac_try
='./$ac_file'
3135 { { case "(($ac_try" in
3136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3140 $as_echo "$ac_try_echo"; } >&5
3141 (eval "$ac_try") 2>&5
3143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3144 test $ac_status = 0; }; }; then
3147 if test "$cross_compiling" = maybe; then
3150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3152 as_fn_error "cannot run C compiled programs.
3153 If you meant to cross compile
, use \
`--host'.
3154 See \`config.log
' for more details." "$LINENO" 5; }
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3159 $as_echo "yes" >&6; }
3161 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3162 ac_clean_files=$ac_clean_files_save
3163 # Check that the compiler produces executables we can run. If not, either
3164 # the compiler is broken, or we cross compile.
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3166 $as_echo_n "checking whether we are cross compiling... " >&6; }
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3168 $as_echo "$cross_compiling" >&6; }
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3171 $as_echo_n "checking for suffix of executables... " >&6; }
3172 if { { ac_try="$ac_link"
3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3178 $as_echo "$ac_try_echo"; } >&5
3179 (eval "$ac_link") 2>&5
3181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3182 test $ac_status = 0; }; then :
3183 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3184 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3185 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3187 for ac_file
in conftest.exe conftest conftest.
*; do
3188 test -f "$ac_file" ||
continue
3190 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3191 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3199 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3200 See \`config.log' for more details." "$LINENO" 5; }
3202 rm -f conftest
$ac_cv_exeext
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3204 $as_echo "$ac_cv_exeext" >&6; }
3206 rm -f conftest.
$ac_ext
3207 EXEEXT
=$ac_cv_exeext
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3211 $as_echo_n "checking for suffix of object files... " >&6; }
3212 if test "${ac_cv_objext+set}" = set; then :
3213 $as_echo_n "(cached) " >&6
3215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3226 rm -f conftest.o conftest.obj
3227 if { { ac_try
="$ac_compile"
3229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3233 $as_echo "$ac_try_echo"; } >&5
3234 (eval "$ac_compile") 2>&5
3236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3237 test $ac_status = 0; }; then :
3238 for ac_file in conftest.o conftest.obj conftest.*; do
3239 test -f "$ac_file" || continue;
3241 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3242 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3247 $as_echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252 as_fn_error "cannot compute suffix of object files
: cannot compile
3253 See \
`config.log' for more details." "$LINENO" 5; }
3255 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3258 $as_echo "$ac_cv_objext" >&6; }
3259 OBJEXT=$ac_cv_objext
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3262 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3263 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3264 $as_echo_n "(cached) " >&6
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3280 if ac_fn_c_try_compile "$LINENO"; then :
3285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3290 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3291 if test $ac_compiler_gnu = yes; then
3296 ac_test_CFLAGS=${CFLAGS+set}
3297 ac_save_CFLAGS=$CFLAGS
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3299 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3300 if test "${ac_cv_prog_cc_g+set}" = set; then :
3301 $as_echo_n "(cached) " >&6
3303 ac_save_c_werror_flag=$ac_c_werror_flag
3304 ac_c_werror_flag=yes
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3318 if ac_fn_c_try_compile "$LINENO"; then :
3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3333 if ac_fn_c_try_compile "$LINENO"; then :
3336 ac_c_werror_flag=$ac_save_c_werror_flag
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3349 if ac_fn_c_try_compile "$LINENO"; then :
3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3357 ac_c_werror_flag=$ac_save_c_werror_flag
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3360 $as_echo "$ac_cv_prog_cc_g" >&6; }
3361 if test "$ac_test_CFLAGS" = set; then
3362 CFLAGS=$ac_save_CFLAGS
3363 elif test $ac_cv_prog_cc_g = yes; then
3364 if test "$GCC" = yes; then
3370 if test "$GCC" = yes; then
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3377 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3378 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3379 $as_echo_n "(cached) " >&6
3381 ac_cv_prog_cc_c89=no
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3387 #include <sys/types.h>
3388 #include <sys/stat.h>
3389 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3390 struct buf { int x; };
3391 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3392 static char *e (p, i)
3398 static char *f (char * (*g) (char **, int), char **p, ...)
3403 s = g (p, va_arg (v,int));
3408 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3409 function prototypes and stuff, but not '\xHH' hex character constants.
3410 These don't provoke an error unfortunately, instead are silently treated
3411 as 'x'. The following induces an error, until -std is added to get
3412 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3413 array size at least. It's necessary to write '\x00'==0 to get something
3414 that's true only with -std. */
3415 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3417 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3418 inside strings and character constants. */
3420 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3422 int test (int i, double x);
3423 struct s1 {int (*f) (int a);};
3424 struct s2 {int (*f) (double a);};
3425 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3431 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3436 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3437 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3439 CC="$ac_save_CC $ac_arg"
3440 if ac_fn_c_try_compile "$LINENO"; then :
3441 ac_cv_prog_cc_c89=$ac_arg
3443 rm -f core conftest.err conftest.$ac_objext
3444 test "x$ac_cv_prog_cc_c89" != "xno" && break
3446 rm -f conftest.$ac_ext
3451 case "x$ac_cv_prog_cc_c89" in
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3454 $as_echo "none needed" >&6; } ;;
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3457 $as_echo "unsupported" >&6; } ;;
3459 CC="$CC $ac_cv_prog_cc_c89"
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3461 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3463 if test "x$ac_cv_prog_cc_c89" != xno; then :
3468 ac_cpp='$CPP $CPPFLAGS'
3469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3474 ac_cpp='$CPP $CPPFLAGS'
3475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3479 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3480 # On Suns, sometimes $CPP names a directory.
3481 if test -n "$CPP" && test -d "$CPP"; then
3484 if test -z "$CPP"; then
3485 if test "${ac_cv_prog_CPP+set}" = set; then :
3486 $as_echo_n "(cached) " >&6
3488 # Double quotes because CPP needs to be expanded
3489 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3492 for ac_c_preproc_warn_flag in '' yes
3494 # Use a header file that comes with gcc, so configuring glibc
3495 # with a fresh cross-compiler works.
3496 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3497 # <limits.h> exists even on freestanding compilers.
3498 # On the NeXT, cc -E runs the code through the compiler's parser,
3499 # not just through cpp. "Syntax error" is here to catch this case.
3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3501 /* end confdefs.h. */
3503 # include <limits.h>
3505 # include <assert.h>
3509 if ac_fn_c_try_cpp "$LINENO"; then :
3512 # Broken: fails on valid input.
3515 rm -f conftest.err conftest.$ac_ext
3517 # OK, works on sane cases. Now check whether nonexistent headers
3518 # can be detected and how.
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3521 #include <ac_nonexistent.h>
3523 if ac_fn_c_try_cpp "$LINENO"; then :
3524 # Broken: success on invalid input.
3527 # Passes both tests.
3531 rm -f conftest.err conftest.$ac_ext
3534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3535 rm -f conftest.err conftest.
$ac_ext
3536 if $ac_preproc_ok; then :
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3549 $as_echo "$CPP" >&6; }
3551 for ac_c_preproc_warn_flag
in '' yes
3553 # Use a header file that comes with gcc, so configuring glibc
3554 # with a fresh cross-compiler works.
3555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3556 # <limits.h> exists even on freestanding compilers.
3557 # On the NeXT, cc -E runs the code through the compiler's parser,
3558 # not just through cpp. "Syntax error" is here to catch this case.
3559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3560 /* end confdefs.h. */
3562 # include <limits.h>
3564 # include <assert.h>
3568 if ac_fn_c_try_cpp
"$LINENO"; then :
3571 # Broken: fails on valid input.
3574 rm -f conftest.err conftest.
$ac_ext
3576 # OK, works on sane cases. Now check whether nonexistent headers
3577 # can be detected and how.
3578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3580 #include <ac_nonexistent.h>
3582 if ac_fn_c_try_cpp
"$LINENO"; then :
3583 # Broken: success on invalid input.
3586 # Passes both tests.
3590 rm -f conftest.err conftest.
$ac_ext
3593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3594 rm -f conftest.err conftest.
$ac_ext
3595 if $ac_preproc_ok; then :
3598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3600 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3601 See \`config.log' for more details." "$LINENO" 5; }
3605 ac_cpp
='$CPP $CPPFLAGS'
3606 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3607 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3608 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3611 ac_c_preproc_warn_flag
=yes
3613 # Check for decimal float support.
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether decimal floating point is supported" >&5
3616 $as_echo_n "checking whether decimal floating point is supported... " >&6; }
3617 if test "${libgcc_cv_dfp+set}" = set; then :
3618 $as_echo_n "(cached) " >&6
3620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3624 if ac_fn_c_try_compile
"$LINENO"; then :
3629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_dfp" >&5
3632 $as_echo "$libgcc_cv_dfp" >&6; }
3633 decimal_float
=$libgcc_cv_dfp
3636 # Check whether --enable-decimal-float was given.
3637 if test "${enable_decimal_float+set}" = set; then :
3638 enableval
=$enable_decimal_float;
3639 case $enable_decimal_float in
3640 yes | no | bid | dpd
) ;;
3641 *) as_fn_error
"'$enable_decimal_float' is an invalid value for --enable-decimal-float.
3642 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
3648 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux*)
3649 enable_decimal_float
=yes
3652 enable_decimal_float
=no
3659 # x86's use BID format instead of DPD
3660 if test x
$enable_decimal_float = xyes
; then
3662 i?
86*-*-linux* | x86_64
*-*-linux*)
3663 enable_decimal_float
=bid
3666 enable_decimal_float
=dpd
3672 # Check for fixed-point support.
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fixed-point is supported" >&5
3674 $as_echo_n "checking whether fixed-point is supported... " >&6; }
3675 if test "${libgcc_cv_fixed_point+set}" = set; then :
3676 $as_echo_n "(cached) " >&6
3678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3679 /* end confdefs.h. */
3682 if ac_fn_c_try_compile
"$LINENO"; then :
3683 libgcc_cv_fixed_point
=yes
3685 libgcc_cv_fixed_point
=no
3687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_fixed_point" >&5
3690 $as_echo "$libgcc_cv_fixed_point" >&6; }
3691 fixed_point
=$libgcc_cv_fixed_point
3694 # Check 32bit or 64bit for x86.
3696 i?
86*-*-* | x86_64
*-*-*)
3697 cat > conftest.c
<<EOF
3704 eval `${CC-cc} -E conftest.c | grep host_address=`
3709 # Collect host-machine-specific information.
3710 .
${srcdir}/config.
host
3712 # Check if Solaris/x86 linker supports ZERO terminator unwind entries.
3713 # This is after config.host so we can augment tmake_file.
3714 # Link with -nostartfiles -nodefaultlibs since neither are present while
3717 i?
86-*-solaris2.1
[0-9]*)
3718 cat > conftest.s
<<EOF
3719 .section .eh_frame,"a",@unwind
3721 .section .jcr,"aw",@progbits
3724 if { ac_try
='${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&5'
3725 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3729 test $ac_status = 0; }; }; then
3730 # configure expects config files in libgcc/config, so need a relative
3732 tmake_file
="${tmake_file} ../../gcc/config/i386/t-crtstuff"
3737 # Check for visibility support. This is after config.host so that
3738 # we can check for asm_hidden_op.
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((visibility(\"hidden\")))" >&5
3740 $as_echo_n "checking for __attribute__((visibility(\"hidden\")))... " >&6; }
3741 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then :
3742 $as_echo_n "(cached) " >&6
3745 echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1; }' > conftest.c
3746 libgcc_cv_hidden_visibility_attribute
=no
3747 if { ac_try
='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
3748 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
3751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3752 test $ac_status = 0; }; }; then
3753 if grep "\\$asm_hidden_op.*foo" conftest.s
>/dev
/null
; then
3754 libgcc_cv_hidden_visibility_attribute
=yes
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_hidden_visibility_attribute" >&5
3761 $as_echo "$libgcc_cv_hidden_visibility_attribute" >&6; }
3763 if test $libgcc_cv_hidden_visibility_attribute = yes; then
3764 vis_hide
='-fvisibility=hidden -DHIDE_EXPORTS'
3770 # See if we have thread-local storage. We can only test assembler
3771 # sicne link-time and run-time tests require the newly built
3772 # gcc, which can't be used to build executable due to that libgcc
3773 # is yet to be built here.
3775 # Check whether --enable-tls was given.
3776 if test "${enable_tls+set}" = set; then :
3777 enableval
=$enable_tls;
3778 case "$enableval" in
3780 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target assembler supports thread-local storage" >&5
3789 $as_echo_n "checking whether the target assembler supports thread-local storage... " >&6; }
3790 if test "${gcc_cv_have_cc_tls+set}" = set; then :
3791 $as_echo_n "(cached) " >&6
3794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3796 __thread int a; int b; int main() { return a = b; }
3798 if ac_fn_c_try_compile
"$LINENO"; then :
3799 gcc_cv_have_cc_tls
=yes
3801 gcc_cv_have_cc_tls
=no
3803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_cc_tls" >&5
3807 $as_echo "$gcc_cv_have_cc_tls" >&6; }
3809 if test "$enable_tls $gcc_cv_have_cc_tls" = "yes yes"; then
3810 set_have_cc_tls
="-DHAVE_CC_TLS"
3814 # Conditionalize the makefile for this target machine.
3816 for f
in ${tmake_file}
3818 if test -f ${srcdir}/config
/$f
3820 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
3823 tmake_file
="${tmake_file_}"
3826 # Substitute configuration variables
3830 # We need multilib support.
3831 ac_config_files
="$ac_config_files Makefile"
3833 ac_config_commands
="$ac_config_commands default"
3835 cat >confcache
<<\_ACEOF
3836 # This file is a shell script that caches the results of configure
3837 # tests run on this system so they can be shared between configure
3838 # scripts and configure runs, see configure's option --config-cache.
3839 # It is not useful on other systems. If it contains results you don't
3840 # want to keep, you may remove or edit it.
3842 # config.status only pays attention to the cache file if you give it
3843 # the --recheck option to rerun configure.
3845 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3846 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3851 # The following way of writing the cache mishandles newlines in values,
3852 # but we know of no workaround that is simple, portable, and efficient.
3853 # So, we kill variables containing newlines.
3854 # Ultrix sh set writes to stderr and can't be redirected directly,
3855 # and sets the high bit in the cache file unless we assign to the vars.
3857 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3858 eval ac_val
=\$
$ac_var
3862 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3863 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3866 _ | IFS | as_nl
) ;; #(
3867 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3868 *) { eval $ac_var=; unset $ac_var;} ;;
3874 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3875 *${as_nl}ac_space
=\
*)
3876 # `set' does not quote correctly, so add quotes: double-quote
3877 # substitution turns \\\\ into \\, and sed turns \\ into \.
3880 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3883 # `set' quotes correctly as required by POSIX, so do not add quotes.
3884 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3893 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3895 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3897 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3898 if test -w "$cache_file"; then
3899 test "x$cache_file" != "x/dev/null" &&
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3901 $as_echo "$as_me: updating cache $cache_file" >&6;}
3902 cat confcache
>$cache_file
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3905 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3910 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3911 # Let make expand exec_prefix.
3912 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3914 # Transform confdefs.h into DEFS.
3915 # Protect against shell expansion while executing Makefile rules.
3916 # Protect against Makefile macro expansion.
3918 # If the first sed substitution is executed (which looks for macros that
3919 # take arguments), then branch to the quote section. Otherwise,
3920 # look for a macro that doesn't take arguments.
3930 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3932 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3936 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3949 DEFS
=`sed -n "$ac_script" confdefs.h`
3954 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3955 # 1. Remove the extension, and $U if already installed.
3956 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3957 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3958 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3959 # will be set to the directory where LIBOBJS objects are built.
3960 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3961 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3965 LTLIBOBJS
=$ac_ltlibobjs
3969 : ${CONFIG_STATUS=./config.status}
3971 ac_clean_files_save
=$ac_clean_files
3972 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3974 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3976 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3978 # Generated by $as_me.
3979 # Run this file to recreate the current configuration.
3980 # Compiler output produced by configure, useful for debugging
3981 # configure, is in config.log if it exists.
3987 SHELL=\${CONFIG_SHELL-$SHELL}
3990 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3991 ## -------------------- ##
3992 ## M4sh Initialization. ##
3993 ## -------------------- ##
3995 # Be more Bourne compatible
3996 DUALCASE
=1; export DUALCASE
# for MKS sh
3997 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4000 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4001 # is contrary to our usage. Disable this feature.
4002 alias -g '${1+"$@"}'='"$@"'
4003 setopt NO_GLOB_SUBST
4005 case `(set -o) 2>/dev/null` in #(
4017 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4018 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4019 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4020 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4021 # Prefer a ksh shell builtin over an external printf program on Solaris,
4022 # but without wasting forks for bash or zsh.
4023 if test -z "$BASH_VERSION$ZSH_VERSION" \
4024 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4025 as_echo='print
-r --'
4026 as_echo_n='print
-rn --'
4027 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4028 as_echo='printf %s
\n'
4029 as_echo_n='printf %s
'
4031 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4032 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4033 as_echo_n='/usr
/ucb
/echo -n'
4035 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4036 as_echo_n_body='eval
4040 expr "X$arg" : "X\\(.*\\)$as_nl";
4041 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4043 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4045 export as_echo_n_body
4046 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4049 as_echo='sh
-c $as_echo_body as_echo
'
4052 # The user is always right.
4053 if test "${PATH_SEPARATOR+set}" != set; then
4055 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4056 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4063 # We need space, tab and new line, in precisely that order. Quoting is
4064 # there to prevent editors from complaining about space-tab.
4065 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4066 # splitting by setting IFS to empty value.)
4069 # Find who we are. Look in the path if we contain no directory separator.
4071 *[\\/]* ) as_myself=$0 ;;
4072 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076 test -z "$as_dir" && as_dir=.
4077 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4083 # We did not find ourselves, most probably we were run as `sh COMMAND'
4084 # in which case we are not to be found in the path.
4085 if test "x$as_myself" = x
; then
4088 if test ! -f "$as_myself"; then
4089 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4093 # Unset variables that we do not need and which cause bugs (e.g. in
4094 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4095 # suppresses any "Segmentation fault" message there. '((' could
4096 # trigger a bug in pdksh 5.2.14.
4097 for as_var
in BASH_ENV ENV MAIL MAILPATH
4098 do eval test x\
${$as_var+set} = xset \
4099 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4112 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4115 # as_fn_error ERROR [LINENO LOG_FD]
4116 # ---------------------------------
4117 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4118 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4119 # script with status $?, using 1 if that was 0.
4122 as_status
=$?
; test $as_status -eq 0 && as_status
=1
4124 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4125 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4127 $as_echo "$as_me: error: $1" >&2
4128 as_fn_exit
$as_status
4132 # as_fn_set_status STATUS
4133 # -----------------------
4134 # Set $? to STATUS, without forking.
4138 } # as_fn_set_status
4142 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4152 # Portably unset VAR.
4155 { eval $1=; unset $1;}
4157 as_unset
=as_fn_unset
4158 # as_fn_append VAR VALUE
4159 # ----------------------
4160 # Append the text in VALUE to the end of the definition contained in VAR. Take
4161 # advantage of any shell optimizations that allow amortized linear growth over
4162 # repeated appends, instead of the typical quadratic growth present in naive
4164 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4165 eval 'as_fn_append ()
4176 # as_fn_arith ARG...
4177 # ------------------
4178 # Perform arithmetic evaluation on the ARGs, and store the result in the
4179 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4180 # must be portable across $(()) and expr.
4181 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4182 eval 'as_fn_arith ()
4189 as_val
=`expr "$@" || test $? -eq 1`
4194 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4195 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4201 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4202 as_basename
=basename
4207 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4213 as_me
=`$as_basename -- "$0" ||
4214 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4215 X"$0" : 'X\(//\)$' \| \
4216 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4218 sed '/^.*\/\([^/][^/]*\)\/*$/{
4232 # Avoid depending upon Character Ranges.
4233 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4234 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4235 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4236 as_cr_digits
='0123456789'
4237 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4239 ECHO_C
= ECHO_N
= ECHO_T
=
4240 case `echo -n x` in #(((((
4242 case `echo 'xy\c'` in
4243 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4245 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4252 rm -f conf$$ conf$$.exe conf$$.
file
4253 if test -d conf$$.dir
; then
4254 rm -f conf$$.dir
/conf$$.
file
4257 mkdir conf$$.dir
2>/dev
/null
4259 if (echo >conf$$.
file) 2>/dev
/null
; then
4260 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4262 # ... but there are two gotchas:
4263 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4264 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4265 # In both cases, we have to default to `cp -p'.
4266 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4268 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4276 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4277 rmdir conf$$.dir
2>/dev
/null
4282 # Create "$as_dir" as a directory, including parents if necessary.
4287 -*) as_dir
=.
/$as_dir;;
4289 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4293 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4294 *) as_qdir
=$as_dir;;
4296 as_dirs
="'$as_qdir' $as_dirs"
4297 as_dir
=`$as_dirname -- "$as_dir" ||
4298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4299 X"$as_dir" : 'X\(//\)[^/]' \| \
4300 X"$as_dir" : 'X\(//\)$' \| \
4301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4302 $as_echo X"$as_dir" |
4303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4320 test -d "$as_dir" && break
4322 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4323 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
4327 if mkdir
-p .
2>/dev
/null
; then
4328 as_mkdir_p
='mkdir -p "$as_dir"'
4330 test -d .
/-p && rmdir .
/-p
4334 if test -x / >/dev
/null
2>&1; then
4337 if ls -dL / >/dev
/null
2>&1; then
4344 if test -d "$1"; then
4350 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4351 ???[sx]*):;;*)false;;esac;fi
4355 as_executable_p
=$as_test_x
4357 # Sed expression to map a string onto a valid CPP name.
4358 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4360 # Sed expression to map a string onto a valid variable name.
4361 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4365 ## ----------------------------------- ##
4366 ## Main body of $CONFIG_STATUS script. ##
4367 ## ----------------------------------- ##
4369 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4372 # Save the log message, to keep $0 and so on meaningful, and to
4373 # report actual input values of CONFIG_FILES etc. instead of their
4374 # values after options handling.
4376 This file was extended by GNU C Runtime Library $as_me 1.0, which was
4377 generated by GNU Autoconf 2.64. Invocation command line was
4379 CONFIG_FILES = $CONFIG_FILES
4380 CONFIG_HEADERS = $CONFIG_HEADERS
4381 CONFIG_LINKS = $CONFIG_LINKS
4382 CONFIG_COMMANDS = $CONFIG_COMMANDS
4385 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4390 case $ac_config_files in *"
4391 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4397 # Files that config.status was made for.
4398 config_files="$ac_config_files"
4399 config_commands="$ac_config_commands"
4403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4405 \`$as_me' instantiates files and other configuration actions
4406 from templates according to the current configuration. Unless the files
4407 and actions are specified as TAGs, all are instantiated by default.
4409 Usage: $0 [OPTION]... [TAG]...
4411 -h, --help print this help, then exit
4412 -V, --version print version number and configuration settings, then exit
4413 -q, --quiet, --silent
4414 do not print progress messages
4415 -d, --debug don't remove temporary files
4416 --recheck update $as_me by reconfiguring in the same conditions
4417 --file=FILE[:TEMPLATE]
4418 instantiate the configuration file FILE
4420 Configuration files:
4423 Configuration commands:
4426 Report bugs to the package provider.
4427 GNU C Runtime Library home page: <http://www.gnu.org/software/libgcc/>.
4428 General help using GNU software: <http://www.gnu.org/gethelp/>."
4431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4433 GNU C Runtime Library config.status 1.0
4434 configured by $0, generated by GNU Autoconf 2.64,
4435 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4437 Copyright (C) 2009 Free Software Foundation, Inc.
4438 This config.status script is free software; the Free Software Foundation
4439 gives unlimited permission to copy, distribute and modify it."
4445 test -n "\$AWK" || AWK=awk
4448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4449 # The default lists apply if the user does not specify any file.
4455 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4456 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4467 # Handling of the options.
4468 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4470 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4471 $as_echo "$ac_cs_version"; exit ;;
4472 --debug |
--debu |
--deb |
--de |
--d |
-d )
4474 --file |
--fil |
--fi |
--f )
4477 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4479 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4480 ac_need_defaults
=false
;;
4481 --he |
--h |
--help |
--hel |
-h )
4482 $as_echo "$ac_cs_usage"; exit ;;
4483 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4484 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4488 -*) as_fn_error
"unrecognized option: \`$1'
4489 Try \`$0 --help' for more information." ;;
4491 *) as_fn_append ac_config_targets
" $1"
4492 ac_need_defaults
=false
;;
4498 ac_configure_extra_args
=
4500 if $ac_cs_silent; then
4502 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4507 if \$ac_cs_recheck; then
4508 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4510 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4511 CONFIG_SHELL='$SHELL'
4517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4521 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4522 ## Running $as_me. ##
4528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4534 with_target_subdir=${with_target_subdir}
4535 with_multisubdir=${with_multisubdir}
4536 ac_configure_args="--enable-multilib ${ac_configure_args}"
4537 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4538 libgcc_topdir=${libgcc_topdir}
4544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4546 # Handling of arguments.
4547 for ac_config_target
in $ac_config_targets
4549 case $ac_config_target in
4550 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4551 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
4553 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4558 # If the user did not use the arguments to specify the items to instantiate,
4559 # then the envvar interface is used. Set only those that are not.
4560 # We use the long form for the default assignment because of an extremely
4561 # bizarre bug on SunOS 4.1.3.
4562 if $ac_need_defaults; then
4563 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4564 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4567 # Have a temporary directory for convenience. Make it in the build tree
4568 # simply because there is no reason against having it here, and in addition,
4569 # creating and moving files from /tmp can sometimes cause problems.
4570 # Hook for its removal unless debugging.
4571 # Note that there is a small window in which the directory will not be cleaned:
4572 # after its creation but before its name has been assigned to `$tmp'.
4576 trap 'exit_status=$?
4577 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4579 trap 'as_fn_exit 1' 1 2 13 15
4581 # Create a (secure) tmp directory for tmp files.
4584 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4585 test -n "$tmp" && test -d "$tmp"
4588 tmp
=.
/conf$$
-$RANDOM
4589 (umask 077 && mkdir
"$tmp")
4590 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
4592 # Set up the scripts for CONFIG_FILES section.
4593 # No need to generate them if there are no CONFIG_FILES.
4594 # This happens for instance with `./config.status config.h'.
4595 if test -n "$CONFIG_FILES"; then
4598 ac_cr
=`echo X | tr X '\015'`
4599 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4600 # But we know of no other shell where ac_cr would be empty at this
4601 # point, so we can use a bashism as a fallback.
4602 if test "x$ac_cr" = x
; then
4603 eval ac_cr
=\$
\'\\r
\'
4605 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4606 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4612 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4617 echo "cat >conf$$subs.awk <<_ACEOF" &&
4618 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4621 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4622 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4624 for ac_last_try in false false false false false :; do
4625 . ./conf$$subs.sh ||
4626 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4628 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4629 if test $ac_delim_n = $ac_delim_num; then
4631 elif $ac_last_try; then
4632 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4634 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4640 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
4644 s/^/S["/; s
/!.
*/"]=/
4654 s/\(.\{148\}\).*/\1/
4656 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4661 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4668 s/\(.\{148\}\).*/\1/
4670 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4674 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4679 ' <conf$$subs.awk | sed '
4684 ' >>$CONFIG_STATUS || ac_write_fail=1
4685 rm -f conf$$subs.awk
4686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4688 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
4689 for (key in S) S_is_set[key] = 1
4695 nfields = split(line, field, "@
")
4697 len = length(field[1])
4698 for (i = 2; i < nfields; i++) {
4700 keylen = length(key)
4701 if (S_is_set[key]) {
4703 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4704 len += length(value) + length(field[++i])
4715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4716 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4717 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4720 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
4721 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
4724 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4725 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
4726 # trailing colons and then remove the whole line if VPATH becomes empty
4727 # (actually we leave an empty line to preserve line numbers).
4728 if test "x
$srcdir" = x.; then
4729 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4733 s/^\([^=]*=[ ]*\):*/\1/
4739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4740 fi # test -n "$CONFIG_FILES"
4743 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
4748 :[FHLC]) ac_mode=$ac_tag; continue;;
4750 case $ac_mode$ac_tag in
4752 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4753 :[FH]-) ac_tag=-:-;;
4754 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4771 -) ac_f="$tmp/stdin";;
4772 *) # Look for the file first in the build tree, then in the source tree
4773 # (if the path is not absolute). The absolute path cannot be DOS-style,
4774 # because $ac_f cannot contain `:'.
4778 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4780 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4782 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4783 as_fn_append ac_file_inputs " '$ac_f'"
4786 # Let's still pretend it is `configure' which instantiates (i.e., don't
4787 # use $as_me), people would be surprised to read:
4788 # /* config.h. Generated by config.status. */
4789 configure_input='Generated from '`
4790 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4792 if test x"$ac_file" != x-; then
4793 configure_input="$ac_file.
$configure_input"
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4795 $as_echo "$as_me: creating
$ac_file" >&6;}
4797 # Neutralize special characters interpreted by sed in replacement strings.
4798 case $configure_input in #(
4799 *\&* | *\|* | *\\* )
4800 ac_sed_conf_input=`$as_echo "$configure_input" |
4801 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4802 *) ac_sed_conf_input=$configure_input;;
4806 *:-:* | *:-) cat >"$tmp/stdin
" \
4807 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
4812 ac_dir=`$as_dirname -- "$ac_file" ||
4813 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4814 X"$ac_file" : 'X\(//\)[^/]' \| \
4815 X"$ac_file" : 'X\(//\)$' \| \
4816 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4817 $as_echo X"$ac_file" |
4818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4835 as_dir="$ac_dir"; as_fn_mkdir_p
4839 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4841 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4842 # A "..
" for each directory in $ac_dir_suffix.
4843 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4844 case $ac_top_builddir_sub in
4845 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4846 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4849 ac_abs_top_builddir=$ac_pwd
4850 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4851 # for backward compatibility:
4852 ac_top_builddir=$ac_top_build_prefix
4855 .) # We are building in place.
4857 ac_top_srcdir=$ac_top_builddir_sub
4858 ac_abs_top_srcdir=$ac_pwd ;;
4859 [\\/]* | ?:[\\/]* ) # Absolute name.
4860 ac_srcdir=$srcdir$ac_dir_suffix;
4861 ac_top_srcdir=$srcdir
4862 ac_abs_top_srcdir=$srcdir ;;
4864 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4865 ac_top_srcdir=$ac_top_build_prefix$srcdir
4866 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4868 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4878 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4879 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4884 # If the template does not know about datarootdir, expand it.
4885 # FIXME: This hack should be removed a few years after 2.60.
4886 ac_datarootdir_hack=; ac_datarootdir_seen=
4897 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4898 *datarootdir*) ac_datarootdir_seen=yes;;
4899 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4901 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4904 ac_datarootdir_hack='
4905 s&@datadir@&$datadir&g
4906 s&@docdir@&$docdir&g
4907 s&@infodir@&$infodir&g
4908 s&@localedir@&$localedir&g
4909 s&@mandir@&$mandir&g
4910 s&\\\${datarootdir}&$datarootdir&g' ;;
4914 # Neutralize VPATH when `$srcdir' = `.'.
4915 # Shell code in configure.ac might set extrasub.
4916 # FIXME: do we really want to maintain this feature?
4917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4918 ac_sed_extra="$ac_vpsub
4921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4923 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4924 s|@configure_input@|
$ac_sed_conf_input|
;t t
4925 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4926 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4927 s
&@srcdir@
&$ac_srcdir&;t t
4928 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4929 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4930 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4931 s
&@builddir@
&$ac_builddir&;t t
4932 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4933 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4934 s
&@INSTALL@
&$ac_INSTALL&;t t
4935 $ac_datarootdir_hack
4937 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
4938 || as_fn_error "could not create
$ac_file" "$LINENO" 5
4940 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4941 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
4942 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4944 which seems to be undefined. Please make sure it is defined." >&5
4945 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4946 which seems to be undefined. Please make sure it is defined." >&2;}
4950 -) cat "$tmp/out" && rm -f "$tmp/out";;
4951 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4953 || as_fn_error "could not create $ac_file" "$LINENO" 5
4957 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4958 $as_echo "$as_me: executing $ac_file commands" >&6;}
4963 case $ac_file$ac_mode in
4964 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
4965 if test -n "$CONFIG_FILES"; then
4966 # FIXME: We shouldn't need to
set ac_file
4968 .
${libgcc_topdir}/config-ml.
in
4977 ac_clean_files
=$ac_clean_files_save
4979 test $ac_write_fail = 0 ||
4980 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
4983 # configure is writing to config.log, and then calls config.status.
4984 # config.status does its own redirection, appending to config.log.
4985 # Unfortunately, on DOS this fails, as config.log is still kept open
4986 # by configure, so config.status won't be able to write to it; its
4987 # output is simply discarded. So we exec the FD to /dev/null,
4988 # effectively closing config.log, so it can be properly (re)opened and
4989 # appended to by config.status. When coming back to configure, we
4990 # need to make the FD available again.
4991 if test "$no_create" != yes; then
4993 ac_config_status_args
=
4994 test "$silent" = yes &&
4995 ac_config_status_args
="$ac_config_status_args --quiet"
4997 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4999 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5000 # would make configure fail if this is the last instruction.
5001 $ac_cs_success || as_fn_exit $?
5003 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5005 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}