2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 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 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME
='GNU C Runtime Library'
574 PACKAGE_TARNAME
='libgcc'
575 PACKAGE_VERSION
='1.0'
576 PACKAGE_STRING
='GNU C Runtime Library 1.0'
579 ac_unique_file
="static-object.mk"
589 program_transform_name
659 ac_precious_vars
='build_alias
670 # Initialize some variables set by options.
672 ac_init_version
=false
673 # The variables have the same names as the options, with
674 # dashes changed to underlines.
682 program_transform_name
=s
,x
,x
,
690 # Installation directory options.
691 # These are left unexpanded so users can "make install exec_prefix=/foo"
692 # and all the variables that are supposed to be based on exec_prefix
693 # by default will actually change.
694 # Use braces instead of parens because sh, perl, etc. also accept them.
695 # (The list follows the same order as the GNU Coding Standards.)
696 bindir
='${exec_prefix}/bin'
697 sbindir
='${exec_prefix}/sbin'
698 libexecdir
='${exec_prefix}/libexec'
699 datarootdir
='${prefix}/share'
700 datadir
='${datarootdir}'
701 sysconfdir
='${prefix}/etc'
702 sharedstatedir
='${prefix}/com'
703 localstatedir
='${prefix}/var'
704 includedir
='${prefix}/include'
705 oldincludedir
='/usr/include'
706 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
707 infodir
='${datarootdir}/info'
712 libdir
='${exec_prefix}/lib'
713 localedir
='${datarootdir}/locale'
714 mandir
='${datarootdir}/man'
720 # If the previous option needs an argument, assign it.
721 if test -n "$ac_prev"; then
722 eval $ac_prev=\
$ac_option
728 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
732 # Accept the important Cygnus configure options, so we can diagnose typos.
734 case $ac_dashdash$ac_option in
738 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
740 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
743 -build |
--build |
--buil |
--bui |
--bu)
744 ac_prev
=build_alias
;;
745 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
746 build_alias
=$ac_optarg ;;
748 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
749 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
750 ac_prev
=cache_file
;;
751 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
752 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
753 cache_file
=$ac_optarg ;;
756 cache_file
=config.cache
;;
758 -datadir |
--datadir |
--datadi |
--datad)
760 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
761 datadir
=$ac_optarg ;;
763 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
764 |
--dataroo |
--dataro |
--datar)
765 ac_prev
=datarootdir
;;
766 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
767 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
768 datarootdir
=$ac_optarg ;;
770 -disable-* |
--disable-*)
771 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
772 # Reject names that are not valid shell variable names.
773 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
774 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
775 { (exit 1); exit 1; }; }
776 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
777 eval enable_
$ac_feature=no
;;
779 -docdir |
--docdir |
--docdi |
--doc |
--do)
781 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
784 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
786 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
789 -enable-* |
--enable-*)
790 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
793 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
794 { (exit 1); exit 1; }; }
795 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
796 eval enable_
$ac_feature=\
$ac_optarg ;;
798 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
799 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
800 |
--exec |
--exe |
--ex)
801 ac_prev
=exec_prefix
;;
802 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
803 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
804 |
--exec=* |
--exe=* |
--ex=*)
805 exec_prefix
=$ac_optarg ;;
807 -gas |
--gas |
--ga |
--g)
808 # Obsolete; use --with-gas.
811 -help |
--help |
--hel |
--he |
-h)
813 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
814 ac_init_help
=recursive
;;
815 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
816 ac_init_help
=short
;;
818 -host |
--host |
--hos |
--ho)
819 ac_prev
=host_alias
;;
820 -host=* |
--host=* |
--hos=* |
--ho=*)
821 host_alias
=$ac_optarg ;;
823 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
825 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
827 htmldir
=$ac_optarg ;;
829 -includedir |
--includedir |
--includedi |
--included |
--include \
830 |
--includ |
--inclu |
--incl |
--inc)
831 ac_prev
=includedir
;;
832 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
833 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
834 includedir
=$ac_optarg ;;
836 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
838 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
839 infodir
=$ac_optarg ;;
841 -libdir |
--libdir |
--libdi |
--libd)
843 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
846 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
847 |
--libexe |
--libex |
--libe)
848 ac_prev
=libexecdir
;;
849 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
850 |
--libexe=* |
--libex=* |
--libe=*)
851 libexecdir
=$ac_optarg ;;
853 -localedir |
--localedir |
--localedi |
--localed |
--locale)
855 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
856 localedir
=$ac_optarg ;;
858 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
859 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
860 ac_prev
=localstatedir
;;
861 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
862 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
863 localstatedir
=$ac_optarg ;;
865 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
867 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
871 # Obsolete; use --without-fp.
874 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
875 |
--no-cr |
--no-c |
-n)
878 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
879 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
882 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
883 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
884 |
--oldin |
--oldi |
--old |
--ol |
--o)
885 ac_prev
=oldincludedir
;;
886 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
887 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
888 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
889 oldincludedir
=$ac_optarg ;;
891 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
893 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
896 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
897 |
--program-pre |
--program-pr |
--program-p)
898 ac_prev
=program_prefix
;;
899 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
900 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
901 program_prefix
=$ac_optarg ;;
903 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
904 |
--program-suf |
--program-su |
--program-s)
905 ac_prev
=program_suffix
;;
906 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
907 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
908 program_suffix
=$ac_optarg ;;
910 -program-transform-name |
--program-transform-name \
911 |
--program-transform-nam |
--program-transform-na \
912 |
--program-transform-n |
--program-transform- \
913 |
--program-transform |
--program-transfor \
914 |
--program-transfo |
--program-transf \
915 |
--program-trans |
--program-tran \
916 |
--progr-tra |
--program-tr |
--program-t)
917 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
927 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
929 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
932 -psdir |
--psdir |
--psdi |
--psd |
--ps)
934 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
937 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
938 |
-silent |
--silent |
--silen |
--sile |
--sil)
941 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
943 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
945 sbindir
=$ac_optarg ;;
947 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
948 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
949 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
951 ac_prev
=sharedstatedir
;;
952 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
953 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
954 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
956 sharedstatedir
=$ac_optarg ;;
958 -site |
--site |
--sit)
960 -site=* |
--site=* |
--sit=*)
963 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
965 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
968 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
969 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
970 ac_prev
=sysconfdir
;;
971 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
972 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
973 sysconfdir
=$ac_optarg ;;
975 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
976 ac_prev
=target_alias
;;
977 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
978 target_alias
=$ac_optarg ;;
980 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
983 -version |
--version |
--versio |
--versi |
--vers |
-V)
987 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
990 { echo "$as_me: error: invalid package name: $ac_package" >&2
991 { (exit 1); exit 1; }; }
992 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
993 eval with_
$ac_package=\
$ac_optarg ;;
995 -without-* |
--without-*)
996 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
999 { echo "$as_me: error: invalid package name: $ac_package" >&2
1000 { (exit 1); exit 1; }; }
1001 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1002 eval with_
$ac_package=no
;;
1005 # Obsolete; use --with-x.
1008 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1009 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1010 ac_prev
=x_includes
;;
1011 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1012 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1013 x_includes
=$ac_optarg ;;
1015 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1016 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1017 ac_prev
=x_libraries
;;
1018 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1019 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1020 x_libraries
=$ac_optarg ;;
1022 -*) { echo "$as_me: error: unrecognized option: $ac_option
1023 Try \`$0 --help' for more information." >&2
1024 { (exit 1); exit 1; }; }
1028 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1029 # Reject names that are not valid shell variable names.
1030 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1031 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1032 { (exit 1); exit 1; }; }
1033 eval $ac_envvar=\
$ac_optarg
1034 export $ac_envvar ;;
1037 # FIXME: should be removed in autoconf 3.0.
1038 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1039 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1040 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1041 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1047 if test -n "$ac_prev"; then
1048 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1049 { echo "$as_me: error: missing argument to $ac_option" >&2
1050 { (exit 1); exit 1; }; }
1053 # Be sure to have absolute directory names.
1054 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1055 datadir sysconfdir sharedstatedir localstatedir includedir \
1056 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1057 libdir localedir mandir
1059 eval ac_val
=\$
$ac_var
1061 [\\/$
]* | ?
:[\\/]* ) continue;;
1062 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1064 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1065 { (exit 1); exit 1; }; }
1068 # There might be people who depend on the old broken behavior: `$host'
1069 # used to hold the argument of --host etc.
1070 # FIXME: To remove some day.
1073 target
=$target_alias
1075 # FIXME: To remove some day.
1076 if test "x$host_alias" != x
; then
1077 if test "x$build_alias" = x
; then
1078 cross_compiling
=maybe
1079 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1080 If a cross compiler is detected then cross compile mode will be used." >&2
1081 elif test "x$build_alias" != "x$host_alias"; then
1087 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1089 test "$silent" = yes && exec 6>/dev
/null
1092 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1093 ac_ls_di
=`ls -di .` &&
1094 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1095 { echo "$as_me: error: Working directory cannot be determined" >&2
1096 { (exit 1); exit 1; }; }
1097 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1098 { echo "$as_me: error: pwd does not report name of working directory" >&2
1099 { (exit 1); exit 1; }; }
1102 # Find the source files, if location was not specified.
1103 if test -z "$srcdir"; then
1104 ac_srcdir_defaulted
=yes
1105 # Try the directory containing this script, then the parent directory.
1106 ac_confdir
=`$as_dirname -- "$0" ||
1107 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1108 X"$0" : 'X\(//\)[^/]' \| \
1109 X"$0" : 'X\(//\)$' \| \
1110 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1130 if test ! -r "$srcdir/$ac_unique_file"; then
1134 ac_srcdir_defaulted
=no
1136 if test ! -r "$srcdir/$ac_unique_file"; then
1137 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1138 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1139 { (exit 1); exit 1; }; }
1141 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1143 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1144 { (exit 1); exit 1; }; }
1146 # When building in place, set srcdir=.
1147 if test "$ac_abs_confdir" = "$ac_pwd"; then
1150 # Remove unnecessary trailing slashes from srcdir.
1151 # Double slashes in file names in object file debugging info
1152 # mess up M-x gdb in Emacs.
1154 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1156 for ac_var
in $ac_precious_vars; do
1157 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1158 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1159 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1160 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1164 # Report the --help message.
1166 if test "$ac_init_help" = "long"; then
1167 # Omit some internal or obsolete options to make the list less imposing.
1168 # This message is too long to be a string in the A/UX 3.1 sh.
1170 \`configure' configures GNU C Runtime Library 1.0 to adapt to many kinds of systems.
1172 Usage: $0 [OPTION]... [VAR=VALUE]...
1174 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1175 VAR=VALUE. See below for descriptions of some of the useful variables.
1177 Defaults for the options are specified in brackets.
1180 -h, --help display this help and exit
1181 --help=short display options specific to this package
1182 --help=recursive display the short help of all the included packages
1183 -V, --version display version information and exit
1184 -q, --quiet, --silent do not print \`checking...' messages
1185 --cache-file=FILE cache test results in FILE [disabled]
1186 -C, --config-cache alias for \`--cache-file=config.cache'
1187 -n, --no-create do not create output files
1188 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1190 Installation directories:
1191 --prefix=PREFIX install architecture-independent files in PREFIX
1192 [$ac_default_prefix]
1193 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1196 By default, \`make install' will install all the files in
1197 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1198 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1199 for instance \`--prefix=\$HOME'.
1201 For better control, use the options below.
1203 Fine tuning of the installation directories:
1204 --bindir=DIR user executables [EPREFIX/bin]
1205 --sbindir=DIR system admin executables [EPREFIX/sbin]
1206 --libexecdir=DIR program executables [EPREFIX/libexec]
1207 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1208 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1209 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1210 --libdir=DIR object code libraries [EPREFIX/lib]
1211 --includedir=DIR C header files [PREFIX/include]
1212 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1213 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1214 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1215 --infodir=DIR info documentation [DATAROOTDIR/info]
1216 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1217 --mandir=DIR man documentation [DATAROOTDIR/man]
1218 --docdir=DIR documentation root [DATAROOTDIR/doc/libgcc]
1219 --htmldir=DIR html documentation [DOCDIR]
1220 --dvidir=DIR dvi documentation [DOCDIR]
1221 --pdfdir=DIR pdf documentation [DOCDIR]
1222 --psdir=DIR ps documentation [DOCDIR]
1228 --build=BUILD configure
for building on BUILD
[guessed
]
1229 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1233 if test -n "$ac_init_help"; then
1234 case $ac_init_help in
1235 short | recursive
) echo "Configuration of GNU C Runtime Library 1.0:";;
1240 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1241 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1242 --disable-shared don
't provide a shared libgcc
1245 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1246 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1247 --with-target-subdir=SUBDIR Configuring in a subdirectory for target
1248 --with-cross-host=HOST Configuring with a cross compiler
1249 --with-ld arrange to use the specified ld (full pathname)
1250 --with-slibdir=DIR shared libraries in DIR LIBDIR
1251 --with-build-libsubdir=DIR Directory where to find libraries for build system
1253 Some influential environment variables:
1254 CC C compiler command
1255 CFLAGS C compiler flags
1256 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1257 nonstandard directory <lib dir>
1258 LIBS libraries to pass to the linker, e.g. -l<library>
1259 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1260 you have headers in a nonstandard directory <include dir>
1263 Use these variables to override the choices made by `configure' or to
help
1264 it to
find libraries and programs with nonstandard names
/locations.
1270 if test "$ac_init_help" = "recursive"; then
1271 # If there are subdirs, report their specific --help.
1272 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1273 test -d "$ac_dir" ||
continue
1277 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1279 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1280 # A ".." for each directory in $ac_dir_suffix.
1281 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1282 case $ac_top_builddir_sub in
1283 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1284 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1287 ac_abs_top_builddir
=$ac_pwd
1288 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1289 # for backward compatibility:
1290 ac_top_builddir
=$ac_top_build_prefix
1293 .
) # We are building in place.
1295 ac_top_srcdir
=$ac_top_builddir_sub
1296 ac_abs_top_srcdir
=$ac_pwd ;;
1297 [\\/]* | ?
:[\\/]* ) # Absolute name.
1298 ac_srcdir
=$srcdir$ac_dir_suffix;
1299 ac_top_srcdir
=$srcdir
1300 ac_abs_top_srcdir
=$srcdir ;;
1302 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1303 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1304 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1306 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1308 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1309 # Check for guested configure.
1310 if test -f "$ac_srcdir/configure.gnu"; then
1312 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1313 elif test -f "$ac_srcdir/configure"; then
1315 $SHELL "$ac_srcdir/configure" --help=recursive
1317 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1319 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1323 test -n "$ac_init_help" && exit $ac_status
1324 if $ac_init_version; then
1326 GNU C Runtime Library configure
1.0
1327 generated by GNU Autoconf
2.61
1329 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1330 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1331 This configure
script is free software
; the Free Software Foundation
1332 gives unlimited permission to copy
, distribute and modify it.
1336 cat >config.log
<<_ACEOF
1337 This file contains any messages produced by compilers while
1338 running configure, to aid debugging if configure makes a mistake.
1340 It was created by GNU C Runtime Library $as_me 1.0, which was
1341 generated by GNU Autoconf 2.61. Invocation command line was
1353 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1354 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1355 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1356 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1357 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1359 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1360 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1362 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1363 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1364 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1365 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1366 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1367 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1368 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1376 test -z "$as_dir" && as_dir
=.
1377 echo "PATH: $as_dir"
1393 # Keep a trace of the command line.
1394 # Strip out --no-create and --no-recursion so they do not pile up.
1395 # Strip out --silent because we don't want to record it for future runs.
1396 # Also quote any args containing shell meta-characters.
1397 # Make two passes to allow for proper duplicate-argument suppression.
1401 ac_must_keep_next
=false
1407 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1408 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1409 |
-silent |
--silent |
--silen |
--sile |
--sil)
1412 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1415 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1417 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1418 if test $ac_must_keep_next = true
; then
1419 ac_must_keep_next
=false
# Got value, back to normal.
1422 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1423 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1424 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1425 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1426 case "$ac_configure_args0 " in
1427 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1430 -* ) ac_must_keep_next
=true
;;
1433 ac_configure_args
="$ac_configure_args '$ac_arg'"
1438 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1439 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1441 # When interrupted or exit'd, cleanup temporary files, and complete
1442 # config.log. We remove comments because anyway the quotes in there
1443 # would cause problems or look ugly.
1444 # WARNING: Use '\'' to represent an apostrophe within the trap.
1445 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1446 trap 'exit_status=$?
1447 # Save into config.log some information that might help in debugging.
1452 ## ---------------- ##
1453 ## Cache variables. ##
1454 ## ---------------- ##
1457 # The following way of writing the cache mishandles newlines in values,
1459 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1460 eval ac_val=\$$ac_var
1464 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1465 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1468 _ | IFS | as_nl) ;; #(
1469 *) $as_unset $ac_var ;;
1474 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1475 *${as_nl}ac_space=\ *)
1477 "s/'\''/'\''\\\\'\'''\''/g;
1478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1481 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1489 ## ----------------- ##
1490 ## Output variables. ##
1491 ## ----------------- ##
1494 for ac_var in $ac_subst_vars
1496 eval ac_val=\$$ac_var
1498 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1500 echo "$ac_var='\''$ac_val'\''"
1504 if test -n "$ac_subst_files"; then
1506 ## ------------------- ##
1507 ## File substitutions. ##
1508 ## ------------------- ##
1511 for ac_var
in $ac_subst_files
1513 eval ac_val
=\$
$ac_var
1515 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1517 echo "$ac_var='\''$ac_val'\''"
1522 if test -s confdefs.h; then
1532 test "$ac_signal" != 0 &&
1533 echo "$as_me: caught signal $ac_signal"
1534 echo "$as_me: exit $exit_status"
1536 rm -f core *.core core.conftest.* &&
1537 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1540 for ac_signal
in 1 2 13 15; do
1541 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1545 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1546 rm -f -r conftest
* confdefs.h
1548 # Predefined preprocessor variables.
1550 cat >>confdefs.h
<<_ACEOF
1551 #define PACKAGE_NAME "$PACKAGE_NAME"
1555 cat >>confdefs.h
<<_ACEOF
1556 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1560 cat >>confdefs.h
<<_ACEOF
1561 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1565 cat >>confdefs.h
<<_ACEOF
1566 #define PACKAGE_STRING "$PACKAGE_STRING"
1570 cat >>confdefs.h
<<_ACEOF
1571 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1575 # Let the site file select an alternate cache file if it wants to.
1576 # Prefer explicitly selected file to automatically selected ones.
1577 if test -n "$CONFIG_SITE"; then
1578 set x
"$CONFIG_SITE"
1579 elif test "x$prefix" != xNONE
; then
1580 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1582 set x
"$ac_default_prefix/share/config.site" \
1583 "$ac_default_prefix/etc/config.site"
1588 if test -r "$ac_site_file"; then
1589 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1590 echo "$as_me: loading site script $ac_site_file" >&6;}
1591 sed 's/^/| /' "$ac_site_file" >&5
1596 if test -r "$cache_file"; then
1597 # Some versions of bash will fail to source /dev/null (special
1598 # files actually), so we avoid doing that.
1599 if test -f "$cache_file"; then
1600 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1601 echo "$as_me: loading cache $cache_file" >&6;}
1603 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1604 *) .
"./$cache_file";;
1608 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1609 echo "$as_me: creating cache $cache_file" >&6;}
1613 # Check that the precious variables saved in the cache have kept the same
1615 ac_cache_corrupted
=false
1616 for ac_var
in $ac_precious_vars; do
1617 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1618 eval ac_new_set
=\
$ac_env_${ac_var}_set
1619 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1620 eval ac_new_val
=\
$ac_env_${ac_var}_value
1621 case $ac_old_set,$ac_new_set in
1623 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1624 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1625 ac_cache_corrupted
=: ;;
1627 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1628 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1629 ac_cache_corrupted
=: ;;
1632 if test "x$ac_old_val" != "x$ac_new_val"; then
1633 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1634 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1635 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1636 echo "$as_me: former value: $ac_old_val" >&2;}
1637 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1638 echo "$as_me: current value: $ac_new_val" >&2;}
1639 ac_cache_corrupted
=:
1642 # Pass precious variables to config.status.
1643 if test "$ac_new_set" = set; then
1645 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1646 *) ac_arg
=$ac_var=$ac_new_val ;;
1648 case " $ac_configure_args " in
1649 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1650 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1654 if $ac_cache_corrupted; then
1655 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1656 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1657 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1658 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1659 { (exit 1); exit 1; }; }
1687 ac_cpp
='$CPP $CPPFLAGS'
1688 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1689 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1690 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1696 # Check whether --with-target-subdir was given.
1697 if test "${with_target_subdir+set}" = set; then
1698 withval
=$with_target_subdir;
1702 # Check whether --with-cross-host was given.
1703 if test "${with_cross_host+set}" = set; then
1704 withval
=$with_cross_host;
1708 # Check whether --with-ld was given.
1709 if test "${with_ld+set}" = set; then
1714 if test "${srcdir}" = "."; then
1715 if test -n "${with_build_subdir}"; then
1716 libgcc_topdir
="${srcdir}/../.."
1718 elif test -z "${with_target_subdir}"; then
1719 libgcc_topdir
="${srcdir}/.."
1721 if test "${with_target_subdir}" != "."; then
1722 libgcc_topdir
="${srcdir}/${with_multisrctop}../.."
1724 libgcc_topdir
="${srcdir}/${with_multisrctop}.."
1728 libgcc_topdir
="${srcdir}/.."
1732 for ac_dir
in $libgcc_topdir "$srcdir"/$libgcc_topdir; do
1733 if test -f "$ac_dir/install-sh"; then
1735 ac_install_sh
="$ac_aux_dir/install-sh -c"
1737 elif test -f "$ac_dir/install.sh"; then
1739 ac_install_sh
="$ac_aux_dir/install.sh -c"
1741 elif test -f "$ac_dir/shtool"; then
1743 ac_install_sh
="$ac_aux_dir/shtool install -c"
1747 if test -z "$ac_aux_dir"; then
1748 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" >&5
1749 echo "$as_me: error: cannot find install-sh or install.sh in $libgcc_topdir \"$srcdir\"/$libgcc_topdir" >&2;}
1750 { (exit 1); exit 1; }; }
1753 # These three variables are undocumented and unsupported,
1754 # and are intended to be withdrawn in a future Autoconf release.
1755 # They can cause serious problems if a builder's source tree is in a directory
1756 # whose full name contains unusual characters.
1757 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1758 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1759 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1763 # Check whether --enable-shared was given.
1764 if test "${enable_shared+set}" = set; then
1765 enableval
=$enable_shared;
1766 case $enable_shared in
1770 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1771 for pkg
in $enableval; do
1772 if test "X$pkg" = "Xgcc" ||
test "X$pkg" = "Xlibgcc"; then
1787 # Check whether --with-slibdir was given.
1788 if test "${with_slibdir+set}" = set; then
1789 withval
=$with_slibdir; slibdir
="$with_slibdir"
1791 if test "${enable_version_specific_runtime_libs+set}" = set; then
1792 slibdir
='$(libsubdir)'
1793 elif test "$host" != "$target"; then
1794 slibdir
='$(build_tooldir)/lib'
1802 # Find a good install program. We prefer a C program (faster),
1803 # so one script is as good as another. But avoid the broken or
1804 # incompatible versions:
1805 # SysV /etc/install, /usr/sbin/install
1806 # SunOS /usr/etc/install
1807 # IRIX /sbin/install
1809 # AmigaOS /C/install, which installs bootblocks on floppy discs
1810 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1811 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1812 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1813 # OS/2's system install, which has a completely different semantic
1814 # ./install, which can be erroneously created by make from ./install.sh.
1815 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1816 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1817 if test -z "$INSTALL"; then
1818 if test "${ac_cv_path_install+set}" = set; then
1819 echo $ECHO_N "(cached) $ECHO_C" >&6
1821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1825 test -z "$as_dir" && as_dir
=.
1826 # Account for people who put trailing slashes in PATH elements.
1828 .
/ | .
// |
/cC
/* | \
1829 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1830 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1833 # OSF1 and SCO ODT 3.0 have their own names for install.
1834 # Don't use installbsd from OSF since it installs stuff as root
1836 for ac_prog
in ginstall scoinst
install; do
1837 for ac_exec_ext
in '' $ac_executable_extensions; do
1838 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1839 if test $ac_prog = install &&
1840 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1841 # AIX install. It has an incompatible calling convention.
1843 elif test $ac_prog = install &&
1844 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1845 # program-specific install script used by HP pwplus--don't use.
1848 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1861 if test "${ac_cv_path_install+set}" = set; then
1862 INSTALL
=$ac_cv_path_install
1864 # As a last resort, use the slow shell script. Don't cache a
1865 # value for INSTALL within a source directory, because that will
1866 # break other packages using the cache if that directory is
1867 # removed, or if the value is a relative name.
1868 INSTALL
=$ac_install_sh
1871 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1872 echo "${ECHO_T}$INSTALL" >&6; }
1874 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1875 # It thinks the first close brace ends the variable substitution.
1876 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1878 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1880 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1883 for ac_prog
in gawk mawk nawk
awk
1885 # Extract the first word of "$ac_prog", so it can be a program name with args.
1886 set dummy
$ac_prog; ac_word
=$2
1887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1889 if test "${ac_cv_prog_AWK+set}" = set; then
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 if test -n "$AWK"; then
1893 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1899 test -z "$as_dir" && as_dir
=.
1900 for ac_exec_ext
in '' $ac_executable_extensions; do
1901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1902 ac_cv_prog_AWK
="$ac_prog"
1903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1913 if test -n "$AWK"; then
1914 { echo "$as_me:$LINENO: result: $AWK" >&5
1915 echo "${ECHO_T}$AWK" >&6; }
1917 { echo "$as_me:$LINENO: result: no" >&5
1918 echo "${ECHO_T}no" >&6; }
1922 test -n "$AWK" && break
1925 # We need awk; bail out if it's missing.
1927 "") { { echo "$as_me:$LINENO: error: can't build without awk, bailing out" >&5
1928 echo "$as_me: error: can't build without awk, bailing out" >&2;}
1929 { (exit 1); exit 1; }; } ;;
1932 # Make sure we can run config.sub.
1933 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1934 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1935 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1936 { (exit 1); exit 1; }; }
1938 { echo "$as_me:$LINENO: checking build system type" >&5
1939 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1940 if test "${ac_cv_build+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 ac_build_alias
=$build_alias
1944 test "x$ac_build_alias" = x
&&
1945 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1946 test "x$ac_build_alias" = x
&&
1947 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1948 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1949 { (exit 1); exit 1; }; }
1950 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1951 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1952 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1953 { (exit 1); exit 1; }; }
1956 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1957 echo "${ECHO_T}$ac_cv_build" >&6; }
1958 case $ac_cv_build in
1960 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1961 echo "$as_me: error: invalid value of canonical build" >&2;}
1962 { (exit 1); exit 1; }; };;
1965 ac_save_IFS
=$IFS; IFS
='-'
1971 # Remember, the first character of IFS is used to create $*,
1972 # except with old shells:
1975 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1978 { echo "$as_me:$LINENO: checking host system type" >&5
1979 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1980 if test "${ac_cv_host+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 if test "x$host_alias" = x
; then
1984 ac_cv_host
=$ac_cv_build
1986 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1987 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1988 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1989 { (exit 1); exit 1; }; }
1993 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1994 echo "${ECHO_T}$ac_cv_host" >&6; }
1997 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1998 echo "$as_me: error: invalid value of canonical host" >&2;}
1999 { (exit 1); exit 1; }; };;
2002 ac_save_IFS
=$IFS; IFS
='-'
2008 # Remember, the first character of IFS is used to create $*,
2009 # except with old shells:
2012 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2015 case ${build_alias} in
2016 "") build_noncanonical
=${build} ;;
2017 *) build_noncanonical
=${build_alias} ;;
2020 case ${host_alias} in
2021 "") host_noncanonical
=${build_noncanonical} ;;
2022 *) host_noncanonical
=${host_alias} ;;
2027 case ${target_alias} in
2028 "") target_noncanonical
=${host_noncanonical} ;;
2029 *) target_noncanonical
=${target_alias} ;;
2033 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2034 # have matching libraries, they should use host libraries: Makefile.tpl
2035 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2036 # However, they still use the build modules, because the corresponding
2037 # host modules (e.g. bison) are only built for the host when bootstrap
2039 # - build_subdir is where we find build modules, and never changes.
2040 # - build_libsubdir is where we find build libraries, and can be overridden.
2042 # Prefix 'build-' so this never conflicts with target_subdir.
2043 build_subdir
="build-${build_noncanonical}"
2045 # Check whether --with-build-libsubdir was given.
2046 if test "${with_build_libsubdir+set}" = set; then
2047 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2049 build_libsubdir
="$build_subdir"
2052 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2053 if ( test $srcdir = .
&& test -d gcc
) \
2054 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2055 host_subdir
="host-${host_noncanonical}"
2060 target_subdir
=${target_noncanonical}
2063 if test -n "$ac_tool_prefix"; then
2064 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2065 set dummy
${ac_tool_prefix}ar; ac_word
=$2
2066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2068 if test "${ac_cv_prog_AR+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 if test -n "$AR"; then
2072 ac_cv_prog_AR
="$AR" # Let the user override the test.
2074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2078 test -z "$as_dir" && as_dir
=.
2079 for ac_exec_ext
in '' $ac_executable_extensions; do
2080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2081 ac_cv_prog_AR
="${ac_tool_prefix}ar"
2082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 if test -n "$AR"; then
2093 { echo "$as_me:$LINENO: result: $AR" >&5
2094 echo "${ECHO_T}$AR" >&6; }
2096 { echo "$as_me:$LINENO: result: no" >&5
2097 echo "${ECHO_T}no" >&6; }
2102 if test -z "$ac_cv_prog_AR"; then
2104 # Extract the first word of "ar", so it can be a program name with args.
2105 set dummy
ar; ac_word
=$2
2106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2108 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 if test -n "$ac_ct_AR"; then
2112 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
2114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2118 test -z "$as_dir" && as_dir
=.
2119 for ac_exec_ext
in '' $ac_executable_extensions; do
2120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2121 ac_cv_prog_ac_ct_AR
="ar"
2122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2131 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
2132 if test -n "$ac_ct_AR"; then
2133 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2134 echo "${ECHO_T}$ac_ct_AR" >&6; }
2136 { echo "$as_me:$LINENO: result: no" >&5
2137 echo "${ECHO_T}no" >&6; }
2140 if test "x$ac_ct_AR" = x
; then
2143 case $cross_compiling:$ac_tool_warned in
2145 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2146 whose name does not start with the host triplet. If you think this
2147 configuration is useful to you, please write to autoconf@gnu.org." >&5
2148 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2149 whose name does not start with the host triplet. If you think this
2150 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2151 ac_tool_warned
=yes ;;
2159 if test -n "$ac_tool_prefix"; then
2160 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
2161 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
2162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2164 if test "${ac_cv_prog_LIPO+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2167 if test -n "$LIPO"; then
2168 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
2170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2174 test -z "$as_dir" && as_dir
=.
2175 for ac_exec_ext
in '' $ac_executable_extensions; do
2176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2177 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
2178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187 LIPO
=$ac_cv_prog_LIPO
2188 if test -n "$LIPO"; then
2189 { echo "$as_me:$LINENO: result: $LIPO" >&5
2190 echo "${ECHO_T}$LIPO" >&6; }
2192 { echo "$as_me:$LINENO: result: no" >&5
2193 echo "${ECHO_T}no" >&6; }
2198 if test -z "$ac_cv_prog_LIPO"; then
2200 # Extract the first word of "lipo", so it can be a program name with args.
2201 set dummy lipo
; ac_word
=$2
2202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2204 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
2205 echo $ECHO_N "(cached) $ECHO_C" >&6
2207 if test -n "$ac_ct_LIPO"; then
2208 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
2210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2214 test -z "$as_dir" && as_dir
=.
2215 for ac_exec_ext
in '' $ac_executable_extensions; do
2216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2217 ac_cv_prog_ac_ct_LIPO
="lipo"
2218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
2228 if test -n "$ac_ct_LIPO"; then
2229 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
2230 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
2232 { echo "$as_me:$LINENO: result: no" >&5
2233 echo "${ECHO_T}no" >&6; }
2236 if test "x$ac_ct_LIPO" = x
; then
2239 case $cross_compiling:$ac_tool_warned in
2241 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2242 whose name does not start with the host triplet. If you think this
2243 configuration is useful to you, please write to autoconf@gnu.org." >&5
2244 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2245 whose name does not start with the host triplet. If you think this
2246 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2247 ac_tool_warned
=yes ;;
2252 LIPO
="$ac_cv_prog_LIPO"
2255 if test -n "$ac_tool_prefix"; then
2256 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
2257 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
2258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2260 if test "${ac_cv_prog_NM+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 if test -n "$NM"; then
2264 ac_cv_prog_NM
="$NM" # Let the user override the test.
2266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2270 test -z "$as_dir" && as_dir
=.
2271 for ac_exec_ext
in '' $ac_executable_extensions; do
2272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2273 ac_cv_prog_NM
="${ac_tool_prefix}nm"
2274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 if test -n "$NM"; then
2285 { echo "$as_me:$LINENO: result: $NM" >&5
2286 echo "${ECHO_T}$NM" >&6; }
2288 { echo "$as_me:$LINENO: result: no" >&5
2289 echo "${ECHO_T}no" >&6; }
2294 if test -z "$ac_cv_prog_NM"; then
2296 # Extract the first word of "nm", so it can be a program name with args.
2297 set dummy nm
; ac_word
=$2
2298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2300 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
2301 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 if test -n "$ac_ct_NM"; then
2304 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
2306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2310 test -z "$as_dir" && as_dir
=.
2311 for ac_exec_ext
in '' $ac_executable_extensions; do
2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2313 ac_cv_prog_ac_ct_NM
="nm"
2314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
2324 if test -n "$ac_ct_NM"; then
2325 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
2326 echo "${ECHO_T}$ac_ct_NM" >&6; }
2328 { echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6; }
2332 if test "x$ac_ct_NM" = x
; then
2335 case $cross_compiling:$ac_tool_warned in
2337 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2338 whose name does not start with the host triplet. If you think this
2339 configuration is useful to you, please write to autoconf@gnu.org." >&5
2340 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2341 whose name does not start with the host triplet. If you think this
2342 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2343 ac_tool_warned
=yes ;;
2351 if test -n "$ac_tool_prefix"; then
2352 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2353 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2356 if test "${ac_cv_prog_RANLIB+set}" = set; then
2357 echo $ECHO_N "(cached) $ECHO_C" >&6
2359 if test -n "$RANLIB"; then
2360 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir
=.
2367 for ac_exec_ext
in '' $ac_executable_extensions; do
2368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2369 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 RANLIB
=$ac_cv_prog_RANLIB
2380 if test -n "$RANLIB"; then
2381 { echo "$as_me:$LINENO: result: $RANLIB" >&5
2382 echo "${ECHO_T}$RANLIB" >&6; }
2384 { echo "$as_me:$LINENO: result: no" >&5
2385 echo "${ECHO_T}no" >&6; }
2390 if test -z "$ac_cv_prog_RANLIB"; then
2391 ac_ct_RANLIB
=$RANLIB
2392 # Extract the first word of "ranlib", so it can be a program name with args.
2393 set dummy ranlib
; ac_word
=$2
2394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2396 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2399 if test -n "$ac_ct_RANLIB"; then
2400 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir
=.
2407 for ac_exec_ext
in '' $ac_executable_extensions; do
2408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2409 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2420 if test -n "$ac_ct_RANLIB"; then
2421 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2422 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2424 { echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6; }
2428 if test "x$ac_ct_RANLIB" = x
; then
2431 case $cross_compiling:$ac_tool_warned in
2433 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2434 whose name does not start with the host triplet. If you think this
2435 configuration is useful to you, please write to autoconf@gnu.org." >&5
2436 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2437 whose name does not start with the host triplet. If you think this
2438 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2439 ac_tool_warned
=yes ;;
2441 RANLIB
=$ac_ct_RANLIB
2444 RANLIB
="$ac_cv_prog_RANLIB"
2447 if test -n "$ac_tool_prefix"; then
2448 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2449 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2452 if test "${ac_cv_prog_STRIP+set}" = set; then
2453 echo $ECHO_N "(cached) $ECHO_C" >&6
2455 if test -n "$STRIP"; then
2456 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir
=.
2463 for ac_exec_ext
in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2475 STRIP
=$ac_cv_prog_STRIP
2476 if test -n "$STRIP"; then
2477 { echo "$as_me:$LINENO: result: $STRIP" >&5
2478 echo "${ECHO_T}$STRIP" >&6; }
2480 { echo "$as_me:$LINENO: result: no" >&5
2481 echo "${ECHO_T}no" >&6; }
2486 if test -z "$ac_cv_prog_STRIP"; then
2488 # Extract the first word of "strip", so it can be a program name with args.
2489 set dummy strip
; ac_word
=$2
2490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2492 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 if test -n "$ac_ct_STRIP"; then
2496 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir
=.
2503 for ac_exec_ext
in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 ac_cv_prog_ac_ct_STRIP
="strip"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2515 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2516 if test -n "$ac_ct_STRIP"; then
2517 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2518 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2520 { echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6; }
2524 if test "x$ac_ct_STRIP" = x
; then
2527 case $cross_compiling:$ac_tool_warned in
2529 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2530 whose name does not start with the host triplet. If you think this
2531 configuration is useful to you, please write to autoconf@gnu.org." >&5
2532 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2533 whose name does not start with the host triplet. If you think this
2534 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2535 ac_tool_warned
=yes ;;
2540 STRIP
="$ac_cv_prog_STRIP"
2543 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2544 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2546 if test "$LN_S" = "ln -s"; then
2547 { echo "$as_me:$LINENO: result: yes" >&5
2548 echo "${ECHO_T}yes" >&6; }
2550 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2551 echo "${ECHO_T}no, using $LN_S" >&6; }
2557 ac_cpp
='$CPP $CPPFLAGS'
2558 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2559 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2560 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2561 if test -n "$ac_tool_prefix"; then
2562 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2563 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2566 if test "${ac_cv_prog_CC+set}" = set; then
2567 echo $ECHO_N "(cached) $ECHO_C" >&6
2569 if test -n "$CC"; then
2570 ac_cv_prog_CC
="$CC" # Let the user override the test.
2572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir
=.
2577 for ac_exec_ext
in '' $ac_executable_extensions; do
2578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2579 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 if test -n "$CC"; then
2591 { echo "$as_me:$LINENO: result: $CC" >&5
2592 echo "${ECHO_T}$CC" >&6; }
2594 { echo "$as_me:$LINENO: result: no" >&5
2595 echo "${ECHO_T}no" >&6; }
2600 if test -z "$ac_cv_prog_CC"; then
2602 # Extract the first word of "gcc", so it can be a program name with args.
2603 set dummy gcc
; ac_word
=$2
2604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2606 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2607 echo $ECHO_N "(cached) $ECHO_C" >&6
2609 if test -n "$ac_ct_CC"; then
2610 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2616 test -z "$as_dir" && as_dir
=.
2617 for ac_exec_ext
in '' $ac_executable_extensions; do
2618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2619 ac_cv_prog_ac_ct_CC
="gcc"
2620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2630 if test -n "$ac_ct_CC"; then
2631 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2632 echo "${ECHO_T}$ac_ct_CC" >&6; }
2634 { echo "$as_me:$LINENO: result: no" >&5
2635 echo "${ECHO_T}no" >&6; }
2638 if test "x$ac_ct_CC" = x
; then
2641 case $cross_compiling:$ac_tool_warned in
2643 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2644 whose name does not start with the host triplet. If you think this
2645 configuration is useful to you, please write to autoconf@gnu.org." >&5
2646 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2647 whose name does not start with the host triplet. If you think this
2648 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2649 ac_tool_warned
=yes ;;
2657 if test -z "$CC"; then
2658 if test -n "$ac_tool_prefix"; then
2659 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2660 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2663 if test "${ac_cv_prog_CC+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2666 if test -n "$CC"; then
2667 ac_cv_prog_CC
="$CC" # Let the user override the test.
2669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2673 test -z "$as_dir" && as_dir
=.
2674 for ac_exec_ext
in '' $ac_executable_extensions; do
2675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2676 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 if test -n "$CC"; then
2688 { echo "$as_me:$LINENO: result: $CC" >&5
2689 echo "${ECHO_T}$CC" >&6; }
2691 { echo "$as_me:$LINENO: result: no" >&5
2692 echo "${ECHO_T}no" >&6; }
2698 if test -z "$CC"; then
2699 # Extract the first word of "cc", so it can be a program name with args.
2700 set dummy cc
; ac_word
=$2
2701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2703 if test "${ac_cv_prog_CC+set}" = set; then
2704 echo $ECHO_N "(cached) $ECHO_C" >&6
2706 if test -n "$CC"; then
2707 ac_cv_prog_CC
="$CC" # Let the user override the test.
2710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir
=.
2715 for ac_exec_ext
in '' $ac_executable_extensions; do
2716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2717 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2718 ac_prog_rejected
=yes
2722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2729 if test $ac_prog_rejected = yes; then
2730 # We found a bogon in the path, so make sure we never use it.
2731 set dummy
$ac_cv_prog_CC
2733 if test $# != 0; then
2734 # We chose a different compiler from the bogus one.
2735 # However, it has the same basename, so the bogon will be chosen
2736 # first if we set CC to just the basename; use the full file name.
2738 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2744 if test -n "$CC"; then
2745 { echo "$as_me:$LINENO: result: $CC" >&5
2746 echo "${ECHO_T}$CC" >&6; }
2748 { echo "$as_me:$LINENO: result: no" >&5
2749 echo "${ECHO_T}no" >&6; }
2754 if test -z "$CC"; then
2755 if test -n "$ac_tool_prefix"; then
2756 for ac_prog
in cl.exe
2758 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2759 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2762 if test "${ac_cv_prog_CC+set}" = set; then
2763 echo $ECHO_N "(cached) $ECHO_C" >&6
2765 if test -n "$CC"; then
2766 ac_cv_prog_CC
="$CC" # Let the user override the test.
2768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2772 test -z "$as_dir" && as_dir
=.
2773 for ac_exec_ext
in '' $ac_executable_extensions; do
2774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2775 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 if test -n "$CC"; then
2787 { echo "$as_me:$LINENO: result: $CC" >&5
2788 echo "${ECHO_T}$CC" >&6; }
2790 { echo "$as_me:$LINENO: result: no" >&5
2791 echo "${ECHO_T}no" >&6; }
2795 test -n "$CC" && break
2798 if test -z "$CC"; then
2800 for ac_prog
in cl.exe
2802 # Extract the first word of "$ac_prog", so it can be a program name with args.
2803 set dummy
$ac_prog; ac_word
=$2
2804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2806 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2807 echo $ECHO_N "(cached) $ECHO_C" >&6
2809 if test -n "$ac_ct_CC"; then
2810 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2816 test -z "$as_dir" && as_dir
=.
2817 for ac_exec_ext
in '' $ac_executable_extensions; do
2818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2819 ac_cv_prog_ac_ct_CC
="$ac_prog"
2820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2829 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2830 if test -n "$ac_ct_CC"; then
2831 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2832 echo "${ECHO_T}$ac_ct_CC" >&6; }
2834 { echo "$as_me:$LINENO: result: no" >&5
2835 echo "${ECHO_T}no" >&6; }
2839 test -n "$ac_ct_CC" && break
2842 if test "x$ac_ct_CC" = x
; then
2845 case $cross_compiling:$ac_tool_warned in
2847 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2848 whose name does not start with the host triplet. If you think this
2849 configuration is useful to you, please write to autoconf@gnu.org." >&5
2850 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2851 whose name does not start with the host triplet. If you think this
2852 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2853 ac_tool_warned
=yes ;;
2862 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2863 See \`config.log' for more details." >&5
2864 echo "$as_me: error: no acceptable C compiler found in \$PATH
2865 See \`config.log' for more details." >&2;}
2866 { (exit 1); exit 1; }; }
2868 # Provide some information about the compiler.
2869 echo "$as_me:$LINENO: checking for C compiler version" >&5
2870 ac_compiler
=`set X $ac_compile; echo $2`
2871 { (ac_try
="$ac_compiler --version >&5"
2873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2874 *) ac_try_echo=$ac_try;;
2876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2877 (eval "$ac_compiler --version >&5") 2>&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); }
2881 { (ac_try="$ac_compiler -v >&5"
2883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2884 *) ac_try_echo
=$ac_try;;
2886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2887 (eval "$ac_compiler -v >&5") 2>&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }
2891 { (ac_try
="$ac_compiler -V >&5"
2893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2894 *) ac_try_echo=$ac_try;;
2896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2897 (eval "$ac_compiler -V >&5") 2>&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }
2902 cat >conftest.$ac_ext <<_ACEOF
2905 cat confdefs.h >>conftest.$ac_ext
2906 cat >>conftest.$ac_ext <<_ACEOF
2907 /* end confdefs.h. */
2918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2919 (eval $ac_link) 2>&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); }; then
2928 if test x$gcc_no_link = xyes; then
2929 # Setting cross_compile will disable run tests; it will
2930 # also disable AC_CHECK_FILE but that's generally
2931 # correct if we can't link.
2935 cat >conftest.$ac_ext <<_ACEOF
2938 cat confdefs.h >>conftest.$ac_ext
2939 cat >>conftest.$ac_ext <<_ACEOF
2940 /* end confdefs.h. */
2950 ac_clean_files_save=$ac_clean_files
2951 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2952 # Try to create an executable without -o first, disregard a.out.
2953 # It will help us diagnose broken compilers, and finding out an intuition
2955 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2956 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2957 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2959 # List of possible output files, starting from the most likely.
2960 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2961 # only as a last resort. b.out is created by i960 compilers.
2962 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2964 # The IRIX 6 linker writes into existing files which may not be
2965 # executable, retaining their permissions. Remove them first so a
2966 # subsequent execution test works.
2968 for ac_file in $ac_files
2971 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2972 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2977 if { (ac_try="$ac_link_default"
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2983 (eval "$ac_link_default") 2>&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; then
2987 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2988 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2989 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2990 # so that the user can short-circuit this test for compilers unknown to
2992 for ac_file
in $ac_files ''
2994 test -f "$ac_file" ||
continue
2996 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2999 # We found the default executable, but exeext='' is most
3003 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3005 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3007 # We set ac_cv_exeext here because the later test for it is not
3008 # safe: cross compilers may not add the suffix if given an `-o'
3009 # argument, so we may need to know it at that point already.
3010 # Even if this section looks crufty: it has the advantage of
3017 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3023 { echo "$as_me:$LINENO: result: $ac_file" >&5
3024 echo "${ECHO_T}$ac_file" >&6; }
3025 if test -z "$ac_file"; then
3026 echo "$as_me: failed program was:" >&5
3027 sed 's/^/| /' conftest.
$ac_ext >&5
3029 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3030 See \`config.log' for more details." >&5
3031 echo "$as_me: error: C compiler cannot create executables
3032 See \`config.log' for more details." >&2;}
3033 { (exit 77); exit 77; }; }
3036 ac_exeext
=$ac_cv_exeext
3038 # Check that the compiler produces executables we can run. If not, either
3039 # the compiler is broken, or we cross compile.
3040 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3041 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3042 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3043 # If not cross compiling, check that we can run a simple program.
3044 if test "$cross_compiling" != yes; then
3045 if { ac_try
='./$ac_file'
3046 { (case "(($ac_try" in
3047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3048 *) ac_try_echo=$ac_try;;
3050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3051 (eval "$ac_try") 2>&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); }; }; then
3057 if test "$cross_compiling" = maybe; then
3060 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3061 If you meant to cross compile, use \`--host'.
3062 See \`config.log' for more details.
" >&5
3063 echo "$as_me: error
: cannot run C compiled programs.
3064 If you meant to cross compile
, use \
`--host'.
3065 See \`config.log
' for more details." >&2;}
3066 { (exit 1); exit 1; }; }
3070 { echo "$as_me:$LINENO: result: yes" >&5
3071 echo "${ECHO_T}yes" >&6; }
3073 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3074 ac_clean_files=$ac_clean_files_save
3075 # Check that the compiler produces executables we can run. If not, either
3076 # the compiler is broken, or we cross compile.
3077 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3078 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3079 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3080 echo "${ECHO_T}$cross_compiling" >&6; }
3082 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3083 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3084 if { (ac_try="$ac_link"
3086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3087 *) ac_try_echo=$ac_try;;
3089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3090 (eval "$ac_link") 2>&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); }; then
3094 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3095 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3096 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3098 for ac_file
in conftest.exe conftest conftest.
*; do
3099 test -f "$ac_file" ||
continue
3101 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3102 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3108 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3109 See \`config.log' for more details." >&5
3110 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3111 See \`config.log' for more details." >&2;}
3112 { (exit 1); exit 1; }; }
3115 rm -f conftest
$ac_cv_exeext
3116 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3117 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3119 rm -f conftest.
$ac_ext
3120 EXEEXT
=$ac_cv_exeext
3123 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3124 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3125 if test "${ac_cv_objext+set}" = set; then
3126 echo $ECHO_N "(cached) $ECHO_C" >&6
3128 cat >conftest.
$ac_ext <<_ACEOF
3131 cat confdefs.h
>>conftest.
$ac_ext
3132 cat >>conftest.
$ac_ext <<_ACEOF
3133 /* end confdefs.h. */
3143 rm -f conftest.o conftest.obj
3144 if { (ac_try
="$ac_compile"
3146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3150 (eval "$ac_compile") 2>&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; then
3154 for ac_file in conftest.o conftest.obj conftest.*; do
3155 test -f "$ac_file" || continue;
3157 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3158 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3163 echo "$as_me: failed program was:" >&5
3164 sed 's/^/| /' conftest.$ac_ext >&5
3166 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3167 See \`config.log
' for more details." >&5
3168 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3169 See \`config.log' for more details.
" >&2;}
3170 { (exit 1); exit 1; }; }
3173 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3175 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3176 echo "${ECHO_T}$ac_cv_objext" >&6; }
3177 OBJEXT=$ac_cv_objext
3179 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3180 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3181 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3182 echo $ECHO_N "(cached
) $ECHO_C" >&6
3184 cat >conftest.$ac_ext <<_ACEOF
3187 cat confdefs.h >>conftest.$ac_ext
3188 cat >>conftest.$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3202 rm -f conftest.$ac_objext
3203 if { (ac_try="$ac_compile"
3205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3208 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3209 (eval "$ac_compile") 2>conftest.er1
3211 grep -v '^ *+' conftest.er1 >conftest.err
3213 cat conftest.err >&5
3214 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3215 (exit $ac_status); } && {
3216 test -z "$ac_c_werror_flag" ||
3217 test ! -s conftest.err
3218 } && test -s conftest.$ac_objext; then
3221 echo "$as_me: failed program was
:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3231 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3232 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3233 GCC=`test $ac_compiler_gnu = yes && echo yes`
3234 ac_test_CFLAGS=${CFLAGS+set}
3235 ac_save_CFLAGS=$CFLAGS
3236 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3237 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3238 if test "${ac_cv_prog_cc_g+set}" = set; then
3239 echo $ECHO_N "(cached
) $ECHO_C" >&6
3241 ac_save_c_werror_flag=$ac_c_werror_flag
3242 ac_c_werror_flag=yes
3245 cat >conftest.$ac_ext <<_ACEOF
3248 cat confdefs.h >>conftest.$ac_ext
3249 cat >>conftest.$ac_ext <<_ACEOF
3250 /* end confdefs.h. */
3260 rm -f conftest.$ac_objext
3261 if { (ac_try="$ac_compile"
3263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3264 *) ac_try_echo=$ac_try;;
3266 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3267 (eval "$ac_compile") 2>conftest.er1
3269 grep -v '^ *+' conftest.er1 >conftest.err
3271 cat conftest.err >&5
3272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3273 (exit $ac_status); } && {
3274 test -z "$ac_c_werror_flag" ||
3275 test ! -s conftest.err
3276 } && test -s conftest.$ac_objext; then
3279 echo "$as_me: failed program was
:" >&5
3280 sed 's/^/| /' conftest.$ac_ext >&5
3283 cat >conftest.$ac_ext <<_ACEOF
3286 cat confdefs.h >>conftest.$ac_ext
3287 cat >>conftest.$ac_ext <<_ACEOF
3288 /* end confdefs.h. */
3298 rm -f conftest.$ac_objext
3299 if { (ac_try="$ac_compile"
3301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302 *) ac_try_echo=$ac_try;;
3304 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3305 (eval "$ac_compile") 2>conftest.er1
3307 grep -v '^ *+' conftest.er1 >conftest.err
3309 cat conftest.err >&5
3310 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3311 (exit $ac_status); } && {
3312 test -z "$ac_c_werror_flag" ||
3313 test ! -s conftest.err
3314 } && test -s conftest.$ac_objext; then
3317 echo "$as_me: failed program was
:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3320 ac_c_werror_flag=$ac_save_c_werror_flag
3322 cat >conftest.$ac_ext <<_ACEOF
3325 cat confdefs.h >>conftest.$ac_ext
3326 cat >>conftest.$ac_ext <<_ACEOF
3327 /* end confdefs.h. */
3337 rm -f conftest.$ac_objext
3338 if { (ac_try="$ac_compile"
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3344 (eval "$ac_compile") 2>conftest.er1
3346 grep -v '^ *+' conftest.er1 >conftest.err
3348 cat conftest.err >&5
3349 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3350 (exit $ac_status); } && {
3351 test -z "$ac_c_werror_flag" ||
3352 test ! -s conftest.err
3353 } && test -s conftest.$ac_objext; then
3356 echo "$as_me: failed program was
:" >&5
3357 sed 's/^/| /' conftest.$ac_ext >&5
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 ac_c_werror_flag=$ac_save_c_werror_flag
3371 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3372 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3373 if test "$ac_test_CFLAGS" = set; then
3374 CFLAGS=$ac_save_CFLAGS
3375 elif test $ac_cv_prog_cc_g = yes; then
3376 if test "$GCC" = yes; then
3382 if test "$GCC" = yes; then
3388 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3389 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3390 if test "${ac_cv_prog_cc_c89+set}" = set; then
3391 echo $ECHO_N "(cached
) $ECHO_C" >&6
3393 ac_cv_prog_cc_c89=no
3395 cat >conftest.$ac_ext <<_ACEOF
3398 cat confdefs.h >>conftest.$ac_ext
3399 cat >>conftest.$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3403 #include <sys/types.h>
3404 #include <sys/stat.h>
3405 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3406 struct buf { int x; };
3407 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3408 static char *e (p, i)
3414 static char *f (char * (*g) (char **, int), char **p, ...)
3419 s = g (p, va_arg (v,int));
3424 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3425 function prototypes and stuff, but not '\xHH' hex character constants.
3426 These don't provoke an error unfortunately, instead are silently treated
3427 as 'x'. The following induces an error, until -std is added to get
3428 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3429 array size at least. It's necessary to write '\x00'==0 to get something
3430 that's true only with -std. */
3431 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3433 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3434 inside strings and character constants. */
3436 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3438 int test (int i, double x);
3439 struct s1 {int (*f) (int a);};
3440 struct s2 {int (*f) (double a);};
3441 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3447 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3452 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3453 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3455 CC="$ac_save_CC $ac_arg"
3456 rm -f conftest.$ac_objext
3457 if { (ac_try="$ac_compile"
3459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460 *) ac_try_echo=$ac_try;;
3462 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3463 (eval "$ac_compile") 2>conftest.er1
3465 grep -v '^ *+' conftest.er1 >conftest.err
3467 cat conftest.err >&5
3468 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3469 (exit $ac_status); } && {
3470 test -z "$ac_c_werror_flag" ||
3471 test ! -s conftest.err
3472 } && test -s conftest.$ac_objext; then
3473 ac_cv_prog_cc_c89=$ac_arg
3475 echo "$as_me: failed program was
:" >&5
3476 sed 's/^/| /' conftest.$ac_ext >&5
3481 rm -f core conftest.err conftest.$ac_objext
3482 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3484 rm -f conftest.$ac_ext
3489 case "x
$ac_cv_prog_cc_c89" in
3491 { echo "$as_me:$LINENO: result
: none needed
" >&5
3492 echo "${ECHO_T}none needed
" >&6; } ;;
3494 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3495 echo "${ECHO_T}unsupported
" >&6; } ;;
3497 CC="$CC $ac_cv_prog_cc_c89"
3498 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3499 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3504 ac_cpp='$CPP $CPPFLAGS'
3505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3510 ac_cpp='$CPP $CPPFLAGS'
3511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3514 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3515 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3516 # On Suns, sometimes $CPP names a directory.
3517 if test -n "$CPP" && test -d "$CPP"; then
3520 if test -z "$CPP"; then
3521 if test "${ac_cv_prog_CPP+set}" = set; then
3522 echo $ECHO_N "(cached
) $ECHO_C" >&6
3524 # Double quotes because CPP needs to be expanded
3525 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3528 for ac_c_preproc_warn_flag in '' yes
3530 # Use a header file that comes with gcc, so configuring glibc
3531 # with a fresh cross-compiler works.
3532 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3533 # <limits.h> exists even on freestanding compilers.
3534 # On the NeXT, cc -E runs the code through the compiler's parser,
3535 # not just through cpp. "Syntax error
" is here to catch this case.
3536 cat >conftest.$ac_ext <<_ACEOF
3539 cat confdefs.h >>conftest.$ac_ext
3540 cat >>conftest.$ac_ext <<_ACEOF
3541 /* end confdefs.h. */
3543 # include <limits.h>
3545 # include <assert.h>
3549 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552 *) ac_try_echo=$ac_try;;
3554 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3555 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3557 grep -v '^ *+' conftest.er1 >conftest.err
3559 cat conftest.err >&5
3560 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3561 (exit $ac_status); } >/dev/null && {
3562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3563 test ! -s conftest.err
3567 echo "$as_me: failed program was
:" >&5
3568 sed 's/^/| /' conftest.$ac_ext >&5
3570 # 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 >conftest.$ac_ext <<_ACEOF
3581 cat confdefs.h >>conftest.$ac_ext
3582 cat >>conftest.$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3584 #include <ac_nonexistent.h>
3586 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589 *) ac_try_echo=$ac_try;;
3591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3592 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3594 grep -v '^ *+' conftest.er1 >conftest.err
3596 cat conftest.err >&5
3597 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3598 (exit $ac_status); } >/dev/null && {
3599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3600 test ! -s conftest.err
3602 # Broken: success on invalid input.
3605 echo "$as_me: failed program was
:" >&5
3606 sed 's/^/| /' conftest.$ac_ext >&5
3608 # Passes both tests.
3613 rm -f conftest.err conftest.$ac_ext
3616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3617 rm -f conftest.err conftest.$ac_ext
3618 if $ac_preproc_ok; then
3630 { echo "$as_me:$LINENO: result
: $CPP" >&5
3631 echo "${ECHO_T}$CPP" >&6; }
3633 for ac_c_preproc_warn_flag in '' yes
3635 # Use a header file that comes with gcc, so configuring glibc
3636 # with a fresh cross-compiler works.
3637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3638 # <limits.h> exists even on freestanding compilers.
3639 # On the NeXT, cc -E runs the code through the compiler's parser,
3640 # not just through cpp. "Syntax error
" is here to catch this case.
3641 cat >conftest.$ac_ext <<_ACEOF
3644 cat confdefs.h >>conftest.$ac_ext
3645 cat >>conftest.$ac_ext <<_ACEOF
3646 /* end confdefs.h. */
3648 # include <limits.h>
3650 # include <assert.h>
3654 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3659 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3660 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3662 grep -v '^ *+' conftest.er1 >conftest.err
3664 cat conftest.err >&5
3665 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3666 (exit $ac_status); } >/dev/null && {
3667 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3668 test ! -s conftest.err
3672 echo "$as_me: failed program was
:" >&5
3673 sed 's/^/| /' conftest.$ac_ext >&5
3675 # Broken: fails on valid input.
3679 rm -f conftest.err conftest.$ac_ext
3681 # OK, works on sane cases. Now check whether nonexistent headers
3682 # can be detected and how.
3683 cat >conftest.$ac_ext <<_ACEOF
3686 cat confdefs.h >>conftest.$ac_ext
3687 cat >>conftest.$ac_ext <<_ACEOF
3688 /* end confdefs.h. */
3689 #include <ac_nonexistent.h>
3691 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694 *) ac_try_echo=$ac_try;;
3696 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3697 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3699 grep -v '^ *+' conftest.er1 >conftest.err
3701 cat conftest.err >&5
3702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3703 (exit $ac_status); } >/dev/null && {
3704 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3705 test ! -s conftest.err
3707 # Broken: success on invalid input.
3710 echo "$as_me: failed program was
:" >&5
3711 sed 's/^/| /' conftest.$ac_ext >&5
3713 # Passes both tests.
3718 rm -f conftest.err conftest.$ac_ext
3721 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3722 rm -f conftest.err conftest.$ac_ext
3723 if $ac_preproc_ok; then
3726 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3727 See \
`config.log' for more details." >&5
3728 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3729 See \`config.log
' for more details." >&2;}
3730 { (exit 1); exit 1; }; }
3734 ac_cpp='$CPP $CPPFLAGS'
3735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3736 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3740 ac_c_preproc_warn_flag=yes
3742 # Check for decimal float support.
3744 { echo "$as_me:$LINENO: checking whether decimal floating point is supported" >&5
3745 echo $ECHO_N "checking whether decimal floating point is supported... $ECHO_C" >&6; }
3746 if test "${libgcc_cv_dfp+set}" = set; then
3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 cat >conftest.$ac_ext <<_ACEOF
3752 rm -f conftest.$ac_objext
3753 if { (ac_try="$ac_compile"
3755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3756 *) ac_try_echo=$ac_try;;
3758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3759 (eval "$ac_compile") 2>conftest.er1
3761 grep -v '^
*+' conftest.er1 >conftest.err
3763 cat conftest.err >&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } && {
3766 test -z "$ac_c_werror_flag" ||
3767 test ! -s conftest.err
3768 } && test -s conftest.$ac_objext; then
3771 echo "$as_me: failed program was:" >&5
3772 sed 's
/^
/|
/' conftest.$ac_ext >&5
3777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3779 { echo "$as_me:$LINENO: result: $libgcc_cv_dfp" >&5
3780 echo "${ECHO_T}$libgcc_cv_dfp" >&6; }
3781 decimal_float=$libgcc_cv_dfp
3784 # Collect host-machine-specific information.
3785 . ${srcdir}/config.host
3787 # Check for visibility support. This is after config.host so that
3788 # we can check for asm_hidden_op.
3789 { echo "$as_me:$LINENO: checking for __attribute__((visibility(\"hidden\")))" >&5
3790 echo $ECHO_N "checking for __attribute__((visibility(\"hidden\")))... $ECHO_C" >&6; }
3791 if test "${libgcc_cv_hidden_visibility_attribute+set}" = set; then
3792 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 echo 'int __attribute__
((visibility
("hidden"))) foo
(void
) { return 1; }' > conftest.c
3796 libgcc_cv_hidden_visibility_attribute=no
3797 if { ac_try='${CC-cc} -Werror -S conftest.c
-o conftest.s
1>&5'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; }; then
3803 if grep "\\$asm_hidden_op.*foo" conftest.s >/dev/null; then
3804 libgcc_cv_hidden_visibility_attribute=yes
3810 { echo "$as_me:$LINENO: result: $libgcc_cv_hidden_visibility_attribute" >&5
3811 echo "${ECHO_T}$libgcc_cv_hidden_visibility_attribute" >&6; }
3813 if test $libgcc_cv_hidden_visibility_attribute = yes; then
3814 vis_hide='-fvisibility=hidden
-DHIDE_EXPORTS'
3820 # Conditionalize the makefile for this target machine.
3822 for f in ${tmake_file}
3824 if test -f ${srcdir}/config/$f
3826 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
3829 tmake_file="${tmake_file_}"
3832 # Substitute configuration variables
3836 # We need multilib support.
3837 ac_config_files="$ac_config_files Makefile"
3839 ac_config_commands="$ac_config_commands default"
3841 cat >confcache <<\_ACEOF
3842 # This file is a shell script that caches the results of configure
3843 # tests run on this system so they can be shared between configure
3844 # scripts and configure runs, see configure's option
--config-cache.
3845 # It is not useful on other systems. If it contains results you don't
3846 # want to keep, you may remove or edit it.
3848 # config.status only pays attention to the cache file if you give it
3849 # the --recheck option to rerun configure.
3851 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3852 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3857 # The following way of writing the cache mishandles newlines in values,
3858 # but we know of no workaround that is simple, portable, and efficient.
3859 # So, we kill variables containing newlines.
3860 # Ultrix sh set writes to stderr and can't be redirected directly,
3861 # and sets the high bit in the cache file unless we assign to the vars.
3863 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3864 eval ac_val
=\$
$ac_var
3868 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3869 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3872 _ | IFS | as_nl
) ;; #(
3873 *) $as_unset $ac_var ;;
3879 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3880 *${as_nl}ac_space
=\
*)
3881 # `set' does not quote correctly, so add quotes (double-quote
3882 # substitution turns \\\\ into \\, and sed turns \\ into \).
3885 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3888 # `set' quotes correctly as required by POSIX, so do not add quotes.
3889 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3898 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3900 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3902 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3903 if test -w "$cache_file"; then
3904 test "x$cache_file" != "x/dev/null" &&
3905 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3906 echo "$as_me: updating cache $cache_file" >&6;}
3907 cat confcache
>$cache_file
3909 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3910 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3915 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3916 # Let make expand exec_prefix.
3917 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3919 # Transform confdefs.h into DEFS.
3920 # Protect against shell expansion while executing Makefile rules.
3921 # Protect against Makefile macro expansion.
3923 # If the first sed substitution is executed (which looks for macros that
3924 # take arguments), then branch to the quote section. Otherwise,
3925 # look for a macro that doesn't take arguments.
3929 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3931 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3935 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3948 DEFS
=`sed -n "$ac_script" confdefs.h`
3953 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3954 # 1. Remove the extension, and $U if already installed.
3955 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3956 ac_i
=`echo "$ac_i" | sed "$ac_script"`
3957 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3958 # will be set to the directory where LIBOBJS objects are built.
3959 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3960 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3964 LTLIBOBJS
=$ac_ltlibobjs
3968 : ${CONFIG_STATUS=./config.status}
3969 ac_clean_files_save
=$ac_clean_files
3970 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3971 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3972 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3973 cat >$CONFIG_STATUS <<_ACEOF
3975 # Generated by $as_me.
3976 # Run this file to recreate the current configuration.
3977 # Compiler output produced by configure, useful for debugging
3978 # configure, is in config.log if it exists.
3983 SHELL=\${CONFIG_SHELL-$SHELL}
3986 cat >>$CONFIG_STATUS <<\_ACEOF
3987 ## --------------------- ##
3988 ## M4sh Initialization. ##
3989 ## --------------------- ##
3991 # Be more Bourne compatible
3992 DUALCASE
=1; export DUALCASE
# for MKS sh
3993 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
3996 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3997 # is contrary to our usage. Disable this feature.
3998 alias -g '${1+"$@"}'='"$@"'
3999 setopt NO_GLOB_SUBST
4001 case `(set -o) 2>/dev/null` in
4002 *posix
*) set -o posix
;;
4011 # Avoid depending upon Character Ranges.
4012 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4013 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4014 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4015 as_cr_digits
='0123456789'
4016 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4018 # The user is always right.
4019 if test "${PATH_SEPARATOR+set}" != set; then
4020 echo "#! /bin/sh" >conf$$.sh
4021 echo "exit 0" >>conf$$.sh
4023 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4031 # Support unset when possible.
4032 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4040 # We need space, tab and new line, in precisely that order. Quoting is
4041 # there to prevent editors from complaining about space-tab.
4042 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4043 # splitting by setting IFS to empty value.)
4048 # Find who we are. Look in the path if we contain no directory separator.
4050 *[\\/]* ) as_myself
=$0 ;;
4051 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4055 test -z "$as_dir" && as_dir
=.
4056 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
4062 # We did not find ourselves, most probably we were run as `sh COMMAND'
4063 # in which case we are not to be found in the path.
4064 if test "x$as_myself" = x
; then
4067 if test ! -f "$as_myself"; then
4068 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4069 { (exit 1); exit 1; }
4072 # Work around bugs in pre-3.0 UWIN ksh.
4073 for as_var
in ENV MAIL MAILPATH
4074 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
4082 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4083 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4084 LC_TELEPHONE LC_TIME
4086 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4087 eval $as_var=C
; export $as_var
4089 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
4093 # Required to use basename.
4094 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4095 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4101 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4102 as_basename
=basename
4108 # Name of the executable.
4109 as_me
=`$as_basename -- "$0" ||
4110 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4111 X"$0" : 'X\(//\)$' \| \
4112 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4114 sed '/^.*\/\([^/][^/]*\)\/*$/{
4135 test "x$as_lineno_1" != "x$as_lineno_2" &&
4136 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
4138 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4139 # uniformly replaced by the line number. The first 'sed' inserts a
4140 # line-number line after each line using $LINENO; the second 'sed'
4141 # does the real work. The second script uses 'N' to pair each
4142 # line-number line with the line containing $LINENO, and appends
4143 # trailing '-' during substitution so that $LINENO is not a special
4145 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4146 # scripts with optimization help from Paolo Bonzini. Blame Lee
4147 # E. McMahon (1931-1989) for sed's syntax. :-)
4159 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4163 chmod +x
"$as_me.lineno" ||
4164 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4165 { (exit 1); exit 1; }; }
4167 # Don't try to exec as it changes $[0], causing all sort of problems
4168 # (the dirname of $[0] is not the place where we might find the
4169 # original and so on. Autoconf is especially sensitive to this).
4171 # Exit status is that of the last command.
4176 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4182 ECHO_C
= ECHO_N
= ECHO_T
=
4185 case `echo 'x\c'` in
4186 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4193 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4194 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4200 rm -f conf$$ conf$$.exe conf$$.
file
4201 if test -d conf$$.dir
; then
4202 rm -f conf$$.dir
/conf$$.
file
4208 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4210 # ... but there are two gotchas:
4211 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4212 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4213 # In both cases, we have to default to `cp -p'.
4214 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4216 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4221 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4222 rmdir conf$$.dir
2>/dev
/null
4224 if mkdir
-p .
2>/dev
/null
; then
4227 test -d .
/-p && rmdir .
/-p
4231 if test -x / >/dev
/null
2>&1; then
4234 if ls -dL / >/dev
/null
2>&1; then
4241 if test -d "$1"; then
4247 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4248 ???[sx]*):;;*)false;;esac;fi
4252 as_executable_p
=$as_test_x
4254 # Sed expression to map a string onto a valid CPP name.
4255 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4257 # Sed expression to map a string onto a valid variable name.
4258 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4263 # Save the log message, to keep $[0] and so on meaningful, and to
4264 # report actual input values of CONFIG_FILES etc. instead of their
4265 # values after options handling.
4267 This file was extended by GNU C Runtime Library $as_me 1.0, which was
4268 generated by GNU Autoconf 2.61. Invocation command line was
4270 CONFIG_FILES = $CONFIG_FILES
4271 CONFIG_HEADERS = $CONFIG_HEADERS
4272 CONFIG_LINKS = $CONFIG_LINKS
4273 CONFIG_COMMANDS = $CONFIG_COMMANDS
4276 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4281 cat >>$CONFIG_STATUS <<_ACEOF
4282 # Files that config.status was made for.
4283 config_files="$ac_config_files"
4284 config_commands="$ac_config_commands"
4288 cat >>$CONFIG_STATUS <<\_ACEOF
4290 \`$as_me' instantiates files from templates according to the
4291 current configuration.
4293 Usage: $0 [OPTIONS] [FILE]...
4295 -h, --help print this help, then exit
4296 -V, --version print version number and configuration settings, then exit
4297 -q, --quiet do not print progress messages
4298 -d, --debug don't remove temporary files
4299 --recheck update $as_me by reconfiguring in the same conditions
4300 --file=FILE[:TEMPLATE]
4301 instantiate the configuration file FILE
4303 Configuration files:
4306 Configuration commands:
4309 Report bugs to <bug-autoconf@gnu.org>."
4312 cat >>$CONFIG_STATUS <<_ACEOF
4314 GNU C Runtime Library config.status 1.0
4315 configured by $0, generated by GNU Autoconf 2.61,
4316 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4318 Copyright (C) 2006 Free Software Foundation, Inc.
4319 This config.status script is free software; the Free Software Foundation
4320 gives unlimited permission to copy, distribute and modify it."
4327 cat >>$CONFIG_STATUS <<\_ACEOF
4328 # If no file are specified by the user, then we need to provide default
4329 # value. By we need to know if files were specified by the user.
4335 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4336 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4347 # Handling of the options.
4348 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4350 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4351 echo "$ac_cs_version"; exit ;;
4352 --debug |
--debu |
--deb |
--de |
--d |
-d )
4354 --file |
--fil |
--fi |
--f )
4356 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4357 ac_need_defaults
=false
;;
4358 --he |
--h |
--help |
--hel |
-h )
4359 echo "$ac_cs_usage"; exit ;;
4360 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4361 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4365 -*) { echo "$as_me: error: unrecognized option: $1
4366 Try \`$0 --help' for more information." >&2
4367 { (exit 1); exit 1; }; } ;;
4369 *) ac_config_targets
="$ac_config_targets $1"
4370 ac_need_defaults
=false
;;
4376 ac_configure_extra_args
=
4378 if $ac_cs_silent; then
4380 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4384 cat >>$CONFIG_STATUS <<_ACEOF
4385 if \$ac_cs_recheck; then
4386 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4389 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4393 cat >>$CONFIG_STATUS <<\_ACEOF
4397 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4398 ## Running $as_me. ##
4404 cat >>$CONFIG_STATUS <<_ACEOF
4411 with_target_subdir=${with_target_subdir}
4412 with_multisubdir=${with_multisubdir}
4413 ac_configure_args="--enable-multilib ${ac_configure_args}"
4414 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4415 libgcc_topdir=${libgcc_topdir}
4421 cat >>$CONFIG_STATUS <<\_ACEOF
4423 # Handling of arguments.
4424 for ac_config_target
in $ac_config_targets
4426 case $ac_config_target in
4427 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4428 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
4430 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4431 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4432 { (exit 1); exit 1; }; };;
4437 # If the user did not use the arguments to specify the items to instantiate,
4438 # then the envvar interface is used. Set only those that are not.
4439 # We use the long form for the default assignment because of an extremely
4440 # bizarre bug on SunOS 4.1.3.
4441 if $ac_need_defaults; then
4442 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4443 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4446 # Have a temporary directory for convenience. Make it in the build tree
4447 # simply because there is no reason against having it here, and in addition,
4448 # creating and moving files from /tmp can sometimes cause problems.
4449 # Hook for its removal unless debugging.
4450 # Note that there is a small window in which the directory will not be cleaned:
4451 # after its creation but before its name has been assigned to `$tmp'.
4455 trap 'exit_status=$?
4456 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4458 trap '{ (exit 1); exit 1; }' 1 2 13 15
4460 # Create a (secure) tmp directory for tmp files.
4463 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4464 test -n "$tmp" && test -d "$tmp"
4467 tmp
=.
/conf$$
-$RANDOM
4468 (umask 077 && mkdir
"$tmp")
4471 echo "$me: cannot create a temporary directory in ." >&2
4472 { (exit 1); exit 1; }
4476 # Set up the sed scripts for CONFIG_FILES section.
4479 # No need to generate the scripts if there are no CONFIG_FILES.
4480 # This happens for instance when ./config.status config.h
4481 if test -n "$CONFIG_FILES"; then
4488 for ac_last_try
in false false false false false
:; do
4489 cat >conf$
$subs.
sed <<_ACEOF
4490 SHELL!$SHELL$ac_delim
4491 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4492 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4493 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4494 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4495 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4496 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4497 exec_prefix!$exec_prefix$ac_delim
4498 prefix!$prefix$ac_delim
4499 program_transform_name!$program_transform_name$ac_delim
4500 bindir!$bindir$ac_delim
4501 sbindir!$sbindir$ac_delim
4502 libexecdir!$libexecdir$ac_delim
4503 datarootdir!$datarootdir$ac_delim
4504 datadir!$datadir$ac_delim
4505 sysconfdir!$sysconfdir$ac_delim
4506 sharedstatedir!$sharedstatedir$ac_delim
4507 localstatedir!$localstatedir$ac_delim
4508 includedir!$includedir$ac_delim
4509 oldincludedir!$oldincludedir$ac_delim
4510 docdir!$docdir$ac_delim
4511 infodir!$infodir$ac_delim
4512 htmldir!$htmldir$ac_delim
4513 dvidir!$dvidir$ac_delim
4514 pdfdir!$pdfdir$ac_delim
4515 psdir!$psdir$ac_delim
4516 libdir!$libdir$ac_delim
4517 localedir!$localedir$ac_delim
4518 mandir!$mandir$ac_delim
4520 ECHO_C!$ECHO_C$ac_delim
4521 ECHO_N!$ECHO_N$ac_delim
4522 ECHO_T!$ECHO_T$ac_delim
4524 build_alias!$build_alias$ac_delim
4525 host_alias!$host_alias$ac_delim
4526 target_alias!$target_alias$ac_delim
4527 libgcc_topdir!$libgcc_topdir$ac_delim
4528 enable_shared!$enable_shared$ac_delim
4529 slibdir!$slibdir$ac_delim
4530 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4531 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4532 INSTALL_DATA!$INSTALL_DATA$ac_delim
4534 build!$build$ac_delim
4535 build_cpu!$build_cpu$ac_delim
4536 build_vendor!$build_vendor$ac_delim
4537 build_os!$build_os$ac_delim
4539 host_cpu!$host_cpu$ac_delim
4540 host_vendor!$host_vendor$ac_delim
4541 host_os!$host_os$ac_delim
4542 host_noncanonical!$host_noncanonical$ac_delim
4543 build_libsubdir!$build_libsubdir$ac_delim
4544 build_subdir!$build_subdir$ac_delim
4545 host_subdir!$host_subdir$ac_delim
4546 target_subdir!$target_subdir$ac_delim
4550 RANLIB!$RANLIB$ac_delim
4551 STRIP!$STRIP$ac_delim
4554 CFLAGS!$CFLAGS$ac_delim
4555 LDFLAGS!$LDFLAGS$ac_delim
4556 CPPFLAGS!$CPPFLAGS$ac_delim
4557 ac_ct_CC!$ac_ct_CC$ac_delim
4558 EXEEXT!$EXEEXT$ac_delim
4559 OBJEXT!$OBJEXT$ac_delim
4561 decimal_float!$decimal_float$ac_delim
4562 vis_hide!$vis_hide$ac_delim
4563 tmake_file!$tmake_file$ac_delim
4564 extra_parts!$extra_parts$ac_delim
4565 asm_hidden_op!$asm_hidden_op$ac_delim
4566 LIBOBJS!$LIBOBJS$ac_delim
4567 LTLIBOBJS!$LTLIBOBJS$ac_delim
4570 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
4572 elif $ac_last_try; then
4573 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4574 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4575 { (exit 1); exit 1; }; }
4577 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
4581 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4582 if test -n "$ac_eof"; then
4583 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
4584 ac_eof
=`expr $ac_eof + 1`
4587 cat >>$CONFIG_STATUS <<_ACEOF
4588 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4589 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4592 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4593 s/^/s,@/; s/!/@,|#_!!_#|/
4596 s/'"$ac_delim"'$/,g/; t
4598 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4599 ' >>$CONFIG_STATUS <conf$
$subs.
sed
4600 rm -f conf$
$subs.
sed
4601 cat >>$CONFIG_STATUS <<_ACEOF
4608 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4609 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4610 # trailing colons and then remove the whole line if VPATH becomes empty
4611 # (actually we leave an empty line to preserve line numbers).
4612 if test "x$srcdir" = x.
; then
4613 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4617 s/^\([^=]*=[ ]*\):*/\1/
4623 cat >>$CONFIG_STATUS <<\_ACEOF
4624 fi # test -n "$CONFIG_FILES"
4627 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
4630 :[FHLC
]) ac_mode
=$ac_tag; continue;;
4632 case $ac_mode$ac_tag in
4634 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4635 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4636 { (exit 1); exit 1; }; };;
4637 :[FH
]-) ac_tag
=-:-;;
4638 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
4655 -) ac_f
="$tmp/stdin";;
4656 *) # Look for the file first in the build tree, then in the source tree
4657 # (if the path is not absolute). The absolute path cannot be DOS-style,
4658 # because $ac_f cannot contain `:'.
4662 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
4664 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4665 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4666 { (exit 1); exit 1; }; };;
4668 ac_file_inputs
="$ac_file_inputs $ac_f"
4671 # Let's still pretend it is `configure' which instantiates (i.e., don't
4672 # use $as_me), people would be surprised to read:
4673 # /* config.h. Generated by config.status. */
4674 configure_input
="Generated from "`IFS=:
4675 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4676 if test x
"$ac_file" != x-
; then
4677 configure_input
="$ac_file. $configure_input"
4678 { echo "$as_me:$LINENO: creating $ac_file" >&5
4679 echo "$as_me: creating $ac_file" >&6;}
4683 *:-:* |
*:-) cat >"$tmp/stdin";;
4688 ac_dir
=`$as_dirname -- "$ac_file" ||
4689 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4690 X"$ac_file" : 'X\(//\)[^/]' \| \
4691 X"$ac_file" : 'X\(//\)$' \| \
4692 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4713 -*) as_dir
=.
/$as_dir;;
4715 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
4719 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4720 *) as_qdir
=$as_dir;;
4722 as_dirs
="'$as_qdir' $as_dirs"
4723 as_dir
=`$as_dirname -- "$as_dir" ||
4724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4725 X"$as_dir" : 'X\(//\)[^/]' \| \
4726 X"$as_dir" : 'X\(//\)$' \| \
4727 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4746 test -d "$as_dir" && break
4748 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4749 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4750 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4751 { (exit 1); exit 1; }; }; }
4755 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4757 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4758 # A ".." for each directory in $ac_dir_suffix.
4759 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4760 case $ac_top_builddir_sub in
4761 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4762 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4765 ac_abs_top_builddir
=$ac_pwd
4766 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4767 # for backward compatibility:
4768 ac_top_builddir
=$ac_top_build_prefix
4771 .
) # We are building in place.
4773 ac_top_srcdir
=$ac_top_builddir_sub
4774 ac_abs_top_srcdir
=$ac_pwd ;;
4775 [\\/]* | ?
:[\\/]* ) # Absolute name.
4776 ac_srcdir
=$srcdir$ac_dir_suffix;
4777 ac_top_srcdir
=$srcdir
4778 ac_abs_top_srcdir
=$srcdir ;;
4780 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4781 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4782 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4784 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4794 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
4795 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
4799 cat >>$CONFIG_STATUS <<\_ACEOF
4800 # If the template does not know about datarootdir, expand it.
4801 # FIXME: This hack should be removed a few years after 2.60.
4802 ac_datarootdir_hack
=; ac_datarootdir_seen
=
4804 case `sed -n '/datarootdir/ {
4813 ' $ac_file_inputs` in
4814 *datarootdir
*) ac_datarootdir_seen
=yes;;
4815 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
4816 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4817 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4819 cat >>$CONFIG_STATUS <<_ACEOF
4820 ac_datarootdir_hack='
4821 s&@datadir@&$datadir&g
4822 s&@docdir@&$docdir&g
4823 s&@infodir@&$infodir&g
4824 s&@localedir@&$localedir&g
4825 s&@mandir@&$mandir&g
4826 s&\\\${datarootdir}&$datarootdir&g' ;;
4830 # Neutralize VPATH when `$srcdir' = `.'.
4831 # Shell code in configure.ac might set extrasub.
4832 # FIXME: do we really want to maintain this feature?
4833 cat >>$CONFIG_STATUS <<_ACEOF
4837 cat >>$CONFIG_STATUS <<\_ACEOF
4839 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4840 s
&@configure_input@
&$configure_input&;t t
4841 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4842 s
&@srcdir@
&$ac_srcdir&;t t
4843 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4844 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4845 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4846 s
&@builddir@
&$ac_builddir&;t t
4847 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4848 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4849 s
&@INSTALL@
&$ac_INSTALL&;t t
4850 $ac_datarootdir_hack
4851 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
4853 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4854 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
4855 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
4856 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4857 which seems to be undefined. Please make sure it is defined." >&5
4858 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4859 which seems to be undefined. Please make sure it is defined." >&2;}
4863 -) cat "$tmp/out"; rm -f "$tmp/out";;
4864 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4869 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
4870 echo "$as_me: executing $ac_file commands" >&6;}
4875 case $ac_file$ac_mode in
4876 "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
4877 if test -n "$CONFIG_FILES"; then
4878 # FIXME: We shouldn't need to
set ac_file
4880 .
${libgcc_topdir}/config-ml.
in
4887 { (exit 0); exit 0; }
4889 chmod +x
$CONFIG_STATUS
4890 ac_clean_files
=$ac_clean_files_save
4893 # configure is writing to config.log, and then calls config.status.
4894 # config.status does its own redirection, appending to config.log.
4895 # Unfortunately, on DOS this fails, as config.log is still kept open
4896 # by configure, so config.status won't be able to write to it; its
4897 # output is simply discarded. So we exec the FD to /dev/null,
4898 # effectively closing config.log, so it can be properly (re)opened and
4899 # appended to by config.status. When coming back to configure, we
4900 # need to make the FD available again.
4901 if test "$no_create" != yes; then
4903 ac_config_status_args
=
4904 test "$silent" = yes &&
4905 ac_config_status_args
="$ac_config_status_args --quiet"
4907 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4909 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4910 # would make configure fail if this is the last instruction.
4911 $ac_cs_success ||
{ (exit 1); exit 1; }