2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
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.
579 ac_unique_file
="move-if-change"
589 program_transform_name
637 TOPLEVEL_CONFIGURE_ARGUMENTS
658 SYSROOT_CFLAGS_FOR_TARGET
659 DEBUG_PREFIX_CFLAGS_FOR_TARGET
727 COMPILER_AS_FOR_TARGET
728 COMPILER_LD_FOR_TARGET
729 COMPILER_NM_FOR_TARGET
731 MAINTAINER_MODE_FALSE
738 ac_subst_files
='serialization_dependencies
743 ac_precious_vars
='build_alias
784 # Initialize some variables set by options.
786 ac_init_version
=false
787 # The variables have the same names as the options, with
788 # dashes changed to underlines.
796 program_transform_name
=s
,x
,x
,
804 # Installation directory options.
805 # These are left unexpanded so users can "make install exec_prefix=/foo"
806 # and all the variables that are supposed to be based on exec_prefix
807 # by default will actually change.
808 # Use braces instead of parens because sh, perl, etc. also accept them.
809 # (The list follows the same order as the GNU Coding Standards.)
810 bindir
='${exec_prefix}/bin'
811 sbindir
='${exec_prefix}/sbin'
812 libexecdir
='${exec_prefix}/libexec'
813 datarootdir
='${prefix}/share'
814 datadir
='${datarootdir}'
815 sysconfdir
='${prefix}/etc'
816 sharedstatedir
='${prefix}/com'
817 localstatedir
='${prefix}/var'
818 includedir
='${prefix}/include'
819 oldincludedir
='/usr/include'
820 docdir
='${datarootdir}/doc/${PACKAGE}'
821 infodir
='${datarootdir}/info'
826 libdir
='${exec_prefix}/lib'
827 localedir
='${datarootdir}/locale'
828 mandir
='${datarootdir}/man'
834 # If the previous option needs an argument, assign it.
835 if test -n "$ac_prev"; then
836 eval $ac_prev=\
$ac_option
842 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
846 # Accept the important Cygnus configure options, so we can diagnose typos.
848 case $ac_dashdash$ac_option in
852 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
854 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
857 -build |
--build |
--buil |
--bui |
--bu)
858 ac_prev
=build_alias
;;
859 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
860 build_alias
=$ac_optarg ;;
862 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
863 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
864 ac_prev
=cache_file
;;
865 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
866 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
867 cache_file
=$ac_optarg ;;
870 cache_file
=config.cache
;;
872 -datadir |
--datadir |
--datadi |
--datad)
874 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
875 datadir
=$ac_optarg ;;
877 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
878 |
--dataroo |
--dataro |
--datar)
879 ac_prev
=datarootdir
;;
880 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
881 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
882 datarootdir
=$ac_optarg ;;
884 -disable-* |
--disable-*)
885 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
886 # Reject names that are not valid shell variable names.
887 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
888 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
889 { (exit 1); exit 1; }; }
890 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
891 eval enable_
$ac_feature=no
;;
893 -docdir |
--docdir |
--docdi |
--doc |
--do)
895 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
898 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
900 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
903 -enable-* |
--enable-*)
904 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
907 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
908 { (exit 1); exit 1; }; }
909 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
910 eval enable_
$ac_feature=\
$ac_optarg ;;
912 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
913 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
914 |
--exec |
--exe |
--ex)
915 ac_prev
=exec_prefix
;;
916 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
917 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
918 |
--exec=* |
--exe=* |
--ex=*)
919 exec_prefix
=$ac_optarg ;;
921 -gas |
--gas |
--ga |
--g)
922 # Obsolete; use --with-gas.
925 -help |
--help |
--hel |
--he |
-h)
927 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
928 ac_init_help
=recursive
;;
929 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
930 ac_init_help
=short
;;
932 -host |
--host |
--hos |
--ho)
933 ac_prev
=host_alias
;;
934 -host=* |
--host=* |
--hos=* |
--ho=*)
935 host_alias
=$ac_optarg ;;
937 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
939 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
941 htmldir
=$ac_optarg ;;
943 -includedir |
--includedir |
--includedi |
--included |
--include \
944 |
--includ |
--inclu |
--incl |
--inc)
945 ac_prev
=includedir
;;
946 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
947 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
948 includedir
=$ac_optarg ;;
950 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
952 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
953 infodir
=$ac_optarg ;;
955 -libdir |
--libdir |
--libdi |
--libd)
957 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
960 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
961 |
--libexe |
--libex |
--libe)
962 ac_prev
=libexecdir
;;
963 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
964 |
--libexe=* |
--libex=* |
--libe=*)
965 libexecdir
=$ac_optarg ;;
967 -localedir |
--localedir |
--localedi |
--localed |
--locale)
969 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
970 localedir
=$ac_optarg ;;
972 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
973 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
974 ac_prev
=localstatedir
;;
975 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
976 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
977 localstatedir
=$ac_optarg ;;
979 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
981 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
985 # Obsolete; use --without-fp.
988 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
989 |
--no-cr |
--no-c |
-n)
992 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
993 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
996 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
997 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
998 |
--oldin |
--oldi |
--old |
--ol |
--o)
999 ac_prev
=oldincludedir
;;
1000 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1001 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1002 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1003 oldincludedir
=$ac_optarg ;;
1005 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1007 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1008 prefix
=$ac_optarg ;;
1010 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1011 |
--program-pre |
--program-pr |
--program-p)
1012 ac_prev
=program_prefix
;;
1013 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1014 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1015 program_prefix
=$ac_optarg ;;
1017 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1018 |
--program-suf |
--program-su |
--program-s)
1019 ac_prev
=program_suffix
;;
1020 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1021 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1022 program_suffix
=$ac_optarg ;;
1024 -program-transform-name |
--program-transform-name \
1025 |
--program-transform-nam |
--program-transform-na \
1026 |
--program-transform-n |
--program-transform- \
1027 |
--program-transform |
--program-transfor \
1028 |
--program-transfo |
--program-transf \
1029 |
--program-trans |
--program-tran \
1030 |
--progr-tra |
--program-tr |
--program-t)
1031 ac_prev
=program_transform_name
;;
1032 -program-transform-name=* |
--program-transform-name=* \
1033 |
--program-transform-nam=* |
--program-transform-na=* \
1034 |
--program-transform-n=* |
--program-transform-=* \
1035 |
--program-transform=* |
--program-transfor=* \
1036 |
--program-transfo=* |
--program-transf=* \
1037 |
--program-trans=* |
--program-tran=* \
1038 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1039 program_transform_name
=$ac_optarg ;;
1041 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1043 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1044 pdfdir
=$ac_optarg ;;
1046 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1048 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1051 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1052 |
-silent |
--silent |
--silen |
--sile |
--sil)
1055 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1057 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1059 sbindir
=$ac_optarg ;;
1061 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1062 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1063 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1065 ac_prev
=sharedstatedir
;;
1066 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1067 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1068 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1070 sharedstatedir
=$ac_optarg ;;
1072 -site |
--site |
--sit)
1074 -site=* |
--site=* |
--sit=*)
1077 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1079 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1080 srcdir
=$ac_optarg ;;
1082 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1083 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1084 ac_prev
=sysconfdir
;;
1085 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1086 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1087 sysconfdir
=$ac_optarg ;;
1089 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1090 ac_prev
=target_alias
;;
1091 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1092 target_alias
=$ac_optarg ;;
1094 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1097 -version |
--version |
--versio |
--versi |
--vers |
-V)
1098 ac_init_version
=: ;;
1101 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1104 { echo "$as_me: error: invalid package name: $ac_package" >&2
1105 { (exit 1); exit 1; }; }
1106 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1107 eval with_
$ac_package=\
$ac_optarg ;;
1109 -without-* |
--without-*)
1110 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1113 { echo "$as_me: error: invalid package name: $ac_package" >&2
1114 { (exit 1); exit 1; }; }
1115 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1116 eval with_
$ac_package=no
;;
1119 # Obsolete; use --with-x.
1122 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1123 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1124 ac_prev
=x_includes
;;
1125 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1126 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1127 x_includes
=$ac_optarg ;;
1129 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1130 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1131 ac_prev
=x_libraries
;;
1132 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1133 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1134 x_libraries
=$ac_optarg ;;
1136 -*) { echo "$as_me: error: unrecognized option: $ac_option
1137 Try \`$0 --help' for more information." >&2
1138 { (exit 1); exit 1; }; }
1142 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1145 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1146 { (exit 1); exit 1; }; }
1147 eval $ac_envvar=\
$ac_optarg
1148 export $ac_envvar ;;
1151 # FIXME: should be removed in autoconf 3.0.
1152 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1153 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1154 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1155 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1161 if test -n "$ac_prev"; then
1162 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1163 { echo "$as_me: error: missing argument to $ac_option" >&2
1164 { (exit 1); exit 1; }; }
1167 # Be sure to have absolute directory names.
1168 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1169 datadir sysconfdir sharedstatedir localstatedir includedir \
1170 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1171 libdir localedir mandir
1173 eval ac_val
=\$
$ac_var
1175 [\\/$
]* | ?
:[\\/]* ) continue;;
1176 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1178 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1179 { (exit 1); exit 1; }; }
1182 # There might be people who depend on the old broken behavior: `$host'
1183 # used to hold the argument of --host etc.
1184 # FIXME: To remove some day.
1187 target
=$target_alias
1189 # FIXME: To remove some day.
1190 if test "x$host_alias" != x
; then
1191 if test "x$build_alias" = x
; then
1192 cross_compiling
=maybe
1193 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1194 If a cross compiler is detected then cross compile mode will be used." >&2
1195 elif test "x$build_alias" != "x$host_alias"; then
1201 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1203 test "$silent" = yes && exec 6>/dev
/null
1206 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1207 ac_ls_di
=`ls -di .` &&
1208 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1209 { echo "$as_me: error: Working directory cannot be determined" >&2
1210 { (exit 1); exit 1; }; }
1211 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1212 { echo "$as_me: error: pwd does not report name of working directory" >&2
1213 { (exit 1); exit 1; }; }
1216 # Find the source files, if location was not specified.
1217 if test -z "$srcdir"; then
1218 ac_srcdir_defaulted
=yes
1219 # Try the directory containing this script, then the parent directory.
1220 ac_confdir
=`$as_dirname -- "$0" ||
1221 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1222 X"$0" : 'X\(//\)[^/]' \| \
1223 X"$0" : 'X\(//\)$' \| \
1224 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1244 if test ! -r "$srcdir/$ac_unique_file"; then
1248 ac_srcdir_defaulted
=no
1250 if test ! -r "$srcdir/$ac_unique_file"; then
1251 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1252 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1253 { (exit 1); exit 1; }; }
1255 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1257 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1258 { (exit 1); exit 1; }; }
1260 # When building in place, set srcdir=.
1261 if test "$ac_abs_confdir" = "$ac_pwd"; then
1264 # Remove unnecessary trailing slashes from srcdir.
1265 # Double slashes in file names in object file debugging info
1266 # mess up M-x gdb in Emacs.
1268 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1270 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1272 for ac_var
in $ac_precious_vars; do
1273 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1274 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1275 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1276 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1280 # Report the --help message.
1282 if test "$ac_init_help" = "long"; then
1283 # Omit some internal or obsolete options to make the list less imposing.
1284 # This message is too long to be a string in the A/UX 3.1 sh.
1286 \`configure' configures this package to adapt to many kinds of systems.
1288 Usage: $0 [OPTION]... [VAR=VALUE]...
1290 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1291 VAR=VALUE. See below for descriptions of some of the useful variables.
1293 Defaults for the options are specified in brackets.
1296 -h, --help display this help and exit
1297 --help=short display options specific to this package
1298 --help=recursive display the short help of all the included packages
1299 -V, --version display version information and exit
1300 -q, --quiet, --silent do not print \`checking...' messages
1301 --cache-file=FILE cache test results in FILE [disabled]
1302 -C, --config-cache alias for \`--cache-file=config.cache'
1303 -n, --no-create do not create output files
1304 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1306 Installation directories:
1307 --prefix=PREFIX install architecture-independent files in PREFIX
1308 [$ac_default_prefix]
1309 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1312 By default, \`make install' will install all the files in
1313 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1314 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1315 for instance \`--prefix=\$HOME'.
1317 For better control, use the options below.
1319 Fine tuning of the installation directories:
1320 --bindir=DIR user executables [EPREFIX/bin]
1321 --sbindir=DIR system admin executables [EPREFIX/sbin]
1322 --libexecdir=DIR program executables [EPREFIX/libexec]
1323 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1324 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1325 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1326 --libdir=DIR object code libraries [EPREFIX/lib]
1327 --includedir=DIR C header files [PREFIX/include]
1328 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1329 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1330 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1331 --infodir=DIR info documentation [DATAROOTDIR/info]
1332 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1333 --mandir=DIR man documentation [DATAROOTDIR/man]
1334 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1335 --htmldir=DIR html documentation [DOCDIR]
1336 --dvidir=DIR dvi documentation [DOCDIR]
1337 --pdfdir=DIR pdf documentation [DOCDIR]
1338 --psdir=DIR ps documentation [DOCDIR]
1344 --program-prefix=PREFIX prepend PREFIX to installed program names
1345 --program-suffix=SUFFIX append SUFFIX to installed program names
1346 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1349 --build=BUILD configure
for building on BUILD
[guessed
]
1350 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1351 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1355 if test -n "$ac_init_help"; then
1360 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1361 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1362 --enable-gold use gold instead of ld
1363 --enable-libada build libada directory
1364 --enable-libssp build libssp directory
1365 --enable-stage1-languages[=all
] choose additional languages to build during
1366 stage1. Mostly useful
for compiler development.
1367 --enable-objc-gc enable use of Boehm
's garbage collector with the
1368 GNU Objective-C runtime
1369 --enable-bootstrap enable bootstrapping [yes if native build]
1370 --enable-serial-[{host,target,build}-]configure
1371 force sequential configuration of
1372 sub-packages for the host, target or build
1373 machine, or all sub-packages
1374 --enable-maintainer-mode enable make rules and dependencies not useful
1375 (and sometimes confusing) to the casual installer
1376 --enable-stage1-checking[=all] choose additional checking for stage1
1378 --enable-werror enable -Werror in bootstrap stage2 and later
1381 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1382 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1383 --with-build-libsubdir=DIR Directory where to find libraries for build system
1384 --with-mpfr-dir=PATH this option has been REMOVED
1385 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1386 Equivalent to --with-mpfr-include=PATH/include
1387 plus --with-mpfr-lib=PATH/lib
1388 --with-mpfr-include=PATH
1389 specify directory for installed MPFR include files
1390 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1391 --with-gmp-dir=PATH this option has been REMOVED
1392 --with-gmp=PATH specify prefix directory for the installed GMP package.
1393 Equivalent to --with-gmp-include=PATH/include
1394 plus --with-gmp-lib=PATH/lib
1395 --with-gmp-include=PATH specify directory for installed GMP include files
1396 --with-gmp-lib=PATH specify directory for the installed GMP library
1397 --with-build-sysroot=SYSROOT
1398 use sysroot as the system root during the build
1399 --with-debug-prefix-map='A
=B C
=D ...
'
1400 map A to B, C to D ... in debug information
1401 --with-build-time-tools=PATH
1402 use given path to find target tools during the build
1403 --with-datarootdir use datarootdir as the data root directory.
1404 --with-docdir install documentation in this directory.
1405 --with-pdfdir install pdf in this directory.
1406 --with-htmldir install html in this directory.
1408 Some influential environment variables:
1409 CC C compiler command
1410 CFLAGS C compiler flags
1411 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1412 nonstandard directory <lib dir>
1413 LIBS libraries to pass to the linker, e.g. -l<library>
1414 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1415 you have headers in a nonstandard directory <include dir>
1416 CXX C++ compiler command
1417 CXXFLAGS C++ compiler flags
1420 DLLTOOL DLLTOOL for the host
1422 LIPO LIPO for the host
1424 RANLIB RANLIB for the host
1425 STRIP STRIP for the host
1426 WINDRES WINDRES for the host
1427 WINDMC WINDMC for the host
1428 OBJCOPY OBJCOPY for the host
1429 OBJDUMP OBJDUMP for the host
1439 GFORTRAN for the target
1445 DLLTOOL for the target
1453 OBJDUMP for the target
1455 RANLIB for the target
1457 STRIP for the target
1459 WINDRES for the target
1461 WINDMC for the target
1463 Use these variables to override the choices made by `configure' or to
help
1464 it to
find libraries and programs with nonstandard names
/locations.
1470 if test "$ac_init_help" = "recursive"; then
1471 # If there are subdirs, report their specific --help.
1472 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1473 test -d "$ac_dir" ||
continue
1477 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1479 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1480 # A ".." for each directory in $ac_dir_suffix.
1481 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1482 case $ac_top_builddir_sub in
1483 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1484 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1487 ac_abs_top_builddir
=$ac_pwd
1488 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1489 # for backward compatibility:
1490 ac_top_builddir
=$ac_top_build_prefix
1493 .
) # We are building in place.
1495 ac_top_srcdir
=$ac_top_builddir_sub
1496 ac_abs_top_srcdir
=$ac_pwd ;;
1497 [\\/]* | ?
:[\\/]* ) # Absolute name.
1498 ac_srcdir
=$srcdir$ac_dir_suffix;
1499 ac_top_srcdir
=$srcdir
1500 ac_abs_top_srcdir
=$srcdir ;;
1502 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1503 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1504 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1506 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1508 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1509 # Check for guested configure.
1510 if test -f "$ac_srcdir/configure.gnu"; then
1512 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1513 elif test -f "$ac_srcdir/configure"; then
1515 $SHELL "$ac_srcdir/configure" --help=recursive
1517 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1519 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1523 test -n "$ac_init_help" && exit $ac_status
1524 if $ac_init_version; then
1527 generated by GNU Autoconf
2.61
1529 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1530 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1531 This configure
script is free software
; the Free Software Foundation
1532 gives unlimited permission to copy
, distribute and modify it.
1536 cat >config.log
<<_ACEOF
1537 This file contains any messages produced by compilers while
1538 running configure, to aid debugging if configure makes a mistake.
1540 It was created by $as_me, which was
1541 generated by GNU Autoconf 2.61. Invocation command line was
1553 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1554 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1555 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1556 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1557 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1559 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1560 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1562 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1563 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1564 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1565 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1566 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1567 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1568 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1576 test -z "$as_dir" && as_dir
=.
1577 echo "PATH: $as_dir"
1593 # Keep a trace of the command line.
1594 # Strip out --no-create and --no-recursion so they do not pile up.
1595 # Strip out --silent because we don't want to record it for future runs.
1596 # Also quote any args containing shell meta-characters.
1597 # Make two passes to allow for proper duplicate-argument suppression.
1601 ac_must_keep_next
=false
1607 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1608 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1609 |
-silent |
--silent |
--silen |
--sile |
--sil)
1612 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1615 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1617 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1618 if test $ac_must_keep_next = true
; then
1619 ac_must_keep_next
=false
# Got value, back to normal.
1622 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1623 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1624 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1625 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1626 case "$ac_configure_args0 " in
1627 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1630 -* ) ac_must_keep_next
=true
;;
1633 ac_configure_args
="$ac_configure_args '$ac_arg'"
1638 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1639 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1641 # When interrupted or exit'd, cleanup temporary files, and complete
1642 # config.log. We remove comments because anyway the quotes in there
1643 # would cause problems or look ugly.
1644 # WARNING: Use '\'' to represent an apostrophe within the trap.
1645 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1646 trap 'exit_status=$?
1647 # Save into config.log some information that might help in debugging.
1652 ## ---------------- ##
1653 ## Cache variables. ##
1654 ## ---------------- ##
1657 # The following way of writing the cache mishandles newlines in values,
1659 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1660 eval ac_val=\$$ac_var
1664 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1665 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1668 _ | IFS | as_nl) ;; #(
1669 *) $as_unset $ac_var ;;
1674 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1675 *${as_nl}ac_space=\ *)
1677 "s/'\''/'\''\\\\'\'''\''/g;
1678 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1681 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1689 ## ----------------- ##
1690 ## Output variables. ##
1691 ## ----------------- ##
1694 for ac_var in $ac_subst_vars
1696 eval ac_val=\$$ac_var
1698 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1700 echo "$ac_var='\''$ac_val'\''"
1704 if test -n "$ac_subst_files"; then
1706 ## ------------------- ##
1707 ## File substitutions. ##
1708 ## ------------------- ##
1711 for ac_var
in $ac_subst_files
1713 eval ac_val
=\$
$ac_var
1715 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1717 echo "$ac_var='\''$ac_val'\''"
1722 if test -s confdefs.h; then
1732 test "$ac_signal" != 0 &&
1733 echo "$as_me: caught signal $ac_signal"
1734 echo "$as_me: exit $exit_status"
1736 rm -f core *.core core.conftest.* &&
1737 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1740 for ac_signal
in 1 2 13 15; do
1741 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1745 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1746 rm -f -r conftest
* confdefs.h
1748 # Predefined preprocessor variables.
1750 cat >>confdefs.h
<<_ACEOF
1751 #define PACKAGE_NAME "$PACKAGE_NAME"
1755 cat >>confdefs.h
<<_ACEOF
1756 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1760 cat >>confdefs.h
<<_ACEOF
1761 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1765 cat >>confdefs.h
<<_ACEOF
1766 #define PACKAGE_STRING "$PACKAGE_STRING"
1770 cat >>confdefs.h
<<_ACEOF
1771 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1775 # Let the site file select an alternate cache file if it wants to.
1776 # Prefer explicitly selected file to automatically selected ones.
1777 if test -n "$CONFIG_SITE"; then
1778 set x
"$CONFIG_SITE"
1779 elif test "x$prefix" != xNONE
; then
1780 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1782 set x
"$ac_default_prefix/share/config.site" \
1783 "$ac_default_prefix/etc/config.site"
1788 if test -r "$ac_site_file"; then
1789 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1790 echo "$as_me: loading site script $ac_site_file" >&6;}
1791 sed 's/^/| /' "$ac_site_file" >&5
1796 if test -r "$cache_file"; then
1797 # Some versions of bash will fail to source /dev/null (special
1798 # files actually), so we avoid doing that.
1799 if test -f "$cache_file"; then
1800 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1801 echo "$as_me: loading cache $cache_file" >&6;}
1803 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1804 *) .
"./$cache_file";;
1808 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1809 echo "$as_me: creating cache $cache_file" >&6;}
1813 # Check that the precious variables saved in the cache have kept the same
1815 ac_cache_corrupted
=false
1816 for ac_var
in $ac_precious_vars; do
1817 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1818 eval ac_new_set
=\
$ac_env_${ac_var}_set
1819 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1820 eval ac_new_val
=\
$ac_env_${ac_var}_value
1821 case $ac_old_set,$ac_new_set in
1823 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1824 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1825 ac_cache_corrupted
=: ;;
1827 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1828 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1829 ac_cache_corrupted
=: ;;
1832 if test "x$ac_old_val" != "x$ac_new_val"; then
1833 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1834 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1835 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1836 echo "$as_me: former value: $ac_old_val" >&2;}
1837 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1838 echo "$as_me: current value: $ac_new_val" >&2;}
1839 ac_cache_corrupted
=:
1842 # Pass precious variables to config.status.
1843 if test "$ac_new_set" = set; then
1845 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1846 *) ac_arg
=$ac_var=$ac_new_val ;;
1848 case " $ac_configure_args " in
1849 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1850 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1854 if $ac_cache_corrupted; then
1855 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1856 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1857 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1858 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1859 { (exit 1); exit 1; }; }
1879 ac_cpp
='$CPP $CPPFLAGS'
1880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1887 # Find the build, host, and target systems.
1889 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1890 if test -f "$ac_dir/install-sh"; then
1892 ac_install_sh
="$ac_aux_dir/install-sh -c"
1894 elif test -f "$ac_dir/install.sh"; then
1896 ac_install_sh
="$ac_aux_dir/install.sh -c"
1898 elif test -f "$ac_dir/shtool"; then
1900 ac_install_sh
="$ac_aux_dir/shtool install -c"
1904 if test -z "$ac_aux_dir"; then
1905 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1906 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1907 { (exit 1); exit 1; }; }
1910 # These three variables are undocumented and unsupported,
1911 # and are intended to be withdrawn in a future Autoconf release.
1912 # They can cause serious problems if a builder's source tree is in a directory
1913 # whose full name contains unusual characters.
1914 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1915 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1916 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1919 # Make sure we can run config.sub.
1920 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1921 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1922 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1923 { (exit 1); exit 1; }; }
1925 { echo "$as_me:$LINENO: checking build system type" >&5
1926 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1927 if test "${ac_cv_build+set}" = set; then
1928 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 ac_build_alias
=$build_alias
1931 test "x$ac_build_alias" = x
&&
1932 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1933 test "x$ac_build_alias" = x
&&
1934 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1935 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1936 { (exit 1); exit 1; }; }
1937 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1938 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1939 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1940 { (exit 1); exit 1; }; }
1943 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1944 echo "${ECHO_T}$ac_cv_build" >&6; }
1945 case $ac_cv_build in
1947 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1948 echo "$as_me: error: invalid value of canonical build" >&2;}
1949 { (exit 1); exit 1; }; };;
1952 ac_save_IFS
=$IFS; IFS
='-'
1958 # Remember, the first character of IFS is used to create $*,
1959 # except with old shells:
1962 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1965 case ${build_alias} in
1966 "") build_noncanonical
=${build} ;;
1967 *) build_noncanonical
=${build_alias} ;;
1972 case ${host_alias} in
1973 "") host_noncanonical
=${build_noncanonical} ;;
1974 *) host_noncanonical
=${host_alias} ;;
1979 case ${target_alias} in
1980 "") target_noncanonical
=${host_noncanonical} ;;
1981 *) target_noncanonical
=${target_alias} ;;
1987 test "$host_noncanonical" = "$target_noncanonical" &&
1988 test "$program_prefix$program_suffix$program_transform_name" = \
1990 program_transform_name
=s
,y
,y
,
1992 { echo "$as_me:$LINENO: checking host system type" >&5
1993 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1994 if test "${ac_cv_host+set}" = set; then
1995 echo $ECHO_N "(cached) $ECHO_C" >&6
1997 if test "x$host_alias" = x
; then
1998 ac_cv_host
=$ac_cv_build
2000 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2001 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2002 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2003 { (exit 1); exit 1; }; }
2007 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2008 echo "${ECHO_T}$ac_cv_host" >&6; }
2011 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2012 echo "$as_me: error: invalid value of canonical host" >&2;}
2013 { (exit 1); exit 1; }; };;
2016 ac_save_IFS
=$IFS; IFS
='-'
2022 # Remember, the first character of IFS is used to create $*,
2023 # except with old shells:
2026 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2029 { echo "$as_me:$LINENO: checking target system type" >&5
2030 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2031 if test "${ac_cv_target+set}" = set; then
2032 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 if test "x$target_alias" = x
; then
2035 ac_cv_target
=$ac_cv_host
2037 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2038 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2039 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2040 { (exit 1); exit 1; }; }
2044 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2045 echo "${ECHO_T}$ac_cv_target" >&6; }
2046 case $ac_cv_target in
2048 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2049 echo "$as_me: error: invalid value of canonical target" >&2;}
2050 { (exit 1); exit 1; }; };;
2052 target
=$ac_cv_target
2053 ac_save_IFS
=$IFS; IFS
='-'
2059 # Remember, the first character of IFS is used to create $*,
2060 # except with old shells:
2063 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2066 # The aliases save the names the user supplied, while $host etc.
2067 # will get canonicalized.
2068 test -n "$target_alias" &&
2069 test "$program_prefix$program_suffix$program_transform_name" = \
2071 program_prefix
=${target_alias}-
2072 test "$program_prefix" != NONE
&&
2073 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2074 # Use a double $ so make ignores it.
2075 test "$program_suffix" != NONE
&&
2076 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2077 # Double any \ or $. echo might interpret backslashes.
2078 # By default was `s,x,x', remove it if useless.
2079 cat <<\_ACEOF
>conftest.
sed
2080 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2082 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2087 # Get 'install' or 'install-sh' and its variants.
2088 # Find a good install program. We prefer a C program (faster),
2089 # so one script is as good as another. But avoid the broken or
2090 # incompatible versions:
2091 # SysV /etc/install, /usr/sbin/install
2092 # SunOS /usr/etc/install
2093 # IRIX /sbin/install
2095 # AmigaOS /C/install, which installs bootblocks on floppy discs
2096 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2097 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2098 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2099 # OS/2's system install, which has a completely different semantic
2100 # ./install, which can be erroneously created by make from ./install.sh.
2101 # Reject install programs that cannot install multiple files.
2102 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2103 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2104 if test -z "$INSTALL"; then
2105 if test "${ac_cv_path_install+set}" = set; then
2106 echo $ECHO_N "(cached) $ECHO_C" >&6
2108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2112 test -z "$as_dir" && as_dir
=.
2113 # Account for people who put trailing slashes in PATH elements.
2115 .
/ | .
// |
/cC
/* | \
2116 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2117 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2120 # OSF1 and SCO ODT 3.0 have their own names for install.
2121 # Don't use installbsd from OSF since it installs stuff as root
2123 for ac_prog
in ginstall scoinst
install; do
2124 for ac_exec_ext
in '' $ac_executable_extensions; do
2125 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2126 if test $ac_prog = install &&
2127 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2128 # AIX install. It has an incompatible calling convention.
2130 elif test $ac_prog = install &&
2131 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2132 # program-specific install script used by HP pwplus--don't use.
2135 rm -rf conftest.one conftest.two conftest.dir
2136 echo one
> conftest.one
2137 echo two
> conftest.two
2139 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2140 test -s conftest.one
&& test -s conftest.two
&&
2141 test -s conftest.dir
/conftest.one
&&
2142 test -s conftest.dir
/conftest.two
2144 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2156 rm -rf conftest.one conftest.two conftest.dir
2159 if test "${ac_cv_path_install+set}" = set; then
2160 INSTALL
=$ac_cv_path_install
2162 # As a last resort, use the slow shell script. Don't cache a
2163 # value for INSTALL within a source directory, because that will
2164 # break other packages using the cache if that directory is
2165 # removed, or if the value is a relative name.
2166 INSTALL
=$ac_install_sh
2169 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2170 echo "${ECHO_T}$INSTALL" >&6; }
2172 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2173 # It thinks the first close brace ends the variable substitution.
2174 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2176 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2178 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2180 { echo "$as_me:$LINENO: checking whether ln works" >&5
2181 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
2182 if test "${acx_cv_prog_LN+set}" = set; then
2183 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 rm -f conftestdata_t
2186 echo >conftestdata_f
2187 if ln conftestdata_f conftestdata_t
2>/dev
/null
2193 rm -f conftestdata_f conftestdata_t
2196 if test $acx_cv_prog_LN = no
; then
2198 { echo "$as_me:$LINENO: result: no, using $LN" >&5
2199 echo "${ECHO_T}no, using $LN" >&6; }
2201 LN
="$acx_cv_prog_LN"
2202 { echo "$as_me:$LINENO: result: yes" >&5
2203 echo "${ECHO_T}yes" >&6; }
2206 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2207 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2209 if test "$LN_S" = "ln -s"; then
2210 { echo "$as_me:$LINENO: result: yes" >&5
2211 echo "${ECHO_T}yes" >&6; }
2213 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2214 echo "${ECHO_T}no, using $LN_S" >&6; }
2218 ### we might need to use some other shell than /bin/sh for running subshells
2219 ### If we are on Windows, search for the shell. This will permit people
2220 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2221 ### without also having to set CONFIG_SHELL. This code will work when
2222 ### using bash, which sets OSTYPE.
2225 if test x
${CONFIG_SHELL} = x
; then
2226 if test ! -f /bin
/sh
; then
2227 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
2228 CONFIG_SHELL
=${SHELL}
2231 for prog
in sh sh.exe bash bash.exe
; do
2232 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2233 for dir
in $PATH; do
2234 test -z "$dir" && dir
=.
2235 if test -f $dir/$prog; then
2236 CONFIG_SHELL
=$dir/$prog
2242 test -n "${CONFIG_SHELL}" && break
2250 config_shell
=${CONFIG_SHELL-/bin/sh}
2253 # if PWD already has a value, it is probably wrong.
2254 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2256 # Export original configure arguments for use by sub-configures.
2257 # Quote arguments with shell meta charatcers.
2258 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2259 set -- "$progname" "$@"
2263 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2264 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2265 # if the argument is of the form -foo=baz, quote the baz part only
2266 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2269 # Add the quoted argument to the list.
2270 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2272 if test "$silent" = yes; then
2273 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2275 # Remove the initial space we just introduced and, as these will be
2276 # expanded by make, quote '$'.
2277 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2280 moveifchange
=${srcdir}/move-if-change
2282 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2284 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2286 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2287 INSTALL
="${srcpwd}/install-sh -c"
2290 # Set srcdir to "." if that's what it is.
2291 # This is important for multilib support.
2293 if test "${pwd}" = "${srcpwd}" ; then
2301 ### To add a new directory to the tree, first choose whether it is a target
2302 ### or a host dependent tool. Then put it into the appropriate list
2303 ### (library or tools, host or target), doing a dependency sort.
2305 # Subdirs will be configured in the order listed in build_configdirs,
2306 # configdirs, or target_configdirs; see the serialization section below.
2308 # Dependency sorting is only needed when *configuration* must be done in
2309 # a particular order. In all cases a dependency should be specified in
2310 # the Makefile, whether or not it's implicitly specified here.
2312 # Double entries in build_configdirs, configdirs, or target_configdirs may
2313 # cause circular dependencies and break everything horribly.
2315 # these library is used by various programs built for the build
2318 build_libs
="build-libiberty"
2320 # these tools are built for the build environment
2321 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2323 # these libraries are used by various programs built for the host environment
2325 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr"
2327 # these tools are built for the host environment
2328 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2329 # know that we are building the simulator.
2330 # binutils, gas and ld appear in that order because it makes sense to run
2331 # "make check" in that particular order.
2332 # If --enable-gold is used, "gold" will replace "ld".
2333 host_tools
="texinfo byacc flex bison binutils gas ld fixincludes gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
2335 # libgcj represents the runtime libraries only used by gcj.
2336 libgcj
="target-libffi \
2341 # these libraries are built for the target environment, and are built after
2342 # the host libraries and the host tools (which may be a cross compiler)
2344 target_libraries
="target-libgcc \
2349 target-libstdc++-v3 \
2352 target-libgfortran \
2358 # these tools are built using the target libraries, and are intended to
2359 # run only in the target environment
2361 # note: any program that *uses* libraries that are in the "target_libraries"
2362 # list belongs in this list. those programs are also very likely
2363 # candidates for the "native_only" list which follows
2365 target_tools
="target-examples target-groff target-gperf target-rda"
2367 ################################################################################
2369 ## All tools belong in one of the four categories, and are assigned above
2370 ## We assign ${configdirs} this way to remove all embedded newlines. This
2371 ## is important because configure will choke if they ever get through.
2372 ## ${configdirs} is directories we build using the host tools.
2373 ## ${target_configdirs} is directories we build using the target tools.
2374 configdirs
=`echo ${host_libs} ${host_tools}`
2375 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2376 build_configdirs
=`echo ${build_libs} ${build_tools}`
2380 ################################################################################
2382 srcname
="gnu development package"
2384 # This gets set non-empty for some net releases of packages.
2387 # Define is_cross_compiler to save on calls to 'test'.
2389 if test x
"${host}" = x
"${target}" ; then
2390 is_cross_compiler
=no
2392 is_cross_compiler
=yes
2395 # Find the build and target subdir names.
2397 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2398 # have matching libraries, they should use host libraries: Makefile.tpl
2399 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2400 # However, they still use the build modules, because the corresponding
2401 # host modules (e.g. bison) are only built for the host when bootstrap
2403 # - build_subdir is where we find build modules, and never changes.
2404 # - build_libsubdir is where we find build libraries, and can be overridden.
2406 # Prefix 'build-' so this never conflicts with target_subdir.
2407 build_subdir
="build-${build_noncanonical}"
2409 # Check whether --with-build-libsubdir was given.
2410 if test "${with_build_libsubdir+set}" = set; then
2411 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2413 build_libsubdir
="$build_subdir"
2416 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2417 if ( test $srcdir = .
&& test -d gcc
) \
2418 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2419 host_subdir
="host-${host_noncanonical}"
2424 target_subdir
=${target_noncanonical}
2427 # Skipdirs are removed silently.
2429 # Noconfigdirs are removed loudly.
2433 # Make sure we don't let GNU ld be added if we didn't want it.
2434 if test x
$with_gnu_ld = xno
; then
2436 noconfigdirs
="$noconfigdirs ld gold"
2440 # Make sure we don't let GNU as be added if we didn't want it.
2441 if test x
$with_gnu_as = xno
; then
2443 noconfigdirs
="$noconfigdirs gas"
2446 # some tools are so dependent upon X11 that if we're not building with X,
2447 # it's not even worth trying to configure, much less build, that tool.
2450 yes |
"") ;; # the default value for this tree is that X11 is available
2452 skipdirs
="${skipdirs} tk itcl libgui"
2453 # We won't be able to build gdbtk without X.
2456 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2459 # Some tools are only suitable for building in a "native" situation.
2460 # Remove these if host!=target.
2461 native_only
="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
2463 # Similarly, some are only suitable for cross toolchains.
2464 # Remove these if host=target.
2465 cross_only
="target-libgloss target-newlib target-opcodes"
2467 case $is_cross_compiler in
2468 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2469 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2472 # If both --with-headers and --with-libs are specified, default to
2474 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2475 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2476 if test x
"${with_newlib}" = x
; then
2481 # Recognize --with-newlib/--without-newlib.
2482 case ${with_newlib} in
2483 no
) skipdirs
="${skipdirs} target-newlib" ;;
2484 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2487 # Handle --enable-gold.
2489 # Check whether --enable-gold was given.
2490 if test "${enable_gold+set}" = set; then
2491 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2496 if test "${ENABLE_GOLD}" = "yes"; then
2497 # Check for ELF target.
2500 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2501 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2502 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2*)
2504 *-*-linux*aout
* |
*-*-linux*oldld
*)
2512 if test "$is_elf" = "yes"; then
2513 # Check for target supported by gold.
2515 i?
86-*-* | x86_64-
*-* | sparc
*-*-*)
2516 configdirs
="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2522 # Configure extra directories which are host specific
2526 configdirs
="$configdirs libtermcap" ;;
2529 # A target can indicate whether a language isn't supported for some reason.
2530 # Only spaces may be used in this macro; not newlines or tabs.
2531 unsupported_languages
=
2533 # Remove more programs from consideration, based on the host or
2534 # target this usually means that a port of the program doesn't
2539 noconfigdirs
="$noconfigdirs byacc"
2541 i
[3456789]86-*-vsta)
2542 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2544 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2545 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2548 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2550 i
[3456789]86-*-mingw32*)
2551 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2552 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2554 i
[3456789]86-*-beos*)
2555 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2558 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2561 noconfigdirs
="$noconfigdirs rcs"
2564 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2567 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2572 # Check whether --enable-libada was given.
2573 if test "${enable_libada+set}" = set; then
2574 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
2579 if test "${ENABLE_LIBADA}" != "yes" ; then
2580 noconfigdirs
="$noconfigdirs gnattools"
2583 # Check whether --enable-libssp was given.
2584 if test "${enable_libssp+set}" = set; then
2585 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
2591 # Save it here so that, even in case of --enable-libgcj, if the Java
2592 # front-end isn't enabled, we still get libgcj disabled.
2593 libgcj_saved
=$libgcj
2594 case $enable_libgcj in
2596 # If we reset it here, it won't get added to noconfigdirs in the
2597 # target-specific build rules, so it will be forcibly enabled
2598 # (unless the Java language itself isn't enabled).
2602 # Make sure we get it printed in the list of not supported target libs.
2603 noconfigdirs
="$noconfigdirs ${libgcj}"
2608 # Disable libmudflap on some systems.
2609 if test x
$enable_libmudflap = x
; then
2611 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux*)
2612 # Enable libmudflap by default in GNU and friends.
2615 # Enable libmudflap by default in FreeBSD.
2618 # Disable it by default everywhere else.
2619 noconfigdirs
="$noconfigdirs target-libmudflap"
2624 # Disable libgomp on non POSIX hosted systems.
2625 if test x
$enable_libgomp = x
; then
2626 # Enable libgomp by default on hosted POSIX systems.
2628 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
2630 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2632 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2634 *-*-darwin* |
*-*-aix*)
2637 noconfigdirs
="$noconfigdirs target-libgomp"
2642 # Default libgloss CPU subdirectory.
2643 libgloss_dir
="$target_cpu"
2647 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2649 powerpc-
*-darwin* | i
[3456789]86-*-darwin* | x86_64-
*-darwin9*)
2650 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
2651 noconfigdirs
="$noconfigdirs sim target-rda"
2654 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2655 noconfigdirs
="$noconfigdirs sim target-rda"
2656 noconfigdirs
="$noconfigdirs ${libgcj}"
2658 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2659 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2662 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2663 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2664 && test -f /usr
/local
/include
/gmp.h
; then
2668 # Skip some stuff that's unsupported on some FreeBSD configurations.
2673 noconfigdirs
="$noconfigdirs ${libgcj}"
2678 # Remove unsupported stuff on all kaOS configurations.
2679 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
2680 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
2681 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
2682 noconfigdirs
="$noconfigdirs target-libgloss"
2685 # Skip some stuff on all NetBSD configurations.
2686 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
2688 # Skip some stuff that's unsupported on some NetBSD configurations.
2690 i
*86-*-netbsdelf*) ;;
2691 arm
*-*-netbsdelf*) ;;
2693 noconfigdirs
="$noconfigdirs ${libgcj}"
2698 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
2701 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2703 # The tpf target doesn't support gdb yet.
2705 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
2708 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
2711 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
2714 # ld works, but does not support shared libraries.
2715 # newlib is not 64 bit ready. I'm not sure about fileutils.
2716 # gas doesn't generate exception information.
2717 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
2720 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
2723 # newlib is not 64 bit ready
2724 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2727 # newlib is not 64 bit ready
2728 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2731 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2734 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
2736 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
2737 noconfigdirs
="$noconfigdirs ${libgcj}"
2738 noconfigdirs
="$noconfigdirs target-examples"
2739 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
2740 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
2741 noconfigdirs
="$noconfigdirs expect dejagnu"
2742 # the C++ libraries don't build on top of CE's C libraries
2743 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2744 noconfigdirs
="$noconfigdirs target-newlib"
2746 *-*-cygwin*) ;; # keep gdb and readline
2747 *) noconfigdirs
="$noconfigdirs gdb readline"
2753 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2757 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
2758 noconfigdirs
="$noconfigdirs ${libgcj}"
2761 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
2762 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
2765 arm
*-*-linux-gnueabi)
2766 noconfigdirs
="$noconfigdirs target-qthreads"
2767 noconfigdirs
="$noconfigdirs target-libobjc"
2768 case ${with_newlib} in
2769 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2774 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
2778 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2781 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2784 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2787 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2790 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2793 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
2796 noconfigdirs
="$noconfigdirs gdb"
2797 if test x
${is_cross_compiler} != xno
; then
2798 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
2801 c4x-
*-* | tic4x-
*-*)
2802 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2804 c54x
*-*-* | tic54x-
*-*)
2805 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
2808 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2810 cris-
*-* | crisv32-
*-*)
2811 unsupported_languages
="$unsupported_languages java"
2814 unsupported_languages
="$unsupported_languages fortran"
2815 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
2817 noconfigdirs
="$noconfigdirs target-boehm-gc";;
2819 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
2821 unsupported_languages
="$unsupported_languages fortran"
2822 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
2827 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
2830 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2833 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2835 ep9312-
*-elf | ep9312-
*-coff)
2839 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2842 noconfigdirs
="$noconfigdirs ${libgcj}"
2845 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2848 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2850 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
2852 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
2853 # In this case, it's because the hppa64-linux target is for
2854 # the kernel only at this point and has no libc, and thus no
2855 # headers, crt*.o, etc., all of which are needed by these.
2856 noconfigdirs
="$noconfigdirs target-zlib"
2858 parisc
*-*-linux* | hppa
*-*-linux*)
2862 hppa
*-*-openbsd* | \
2864 noconfigdirs
="$noconfigdirs ${libgcj}"
2867 noconfigdirs
="$noconfigdirs ld shellutils"
2873 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
2874 # build on HP-UX 10.20.
2875 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
2878 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
2881 # No gdb support yet.
2882 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
2885 # No gdb or ld support yet.
2886 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
2890 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
2891 noconfigdirs
="$noconfigdirs ${libgcj}"
2894 i
[3456789]86-*-linux*)
2895 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
2896 # not build java stuff by default.
2899 noconfigdirs
="$noconfigdirs ${libgcj}";;
2902 # This section makes it possible to build newlib natively on linux.
2903 # If we are using a cross compiler then don't configure newlib.
2904 if test x
${is_cross_compiler} != xno
; then
2905 noconfigdirs
="$noconfigdirs target-newlib"
2907 noconfigdirs
="$noconfigdirs target-libgloss"
2908 # If we are not using a cross compiler, do configure newlib.
2909 # Note however, that newlib will only be configured in this situation
2910 # if the --with-newlib option has been given, because otherwise
2911 # 'target-newlib' will appear in skipdirs.
2913 i
[3456789]86-*-mingw32*)
2914 target_configdirs
="$target_configdirs target-winsup"
2915 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2918 target_configdirs
="$target_configdirs target-winsup"
2919 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
2922 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
2923 noconfigdirs
="$noconfigdirs target-gperf target-libgloss ${libgcj}"
2924 # always build newlib if winsup directory is present.
2925 if test -d "$srcdir/winsup/cygwin"; then
2926 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2927 elif test -d "$srcdir/newlib"; then
2928 echo "Warning: winsup/cygwin is missing so newlib can't be built."
2931 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
2932 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
2935 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
2937 i
[3456789]86-*-sco3.2v5
*)
2938 # The linker does not yet know about weak symbols in COFF,
2939 # and is not configured to handle mixed ELF and COFF.
2940 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
2942 i
[3456789]86-*-sco*)
2943 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
2945 i
[3456789]86-*-solaris2*)
2946 noconfigdirs
="$noconfigdirs target-libgloss"
2948 i
[3456789]86-*-sysv4*)
2949 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
2951 i
[3456789]86-*-beos*)
2952 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
2954 i
[3456789]86-*-rdos*)
2955 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
2958 noconfigdirs
="$noconfigdirs ${libgcj}"
2960 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
2961 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
2962 libgloss_dir
=m68hc11
2965 noconfigdirs
="$noconfigdirs ${libgcj}"
2968 noconfigdirs
="$noconfigdirs ${libgcj}"
2970 m68
*-*-* | fido-
*-*)
2974 # The EPOC C++ environment does not support exceptions or rtti,
2975 # and so building libstdc++-v3 tends not to always work.
2976 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
2979 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
2980 unsupported_languages
="$unsupported_languages fortran java"
2983 noconfigdirs
="$noconfigdirs ${libgcj}"
2986 noconfigdirs
="$noconfigdirs ${libgcj}"
2989 noconfigdirs
="$noconfigdirs sim"
2992 # copied from rs6000-*-* entry
2993 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
2995 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
2996 target_configdirs
="$target_configdirs target-winsup"
2997 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
2998 # always build newlib.
2999 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3001 # This is temporary until we can link against shared libraries
3002 powerpcle-
*-solaris*)
3003 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
3007 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3010 noconfigdirs
="$noconfigdirs ${libgcj}"
3013 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
3017 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
3020 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
3023 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3026 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
3029 skipdirs
="$skipdirs target-libiberty"
3030 noconfigdirs
="$noconfigdirs ${libgcj}"
3031 if test x
$with_newlib = xyes
; then
3032 noconfigdirs
="$noconfigdirs gprof"
3037 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3040 # Linking libjava exceeds command-line length limits on at least
3041 # IRIX 6.2, but not on IRIX 6.5.
3042 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3043 # <oldham@codesourcery.com>
3044 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3047 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3050 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3053 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3057 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
3061 i
[3456789]86-*-vsta) ;; # don't add gprof back in
3062 i
[3456789]86-*-go32*) ;; # don't add gprof back in
3063 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
3064 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
3066 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3068 sparclet-
*-aout* | sparc86x-
*-*)
3072 noconfigdirs
="$noconfigdirs ${libgcj}"
3075 noconfigdirs
="$noconfigdirs ${libgcj}"
3079 noconfigdirs
="$noconfigdirs ${libgcj}"
3083 noconfigdirs
="$noconfigdirs ${libgcj}"
3084 if test x
${is_cross_compiler} != xno
; then
3085 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3090 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
3091 noconfigdirs
="$noconfigdirs ${libgcj}"
3093 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
3096 skipdirs
="target-libssp"
3099 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
3102 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3105 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3108 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3111 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
3114 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3117 noconfigdirs
="$noconfigdirs ${libgcj}"
3120 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3122 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
3123 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3126 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3129 noconfigdirs
="$noconfigdirs ${libgcj}"
3133 # If we aren't building newlib, then don't build libgloss, since libgloss
3134 # depends upon some newlib header files.
3135 case "${noconfigdirs}" in
3136 *target-libgloss
*) ;;
3137 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3140 # Work in distributions that contain no compiler tools, like Autoconf.
3142 host_makefile_frag
=/dev
/null
3143 if test -d ${srcdir}/config
; then
3146 # Avoid "too much defining" errors from HPUX compiler.
3147 tentative_cc
="cc -Wp,-H256000"
3148 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
3149 # If it's HP/UX ar, this should be harmless.
3153 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
3156 #None of the Apollo compilers can compile gas or binutils. The preprocessor
3157 # chokes on bfd, the compiler won't let you assign integers to enums, and
3158 # other problems. Defining CC to gcc is a questionable way to say "don't use
3159 # the apollo compiler" (the preferred version of GCC could be called cc,
3160 # or whatever), but I'm not sure leaving CC as cc is any better...
3161 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
3162 # Used to have BISON=yacc.
3166 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3169 # Under CX/UX, we want to tell the compiler to use ANSI mode.
3170 tentative_cc
="cc -Xa"
3171 host_makefile_frag
="config/mh-cxux"
3173 m88k-motorola-sysv
*)
3176 tentative_cc
="cc -Wf,-XNg1000"
3177 host_makefile_frag
="config/mh-decstation"
3180 # The C compiler on NEC MIPS SVR4 needs bigger tables.
3181 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
3182 host_makefile_frag
="config/mh-necv4"
3185 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
3186 # environment. Also bump switch table size so that cp-parse will
3187 # compile. Bump string length limit so linker builds.
3188 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
3191 host_makefile_frag
="config/mh-sysv4"
3194 # This is for a MIPS running RISC/os 4.52C.
3196 # This is needed for GDB, but needs to be in the top-level make because
3197 # if a library is compiled with the bsd headers and gets linked with the
3198 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
3199 # a different size).
3200 # ptrace(2) apparently has problems in the BSD environment. No workaround is
3201 # known except to select the sysv environment. Could we use /proc instead?
3202 # These "sysv environments" and "bsd environments" often end up being a pain.
3204 # This is not part of CFLAGS because perhaps not all C compilers have this
3206 tentative_cc
="cc -systype sysv"
3211 i
[3456789]86-*-sysv5*)
3212 host_makefile_frag
="config/mh-sysv5"
3214 i
[3456789]86-*-dgux*)
3215 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3216 host_makefile_frag
="config/mh-dgux386"
3218 i
[3456789]86-ncr-sysv4.3
*)
3219 # The MetaWare compiler will generate a copyright message unless you
3220 # turn it off by adding the -Hnocopyr flag.
3221 tentative_cc
="cc -Hnocopyr"
3223 i
[3456789]86-ncr-sysv4*)
3224 # for an NCR 3000 (i486/SVR4) system.
3225 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
3226 # This compiler not only emits obnoxious copyright messages every time
3227 # you run it, but it chokes and dies on a whole bunch of GNU source
3228 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
3229 tentative_cc
="/usr/ccs/ATT/cc"
3230 host_makefile_frag
="config/mh-ncr3000"
3232 i
[3456789]86-*-sco3.2v5
*)
3234 i
[3456789]86-*-sco*)
3235 # The native C compiler botches some simple uses of const. Unfortunately,
3236 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
3237 tentative_cc
="cc -Dconst="
3238 host_makefile_frag
="config/mh-sco"
3240 i
[3456789]86-*-udk*)
3241 host_makefile_frag
="config/mh-sysv5"
3243 i
[3456789]86-*-solaris2*)
3244 host_makefile_frag
="config/mh-sysv4"
3246 i
[3456789]86-*-msdosdjgpp*)
3247 host_makefile_frag
="config/mh-djgpp"
3251 { echo "$as_me:$LINENO: checking to see if cat works as expected" >&5
3252 echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6; }
3253 echo a
>cygwin-cat-check
3254 if test `cat cygwin-cat-check` == a
; then
3256 { echo "$as_me:$LINENO: result: yes" >&5
3257 echo "${ECHO_T}yes" >&6; }
3260 { echo "$as_me:$LINENO: result: no" >&5
3261 echo "${ECHO_T}no" >&6; }
3262 { { echo "$as_me:$LINENO: error: The cat command does not ignore carriage return characters.
3263 Please either mount the build directory in binary mode or run the following
3264 commands before running any configure script:
3268 echo "$as_me: error: The cat command does not ignore carriage return characters.
3269 Please either mount the build directory in binary mode or run the following
3270 commands before running any configure script:
3274 { (exit 1); exit 1; }; }
3277 host_makefile_frag
="config/mh-cygwin"
3280 host_makefile_frag
="config/mh-mingw"
3283 host_makefile_frag
="config/mh-interix"
3286 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
3290 host_makefile_frag
="config/mh-solaris"
3293 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
3294 # without overflowing the jump tables (-J says to use a 32 bit table)
3295 tentative_cc
="cc -J"
3298 tentative_cc
="cc -Wp,-H256000"
3301 tentative_cc
="cc -Wp,-H256000"
3304 # /bin/cc is less than useful for our purposes. Always use GCC
3305 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
3306 host_makefile_frag
="config/mh-lynxrs6k"
3309 host_makefile_frag
="config/mh-ppc-darwin"
3312 host_makefile_frag
="config/mh-ppc-aix"
3315 host_makefile_frag
="config/mh-ppc-aix"
3318 # /bin/cc is less than useful for our purposes. Always use GCC
3319 tentative_cc
="/bin/gcc"
3322 host_makefile_frag
="config/mh-sysv4"
3324 # This is placed last to prevent interfering with the cases above.
3326 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
3327 host_makefile_frag
="config/mh-x86omitfp"
3332 # If we aren't going to be using gcc, see if we can extract a definition
3333 # of CC from the fragment.
3334 # Actually, use the 'pre-extracted' version above.
3335 if test -z "${CC}" && test "${build}" = "${host}" ; then
3336 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
3338 for dir
in $PATH; do
3339 test -z "$dir" && dir
=.
3340 if test -f $dir/gcc
; then
3346 if test -z "${found}" && test -n "${tentative_cc}" ; then
3351 if test "${build}" != "${host}" ; then
3352 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3353 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3354 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3355 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3356 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3357 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3358 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3359 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3360 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3361 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3362 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3363 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3365 AR_FOR_BUILD
="\$(AR)"
3366 AS_FOR_BUILD
="\$(AS)"
3367 CC_FOR_BUILD
="\$(CC)"
3368 CXX_FOR_BUILD
="\$(CXX)"
3369 GCJ_FOR_BUILD
="\$(GCJ)"
3370 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3371 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3372 LD_FOR_BUILD
="\$(LD)"
3373 NM_FOR_BUILD
="\$(NM)"
3374 RANLIB_FOR_BUILD
="\$(RANLIB)"
3375 WINDRES_FOR_BUILD
="\$(WINDRES)"
3376 WINDMC_FOR_BUILD
="\$(WINDMC)"
3380 ac_cpp
='$CPP $CPPFLAGS'
3381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3384 if test -n "$ac_tool_prefix"; then
3385 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3386 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3389 if test "${ac_cv_prog_CC+set}" = set; then
3390 echo $ECHO_N "(cached) $ECHO_C" >&6
3392 if test -n "$CC"; then
3393 ac_cv_prog_CC
="$CC" # Let the user override the test.
3395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3399 test -z "$as_dir" && as_dir
=.
3400 for ac_exec_ext
in '' $ac_executable_extensions; do
3401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3402 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 if test -n "$CC"; then
3414 { echo "$as_me:$LINENO: result: $CC" >&5
3415 echo "${ECHO_T}$CC" >&6; }
3417 { echo "$as_me:$LINENO: result: no" >&5
3418 echo "${ECHO_T}no" >&6; }
3423 if test -z "$ac_cv_prog_CC"; then
3425 # Extract the first word of "gcc", so it can be a program name with args.
3426 set dummy gcc
; ac_word
=$2
3427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3429 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3430 echo $ECHO_N "(cached) $ECHO_C" >&6
3432 if test -n "$ac_ct_CC"; then
3433 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3439 test -z "$as_dir" && as_dir
=.
3440 for ac_exec_ext
in '' $ac_executable_extensions; do
3441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3442 ac_cv_prog_ac_ct_CC
="gcc"
3443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3452 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3453 if test -n "$ac_ct_CC"; then
3454 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3455 echo "${ECHO_T}$ac_ct_CC" >&6; }
3457 { echo "$as_me:$LINENO: result: no" >&5
3458 echo "${ECHO_T}no" >&6; }
3461 if test "x$ac_ct_CC" = x
; then
3464 case $cross_compiling:$ac_tool_warned in
3466 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3467 whose name does not start with the host triplet. If you think this
3468 configuration is useful to you, please write to autoconf@gnu.org." >&5
3469 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3470 whose name does not start with the host triplet. If you think this
3471 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3472 ac_tool_warned
=yes ;;
3480 if test -z "$CC"; then
3481 if test -n "$ac_tool_prefix"; then
3482 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3483 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3486 if test "${ac_cv_prog_CC+set}" = set; then
3487 echo $ECHO_N "(cached) $ECHO_C" >&6
3489 if test -n "$CC"; then
3490 ac_cv_prog_CC
="$CC" # Let the user override the test.
3492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3496 test -z "$as_dir" && as_dir
=.
3497 for ac_exec_ext
in '' $ac_executable_extensions; do
3498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3499 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3510 if test -n "$CC"; then
3511 { echo "$as_me:$LINENO: result: $CC" >&5
3512 echo "${ECHO_T}$CC" >&6; }
3514 { echo "$as_me:$LINENO: result: no" >&5
3515 echo "${ECHO_T}no" >&6; }
3521 if test -z "$CC"; then
3522 # Extract the first word of "cc", so it can be a program name with args.
3523 set dummy cc
; ac_word
=$2
3524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3526 if test "${ac_cv_prog_CC+set}" = set; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3529 if test -n "$CC"; then
3530 ac_cv_prog_CC
="$CC" # Let the user override the test.
3533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3537 test -z "$as_dir" && as_dir
=.
3538 for ac_exec_ext
in '' $ac_executable_extensions; do
3539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3540 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3541 ac_prog_rejected
=yes
3545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3552 if test $ac_prog_rejected = yes; then
3553 # We found a bogon in the path, so make sure we never use it.
3554 set dummy
$ac_cv_prog_CC
3556 if test $# != 0; then
3557 # We chose a different compiler from the bogus one.
3558 # However, it has the same basename, so the bogon will be chosen
3559 # first if we set CC to just the basename; use the full file name.
3561 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3567 if test -n "$CC"; then
3568 { echo "$as_me:$LINENO: result: $CC" >&5
3569 echo "${ECHO_T}$CC" >&6; }
3571 { echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6; }
3577 if test -z "$CC"; then
3578 if test -n "$ac_tool_prefix"; then
3579 for ac_prog
in cl.exe
3581 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3582 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3583 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3585 if test "${ac_cv_prog_CC+set}" = set; then
3586 echo $ECHO_N "(cached) $ECHO_C" >&6
3588 if test -n "$CC"; then
3589 ac_cv_prog_CC
="$CC" # Let the user override the test.
3591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3595 test -z "$as_dir" && as_dir
=.
3596 for ac_exec_ext
in '' $ac_executable_extensions; do
3597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3598 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 if test -n "$CC"; then
3610 { echo "$as_me:$LINENO: result: $CC" >&5
3611 echo "${ECHO_T}$CC" >&6; }
3613 { echo "$as_me:$LINENO: result: no" >&5
3614 echo "${ECHO_T}no" >&6; }
3618 test -n "$CC" && break
3621 if test -z "$CC"; then
3623 for ac_prog
in cl.exe
3625 # Extract the first word of "$ac_prog", so it can be a program name with args.
3626 set dummy
$ac_prog; ac_word
=$2
3627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3629 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3630 echo $ECHO_N "(cached) $ECHO_C" >&6
3632 if test -n "$ac_ct_CC"; then
3633 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3639 test -z "$as_dir" && as_dir
=.
3640 for ac_exec_ext
in '' $ac_executable_extensions; do
3641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3642 ac_cv_prog_ac_ct_CC
="$ac_prog"
3643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3652 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3653 if test -n "$ac_ct_CC"; then
3654 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3655 echo "${ECHO_T}$ac_ct_CC" >&6; }
3657 { echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6; }
3662 test -n "$ac_ct_CC" && break
3665 if test "x$ac_ct_CC" = x
; then
3668 case $cross_compiling:$ac_tool_warned in
3670 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3671 whose name does not start with the host triplet. If you think this
3672 configuration is useful to you, please write to autoconf@gnu.org." >&5
3673 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3674 whose name does not start with the host triplet. If you think this
3675 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3676 ac_tool_warned
=yes ;;
3685 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3686 See \`config.log' for more details." >&5
3687 echo "$as_me: error: no acceptable C compiler found in \$PATH
3688 See \`config.log' for more details." >&2;}
3689 { (exit 1); exit 1; }; }
3691 # Provide some information about the compiler.
3692 echo "$as_me:$LINENO: checking for C compiler version" >&5
3693 ac_compiler
=`set X $ac_compile; echo $2`
3694 { (ac_try
="$ac_compiler --version >&5"
3696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3697 *) ac_try_echo=$ac_try;;
3699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3700 (eval "$ac_compiler --version >&5") 2>&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }
3704 { (ac_try="$ac_compiler -v >&5"
3706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3707 *) ac_try_echo
=$ac_try;;
3709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3710 (eval "$ac_compiler -v >&5") 2>&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); }
3714 { (ac_try
="$ac_compiler -V >&5"
3716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3717 *) ac_try_echo=$ac_try;;
3719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3720 (eval "$ac_compiler -V >&5") 2>&5
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); }
3725 cat >conftest.$ac_ext <<_ACEOF
3728 cat confdefs.h >>conftest.$ac_ext
3729 cat >>conftest.$ac_ext <<_ACEOF
3730 /* end confdefs.h. */
3740 ac_clean_files_save=$ac_clean_files
3741 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3742 # Try to create an executable without -o first, disregard a.out.
3743 # It will help us diagnose broken compilers, and finding out an intuition
3745 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3746 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3747 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3749 # List of possible output files, starting from the most likely.
3750 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
3751 # only as a last resort. b.out is created by i960 compilers.
3752 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
3754 # The IRIX 6 linker writes into existing files which may not be
3755 # executable, retaining their permissions. Remove them first so a
3756 # subsequent execution test works.
3758 for ac_file in $ac_files
3761 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3762 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3767 if { (ac_try="$ac_link_default"
3769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3770 *) ac_try_echo=$ac_try;;
3772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3773 (eval "$ac_link_default") 2>&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); }; then
3777 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3778 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3779 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3780 # so that the user can short-circuit this test for compilers unknown to
3782 for ac_file
in $ac_files ''
3784 test -f "$ac_file" ||
continue
3786 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
3789 # We found the default executable, but exeext='' is most
3793 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3795 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3797 # We set ac_cv_exeext here because the later test for it is not
3798 # safe: cross compilers may not add the suffix if given an `-o'
3799 # argument, so we may need to know it at that point already.
3800 # Even if this section looks crufty: it has the advantage of
3807 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3813 { echo "$as_me:$LINENO: result: $ac_file" >&5
3814 echo "${ECHO_T}$ac_file" >&6; }
3815 if test -z "$ac_file"; then
3816 echo "$as_me: failed program was:" >&5
3817 sed 's/^/| /' conftest.
$ac_ext >&5
3819 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3820 See \`config.log' for more details." >&5
3821 echo "$as_me: error: C compiler cannot create executables
3822 See \`config.log' for more details." >&2;}
3823 { (exit 77); exit 77; }; }
3826 ac_exeext
=$ac_cv_exeext
3828 # Check that the compiler produces executables we can run. If not, either
3829 # the compiler is broken, or we cross compile.
3830 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3831 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3832 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3833 # If not cross compiling, check that we can run a simple program.
3834 if test "$cross_compiling" != yes; then
3835 if { ac_try
='./$ac_file'
3836 { (case "(($ac_try" in
3837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3838 *) ac_try_echo=$ac_try;;
3840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3841 (eval "$ac_try") 2>&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; }; then
3847 if test "$cross_compiling" = maybe; then
3850 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3851 If you meant to cross compile, use \`--host'.
3852 See \`config.log' for more details.
" >&5
3853 echo "$as_me: error
: cannot run C compiled programs.
3854 If you meant to cross compile
, use \
`--host'.
3855 See \`config.log
' for more details." >&2;}
3856 { (exit 1); exit 1; }; }
3860 { echo "$as_me:$LINENO: result: yes" >&5
3861 echo "${ECHO_T}yes" >&6; }
3863 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3864 ac_clean_files=$ac_clean_files_save
3865 # Check that the compiler produces executables we can run. If not, either
3866 # the compiler is broken, or we cross compile.
3867 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3868 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3869 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3870 echo "${ECHO_T}$cross_compiling" >&6; }
3872 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3873 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3874 if { (ac_try="$ac_link"
3876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3877 *) ac_try_echo=$ac_try;;
3879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3880 (eval "$ac_link") 2>&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); }; then
3884 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3885 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3886 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3888 for ac_file
in conftest.exe conftest conftest.
*; do
3889 test -f "$ac_file" ||
continue
3891 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3892 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3898 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3899 See \`config.log' for more details." >&5
3900 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3901 See \`config.log' for more details." >&2;}
3902 { (exit 1); exit 1; }; }
3905 rm -f conftest
$ac_cv_exeext
3906 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3907 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3909 rm -f conftest.
$ac_ext
3910 EXEEXT
=$ac_cv_exeext
3912 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3913 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3914 if test "${ac_cv_objext+set}" = set; then
3915 echo $ECHO_N "(cached) $ECHO_C" >&6
3917 cat >conftest.
$ac_ext <<_ACEOF
3920 cat confdefs.h
>>conftest.
$ac_ext
3921 cat >>conftest.
$ac_ext <<_ACEOF
3922 /* end confdefs.h. */
3932 rm -f conftest.o conftest.obj
3933 if { (ac_try
="$ac_compile"
3935 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3936 *) ac_try_echo=$ac_try;;
3938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3939 (eval "$ac_compile") 2>&5
3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942 (exit $ac_status); }; then
3943 for ac_file in conftest.o conftest.obj conftest.*; do
3944 test -f "$ac_file" || continue;
3946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3947 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3952 echo "$as_me: failed program was:" >&5
3953 sed 's/^/| /' conftest.$ac_ext >&5
3955 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3956 See \`config.log
' for more details." >&5
3957 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3958 See \`config.log' for more details.
" >&2;}
3959 { (exit 1); exit 1; }; }
3962 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3964 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3965 echo "${ECHO_T}$ac_cv_objext" >&6; }
3966 OBJEXT=$ac_cv_objext
3968 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3969 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3970 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3971 echo $ECHO_N "(cached
) $ECHO_C" >&6
3973 cat >conftest.$ac_ext <<_ACEOF
3976 cat confdefs.h >>conftest.$ac_ext
3977 cat >>conftest.$ac_ext <<_ACEOF
3978 /* end confdefs.h. */
3991 rm -f conftest.$ac_objext
3992 if { (ac_try="$ac_compile"
3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3997 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3998 (eval "$ac_compile") 2>conftest.er1
4000 grep -v '^ *+' conftest.er1 >conftest.err
4002 cat conftest.err >&5
4003 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4004 (exit $ac_status); } && {
4005 test -z "$ac_c_werror_flag" ||
4006 test ! -s conftest.err
4007 } && test -s conftest.$ac_objext; then
4010 echo "$as_me: failed program was
:" >&5
4011 sed 's/^/| /' conftest.$ac_ext >&5
4016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4017 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4020 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
4021 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4022 GCC=`test $ac_compiler_gnu = yes && echo yes`
4023 ac_test_CFLAGS=${CFLAGS+set}
4024 ac_save_CFLAGS=$CFLAGS
4025 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
4026 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
4027 if test "${ac_cv_prog_cc_g+set}" = set; then
4028 echo $ECHO_N "(cached
) $ECHO_C" >&6
4030 ac_save_c_werror_flag=$ac_c_werror_flag
4031 ac_c_werror_flag=yes
4034 cat >conftest.$ac_ext <<_ACEOF
4037 cat confdefs.h >>conftest.$ac_ext
4038 cat >>conftest.$ac_ext <<_ACEOF
4039 /* end confdefs.h. */
4049 rm -f conftest.$ac_objext
4050 if { (ac_try="$ac_compile"
4052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4053 *) ac_try_echo=$ac_try;;
4055 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4056 (eval "$ac_compile") 2>conftest.er1
4058 grep -v '^ *+' conftest.er1 >conftest.err
4060 cat conftest.err >&5
4061 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4062 (exit $ac_status); } && {
4063 test -z "$ac_c_werror_flag" ||
4064 test ! -s conftest.err
4065 } && test -s conftest.$ac_objext; then
4068 echo "$as_me: failed program was
:" >&5
4069 sed 's/^/| /' conftest.$ac_ext >&5
4072 cat >conftest.$ac_ext <<_ACEOF
4075 cat confdefs.h >>conftest.$ac_ext
4076 cat >>conftest.$ac_ext <<_ACEOF
4077 /* end confdefs.h. */
4087 rm -f conftest.$ac_objext
4088 if { (ac_try="$ac_compile"
4090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4093 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4094 (eval "$ac_compile") 2>conftest.er1
4096 grep -v '^ *+' conftest.er1 >conftest.err
4098 cat conftest.err >&5
4099 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4100 (exit $ac_status); } && {
4101 test -z "$ac_c_werror_flag" ||
4102 test ! -s conftest.err
4103 } && test -s conftest.$ac_objext; then
4106 echo "$as_me: failed program was
:" >&5
4107 sed 's/^/| /' conftest.$ac_ext >&5
4109 ac_c_werror_flag=$ac_save_c_werror_flag
4111 cat >conftest.$ac_ext <<_ACEOF
4114 cat confdefs.h >>conftest.$ac_ext
4115 cat >>conftest.$ac_ext <<_ACEOF
4116 /* end confdefs.h. */
4126 rm -f conftest.$ac_objext
4127 if { (ac_try="$ac_compile"
4129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4130 *) ac_try_echo=$ac_try;;
4132 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4133 (eval "$ac_compile") 2>conftest.er1
4135 grep -v '^ *+' conftest.er1 >conftest.err
4137 cat conftest.err >&5
4138 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4139 (exit $ac_status); } && {
4140 test -z "$ac_c_werror_flag" ||
4141 test ! -s conftest.err
4142 } && test -s conftest.$ac_objext; then
4145 echo "$as_me: failed program was
:" >&5
4146 sed 's/^/| /' conftest.$ac_ext >&5
4151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_c_werror_flag=$ac_save_c_werror_flag
4160 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
4161 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4162 if test "$ac_test_CFLAGS" = set; then
4163 CFLAGS=$ac_save_CFLAGS
4164 elif test $ac_cv_prog_cc_g = yes; then
4165 if test "$GCC" = yes; then
4171 if test "$GCC" = yes; then
4177 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
4178 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
4179 if test "${ac_cv_prog_cc_c89+set}" = set; then
4180 echo $ECHO_N "(cached
) $ECHO_C" >&6
4182 ac_cv_prog_cc_c89=no
4184 cat >conftest.$ac_ext <<_ACEOF
4187 cat confdefs.h >>conftest.$ac_ext
4188 cat >>conftest.$ac_ext <<_ACEOF
4189 /* end confdefs.h. */
4192 #include <sys/types.h>
4193 #include <sys/stat.h>
4194 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4195 struct buf { int x; };
4196 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4197 static char *e (p, i)
4203 static char *f (char * (*g) (char **, int), char **p, ...)
4208 s = g (p, va_arg (v,int));
4213 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4214 function prototypes and stuff, but not '\xHH' hex character constants.
4215 These don't provoke an error unfortunately, instead are silently treated
4216 as 'x'. The following induces an error, until -std is added to get
4217 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4218 array size at least. It's necessary to write '\x00'==0 to get something
4219 that's true only with -std. */
4220 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4222 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4223 inside strings and character constants. */
4225 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4227 int test (int i, double x);
4228 struct s1 {int (*f) (int a);};
4229 struct s2 {int (*f) (double a);};
4230 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4236 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4241 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4242 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4244 CC="$ac_save_CC $ac_arg"
4245 rm -f conftest.$ac_objext
4246 if { (ac_try="$ac_compile"
4248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4249 *) ac_try_echo=$ac_try;;
4251 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4252 (eval "$ac_compile") 2>conftest.er1
4254 grep -v '^ *+' conftest.er1 >conftest.err
4256 cat conftest.err >&5
4257 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4258 (exit $ac_status); } && {
4259 test -z "$ac_c_werror_flag" ||
4260 test ! -s conftest.err
4261 } && test -s conftest.$ac_objext; then
4262 ac_cv_prog_cc_c89=$ac_arg
4264 echo "$as_me: failed program was
:" >&5
4265 sed 's/^/| /' conftest.$ac_ext >&5
4270 rm -f core conftest.err conftest.$ac_objext
4271 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
4273 rm -f conftest.$ac_ext
4278 case "x
$ac_cv_prog_cc_c89" in
4280 { echo "$as_me:$LINENO: result
: none needed
" >&5
4281 echo "${ECHO_T}none needed
" >&6; } ;;
4283 { echo "$as_me:$LINENO: result
: unsupported
" >&5
4284 echo "${ECHO_T}unsupported
" >&6; } ;;
4286 CC="$CC $ac_cv_prog_cc_c89"
4287 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
4288 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4293 ac_cpp='$CPP $CPPFLAGS'
4294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4299 ac_cpp='$CXXCPP $CPPFLAGS'
4300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4303 if test -z "$CXX"; then
4304 if test -n "$CCC"; then
4307 if test -n "$ac_tool_prefix"; then
4308 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4310 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4311 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4312 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4313 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4314 if test "${ac_cv_prog_CXX+set}" = set; then
4315 echo $ECHO_N "(cached
) $ECHO_C" >&6
4317 if test -n "$CXX"; then
4318 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324 test -z "$as_dir" && as_dir=.
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4327 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4328 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4338 if test -n "$CXX"; then
4339 { echo "$as_me:$LINENO: result
: $CXX" >&5
4340 echo "${ECHO_T}$CXX" >&6; }
4342 { echo "$as_me:$LINENO: result
: no
" >&5
4343 echo "${ECHO_T}no
" >&6; }
4347 test -n "$CXX" && break
4350 if test -z "$CXX"; then
4352 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4354 # Extract the first word of "$ac_prog", so it can be a program name with args.
4355 set dummy $ac_prog; ac_word=$2
4356 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4357 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4358 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4359 echo $ECHO_N "(cached
) $ECHO_C" >&6
4361 if test -n "$ac_ct_CXX"; then
4362 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 test -z "$as_dir" && as_dir=.
4369 for ac_exec_ext in '' $ac_executable_extensions; do
4370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4371 ac_cv_prog_ac_ct_CXX="$ac_prog"
4372 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4381 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4382 if test -n "$ac_ct_CXX"; then
4383 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
4384 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4386 { echo "$as_me:$LINENO: result
: no
" >&5
4387 echo "${ECHO_T}no
" >&6; }
4391 test -n "$ac_ct_CXX" && break
4394 if test "x
$ac_ct_CXX" = x; then
4397 case $cross_compiling:$ac_tool_warned in
4399 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4400 whose name does not start with the
host triplet. If you think this
4401 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4402 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4403 whose name does not start with the
host triplet. If you think this
4404 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4405 ac_tool_warned=yes ;;
4413 # Provide some information about the compiler.
4414 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
4415 ac_compiler=`set X $ac_compile; echo $2`
4416 { (ac_try="$ac_compiler --version >&5"
4418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4419 *) ac_try_echo=$ac_try;;
4421 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4422 (eval "$ac_compiler --version >&5") 2>&5
4424 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4425 (exit $ac_status); }
4426 { (ac_try="$ac_compiler -v >&5"
4428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4429 *) ac_try_echo=$ac_try;;
4431 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4432 (eval "$ac_compiler -v >&5") 2>&5
4434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4435 (exit $ac_status); }
4436 { (ac_try="$ac_compiler -V >&5"
4438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439 *) ac_try_echo=$ac_try;;
4441 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4442 (eval "$ac_compiler -V >&5") 2>&5
4444 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4445 (exit $ac_status); }
4447 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
4448 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
4449 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4450 echo $ECHO_N "(cached
) $ECHO_C" >&6
4452 cat >conftest.$ac_ext <<_ACEOF
4455 cat confdefs.h >>conftest.$ac_ext
4456 cat >>conftest.$ac_ext <<_ACEOF
4457 /* end confdefs.h. */
4470 rm -f conftest.$ac_objext
4471 if { (ac_try="$ac_compile"
4473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4474 *) ac_try_echo=$ac_try;;
4476 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4477 (eval "$ac_compile") 2>conftest.er1
4479 grep -v '^ *+' conftest.er1 >conftest.err
4481 cat conftest.err >&5
4482 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4483 (exit $ac_status); } && {
4484 test -z "$ac_cxx_werror_flag" ||
4485 test ! -s conftest.err
4486 } && test -s conftest.$ac_objext; then
4489 echo "$as_me: failed program was
:" >&5
4490 sed 's/^/| /' conftest.$ac_ext >&5
4495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4499 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
4500 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4501 GXX=`test $ac_compiler_gnu = yes && echo yes`
4502 ac_test_CXXFLAGS=${CXXFLAGS+set}
4503 ac_save_CXXFLAGS=$CXXFLAGS
4504 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
4505 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
4506 if test "${ac_cv_prog_cxx_g+set}" = set; then
4507 echo $ECHO_N "(cached
) $ECHO_C" >&6
4509 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4510 ac_cxx_werror_flag=yes
4513 cat >conftest.$ac_ext <<_ACEOF
4516 cat confdefs.h >>conftest.$ac_ext
4517 cat >>conftest.$ac_ext <<_ACEOF
4518 /* end confdefs.h. */
4528 rm -f conftest.$ac_objext
4529 if { (ac_try="$ac_compile"
4531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4532 *) ac_try_echo=$ac_try;;
4534 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4535 (eval "$ac_compile") 2>conftest.er1
4537 grep -v '^ *+' conftest.er1 >conftest.err
4539 cat conftest.err >&5
4540 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4541 (exit $ac_status); } && {
4542 test -z "$ac_cxx_werror_flag" ||
4543 test ! -s conftest.err
4544 } && test -s conftest.$ac_objext; then
4545 ac_cv_prog_cxx_g=yes
4547 echo "$as_me: failed program was
:" >&5
4548 sed 's/^/| /' conftest.$ac_ext >&5
4551 cat >conftest.$ac_ext <<_ACEOF
4554 cat confdefs.h >>conftest.$ac_ext
4555 cat >>conftest.$ac_ext <<_ACEOF
4556 /* end confdefs.h. */
4566 rm -f conftest.$ac_objext
4567 if { (ac_try="$ac_compile"
4569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4570 *) ac_try_echo=$ac_try;;
4572 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4573 (eval "$ac_compile") 2>conftest.er1
4575 grep -v '^ *+' conftest.er1 >conftest.err
4577 cat conftest.err >&5
4578 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4579 (exit $ac_status); } && {
4580 test -z "$ac_cxx_werror_flag" ||
4581 test ! -s conftest.err
4582 } && test -s conftest.$ac_objext; then
4585 echo "$as_me: failed program was
:" >&5
4586 sed 's/^/| /' conftest.$ac_ext >&5
4588 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4590 cat >conftest.$ac_ext <<_ACEOF
4593 cat confdefs.h >>conftest.$ac_ext
4594 cat >>conftest.$ac_ext <<_ACEOF
4595 /* end confdefs.h. */
4605 rm -f conftest.$ac_objext
4606 if { (ac_try="$ac_compile"
4608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4609 *) ac_try_echo=$ac_try;;
4611 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4612 (eval "$ac_compile") 2>conftest.er1
4614 grep -v '^ *+' conftest.er1 >conftest.err
4616 cat conftest.err >&5
4617 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4618 (exit $ac_status); } && {
4619 test -z "$ac_cxx_werror_flag" ||
4620 test ! -s conftest.err
4621 } && test -s conftest.$ac_objext; then
4622 ac_cv_prog_cxx_g=yes
4624 echo "$as_me: failed program was
:" >&5
4625 sed 's/^/| /' conftest.$ac_ext >&5
4630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4637 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4639 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
4640 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4641 if test "$ac_test_CXXFLAGS" = set; then
4642 CXXFLAGS=$ac_save_CXXFLAGS
4643 elif test $ac_cv_prog_cxx_g = yes; then
4644 if test "$GXX" = yes; then
4650 if test "$GXX" = yes; then
4657 ac_cpp='$CPP $CPPFLAGS'
4658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4663 # We must set the default linker to the linker used by gcc for the correct
4664 # operation of libtool. If LD is not defined and we are using gcc, try to
4665 # set the LD default to the ld used by gcc.
4666 if test -z "$LD"; then
4667 if test "$GCC" = yes; then
4670 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4672 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
4674 case $gcc_prog_ld in
4675 # Accept absolute paths.
4676 [\\/]* | [A-Za-z]:[\\/]*)
4677 LD="$gcc_prog_ld" ;;
4685 if test -n "$ac_tool_prefix"; then
4686 # Extract the first word of "${ac_tool_prefix}gnatbind
", so it can be a program name with args.
4687 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
4688 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4689 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4690 if test "${ac_cv_prog_GNATBIND+set}" = set; then
4691 echo $ECHO_N "(cached
) $ECHO_C" >&6
4693 if test -n "$GNATBIND"; then
4694 ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700 test -z "$as_dir" && as_dir=.
4701 for ac_exec_ext in '' $ac_executable_extensions; do
4702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4703 ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind
"
4704 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4713 GNATBIND=$ac_cv_prog_GNATBIND
4714 if test -n "$GNATBIND"; then
4715 { echo "$as_me:$LINENO: result
: $GNATBIND" >&5
4716 echo "${ECHO_T}$GNATBIND" >&6; }
4718 { echo "$as_me:$LINENO: result
: no
" >&5
4719 echo "${ECHO_T}no
" >&6; }
4724 if test -z "$ac_cv_prog_GNATBIND"; then
4725 ac_ct_GNATBIND=$GNATBIND
4726 # Extract the first word of "gnatbind
", so it can be a program name with args.
4727 set dummy gnatbind; ac_word=$2
4728 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4729 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4730 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4731 echo $ECHO_N "(cached
) $ECHO_C" >&6
4733 if test -n "$ac_ct_GNATBIND"; then
4734 ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740 test -z "$as_dir" && as_dir=.
4741 for ac_exec_ext in '' $ac_executable_extensions; do
4742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4743 ac_cv_prog_ac_ct_GNATBIND="gnatbind
"
4744 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4753 ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
4754 if test -n "$ac_ct_GNATBIND"; then
4755 { echo "$as_me:$LINENO: result
: $ac_ct_GNATBIND" >&5
4756 echo "${ECHO_T}$ac_ct_GNATBIND" >&6; }
4758 { echo "$as_me:$LINENO: result
: no
" >&5
4759 echo "${ECHO_T}no
" >&6; }
4762 if test "x
$ac_ct_GNATBIND" = x; then
4765 case $cross_compiling:$ac_tool_warned in
4767 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4768 whose name does not start with the
host triplet. If you think this
4769 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4770 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4771 whose name does not start with the
host triplet. If you think this
4772 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4773 ac_tool_warned=yes ;;
4775 GNATBIND=$ac_ct_GNATBIND
4778 GNATBIND="$ac_cv_prog_GNATBIND"
4781 if test -n "$ac_tool_prefix"; then
4782 # Extract the first word of "${ac_tool_prefix}gnatmake
", so it can be a program name with args.
4783 set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
4784 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4785 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4786 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4787 echo $ECHO_N "(cached
) $ECHO_C" >&6
4789 if test -n "$GNATMAKE"; then
4790 ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 test -z "$as_dir" && as_dir=.
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4799 ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake
"
4800 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4809 GNATMAKE=$ac_cv_prog_GNATMAKE
4810 if test -n "$GNATMAKE"; then
4811 { echo "$as_me:$LINENO: result
: $GNATMAKE" >&5
4812 echo "${ECHO_T}$GNATMAKE" >&6; }
4814 { echo "$as_me:$LINENO: result
: no
" >&5
4815 echo "${ECHO_T}no
" >&6; }
4820 if test -z "$ac_cv_prog_GNATMAKE"; then
4821 ac_ct_GNATMAKE=$GNATMAKE
4822 # Extract the first word of "gnatmake
", so it can be a program name with args.
4823 set dummy gnatmake; ac_word=$2
4824 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4825 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4826 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4827 echo $ECHO_N "(cached
) $ECHO_C" >&6
4829 if test -n "$ac_ct_GNATMAKE"; then
4830 ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
4832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 test -z "$as_dir" && as_dir=.
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4839 ac_cv_prog_ac_ct_GNATMAKE="gnatmake
"
4840 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4849 ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
4850 if test -n "$ac_ct_GNATMAKE"; then
4851 { echo "$as_me:$LINENO: result
: $ac_ct_GNATMAKE" >&5
4852 echo "${ECHO_T}$ac_ct_GNATMAKE" >&6; }
4854 { echo "$as_me:$LINENO: result
: no
" >&5
4855 echo "${ECHO_T}no
" >&6; }
4858 if test "x
$ac_ct_GNATMAKE" = x; then
4861 case $cross_compiling:$ac_tool_warned in
4863 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
4864 whose name does not start with the
host triplet. If you think this
4865 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
4866 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
4867 whose name does not start with the
host triplet. If you think this
4868 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
4869 ac_tool_warned=yes ;;
4871 GNATMAKE=$ac_ct_GNATMAKE
4874 GNATMAKE="$ac_cv_prog_GNATMAKE"
4877 { echo "$as_me:$LINENO: checking whether compiler driver understands Ada
" >&5
4878 echo $ECHO_N "checking whether compiler driver understands Ada...
$ECHO_C" >&6; }
4879 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4880 echo $ECHO_N "(cached
) $ECHO_C" >&6
4882 cat >conftest.adb <<EOF
4883 procedure conftest is begin null; end conftest;
4885 acx_cv_cc_gcc_supports_ada=no
4886 # There is a bug in old released versions of GCC which causes the
4887 # driver to exit successfully when the appropriate language module
4888 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4889 # Therefore we must check for the error message as well as an
4890 # unsuccessful exit.
4891 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4892 # given a .adb file, but produce no object file. So we must check
4893 # if an object file was really produced to guard against this.
4894 errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4895 if test x"$errors" = x && test -f conftest.$ac_objext; then
4896 acx_cv_cc_gcc_supports_ada=yes
4900 { echo "$as_me:$LINENO: result
: $acx_cv_cc_gcc_supports_ada" >&5
4901 echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6; }
4903 if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
4909 { echo "$as_me:$LINENO: checking how to compare bootstrapped objects
" >&5
4910 echo $ECHO_N "checking how to compare bootstrapped objects...
$ECHO_C" >&6; }
4911 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4912 echo $ECHO_N "(cached
) $ECHO_C" >&6
4916 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4917 if cmp t1 t2 2 2 > /dev/null 2>&1; then
4918 if cmp t1 t2 1 1 > /dev/null 2>&1; then
4921 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
4924 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
4925 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
4928 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
4934 { echo "$as_me:$LINENO: result
: $gcc_cv_prog_cmp_skip" >&5
4935 echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6; }
4936 do_compare="$gcc_cv_prog_cmp_skip"
4940 # Check for GMP and MPFR
4941 gmplibs="-lmpfr -lgmp"
4945 # Specify a location for mpfr
4946 # check for this first so it ends up on the link line before gmp.
4948 # Check whether --with-mpfr-dir was given.
4949 if test "${with_mpfr_dir+set}" = set; then
4950 withval=$with_mpfr_dir; { { echo "$as_me:$LINENO: error
: The
--with-mpfr-dir=PATH option has been removed.
4951 Use
--with-mpfr=PATH or
--with-mpfr-include=PATH plus
--with-mpfr-lib=PATH
" >&5
4952 echo "$as_me: error
: The
--with-mpfr-dir=PATH option has been removed.
4953 Use
--with-mpfr=PATH or
--with-mpfr-include=PATH plus
--with-mpfr-lib=PATH
" >&2;}
4954 { (exit 1); exit 1; }; }
4959 # Check whether --with-mpfr was given.
4960 if test "${with_mpfr+set}" = set; then
4965 # Check whether --with-mpfr_include was given.
4966 if test "${with_mpfr_include+set}" = set; then
4967 withval=$with_mpfr_include;
4971 # Check whether --with-mpfr_lib was given.
4972 if test "${with_mpfr_lib+set}" = set; then
4973 withval=$with_mpfr_lib;
4977 if test "x
$with_mpfr" != x; then
4978 gmplibs="-L$with_mpfr/lib
$gmplibs"
4979 gmpinc="-I$with_mpfr/include
"
4981 if test "x
$with_mpfr_include" != x; then
4982 gmpinc="-I$with_mpfr_include"
4984 if test "x
$with_mpfr_lib" != x; then
4985 gmplibs="-L$with_mpfr_lib $gmplibs"
4987 if test "x
$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
4988 gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4989 gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
4990 # Do not test the mpfr version. Assume that it is sufficient, since
4991 # it is in the source tree, and the library has not been built yet
4992 # but it would be included on the link line in the version check below
4993 # hence making the test fail.
4997 # Specify a location for gmp
4999 # Check whether --with-gmp-dir was given.
5000 if test "${with_gmp_dir+set}" = set; then
5001 withval=$with_gmp_dir; { { echo "$as_me:$LINENO: error
: The
--with-gmp-dir=PATH option has been removed.
5002 Use
--with-gmp=PATH or
--with-gmp-include=PATH plus
--with-gmp-lib=PATH
" >&5
5003 echo "$as_me: error
: The
--with-gmp-dir=PATH option has been removed.
5004 Use
--with-gmp=PATH or
--with-gmp-include=PATH plus
--with-gmp-lib=PATH
" >&2;}
5005 { (exit 1); exit 1; }; }
5010 # Check whether --with-gmp was given.
5011 if test "${with_gmp+set}" = set; then
5016 # Check whether --with-gmp_include was given.
5017 if test "${with_gmp_include+set}" = set; then
5018 withval=$with_gmp_include;
5022 # Check whether --with-gmp_lib was given.
5023 if test "${with_gmp_lib+set}" = set; then
5024 withval=$with_gmp_lib;
5029 if test "x
$with_gmp" != x; then
5030 gmplibs="-L$with_gmp/lib
$gmplibs"
5031 gmpinc="-I$with_gmp/include
$gmpinc"
5033 if test "x
$with_gmp_include" != x; then
5034 gmpinc="-I$with_gmp_include $gmpinc"
5036 if test "x
$with_gmp_lib" != x; then
5037 gmplibs="-L$with_gmp_lib $gmplibs"
5039 if test "x
$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
5040 gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
5041 gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5042 # Do not test the gmp version. Assume that it is sufficient, since
5043 # it is in the source tree, and the library has not been built yet
5044 # but it would be included on the link line in the version check below
5045 # hence making the test fail.
5049 if test -d ${srcdir}/gcc && test "x
$have_gmp" = xno; then
5051 saved_CFLAGS="$CFLAGS"
5052 CFLAGS="$CFLAGS $gmpinc"
5053 # Check GMP actually works
5054 { echo "$as_me:$LINENO: checking
for correct version of gmp.h
" >&5
5055 echo $ECHO_N "checking
for correct version of gmp.h...
$ECHO_C" >&6; }
5057 cat >conftest.$ac_ext <<_ACEOF
5060 cat confdefs.h >>conftest.$ac_ext
5061 cat >>conftest.$ac_ext <<_ACEOF
5062 /* end confdefs.h. */
5068 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 1)
5076 rm -f conftest.$ac_objext
5077 if { (ac_try="$ac_compile"
5079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5080 *) ac_try_echo=$ac_try;;
5082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5083 (eval "$ac_compile") 2>conftest.er1
5085 grep -v '^ *+' conftest.er1 >conftest.err
5087 cat conftest.err >&5
5088 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5089 (exit $ac_status); } && {
5090 test -z "$ac_c_werror_flag" ||
5091 test ! -s conftest.err
5092 } && test -s conftest.$ac_objext; then
5093 { echo "$as_me:$LINENO: result
: yes" >&5
5094 echo "${ECHO_T}yes" >&6; }
5096 echo "$as_me: failed program was
:" >&5
5097 sed 's/^/| /' conftest.$ac_ext >&5
5099 { echo "$as_me:$LINENO: result
: no
" >&5
5100 echo "${ECHO_T}no
" >&6; }; have_gmp=no
5103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5105 if test x"$have_gmp" = xyes; then
5107 LIBS="$LIBS $gmplibs"
5108 { echo "$as_me:$LINENO: checking
for correct version of mpfr.h
" >&5
5109 echo $ECHO_N "checking
for correct version of mpfr.h...
$ECHO_C" >&6; }
5110 cat >conftest.$ac_ext <<_ACEOF
5113 cat confdefs.h >>conftest.$ac_ext
5114 cat >>conftest.$ac_ext <<_ACEOF
5115 /* end confdefs.h. */
5122 #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
5130 mpfr_atan2 (n, n, x, GMP_RNDN);
5131 mpfr_erfc (n, x, GMP_RNDN);
5132 mpfr_subnormalize (x, t, GMP_RNDN);
5138 rm -f conftest.$ac_objext conftest$ac_exeext
5139 if { (ac_try="$ac_link"
5141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5142 *) ac_try_echo=$ac_try;;
5144 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5145 (eval "$ac_link") 2>conftest.er1
5147 grep -v '^ *+' conftest.er1 >conftest.err
5149 cat conftest.err >&5
5150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5151 (exit $ac_status); } && {
5152 test -z "$ac_c_werror_flag" ||
5153 test ! -s conftest.err
5154 } && test -s conftest$ac_exeext &&
5155 $as_test_x conftest$ac_exeext; then
5156 cat >conftest.$ac_ext <<_ACEOF
5159 cat confdefs.h >>conftest.$ac_ext
5160 cat >>conftest.$ac_ext <<_ACEOF
5161 /* end confdefs.h. */
5168 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,0)
5171 mpfr_t n; mpfr_init(n);
5177 rm -f conftest.$ac_objext conftest$ac_exeext
5178 if { (ac_try="$ac_link"
5180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5181 *) ac_try_echo=$ac_try;;
5183 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5184 (eval "$ac_link") 2>conftest.er1
5186 grep -v '^ *+' conftest.er1 >conftest.err
5188 cat conftest.err >&5
5189 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5190 (exit $ac_status); } && {
5191 test -z "$ac_c_werror_flag" ||
5192 test ! -s conftest.err
5193 } && test -s conftest$ac_exeext &&
5194 $as_test_x conftest$ac_exeext; then
5195 { echo "$as_me:$LINENO: result
: yes" >&5
5196 echo "${ECHO_T}yes" >&6; }
5198 echo "$as_me: failed program was
:" >&5
5199 sed 's/^/| /' conftest.$ac_ext >&5
5201 { echo "$as_me:$LINENO: result
: buggy but acceptable
" >&5
5202 echo "${ECHO_T}buggy but acceptable
" >&6; }
5205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5206 conftest$ac_exeext conftest.$ac_ext
5208 echo "$as_me: failed program was
:" >&5
5209 sed 's/^/| /' conftest.$ac_ext >&5
5211 { echo "$as_me:$LINENO: result
: no
" >&5
5212 echo "${ECHO_T}no
" >&6; }; have_gmp=no
5215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5216 conftest$ac_exeext conftest.$ac_ext
5219 CFLAGS="$saved_CFLAGS"
5221 if test x$have_gmp != xyes; then
5222 { { echo "$as_me:$LINENO: error
: Building GCC requires GMP
4.1+ and MPFR
2.3.0+.
5223 Try the
--with-gmp and
/or
--with-mpfr options to specify their locations.
5224 Copies of these libraries
' source code can be found at their respective
5225 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
5226 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
5227 If you obtained GMP and/or MPFR from a vendor distribution package, make
5228 sure that you have installed both the libraries and the header files.
5229 They may be located in separate packages." >&5
5230 echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
5231 Try the --with-gmp and/or --with-mpfr options to specify their locations.
5232 Copies of these libraries' source code can be found
at their respective
5233 hosting sites as well as
at ftp://gcc.gnu.org
/pub
/gcc
/infrastructure
/.
5234 See also http
://gcc.gnu.org
/install
/prerequisites.html
for additional info.
5235 If you obtained GMP and
/or MPFR from a vendor distribution package
, make
5236 sure that you have installed both the libraries and the header files.
5237 They may be located
in separate packages.
" >&2;}
5238 { (exit 1); exit 1; }; }
5242 # Flags needed for both GMP and/or MPFR
5246 # By default, C is the only stage 1 language.
5247 stage1_languages=,c,
5249 # Figure out what language subdirectories are present.
5250 # Look if the user specified --enable-languages="...
"; if not, use
5251 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5253 # NB: embedded tabs in this IF block -- do not untabify
5254 if test -d ${srcdir}/gcc; then
5255 if test x"${enable_languages+set}" != xset; then
5256 if test x"${LANGUAGES+set}" = xset; then
5257 enable_languages="${LANGUAGES}"
5258 echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
5260 enable_languages=all
5263 if test x"${enable_languages}" = x ||
5264 test x"${enable_languages}" = xyes;
5266 echo configure.in: --enable-languages needs at least one language argument 1>&2
5270 enable_languages=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
5272 # 'f95' is the old name for the 'fortran' language. We issue a warning
5273 # and make the substitution.
5274 case ,${enable_languages}, in
5276 echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
5277 enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
5281 # First scan to see if an enabled language requires some other language.
5282 # We assume that a given config-lang.in will list all the language
5283 # front ends it requires, even if some are required indirectly.
5284 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
5285 case ${lang_frag} in
5287 # The odd quoting in the next line works around
5288 # an apparent bug in bash 1.12 on linux.
5289 ${srcdir}/gcc/[*]/config-lang.in) ;;
5291 # From the config-lang.in, get $language, $lang_requires
5295 for other in ${lang_requires} ; do
5296 case ,${enable_languages}, in
5300 echo " \
`$other' language required by \`$language'; enabling" 1>&2
5301 enable_languages="${enable_languages},${other}"
5309 new_enable_languages=,c,
5310 missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
5311 potential_languages=,c,
5313 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
5314 case ${lang_frag} in
5316 # The odd quoting in the next line works around
5317 # an apparent bug in bash 1.12 on linux.
5318 ${srcdir}/gcc/[*]/config-lang.in) ;;
5320 # From the config-lang.in, get $language, $target_libs,
5321 # $lang_dirs, $boot_language, and $build_by_default
5327 build_by_default=yes
5329 if test x${language} = x; then
5330 echo "${lang_frag} doesn't
set \
$language.
" 1>&2
5334 case ,${enable_languages}, in
5336 # Language was explicitly selected; include it.
5340 # 'all' was selected, select it if it is a default language
5341 add_this_lang=${build_by_default}
5348 # Disable languages that need other directories if these aren't available.
5349 for i in $subdir_requires; do
5350 test -f "$srcdir/gcc
/$i/config-lang.
in" && continue
5351 case ,${enable_languages}, in
5353 # Specifically requested language; tell them.
5354 { { echo "$as_me:$LINENO: error
: The gcc
/$i directory contains parts of
$language but is missing
" >&5
5355 echo "$as_me: error
: The gcc
/$i directory contains parts of
$language but is missing
" >&2;}
5356 { (exit 1); exit 1; }; }
5360 add_this_lang=unsupported
5365 # Disable Ada if no preexisting GNAT is available.
5366 case ,${enable_languages},:${language}:${have_gnat} in
5367 *,${language},*:ada:no)
5368 # Specifically requested language; tell them.
5369 { { echo "$as_me:$LINENO: error
: GNAT is required to build
$language" >&5
5370 echo "$as_me: error
: GNAT is required to build
$language" >&2;}
5371 { (exit 1); exit 1; }; }
5375 add_this_lang=unsupported
5379 # Disable a language that is unsupported by the target.
5380 case " $unsupported_languages " in
5382 add_this_lang=unsupported
5386 case $add_this_lang in
5388 # Remove language-dependent dirs.
5389 eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5392 # Remove language-dependent dirs; still show language as supported.
5393 eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5394 potential_languages="${potential_languages}${language},"
5397 new_enable_languages="${new_enable_languages}${language},"
5398 potential_languages="${potential_languages}${language},"
5399 missing_languages=`echo "$missing_languages" | sed "s
/,$language,/,/"`
5400 case ${boot_language} in
5402 # Add to (comma-separated) list of stage 1 languages.
5403 stage1_languages="${stage1_languages}${language},"
5412 # Check whether --enable-stage1-languages was given.
5413 if test "${enable_stage1_languages+set}" = set; then
5414 enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
5416 # Set it to something that will have no effect in the loop below
5417 enable_stage1_languages=c ;;
5419 enable_stage1_languages=`echo $new_enable_languages | \
5420 sed -e "s
/^
,//" -e "s
/,$
//" ` ;;
5422 enable_stage1_languages=`echo ,$enable_stage1_languages, | \
5423 sed -e "s
/,all
,/$new_enable_languages/" -e "s
/^
,//" -e "s
/,$
//" ` ;;
5426 # Add "good
" languages from enable_stage1_languages to stage1_languages,
5427 # while "bad
" languages go in missing_languages. Leave no duplicates.
5428 for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
5429 case $potential_languages in
5431 case $stage1_languages in
5433 *) stage1_languages="$stage1_languages$i," ;;
5436 case $missing_languages in
5438 *) missing_languages="$missing_languages$i," ;;
5445 # Remove leading/trailing commas that were added for simplicity
5446 potential_languages=`echo "$potential_languages" | sed -e "s
/^
,//" -e "s
/,$
//"`
5447 missing_languages=`echo "$missing_languages" | sed -e "s
/^
,//" -e "s
/,$
//"`
5448 stage1_languages=`echo "$stage1_languages" | sed -e "s
/^
,//" -e "s
/,$
//"`
5449 new_enable_languages=`echo "$new_enable_languages" | sed -e "s
/^
,//" -e "s
/,$
//"`
5451 if test "x
$missing_languages" != x; then
5452 { { echo "$as_me:$LINENO: error
:
5453 The following requested languages could not be built
: ${missing_languages}
5454 Supported languages are
: ${potential_languages}" >&5
5455 echo "$as_me: error
:
5456 The following requested languages could not be built
: ${missing_languages}
5457 Supported languages are
: ${potential_languages}" >&2;}
5458 { (exit 1); exit 1; }; }
5460 if test "x
$new_enable_languages" != "x
$enable_languages"; then
5461 echo The following languages will be built: ${new_enable_languages}
5462 enable_languages="$new_enable_languages"
5466 ac_configure_args=`echo " $ac_configure_args" | sed -e "s
/ '--enable-languages=[^ ]*'//g
" -e "s
/$
/ '--enable-languages="$enable_languages"'/" `
5469 # Handle --disable-<component> generically.
5470 for dir in $configdirs $build_configdirs $target_configdirs ; do
5471 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
5472 varname=`echo $dirname | sed -e s/+/_/g`
5473 if eval test x\${enable_${varname}} "=" xno ; then
5474 noconfigdirs="$noconfigdirs $dir"
5478 # Check for Boehm's garbage collector
5479 # Check whether --enable-objc-gc was given.
5480 if test "${enable_objc_gc+set}" = set; then
5481 enableval=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5482 *,objc,*:*:yes:*target-boehm-gc*)
5483 { { echo "$as_me:$LINENO: error
: Boehm
's garbage collector was requested yet not supported in this configuration" >&5
5484 echo "$as_me: error: Boehm's garbage collector was requested yet not supported
in this configuration
" >&2;}
5485 { (exit 1); exit 1; }; }
5491 # Make sure we only build Boehm's garbage collector if required.
5492 case ,${enable_languages},:${enable_objc_gc} in
5494 # Keep target-boehm-gc if requested for Objective-C.
5497 # Otherwise remove target-boehm-gc depending on target-libjava.
5498 if echo " ${noconfigdirs} " | grep "target-libjava
" >/dev/null 2>&1; then
5499 noconfigdirs="$noconfigdirs target-boehm-gc
"
5504 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
5505 # $build_configdirs and $target_configdirs.
5506 # If we have the source for $noconfigdirs entries, add them to $notsupp.
5509 for dir in . $skipdirs $noconfigdirs ; do
5510 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
5511 if test $dir != . && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5512 configdirs=`echo " ${configdirs} " | sed -e "s
/ ${dir} / /"`
5513 if test -r $srcdir/$dirname/configure ; then
5514 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5517 notsupp="$notsupp $dir"
5521 if test $dir != . && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5522 build_configdirs=`echo " ${build_configdirs} " | sed -e "s
/ ${dir} / /"`
5523 if test -r $srcdir/$dirname/configure ; then
5524 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5527 notsupp="$notsupp $dir"
5531 if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5532 target_configdirs=`echo " ${target_configdirs} " | sed -e "s
/ ${dir} / /"`
5533 if test -r $srcdir/$dirname/configure ; then
5534 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5537 notsupp="$notsupp $dir"
5543 # Sometimes the tools are distributed with libiberty but with no other
5544 # libraries. In that case, we don't want to build target-libiberty.
5545 # Don't let libgcc imply libiberty either.
5546 if test -n "${target_configdirs}" ; then
5549 for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5550 if test "$i" = "libgcc
"; then
5551 libgcc=target-libgcc
5552 elif test "$i" != "libiberty
" ; then
5553 if test -r $srcdir/$i/configure ; then
5559 if test -z "${others}" ; then
5560 target_configdirs=$libgcc
5564 # Quietly strip out all directories which aren't configurable in this tree.
5565 # This relies on all configurable subdirectories being autoconfiscated, which
5567 build_configdirs_all="$build_configdirs"
5569 for i in ${build_configdirs_all} ; do
5570 j=`echo $i | sed -e s/build-//g`
5571 if test -f ${srcdir}/$j/configure ; then
5572 build_configdirs="${build_configdirs} $i"
5576 configdirs_all="$configdirs"
5578 for i in ${configdirs_all} ; do
5579 if test -f ${srcdir}/$i/configure ; then
5580 configdirs="${configdirs} $i"
5584 target_configdirs_all="$target_configdirs"
5586 for i in ${target_configdirs_all} ; do
5587 j=`echo $i | sed -e s/target-//g`
5588 if test -f ${srcdir}/$j/configure ; then
5589 target_configdirs="${target_configdirs} $i"
5593 # Produce a warning message for the subdirs we can't configure.
5594 # This isn't especially interesting in the Cygnus tree, but in the individual
5595 # FSF releases, it's important to let people know when their machine isn't
5596 # supported by the one or two programs in a package.
5598 if test -n "${notsupp}" && test -z "${norecursion}" ; then
5599 # If $appdirs is non-empty, at least one of those directories must still
5600 # be configured, or we error out. (E.g., if the gas release supports a
5601 # specified target in some subdirs but not the gas subdir, we shouldn't
5602 # pretend that all is well.)
5603 if test -n "$appdirs" ; then
5604 for dir in $appdirs ; do
5605 if test -r $dir/Makefile.in ; then
5606 if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
5610 if echo " ${target_configdirs} " | grep " target-
${dir} " >/dev/null 2>&1; then
5616 if test -n "$appdirs" ; then
5617 echo "*** This configuration is not supported by this package.
" 1>&2
5621 # Okay, some application will build, or we don't care to check. Still
5622 # notify of subdirs not getting built.
5623 echo "*** This configuration is not supported
in the following subdirectories
:" 1>&2
5624 echo " ${notsupp}" 1>&2
5625 echo " (Any other directories should still work fine.
)" 1>&2
5633 # To find our prefix, in gcc_cv_tool_prefix.
5635 # The user is always right.
5636 if test "${PATH_SEPARATOR+set}" != set; then
5637 echo "#! /bin/sh" >conf$$.sh
5638 echo "exit 0" >>conf$$.sh
5640 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5650 if test "x$exec_prefix" = xNONE
; then
5651 if test "x$prefix" = xNONE
; then
5652 gcc_cv_tool_prefix
=$ac_default_prefix
5654 gcc_cv_tool_prefix
=$prefix
5657 gcc_cv_tool_prefix
=$exec_prefix
5660 # If there is no compiler in the tree, use the PATH only. In any
5661 # case, if there is no compiler in the tree nobody should use
5662 # AS_FOR_TARGET and LD_FOR_TARGET.
5663 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
5664 gcc_version
=`cat $srcdir/gcc/BASE-VER`
5665 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5666 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
5667 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5668 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
5669 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
5670 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
5675 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
5676 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
5684 # Check whether --with-build-sysroot was given.
5685 if test "${with_build_sysroot+set}" = set; then
5686 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
5687 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
5690 SYSROOT_CFLAGS_FOR_TARGET
=
5696 # Check whether --with-debug-prefix-map was given.
5697 if test "${with_debug_prefix_map+set}" = set; then
5698 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
5699 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5700 for debug_map
in $withval; do
5701 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5705 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
5710 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
5711 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
5712 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
5713 # We want to ensure that TARGET libraries (which we know are built with
5714 # gcc) are built with "-O2 -g", so include those options when setting
5715 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
5716 if test "x$CFLAGS_FOR_TARGET" = x
; then
5717 CFLAGS_FOR_TARGET
=$CFLAGS
5720 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
5723 *" -g "* |
*" -g3 "*) ;;
5724 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
5729 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
5730 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
5731 case " $CXXFLAGS " in
5733 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
5735 case " $CXXFLAGS " in
5736 *" -g "* |
*" -g3 "*) ;;
5737 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
5742 # Handle --with-headers=XXX. If the value is not "yes", the contents of
5743 # the named directory are copied to $(tooldir)/sys-include.
5744 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
5745 if test x
${is_cross_compiler} = xno
; then
5746 echo 1>&2 '***' --with-headers is only supported when cross compiling
5749 if test x
"${with_headers}" != xyes
; then
5750 x
=${gcc_cv_tool_prefix}
5751 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
5755 # Handle --with-libs=XXX. If the value is not "yes", the contents of
5756 # the name directories are copied to $(tooldir)/lib. Multiple directories
5758 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
5759 if test x
${is_cross_compiler} = xno
; then
5760 echo 1>&2 '***' --with-libs is only supported when cross compiling
5763 if test x
"${with_libs}" != xyes
; then
5764 # Copy the libraries in reverse order, so that files in the first named
5765 # library override files in subsequent libraries.
5766 x
=${gcc_cv_tool_prefix}
5767 for l
in ${with_libs}; do
5768 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
5773 # Set with_gnu_as and with_gnu_ld as appropriate.
5775 # This is done by determining whether or not the appropriate directory
5776 # is available, and by checking whether or not specific configurations
5777 # have requested that this magic not happen.
5779 # The command line options always override the explicit settings in
5780 # configure.in, and the settings in configure.in override this magic.
5782 # If the default for a toolchain is to use GNU as and ld, and you don't
5783 # want to do that, then you should use the --without-gnu-as and
5784 # --without-gnu-ld options for the configure script.
5786 if test x
${use_gnu_as} = x
&&
5787 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
5789 extra_host_args
="$extra_host_args --with-gnu-as"
5792 if test x
${use_gnu_ld} = x
&&
5793 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
5795 extra_host_args
="$extra_host_args --with-gnu-ld"
5798 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
5799 # can detect this case.
5801 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
5803 extra_host_args
="$extra_host_args --with-newlib"
5806 # Handle ${copy_dirs}
5807 set fnord
${copy_dirs}
5809 while test $# != 0 ; do
5810 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
5813 echo Copying
$1 to
$2
5815 # Use the install script to create the directory and all required
5816 # parent directories.
5817 if test -d $2 ; then
5821 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
5824 # Copy the directory, assuming we have tar.
5825 # FIXME: Should we use B in the second tar? Not all systems support it.
5826 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
5828 # It is the responsibility of the user to correctly adjust all
5829 # symlinks. If somebody can figure out how to handle them correctly
5830 # here, feel free to add the code.
5837 # Determine a target-dependent exec_prefix that the installed
5838 # gcc will search in. Keep this list sorted by triplet, with
5839 # the *-*-osname triplets last.
5843 md_exec_prefix
=/gnu
/lib
/gcc-lib
5845 i
[34567]86-pc-msdosdjgpp*)
5846 md_exec_prefix
=/dev
/env
/DJDIR
/bin
5848 i
[34567]86-*-sco3.2v5
*)
5849 if test $with_gnu_as = yes; then
5850 md_exec_prefix
=/usr
/gnu
/bin
5852 md_exec_prefix
=/usr
/ccs
/bin
/elf
5857 powerpc-
*-chorusos* | \
5858 powerpc
*-*-eabi* | \
5859 powerpc
*-*-sysv* | \
5860 powerpc
*-*-kaos* | \
5862 md_exec_prefix
=/usr
/ccs
/bin
5867 md_exec_prefix
=/usr
/ccs
/bin
5882 md_exec_prefix
=/usr
/ccs
/bin
5886 extra_arflags_for_target
=
5887 extra_nmflags_for_target
=
5888 extra_ranlibflags_for_target
=
5889 target_makefile_frag
=/dev
/null
5892 target_makefile_frag
="config/mt-mep"
5895 target_makefile_frag
="config/mt-spu"
5898 target_makefile_frag
="config/mt-sde"
5900 mipsisa
*-*-elfoabi*)
5901 target_makefile_frag
="config/mt-mips-elfoabi"
5904 target_makefile_frag
="config/mt-netware"
5906 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
5907 target_makefile_frag
="config/mt-gnu"
5909 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
5910 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
5911 # commands to handle both 32-bit and 64-bit objects. These flags are
5912 # harmless if we're using GNU nm or ar.
5913 extra_arflags_for_target
=" -X32_64"
5914 extra_nmflags_for_target
=" -B -X32_64"
5917 # ranlib from Darwin requires the -c flag to look at common symbols.
5918 extra_ranlibflags_for_target
=" -c"
5920 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
5921 target_makefile_frag
="config/mt-wince"
5925 alphaieee_frag
=/dev
/null
5928 # This just makes sure to use the -mieee option to build target libs.
5929 # This should probably be set individually by each library.
5930 alphaieee_frag
="config/mt-alphaieee"
5934 # If --enable-target-optspace always use -Os instead of -O2 to build
5935 # the target libraries, similarly if it is not specified, use -Os
5936 # on selected platforms.
5937 ospace_frag
=/dev
/null
5938 case "${enable_target_optspace}:${target}" in
5940 ospace_frag
="config/mt-ospace"
5943 ospace_frag
="config/mt-d30v"
5945 :m32r-
* |
:d10v-
* |
:fr30-
*)
5946 ospace_frag
="config/mt-ospace"
5951 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
5955 # Default to using --with-stabs for certain targets.
5956 if test x
${with_stabs} = x
; then
5960 mips
*-*-* | alpha
*-*-osf*)
5962 extra_host_args
="${extra_host_args} --with-stabs"
5967 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
5968 # them automatically.
5971 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
5975 # Some systems (e.g., one of the i386-aix systems the gas testers are
5976 # using) don't handle "\$" correctly, so don't use it here.
5977 tooldir
='${exec_prefix}'/${target_noncanonical}
5978 build_tooldir
=${tooldir}
5980 # Create a .gdbinit file which runs the one in srcdir
5981 # and tells GDB to look there for source files.
5983 if test -r ${srcdir}/.gdbinit
; then
5986 *) cat > .
/.gdbinit
<<EOF
5990 source ${srcdir}/.gdbinit
5996 # Make sure that the compiler is able to generate an executable. If it
5997 # can't, we are probably in trouble. We don't care whether we can run the
5998 # executable--we might be using a cross compiler--we only care whether it
5999 # can be created. At this point the main configure script has set CC.
6001 echo "int main () { return 0; }" > conftest.c
6002 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6003 if test $?
= 0 ; then
6004 if test -s conftest ||
test -s conftest.exe
; then
6010 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6011 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6018 # The Solaris /usr/ucb/cc compiler does not appear to work.
6020 sparc-sun-solaris2
*)
6021 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
6022 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6024 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
6025 if test -d /opt
/cygnus
/bin
; then
6026 if test "$could_use" = "" ; then
6027 could_use
="/opt/cygnus/bin"
6029 could_use
="$could_use or /opt/cygnus/bin"
6032 if test "$could_use" = "" ; then
6033 echo "Warning: compilation may fail because you're using"
6034 echo "/usr/ucb/cc. You should change your PATH or CC "
6035 echo "variable and rerun configure."
6037 echo "Warning: compilation may fail because you're using"
6038 echo "/usr/ucb/cc, when you should use the C compiler from"
6039 echo "$could_use. You should change your"
6040 echo "PATH or CC variable and rerun configure."
6047 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6048 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6049 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6052 # Record target_configdirs and the configure arguments for target and
6053 # build configuration in Makefile.
6054 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6055 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6057 # Determine whether gdb needs tk/tcl or not.
6058 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6059 # and in that case we want gdb to be built without tk. Ugh!
6060 # In fact I believe gdb is the *only* package directly dependent on tk,
6061 # so we should be able to put the 'maybe's in unconditionally and
6062 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6063 # 100% sure that that's safe though.
6065 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6066 case "$enable_gdbtk" in
6070 GDB_TK
="${gdb_tk}" ;;
6072 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6073 # distro. Eventually someone will fix this and move Insight, nee
6074 # gdbtk to a separate directory.
6075 if test -d ${srcdir}/gdb
/gdbtk
; then
6082 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6083 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6085 # Strip out unwanted targets.
6087 # While at that, we remove Makefiles if we were started for recursive
6088 # configuration, so that the top-level Makefile reconfigures them,
6089 # like we used to do when configure itself was recursive.
6091 # Loop over modules. $extrasub must be used with care, limiting as
6092 # much as possible the usage of range addresses. That's because autoconf
6093 # splits the sed script to overcome limits in the number of commands,
6094 # and relying on carefully-timed sed passes may turn out to be very hard
6095 # to maintain later. In this particular case, you just have to be careful
6096 # not to nest @if/@endif pairs, because configure will not warn you at all.
6098 # Check whether --enable-bootstrap was given.
6099 if test "${enable_bootstrap+set}" = set; then
6100 enableval
=$enable_bootstrap;
6102 enable_bootstrap
=default
6106 # Issue errors and warnings for invalid/strange bootstrap combinations.
6107 case "$configdirs" in
6108 *gcc
*) have_compiler
=yes ;;
6109 *) have_compiler
=no
;;
6112 case "$have_compiler:$host:$target:$enable_bootstrap" in
6115 # Default behavior. Enable bootstrap if we have a compiler
6116 # and we are in a native configuration.
6117 yes:$build:$build:default
)
6118 enable_bootstrap
=yes ;;
6121 enable_bootstrap
=no
;;
6123 # We have a compiler and we are in a native configuration, bootstrap is ok
6124 yes:$build:$build:yes)
6127 # Other configurations, but we have a compiler. Assume the user knows
6130 { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
6131 echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
6134 # No compiler: if they passed --enable-bootstrap explicitly, fail
6136 { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
6137 echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
6138 { (exit 1); exit 1; }; } ;;
6140 # Fail if wrong command line
6142 { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
6143 echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
6144 { (exit 1); exit 1; }; }
6148 # Adjust the toplevel makefile according to whether bootstrap was selected.
6149 case "$enable_bootstrap" in
6151 bootstrap_suffix
=bootstrap
;;
6153 bootstrap_suffix
=no-bootstrap
;;
6156 for module
in ${build_configdirs} ; do
6157 if test -z "${no_recursion}" \
6158 && test -f ${build_subdir}/${module}/Makefile
; then
6159 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6160 rm -f ${build_subdir}/${module}/Makefile
6163 /^@if build-$module\$/d
6164 /^@endif build-$module\$/d
6165 /^@if build-$module-$bootstrap_suffix\$/d
6166 /^@endif build-$module-$bootstrap_suffix\$/d"
6168 for module
in ${configdirs} ; do
6169 if test -z "${no_recursion}"; then
6170 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6171 if test -f ${file}; then
6172 echo 1>&2 "*** removing ${file} to force reconfigure"
6179 /^@endif $module\$/d
6180 /^@if $module-$bootstrap_suffix\$/d
6181 /^@endif $module-$bootstrap_suffix\$/d"
6183 for module
in ${target_configdirs} ; do
6184 if test -z "${no_recursion}" \
6185 && test -f ${target_subdir}/${module}/Makefile
; then
6186 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6187 rm -f ${target_subdir}/${module}/Makefile
6190 /^@if target-$module\$/d
6191 /^@endif target-$module\$/d
6192 /^@if target-$module-$bootstrap_suffix\$/d
6193 /^@endif target-$module-$bootstrap_suffix\$/d"
6197 /^@if /,/^@endif /d"
6199 # Create the serialization dependencies. This uses a temporary file.
6201 # Check whether --enable-serial-configure was given.
6202 if test "${enable_serial_configure+set}" = set; then
6203 enableval
=$enable_serial_configure;
6207 case ${enable_serial_configure} in
6209 enable_serial_build_configure
=yes
6210 enable_serial_host_configure
=yes
6211 enable_serial_target_configure
=yes
6215 # These force 'configure's to be done one at a time, to avoid problems
6216 # with contention over a shared config.cache.
6218 echo '# serdep.tmp' > serdep.tmp
6220 test "x${enable_serial_build_configure}" = xyes
&&
6221 for item
in ${build_configdirs} ; do
6224 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6229 test "x${enable_serial_host_configure}" = xyes
&&
6230 for item
in ${configdirs} ; do
6233 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6238 test "x${enable_serial_target_configure}" = xyes
&&
6239 for item
in ${target_configdirs} ; do
6242 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6246 serialization_dependencies
=serdep.tmp
6249 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6250 # target, nonopt, and variable assignments. These are the ones we
6251 # might not want to pass down to subconfigures. Also strip
6252 # program-prefix, program-suffix, and program-transform-name, so that
6253 # we can pass down a consistent program-transform-name.
6257 eval "set -- $ac_configure_args"
6260 if test X
"$skip_next" = X
"yes"; then
6264 if test X
"$keep_next" = X
"yes"; then
6267 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6269 baseargs
="$baseargs '$ac_arg'"
6274 # Handle separated arguments. Based on the logic generated by
6277 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
6278 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
6279 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
6280 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
6306 -program-prefix* | \
6307 -program-suffix* | \
6308 -program-transform-name* )
6309 skip_next
=$separate_arg
6313 # An option. Add it.
6316 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6318 baseargs
="$baseargs '$ac_arg'"
6319 keep_next
=$separate_arg
6322 # Either a variable assignment, or a nonopt (triplet). Don't
6323 # pass it down; let the Makefile handle this.
6328 # Remove the initial space we just introduced and, as these will be
6329 # expanded by make, quote '$'.
6330 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
6332 # Add in --program-transform-name, after --program-prefix and
6333 # --program-suffix have been applied to it. Autoconf has already
6334 # doubled dollar signs and backslashes in program_transform_name; we want
6335 # the backslashes un-doubled, and then the entire thing wrapped in single
6336 # quotes, because this will be expanded first by make and then by the shell.
6337 # Also, because we want to override the logic in subdir configure scripts to
6338 # choose program_transform_name, replace any s,x,x, with s,y,y,.
6339 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
6340 ${program_transform_name}
6342 gcc_transform_name
=`cat conftestsed.out`
6343 rm -f conftestsed.out
6344 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
6345 if test "$silent" = yes; then
6346 baseargs
="$baseargs --silent"
6349 # For the build-side libraries, we just need to pretend we're native,
6350 # and not use the same cache file. Multilibs are neither needed nor
6352 build_configargs
="--cache-file=../config.cache ${baseargs}"
6354 # For host modules, accept cache file option, or specification as blank.
6355 case "${cache_file}" in
6357 cache_file_option
="" ;;
6358 /* |
[A-Za-z
]:[\\/]* ) # absolute path
6359 cache_file_option
="--cache-file=${cache_file}" ;;
6361 cache_file_option
="--cache-file=../${cache_file}" ;;
6364 # Host dirs don't like to share a cache file either, horribly enough.
6365 # This seems to be due to autoconf 2.5x stupidity.
6366 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
6368 target_configargs
=${baseargs}
6370 # Passing a --with-cross-host argument lets the target libraries know
6371 # whether they are being built with a cross-compiler or being built
6372 # native. However, it would be better to use other mechanisms to make the
6373 # sorts of decisions they want to make on this basis. Please consider
6374 # this option to be deprecated. FIXME.
6375 if test x
${is_cross_compiler} = xyes
; then
6376 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
6379 # Default to --enable-multilib.
6380 if test x
${enable_multilib} = x
; then
6381 target_configargs
="--enable-multilib ${target_configargs}"
6384 # Pass --with-newlib if appropriate. Note that target_configdirs has
6385 # changed from the earlier setting of with_newlib.
6386 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
6387 target_configargs
="--with-newlib ${target_configargs}"
6390 # Different target subdirs use different values of certain variables
6391 # (notably CXX). Worse, multilibs use *lots* of different values.
6392 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
6393 # it doesn't automatically accept command-line overrides of them.
6394 # This means it's not safe for target subdirs to share a cache file,
6395 # which is disgusting, but there you have it. Hopefully this can be
6396 # fixed in future. It's still worthwhile to use a cache file for each
6397 # directory. I think.
6399 # Pass the appropriate --build, --host, --target and --cache-file arguments.
6400 # We need to pass --target, as newer autoconf's requires consistency
6401 # for target_alias and gcc doesn't manage it consistently.
6402 target_configargs
="--cache-file=./config.cache ${target_configargs}"
6405 case " $target_configdirs " in
6407 case " $target_configargs " in
6408 *" --with-newlib "*)
6411 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include' ;;
6414 # If we're not building GCC, don't discard standard headers.
6415 if test -d ${srcdir}/gcc
; then
6416 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
6418 if test "${build}" != "${host}"; then
6419 # On Canadian crosses, CC_FOR_TARGET will have already been set
6420 # by `configure', so we won't have an opportunity to add -Bgcc/
6421 # to it. This is right: we don't want to search that directory
6422 # for binaries, but we want the header files in there, so add
6424 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
6426 # Someone might think of using the pre-installed headers on
6427 # Canadian crosses, in case the installed compiler is not fully
6428 # compatible with the compiler being built. In this case, it
6429 # would be better to flag an error than risking having
6430 # incompatible object files being constructed. We can't
6431 # guarantee that an error will be flagged, but let's hope the
6432 # compiler will do it, when presented with incompatible header
6437 case "${target}-${is_cross_compiler}" in
6438 i
[3456789]86-*-linux*-no)
6439 # Here host == target, so we don't need to build gcc,
6440 # so we don't want to discard standard headers.
6441 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
6444 # If we're building newlib, use its generic headers last, but search
6445 # for any libc-related directories first (so make it the last -B
6447 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
6449 # If we're building libgloss, find the startup file, simulator library
6450 # and linker script.
6451 case " $target_configdirs " in
6453 # Look for startup file, simulator library and maybe linker script.
6454 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
6455 # Look for libnosys.a in case the target needs it.
6456 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
6457 # Most targets have the linker script in the source directory.
6458 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
6469 # Can't be handled as Cygwin above since Mingw does not use newlib.
6470 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/mingw -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/mingw/include -isystem $$s/winsup/w32api/include' ;;
6473 # Allow the user to override the flags for
6474 # our build compiler if desired.
6475 if test x
"${build}" = x
"${host}" ; then
6476 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
6477 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6478 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6481 # On Canadian crosses, we'll be searching the right directories for
6482 # the previously-installed cross compiler, so don't bother to add
6483 # flags for directories within the install tree of the compiler
6484 # being built; programs in there won't even run.
6485 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6486 # Search for pre-installed headers if nothing else fits.
6487 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6490 if test "x
${use_gnu_ld}" = x &&
6491 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
6492 # Arrange for us to find uninstalled linker scripts.
6493 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6496 # Search for other target-specific linker scripts and such.
6499 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6503 # Makefile fragments.
6504 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6506 eval fragval=\$$frag
6507 if test $fragval != /dev/null; then
6508 eval $frag=${srcdir}/$fragval
6516 # Miscellanea: directories, flags, etc.
6524 # Build module lists & subconfigure args.
6528 # Host module lists & subconfigure args.
6532 # Target module lists & subconfigure args.
6554 # Generate default definitions for YACC, M4, LEX and other programs that run
6555 # on the build machine. These are used if the Makefile can't locate these
6556 # programs in objdir.
6557 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
6559 for ac_prog in 'bison -y' byacc yacc
6561 # Extract the first word of "$ac_prog", so it can be a program name with args.
6562 set dummy $ac_prog; ac_word=$2
6563 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6564 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6565 if test "${ac_cv_prog_YACC+set}" = set; then
6566 echo $ECHO_N "(cached
) $ECHO_C" >&6
6568 if test -n "$YACC"; then
6569 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6575 test -z "$as_dir" && as_dir=.
6576 for ac_exec_ext in '' $ac_executable_extensions; do
6577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6578 ac_cv_prog_YACC="$ac_prog"
6579 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6588 YACC=$ac_cv_prog_YACC
6589 if test -n "$YACC"; then
6590 { echo "$as_me:$LINENO: result
: $YACC" >&5
6591 echo "${ECHO_T}$YACC" >&6; }
6593 { echo "$as_me:$LINENO: result
: no
" >&5
6594 echo "${ECHO_T}no
" >&6; }
6598 test -n "$YACC" && break
6600 test -n "$YACC" || YACC="$MISSING bison
-y"
6602 case " $build_configdirs " in
6603 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
6604 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
6607 for ac_prog in bison
6609 # Extract the first word of "$ac_prog", so it can be a program name with args.
6610 set dummy $ac_prog; ac_word=$2
6611 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6612 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6613 if test "${ac_cv_prog_BISON+set}" = set; then
6614 echo $ECHO_N "(cached
) $ECHO_C" >&6
6616 if test -n "$BISON"; then
6617 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 test -z "$as_dir" && as_dir=.
6624 for ac_exec_ext in '' $ac_executable_extensions; do
6625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6626 ac_cv_prog_BISON="$ac_prog"
6627 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6636 BISON=$ac_cv_prog_BISON
6637 if test -n "$BISON"; then
6638 { echo "$as_me:$LINENO: result
: $BISON" >&5
6639 echo "${ECHO_T}$BISON" >&6; }
6641 { echo "$as_me:$LINENO: result
: no
" >&5
6642 echo "${ECHO_T}no
" >&6; }
6646 test -n "$BISON" && break
6648 test -n "$BISON" || BISON="$MISSING bison
"
6650 case " $build_configdirs " in
6651 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
6654 for ac_prog in gm4 gnum4 m4
6656 # Extract the first word of "$ac_prog", so it can be a program name with args.
6657 set dummy $ac_prog; ac_word=$2
6658 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6659 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6660 if test "${ac_cv_prog_M4+set}" = set; then
6661 echo $ECHO_N "(cached
) $ECHO_C" >&6
6663 if test -n "$M4"; then
6664 ac_cv_prog_M4="$M4" # Let the user override the test.
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673 ac_cv_prog_M4="$ac_prog"
6674 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6684 if test -n "$M4"; then
6685 { echo "$as_me:$LINENO: result
: $M4" >&5
6686 echo "${ECHO_T}$M4" >&6; }
6688 { echo "$as_me:$LINENO: result
: no
" >&5
6689 echo "${ECHO_T}no
" >&6; }
6693 test -n "$M4" && break
6695 test -n "$M4" || M4="$MISSING m4"
6697 case " $build_configdirs " in
6698 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
6701 for ac_prog in flex lex
6703 # Extract the first word of "$ac_prog", so it can be a program name with args.
6704 set dummy $ac_prog; ac_word=$2
6705 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6706 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6707 if test "${ac_cv_prog_LEX+set}" = set; then
6708 echo $ECHO_N "(cached
) $ECHO_C" >&6
6710 if test -n "$LEX"; then
6711 ac_cv_prog_LEX="$LEX" # Let the user override the test.
6713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 test -z "$as_dir" && as_dir=.
6718 for ac_exec_ext in '' $ac_executable_extensions; do
6719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6720 ac_cv_prog_LEX="$ac_prog"
6721 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6731 if test -n "$LEX"; then
6732 { echo "$as_me:$LINENO: result
: $LEX" >&5
6733 echo "${ECHO_T}$LEX" >&6; }
6735 { echo "$as_me:$LINENO: result
: no
" >&5
6736 echo "${ECHO_T}no
" >&6; }
6740 test -n "$LEX" && break
6742 test -n "$LEX" || LEX="$MISSING flex
"
6744 case " $build_configdirs " in
6745 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6746 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
6751 # Extract the first word of "$ac_prog", so it can be a program name with args.
6752 set dummy $ac_prog; ac_word=$2
6753 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6754 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6755 if test "${ac_cv_prog_FLEX+set}" = set; then
6756 echo $ECHO_N "(cached
) $ECHO_C" >&6
6758 if test -n "$FLEX"; then
6759 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6765 test -z "$as_dir" && as_dir=.
6766 for ac_exec_ext in '' $ac_executable_extensions; do
6767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6768 ac_cv_prog_FLEX="$ac_prog"
6769 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6778 FLEX=$ac_cv_prog_FLEX
6779 if test -n "$FLEX"; then
6780 { echo "$as_me:$LINENO: result
: $FLEX" >&5
6781 echo "${ECHO_T}$FLEX" >&6; }
6783 { echo "$as_me:$LINENO: result
: no
" >&5
6784 echo "${ECHO_T}no
" >&6; }
6788 test -n "$FLEX" && break
6790 test -n "$FLEX" || FLEX="$MISSING flex
"
6792 case " $build_configdirs " in
6793 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
6796 for ac_prog in makeinfo
6798 # Extract the first word of "$ac_prog", so it can be a program name with args.
6799 set dummy $ac_prog; ac_word=$2
6800 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6801 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6802 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6803 echo $ECHO_N "(cached
) $ECHO_C" >&6
6805 if test -n "$MAKEINFO"; then
6806 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6812 test -z "$as_dir" && as_dir=.
6813 for ac_exec_ext in '' $ac_executable_extensions; do
6814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6815 ac_cv_prog_MAKEINFO="$ac_prog"
6816 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6825 MAKEINFO=$ac_cv_prog_MAKEINFO
6826 if test -n "$MAKEINFO"; then
6827 { echo "$as_me:$LINENO: result
: $MAKEINFO" >&5
6828 echo "${ECHO_T}$MAKEINFO" >&6; }
6830 { echo "$as_me:$LINENO: result
: no
" >&5
6831 echo "${ECHO_T}no
" >&6; }
6835 test -n "$MAKEINFO" && break
6837 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
6839 case " $build_configdirs " in
6840 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
6843 # For an installed makeinfo, we require it to be from texinfo 4.6 or
6844 # higher, else we use the "missing
" dummy.
6845 if ${MAKEINFO} --version \
6846 | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
6849 MAKEINFO="$MISSING makeinfo
"
6855 # FIXME: expect and dejagnu may become build tools?
6857 for ac_prog in expect
6859 # Extract the first word of "$ac_prog", so it can be a program name with args.
6860 set dummy $ac_prog; ac_word=$2
6861 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6862 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6863 if test "${ac_cv_prog_EXPECT+set}" = set; then
6864 echo $ECHO_N "(cached
) $ECHO_C" >&6
6866 if test -n "$EXPECT"; then
6867 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6873 test -z "$as_dir" && as_dir=.
6874 for ac_exec_ext in '' $ac_executable_extensions; do
6875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6876 ac_cv_prog_EXPECT="$ac_prog"
6877 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6886 EXPECT=$ac_cv_prog_EXPECT
6887 if test -n "$EXPECT"; then
6888 { echo "$as_me:$LINENO: result
: $EXPECT" >&5
6889 echo "${ECHO_T}$EXPECT" >&6; }
6891 { echo "$as_me:$LINENO: result
: no
" >&5
6892 echo "${ECHO_T}no
" >&6; }
6896 test -n "$EXPECT" && break
6898 test -n "$EXPECT" || EXPECT="expect
"
6900 case " $configdirs " in
6902 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
6906 for ac_prog in runtest
6908 # Extract the first word of "$ac_prog", so it can be a program name with args.
6909 set dummy $ac_prog; ac_word=$2
6910 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6911 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6912 if test "${ac_cv_prog_RUNTEST+set}" = set; then
6913 echo $ECHO_N "(cached
) $ECHO_C" >&6
6915 if test -n "$RUNTEST"; then
6916 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6922 test -z "$as_dir" && as_dir=.
6923 for ac_exec_ext in '' $ac_executable_extensions; do
6924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6925 ac_cv_prog_RUNTEST="$ac_prog"
6926 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6935 RUNTEST=$ac_cv_prog_RUNTEST
6936 if test -n "$RUNTEST"; then
6937 { echo "$as_me:$LINENO: result
: $RUNTEST" >&5
6938 echo "${ECHO_T}$RUNTEST" >&6; }
6940 { echo "$as_me:$LINENO: result
: no
" >&5
6941 echo "${ECHO_T}no
" >&6; }
6945 test -n "$RUNTEST" && break
6947 test -n "$RUNTEST" || RUNTEST="runtest
"
6949 case " $configdirs " in
6951 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
6958 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
6959 ncn_target_tool_prefix=
6960 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
6964 if test -n "$AR"; then
6966 elif test -n "$ac_cv_prog_AR"; then
6970 if test -n "$ac_cv_prog_AR"; then
6971 for ncn_progname in ar; do
6972 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6973 set dummy ${ncn_progname}; ac_word=$2
6974 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6975 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6976 if test "${ac_cv_prog_AR+set}" = set; then
6977 echo $ECHO_N "(cached
) $ECHO_C" >&6
6979 if test -n "$AR"; then
6980 ac_cv_prog_AR="$AR" # Let the user override the test.
6982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6986 test -z "$as_dir" && as_dir=.
6987 for ac_exec_ext in '' $ac_executable_extensions; do
6988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6989 ac_cv_prog_AR="${ncn_progname}"
6990 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7000 if test -n "$AR"; then
7001 { echo "$as_me:$LINENO: result
: $AR" >&5
7002 echo "${ECHO_T}$AR" >&6; }
7004 { echo "$as_me:$LINENO: result
: no
" >&5
7005 echo "${ECHO_T}no
" >&6; }
7012 for ncn_progname in ar; do
7013 if test -n "$ncn_tool_prefix"; then
7014 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7015 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7016 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7017 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7018 if test "${ac_cv_prog_AR+set}" = set; then
7019 echo $ECHO_N "(cached
) $ECHO_C" >&6
7021 if test -n "$AR"; then
7022 ac_cv_prog_AR="$AR" # Let the user override the test.
7024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7028 test -z "$as_dir" && as_dir=.
7029 for ac_exec_ext in '' $ac_executable_extensions; do
7030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7031 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7032 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7042 if test -n "$AR"; then
7043 { echo "$as_me:$LINENO: result
: $AR" >&5
7044 echo "${ECHO_T}$AR" >&6; }
7046 { echo "$as_me:$LINENO: result
: no
" >&5
7047 echo "${ECHO_T}no
" >&6; }
7052 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7053 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7054 set dummy ${ncn_progname}; ac_word=$2
7055 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7056 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7057 if test "${ac_cv_prog_AR+set}" = set; then
7058 echo $ECHO_N "(cached
) $ECHO_C" >&6
7060 if test -n "$AR"; then
7061 ac_cv_prog_AR="$AR" # Let the user override the test.
7063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067 test -z "$as_dir" && as_dir=.
7068 for ac_exec_ext in '' $ac_executable_extensions; do
7069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7070 ac_cv_prog_AR="${ncn_progname}"
7071 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7081 if test -n "$AR"; then
7082 { echo "$as_me:$LINENO: result
: $AR" >&5
7083 echo "${ECHO_T}$AR" >&6; }
7085 { echo "$as_me:$LINENO: result
: no
" >&5
7086 echo "${ECHO_T}no
" >&6; }
7091 test -n "$ac_cv_prog_AR" && break
7094 if test -z "$ac_cv_prog_AR" ; then
7096 if test $build = $host ; then
7099 AR="${ncn_tool_prefix}$2"
7105 if test -n "$AS"; then
7107 elif test -n "$ac_cv_prog_AS"; then
7111 if test -n "$ac_cv_prog_AS"; then
7112 for ncn_progname in as; do
7113 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7114 set dummy ${ncn_progname}; ac_word=$2
7115 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7116 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7117 if test "${ac_cv_prog_AS+set}" = set; then
7118 echo $ECHO_N "(cached
) $ECHO_C" >&6
7120 if test -n "$AS"; then
7121 ac_cv_prog_AS="$AS" # Let the user override the test.
7123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7127 test -z "$as_dir" && as_dir=.
7128 for ac_exec_ext in '' $ac_executable_extensions; do
7129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7130 ac_cv_prog_AS="${ncn_progname}"
7131 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7141 if test -n "$AS"; then
7142 { echo "$as_me:$LINENO: result
: $AS" >&5
7143 echo "${ECHO_T}$AS" >&6; }
7145 { echo "$as_me:$LINENO: result
: no
" >&5
7146 echo "${ECHO_T}no
" >&6; }
7153 for ncn_progname in as; do
7154 if test -n "$ncn_tool_prefix"; then
7155 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7156 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7157 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7158 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7159 if test "${ac_cv_prog_AS+set}" = set; then
7160 echo $ECHO_N "(cached
) $ECHO_C" >&6
7162 if test -n "$AS"; then
7163 ac_cv_prog_AS="$AS" # Let the user override the test.
7165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169 test -z "$as_dir" && as_dir=.
7170 for ac_exec_ext in '' $ac_executable_extensions; do
7171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7172 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
7173 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7183 if test -n "$AS"; then
7184 { echo "$as_me:$LINENO: result
: $AS" >&5
7185 echo "${ECHO_T}$AS" >&6; }
7187 { echo "$as_me:$LINENO: result
: no
" >&5
7188 echo "${ECHO_T}no
" >&6; }
7193 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
7194 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7195 set dummy ${ncn_progname}; ac_word=$2
7196 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7197 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7198 if test "${ac_cv_prog_AS+set}" = set; then
7199 echo $ECHO_N "(cached
) $ECHO_C" >&6
7201 if test -n "$AS"; then
7202 ac_cv_prog_AS="$AS" # Let the user override the test.
7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7208 test -z "$as_dir" && as_dir=.
7209 for ac_exec_ext in '' $ac_executable_extensions; do
7210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7211 ac_cv_prog_AS="${ncn_progname}"
7212 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7222 if test -n "$AS"; then
7223 { echo "$as_me:$LINENO: result
: $AS" >&5
7224 echo "${ECHO_T}$AS" >&6; }
7226 { echo "$as_me:$LINENO: result
: no
" >&5
7227 echo "${ECHO_T}no
" >&6; }
7232 test -n "$ac_cv_prog_AS" && break
7235 if test -z "$ac_cv_prog_AS" ; then
7237 if test $build = $host ; then
7240 AS="${ncn_tool_prefix}$2"
7246 if test -n "$DLLTOOL"; then
7247 ac_cv_prog_DLLTOOL=$DLLTOOL
7248 elif test -n "$ac_cv_prog_DLLTOOL"; then
7249 DLLTOOL=$ac_cv_prog_DLLTOOL
7252 if test -n "$ac_cv_prog_DLLTOOL"; then
7253 for ncn_progname in dlltool; do
7254 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7255 set dummy ${ncn_progname}; ac_word=$2
7256 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7257 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7258 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7259 echo $ECHO_N "(cached
) $ECHO_C" >&6
7261 if test -n "$DLLTOOL"; then
7262 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7268 test -z "$as_dir" && as_dir=.
7269 for ac_exec_ext in '' $ac_executable_extensions; do
7270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7271 ac_cv_prog_DLLTOOL="${ncn_progname}"
7272 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7281 DLLTOOL=$ac_cv_prog_DLLTOOL
7282 if test -n "$DLLTOOL"; then
7283 { echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7284 echo "${ECHO_T}$DLLTOOL" >&6; }
7286 { echo "$as_me:$LINENO: result
: no
" >&5
7287 echo "${ECHO_T}no
" >&6; }
7294 for ncn_progname in dlltool; do
7295 if test -n "$ncn_tool_prefix"; then
7296 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7297 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7298 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7299 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7300 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7301 echo $ECHO_N "(cached
) $ECHO_C" >&6
7303 if test -n "$DLLTOOL"; then
7304 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7310 test -z "$as_dir" && as_dir=.
7311 for ac_exec_ext in '' $ac_executable_extensions; do
7312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7313 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
7314 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7323 DLLTOOL=$ac_cv_prog_DLLTOOL
7324 if test -n "$DLLTOOL"; then
7325 { echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7326 echo "${ECHO_T}$DLLTOOL" >&6; }
7328 { echo "$as_me:$LINENO: result
: no
" >&5
7329 echo "${ECHO_T}no
" >&6; }
7334 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
7335 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7336 set dummy ${ncn_progname}; ac_word=$2
7337 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7338 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7339 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7340 echo $ECHO_N "(cached
) $ECHO_C" >&6
7342 if test -n "$DLLTOOL"; then
7343 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 test -z "$as_dir" && as_dir=.
7350 for ac_exec_ext in '' $ac_executable_extensions; do
7351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7352 ac_cv_prog_DLLTOOL="${ncn_progname}"
7353 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7362 DLLTOOL=$ac_cv_prog_DLLTOOL
7363 if test -n "$DLLTOOL"; then
7364 { echo "$as_me:$LINENO: result
: $DLLTOOL" >&5
7365 echo "${ECHO_T}$DLLTOOL" >&6; }
7367 { echo "$as_me:$LINENO: result
: no
" >&5
7368 echo "${ECHO_T}no
" >&6; }
7373 test -n "$ac_cv_prog_DLLTOOL" && break
7376 if test -z "$ac_cv_prog_DLLTOOL" ; then
7378 if test $build = $host ; then
7381 DLLTOOL="${ncn_tool_prefix}$2"
7387 if test -n "$LD"; then
7389 elif test -n "$ac_cv_prog_LD"; then
7393 if test -n "$ac_cv_prog_LD"; then
7394 for ncn_progname in ld; do
7395 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7396 set dummy ${ncn_progname}; ac_word=$2
7397 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7398 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7399 if test "${ac_cv_prog_LD+set}" = set; then
7400 echo $ECHO_N "(cached
) $ECHO_C" >&6
7402 if test -n "$LD"; then
7403 ac_cv_prog_LD="$LD" # Let the user override the test.
7405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7409 test -z "$as_dir" && as_dir=.
7410 for ac_exec_ext in '' $ac_executable_extensions; do
7411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7412 ac_cv_prog_LD="${ncn_progname}"
7413 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7423 if test -n "$LD"; then
7424 { echo "$as_me:$LINENO: result
: $LD" >&5
7425 echo "${ECHO_T}$LD" >&6; }
7427 { echo "$as_me:$LINENO: result
: no
" >&5
7428 echo "${ECHO_T}no
" >&6; }
7435 for ncn_progname in ld; do
7436 if test -n "$ncn_tool_prefix"; then
7437 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7438 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7439 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7440 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7441 if test "${ac_cv_prog_LD+set}" = set; then
7442 echo $ECHO_N "(cached
) $ECHO_C" >&6
7444 if test -n "$LD"; then
7445 ac_cv_prog_LD="$LD" # Let the user override the test.
7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7451 test -z "$as_dir" && as_dir=.
7452 for ac_exec_ext in '' $ac_executable_extensions; do
7453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7454 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
7455 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7465 if test -n "$LD"; then
7466 { echo "$as_me:$LINENO: result
: $LD" >&5
7467 echo "${ECHO_T}$LD" >&6; }
7469 { echo "$as_me:$LINENO: result
: no
" >&5
7470 echo "${ECHO_T}no
" >&6; }
7475 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
7476 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7477 set dummy ${ncn_progname}; ac_word=$2
7478 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7479 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7480 if test "${ac_cv_prog_LD+set}" = set; then
7481 echo $ECHO_N "(cached
) $ECHO_C" >&6
7483 if test -n "$LD"; then
7484 ac_cv_prog_LD="$LD" # Let the user override the test.
7486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 test -z "$as_dir" && as_dir=.
7491 for ac_exec_ext in '' $ac_executable_extensions; do
7492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7493 ac_cv_prog_LD="${ncn_progname}"
7494 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7504 if test -n "$LD"; then
7505 { echo "$as_me:$LINENO: result
: $LD" >&5
7506 echo "${ECHO_T}$LD" >&6; }
7508 { echo "$as_me:$LINENO: result
: no
" >&5
7509 echo "${ECHO_T}no
" >&6; }
7514 test -n "$ac_cv_prog_LD" && break
7517 if test -z "$ac_cv_prog_LD" ; then
7519 if test $build = $host ; then
7522 LD="${ncn_tool_prefix}$2"
7528 if test -n "$LIPO"; then
7529 ac_cv_prog_LIPO=$LIPO
7530 elif test -n "$ac_cv_prog_LIPO"; then
7531 LIPO=$ac_cv_prog_LIPO
7534 if test -n "$ac_cv_prog_LIPO"; then
7535 for ncn_progname in lipo; do
7536 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7537 set dummy ${ncn_progname}; ac_word=$2
7538 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7539 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7540 if test "${ac_cv_prog_LIPO+set}" = set; then
7541 echo $ECHO_N "(cached
) $ECHO_C" >&6
7543 if test -n "$LIPO"; then
7544 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7550 test -z "$as_dir" && as_dir=.
7551 for ac_exec_ext in '' $ac_executable_extensions; do
7552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7553 ac_cv_prog_LIPO="${ncn_progname}"
7554 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7563 LIPO=$ac_cv_prog_LIPO
7564 if test -n "$LIPO"; then
7565 { echo "$as_me:$LINENO: result
: $LIPO" >&5
7566 echo "${ECHO_T}$LIPO" >&6; }
7568 { echo "$as_me:$LINENO: result
: no
" >&5
7569 echo "${ECHO_T}no
" >&6; }
7576 for ncn_progname in lipo; do
7577 if test -n "$ncn_tool_prefix"; then
7578 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7579 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7580 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7581 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7582 if test "${ac_cv_prog_LIPO+set}" = set; then
7583 echo $ECHO_N "(cached
) $ECHO_C" >&6
7585 if test -n "$LIPO"; then
7586 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7592 test -z "$as_dir" && as_dir=.
7593 for ac_exec_ext in '' $ac_executable_extensions; do
7594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7595 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
7596 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7605 LIPO=$ac_cv_prog_LIPO
7606 if test -n "$LIPO"; then
7607 { echo "$as_me:$LINENO: result
: $LIPO" >&5
7608 echo "${ECHO_T}$LIPO" >&6; }
7610 { echo "$as_me:$LINENO: result
: no
" >&5
7611 echo "${ECHO_T}no
" >&6; }
7616 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7617 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7618 set dummy ${ncn_progname}; ac_word=$2
7619 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7620 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7621 if test "${ac_cv_prog_LIPO+set}" = set; then
7622 echo $ECHO_N "(cached
) $ECHO_C" >&6
7624 if test -n "$LIPO"; then
7625 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7631 test -z "$as_dir" && as_dir=.
7632 for ac_exec_ext in '' $ac_executable_extensions; do
7633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7634 ac_cv_prog_LIPO="${ncn_progname}"
7635 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7644 LIPO=$ac_cv_prog_LIPO
7645 if test -n "$LIPO"; then
7646 { echo "$as_me:$LINENO: result
: $LIPO" >&5
7647 echo "${ECHO_T}$LIPO" >&6; }
7649 { echo "$as_me:$LINENO: result
: no
" >&5
7650 echo "${ECHO_T}no
" >&6; }
7655 test -n "$ac_cv_prog_LIPO" && break
7658 if test -z "$ac_cv_prog_LIPO" ; then
7660 if test $build = $host ; then
7663 LIPO="${ncn_tool_prefix}$2"
7669 if test -n "$NM"; then
7671 elif test -n "$ac_cv_prog_NM"; then
7675 if test -n "$ac_cv_prog_NM"; then
7676 for ncn_progname in nm; do
7677 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7678 set dummy ${ncn_progname}; ac_word=$2
7679 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7680 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7681 if test "${ac_cv_prog_NM+set}" = set; then
7682 echo $ECHO_N "(cached
) $ECHO_C" >&6
7684 if test -n "$NM"; then
7685 ac_cv_prog_NM="$NM" # Let the user override the test.
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7691 test -z "$as_dir" && as_dir=.
7692 for ac_exec_ext in '' $ac_executable_extensions; do
7693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7694 ac_cv_prog_NM="${ncn_progname}"
7695 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7705 if test -n "$NM"; then
7706 { echo "$as_me:$LINENO: result
: $NM" >&5
7707 echo "${ECHO_T}$NM" >&6; }
7709 { echo "$as_me:$LINENO: result
: no
" >&5
7710 echo "${ECHO_T}no
" >&6; }
7717 for ncn_progname in nm; do
7718 if test -n "$ncn_tool_prefix"; then
7719 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7720 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7721 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7722 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7723 if test "${ac_cv_prog_NM+set}" = set; then
7724 echo $ECHO_N "(cached
) $ECHO_C" >&6
7726 if test -n "$NM"; then
7727 ac_cv_prog_NM="$NM" # Let the user override the test.
7729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7733 test -z "$as_dir" && as_dir=.
7734 for ac_exec_ext in '' $ac_executable_extensions; do
7735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7736 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7737 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7747 if test -n "$NM"; then
7748 { echo "$as_me:$LINENO: result
: $NM" >&5
7749 echo "${ECHO_T}$NM" >&6; }
7751 { echo "$as_me:$LINENO: result
: no
" >&5
7752 echo "${ECHO_T}no
" >&6; }
7757 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7758 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7759 set dummy ${ncn_progname}; ac_word=$2
7760 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7761 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7762 if test "${ac_cv_prog_NM+set}" = set; then
7763 echo $ECHO_N "(cached
) $ECHO_C" >&6
7765 if test -n "$NM"; then
7766 ac_cv_prog_NM="$NM" # Let the user override the test.
7768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772 test -z "$as_dir" && as_dir=.
7773 for ac_exec_ext in '' $ac_executable_extensions; do
7774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7775 ac_cv_prog_NM="${ncn_progname}"
7776 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7786 if test -n "$NM"; then
7787 { echo "$as_me:$LINENO: result
: $NM" >&5
7788 echo "${ECHO_T}$NM" >&6; }
7790 { echo "$as_me:$LINENO: result
: no
" >&5
7791 echo "${ECHO_T}no
" >&6; }
7796 test -n "$ac_cv_prog_NM" && break
7799 if test -z "$ac_cv_prog_NM" ; then
7801 if test $build = $host ; then
7804 NM="${ncn_tool_prefix}$2"
7810 if test -n "$RANLIB"; then
7811 ac_cv_prog_RANLIB=$RANLIB
7812 elif test -n "$ac_cv_prog_RANLIB"; then
7813 RANLIB=$ac_cv_prog_RANLIB
7816 if test -n "$ac_cv_prog_RANLIB"; then
7817 for ncn_progname in ranlib; do
7818 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7819 set dummy ${ncn_progname}; ac_word=$2
7820 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7821 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7822 if test "${ac_cv_prog_RANLIB+set}" = set; then
7823 echo $ECHO_N "(cached
) $ECHO_C" >&6
7825 if test -n "$RANLIB"; then
7826 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7832 test -z "$as_dir" && as_dir=.
7833 for ac_exec_ext in '' $ac_executable_extensions; do
7834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7835 ac_cv_prog_RANLIB="${ncn_progname}"
7836 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7845 RANLIB=$ac_cv_prog_RANLIB
7846 if test -n "$RANLIB"; then
7847 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
7848 echo "${ECHO_T}$RANLIB" >&6; }
7850 { echo "$as_me:$LINENO: result
: no
" >&5
7851 echo "${ECHO_T}no
" >&6; }
7858 for ncn_progname in ranlib; do
7859 if test -n "$ncn_tool_prefix"; then
7860 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7861 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7862 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7863 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7864 if test "${ac_cv_prog_RANLIB+set}" = set; then
7865 echo $ECHO_N "(cached
) $ECHO_C" >&6
7867 if test -n "$RANLIB"; then
7868 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7874 test -z "$as_dir" && as_dir=.
7875 for ac_exec_ext in '' $ac_executable_extensions; do
7876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7877 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7878 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7887 RANLIB=$ac_cv_prog_RANLIB
7888 if test -n "$RANLIB"; then
7889 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
7890 echo "${ECHO_T}$RANLIB" >&6; }
7892 { echo "$as_me:$LINENO: result
: no
" >&5
7893 echo "${ECHO_T}no
" >&6; }
7898 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7899 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7900 set dummy ${ncn_progname}; ac_word=$2
7901 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7902 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7903 if test "${ac_cv_prog_RANLIB+set}" = set; then
7904 echo $ECHO_N "(cached
) $ECHO_C" >&6
7906 if test -n "$RANLIB"; then
7907 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7913 test -z "$as_dir" && as_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7916 ac_cv_prog_RANLIB="${ncn_progname}"
7917 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7926 RANLIB=$ac_cv_prog_RANLIB
7927 if test -n "$RANLIB"; then
7928 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
7929 echo "${ECHO_T}$RANLIB" >&6; }
7931 { echo "$as_me:$LINENO: result
: no
" >&5
7932 echo "${ECHO_T}no
" >&6; }
7937 test -n "$ac_cv_prog_RANLIB" && break
7940 if test -z "$ac_cv_prog_RANLIB" ; then
7946 if test -n "$STRIP"; then
7947 ac_cv_prog_STRIP=$STRIP
7948 elif test -n "$ac_cv_prog_STRIP"; then
7949 STRIP=$ac_cv_prog_STRIP
7952 if test -n "$ac_cv_prog_STRIP"; then
7953 for ncn_progname in strip; do
7954 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7955 set dummy ${ncn_progname}; ac_word=$2
7956 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7957 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7958 if test "${ac_cv_prog_STRIP+set}" = set; then
7959 echo $ECHO_N "(cached
) $ECHO_C" >&6
7961 if test -n "$STRIP"; then
7962 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7968 test -z "$as_dir" && as_dir=.
7969 for ac_exec_ext in '' $ac_executable_extensions; do
7970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7971 ac_cv_prog_STRIP="${ncn_progname}"
7972 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7981 STRIP=$ac_cv_prog_STRIP
7982 if test -n "$STRIP"; then
7983 { echo "$as_me:$LINENO: result
: $STRIP" >&5
7984 echo "${ECHO_T}$STRIP" >&6; }
7986 { echo "$as_me:$LINENO: result
: no
" >&5
7987 echo "${ECHO_T}no
" >&6; }
7994 for ncn_progname in strip; do
7995 if test -n "$ncn_tool_prefix"; then
7996 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7997 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7998 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7999 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8000 if test "${ac_cv_prog_STRIP+set}" = set; then
8001 echo $ECHO_N "(cached
) $ECHO_C" >&6
8003 if test -n "$STRIP"; then
8004 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8010 test -z "$as_dir" && as_dir=.
8011 for ac_exec_ext in '' $ac_executable_extensions; do
8012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8013 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8014 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8023 STRIP=$ac_cv_prog_STRIP
8024 if test -n "$STRIP"; then
8025 { echo "$as_me:$LINENO: result
: $STRIP" >&5
8026 echo "${ECHO_T}$STRIP" >&6; }
8028 { echo "$as_me:$LINENO: result
: no
" >&5
8029 echo "${ECHO_T}no
" >&6; }
8034 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8035 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8036 set dummy ${ncn_progname}; ac_word=$2
8037 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8038 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8039 if test "${ac_cv_prog_STRIP+set}" = set; then
8040 echo $ECHO_N "(cached
) $ECHO_C" >&6
8042 if test -n "$STRIP"; then
8043 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8049 test -z "$as_dir" && as_dir=.
8050 for ac_exec_ext in '' $ac_executable_extensions; do
8051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8052 ac_cv_prog_STRIP="${ncn_progname}"
8053 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8062 STRIP=$ac_cv_prog_STRIP
8063 if test -n "$STRIP"; then
8064 { echo "$as_me:$LINENO: result
: $STRIP" >&5
8065 echo "${ECHO_T}$STRIP" >&6; }
8067 { echo "$as_me:$LINENO: result
: no
" >&5
8068 echo "${ECHO_T}no
" >&6; }
8073 test -n "$ac_cv_prog_STRIP" && break
8076 if test -z "$ac_cv_prog_STRIP" ; then
8082 if test -n "$WINDRES"; then
8083 ac_cv_prog_WINDRES=$WINDRES
8084 elif test -n "$ac_cv_prog_WINDRES"; then
8085 WINDRES=$ac_cv_prog_WINDRES
8088 if test -n "$ac_cv_prog_WINDRES"; then
8089 for ncn_progname in windres; do
8090 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8091 set dummy ${ncn_progname}; ac_word=$2
8092 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8093 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8094 if test "${ac_cv_prog_WINDRES+set}" = set; then
8095 echo $ECHO_N "(cached
) $ECHO_C" >&6
8097 if test -n "$WINDRES"; then
8098 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8104 test -z "$as_dir" && as_dir=.
8105 for ac_exec_ext in '' $ac_executable_extensions; do
8106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8107 ac_cv_prog_WINDRES="${ncn_progname}"
8108 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8117 WINDRES=$ac_cv_prog_WINDRES
8118 if test -n "$WINDRES"; then
8119 { echo "$as_me:$LINENO: result
: $WINDRES" >&5
8120 echo "${ECHO_T}$WINDRES" >&6; }
8122 { echo "$as_me:$LINENO: result
: no
" >&5
8123 echo "${ECHO_T}no
" >&6; }
8130 for ncn_progname in windres; do
8131 if test -n "$ncn_tool_prefix"; then
8132 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8133 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8134 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8135 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8136 if test "${ac_cv_prog_WINDRES+set}" = set; then
8137 echo $ECHO_N "(cached
) $ECHO_C" >&6
8139 if test -n "$WINDRES"; then
8140 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8146 test -z "$as_dir" && as_dir=.
8147 for ac_exec_ext in '' $ac_executable_extensions; do
8148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8149 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
8150 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8159 WINDRES=$ac_cv_prog_WINDRES
8160 if test -n "$WINDRES"; then
8161 { echo "$as_me:$LINENO: result
: $WINDRES" >&5
8162 echo "${ECHO_T}$WINDRES" >&6; }
8164 { echo "$as_me:$LINENO: result
: no
" >&5
8165 echo "${ECHO_T}no
" >&6; }
8170 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
8171 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8172 set dummy ${ncn_progname}; ac_word=$2
8173 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8174 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8175 if test "${ac_cv_prog_WINDRES+set}" = set; then
8176 echo $ECHO_N "(cached
) $ECHO_C" >&6
8178 if test -n "$WINDRES"; then
8179 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8185 test -z "$as_dir" && as_dir=.
8186 for ac_exec_ext in '' $ac_executable_extensions; do
8187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8188 ac_cv_prog_WINDRES="${ncn_progname}"
8189 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8198 WINDRES=$ac_cv_prog_WINDRES
8199 if test -n "$WINDRES"; then
8200 { echo "$as_me:$LINENO: result
: $WINDRES" >&5
8201 echo "${ECHO_T}$WINDRES" >&6; }
8203 { echo "$as_me:$LINENO: result
: no
" >&5
8204 echo "${ECHO_T}no
" >&6; }
8209 test -n "$ac_cv_prog_WINDRES" && break
8212 if test -z "$ac_cv_prog_WINDRES" ; then
8214 if test $build = $host ; then
8217 WINDRES="${ncn_tool_prefix}$2"
8223 if test -n "$WINDMC"; then
8224 ac_cv_prog_WINDMC=$WINDMC
8225 elif test -n "$ac_cv_prog_WINDMC"; then
8226 WINDMC=$ac_cv_prog_WINDMC
8229 if test -n "$ac_cv_prog_WINDMC"; then
8230 for ncn_progname in windmc; do
8231 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8232 set dummy ${ncn_progname}; ac_word=$2
8233 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8234 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8235 if test "${ac_cv_prog_WINDMC+set}" = set; then
8236 echo $ECHO_N "(cached
) $ECHO_C" >&6
8238 if test -n "$WINDMC"; then
8239 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8245 test -z "$as_dir" && as_dir=.
8246 for ac_exec_ext in '' $ac_executable_extensions; do
8247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8248 ac_cv_prog_WINDMC="${ncn_progname}"
8249 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8258 WINDMC=$ac_cv_prog_WINDMC
8259 if test -n "$WINDMC"; then
8260 { echo "$as_me:$LINENO: result
: $WINDMC" >&5
8261 echo "${ECHO_T}$WINDMC" >&6; }
8263 { echo "$as_me:$LINENO: result
: no
" >&5
8264 echo "${ECHO_T}no
" >&6; }
8271 for ncn_progname in windmc; do
8272 if test -n "$ncn_tool_prefix"; then
8273 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8274 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8275 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8276 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8277 if test "${ac_cv_prog_WINDMC+set}" = set; then
8278 echo $ECHO_N "(cached
) $ECHO_C" >&6
8280 if test -n "$WINDMC"; then
8281 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8287 test -z "$as_dir" && as_dir=.
8288 for ac_exec_ext in '' $ac_executable_extensions; do
8289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8290 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
8291 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8300 WINDMC=$ac_cv_prog_WINDMC
8301 if test -n "$WINDMC"; then
8302 { echo "$as_me:$LINENO: result
: $WINDMC" >&5
8303 echo "${ECHO_T}$WINDMC" >&6; }
8305 { echo "$as_me:$LINENO: result
: no
" >&5
8306 echo "${ECHO_T}no
" >&6; }
8311 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
8312 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8313 set dummy ${ncn_progname}; ac_word=$2
8314 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8315 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8316 if test "${ac_cv_prog_WINDMC+set}" = set; then
8317 echo $ECHO_N "(cached
) $ECHO_C" >&6
8319 if test -n "$WINDMC"; then
8320 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8326 test -z "$as_dir" && as_dir=.
8327 for ac_exec_ext in '' $ac_executable_extensions; do
8328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8329 ac_cv_prog_WINDMC="${ncn_progname}"
8330 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8339 WINDMC=$ac_cv_prog_WINDMC
8340 if test -n "$WINDMC"; then
8341 { echo "$as_me:$LINENO: result
: $WINDMC" >&5
8342 echo "${ECHO_T}$WINDMC" >&6; }
8344 { echo "$as_me:$LINENO: result
: no
" >&5
8345 echo "${ECHO_T}no
" >&6; }
8350 test -n "$ac_cv_prog_WINDMC" && break
8353 if test -z "$ac_cv_prog_WINDMC" ; then
8355 if test $build = $host ; then
8358 WINDMC="${ncn_tool_prefix}$2"
8364 if test -n "$OBJCOPY"; then
8365 ac_cv_prog_OBJCOPY=$OBJCOPY
8366 elif test -n "$ac_cv_prog_OBJCOPY"; then
8367 OBJCOPY=$ac_cv_prog_OBJCOPY
8370 if test -n "$ac_cv_prog_OBJCOPY"; then
8371 for ncn_progname in objcopy; do
8372 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8373 set dummy ${ncn_progname}; ac_word=$2
8374 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8375 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8376 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8377 echo $ECHO_N "(cached
) $ECHO_C" >&6
8379 if test -n "$OBJCOPY"; then
8380 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8386 test -z "$as_dir" && as_dir=.
8387 for ac_exec_ext in '' $ac_executable_extensions; do
8388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8389 ac_cv_prog_OBJCOPY="${ncn_progname}"
8390 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8399 OBJCOPY=$ac_cv_prog_OBJCOPY
8400 if test -n "$OBJCOPY"; then
8401 { echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8402 echo "${ECHO_T}$OBJCOPY" >&6; }
8404 { echo "$as_me:$LINENO: result
: no
" >&5
8405 echo "${ECHO_T}no
" >&6; }
8412 for ncn_progname in objcopy; do
8413 if test -n "$ncn_tool_prefix"; then
8414 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8415 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8416 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8417 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8418 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8419 echo $ECHO_N "(cached
) $ECHO_C" >&6
8421 if test -n "$OBJCOPY"; then
8422 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8428 test -z "$as_dir" && as_dir=.
8429 for ac_exec_ext in '' $ac_executable_extensions; do
8430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8431 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
8432 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8441 OBJCOPY=$ac_cv_prog_OBJCOPY
8442 if test -n "$OBJCOPY"; then
8443 { echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8444 echo "${ECHO_T}$OBJCOPY" >&6; }
8446 { echo "$as_me:$LINENO: result
: no
" >&5
8447 echo "${ECHO_T}no
" >&6; }
8452 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
8453 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8454 set dummy ${ncn_progname}; ac_word=$2
8455 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8456 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8457 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8458 echo $ECHO_N "(cached
) $ECHO_C" >&6
8460 if test -n "$OBJCOPY"; then
8461 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8467 test -z "$as_dir" && as_dir=.
8468 for ac_exec_ext in '' $ac_executable_extensions; do
8469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8470 ac_cv_prog_OBJCOPY="${ncn_progname}"
8471 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8480 OBJCOPY=$ac_cv_prog_OBJCOPY
8481 if test -n "$OBJCOPY"; then
8482 { echo "$as_me:$LINENO: result
: $OBJCOPY" >&5
8483 echo "${ECHO_T}$OBJCOPY" >&6; }
8485 { echo "$as_me:$LINENO: result
: no
" >&5
8486 echo "${ECHO_T}no
" >&6; }
8491 test -n "$ac_cv_prog_OBJCOPY" && break
8494 if test -z "$ac_cv_prog_OBJCOPY" ; then
8496 if test $build = $host ; then
8499 OBJCOPY="${ncn_tool_prefix}$2"
8505 if test -n "$OBJDUMP"; then
8506 ac_cv_prog_OBJDUMP=$OBJDUMP
8507 elif test -n "$ac_cv_prog_OBJDUMP"; then
8508 OBJDUMP=$ac_cv_prog_OBJDUMP
8511 if test -n "$ac_cv_prog_OBJDUMP"; then
8512 for ncn_progname in objdump; do
8513 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8514 set dummy ${ncn_progname}; ac_word=$2
8515 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8516 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8517 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8518 echo $ECHO_N "(cached
) $ECHO_C" >&6
8520 if test -n "$OBJDUMP"; then
8521 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8527 test -z "$as_dir" && as_dir=.
8528 for ac_exec_ext in '' $ac_executable_extensions; do
8529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8530 ac_cv_prog_OBJDUMP="${ncn_progname}"
8531 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8540 OBJDUMP=$ac_cv_prog_OBJDUMP
8541 if test -n "$OBJDUMP"; then
8542 { echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8543 echo "${ECHO_T}$OBJDUMP" >&6; }
8545 { echo "$as_me:$LINENO: result
: no
" >&5
8546 echo "${ECHO_T}no
" >&6; }
8553 for ncn_progname in objdump; do
8554 if test -n "$ncn_tool_prefix"; then
8555 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8556 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8557 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8558 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8559 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8560 echo $ECHO_N "(cached
) $ECHO_C" >&6
8562 if test -n "$OBJDUMP"; then
8563 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8569 test -z "$as_dir" && as_dir=.
8570 for ac_exec_ext in '' $ac_executable_extensions; do
8571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8572 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
8573 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8582 OBJDUMP=$ac_cv_prog_OBJDUMP
8583 if test -n "$OBJDUMP"; then
8584 { echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8585 echo "${ECHO_T}$OBJDUMP" >&6; }
8587 { echo "$as_me:$LINENO: result
: no
" >&5
8588 echo "${ECHO_T}no
" >&6; }
8593 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
8594 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8595 set dummy ${ncn_progname}; ac_word=$2
8596 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8597 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8598 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8599 echo $ECHO_N "(cached
) $ECHO_C" >&6
8601 if test -n "$OBJDUMP"; then
8602 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8608 test -z "$as_dir" && as_dir=.
8609 for ac_exec_ext in '' $ac_executable_extensions; do
8610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8611 ac_cv_prog_OBJDUMP="${ncn_progname}"
8612 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8621 OBJDUMP=$ac_cv_prog_OBJDUMP
8622 if test -n "$OBJDUMP"; then
8623 { echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
8624 echo "${ECHO_T}$OBJDUMP" >&6; }
8626 { echo "$as_me:$LINENO: result
: no
" >&5
8627 echo "${ECHO_T}no
" >&6; }
8632 test -n "$ac_cv_prog_OBJDUMP" && break
8635 if test -z "$ac_cv_prog_OBJDUMP" ; then
8637 if test $build = $host ; then
8640 OBJDUMP="${ncn_tool_prefix}$2"
8651 # Check whether --with-build-time-tools was given.
8652 if test "${with_build_time_tools+set}" = set; then
8653 withval=$with_build_time_tools; case x"$withval" in
8656 with_build_time_tools=
8657 { echo "$as_me:$LINENO: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
8658 echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
8662 with_build_time_tools=
8668 if test -n "$CC_FOR_TARGET"; then
8669 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
8670 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8671 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8674 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
8675 for ncn_progname in cc gcc; do
8676 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8677 set dummy ${ncn_progname}; ac_word=$2
8678 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8679 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8680 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8681 echo $ECHO_N "(cached
) $ECHO_C" >&6
8683 if test -n "$CC_FOR_TARGET"; then
8684 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8690 test -z "$as_dir" && as_dir=.
8691 for ac_exec_ext in '' $ac_executable_extensions; do
8692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8693 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8694 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8703 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8704 if test -n "$CC_FOR_TARGET"; then
8705 { echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8706 echo "${ECHO_T}$CC_FOR_TARGET" >&6; }
8708 { echo "$as_me:$LINENO: result
: no
" >&5
8709 echo "${ECHO_T}no
" >&6; }
8716 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8717 for ncn_progname in cc gcc; do
8718 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8719 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
8720 if test -x $with_build_time_tools/${ncn_progname}; then
8721 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8722 { echo "$as_me:$LINENO: result
: yes" >&5
8723 echo "${ECHO_T}yes" >&6; }
8726 { echo "$as_me:$LINENO: result
: no
" >&5
8727 echo "${ECHO_T}no
" >&6; }
8732 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
8733 for ncn_progname in cc gcc; do
8734 if test -n "$ncn_target_tool_prefix"; then
8735 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8736 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8737 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8738 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8739 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8740 echo $ECHO_N "(cached
) $ECHO_C" >&6
8742 if test -n "$CC_FOR_TARGET"; then
8743 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8749 test -z "$as_dir" && as_dir=.
8750 for ac_exec_ext in '' $ac_executable_extensions; do
8751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8752 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8753 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8762 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8763 if test -n "$CC_FOR_TARGET"; then
8764 { echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8765 echo "${ECHO_T}$CC_FOR_TARGET" >&6; }
8767 { echo "$as_me:$LINENO: result
: no
" >&5
8768 echo "${ECHO_T}no
" >&6; }
8773 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8774 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8775 set dummy ${ncn_progname}; ac_word=$2
8776 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8777 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8778 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8779 echo $ECHO_N "(cached
) $ECHO_C" >&6
8781 if test -n "$CC_FOR_TARGET"; then
8782 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8788 test -z "$as_dir" && as_dir=.
8789 for ac_exec_ext in '' $ac_executable_extensions; do
8790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8791 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8792 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8801 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8802 if test -n "$CC_FOR_TARGET"; then
8803 { echo "$as_me:$LINENO: result
: $CC_FOR_TARGET" >&5
8804 echo "${ECHO_T}$CC_FOR_TARGET" >&6; }
8806 { echo "$as_me:$LINENO: result
: no
" >&5
8807 echo "${ECHO_T}no
" >&6; }
8812 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8816 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
8818 if test $build = $target ; then
8821 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
8824 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
8829 if test -n "$CXX_FOR_TARGET"; then
8830 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
8831 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8832 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8835 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
8836 for ncn_progname in c++ g++ cxx gxx; do
8837 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8838 set dummy ${ncn_progname}; ac_word=$2
8839 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8840 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8841 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8842 echo $ECHO_N "(cached
) $ECHO_C" >&6
8844 if test -n "$CXX_FOR_TARGET"; then
8845 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8851 test -z "$as_dir" && as_dir=.
8852 for ac_exec_ext in '' $ac_executable_extensions; do
8853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8854 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8855 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8864 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8865 if test -n "$CXX_FOR_TARGET"; then
8866 { echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8867 echo "${ECHO_T}$CXX_FOR_TARGET" >&6; }
8869 { echo "$as_me:$LINENO: result
: no
" >&5
8870 echo "${ECHO_T}no
" >&6; }
8877 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8878 for ncn_progname in c++ g++ cxx gxx; do
8879 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
8880 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
8881 if test -x $with_build_time_tools/${ncn_progname}; then
8882 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8883 { echo "$as_me:$LINENO: result
: yes" >&5
8884 echo "${ECHO_T}yes" >&6; }
8887 { echo "$as_me:$LINENO: result
: no
" >&5
8888 echo "${ECHO_T}no
" >&6; }
8893 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
8894 for ncn_progname in c++ g++ cxx gxx; do
8895 if test -n "$ncn_target_tool_prefix"; then
8896 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8897 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8898 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8899 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8900 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8901 echo $ECHO_N "(cached
) $ECHO_C" >&6
8903 if test -n "$CXX_FOR_TARGET"; then
8904 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8910 test -z "$as_dir" && as_dir=.
8911 for ac_exec_ext in '' $ac_executable_extensions; do
8912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8913 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8914 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8923 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8924 if test -n "$CXX_FOR_TARGET"; then
8925 { echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8926 echo "${ECHO_T}$CXX_FOR_TARGET" >&6; }
8928 { echo "$as_me:$LINENO: result
: no
" >&5
8929 echo "${ECHO_T}no
" >&6; }
8934 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8935 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8936 set dummy ${ncn_progname}; ac_word=$2
8937 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8938 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8939 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8940 echo $ECHO_N "(cached
) $ECHO_C" >&6
8942 if test -n "$CXX_FOR_TARGET"; then
8943 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8949 test -z "$as_dir" && as_dir=.
8950 for ac_exec_ext in '' $ac_executable_extensions; do
8951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8952 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8953 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8962 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8963 if test -n "$CXX_FOR_TARGET"; then
8964 { echo "$as_me:$LINENO: result
: $CXX_FOR_TARGET" >&5
8965 echo "${ECHO_T}$CXX_FOR_TARGET" >&6; }
8967 { echo "$as_me:$LINENO: result
: no
" >&5
8968 echo "${ECHO_T}no
" >&6; }
8973 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8977 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
8978 set dummy c++ g++ cxx gxx
8979 if test $build = $target ; then
8982 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
8985 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
8990 if test -n "$GCC_FOR_TARGET"; then
8991 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
8992 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8993 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8996 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
8997 for ncn_progname in gcc; do
8998 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8999 set dummy ${ncn_progname}; ac_word=$2
9000 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9001 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9002 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
9003 echo $ECHO_N "(cached
) $ECHO_C" >&6
9005 if test -n "$GCC_FOR_TARGET"; then
9006 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9012 test -z "$as_dir" && as_dir=.
9013 for ac_exec_ext in '' $ac_executable_extensions; do
9014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9015 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9016 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9025 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9026 if test -n "$GCC_FOR_TARGET"; then
9027 { echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
9028 echo "${ECHO_T}$GCC_FOR_TARGET" >&6; }
9030 { echo "$as_me:$LINENO: result
: no
" >&5
9031 echo "${ECHO_T}no
" >&6; }
9038 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9039 for ncn_progname in gcc; do
9040 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9041 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
9042 if test -x $with_build_time_tools/${ncn_progname}; then
9043 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9044 { echo "$as_me:$LINENO: result
: yes" >&5
9045 echo "${ECHO_T}yes" >&6; }
9048 { echo "$as_me:$LINENO: result
: no
" >&5
9049 echo "${ECHO_T}no
" >&6; }
9054 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
9055 for ncn_progname in gcc; do
9056 if test -n "$ncn_target_tool_prefix"; then
9057 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9058 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9059 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9060 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9061 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
9062 echo $ECHO_N "(cached
) $ECHO_C" >&6
9064 if test -n "$GCC_FOR_TARGET"; then
9065 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9071 test -z "$as_dir" && as_dir=.
9072 for ac_exec_ext in '' $ac_executable_extensions; do
9073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9074 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9075 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9084 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9085 if test -n "$GCC_FOR_TARGET"; then
9086 { echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
9087 echo "${ECHO_T}$GCC_FOR_TARGET" >&6; }
9089 { echo "$as_me:$LINENO: result
: no
" >&5
9090 echo "${ECHO_T}no
" >&6; }
9095 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
9096 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9097 set dummy ${ncn_progname}; ac_word=$2
9098 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9099 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9100 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
9101 echo $ECHO_N "(cached
) $ECHO_C" >&6
9103 if test -n "$GCC_FOR_TARGET"; then
9104 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9110 test -z "$as_dir" && as_dir=.
9111 for ac_exec_ext in '' $ac_executable_extensions; do
9112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9113 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9114 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9123 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9124 if test -n "$GCC_FOR_TARGET"; then
9125 { echo "$as_me:$LINENO: result
: $GCC_FOR_TARGET" >&5
9126 echo "${ECHO_T}$GCC_FOR_TARGET" >&6; }
9128 { echo "$as_me:$LINENO: result
: no
" >&5
9129 echo "${ECHO_T}no
" >&6; }
9134 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
9138 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
9139 GCC_FOR_TARGET="${CC_FOR_TARGET}"
9141 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
9146 if test -n "$GCJ_FOR_TARGET"; then
9147 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
9148 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9149 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9152 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9153 for ncn_progname in gcj; do
9154 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9155 set dummy ${ncn_progname}; ac_word=$2
9156 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9157 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9158 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
9159 echo $ECHO_N "(cached
) $ECHO_C" >&6
9161 if test -n "$GCJ_FOR_TARGET"; then
9162 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9168 test -z "$as_dir" && as_dir=.
9169 for ac_exec_ext in '' $ac_executable_extensions; do
9170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9171 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9172 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9181 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9182 if test -n "$GCJ_FOR_TARGET"; then
9183 { echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
9184 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6; }
9186 { echo "$as_me:$LINENO: result
: no
" >&5
9187 echo "${ECHO_T}no
" >&6; }
9194 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
9195 for ncn_progname in gcj; do
9196 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9197 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
9198 if test -x $with_build_time_tools/${ncn_progname}; then
9199 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9200 { echo "$as_me:$LINENO: result
: yes" >&5
9201 echo "${ECHO_T}yes" >&6; }
9204 { echo "$as_me:$LINENO: result
: no
" >&5
9205 echo "${ECHO_T}no
" >&6; }
9210 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
9211 for ncn_progname in gcj; do
9212 if test -n "$ncn_target_tool_prefix"; then
9213 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9214 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9215 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9216 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9217 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
9218 echo $ECHO_N "(cached
) $ECHO_C" >&6
9220 if test -n "$GCJ_FOR_TARGET"; then
9221 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9227 test -z "$as_dir" && as_dir=.
9228 for ac_exec_ext in '' $ac_executable_extensions; do
9229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9230 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9231 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9240 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9241 if test -n "$GCJ_FOR_TARGET"; then
9242 { echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
9243 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6; }
9245 { echo "$as_me:$LINENO: result
: no
" >&5
9246 echo "${ECHO_T}no
" >&6; }
9251 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
9252 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9253 set dummy ${ncn_progname}; ac_word=$2
9254 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9255 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9256 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
9257 echo $ECHO_N "(cached
) $ECHO_C" >&6
9259 if test -n "$GCJ_FOR_TARGET"; then
9260 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9266 test -z "$as_dir" && as_dir=.
9267 for ac_exec_ext in '' $ac_executable_extensions; do
9268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9269 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9270 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9279 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9280 if test -n "$GCJ_FOR_TARGET"; then
9281 { echo "$as_me:$LINENO: result
: $GCJ_FOR_TARGET" >&5
9282 echo "${ECHO_T}$GCJ_FOR_TARGET" >&6; }
9284 { echo "$as_me:$LINENO: result
: no
" >&5
9285 echo "${ECHO_T}no
" >&6; }
9290 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
9294 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
9296 if test $build = $target ; then
9299 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
9302 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
9307 if test -n "$GFORTRAN_FOR_TARGET"; then
9308 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
9309 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9310 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9313 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9314 for ncn_progname in gfortran; do
9315 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9316 set dummy ${ncn_progname}; ac_word=$2
9317 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9318 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9319 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9320 echo $ECHO_N "(cached
) $ECHO_C" >&6
9322 if test -n "$GFORTRAN_FOR_TARGET"; then
9323 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9329 test -z "$as_dir" && as_dir=.
9330 for ac_exec_ext in '' $ac_executable_extensions; do
9331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9332 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9333 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9342 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9343 if test -n "$GFORTRAN_FOR_TARGET"; then
9344 { echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9345 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6; }
9347 { echo "$as_me:$LINENO: result
: no
" >&5
9348 echo "${ECHO_T}no
" >&6; }
9355 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
9356 for ncn_progname in gfortran; do
9357 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9358 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
9359 if test -x $with_build_time_tools/${ncn_progname}; then
9360 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9361 { echo "$as_me:$LINENO: result
: yes" >&5
9362 echo "${ECHO_T}yes" >&6; }
9365 { echo "$as_me:$LINENO: result
: no
" >&5
9366 echo "${ECHO_T}no
" >&6; }
9371 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9372 for ncn_progname in gfortran; do
9373 if test -n "$ncn_target_tool_prefix"; then
9374 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9375 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9376 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9377 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9378 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9379 echo $ECHO_N "(cached
) $ECHO_C" >&6
9381 if test -n "$GFORTRAN_FOR_TARGET"; then
9382 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9388 test -z "$as_dir" && as_dir=.
9389 for ac_exec_ext in '' $ac_executable_extensions; do
9390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9391 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9392 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9401 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9402 if test -n "$GFORTRAN_FOR_TARGET"; then
9403 { echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9404 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6; }
9406 { echo "$as_me:$LINENO: result
: no
" >&5
9407 echo "${ECHO_T}no
" >&6; }
9412 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
9413 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9414 set dummy ${ncn_progname}; ac_word=$2
9415 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9416 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9417 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9418 echo $ECHO_N "(cached
) $ECHO_C" >&6
9420 if test -n "$GFORTRAN_FOR_TARGET"; then
9421 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9427 test -z "$as_dir" && as_dir=.
9428 for ac_exec_ext in '' $ac_executable_extensions; do
9429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9430 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9431 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9440 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9441 if test -n "$GFORTRAN_FOR_TARGET"; then
9442 { echo "$as_me:$LINENO: result
: $GFORTRAN_FOR_TARGET" >&5
9443 echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6; }
9445 { echo "$as_me:$LINENO: result
: no
" >&5
9446 echo "${ECHO_T}no
" >&6; }
9451 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
9455 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
9457 if test $build = $target ; then
9458 GFORTRAN_FOR_TARGET="$2"
9460 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
9463 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
9468 cat > conftest.c << \EOF
9473 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
9474 have_gcc_for_target=yes
9476 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
9477 have_gcc_for_target=no
9484 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9485 if test -n "$with_build_time_tools"; then
9486 { echo "$as_me:$LINENO: checking
for ar in $with_build_time_tools" >&5
9487 echo $ECHO_N "checking
for ar in $with_build_time_tools...
$ECHO_C" >&6; }
9488 if test -x $with_build_time_tools/ar; then
9489 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
9490 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9491 { echo "$as_me:$LINENO: result
: $ac_cv_path_AR_FOR_TARGET" >&5
9492 echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6; }
9494 { echo "$as_me:$LINENO: result
: no
" >&5
9495 echo "${ECHO_T}no
" >&6; }
9497 elif test $build != $host && test $have_gcc_for_target = yes; then
9498 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
9499 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
9500 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9503 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9504 # Extract the first word of "ar", so it can be a program name with args.
9505 set dummy ar; ac_word=$2
9506 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9507 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9508 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
9509 echo $ECHO_N "(cached
) $ECHO_C" >&6
9511 case $AR_FOR_TARGET in
9513 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
9516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9517 for as_dir in $gcc_cv_tool_dirs
9520 test -z "$as_dir" && as_dir=.
9521 for ac_exec_ext in '' $ac_executable_extensions; do
9522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9523 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9524 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9534 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9535 if test -n "$AR_FOR_TARGET"; then
9536 { echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9537 echo "${ECHO_T}$AR_FOR_TARGET" >&6; }
9539 { echo "$as_me:$LINENO: result
: no
" >&5
9540 echo "${ECHO_T}no
" >&6; }
9545 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9548 if test -n "$AR_FOR_TARGET"; then
9549 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
9550 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9551 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9554 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
9555 for ncn_progname in ar; do
9556 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9557 set dummy ${ncn_progname}; ac_word=$2
9558 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9559 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9560 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9561 echo $ECHO_N "(cached
) $ECHO_C" >&6
9563 if test -n "$AR_FOR_TARGET"; then
9564 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9570 test -z "$as_dir" && as_dir=.
9571 for ac_exec_ext in '' $ac_executable_extensions; do
9572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9573 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9574 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9583 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9584 if test -n "$AR_FOR_TARGET"; then
9585 { echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9586 echo "${ECHO_T}$AR_FOR_TARGET" >&6; }
9588 { echo "$as_me:$LINENO: result
: no
" >&5
9589 echo "${ECHO_T}no
" >&6; }
9596 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
9597 for ncn_progname in ar; do
9598 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9599 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
9600 if test -x $with_build_time_tools/${ncn_progname}; then
9601 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9602 { echo "$as_me:$LINENO: result
: yes" >&5
9603 echo "${ECHO_T}yes" >&6; }
9606 { echo "$as_me:$LINENO: result
: no
" >&5
9607 echo "${ECHO_T}no
" >&6; }
9612 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
9613 for ncn_progname in ar; do
9614 if test -n "$ncn_target_tool_prefix"; then
9615 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9616 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9617 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9618 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9619 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9620 echo $ECHO_N "(cached
) $ECHO_C" >&6
9622 if test -n "$AR_FOR_TARGET"; then
9623 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9629 test -z "$as_dir" && as_dir=.
9630 for ac_exec_ext in '' $ac_executable_extensions; do
9631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9632 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9633 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9642 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9643 if test -n "$AR_FOR_TARGET"; then
9644 { echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9645 echo "${ECHO_T}$AR_FOR_TARGET" >&6; }
9647 { echo "$as_me:$LINENO: result
: no
" >&5
9648 echo "${ECHO_T}no
" >&6; }
9653 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9654 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9655 set dummy ${ncn_progname}; ac_word=$2
9656 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9657 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9658 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9659 echo $ECHO_N "(cached
) $ECHO_C" >&6
9661 if test -n "$AR_FOR_TARGET"; then
9662 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9668 test -z "$as_dir" && as_dir=.
9669 for ac_exec_ext in '' $ac_executable_extensions; do
9670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9671 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9672 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9681 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9682 if test -n "$AR_FOR_TARGET"; then
9683 { echo "$as_me:$LINENO: result
: $AR_FOR_TARGET" >&5
9684 echo "${ECHO_T}$AR_FOR_TARGET" >&6; }
9686 { echo "$as_me:$LINENO: result
: no
" >&5
9687 echo "${ECHO_T}no
" >&6; }
9692 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
9696 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
9698 if test $build = $target ; then
9701 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
9704 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
9708 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9714 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9715 if test -n "$with_build_time_tools"; then
9716 { echo "$as_me:$LINENO: checking
for as
in $with_build_time_tools" >&5
9717 echo $ECHO_N "checking
for as
in $with_build_time_tools...
$ECHO_C" >&6; }
9718 if test -x $with_build_time_tools/as; then
9719 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9720 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9721 { echo "$as_me:$LINENO: result
: $ac_cv_path_AS_FOR_TARGET" >&5
9722 echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6; }
9724 { echo "$as_me:$LINENO: result
: no
" >&5
9725 echo "${ECHO_T}no
" >&6; }
9727 elif test $build != $host && test $have_gcc_for_target = yes; then
9728 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9729 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
9730 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9733 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9734 # Extract the first word of "as
", so it can be a program name with args.
9735 set dummy as; ac_word=$2
9736 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9737 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9738 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9739 echo $ECHO_N "(cached
) $ECHO_C" >&6
9741 case $AS_FOR_TARGET in
9743 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
9746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9747 for as_dir in $gcc_cv_tool_dirs
9750 test -z "$as_dir" && as_dir=.
9751 for ac_exec_ext in '' $ac_executable_extensions; do
9752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9753 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9754 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9764 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9765 if test -n "$AS_FOR_TARGET"; then
9766 { echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9767 echo "${ECHO_T}$AS_FOR_TARGET" >&6; }
9769 { echo "$as_me:$LINENO: result
: no
" >&5
9770 echo "${ECHO_T}no
" >&6; }
9775 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9778 if test -n "$AS_FOR_TARGET"; then
9779 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
9780 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9781 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9784 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
9785 for ncn_progname in as; do
9786 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9787 set dummy ${ncn_progname}; ac_word=$2
9788 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9789 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9790 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9791 echo $ECHO_N "(cached
) $ECHO_C" >&6
9793 if test -n "$AS_FOR_TARGET"; then
9794 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9800 test -z "$as_dir" && as_dir=.
9801 for ac_exec_ext in '' $ac_executable_extensions; do
9802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9803 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9804 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9813 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9814 if test -n "$AS_FOR_TARGET"; then
9815 { echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9816 echo "${ECHO_T}$AS_FOR_TARGET" >&6; }
9818 { echo "$as_me:$LINENO: result
: no
" >&5
9819 echo "${ECHO_T}no
" >&6; }
9826 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9827 for ncn_progname in as; do
9828 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9829 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
9830 if test -x $with_build_time_tools/${ncn_progname}; then
9831 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9832 { echo "$as_me:$LINENO: result
: yes" >&5
9833 echo "${ECHO_T}yes" >&6; }
9836 { echo "$as_me:$LINENO: result
: no
" >&5
9837 echo "${ECHO_T}no
" >&6; }
9842 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
9843 for ncn_progname in as; do
9844 if test -n "$ncn_target_tool_prefix"; then
9845 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9846 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9847 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9848 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9849 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9850 echo $ECHO_N "(cached
) $ECHO_C" >&6
9852 if test -n "$AS_FOR_TARGET"; then
9853 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9859 test -z "$as_dir" && as_dir=.
9860 for ac_exec_ext in '' $ac_executable_extensions; do
9861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9862 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9863 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9872 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9873 if test -n "$AS_FOR_TARGET"; then
9874 { echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9875 echo "${ECHO_T}$AS_FOR_TARGET" >&6; }
9877 { echo "$as_me:$LINENO: result
: no
" >&5
9878 echo "${ECHO_T}no
" >&6; }
9883 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9884 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9885 set dummy ${ncn_progname}; ac_word=$2
9886 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9887 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9888 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9889 echo $ECHO_N "(cached
) $ECHO_C" >&6
9891 if test -n "$AS_FOR_TARGET"; then
9892 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9898 test -z "$as_dir" && as_dir=.
9899 for ac_exec_ext in '' $ac_executable_extensions; do
9900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9901 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9902 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9911 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9912 if test -n "$AS_FOR_TARGET"; then
9913 { echo "$as_me:$LINENO: result
: $AS_FOR_TARGET" >&5
9914 echo "${ECHO_T}$AS_FOR_TARGET" >&6; }
9916 { echo "$as_me:$LINENO: result
: no
" >&5
9917 echo "${ECHO_T}no
" >&6; }
9922 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9926 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
9928 if test $build = $target ; then
9931 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
9934 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
9938 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9944 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9945 if test -n "$with_build_time_tools"; then
9946 { echo "$as_me:$LINENO: checking
for dlltool
in $with_build_time_tools" >&5
9947 echo $ECHO_N "checking
for dlltool
in $with_build_time_tools...
$ECHO_C" >&6; }
9948 if test -x $with_build_time_tools/dlltool; then
9949 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9950 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9951 { echo "$as_me:$LINENO: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9952 echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
9954 { echo "$as_me:$LINENO: result
: no
" >&5
9955 echo "${ECHO_T}no
" >&6; }
9957 elif test $build != $host && test $have_gcc_for_target = yes; then
9958 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9959 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
9960 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9963 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9964 # Extract the first word of "dlltool
", so it can be a program name with args.
9965 set dummy dlltool; ac_word=$2
9966 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
9967 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
9968 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9969 echo $ECHO_N "(cached
) $ECHO_C" >&6
9971 case $DLLTOOL_FOR_TARGET in
9973 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
9976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9977 for as_dir in $gcc_cv_tool_dirs
9980 test -z "$as_dir" && as_dir=.
9981 for ac_exec_ext in '' $ac_executable_extensions; do
9982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9983 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9984 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
9994 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9995 if test -n "$DLLTOOL_FOR_TARGET"; then
9996 { echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
9997 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6; }
9999 { echo "$as_me:$LINENO: result
: no
" >&5
10000 echo "${ECHO_T}no
" >&6; }
10005 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10008 if test -n "$DLLTOOL_FOR_TARGET"; then
10009 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10010 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10011 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10014 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10015 for ncn_progname in dlltool; do
10016 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10017 set dummy ${ncn_progname}; ac_word=$2
10018 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10019 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10020 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
10021 echo $ECHO_N "(cached
) $ECHO_C" >&6
10023 if test -n "$DLLTOOL_FOR_TARGET"; then
10024 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10027 for as_dir in $PATH
10030 test -z "$as_dir" && as_dir=.
10031 for ac_exec_ext in '' $ac_executable_extensions; do
10032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10033 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10034 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10043 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10044 if test -n "$DLLTOOL_FOR_TARGET"; then
10045 { echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
10046 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6; }
10048 { echo "$as_me:$LINENO: result
: no
" >&5
10049 echo "${ECHO_T}no
" >&6; }
10056 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
10057 for ncn_progname in dlltool; do
10058 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10059 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
10060 if test -x $with_build_time_tools/${ncn_progname}; then
10061 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10062 { echo "$as_me:$LINENO: result
: yes" >&5
10063 echo "${ECHO_T}yes" >&6; }
10066 { echo "$as_me:$LINENO: result
: no
" >&5
10067 echo "${ECHO_T}no
" >&6; }
10072 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10073 for ncn_progname in dlltool; do
10074 if test -n "$ncn_target_tool_prefix"; then
10075 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10076 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10077 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10078 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10079 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
10080 echo $ECHO_N "(cached
) $ECHO_C" >&6
10082 if test -n "$DLLTOOL_FOR_TARGET"; then
10083 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10086 for as_dir in $PATH
10089 test -z "$as_dir" && as_dir=.
10090 for ac_exec_ext in '' $ac_executable_extensions; do
10091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10092 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10093 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10102 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10103 if test -n "$DLLTOOL_FOR_TARGET"; then
10104 { echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
10105 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6; }
10107 { echo "$as_me:$LINENO: result
: no
" >&5
10108 echo "${ECHO_T}no
" >&6; }
10113 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
10114 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10115 set dummy ${ncn_progname}; ac_word=$2
10116 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10117 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10118 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
10119 echo $ECHO_N "(cached
) $ECHO_C" >&6
10121 if test -n "$DLLTOOL_FOR_TARGET"; then
10122 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10125 for as_dir in $PATH
10128 test -z "$as_dir" && as_dir=.
10129 for ac_exec_ext in '' $ac_executable_extensions; do
10130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10131 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10132 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10141 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10142 if test -n "$DLLTOOL_FOR_TARGET"; then
10143 { echo "$as_me:$LINENO: result
: $DLLTOOL_FOR_TARGET" >&5
10144 echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6; }
10146 { echo "$as_me:$LINENO: result
: no
" >&5
10147 echo "${ECHO_T}no
" >&6; }
10152 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
10156 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
10158 if test $build = $target ; then
10159 DLLTOOL_FOR_TARGET="$2"
10161 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
10164 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
10168 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10174 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10175 if test -n "$with_build_time_tools"; then
10176 { echo "$as_me:$LINENO: checking
for ld
in $with_build_time_tools" >&5
10177 echo $ECHO_N "checking
for ld
in $with_build_time_tools...
$ECHO_C" >&6; }
10178 if test -x $with_build_time_tools/ld; then
10179 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
10180 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10181 { echo "$as_me:$LINENO: result
: $ac_cv_path_LD_FOR_TARGET" >&5
10182 echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6; }
10184 { echo "$as_me:$LINENO: result
: no
" >&5
10185 echo "${ECHO_T}no
" >&6; }
10187 elif test $build != $host && test $have_gcc_for_target = yes; then
10188 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
10189 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
10190 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10193 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10194 # Extract the first word of "ld
", so it can be a program name with args.
10195 set dummy ld; ac_word=$2
10196 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10197 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10198 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
10199 echo $ECHO_N "(cached
) $ECHO_C" >&6
10201 case $LD_FOR_TARGET in
10203 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
10206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10207 for as_dir in $gcc_cv_tool_dirs
10210 test -z "$as_dir" && as_dir=.
10211 for ac_exec_ext in '' $ac_executable_extensions; do
10212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10213 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10214 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10224 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10225 if test -n "$LD_FOR_TARGET"; then
10226 { echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10227 echo "${ECHO_T}$LD_FOR_TARGET" >&6; }
10229 { echo "$as_me:$LINENO: result
: no
" >&5
10230 echo "${ECHO_T}no
" >&6; }
10235 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10238 if test -n "$LD_FOR_TARGET"; then
10239 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
10240 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10241 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10244 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10245 for ncn_progname in ld; do
10246 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10247 set dummy ${ncn_progname}; ac_word=$2
10248 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10249 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10250 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10251 echo $ECHO_N "(cached
) $ECHO_C" >&6
10253 if test -n "$LD_FOR_TARGET"; then
10254 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10257 for as_dir in $PATH
10260 test -z "$as_dir" && as_dir=.
10261 for ac_exec_ext in '' $ac_executable_extensions; do
10262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10263 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10264 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10273 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10274 if test -n "$LD_FOR_TARGET"; then
10275 { echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10276 echo "${ECHO_T}$LD_FOR_TARGET" >&6; }
10278 { echo "$as_me:$LINENO: result
: no
" >&5
10279 echo "${ECHO_T}no
" >&6; }
10286 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
10287 for ncn_progname in ld; do
10288 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10289 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
10290 if test -x $with_build_time_tools/${ncn_progname}; then
10291 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10292 { echo "$as_me:$LINENO: result
: yes" >&5
10293 echo "${ECHO_T}yes" >&6; }
10296 { echo "$as_me:$LINENO: result
: no
" >&5
10297 echo "${ECHO_T}no
" >&6; }
10302 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
10303 for ncn_progname in ld; do
10304 if test -n "$ncn_target_tool_prefix"; then
10305 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10306 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10307 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10308 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10309 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10310 echo $ECHO_N "(cached
) $ECHO_C" >&6
10312 if test -n "$LD_FOR_TARGET"; then
10313 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10316 for as_dir in $PATH
10319 test -z "$as_dir" && as_dir=.
10320 for ac_exec_ext in '' $ac_executable_extensions; do
10321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10322 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10323 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10332 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10333 if test -n "$LD_FOR_TARGET"; then
10334 { echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10335 echo "${ECHO_T}$LD_FOR_TARGET" >&6; }
10337 { echo "$as_me:$LINENO: result
: no
" >&5
10338 echo "${ECHO_T}no
" >&6; }
10343 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
10344 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10345 set dummy ${ncn_progname}; ac_word=$2
10346 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10347 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10348 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10349 echo $ECHO_N "(cached
) $ECHO_C" >&6
10351 if test -n "$LD_FOR_TARGET"; then
10352 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10355 for as_dir in $PATH
10358 test -z "$as_dir" && as_dir=.
10359 for ac_exec_ext in '' $ac_executable_extensions; do
10360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10361 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10362 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10371 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10372 if test -n "$LD_FOR_TARGET"; then
10373 { echo "$as_me:$LINENO: result
: $LD_FOR_TARGET" >&5
10374 echo "${ECHO_T}$LD_FOR_TARGET" >&6; }
10376 { echo "$as_me:$LINENO: result
: no
" >&5
10377 echo "${ECHO_T}no
" >&6; }
10382 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
10386 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
10388 if test $build = $target ; then
10391 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
10394 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
10398 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10404 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10405 if test -n "$with_build_time_tools"; then
10406 { echo "$as_me:$LINENO: checking
for lipo
in $with_build_time_tools" >&5
10407 echo $ECHO_N "checking
for lipo
in $with_build_time_tools...
$ECHO_C" >&6; }
10408 if test -x $with_build_time_tools/lipo; then
10409 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
10410 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10411 { echo "$as_me:$LINENO: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
10412 echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6; }
10414 { echo "$as_me:$LINENO: result
: no
" >&5
10415 echo "${ECHO_T}no
" >&6; }
10417 elif test $build != $host && test $have_gcc_for_target = yes; then
10418 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
10419 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
10420 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10423 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10424 # Extract the first word of "lipo
", so it can be a program name with args.
10425 set dummy lipo; ac_word=$2
10426 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10427 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10428 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
10429 echo $ECHO_N "(cached
) $ECHO_C" >&6
10431 case $LIPO_FOR_TARGET in
10433 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
10436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10437 for as_dir in $gcc_cv_tool_dirs
10440 test -z "$as_dir" && as_dir=.
10441 for ac_exec_ext in '' $ac_executable_extensions; do
10442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10443 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10444 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10454 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10455 if test -n "$LIPO_FOR_TARGET"; then
10456 { echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10457 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6; }
10459 { echo "$as_me:$LINENO: result
: no
" >&5
10460 echo "${ECHO_T}no
" >&6; }
10465 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10468 if test -n "$LIPO_FOR_TARGET"; then
10469 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10470 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10471 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10474 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10475 for ncn_progname in lipo; do
10476 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10477 set dummy ${ncn_progname}; ac_word=$2
10478 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10479 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10480 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10481 echo $ECHO_N "(cached
) $ECHO_C" >&6
10483 if test -n "$LIPO_FOR_TARGET"; then
10484 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10487 for as_dir in $PATH
10490 test -z "$as_dir" && as_dir=.
10491 for ac_exec_ext in '' $ac_executable_extensions; do
10492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10493 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10494 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10503 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10504 if test -n "$LIPO_FOR_TARGET"; then
10505 { echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10506 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6; }
10508 { echo "$as_me:$LINENO: result
: no
" >&5
10509 echo "${ECHO_T}no
" >&6; }
10516 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
10517 for ncn_progname in lipo; do
10518 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10519 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
10520 if test -x $with_build_time_tools/${ncn_progname}; then
10521 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10522 { echo "$as_me:$LINENO: result
: yes" >&5
10523 echo "${ECHO_T}yes" >&6; }
10526 { echo "$as_me:$LINENO: result
: no
" >&5
10527 echo "${ECHO_T}no
" >&6; }
10532 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
10533 for ncn_progname in lipo; do
10534 if test -n "$ncn_target_tool_prefix"; then
10535 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10536 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10537 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10538 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10539 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10540 echo $ECHO_N "(cached
) $ECHO_C" >&6
10542 if test -n "$LIPO_FOR_TARGET"; then
10543 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10546 for as_dir in $PATH
10549 test -z "$as_dir" && as_dir=.
10550 for ac_exec_ext in '' $ac_executable_extensions; do
10551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10552 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10553 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10562 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10563 if test -n "$LIPO_FOR_TARGET"; then
10564 { echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10565 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6; }
10567 { echo "$as_me:$LINENO: result
: no
" >&5
10568 echo "${ECHO_T}no
" >&6; }
10573 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
10574 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10575 set dummy ${ncn_progname}; ac_word=$2
10576 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10577 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10578 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10579 echo $ECHO_N "(cached
) $ECHO_C" >&6
10581 if test -n "$LIPO_FOR_TARGET"; then
10582 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10585 for as_dir in $PATH
10588 test -z "$as_dir" && as_dir=.
10589 for ac_exec_ext in '' $ac_executable_extensions; do
10590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10591 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10592 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10601 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10602 if test -n "$LIPO_FOR_TARGET"; then
10603 { echo "$as_me:$LINENO: result
: $LIPO_FOR_TARGET" >&5
10604 echo "${ECHO_T}$LIPO_FOR_TARGET" >&6; }
10606 { echo "$as_me:$LINENO: result
: no
" >&5
10607 echo "${ECHO_T}no
" >&6; }
10612 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
10616 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
10618 if test $build = $target ; then
10619 LIPO_FOR_TARGET="$2"
10621 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
10624 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
10628 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10634 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10635 if test -n "$with_build_time_tools"; then
10636 { echo "$as_me:$LINENO: checking
for nm
in $with_build_time_tools" >&5
10637 echo $ECHO_N "checking
for nm
in $with_build_time_tools...
$ECHO_C" >&6; }
10638 if test -x $with_build_time_tools/nm; then
10639 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
10640 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10641 { echo "$as_me:$LINENO: result
: $ac_cv_path_NM_FOR_TARGET" >&5
10642 echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6; }
10644 { echo "$as_me:$LINENO: result
: no
" >&5
10645 echo "${ECHO_T}no
" >&6; }
10647 elif test $build != $host && test $have_gcc_for_target = yes; then
10648 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
10649 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
10650 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10653 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10654 # Extract the first word of "nm
", so it can be a program name with args.
10655 set dummy nm; ac_word=$2
10656 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10657 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10658 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
10659 echo $ECHO_N "(cached
) $ECHO_C" >&6
10661 case $NM_FOR_TARGET in
10663 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
10666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10667 for as_dir in $gcc_cv_tool_dirs
10670 test -z "$as_dir" && as_dir=.
10671 for ac_exec_ext in '' $ac_executable_extensions; do
10672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10673 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10674 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10684 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10685 if test -n "$NM_FOR_TARGET"; then
10686 { echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10687 echo "${ECHO_T}$NM_FOR_TARGET" >&6; }
10689 { echo "$as_me:$LINENO: result
: no
" >&5
10690 echo "${ECHO_T}no
" >&6; }
10695 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10698 if test -n "$NM_FOR_TARGET"; then
10699 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
10700 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10701 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10704 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
10705 for ncn_progname in nm; do
10706 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10707 set dummy ${ncn_progname}; ac_word=$2
10708 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10709 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10710 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10711 echo $ECHO_N "(cached
) $ECHO_C" >&6
10713 if test -n "$NM_FOR_TARGET"; then
10714 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10717 for as_dir in $PATH
10720 test -z "$as_dir" && as_dir=.
10721 for ac_exec_ext in '' $ac_executable_extensions; do
10722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10723 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10724 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10733 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10734 if test -n "$NM_FOR_TARGET"; then
10735 { echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10736 echo "${ECHO_T}$NM_FOR_TARGET" >&6; }
10738 { echo "$as_me:$LINENO: result
: no
" >&5
10739 echo "${ECHO_T}no
" >&6; }
10746 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10747 for ncn_progname in nm; do
10748 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10749 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
10750 if test -x $with_build_time_tools/${ncn_progname}; then
10751 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10752 { echo "$as_me:$LINENO: result
: yes" >&5
10753 echo "${ECHO_T}yes" >&6; }
10756 { echo "$as_me:$LINENO: result
: no
" >&5
10757 echo "${ECHO_T}no
" >&6; }
10762 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
10763 for ncn_progname in nm; do
10764 if test -n "$ncn_target_tool_prefix"; then
10765 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10766 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10767 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10768 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10769 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10770 echo $ECHO_N "(cached
) $ECHO_C" >&6
10772 if test -n "$NM_FOR_TARGET"; then
10773 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10776 for as_dir in $PATH
10779 test -z "$as_dir" && as_dir=.
10780 for ac_exec_ext in '' $ac_executable_extensions; do
10781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10782 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10783 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10792 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10793 if test -n "$NM_FOR_TARGET"; then
10794 { echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10795 echo "${ECHO_T}$NM_FOR_TARGET" >&6; }
10797 { echo "$as_me:$LINENO: result
: no
" >&5
10798 echo "${ECHO_T}no
" >&6; }
10803 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10804 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10805 set dummy ${ncn_progname}; ac_word=$2
10806 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10807 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10808 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10809 echo $ECHO_N "(cached
) $ECHO_C" >&6
10811 if test -n "$NM_FOR_TARGET"; then
10812 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10815 for as_dir in $PATH
10818 test -z "$as_dir" && as_dir=.
10819 for ac_exec_ext in '' $ac_executable_extensions; do
10820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10821 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10822 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10831 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10832 if test -n "$NM_FOR_TARGET"; then
10833 { echo "$as_me:$LINENO: result
: $NM_FOR_TARGET" >&5
10834 echo "${ECHO_T}$NM_FOR_TARGET" >&6; }
10836 { echo "$as_me:$LINENO: result
: no
" >&5
10837 echo "${ECHO_T}no
" >&6; }
10842 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10846 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
10848 if test $build = $target ; then
10851 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
10854 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
10858 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10864 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10865 if test -n "$with_build_time_tools"; then
10866 { echo "$as_me:$LINENO: checking
for objdump
in $with_build_time_tools" >&5
10867 echo $ECHO_N "checking
for objdump
in $with_build_time_tools...
$ECHO_C" >&6; }
10868 if test -x $with_build_time_tools/objdump; then
10869 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10870 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10871 { echo "$as_me:$LINENO: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10872 echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
10874 { echo "$as_me:$LINENO: result
: no
" >&5
10875 echo "${ECHO_T}no
" >&6; }
10877 elif test $build != $host && test $have_gcc_for_target = yes; then
10878 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10879 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
10880 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10883 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10884 # Extract the first word of "objdump
", so it can be a program name with args.
10885 set dummy objdump; ac_word=$2
10886 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10887 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10888 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10889 echo $ECHO_N "(cached
) $ECHO_C" >&6
10891 case $OBJDUMP_FOR_TARGET in
10893 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
10896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10897 for as_dir in $gcc_cv_tool_dirs
10900 test -z "$as_dir" && as_dir=.
10901 for ac_exec_ext in '' $ac_executable_extensions; do
10902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10903 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10904 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10914 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10915 if test -n "$OBJDUMP_FOR_TARGET"; then
10916 { echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10917 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6; }
10919 { echo "$as_me:$LINENO: result
: no
" >&5
10920 echo "${ECHO_T}no
" >&6; }
10925 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10928 if test -n "$OBJDUMP_FOR_TARGET"; then
10929 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10930 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10931 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10934 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10935 for ncn_progname in objdump; do
10936 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10937 set dummy ${ncn_progname}; ac_word=$2
10938 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10939 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10940 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10941 echo $ECHO_N "(cached
) $ECHO_C" >&6
10943 if test -n "$OBJDUMP_FOR_TARGET"; then
10944 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10947 for as_dir in $PATH
10950 test -z "$as_dir" && as_dir=.
10951 for ac_exec_ext in '' $ac_executable_extensions; do
10952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10953 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10954 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
10963 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10964 if test -n "$OBJDUMP_FOR_TARGET"; then
10965 { echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
10966 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6; }
10968 { echo "$as_me:$LINENO: result
: no
" >&5
10969 echo "${ECHO_T}no
" >&6; }
10976 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10977 for ncn_progname in objdump; do
10978 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10979 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
10980 if test -x $with_build_time_tools/${ncn_progname}; then
10981 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10982 { echo "$as_me:$LINENO: result
: yes" >&5
10983 echo "${ECHO_T}yes" >&6; }
10986 { echo "$as_me:$LINENO: result
: no
" >&5
10987 echo "${ECHO_T}no
" >&6; }
10992 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
10993 for ncn_progname in objdump; do
10994 if test -n "$ncn_target_tool_prefix"; then
10995 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10996 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10997 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
10998 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
10999 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
11000 echo $ECHO_N "(cached
) $ECHO_C" >&6
11002 if test -n "$OBJDUMP_FOR_TARGET"; then
11003 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11006 for as_dir in $PATH
11009 test -z "$as_dir" && as_dir=.
11010 for ac_exec_ext in '' $ac_executable_extensions; do
11011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11012 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11013 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11022 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11023 if test -n "$OBJDUMP_FOR_TARGET"; then
11024 { echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
11025 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6; }
11027 { echo "$as_me:$LINENO: result
: no
" >&5
11028 echo "${ECHO_T}no
" >&6; }
11033 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
11034 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11035 set dummy ${ncn_progname}; ac_word=$2
11036 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11037 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11038 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
11039 echo $ECHO_N "(cached
) $ECHO_C" >&6
11041 if test -n "$OBJDUMP_FOR_TARGET"; then
11042 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11045 for as_dir in $PATH
11048 test -z "$as_dir" && as_dir=.
11049 for ac_exec_ext in '' $ac_executable_extensions; do
11050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11051 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11052 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11061 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11062 if test -n "$OBJDUMP_FOR_TARGET"; then
11063 { echo "$as_me:$LINENO: result
: $OBJDUMP_FOR_TARGET" >&5
11064 echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6; }
11066 { echo "$as_me:$LINENO: result
: no
" >&5
11067 echo "${ECHO_T}no
" >&6; }
11072 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
11076 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
11078 if test $build = $target ; then
11079 OBJDUMP_FOR_TARGET="$2"
11081 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11084 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
11088 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11094 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11095 if test -n "$with_build_time_tools"; then
11096 { echo "$as_me:$LINENO: checking
for ranlib
in $with_build_time_tools" >&5
11097 echo $ECHO_N "checking
for ranlib
in $with_build_time_tools...
$ECHO_C" >&6; }
11098 if test -x $with_build_time_tools/ranlib; then
11099 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
11100 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11101 { echo "$as_me:$LINENO: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
11102 echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
11104 { echo "$as_me:$LINENO: result
: no
" >&5
11105 echo "${ECHO_T}no
" >&6; }
11107 elif test $build != $host && test $have_gcc_for_target = yes; then
11108 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
11109 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
11110 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11113 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11114 # Extract the first word of "ranlib
", so it can be a program name with args.
11115 set dummy ranlib; ac_word=$2
11116 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11117 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11118 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
11119 echo $ECHO_N "(cached
) $ECHO_C" >&6
11121 case $RANLIB_FOR_TARGET in
11123 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
11126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11127 for as_dir in $gcc_cv_tool_dirs
11130 test -z "$as_dir" && as_dir=.
11131 for ac_exec_ext in '' $ac_executable_extensions; do
11132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11133 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11134 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11144 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11145 if test -n "$RANLIB_FOR_TARGET"; then
11146 { echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11147 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6; }
11149 { echo "$as_me:$LINENO: result
: no
" >&5
11150 echo "${ECHO_T}no
" >&6; }
11155 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11158 if test -n "$RANLIB_FOR_TARGET"; then
11159 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11160 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11161 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11164 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11165 for ncn_progname in ranlib; do
11166 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11167 set dummy ${ncn_progname}; ac_word=$2
11168 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11169 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11170 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
11171 echo $ECHO_N "(cached
) $ECHO_C" >&6
11173 if test -n "$RANLIB_FOR_TARGET"; then
11174 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11177 for as_dir in $PATH
11180 test -z "$as_dir" && as_dir=.
11181 for ac_exec_ext in '' $ac_executable_extensions; do
11182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11183 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11184 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11193 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11194 if test -n "$RANLIB_FOR_TARGET"; then
11195 { echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11196 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6; }
11198 { echo "$as_me:$LINENO: result
: no
" >&5
11199 echo "${ECHO_T}no
" >&6; }
11206 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
11207 for ncn_progname in ranlib; do
11208 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11209 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
11210 if test -x $with_build_time_tools/${ncn_progname}; then
11211 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11212 { echo "$as_me:$LINENO: result
: yes" >&5
11213 echo "${ECHO_T}yes" >&6; }
11216 { echo "$as_me:$LINENO: result
: no
" >&5
11217 echo "${ECHO_T}no
" >&6; }
11222 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11223 for ncn_progname in ranlib; do
11224 if test -n "$ncn_target_tool_prefix"; then
11225 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11226 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11227 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11228 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11229 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
11230 echo $ECHO_N "(cached
) $ECHO_C" >&6
11232 if test -n "$RANLIB_FOR_TARGET"; then
11233 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11236 for as_dir in $PATH
11239 test -z "$as_dir" && as_dir=.
11240 for ac_exec_ext in '' $ac_executable_extensions; do
11241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11242 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11243 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11252 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11253 if test -n "$RANLIB_FOR_TARGET"; then
11254 { echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11255 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6; }
11257 { echo "$as_me:$LINENO: result
: no
" >&5
11258 echo "${ECHO_T}no
" >&6; }
11263 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
11264 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11265 set dummy ${ncn_progname}; ac_word=$2
11266 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11267 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11268 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
11269 echo $ECHO_N "(cached
) $ECHO_C" >&6
11271 if test -n "$RANLIB_FOR_TARGET"; then
11272 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11275 for as_dir in $PATH
11278 test -z "$as_dir" && as_dir=.
11279 for ac_exec_ext in '' $ac_executable_extensions; do
11280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11281 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11282 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11291 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11292 if test -n "$RANLIB_FOR_TARGET"; then
11293 { echo "$as_me:$LINENO: result
: $RANLIB_FOR_TARGET" >&5
11294 echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6; }
11296 { echo "$as_me:$LINENO: result
: no
" >&5
11297 echo "${ECHO_T}no
" >&6; }
11302 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
11306 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
11308 if test $build = $target ; then
11309 RANLIB_FOR_TARGET="$2"
11311 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
11314 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
11318 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11324 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11325 if test -n "$with_build_time_tools"; then
11326 { echo "$as_me:$LINENO: checking
for strip
in $with_build_time_tools" >&5
11327 echo $ECHO_N "checking
for strip
in $with_build_time_tools...
$ECHO_C" >&6; }
11328 if test -x $with_build_time_tools/strip; then
11329 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
11330 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11331 { echo "$as_me:$LINENO: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
11332 echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6; }
11334 { echo "$as_me:$LINENO: result
: no
" >&5
11335 echo "${ECHO_T}no
" >&6; }
11337 elif test $build != $host && test $have_gcc_for_target = yes; then
11338 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
11339 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
11340 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11343 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11344 # Extract the first word of "strip
", so it can be a program name with args.
11345 set dummy strip; ac_word=$2
11346 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11347 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11348 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
11349 echo $ECHO_N "(cached
) $ECHO_C" >&6
11351 case $STRIP_FOR_TARGET in
11353 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
11356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11357 for as_dir in $gcc_cv_tool_dirs
11360 test -z "$as_dir" && as_dir=.
11361 for ac_exec_ext in '' $ac_executable_extensions; do
11362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11363 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11364 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11374 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11375 if test -n "$STRIP_FOR_TARGET"; then
11376 { echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11377 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6; }
11379 { echo "$as_me:$LINENO: result
: no
" >&5
11380 echo "${ECHO_T}no
" >&6; }
11385 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11388 if test -n "$STRIP_FOR_TARGET"; then
11389 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11390 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11391 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11394 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11395 for ncn_progname in strip; do
11396 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11397 set dummy ${ncn_progname}; ac_word=$2
11398 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11399 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11400 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11401 echo $ECHO_N "(cached
) $ECHO_C" >&6
11403 if test -n "$STRIP_FOR_TARGET"; then
11404 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11407 for as_dir in $PATH
11410 test -z "$as_dir" && as_dir=.
11411 for ac_exec_ext in '' $ac_executable_extensions; do
11412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11413 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11414 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11423 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11424 if test -n "$STRIP_FOR_TARGET"; then
11425 { echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11426 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6; }
11428 { echo "$as_me:$LINENO: result
: no
" >&5
11429 echo "${ECHO_T}no
" >&6; }
11436 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11437 for ncn_progname in strip; do
11438 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11439 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
11440 if test -x $with_build_time_tools/${ncn_progname}; then
11441 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11442 { echo "$as_me:$LINENO: result
: yes" >&5
11443 echo "${ECHO_T}yes" >&6; }
11446 { echo "$as_me:$LINENO: result
: no
" >&5
11447 echo "${ECHO_T}no
" >&6; }
11452 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
11453 for ncn_progname in strip; do
11454 if test -n "$ncn_target_tool_prefix"; then
11455 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11456 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11457 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11458 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11459 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11460 echo $ECHO_N "(cached
) $ECHO_C" >&6
11462 if test -n "$STRIP_FOR_TARGET"; then
11463 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11466 for as_dir in $PATH
11469 test -z "$as_dir" && as_dir=.
11470 for ac_exec_ext in '' $ac_executable_extensions; do
11471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11472 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11473 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11482 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11483 if test -n "$STRIP_FOR_TARGET"; then
11484 { echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11485 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6; }
11487 { echo "$as_me:$LINENO: result
: no
" >&5
11488 echo "${ECHO_T}no
" >&6; }
11493 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
11494 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11495 set dummy ${ncn_progname}; ac_word=$2
11496 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11497 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11498 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11499 echo $ECHO_N "(cached
) $ECHO_C" >&6
11501 if test -n "$STRIP_FOR_TARGET"; then
11502 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11505 for as_dir in $PATH
11508 test -z "$as_dir" && as_dir=.
11509 for ac_exec_ext in '' $ac_executable_extensions; do
11510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11511 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11512 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11521 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11522 if test -n "$STRIP_FOR_TARGET"; then
11523 { echo "$as_me:$LINENO: result
: $STRIP_FOR_TARGET" >&5
11524 echo "${ECHO_T}$STRIP_FOR_TARGET" >&6; }
11526 { echo "$as_me:$LINENO: result
: no
" >&5
11527 echo "${ECHO_T}no
" >&6; }
11532 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
11536 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
11538 if test $build = $target ; then
11539 STRIP_FOR_TARGET="$2"
11541 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11544 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
11548 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11554 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11555 if test -n "$with_build_time_tools"; then
11556 { echo "$as_me:$LINENO: checking
for windres
in $with_build_time_tools" >&5
11557 echo $ECHO_N "checking
for windres
in $with_build_time_tools...
$ECHO_C" >&6; }
11558 if test -x $with_build_time_tools/windres; then
11559 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
11560 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11561 { echo "$as_me:$LINENO: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
11562 echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
11564 { echo "$as_me:$LINENO: result
: no
" >&5
11565 echo "${ECHO_T}no
" >&6; }
11567 elif test $build != $host && test $have_gcc_for_target = yes; then
11568 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
11569 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
11570 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11573 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11574 # Extract the first word of "windres
", so it can be a program name with args.
11575 set dummy windres; ac_word=$2
11576 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11577 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11578 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
11579 echo $ECHO_N "(cached
) $ECHO_C" >&6
11581 case $WINDRES_FOR_TARGET in
11583 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
11586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11587 for as_dir in $gcc_cv_tool_dirs
11590 test -z "$as_dir" && as_dir=.
11591 for ac_exec_ext in '' $ac_executable_extensions; do
11592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11593 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11594 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11604 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11605 if test -n "$WINDRES_FOR_TARGET"; then
11606 { echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11607 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6; }
11609 { echo "$as_me:$LINENO: result
: no
" >&5
11610 echo "${ECHO_T}no
" >&6; }
11615 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11618 if test -n "$WINDRES_FOR_TARGET"; then
11619 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11620 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11621 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11624 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11625 for ncn_progname in windres; do
11626 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11627 set dummy ${ncn_progname}; ac_word=$2
11628 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11629 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11630 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11631 echo $ECHO_N "(cached
) $ECHO_C" >&6
11633 if test -n "$WINDRES_FOR_TARGET"; then
11634 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11637 for as_dir in $PATH
11640 test -z "$as_dir" && as_dir=.
11641 for ac_exec_ext in '' $ac_executable_extensions; do
11642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11643 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11644 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11653 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11654 if test -n "$WINDRES_FOR_TARGET"; then
11655 { echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11656 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6; }
11658 { echo "$as_me:$LINENO: result
: no
" >&5
11659 echo "${ECHO_T}no
" >&6; }
11666 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
11667 for ncn_progname in windres; do
11668 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11669 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
11670 if test -x $with_build_time_tools/${ncn_progname}; then
11671 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11672 { echo "$as_me:$LINENO: result
: yes" >&5
11673 echo "${ECHO_T}yes" >&6; }
11676 { echo "$as_me:$LINENO: result
: no
" >&5
11677 echo "${ECHO_T}no
" >&6; }
11682 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
11683 for ncn_progname in windres; do
11684 if test -n "$ncn_target_tool_prefix"; then
11685 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11686 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11687 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11688 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11689 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11690 echo $ECHO_N "(cached
) $ECHO_C" >&6
11692 if test -n "$WINDRES_FOR_TARGET"; then
11693 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11696 for as_dir in $PATH
11699 test -z "$as_dir" && as_dir=.
11700 for ac_exec_ext in '' $ac_executable_extensions; do
11701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11702 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11703 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11712 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11713 if test -n "$WINDRES_FOR_TARGET"; then
11714 { echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11715 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6; }
11717 { echo "$as_me:$LINENO: result
: no
" >&5
11718 echo "${ECHO_T}no
" >&6; }
11723 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
11724 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11725 set dummy ${ncn_progname}; ac_word=$2
11726 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11727 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11728 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11729 echo $ECHO_N "(cached
) $ECHO_C" >&6
11731 if test -n "$WINDRES_FOR_TARGET"; then
11732 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11735 for as_dir in $PATH
11738 test -z "$as_dir" && as_dir=.
11739 for ac_exec_ext in '' $ac_executable_extensions; do
11740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11741 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11742 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11751 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11752 if test -n "$WINDRES_FOR_TARGET"; then
11753 { echo "$as_me:$LINENO: result
: $WINDRES_FOR_TARGET" >&5
11754 echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6; }
11756 { echo "$as_me:$LINENO: result
: no
" >&5
11757 echo "${ECHO_T}no
" >&6; }
11762 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
11766 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
11768 if test $build = $target ; then
11769 WINDRES_FOR_TARGET="$2"
11771 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
11774 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
11778 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11784 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11785 if test -n "$with_build_time_tools"; then
11786 { echo "$as_me:$LINENO: checking
for windmc
in $with_build_time_tools" >&5
11787 echo $ECHO_N "checking
for windmc
in $with_build_time_tools...
$ECHO_C" >&6; }
11788 if test -x $with_build_time_tools/windmc; then
11789 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11790 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11791 { echo "$as_me:$LINENO: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11792 echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
11794 { echo "$as_me:$LINENO: result
: no
" >&5
11795 echo "${ECHO_T}no
" >&6; }
11797 elif test $build != $host && test $have_gcc_for_target = yes; then
11798 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11799 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
11800 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11803 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11804 # Extract the first word of "windmc
", so it can be a program name with args.
11805 set dummy windmc; ac_word=$2
11806 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11807 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11808 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11809 echo $ECHO_N "(cached
) $ECHO_C" >&6
11811 case $WINDMC_FOR_TARGET in
11813 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
11816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11817 for as_dir in $gcc_cv_tool_dirs
11820 test -z "$as_dir" && as_dir=.
11821 for ac_exec_ext in '' $ac_executable_extensions; do
11822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11823 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11824 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11834 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11835 if test -n "$WINDMC_FOR_TARGET"; then
11836 { echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11837 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6; }
11839 { echo "$as_me:$LINENO: result
: no
" >&5
11840 echo "${ECHO_T}no
" >&6; }
11845 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11848 if test -n "$WINDMC_FOR_TARGET"; then
11849 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11850 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11851 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11854 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11855 for ncn_progname in windmc; do
11856 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11857 set dummy ${ncn_progname}; ac_word=$2
11858 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11859 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11860 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11861 echo $ECHO_N "(cached
) $ECHO_C" >&6
11863 if test -n "$WINDMC_FOR_TARGET"; then
11864 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11867 for as_dir in $PATH
11870 test -z "$as_dir" && as_dir=.
11871 for ac_exec_ext in '' $ac_executable_extensions; do
11872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11873 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11874 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11883 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11884 if test -n "$WINDMC_FOR_TARGET"; then
11885 { echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11886 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6; }
11888 { echo "$as_me:$LINENO: result
: no
" >&5
11889 echo "${ECHO_T}no
" >&6; }
11896 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11897 for ncn_progname in windmc; do
11898 { echo "$as_me:$LINENO: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11899 echo $ECHO_N "checking
for ${ncn_progname} in $with_build_time_tools...
$ECHO_C" >&6; }
11900 if test -x $with_build_time_tools/${ncn_progname}; then
11901 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11902 { echo "$as_me:$LINENO: result
: yes" >&5
11903 echo "${ECHO_T}yes" >&6; }
11906 { echo "$as_me:$LINENO: result
: no
" >&5
11907 echo "${ECHO_T}no
" >&6; }
11912 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
11913 for ncn_progname in windmc; do
11914 if test -n "$ncn_target_tool_prefix"; then
11915 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11916 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11917 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11918 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11919 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11920 echo $ECHO_N "(cached
) $ECHO_C" >&6
11922 if test -n "$WINDMC_FOR_TARGET"; then
11923 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11926 for as_dir in $PATH
11929 test -z "$as_dir" && as_dir=.
11930 for ac_exec_ext in '' $ac_executable_extensions; do
11931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11932 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11933 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11942 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11943 if test -n "$WINDMC_FOR_TARGET"; then
11944 { echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11945 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6; }
11947 { echo "$as_me:$LINENO: result
: no
" >&5
11948 echo "${ECHO_T}no
" >&6; }
11953 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11954 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11955 set dummy ${ncn_progname}; ac_word=$2
11956 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
11957 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
11958 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11959 echo $ECHO_N "(cached
) $ECHO_C" >&6
11961 if test -n "$WINDMC_FOR_TARGET"; then
11962 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11965 for as_dir in $PATH
11968 test -z "$as_dir" && as_dir=.
11969 for ac_exec_ext in '' $ac_executable_extensions; do
11970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11971 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11972 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
11981 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11982 if test -n "$WINDMC_FOR_TARGET"; then
11983 { echo "$as_me:$LINENO: result
: $WINDMC_FOR_TARGET" >&5
11984 echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6; }
11986 { echo "$as_me:$LINENO: result
: no
" >&5
11987 echo "${ECHO_T}no
" >&6; }
11992 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11996 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
11998 if test $build = $target ; then
11999 WINDMC_FOR_TARGET="$2"
12001 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
12004 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
12008 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12012 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
12014 { echo "$as_me:$LINENO: checking where to
find the target
ar" >&5
12015 echo $ECHO_N "checking where to
find the target
ar...
$ECHO_C" >&6; }
12016 if test "x
${build}" != "x
${host}" ; then
12017 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12018 # We already found the complete path
12019 ac_dir=`dirname $AR_FOR_TARGET`
12020 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12021 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12023 # Canadian cross, just use what we found
12024 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12025 echo "${ECHO_T}pre-installed
" >&6; }
12029 case " ${configdirs} " in
12034 if test $ok = yes; then
12035 # An in-tree tool is available and we can use it
12036 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
12037 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12038 echo "${ECHO_T}just compiled
" >&6; }
12039 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12040 # We already found the complete path
12041 ac_dir=`dirname $AR_FOR_TARGET`
12042 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12043 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12044 elif test "x
$target" = "x
$host"; then
12045 # We can use an host tool
12046 AR_FOR_TARGET='$(AR)'
12047 { echo "$as_me:$LINENO: result
: host tool
" >&5
12048 echo "${ECHO_T}host tool
" >&6; }
12050 # We need a cross tool
12051 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12052 echo "${ECHO_T}pre-installed
" >&6; }
12056 { echo "$as_me:$LINENO: checking where to
find the target as
" >&5
12057 echo $ECHO_N "checking where to
find the target as...
$ECHO_C" >&6; }
12058 if test "x
${build}" != "x
${host}" ; then
12059 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
12060 # We already found the complete path
12061 ac_dir=`dirname $AS_FOR_TARGET`
12062 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12063 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12065 # Canadian cross, just use what we found
12066 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12067 echo "${ECHO_T}pre-installed
" >&6; }
12071 case " ${configdirs} " in
12076 if test $ok = yes; then
12077 # An in-tree tool is available and we can use it
12078 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
12079 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12080 echo "${ECHO_T}just compiled
" >&6; }
12081 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
12082 # We already found the complete path
12083 ac_dir=`dirname $AS_FOR_TARGET`
12084 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12085 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12086 elif test "x
$target" = "x
$host"; then
12087 # We can use an host tool
12088 AS_FOR_TARGET='$(AS)'
12089 { echo "$as_me:$LINENO: result
: host tool
" >&5
12090 echo "${ECHO_T}host tool
" >&6; }
12092 # We need a cross tool
12093 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12094 echo "${ECHO_T}pre-installed
" >&6; }
12098 { echo "$as_me:$LINENO: checking where to
find the target cc
" >&5
12099 echo $ECHO_N "checking where to
find the target cc...
$ECHO_C" >&6; }
12100 if test "x
${build}" != "x
${host}" ; then
12101 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
12102 # We already found the complete path
12103 ac_dir=`dirname $CC_FOR_TARGET`
12104 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12105 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12107 # Canadian cross, just use what we found
12108 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12109 echo "${ECHO_T}pre-installed
" >&6; }
12113 case " ${configdirs} " in
12118 if test $ok = yes; then
12119 # An in-tree tool is available and we can use it
12120 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12121 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12122 echo "${ECHO_T}just compiled
" >&6; }
12123 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
12124 # We already found the complete path
12125 ac_dir=`dirname $CC_FOR_TARGET`
12126 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12127 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12128 elif test "x
$target" = "x
$host"; then
12129 # We can use an host tool
12130 CC_FOR_TARGET='$(CC)'
12131 { echo "$as_me:$LINENO: result
: host tool
" >&5
12132 echo "${ECHO_T}host tool
" >&6; }
12134 # We need a cross tool
12135 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12136 echo "${ECHO_T}pre-installed
" >&6; }
12140 { echo "$as_me:$LINENO: checking where to
find the target c
++" >&5
12141 echo $ECHO_N "checking where to
find the target c
++...
$ECHO_C" >&6; }
12142 if test "x
${build}" != "x
${host}" ; then
12143 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
12144 # We already found the complete path
12145 ac_dir=`dirname $CXX_FOR_TARGET`
12146 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12147 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12149 # Canadian cross, just use what we found
12150 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12151 echo "${ECHO_T}pre-installed
" >&6; }
12155 case " ${configdirs} " in
12159 case ,${enable_languages}, in
12163 if test $ok = yes; then
12164 # An in-tree tool is available and we can use it
12165 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
12166 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12167 echo "${ECHO_T}just compiled
" >&6; }
12168 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
12169 # We already found the complete path
12170 ac_dir=`dirname $CXX_FOR_TARGET`
12171 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12172 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12173 elif test "x
$target" = "x
$host"; then
12174 # We can use an host tool
12175 CXX_FOR_TARGET='$(CXX)'
12176 { echo "$as_me:$LINENO: result
: host tool
" >&5
12177 echo "${ECHO_T}host tool
" >&6; }
12179 # We need a cross tool
12180 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12181 echo "${ECHO_T}pre-installed
" >&6; }
12185 { echo "$as_me:$LINENO: checking where to
find the target c
++ for libstdc
++" >&5
12186 echo $ECHO_N "checking where to
find the target c
++ for libstdc
++...
$ECHO_C" >&6; }
12187 if test "x
${build}" != "x
${host}" ; then
12188 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
12189 # We already found the complete path
12190 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12191 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12192 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12194 # Canadian cross, just use what we found
12195 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12196 echo "${ECHO_T}pre-installed
" >&6; }
12200 case " ${configdirs} " in
12204 case ,${enable_languages}, in
12208 if test $ok = yes; then
12209 # An in-tree tool is available and we can use it
12210 RAW_CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
12211 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12212 echo "${ECHO_T}just compiled
" >&6; }
12213 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
12214 # We already found the complete path
12215 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12216 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12217 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12218 elif test "x
$target" = "x
$host"; then
12219 # We can use an host tool
12220 RAW_CXX_FOR_TARGET='$(CXX)'
12221 { echo "$as_me:$LINENO: result
: host tool
" >&5
12222 echo "${ECHO_T}host tool
" >&6; }
12224 # We need a cross tool
12225 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12226 echo "${ECHO_T}pre-installed
" >&6; }
12230 { echo "$as_me:$LINENO: checking where to
find the target dlltool
" >&5
12231 echo $ECHO_N "checking where to
find the target dlltool...
$ECHO_C" >&6; }
12232 if test "x
${build}" != "x
${host}" ; then
12233 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
12234 # We already found the complete path
12235 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12236 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12237 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12239 # Canadian cross, just use what we found
12240 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12241 echo "${ECHO_T}pre-installed
" >&6; }
12245 case " ${configdirs} " in
12250 if test $ok = yes; then
12251 # An in-tree tool is available and we can use it
12252 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
12253 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12254 echo "${ECHO_T}just compiled
" >&6; }
12255 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
12256 # We already found the complete path
12257 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12258 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12259 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12260 elif test "x
$target" = "x
$host"; then
12261 # We can use an host tool
12262 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
12263 { echo "$as_me:$LINENO: result
: host tool
" >&5
12264 echo "${ECHO_T}host tool
" >&6; }
12266 # We need a cross tool
12267 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12268 echo "${ECHO_T}pre-installed
" >&6; }
12272 { echo "$as_me:$LINENO: checking where to
find the target gcc
" >&5
12273 echo $ECHO_N "checking where to
find the target gcc...
$ECHO_C" >&6; }
12274 if test "x
${build}" != "x
${host}" ; then
12275 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
12276 # We already found the complete path
12277 ac_dir=`dirname $GCC_FOR_TARGET`
12278 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12279 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12281 # Canadian cross, just use what we found
12282 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12283 echo "${ECHO_T}pre-installed
" >&6; }
12287 case " ${configdirs} " in
12292 if test $ok = yes; then
12293 # An in-tree tool is available and we can use it
12294 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12295 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12296 echo "${ECHO_T}just compiled
" >&6; }
12297 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
12298 # We already found the complete path
12299 ac_dir=`dirname $GCC_FOR_TARGET`
12300 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12301 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12302 elif test "x
$target" = "x
$host"; then
12303 # We can use an host tool
12304 GCC_FOR_TARGET='$()'
12305 { echo "$as_me:$LINENO: result
: host tool
" >&5
12306 echo "${ECHO_T}host tool
" >&6; }
12308 # We need a cross tool
12309 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12310 echo "${ECHO_T}pre-installed
" >&6; }
12314 { echo "$as_me:$LINENO: checking where to
find the target gcj
" >&5
12315 echo $ECHO_N "checking where to
find the target gcj...
$ECHO_C" >&6; }
12316 if test "x
${build}" != "x
${host}" ; then
12317 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
12318 # We already found the complete path
12319 ac_dir=`dirname $GCJ_FOR_TARGET`
12320 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12321 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12323 # Canadian cross, just use what we found
12324 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12325 echo "${ECHO_T}pre-installed
" >&6; }
12329 case " ${configdirs} " in
12333 case ,${enable_languages}, in
12337 if test $ok = yes; then
12338 # An in-tree tool is available and we can use it
12339 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
12340 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12341 echo "${ECHO_T}just compiled
" >&6; }
12342 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
12343 # We already found the complete path
12344 ac_dir=`dirname $GCJ_FOR_TARGET`
12345 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12346 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12347 elif test "x
$target" = "x
$host"; then
12348 # We can use an host tool
12349 GCJ_FOR_TARGET='$(GCJ)'
12350 { echo "$as_me:$LINENO: result
: host tool
" >&5
12351 echo "${ECHO_T}host tool
" >&6; }
12353 # We need a cross tool
12354 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12355 echo "${ECHO_T}pre-installed
" >&6; }
12359 { echo "$as_me:$LINENO: checking where to
find the target gfortran
" >&5
12360 echo $ECHO_N "checking where to
find the target gfortran...
$ECHO_C" >&6; }
12361 if test "x
${build}" != "x
${host}" ; then
12362 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12363 # We already found the complete path
12364 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12365 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12366 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12368 # Canadian cross, just use what we found
12369 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12370 echo "${ECHO_T}pre-installed
" >&6; }
12374 case " ${configdirs} " in
12378 case ,${enable_languages}, in
12382 if test $ok = yes; then
12383 # An in-tree tool is available and we can use it
12384 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
12385 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12386 echo "${ECHO_T}just compiled
" >&6; }
12387 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12388 # We already found the complete path
12389 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12390 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12391 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12392 elif test "x
$target" = "x
$host"; then
12393 # We can use an host tool
12394 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
12395 { echo "$as_me:$LINENO: result
: host tool
" >&5
12396 echo "${ECHO_T}host tool
" >&6; }
12398 # We need a cross tool
12399 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12400 echo "${ECHO_T}pre-installed
" >&6; }
12404 { echo "$as_me:$LINENO: checking where to
find the target ld
" >&5
12405 echo $ECHO_N "checking where to
find the target ld...
$ECHO_C" >&6; }
12406 if test "x
${build}" != "x
${host}" ; then
12407 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12408 # We already found the complete path
12409 ac_dir=`dirname $LD_FOR_TARGET`
12410 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12411 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12413 # Canadian cross, just use what we found
12414 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12415 echo "${ECHO_T}pre-installed
" >&6; }
12419 case " ${configdirs} " in
12424 if test $ok = yes; then
12425 # An in-tree tool is available and we can use it
12426 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
12427 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12428 echo "${ECHO_T}just compiled
" >&6; }
12429 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12430 # We already found the complete path
12431 ac_dir=`dirname $LD_FOR_TARGET`
12432 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12433 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12434 elif test "x
$target" = "x
$host"; then
12435 # We can use an host tool
12436 LD_FOR_TARGET='$(LD)'
12437 { echo "$as_me:$LINENO: result
: host tool
" >&5
12438 echo "${ECHO_T}host tool
" >&6; }
12440 # We need a cross tool
12441 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12442 echo "${ECHO_T}pre-installed
" >&6; }
12446 { echo "$as_me:$LINENO: checking where to
find the target lipo
" >&5
12447 echo $ECHO_N "checking where to
find the target lipo...
$ECHO_C" >&6; }
12448 if test "x
${build}" != "x
${host}" ; then
12449 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12450 # We already found the complete path
12451 ac_dir=`dirname $LIPO_FOR_TARGET`
12452 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12453 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12455 # Canadian cross, just use what we found
12456 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12457 echo "${ECHO_T}pre-installed
" >&6; }
12460 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12461 # We already found the complete path
12462 ac_dir=`dirname $LIPO_FOR_TARGET`
12463 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12464 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12465 elif test "x
$target" = "x
$host"; then
12466 # We can use an host tool
12467 LIPO_FOR_TARGET='$(LIPO)'
12468 { echo "$as_me:$LINENO: result
: host tool
" >&5
12469 echo "${ECHO_T}host tool
" >&6; }
12471 # We need a cross tool
12472 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12473 echo "${ECHO_T}pre-installed
" >&6; }
12477 { echo "$as_me:$LINENO: checking where to
find the target nm
" >&5
12478 echo $ECHO_N "checking where to
find the target nm...
$ECHO_C" >&6; }
12479 if test "x
${build}" != "x
${host}" ; then
12480 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12481 # We already found the complete path
12482 ac_dir=`dirname $NM_FOR_TARGET`
12483 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12484 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12486 # Canadian cross, just use what we found
12487 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12488 echo "${ECHO_T}pre-installed
" >&6; }
12492 case " ${configdirs} " in
12497 if test $ok = yes; then
12498 # An in-tree tool is available and we can use it
12499 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
12500 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12501 echo "${ECHO_T}just compiled
" >&6; }
12502 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12503 # We already found the complete path
12504 ac_dir=`dirname $NM_FOR_TARGET`
12505 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12506 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12507 elif test "x
$target" = "x
$host"; then
12508 # We can use an host tool
12509 NM_FOR_TARGET='$(NM)'
12510 { echo "$as_me:$LINENO: result
: host tool
" >&5
12511 echo "${ECHO_T}host tool
" >&6; }
12513 # We need a cross tool
12514 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12515 echo "${ECHO_T}pre-installed
" >&6; }
12519 { echo "$as_me:$LINENO: checking where to
find the target objdump
" >&5
12520 echo $ECHO_N "checking where to
find the target objdump...
$ECHO_C" >&6; }
12521 if test "x
${build}" != "x
${host}" ; then
12522 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12523 # We already found the complete path
12524 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12525 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12526 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12528 # Canadian cross, just use what we found
12529 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12530 echo "${ECHO_T}pre-installed
" >&6; }
12534 case " ${configdirs} " in
12539 if test $ok = yes; then
12540 # An in-tree tool is available and we can use it
12541 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
12542 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12543 echo "${ECHO_T}just compiled
" >&6; }
12544 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12545 # We already found the complete path
12546 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12547 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12548 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12549 elif test "x
$target" = "x
$host"; then
12550 # We can use an host tool
12551 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
12552 { echo "$as_me:$LINENO: result
: host tool
" >&5
12553 echo "${ECHO_T}host tool
" >&6; }
12555 # We need a cross tool
12556 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12557 echo "${ECHO_T}pre-installed
" >&6; }
12561 { echo "$as_me:$LINENO: checking where to
find the target ranlib
" >&5
12562 echo $ECHO_N "checking where to
find the target ranlib...
$ECHO_C" >&6; }
12563 if test "x
${build}" != "x
${host}" ; then
12564 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12565 # We already found the complete path
12566 ac_dir=`dirname $RANLIB_FOR_TARGET`
12567 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12568 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12570 # Canadian cross, just use what we found
12571 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12572 echo "${ECHO_T}pre-installed
" >&6; }
12576 case " ${configdirs} " in
12581 if test $ok = yes; then
12582 # An in-tree tool is available and we can use it
12583 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
12584 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12585 echo "${ECHO_T}just compiled
" >&6; }
12586 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
12587 # We already found the complete path
12588 ac_dir=`dirname $RANLIB_FOR_TARGET`
12589 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12590 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12591 elif test "x
$target" = "x
$host"; then
12592 # We can use an host tool
12593 RANLIB_FOR_TARGET='$(RANLIB)'
12594 { echo "$as_me:$LINENO: result
: host tool
" >&5
12595 echo "${ECHO_T}host tool
" >&6; }
12597 # We need a cross tool
12598 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12599 echo "${ECHO_T}pre-installed
" >&6; }
12603 { echo "$as_me:$LINENO: checking where to
find the target strip
" >&5
12604 echo $ECHO_N "checking where to
find the target strip...
$ECHO_C" >&6; }
12605 if test "x
${build}" != "x
${host}" ; then
12606 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12607 # We already found the complete path
12608 ac_dir=`dirname $STRIP_FOR_TARGET`
12609 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12610 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12612 # Canadian cross, just use what we found
12613 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12614 echo "${ECHO_T}pre-installed
" >&6; }
12618 case " ${configdirs} " in
12623 if test $ok = yes; then
12624 # An in-tree tool is available and we can use it
12625 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
12626 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12627 echo "${ECHO_T}just compiled
" >&6; }
12628 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
12629 # We already found the complete path
12630 ac_dir=`dirname $STRIP_FOR_TARGET`
12631 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12632 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12633 elif test "x
$target" = "x
$host"; then
12634 # We can use an host tool
12635 STRIP_FOR_TARGET='$(STRIP)'
12636 { echo "$as_me:$LINENO: result
: host tool
" >&5
12637 echo "${ECHO_T}host tool
" >&6; }
12639 # We need a cross tool
12640 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12641 echo "${ECHO_T}pre-installed
" >&6; }
12645 { echo "$as_me:$LINENO: checking where to
find the target windres
" >&5
12646 echo $ECHO_N "checking where to
find the target windres...
$ECHO_C" >&6; }
12647 if test "x
${build}" != "x
${host}" ; then
12648 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12649 # We already found the complete path
12650 ac_dir=`dirname $WINDRES_FOR_TARGET`
12651 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12652 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12654 # Canadian cross, just use what we found
12655 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12656 echo "${ECHO_T}pre-installed
" >&6; }
12660 case " ${configdirs} " in
12665 if test $ok = yes; then
12666 # An in-tree tool is available and we can use it
12667 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
12668 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12669 echo "${ECHO_T}just compiled
" >&6; }
12670 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
12671 # We already found the complete path
12672 ac_dir=`dirname $WINDRES_FOR_TARGET`
12673 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12674 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12675 elif test "x
$target" = "x
$host"; then
12676 # We can use an host tool
12677 WINDRES_FOR_TARGET='$(WINDRES)'
12678 { echo "$as_me:$LINENO: result
: host tool
" >&5
12679 echo "${ECHO_T}host tool
" >&6; }
12681 # We need a cross tool
12682 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12683 echo "${ECHO_T}pre-installed
" >&6; }
12687 { echo "$as_me:$LINENO: checking where to
find the target windmc
" >&5
12688 echo $ECHO_N "checking where to
find the target windmc...
$ECHO_C" >&6; }
12689 if test "x
${build}" != "x
${host}" ; then
12690 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12691 # We already found the complete path
12692 ac_dir=`dirname $WINDMC_FOR_TARGET`
12693 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12694 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12696 # Canadian cross, just use what we found
12697 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12698 echo "${ECHO_T}pre-installed
" >&6; }
12702 case " ${configdirs} " in
12707 if test $ok = yes; then
12708 # An in-tree tool is available and we can use it
12709 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
12710 { echo "$as_me:$LINENO: result
: just compiled
" >&5
12711 echo "${ECHO_T}just compiled
" >&6; }
12712 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
12713 # We already found the complete path
12714 ac_dir=`dirname $WINDMC_FOR_TARGET`
12715 { echo "$as_me:$LINENO: result
: pre-installed
in $ac_dir" >&5
12716 echo "${ECHO_T}pre-installed
in $ac_dir" >&6; }
12717 elif test "x
$target" = "x
$host"; then
12718 # We can use an host tool
12719 WINDMC_FOR_TARGET='$(WINDMC)'
12720 { echo "$as_me:$LINENO: result
: host tool
" >&5
12721 echo "${ECHO_T}host tool
" >&6; }
12723 # We need a cross tool
12724 { echo "$as_me:$LINENO: result
: pre-installed
" >&5
12725 echo "${ECHO_T}pre-installed
" >&6; }
12733 # Certain tools may need extra flags.
12734 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
12735 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
12736 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
12738 # When building target libraries, except in a Canadian cross, we use
12739 # the same toolchain as the compiler we just built.
12740 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
12741 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
12742 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
12743 if test $host = $build; then
12744 case " $configdirs " in
12746 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
12747 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
12748 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
12757 { echo "$as_me:$LINENO: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
12758 echo $ECHO_N "checking whether to
enable maintainer-specific portions of Makefiles...
$ECHO_C" >&6; }
12759 # Check whether --enable-maintainer-mode was given.
12760 if test "${enable_maintainer_mode+set}" = set; then
12761 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12763 USE_MAINTAINER_MODE=no
12766 { echo "$as_me:$LINENO: result
: $USE_MAINTAINER_MODE" >&5
12767 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
12770 if test "$USE_MAINTAINER_MODE" = yes; then
12771 MAINTAINER_MODE_TRUE=
12772 MAINTAINER_MODE_FALSE='#'
12774 MAINTAINER_MODE_TRUE='#'
12775 MAINTAINER_MODE_FALSE=
12777 MAINT=$MAINTAINER_MODE_TRUE
12779 # ---------------------
12780 # GCC bootstrap support
12781 # ---------------------
12783 # Stage specific cflags for build.
12788 yes) stage1_cflags="-g -Wa,-J" ;;
12789 *) stage1_cflags="-g -J" ;;
12793 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12794 if test "$GCC" = yes; then
12795 saved_CFLAGS="$CFLAGS"
12797 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12798 CFLAGS="$CFLAGS -fkeep-inline-functions"
12799 { echo "$as_me:$LINENO: checking whether
-fkeep-inline-functions is supported
" >&5
12800 echo $ECHO_N "checking whether
-fkeep-inline-functions is supported...
$ECHO_C" >&6; }
12801 cat >conftest.$ac_ext <<_ACEOF
12804 cat confdefs.h >>conftest.$ac_ext
12805 cat >>conftest.$ac_ext <<_ACEOF
12806 /* end confdefs.h. */
12808 #if (__GNUC__ < 3) \
12809 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
12810 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
12811 #error http://gcc.gnu.org/PR29382
12822 rm -f conftest.$ac_objext
12823 if { (ac_try="$ac_compile"
12824 case "(($ac_try" in
12825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12826 *) ac_try_echo=$ac_try;;
12828 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12829 (eval "$ac_compile") 2>conftest.er1
12831 grep -v '^ *+' conftest.er1 >conftest.err
12833 cat conftest.err >&5
12834 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12835 (exit $ac_status); } && {
12836 test -z "$ac_c_werror_flag" ||
12837 test ! -s conftest.err
12838 } && test -s conftest.$ac_objext; then
12839 { echo "$as_me:$LINENO: result
: yes" >&5
12840 echo "${ECHO_T}yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12842 echo "$as_me: failed program was
:" >&5
12843 sed 's/^/| /' conftest.$ac_ext >&5
12845 { echo "$as_me:$LINENO: result
: no
" >&5
12846 echo "${ECHO_T}no
" >&6; }
12849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12851 CFLAGS="$saved_CFLAGS"
12856 # Enable --enable-checking in stage1 of the compiler.
12857 # Check whether --enable-stage1-checking was given.
12858 if test "${enable_stage1_checking+set}" = set; then
12859 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
12861 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
12862 stage1_checking=--enable-checking=yes,types
12864 stage1_checking=--enable-checking=$enable_checking,types
12870 # Enable -Werror in bootstrap stage2 and later.
12871 # Check whether --enable-werror was given.
12872 if test "${enable_werror+set}" = set; then
12873 enableval=$enable_werror;
12875 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12882 case ${enable_werror} in
12883 yes) stage2_werror_flag="--enable-werror-always" ;;
12884 *) stage2_werror_flag="" ;;
12888 # Flags needed to enable html installing and building
12890 # Check whether --with-datarootdir was given.
12891 if test "${with_datarootdir+set}" = set; then
12892 withval=$with_datarootdir; datarootdir="\
${prefix}/${withval}"
12894 datarootdir="\
${prefix}/share
"
12899 # Check whether --with-docdir was given.
12900 if test "${with_docdir+set}" = set; then
12901 withval=$with_docdir; docdir="\
${prefix}/${withval}"
12903 docdir="\
${datarootdir}/doc
"
12908 # Check whether --with-pdfdir was given.
12909 if test "${with_pdfdir+set}" = set; then
12910 withval=$with_pdfdir; pdfdir="\
${prefix}/${withval}"
12912 pdfdir="\
${docdir}"
12917 # Check whether --with-htmldir was given.
12918 if test "${with_htmldir+set}" = set; then
12919 withval=$with_htmldir; htmldir="\
${prefix}/${withval}"
12921 htmldir="\
${docdir}"
12930 ac_config_files="$ac_config_files Makefile
"
12932 cat >confcache <<\_ACEOF
12933 # This file is a shell script that caches the results of configure
12934 # tests run on this system so they can be shared between configure
12935 # scripts and configure runs, see configure's option --config-cache.
12936 # It is not useful on other systems. If it contains results you don't
12937 # want to keep, you may remove or edit it.
12939 # config.status only pays attention to the cache file if you give it
12940 # the --recheck option to rerun configure.
12942 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12943 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12944 # following values.
12948 # The following way of writing the cache mishandles newlines in values,
12949 # but we know of no workaround that is simple, portable, and efficient.
12950 # So, we kill variables containing newlines.
12951 # Ultrix sh set writes to stderr and can't be redirected directly,
12952 # and sets the high bit in the cache file unless we assign to the vars.
12954 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12955 eval ac_val=\$$ac_var
12959 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
12960 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
12963 _ | IFS | as_nl) ;; #(
12964 *) $as_unset $ac_var ;;
12970 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12971 *${as_nl}ac_space=\ *)
12972 # `set' does not quote correctly, so add quotes (double-quote
12973 # substitution turns \\\\ into \\, and sed turns \\ into \).
12976 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
12979 # `set' quotes correctly as required by POSIX, so do not add quotes.
12980 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
12989 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12991 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12993 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12994 if test -w "$cache_file"; then
12995 test "x
$cache_file" != "x
/dev
/null
" &&
12996 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
12997 echo "$as_me: updating cache
$cache_file" >&6;}
12998 cat confcache >$cache_file
13000 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
13001 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
13006 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
13007 # Let make expand exec_prefix.
13008 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
13010 # Transform confdefs.h into DEFS.
13011 # Protect against shell expansion while executing Makefile rules.
13012 # Protect against Makefile macro expansion.
13014 # If the first sed substitution is executed (which looks for macros that
13015 # take arguments), then branch to the quote section. Otherwise,
13016 # look for a macro that doesn't take arguments.
13020 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
13022 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
13026 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
13039 DEFS=`sed -n "$ac_script" confdefs.h`
13044 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13045 # 1. Remove the extension, and $U if already installed.
13046 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
13047 ac_i=`echo "$ac_i" | sed "$ac_script"`
13048 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13049 # will be set to the directory where LIBOBJS objects are built.
13050 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13051 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo
'
13053 LIBOBJS=$ac_libobjs
13055 LTLIBOBJS=$ac_ltlibobjs
13059 : ${CONFIG_STATUS=./config.status}
13060 ac_clean_files_save=$ac_clean_files
13061 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13062 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13063 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13064 cat >$CONFIG_STATUS <<_ACEOF
13066 # Generated by $as_me.
13067 # Run this file to recreate the current configuration.
13068 # Compiler output produced by configure, useful for debugging
13069 # configure, is in config.log if it exists.
13072 ac_cs_recheck=false
13074 SHELL=\${CONFIG_SHELL-$SHELL}
13077 cat >>$CONFIG_STATUS <<\_ACEOF
13078 ## --------------------- ##
13079 ## M4sh Initialization. ##
13080 ## --------------------- ##
13082 # Be more Bourne compatible
13083 DUALCASE=1; export DUALCASE # for MKS sh
13084 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13087 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13088 # is contrary to our usage. Disable this feature.
13089 alias -g '${1+"$@"}'='"$@"'
13090 setopt NO_GLOB_SUBST
13092 case `(set -o) 2>/dev/null` in
13093 *posix*) set -o posix ;;
13102 # Avoid depending upon Character Ranges.
13103 as_cr_letters='abcdefghijklmnopqrstuvwxyz
'
13104 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ
'
13105 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13106 as_cr_digits='0123456789'
13107 as_cr_alnum=$as_cr_Letters$as_cr_digits
13109 # The user is always right.
13110 if test "${PATH_SEPARATOR+set}" != set; then
13111 echo "#! /bin/sh" >conf$$.sh
13112 echo "exit 0" >>conf$$.sh
13114 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13122 # Support unset when possible.
13123 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13131 # We need space, tab and new line, in precisely that order. Quoting is
13132 # there to prevent editors from complaining about space-tab.
13133 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13134 # splitting by setting IFS to empty value.)
13139 # Find who we are. Look in the path if we contain no directory separator.
13141 *[\\/]* ) as_myself=$0 ;;
13142 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13143 for as_dir in $PATH
13146 test -z "$as_dir" && as_dir=.
13147 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13153 # We did not find ourselves, most probably we were run as `sh COMMAND'
13154 # in which case we are not to be found in the path.
13155 if test "x$as_myself" = x
; then
13158 if test ! -f "$as_myself"; then
13159 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13160 { (exit 1); exit 1; }
13163 # Work around bugs in pre-3.0 UWIN ksh.
13164 for as_var
in ENV MAIL MAILPATH
13165 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13173 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13174 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13175 LC_TELEPHONE LC_TIME
13177 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13178 eval $as_var=C
; export $as_var
13180 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13184 # Required to use basename.
13185 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13186 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13192 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13193 as_basename
=basename
13199 # Name of the executable.
13200 as_me
=`$as_basename -- "$0" ||
13201 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13202 X"$0" : 'X\(//\)$' \| \
13203 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13205 sed '/^.*\/\([^/][^/]*\)\/*$/{
13224 as_lineno_1
=$LINENO
13225 as_lineno_2
=$LINENO
13226 test "x$as_lineno_1" != "x$as_lineno_2" &&
13227 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13229 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13230 # uniformly replaced by the line number. The first 'sed' inserts a
13231 # line-number line after each line using $LINENO; the second 'sed'
13232 # does the real work. The second script uses 'N' to pair each
13233 # line-number line with the line containing $LINENO, and appends
13234 # trailing '-' during substitution so that $LINENO is not a special
13235 # case at line end.
13236 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13237 # scripts with optimization help from Paolo Bonzini. Blame Lee
13238 # E. McMahon (1931-1989) for sed's syntax. :-)
13250 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13253 ' >$as_me.lineno
&&
13254 chmod +x
"$as_me.lineno" ||
13255 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13256 { (exit 1); exit 1; }; }
13258 # Don't try to exec as it changes $[0], causing all sort of problems
13259 # (the dirname of $[0] is not the place where we might find the
13260 # original and so on. Autoconf is especially sensitive to this).
13261 .
"./$as_me.lineno"
13262 # Exit status is that of the last command.
13267 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13273 ECHO_C
= ECHO_N
= ECHO_T
=
13274 case `echo -n x` in
13276 case `echo 'x\c'` in
13277 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13284 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13285 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13291 rm -f conf$$ conf$$.exe conf$$.
file
13292 if test -d conf$$.dir
; then
13293 rm -f conf$$.dir
/conf$$.
file
13299 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13301 # ... but there are two gotchas:
13302 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13303 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13304 # In both cases, we have to default to `cp -p'.
13305 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13307 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13312 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13313 rmdir conf$$.dir
2>/dev
/null
13315 if mkdir
-p .
2>/dev
/null
; then
13318 test -d .
/-p && rmdir .
/-p
13322 if test -x / >/dev
/null
2>&1; then
13323 as_test_x
='test -x'
13325 if ls -dL / >/dev
/null
2>&1; then
13332 if test -d "$1"; then
13338 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13339 ???[sx]*):;;*)false;;esac;fi
13343 as_executable_p
=$as_test_x
13345 # Sed expression to map a string onto a valid CPP name.
13346 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13348 # Sed expression to map a string onto a valid variable name.
13349 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13354 # Save the log message, to keep $[0] and so on meaningful, and to
13355 # report actual input values of CONFIG_FILES etc. instead of their
13356 # values after options handling.
13358 This file was extended by $as_me, which was
13359 generated by GNU Autoconf 2.61. Invocation command line was
13361 CONFIG_FILES = $CONFIG_FILES
13362 CONFIG_HEADERS = $CONFIG_HEADERS
13363 CONFIG_LINKS = $CONFIG_LINKS
13364 CONFIG_COMMANDS = $CONFIG_COMMANDS
13367 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13372 cat >>$CONFIG_STATUS <<_ACEOF
13373 # Files that config.status was made for.
13374 config_files="$ac_config_files"
13378 cat >>$CONFIG_STATUS <<\_ACEOF
13380 \`$as_me' instantiates files from templates according to the
13381 current configuration.
13383 Usage: $0 [OPTIONS] [FILE]...
13385 -h, --help print this help, then exit
13386 -V, --version print version number and configuration settings, then exit
13387 -q, --quiet do not print progress messages
13388 -d, --debug don't remove temporary files
13389 --recheck update $as_me by reconfiguring in the same conditions
13390 --file=FILE[:TEMPLATE]
13391 instantiate the configuration file FILE
13393 Configuration files:
13396 Report bugs to <bug-autoconf@gnu.org>."
13399 cat >>$CONFIG_STATUS <<_ACEOF
13402 configured by $0, generated by GNU Autoconf 2.61,
13403 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13405 Copyright (C) 2006 Free Software Foundation, Inc.
13406 This config.status script is free software; the Free Software Foundation
13407 gives unlimited permission to copy, distribute and modify it."
13414 cat >>$CONFIG_STATUS <<\_ACEOF
13415 # If no file are specified by the user, then we need to provide default
13416 # value. By we need to know if files were specified by the user.
13422 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13423 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13434 # Handling of the options.
13435 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13437 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13438 echo "$ac_cs_version"; exit ;;
13439 --debug |
--debu |
--deb |
--de |
--d |
-d )
13441 --file |
--fil |
--fi |
--f )
13443 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13444 ac_need_defaults
=false
;;
13445 --he |
--h |
--help |
--hel |
-h )
13446 echo "$ac_cs_usage"; exit ;;
13447 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13448 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13451 # This is an error.
13452 -*) { echo "$as_me: error: unrecognized option: $1
13453 Try \`$0 --help' for more information." >&2
13454 { (exit 1); exit 1; }; } ;;
13456 *) ac_config_targets
="$ac_config_targets $1"
13457 ac_need_defaults
=false
;;
13463 ac_configure_extra_args
=
13465 if $ac_cs_silent; then
13467 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13471 cat >>$CONFIG_STATUS <<_ACEOF
13472 if \$ac_cs_recheck; then
13473 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13474 CONFIG_SHELL=$SHELL
13475 export CONFIG_SHELL
13476 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13480 cat >>$CONFIG_STATUS <<\_ACEOF
13484 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13485 ## Running $as_me. ##
13491 cat >>$CONFIG_STATUS <<_ACEOF
13494 cat >>$CONFIG_STATUS <<\_ACEOF
13496 # Handling of arguments.
13497 for ac_config_target
in $ac_config_targets
13499 case $ac_config_target in
13500 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13502 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13503 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13504 { (exit 1); exit 1; }; };;
13509 # If the user did not use the arguments to specify the items to instantiate,
13510 # then the envvar interface is used. Set only those that are not.
13511 # We use the long form for the default assignment because of an extremely
13512 # bizarre bug on SunOS 4.1.3.
13513 if $ac_need_defaults; then
13514 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13517 # Have a temporary directory for convenience. Make it in the build tree
13518 # simply because there is no reason against having it here, and in addition,
13519 # creating and moving files from /tmp can sometimes cause problems.
13520 # Hook for its removal unless debugging.
13521 # Note that there is a small window in which the directory will not be cleaned:
13522 # after its creation but before its name has been assigned to `$tmp'.
13526 trap 'exit_status=$?
13527 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13529 trap '{ (exit 1); exit 1; }' 1 2 13 15
13531 # Create a (secure) tmp directory for tmp files.
13534 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13535 test -n "$tmp" && test -d "$tmp"
13538 tmp
=.
/conf$$
-$RANDOM
13539 (umask 077 && mkdir
"$tmp")
13542 echo "$me: cannot create a temporary directory in ." >&2
13543 { (exit 1); exit 1; }
13547 # Set up the sed scripts for CONFIG_FILES section.
13550 # No need to generate the scripts if there are no CONFIG_FILES.
13551 # This happens for instance when ./config.status config.h
13552 if test -n "$CONFIG_FILES"; then
13556 # Create sed commands to just substitute file output variables.
13558 # Remaining file output variables are in a fragment that also has non-file
13564 for ac_last_try
in false false false false false
:; do
13565 cat >conf$
$subs.
sed <<_ACEOF
13566 SHELL!$SHELL$ac_delim
13567 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13568 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13569 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13570 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13571 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13572 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13573 exec_prefix!$exec_prefix$ac_delim
13574 prefix!$prefix$ac_delim
13575 program_transform_name!$program_transform_name$ac_delim
13576 bindir!$bindir$ac_delim
13577 sbindir!$sbindir$ac_delim
13578 libexecdir!$libexecdir$ac_delim
13579 datarootdir!$datarootdir$ac_delim
13580 datadir!$datadir$ac_delim
13581 sysconfdir!$sysconfdir$ac_delim
13582 sharedstatedir!$sharedstatedir$ac_delim
13583 localstatedir!$localstatedir$ac_delim
13584 includedir!$includedir$ac_delim
13585 oldincludedir!$oldincludedir$ac_delim
13586 docdir!$docdir$ac_delim
13587 infodir!$infodir$ac_delim
13588 htmldir!$htmldir$ac_delim
13589 dvidir!$dvidir$ac_delim
13590 pdfdir!$pdfdir$ac_delim
13591 psdir!$psdir$ac_delim
13592 libdir!$libdir$ac_delim
13593 localedir!$localedir$ac_delim
13594 mandir!$mandir$ac_delim
13595 DEFS!$DEFS$ac_delim
13596 ECHO_C!$ECHO_C$ac_delim
13597 ECHO_N!$ECHO_N$ac_delim
13598 ECHO_T!$ECHO_T$ac_delim
13599 LIBS!$LIBS$ac_delim
13600 build_alias!$build_alias$ac_delim
13601 host_alias!$host_alias$ac_delim
13602 target_alias!$target_alias$ac_delim
13603 build!$build$ac_delim
13604 build_cpu!$build_cpu$ac_delim
13605 build_vendor!$build_vendor$ac_delim
13606 build_os!$build_os$ac_delim
13607 build_noncanonical!$build_noncanonical$ac_delim
13608 host_noncanonical!$host_noncanonical$ac_delim
13609 target_noncanonical!$target_noncanonical$ac_delim
13610 host!$host$ac_delim
13611 host_cpu!$host_cpu$ac_delim
13612 host_vendor!$host_vendor$ac_delim
13613 host_os!$host_os$ac_delim
13614 target!$target$ac_delim
13615 target_cpu!$target_cpu$ac_delim
13616 target_vendor!$target_vendor$ac_delim
13617 target_os!$target_os$ac_delim
13618 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
13619 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
13620 INSTALL_DATA!$INSTALL_DATA$ac_delim
13622 LN_S!$LN_S$ac_delim
13623 TOPLEVEL_CONFIGURE_ARGUMENTS!$TOPLEVEL_CONFIGURE_ARGUMENTS$ac_delim
13624 build_libsubdir!$build_libsubdir$ac_delim
13625 build_subdir!$build_subdir$ac_delim
13626 host_subdir!$host_subdir$ac_delim
13627 target_subdir!$target_subdir$ac_delim
13629 CFLAGS!$CFLAGS$ac_delim
13630 LDFLAGS!$LDFLAGS$ac_delim
13631 CPPFLAGS!$CPPFLAGS$ac_delim
13632 ac_ct_CC!$ac_ct_CC$ac_delim
13633 EXEEXT!$EXEEXT$ac_delim
13634 OBJEXT!$OBJEXT$ac_delim
13636 CXXFLAGS!$CXXFLAGS$ac_delim
13637 ac_ct_CXX!$ac_ct_CXX$ac_delim
13638 GNATBIND!$GNATBIND$ac_delim
13639 GNATMAKE!$GNATMAKE$ac_delim
13640 do_compare!$do_compare$ac_delim
13641 gmplibs!$gmplibs$ac_delim
13642 gmpinc!$gmpinc$ac_delim
13643 stage1_languages!$stage1_languages$ac_delim
13644 SYSROOT_CFLAGS_FOR_TARGET!$SYSROOT_CFLAGS_FOR_TARGET$ac_delim
13645 DEBUG_PREFIX_CFLAGS_FOR_TARGET!$DEBUG_PREFIX_CFLAGS_FOR_TARGET$ac_delim
13646 CFLAGS_FOR_TARGET!$CFLAGS_FOR_TARGET$ac_delim
13647 CXXFLAGS_FOR_TARGET!$CXXFLAGS_FOR_TARGET$ac_delim
13650 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
13652 elif $ac_last_try; then
13653 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13654 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13655 { (exit 1); exit 1; }; }
13657 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13661 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13662 if test -n "$ac_eof"; then
13663 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13664 ac_eof
=`expr $ac_eof + 1`
13667 cat >>$CONFIG_STATUS <<_ACEOF
13668 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13669 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13670 /^[ ]*@serialization_dependencies@[ ]*$/{
13671 r $serialization_dependencies
13674 /^[ ]*@host_makefile_frag@[ ]*$/{
13675 r $host_makefile_frag
13678 /^[ ]*@target_makefile_frag@[ ]*$/{
13679 r $target_makefile_frag
13682 /^[ ]*@alphaieee_frag@[ ]*$/{
13686 /^[ ]*@ospace_frag@[ ]*$/{
13692 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13693 s/^/s,@/; s/!/@,|#_!!_#|/
13696 s/'"$ac_delim"'$/,g/; t
13698 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13699 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13700 rm -f conf$
$subs.
sed
13701 cat >>$CONFIG_STATUS <<_ACEOF
13707 for ac_last_try
in false false false false false
:; do
13708 cat >conf$
$subs.
sed <<_ACEOF
13709 RPATH_ENVVAR!$RPATH_ENVVAR$ac_delim
13710 tooldir!$tooldir$ac_delim
13711 build_tooldir!$build_tooldir$ac_delim
13712 CONFIGURE_GDB_TK!$CONFIGURE_GDB_TK$ac_delim
13713 GDB_TK!$GDB_TK$ac_delim
13714 INSTALL_GDB_TK!$INSTALL_GDB_TK$ac_delim
13715 build_configargs!$build_configargs$ac_delim
13716 build_configdirs!$build_configdirs$ac_delim
13717 host_configargs!$host_configargs$ac_delim
13718 configdirs!$configdirs$ac_delim
13719 target_configargs!$target_configargs$ac_delim
13720 AR_FOR_BUILD!$AR_FOR_BUILD$ac_delim
13721 AS_FOR_BUILD!$AS_FOR_BUILD$ac_delim
13722 CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
13723 CFLAGS_FOR_BUILD!$CFLAGS_FOR_BUILD$ac_delim
13724 CXXFLAGS_FOR_BUILD!$CXXFLAGS_FOR_BUILD$ac_delim
13725 CXX_FOR_BUILD!$CXX_FOR_BUILD$ac_delim
13726 DLLTOOL_FOR_BUILD!$DLLTOOL_FOR_BUILD$ac_delim
13727 GCJ_FOR_BUILD!$GCJ_FOR_BUILD$ac_delim
13728 GFORTRAN_FOR_BUILD!$GFORTRAN_FOR_BUILD$ac_delim
13729 LDFLAGS_FOR_BUILD!$LDFLAGS_FOR_BUILD$ac_delim
13730 LD_FOR_BUILD!$LD_FOR_BUILD$ac_delim
13731 NM_FOR_BUILD!$NM_FOR_BUILD$ac_delim
13732 RANLIB_FOR_BUILD!$RANLIB_FOR_BUILD$ac_delim
13733 WINDMC_FOR_BUILD!$WINDMC_FOR_BUILD$ac_delim
13734 WINDRES_FOR_BUILD!$WINDRES_FOR_BUILD$ac_delim
13735 config_shell!$config_shell$ac_delim
13736 YACC!$YACC$ac_delim
13737 BISON!$BISON$ac_delim
13740 FLEX!$FLEX$ac_delim
13741 MAKEINFO!$MAKEINFO$ac_delim
13742 EXPECT!$EXPECT$ac_delim
13743 RUNTEST!$RUNTEST$ac_delim
13746 DLLTOOL!$DLLTOOL$ac_delim
13748 LIPO!$LIPO$ac_delim
13750 RANLIB!$RANLIB$ac_delim
13751 STRIP!$STRIP$ac_delim
13752 WINDRES!$WINDRES$ac_delim
13753 WINDMC!$WINDMC$ac_delim
13754 OBJCOPY!$OBJCOPY$ac_delim
13755 OBJDUMP!$OBJDUMP$ac_delim
13756 CC_FOR_TARGET!$CC_FOR_TARGET$ac_delim
13757 CXX_FOR_TARGET!$CXX_FOR_TARGET$ac_delim
13758 GCC_FOR_TARGET!$GCC_FOR_TARGET$ac_delim
13759 GCJ_FOR_TARGET!$GCJ_FOR_TARGET$ac_delim
13760 GFORTRAN_FOR_TARGET!$GFORTRAN_FOR_TARGET$ac_delim
13761 AR_FOR_TARGET!$AR_FOR_TARGET$ac_delim
13762 AS_FOR_TARGET!$AS_FOR_TARGET$ac_delim
13763 DLLTOOL_FOR_TARGET!$DLLTOOL_FOR_TARGET$ac_delim
13764 LD_FOR_TARGET!$LD_FOR_TARGET$ac_delim
13765 LIPO_FOR_TARGET!$LIPO_FOR_TARGET$ac_delim
13766 NM_FOR_TARGET!$NM_FOR_TARGET$ac_delim
13767 OBJDUMP_FOR_TARGET!$OBJDUMP_FOR_TARGET$ac_delim
13768 RANLIB_FOR_TARGET!$RANLIB_FOR_TARGET$ac_delim
13769 STRIP_FOR_TARGET!$STRIP_FOR_TARGET$ac_delim
13770 WINDRES_FOR_TARGET!$WINDRES_FOR_TARGET$ac_delim
13771 WINDMC_FOR_TARGET!$WINDMC_FOR_TARGET$ac_delim
13772 RAW_CXX_FOR_TARGET!$RAW_CXX_FOR_TARGET$ac_delim
13773 FLAGS_FOR_TARGET!$FLAGS_FOR_TARGET$ac_delim
13774 COMPILER_AS_FOR_TARGET!$COMPILER_AS_FOR_TARGET$ac_delim
13775 COMPILER_LD_FOR_TARGET!$COMPILER_LD_FOR_TARGET$ac_delim
13776 COMPILER_NM_FOR_TARGET!$COMPILER_NM_FOR_TARGET$ac_delim
13777 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
13778 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
13779 MAINT!$MAINT$ac_delim
13780 stage1_cflags!$stage1_cflags$ac_delim
13781 stage1_checking!$stage1_checking$ac_delim
13782 stage2_werror_flag!$stage2_werror_flag$ac_delim
13783 LIBOBJS!$LIBOBJS$ac_delim
13784 LTLIBOBJS!$LTLIBOBJS$ac_delim
13787 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
13789 elif $ac_last_try; then
13790 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13791 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13792 { (exit 1); exit 1; }; }
13794 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13798 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13799 if test -n "$ac_eof"; then
13800 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13801 ac_eof
=`expr $ac_eof + 1`
13804 cat >>$CONFIG_STATUS <<_ACEOF
13805 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13806 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13809 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13810 s/^/s,@/; s/!/@,|#_!!_#|/
13813 s/'"$ac_delim"'$/,g/; t
13815 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13816 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13817 rm -f conf$
$subs.
sed
13818 cat >>$CONFIG_STATUS <<_ACEOF
13825 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13826 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13827 # trailing colons and then remove the whole line if VPATH becomes empty
13828 # (actually we leave an empty line to preserve line numbers).
13829 if test "x$srcdir" = x.
; then
13830 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13831 s/:*\$(srcdir):*/:/
13832 s/:*\${srcdir}:*/:/
13834 s/^\([^=]*=[ ]*\):*/\1/
13840 cat >>$CONFIG_STATUS <<\_ACEOF
13841 fi # test -n "$CONFIG_FILES"
13844 for ac_tag
in :F
$CONFIG_FILES
13847 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13849 case $ac_mode$ac_tag in
13851 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13852 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13853 { (exit 1); exit 1; }; };;
13854 :[FH
]-) ac_tag
=-:-;;
13855 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13872 -) ac_f
="$tmp/stdin";;
13873 *) # Look for the file first in the build tree, then in the source tree
13874 # (if the path is not absolute). The absolute path cannot be DOS-style,
13875 # because $ac_f cannot contain `:'.
13879 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13881 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13882 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13883 { (exit 1); exit 1; }; };;
13885 ac_file_inputs
="$ac_file_inputs $ac_f"
13888 # Let's still pretend it is `configure' which instantiates (i.e., don't
13889 # use $as_me), people would be surprised to read:
13890 # /* config.h. Generated by config.status. */
13891 configure_input
="Generated from "`IFS=:
13892 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13893 if test x
"$ac_file" != x-
; then
13894 configure_input
="$ac_file. $configure_input"
13895 { echo "$as_me:$LINENO: creating $ac_file" >&5
13896 echo "$as_me: creating $ac_file" >&6;}
13900 *:-:* |
*:-) cat >"$tmp/stdin";;
13905 ac_dir
=`$as_dirname -- "$ac_file" ||
13906 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13907 X"$ac_file" : 'X\(//\)[^/]' \| \
13908 X"$ac_file" : 'X\(//\)$' \| \
13909 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13915 /^X\(\/\/\)[^/].*/{
13930 -*) as_dir
=.
/$as_dir;;
13932 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13936 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13937 *) as_qdir
=$as_dir;;
13939 as_dirs
="'$as_qdir' $as_dirs"
13940 as_dir
=`$as_dirname -- "$as_dir" ||
13941 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13942 X"$as_dir" : 'X\(//\)[^/]' \| \
13943 X"$as_dir" : 'X\(//\)$' \| \
13944 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13950 /^X\(\/\/\)[^/].*/{
13963 test -d "$as_dir" && break
13965 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13966 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13967 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13968 { (exit 1); exit 1; }; }; }
13972 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13974 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13975 # A ".." for each directory in $ac_dir_suffix.
13976 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13977 case $ac_top_builddir_sub in
13978 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13979 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13982 ac_abs_top_builddir
=$ac_pwd
13983 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13984 # for backward compatibility:
13985 ac_top_builddir
=$ac_top_build_prefix
13988 .
) # We are building in place.
13990 ac_top_srcdir
=$ac_top_builddir_sub
13991 ac_abs_top_srcdir
=$ac_pwd ;;
13992 [\\/]* | ?
:[\\/]* ) # Absolute name.
13993 ac_srcdir
=$srcdir$ac_dir_suffix;
13994 ac_top_srcdir
=$srcdir
13995 ac_abs_top_srcdir
=$srcdir ;;
13996 *) # Relative name.
13997 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13998 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13999 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14001 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14011 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14012 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14016 cat >>$CONFIG_STATUS <<\_ACEOF
14017 # If the template does not know about datarootdir, expand it.
14018 # FIXME: This hack should be removed a few years after 2.60.
14019 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14021 case `sed -n '/datarootdir/ {
14030 ' $ac_file_inputs` in
14031 *datarootdir
*) ac_datarootdir_seen
=yes;;
14032 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14033 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14034 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14036 cat >>$CONFIG_STATUS <<_ACEOF
14037 ac_datarootdir_hack='
14038 s&@datadir@&$datadir&g
14039 s&@docdir@&$docdir&g
14040 s&@infodir@&$infodir&g
14041 s&@localedir@&$localedir&g
14042 s&@mandir@&$mandir&g
14043 s&\\\${datarootdir}&$datarootdir&g' ;;
14047 # Neutralize VPATH when `$srcdir' = `.'.
14048 # Shell code in configure.ac might set extrasub.
14049 # FIXME: do we really want to maintain this feature?
14050 cat >>$CONFIG_STATUS <<_ACEOF
14054 cat >>$CONFIG_STATUS <<\_ACEOF
14056 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14057 s
&@configure_input@
&$configure_input&;t t
14058 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14059 s
&@srcdir@
&$ac_srcdir&;t t
14060 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14061 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14062 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14063 s
&@builddir@
&$ac_builddir&;t t
14064 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14065 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14066 s
&@INSTALL@
&$ac_INSTALL&;t t
14067 $ac_datarootdir_hack
14068 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
14070 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14071 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14072 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14073 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14074 which seems to be undefined. Please make sure it is defined." >&5
14075 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14076 which seems to be undefined. Please make sure it is defined." >&2;}
14080 -) cat "$tmp/out"; rm -f "$tmp/out";;
14081 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14092 { (exit 0); exit 0; }
14094 chmod +x $CONFIG_STATUS
14095 ac_clean_files=$ac_clean_files_save
14098 # configure is writing to config.log, and then calls config.status.
14099 # config.status does its own redirection, appending to config.log.
14100 # Unfortunately, on DOS this fails, as config.log is still kept open
14101 # by configure, so config.status won't be able to
write to it
; its
14102 # output is simply discarded. So we exec the FD to /dev/null,
14103 # effectively closing config.log, so it can be properly (re)opened and
14104 # appended to by config.status. When coming back to configure, we
14105 # need to make the FD available again.
14106 if test "$no_create" != yes; then
14108 ac_config_status_args
=
14109 test "$silent" = yes &&
14110 ac_config_status_args
="$ac_config_status_args --quiet"
14112 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14114 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14115 # would make configure fail if this is the last instruction.
14116 $ac_cs_success ||
{ (exit 1); exit 1; }