2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
563 MAINTAINER_MODE_FALSE
565 COMPILER_NM_FOR_TARGET
566 COMPILER_LD_FOR_TARGET
567 COMPILER_AS_FOR_TARGET
640 DEBUG_PREFIX_CFLAGS_FOR_TARGET
641 SYSROOT_CFLAGS_FOR_TARGET
643 extra_host_libiberty_configure_flags
652 extra_mpc_mpfr_configure_flags
653 extra_mpc_gmp_configure_flags
654 extra_mpfr_configure_flags
696 TOPLEVEL_CONFIGURE_ARGUMENTS
724 program_transform_name
735 ac_subst_files
='serialization_dependencies
741 enable_option_checking
746 enable_build_with_cxx
766 enable_ppl_version_check
771 enable_cloog_version_check
773 enable_stage1_languages
776 with_debug_prefix_map
779 enable_serial_configure
780 with_build_time_tools
781 enable_maintainer_mode
782 enable_stage1_checking
785 ac_precious_vars
='build_alias
830 # Initialize some variables set by options.
832 ac_init_version
=false
833 ac_unrecognized_opts
=
835 # The variables have the same names as the options, with
836 # dashes changed to underlines.
844 program_transform_name
=s
,x
,x
,
852 # Installation directory options.
853 # These are left unexpanded so users can "make install exec_prefix=/foo"
854 # and all the variables that are supposed to be based on exec_prefix
855 # by default will actually change.
856 # Use braces instead of parens because sh, perl, etc. also accept them.
857 # (The list follows the same order as the GNU Coding Standards.)
858 bindir
='${exec_prefix}/bin'
859 sbindir
='${exec_prefix}/sbin'
860 libexecdir
='${exec_prefix}/libexec'
861 datarootdir
='${prefix}/share'
862 datadir
='${datarootdir}'
863 sysconfdir
='${prefix}/etc'
864 sharedstatedir
='${prefix}/com'
865 localstatedir
='${prefix}/var'
866 includedir
='${prefix}/include'
867 oldincludedir
='/usr/include'
868 docdir
='${datarootdir}/doc/${PACKAGE}'
869 infodir
='${datarootdir}/info'
874 libdir
='${exec_prefix}/lib'
875 localedir
='${datarootdir}/locale'
876 mandir
='${datarootdir}/man'
882 # If the previous option needs an argument, assign it.
883 if test -n "$ac_prev"; then
884 eval $ac_prev=\
$ac_option
890 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 # Accept the important Cygnus configure options, so we can diagnose typos.
896 case $ac_dashdash$ac_option in
900 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
902 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
905 -build |
--build |
--buil |
--bui |
--bu)
906 ac_prev
=build_alias
;;
907 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
908 build_alias
=$ac_optarg ;;
910 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
911 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
912 ac_prev
=cache_file
;;
913 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
914 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
915 cache_file
=$ac_optarg ;;
918 cache_file
=config.cache
;;
920 -datadir |
--datadir |
--datadi |
--datad)
922 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
923 datadir
=$ac_optarg ;;
925 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
926 |
--dataroo |
--dataro |
--datar)
927 ac_prev
=datarootdir
;;
928 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
929 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
930 datarootdir
=$ac_optarg ;;
932 -disable-* |
--disable-*)
933 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
936 as_fn_error
"invalid feature name: $ac_useropt"
937 ac_useropt_orig
=$ac_useropt
938 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
939 case $ac_user_opts in
943 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
944 ac_unrecognized_sep
=', ';;
946 eval enable_
$ac_useropt=no
;;
948 -docdir |
--docdir |
--docdi |
--doc |
--do)
950 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
953 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
955 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
958 -enable-* |
--enable-*)
959 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
960 # Reject names that are not valid shell variable names.
961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
962 as_fn_error
"invalid feature name: $ac_useropt"
963 ac_useropt_orig
=$ac_useropt
964 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965 case $ac_user_opts in
969 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
970 ac_unrecognized_sep
=', ';;
972 eval enable_
$ac_useropt=\
$ac_optarg ;;
974 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
975 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
976 |
--exec |
--exe |
--ex)
977 ac_prev
=exec_prefix
;;
978 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
979 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
980 |
--exec=* |
--exe=* |
--ex=*)
981 exec_prefix
=$ac_optarg ;;
983 -gas |
--gas |
--ga |
--g)
984 # Obsolete; use --with-gas.
987 -help |
--help |
--hel |
--he |
-h)
989 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
990 ac_init_help
=recursive
;;
991 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
992 ac_init_help
=short
;;
994 -host |
--host |
--hos |
--ho)
995 ac_prev
=host_alias
;;
996 -host=* |
--host=* |
--hos=* |
--ho=*)
997 host_alias
=$ac_optarg ;;
999 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1001 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1003 htmldir
=$ac_optarg ;;
1005 -includedir |
--includedir |
--includedi |
--included |
--include \
1006 |
--includ |
--inclu |
--incl |
--inc)
1007 ac_prev
=includedir
;;
1008 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1009 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1010 includedir
=$ac_optarg ;;
1012 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1014 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1015 infodir
=$ac_optarg ;;
1017 -libdir |
--libdir |
--libdi |
--libd)
1019 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1020 libdir
=$ac_optarg ;;
1022 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1023 |
--libexe |
--libex |
--libe)
1024 ac_prev
=libexecdir
;;
1025 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1026 |
--libexe=* |
--libex=* |
--libe=*)
1027 libexecdir
=$ac_optarg ;;
1029 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1030 ac_prev
=localedir
;;
1031 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1032 localedir
=$ac_optarg ;;
1034 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1035 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1036 ac_prev
=localstatedir
;;
1037 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1038 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1039 localstatedir
=$ac_optarg ;;
1041 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1043 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1044 mandir
=$ac_optarg ;;
1046 -nfp |
--nfp |
--nf)
1047 # Obsolete; use --without-fp.
1050 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1051 |
--no-cr |
--no-c |
-n)
1054 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1055 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1058 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1059 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1060 |
--oldin |
--oldi |
--old |
--ol |
--o)
1061 ac_prev
=oldincludedir
;;
1062 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1063 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1064 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1065 oldincludedir
=$ac_optarg ;;
1067 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1069 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1070 prefix
=$ac_optarg ;;
1072 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1073 |
--program-pre |
--program-pr |
--program-p)
1074 ac_prev
=program_prefix
;;
1075 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1076 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1077 program_prefix
=$ac_optarg ;;
1079 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1080 |
--program-suf |
--program-su |
--program-s)
1081 ac_prev
=program_suffix
;;
1082 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1083 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1084 program_suffix
=$ac_optarg ;;
1086 -program-transform-name |
--program-transform-name \
1087 |
--program-transform-nam |
--program-transform-na \
1088 |
--program-transform-n |
--program-transform- \
1089 |
--program-transform |
--program-transfor \
1090 |
--program-transfo |
--program-transf \
1091 |
--program-trans |
--program-tran \
1092 |
--progr-tra |
--program-tr |
--program-t)
1093 ac_prev
=program_transform_name
;;
1094 -program-transform-name=* |
--program-transform-name=* \
1095 |
--program-transform-nam=* |
--program-transform-na=* \
1096 |
--program-transform-n=* |
--program-transform-=* \
1097 |
--program-transform=* |
--program-transfor=* \
1098 |
--program-transfo=* |
--program-transf=* \
1099 |
--program-trans=* |
--program-tran=* \
1100 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1101 program_transform_name
=$ac_optarg ;;
1103 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1105 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1106 pdfdir
=$ac_optarg ;;
1108 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1110 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1113 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1114 |
-silent |
--silent |
--silen |
--sile |
--sil)
1117 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1119 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1121 sbindir
=$ac_optarg ;;
1123 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1124 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1125 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1127 ac_prev
=sharedstatedir
;;
1128 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1129 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1130 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1132 sharedstatedir
=$ac_optarg ;;
1134 -site |
--site |
--sit)
1136 -site=* |
--site=* |
--sit=*)
1139 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1141 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1142 srcdir
=$ac_optarg ;;
1144 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1145 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1146 ac_prev
=sysconfdir
;;
1147 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1148 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1149 sysconfdir
=$ac_optarg ;;
1151 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1152 ac_prev
=target_alias
;;
1153 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1154 target_alias
=$ac_optarg ;;
1156 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1159 -version |
--version |
--versio |
--versi |
--vers |
-V)
1160 ac_init_version
=: ;;
1163 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1166 as_fn_error
"invalid package name: $ac_useropt"
1167 ac_useropt_orig
=$ac_useropt
1168 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1169 case $ac_user_opts in
1173 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1174 ac_unrecognized_sep
=', ';;
1176 eval with_
$ac_useropt=\
$ac_optarg ;;
1178 -without-* |
--without-*)
1179 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1182 as_fn_error
"invalid package name: $ac_useropt"
1183 ac_useropt_orig
=$ac_useropt
1184 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1185 case $ac_user_opts in
1189 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1190 ac_unrecognized_sep
=', ';;
1192 eval with_
$ac_useropt=no
;;
1195 # Obsolete; use --with-x.
1198 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1199 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1200 ac_prev
=x_includes
;;
1201 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1202 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1203 x_includes
=$ac_optarg ;;
1205 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1206 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1207 ac_prev
=x_libraries
;;
1208 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1209 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1210 x_libraries
=$ac_optarg ;;
1212 -*) as_fn_error
"unrecognized option: \`$ac_option'
1213 Try \`$0 --help' for more information."
1217 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1218 # Reject names that are not valid shell variable names.
1219 case $ac_envvar in #(
1220 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1221 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1223 eval $ac_envvar=\
$ac_optarg
1224 export $ac_envvar ;;
1227 # FIXME: should be removed in autoconf 3.0.
1228 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1229 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1230 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1231 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1237 if test -n "$ac_prev"; then
1238 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1239 as_fn_error
"missing argument to $ac_option"
1242 if test -n "$ac_unrecognized_opts"; then
1243 case $enable_option_checking in
1245 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1246 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1250 # Check all directory arguments for consistency.
1251 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1252 datadir sysconfdir sharedstatedir localstatedir includedir \
1253 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1254 libdir localedir mandir
1256 eval ac_val
=\$
$ac_var
1257 # Remove trailing slashes.
1260 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1261 eval $ac_var=\
$ac_val;;
1263 # Be sure to have absolute directory names.
1265 [\\/$
]* | ?
:[\\/]* ) continue;;
1266 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1268 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1271 # There might be people who depend on the old broken behavior: `$host'
1272 # used to hold the argument of --host etc.
1273 # FIXME: To remove some day.
1276 target
=$target_alias
1278 # FIXME: To remove some day.
1279 if test "x$host_alias" != x
; then
1280 if test "x$build_alias" = x
; then
1281 cross_compiling
=maybe
1282 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1283 If a cross compiler is detected then cross compile mode will be used." >&2
1284 elif test "x$build_alias" != "x$host_alias"; then
1290 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1292 test "$silent" = yes && exec 6>/dev
/null
1295 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1296 ac_ls_di
=`ls -di .` &&
1297 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1298 as_fn_error
"working directory cannot be determined"
1299 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1300 as_fn_error
"pwd does not report name of working directory"
1303 # Find the source files, if location was not specified.
1304 if test -z "$srcdir"; then
1305 ac_srcdir_defaulted
=yes
1306 # Try the directory containing this script, then the parent directory.
1307 ac_confdir
=`$as_dirname -- "$as_myself" ||
1308 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1309 X"$as_myself" : 'X\(//\)[^/]' \| \
1310 X"$as_myself" : 'X\(//\)$' \| \
1311 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1312 $as_echo X"$as_myself" |
1313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1331 if test ! -r "$srcdir/$ac_unique_file"; then
1335 ac_srcdir_defaulted
=no
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1338 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1339 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1341 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1343 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1345 # When building in place, set srcdir=.
1346 if test "$ac_abs_confdir" = "$ac_pwd"; then
1349 # Remove unnecessary trailing slashes from srcdir.
1350 # Double slashes in file names in object file debugging info
1351 # mess up M-x gdb in Emacs.
1353 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1357 as_fn_error
"path to source, $srcdir, contains spaces"
1360 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1362 for ac_var
in $ac_precious_vars; do
1363 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1364 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1365 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1366 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1370 # Report the --help message.
1372 if test "$ac_init_help" = "long"; then
1373 # Omit some internal or obsolete options to make the list less imposing.
1374 # This message is too long to be a string in the A/UX 3.1 sh.
1376 \`configure' configures this package to adapt to many kinds of systems.
1378 Usage: $0 [OPTION]... [VAR=VALUE]...
1380 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1381 VAR=VALUE. See below for descriptions of some of the useful variables.
1383 Defaults for the options are specified in brackets.
1386 -h, --help display this help and exit
1387 --help=short display options specific to this package
1388 --help=recursive display the short help of all the included packages
1389 -V, --version display version information and exit
1390 -q, --quiet, --silent do not print \`checking...' messages
1391 --cache-file=FILE cache test results in FILE [disabled]
1392 -C, --config-cache alias for \`--cache-file=config.cache'
1393 -n, --no-create do not create output files
1394 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1396 Installation directories:
1397 --prefix=PREFIX install architecture-independent files in PREFIX
1398 [$ac_default_prefix]
1399 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1402 By default, \`make install' will install all the files in
1403 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1404 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1405 for instance \`--prefix=\$HOME'.
1407 For better control, use the options below.
1409 Fine tuning of the installation directories:
1410 --bindir=DIR user executables [EPREFIX/bin]
1411 --sbindir=DIR system admin executables [EPREFIX/sbin]
1412 --libexecdir=DIR program executables [EPREFIX/libexec]
1413 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1414 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1415 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1416 --libdir=DIR object code libraries [EPREFIX/lib]
1417 --includedir=DIR C header files [PREFIX/include]
1418 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1419 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1420 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1421 --infodir=DIR info documentation [DATAROOTDIR/info]
1422 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1423 --mandir=DIR man documentation [DATAROOTDIR/man]
1424 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1425 --htmldir=DIR html documentation [DOCDIR]
1426 --dvidir=DIR dvi documentation [DOCDIR]
1427 --pdfdir=DIR pdf documentation [DOCDIR]
1428 --psdir=DIR ps documentation [DOCDIR]
1434 --program-prefix=PREFIX prepend PREFIX to installed program names
1435 --program-suffix=SUFFIX append SUFFIX to installed program names
1436 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1439 --build=BUILD configure
for building on BUILD
[guessed
]
1440 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1441 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1445 if test -n "$ac_init_help"; then
1450 --disable-option-checking ignore unrecognized
--enable/--with options
1451 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1452 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1453 --enable-gold[=ARG
] build gold
[ARG
={both
}[/{gold
,ld
}]]
1454 --enable-libada build libada directory
1455 --enable-libssp build libssp directory
1456 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1457 --disable-ppl-version-check disable check
for PPL version
1458 --enable-cloog-backend[=BACKEND
]
1459 set the CLooG BACKEND used to either isl
, ppl or
1460 ppl-legacy
(default
)
1461 --disable-cloog-version-check
1462 disable check
for CLooG version
1463 --enable-lto enable link
time optimization support
1464 --enable-stage1-languages[=all
] choose additional languages to build during
1465 stage1. Mostly useful
for compiler development.
1466 --enable-objc-gc enable use of Boehm
's garbage collector with the
1467 GNU Objective-C runtime
1468 --enable-bootstrap enable bootstrapping [yes if native build]
1469 --enable-serial-[{host,target,build}-]configure
1470 force sequential configuration of
1471 sub-packages for the host, target or build
1472 machine, or all sub-packages
1473 --enable-maintainer-mode enable make rules and dependencies not useful
1474 (and sometimes confusing) to the casual installer
1475 --enable-stage1-checking[=all] choose additional checking for stage1
1477 --enable-werror enable -Werror in bootstrap stage2 and later
1480 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1481 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1482 --with-build-libsubdir=DIR Directory where to find libraries for build system
1483 --with-mpc=PATH specify prefix directory for installed MPC package.
1484 Equivalent to --with-mpc-include=PATH/include
1485 plus --with-mpc-lib=PATH/lib
1486 --with-mpc-include=PATH
1487 specify directory for installed MPC include files
1488 --with-mpc-lib=PATH specify directory for the installed MPC library
1489 --with-mpfr-dir=PATH this option has been REMOVED
1490 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1491 Equivalent to --with-mpfr-include=PATH/include
1492 plus --with-mpfr-lib=PATH/lib
1493 --with-mpfr-include=PATH
1494 specify directory for installed MPFR include files
1495 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1496 --with-gmp-dir=PATH this option has been REMOVED
1497 --with-gmp=PATH specify prefix directory for the installed GMP package.
1498 Equivalent to --with-gmp-include=PATH/include
1499 plus --with-gmp-lib=PATH/lib
1500 --with-gmp-include=PATH specify directory for installed GMP include files
1501 --with-gmp-lib=PATH specify directory for the installed GMP library
1502 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
1503 when linking with PPL
1504 --with-stage1-ldflags=FLAGS Linker flags for stage1
1505 -with-stage1-libs=LIBS Libraries for stage1
1506 --with-boot-libs=LIBS Libraries for stage2 and later
1507 --with-boot-ldflags=FLAGS Linker flags for stage2 and later
1508 --with-ppl=PATH Specify prefix directory for the installed PPL package
1509 Equivalent to --with-ppl-include=PATH/include
1510 plus --with-ppl-lib=PATH/lib
1511 --with-ppl-include=PATH Specify directory for installed PPL include files
1512 --with-ppl-lib=PATH Specify the directory for the installed PPL library
1513 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1514 package. Equivalent to
1515 --with-cloog-include=PATH/include plus
1516 --with-cloog-lib=PATH/lib
1517 --with-cloog-include=PATH
1518 Specify directory for installed CLooG include files
1519 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1521 --with-build-sysroot=SYSROOT
1522 use sysroot as the system root during the build
1523 --with-debug-prefix-map='A
=B C
=D ...
'
1524 map A to B, C to D ... in debug information
1525 --with-build-config='NAME NAME2...
'
1526 Use config/NAME.mk build configuration
1527 --with-build-time-tools=PATH
1528 use given path to find target tools during the build
1530 Some influential environment variables:
1531 CC C compiler command
1532 CFLAGS C compiler flags
1533 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1534 nonstandard directory <lib dir>
1535 LIBS libraries to pass to the linker, e.g. -l<library>
1536 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1537 you have headers in a nonstandard directory <include dir>
1538 CXX C++ compiler command
1539 CXXFLAGS C++ compiler flags
1541 additional configure arguments for build directories
1543 additional configure arguments for host directories
1545 additional configure arguments for target directories
1548 DLLTOOL DLLTOOL for the host
1550 LIPO LIPO for the host
1552 RANLIB RANLIB for the host
1553 STRIP STRIP for the host
1554 WINDRES WINDRES for the host
1555 WINDMC WINDMC for the host
1556 OBJCOPY OBJCOPY for the host
1557 OBJDUMP OBJDUMP for the host
1567 GFORTRAN for the target
1575 DLLTOOL for the target
1583 OBJDUMP for the target
1585 RANLIB for the target
1587 STRIP for the target
1589 WINDRES for the target
1591 WINDMC for the target
1593 Use these variables to override the choices made by `configure' or to
help
1594 it to
find libraries and programs with nonstandard names
/locations.
1596 Report bugs to the package provider.
1601 if test "$ac_init_help" = "recursive"; then
1602 # If there are subdirs, report their specific --help.
1603 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1604 test -d "$ac_dir" ||
1605 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1610 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1612 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1613 # A ".." for each directory in $ac_dir_suffix.
1614 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1615 case $ac_top_builddir_sub in
1616 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1617 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1620 ac_abs_top_builddir
=$ac_pwd
1621 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1622 # for backward compatibility:
1623 ac_top_builddir
=$ac_top_build_prefix
1626 .
) # We are building in place.
1628 ac_top_srcdir
=$ac_top_builddir_sub
1629 ac_abs_top_srcdir
=$ac_pwd ;;
1630 [\\/]* | ?
:[\\/]* ) # Absolute name.
1631 ac_srcdir
=$srcdir$ac_dir_suffix;
1632 ac_top_srcdir
=$srcdir
1633 ac_abs_top_srcdir
=$srcdir ;;
1635 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1636 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1637 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1639 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1641 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1642 # Check for guested configure.
1643 if test -f "$ac_srcdir/configure.gnu"; then
1645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1646 elif test -f "$ac_srcdir/configure"; then
1648 $SHELL "$ac_srcdir/configure" --help=recursive
1650 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1656 test -n "$ac_init_help" && exit $ac_status
1657 if $ac_init_version; then
1660 generated by GNU Autoconf
2.64
1662 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1663 This configure
script is free software
; the Free Software Foundation
1664 gives unlimited permission to copy
, distribute and modify it.
1669 ## ------------------------ ##
1670 ## Autoconf initialization. ##
1671 ## ------------------------ ##
1673 # ac_fn_c_try_compile LINENO
1674 # --------------------------
1675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1676 ac_fn_c_try_compile
()
1678 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1679 rm -f conftest.
$ac_objext
1680 if { { ac_try
="$ac_compile"
1682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_compile") 2>conftest.err
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && {
1696 test -z "$ac_c_werror_flag" ||
1697 test ! -s conftest.err
1698 } && test -s conftest.$ac_objext; then :
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1709 } # ac_fn_c_try_compile
1711 # ac_fn_cxx_try_compile LINENO
1712 # ----------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_cxx_try_compile ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1721 *) ac_try_echo
=$ac_try;;
1723 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1727 if test -s conftest.err
; then
1728 grep -v '^ *+' conftest.err
>conftest.er1
1729 cat conftest.er1
>&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_cxx_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.
$ac_objext; then :
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.
$ac_ext >&5
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1747 } # ac_fn_cxx_try_compile
1749 # ac_fn_c_try_link LINENO
1750 # -----------------------
1751 # Try to link conftest.$ac_ext, and return whether this succeeded.
1754 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1755 rm -f conftest.
$ac_objext conftest
$ac_exeext
1756 if { { ac_try
="$ac_link"
1758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_link") 2>conftest.err
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && {
1772 test -z "$ac_c_werror_flag" ||
1773 test ! -s conftest.err
1774 } && test -s conftest$ac_exeext && {
1775 test "$cross_compiling" = yes ||
1776 $as_test_x conftest$ac_exeext
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1785 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1786 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1787 # interfere with the next link command; also delete a directory that is
1788 # left behind by Apple's compiler. We do this before executing the actions.
1789 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1790 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1793 } # ac_fn_c_try_link
1794 cat >config.log <<_ACEOF
1795 This file contains any messages produced by compilers while
1796 running configure, to aid debugging if configure makes a mistake.
1798 It was created by $as_me, which was
1799 generated by GNU Autoconf 2.64. Invocation command line was
1811 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1812 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1813 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1814 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1815 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1817 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1818 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1820 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1821 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1822 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1823 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1824 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1825 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1826 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834 test -z "$as_dir" && as_dir=.
1835 $as_echo "PATH: $as_dir"
1851 # Keep a trace of the command line.
1852 # Strip out --no-create and --no-recursion so they do not pile up.
1853 # Strip out --silent because we don't want to record it for future runs.
1854 # Also quote any args containing shell meta-characters.
1855 # Make two passes to allow for proper duplicate-argument suppression.
1859 ac_must_keep_next=false
1865 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1866 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1867 | -silent | --silent | --silen | --sile | --sil)
1870 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1873 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1875 as_fn_append ac_configure_args1 " '$ac_arg'"
1876 if test $ac_must_keep_next = true; then
1877 ac_must_keep_next=false # Got value, back to normal.
1880 *=* | --config-cache | -C | -disable-* | --disable-* \
1881 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1882 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1883 | -with-* | --with-* | -without-* | --without-* | --x)
1884 case "$ac_configure_args0 " in
1885 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1888 -* ) ac_must_keep_next=true ;;
1891 as_fn_append ac_configure_args " '$ac_arg'"
1896 { ac_configure_args0=; unset ac_configure_args0;}
1897 { ac_configure_args1=; unset ac_configure_args1;}
1899 # When interrupted or exit'd, cleanup temporary files, and complete
1900 # config.log. We remove comments because anyway the quotes in there
1901 # would cause problems or look ugly.
1902 # WARNING: Use '\'' to represent an apostrophe within the trap.
1903 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1904 trap 'exit_status=$?
1905 # Save into config.log some information that might help in debugging.
1910 ## ---------------- ##
1911 ## Cache variables. ##
1912 ## ---------------- ##
1915 # The following way of writing the cache mishandles newlines in values,
1917 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1918 eval ac_val=\$$ac_var
1922 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1923 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1926 _ | IFS | as_nl) ;; #(
1927 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1928 *) { eval $ac_var=; unset $ac_var;} ;;
1933 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1934 *${as_nl}ac_space=\ *)
1936 "s/'\''/'\''\\\\'\'''\''/g;
1937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1940 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1948 ## ----------------- ##
1949 ## Output variables. ##
1950 ## ----------------- ##
1953 for ac_var in $ac_subst_vars
1955 eval ac_val=\$$ac_var
1957 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1959 $as_echo "$ac_var='\''$ac_val'\''"
1963 if test -n "$ac_subst_files"; then
1965 ## ------------------- ##
1966 ## File substitutions. ##
1967 ## ------------------- ##
1970 for ac_var in $ac_subst_files
1972 eval ac_val=\$$ac_var
1974 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1976 $as_echo "$ac_var='\''$ac_val'\''"
1981 if test -s confdefs.h; then
1991 test "$ac_signal" != 0 &&
1992 $as_echo "$as_me: caught signal $ac_signal"
1993 $as_echo "$as_me: exit $exit_status"
1995 rm -f core *.core core.conftest.* &&
1996 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1999 for ac_signal in 1 2 13 15; do
2000 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2004 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2005 rm -f -r conftest* confdefs.h
2007 $as_echo "/* confdefs.h */" > confdefs.h
2009 # Predefined preprocessor variables.
2011 cat >>confdefs.h <<_ACEOF
2012 #define PACKAGE_NAME "$PACKAGE_NAME"
2015 cat >>confdefs.h <<_ACEOF
2016 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2019 cat >>confdefs.h <<_ACEOF
2020 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2023 cat >>confdefs.h <<_ACEOF
2024 #define PACKAGE_STRING "$PACKAGE_STRING"
2027 cat >>confdefs.h <<_ACEOF
2028 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2031 cat >>confdefs.h <<_ACEOF
2032 #define PACKAGE_URL "$PACKAGE_URL"
2036 # Let the site file select an alternate cache file if it wants to.
2037 # Prefer an explicitly selected file to automatically selected ones.
2040 if test -n "$CONFIG_SITE"; then
2041 ac_site_file1=$CONFIG_SITE
2042 elif test "x$prefix" != xNONE; then
2043 ac_site_file1=$prefix/share/config.site
2044 ac_site_file2=$prefix/etc/config.site
2046 ac_site_file1=$ac_default_prefix/share/config.site
2047 ac_site_file2=$ac_default_prefix/etc/config.site
2049 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2051 test "x$ac_site_file" = xNONE && continue
2052 if test -r "$ac_site_file"; then
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2054 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2055 sed 's/^/| /' "$ac_site_file" >&5
2060 if test -r "$cache_file"; then
2061 # Some versions of bash will fail to source /dev/null (special
2062 # files actually), so we avoid doing that.
2063 if test -f "$cache_file"; then
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2065 $as_echo "$as_me: loading cache $cache_file" >&6;}
2067 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2068 *) . "./$cache_file";;
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2073 $as_echo "$as_me: creating cache $cache_file" >&6;}
2077 # Check that the precious variables saved in the cache have kept the same
2079 ac_cache_corrupted=false
2080 for ac_var in $ac_precious_vars; do
2081 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2082 eval ac_new_set=\$ac_env_${ac_var}_set
2083 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2084 eval ac_new_val=\$ac_env_${ac_var}_value
2085 case $ac_old_set,$ac_new_set in
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2088 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2089 ac_cache_corrupted=: ;;
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2092 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2093 ac_cache_corrupted=: ;;
2096 if test "x$ac_old_val" != "x$ac_new_val"; then
2097 # differences in whitespace do not lead to failure.
2098 ac_old_val_w=`echo x
$ac_old_val`
2099 ac_new_val_w=`echo x
$ac_new_val`
2100 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2102 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2103 ac_cache_corrupted=:
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2106 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2107 eval $ac_var=\$ac_old_val
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2110 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2112 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2115 # Pass precious variables to config.status.
2116 if test "$ac_new_set" = set; then
2118 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2119 *) ac_arg=$ac_var=$ac_new_val ;;
2121 case " $ac_configure_args " in
2122 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2123 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2127 if $ac_cache_corrupted; then
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2131 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2132 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2134 ## -------------------- ##
2135 ## Main body of script. ##
2136 ## -------------------- ##
2139 ac_cpp='$CPP $CPPFLAGS'
2140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2153 # if PWD already has a value, it is probably wrong.
2154 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2156 # Export original configure arguments for use by sub-configures.
2157 # Quote arguments with shell meta charatcers.
2158 TOPLEVEL_CONFIGURE_ARGUMENTS=
2159 set -- "$progname" "$@"
2163 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2164 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2165 # if the argument is of the form -foo=baz, quote the baz part only
2166 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2169 # Add the quoted argument to the list.
2170 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2172 if test "$silent" = yes; then
2173 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2175 # Remove the initial space we just introduced and, as these will be
2176 # expanded by make, quote '$'.
2177 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2180 # Find the build, host, and target systems.
2182 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2183 for ac_t in install-sh install.sh shtool; do
2184 if test -f "$ac_dir/$ac_t"; then
2186 ac_install_sh="$ac_aux_dir/$ac_t -c"
2191 if test -z "$ac_aux_dir"; then
2192 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2195 # These three variables are undocumented and unsupported,
2196 # and are intended to be withdrawn in a future Autoconf release.
2197 # They can cause serious problems if a builder's source tree is in a directory
2198 # whose full name contains unusual characters.
2199 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2200 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2201 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2204 # Make sure we can run config.sub.
2205 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2206 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2209 $as_echo_n "checking build system type... " >&6; }
2210 if test "${ac_cv_build+set}" = set; then :
2211 $as_echo_n "(cached) " >&6
2213 ac_build_alias=$build_alias
2214 test "x$ac_build_alias" = x &&
2215 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2216 test "x$ac_build_alias" = x &&
2217 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2218 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2219 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2223 $as_echo "$ac_cv_build" >&6; }
2224 case $ac_cv_build in
2226 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2229 ac_save_IFS=$IFS; IFS='-'
2235 # Remember, the first character of IFS is used to create $*,
2236 # except with old shells:
2239 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2242 case ${build_alias} in
2243 "") build_noncanonical=${build} ;;
2244 *) build_noncanonical=${build_alias} ;;
2249 case ${host_alias} in
2250 "") host_noncanonical=${build_noncanonical} ;;
2251 *) host_noncanonical=${host_alias} ;;
2256 case ${target_alias} in
2257 "") target_noncanonical=${host_noncanonical} ;;
2258 *) target_noncanonical=${target_alias} ;;
2264 test "$host_noncanonical" = "$target_noncanonical" &&
2265 test "$program_prefix$program_suffix$program_transform_name" = \
2267 program_transform_name=s,y,y,
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2270 $as_echo_n "checking host system type... " >&6; }
2271 if test "${ac_cv_host+set}" = set; then :
2272 $as_echo_n "(cached) " >&6
2274 if test "x$host_alias" = x; then
2275 ac_cv_host=$ac_cv_build
2277 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2278 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2283 $as_echo "$ac_cv_host" >&6; }
2286 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2289 ac_save_IFS=$IFS; IFS='-'
2295 # Remember, the first character of IFS is used to create $*,
2296 # except with old shells:
2299 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2303 $as_echo_n "checking target system type... " >&6; }
2304 if test "${ac_cv_target+set}" = set; then :
2305 $as_echo_n "(cached) " >&6
2307 if test "x$target_alias" = x; then
2308 ac_cv_target=$ac_cv_host
2310 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2311 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2316 $as_echo "$ac_cv_target" >&6; }
2317 case $ac_cv_target in
2319 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2321 target=$ac_cv_target
2322 ac_save_IFS=$IFS; IFS='-'
2328 # Remember, the first character of IFS is used to create $*,
2329 # except with old shells:
2332 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2335 # The aliases save the names the user supplied, while $host etc.
2336 # will get canonicalized.
2337 test -n "$target_alias" &&
2338 test "$program_prefix$program_suffix$program_transform_name" = \
2340 program_prefix=${target_alias}-
2342 test "$program_prefix" != NONE &&
2343 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2344 # Use a double $ so make ignores it.
2345 test "$program_suffix" != NONE &&
2346 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2347 # Double any \ or $.
2348 # By default was `s
,x
,x
', remove it if useless.
2349 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2350 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2354 # Get 'install' or 'install-sh
' and its variants.
2355 # Find a good install program. We prefer a C program (faster),
2356 # so one script is as good as another. But avoid the broken or
2357 # incompatible versions:
2358 # SysV /etc/install, /usr/sbin/install
2359 # SunOS /usr/etc/install
2360 # IRIX /sbin/install
2362 # AmigaOS /C/install, which installs bootblocks on floppy discs
2363 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2364 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2365 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2366 # OS/2's system install, which has a completely different semantic
2367 # ./install, which can be erroneously created by make from ./install.sh.
2368 # Reject install programs that cannot install multiple files.
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2370 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2371 if test -z "$INSTALL"; then
2372 if test "${ac_cv_path_install+set}" = set; then :
2373 $as_echo_n "(cached) " >&6
2375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2379 test -z "$as_dir" && as_dir
=.
2380 # Account for people who put trailing slashes in PATH elements.
2381 case $as_dir/ in #((
2382 .
/ | .
// |
/[cC
]/* | \
2383 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2384 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2387 # OSF1 and SCO ODT 3.0 have their own names for install.
2388 # Don't use installbsd from OSF since it installs stuff as root
2390 for ac_prog
in ginstall scoinst
install; do
2391 for ac_exec_ext
in '' $ac_executable_extensions; do
2392 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2393 if test $ac_prog = install &&
2394 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2395 # AIX install. It has an incompatible calling convention.
2397 elif test $ac_prog = install &&
2398 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2399 # program-specific install script used by HP pwplus--don't use.
2402 rm -rf conftest.one conftest.two conftest.dir
2403 echo one
> conftest.one
2404 echo two
> conftest.two
2406 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2407 test -s conftest.one
&& test -s conftest.two
&&
2408 test -s conftest.dir
/conftest.one
&&
2409 test -s conftest.dir
/conftest.two
2411 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2424 rm -rf conftest.one conftest.two conftest.dir
2427 if test "${ac_cv_path_install+set}" = set; then
2428 INSTALL
=$ac_cv_path_install
2430 # As a last resort, use the slow shell script. Don't cache a
2431 # value for INSTALL within a source directory, because that will
2432 # break other packages using the cache if that directory is
2433 # removed, or if the value is a relative name.
2434 INSTALL
=$ac_install_sh
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2438 $as_echo "$INSTALL" >&6; }
2440 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2441 # It thinks the first close brace ends the variable substitution.
2442 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2444 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2446 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2449 $as_echo_n "checking whether ln works... " >&6; }
2450 if test "${acx_cv_prog_LN+set}" = set; then :
2451 $as_echo_n "(cached) " >&6
2453 rm -f conftestdata_t
2454 echo >conftestdata_f
2455 if ln conftestdata_f conftestdata_t
2>/dev
/null
2461 rm -f conftestdata_f conftestdata_t
2464 if test $acx_cv_prog_LN = no
; then
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2467 $as_echo "no, using $LN" >&6; }
2469 LN
="$acx_cv_prog_LN"
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2471 $as_echo "yes" >&6; }
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2475 $as_echo_n "checking whether ln -s works... " >&6; }
2477 if test "$LN_S" = "ln -s"; then
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2479 $as_echo "yes" >&6; }
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2482 $as_echo "no, using $LN_S" >&6; }
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2486 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2487 if test "${ac_cv_path_SED+set}" = set; then :
2488 $as_echo_n "(cached) " >&6
2490 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2491 for ac_i
in 1 2 3 4 5 6 7; do
2492 ac_script
="$ac_script$as_nl$ac_script"
2494 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2495 { ac_script
=; unset ac_script
;}
2496 if test -z "$SED"; then
2497 ac_path_SED_found
=false
2498 # Loop through the user's path and test for each of PROGNAME-LIST
2499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2503 test -z "$as_dir" && as_dir
=.
2504 for ac_prog
in sed gsed
; do
2505 for ac_exec_ext
in '' $ac_executable_extensions; do
2506 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2507 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2508 # Check for GNU ac_path_SED and select it if it is found.
2509 # Check for GNU $ac_path_SED
2510 case `"$ac_path_SED" --version 2>&1` in
2512 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2515 $as_echo_n 0123456789 >"conftest.in"
2518 cat "conftest.in" "conftest.in" >"conftest.tmp"
2519 mv "conftest.tmp" "conftest.in"
2520 cp "conftest.in" "conftest.nl"
2521 $as_echo '' >> "conftest.nl"
2522 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2523 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2524 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2525 if test $ac_count -gt ${ac_path_SED_max-0}; then
2526 # Best one so far, save it but keep looking for a better one
2527 ac_cv_path_SED
="$ac_path_SED"
2528 ac_path_SED_max
=$ac_count
2530 # 10*(2^10) chars as input seems more than enough
2531 test $ac_count -gt 10 && break
2533 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2536 $ac_path_SED_found && break 3
2541 if test -z "$ac_cv_path_SED"; then
2542 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2550 $as_echo "$ac_cv_path_SED" >&6; }
2551 SED
="$ac_cv_path_SED"
2554 for ac_prog
in gawk mawk nawk
awk
2556 # Extract the first word of "$ac_prog", so it can be a program name with args.
2557 set dummy
$ac_prog; ac_word
=$2
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2559 $as_echo_n "checking for $ac_word... " >&6; }
2560 if test "${ac_cv_prog_AWK+set}" = set; then :
2561 $as_echo_n "(cached) " >&6
2563 if test -n "$AWK"; then
2564 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2570 test -z "$as_dir" && as_dir
=.
2571 for ac_exec_ext
in '' $ac_executable_extensions; do
2572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2573 ac_cv_prog_AWK
="$ac_prog"
2574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2584 if test -n "$AWK"; then
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2586 $as_echo "$AWK" >&6; }
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2589 $as_echo "no" >&6; }
2593 test -n "$AWK" && break
2597 ### we might need to use some other shell than /bin/sh for running subshells
2598 ### If we are on Windows, search for the shell. This will permit people
2599 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2600 ### without also having to set CONFIG_SHELL. This code will work when
2601 ### using bash, which sets OSTYPE.
2604 if test x
${CONFIG_SHELL} = x
; then
2605 if test ! -f /bin
/sh
; then
2606 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
2607 CONFIG_SHELL
=${SHELL}
2610 for prog
in sh sh.exe bash bash.exe
; do
2611 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2612 for dir
in $PATH; do
2613 test -z "$dir" && dir
=.
2614 if test -f $dir/$prog; then
2615 CONFIG_SHELL
=$dir/$prog
2621 test -n "${CONFIG_SHELL}" && break
2629 config_shell
=${CONFIG_SHELL-/bin/sh}
2631 moveifchange
=${srcdir}/move-if-change
2633 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2635 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2637 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2638 INSTALL
="${srcpwd}/install-sh -c"
2641 # Set srcdir to "." if that's what it is.
2642 # This is important for multilib support.
2644 if test "${pwd}" = "${srcpwd}" ; then
2652 ### To add a new directory to the tree, first choose whether it is a target
2653 ### or a host dependent tool. Then put it into the appropriate list
2654 ### (library or tools, host or target), doing a dependency sort.
2656 # Subdirs will be configured in the order listed in build_configdirs,
2657 # configdirs, or target_configdirs; see the serialization section below.
2659 # Dependency sorting is only needed when *configuration* must be done in
2660 # a particular order. In all cases a dependency should be specified in
2661 # the Makefile, whether or not it's implicitly specified here.
2663 # Double entries in build_configdirs, configdirs, or target_configdirs may
2664 # cause circular dependencies and break everything horribly.
2666 # these library is used by various programs built for the build
2669 build_libs
="build-libiberty"
2671 # these tools are built for the build environment
2672 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2674 # these libraries are used by various programs built for the host environment
2676 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2678 # these tools are built for the host environment
2679 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2680 # know that we are building the simulator.
2681 # binutils, gas and ld appear in that order because it makes sense to run
2682 # "make check" in that particular order.
2683 # If --enable-gold is used, "gold" may replace "ld".
2684 host_tools
="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen 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"
2686 # libgcj represents the runtime libraries only used by gcj.
2687 libgcj
="target-libffi \
2692 # these libraries are built for the target environment, and are built after
2693 # the host libraries and the host tools (which may be a cross compiler)
2695 target_libraries
="target-libgcc \
2700 target-libstdc++-v3 \
2703 target-libquadmath \
2704 target-libgfortran \
2711 # these tools are built using the target libraries, and are intended to
2712 # run only in the target environment
2714 # note: any program that *uses* libraries that are in the "target_libraries"
2715 # list belongs in this list. those programs are also very likely
2716 # candidates for the "native_only" list which follows
2718 target_tools
="target-examples target-groff target-gperf target-rda"
2720 ################################################################################
2722 ## All tools belong in one of the four categories, and are assigned above
2723 ## We assign ${configdirs} this way to remove all embedded newlines. This
2724 ## is important because configure will choke if they ever get through.
2725 ## ${configdirs} is directories we build using the host tools.
2726 ## ${target_configdirs} is directories we build using the target tools.
2727 configdirs
=`echo ${host_libs} ${host_tools}`
2728 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2729 build_configdirs
=`echo ${build_libs} ${build_tools}`
2733 ################################################################################
2735 srcname
="gnu development package"
2737 # This gets set non-empty for some net releases of packages.
2740 # Define is_cross_compiler to save on calls to 'test'.
2742 if test x
"${host}" = x
"${target}" ; then
2743 is_cross_compiler
=no
2745 is_cross_compiler
=yes
2748 # Find the build and target subdir names.
2750 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2751 # have matching libraries, they should use host libraries: Makefile.tpl
2752 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2753 # However, they still use the build modules, because the corresponding
2754 # host modules (e.g. bison) are only built for the host when bootstrap
2756 # - build_subdir is where we find build modules, and never changes.
2757 # - build_libsubdir is where we find build libraries, and can be overridden.
2759 # Prefix 'build-' so this never conflicts with target_subdir.
2760 build_subdir
="build-${build_noncanonical}"
2762 # Check whether --with-build-libsubdir was given.
2763 if test "${with_build_libsubdir+set}" = set; then :
2764 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2766 build_libsubdir
="$build_subdir"
2769 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2770 if ( test $srcdir = .
&& test -d gcc
) \
2771 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2772 host_subdir
="host-${host_noncanonical}"
2777 target_subdir
=${target_noncanonical}
2779 # Be sure to cover against remnants of an in-tree build.
2780 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2781 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2782 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2785 # Skipdirs are removed silently.
2787 # Noconfigdirs are removed loudly.
2791 # Make sure we don't let GNU ld be added if we didn't want it.
2792 if test x
$with_gnu_ld = xno
; then
2794 noconfigdirs
="$noconfigdirs ld gold"
2798 # Make sure we don't let GNU as be added if we didn't want it.
2799 if test x
$with_gnu_as = xno
; then
2801 noconfigdirs
="$noconfigdirs gas"
2805 # Make sure we don't let ZLIB be added if we didn't want it.
2806 if test x
$with_system_zlib = xyes
; then
2807 use_included_zlib
=no
2808 noconfigdirs
="$noconfigdirs zlib"
2811 # some tools are so dependent upon X11 that if we're not building with X,
2812 # it's not even worth trying to configure, much less build, that tool.
2815 yes |
"") ;; # the default value for this tree is that X11 is available
2817 skipdirs
="${skipdirs} tk itcl libgui"
2818 # We won't be able to build gdbtk without X.
2821 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2824 # Some tools are only suitable for building in a "native" situation.
2825 # Remove these if host!=target.
2826 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"
2828 # Similarly, some are only suitable for cross toolchains.
2829 # Remove these if host=target.
2830 cross_only
="target-libgloss target-newlib target-opcodes"
2832 case $is_cross_compiler in
2833 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2834 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2837 # If both --with-headers and --with-libs are specified, default to
2839 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2840 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2841 if test x
"${with_newlib}" = x
; then
2846 # Recognize --with-newlib/--without-newlib.
2847 case ${with_newlib} in
2848 no
) skipdirs
="${skipdirs} target-newlib" ;;
2849 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2852 # Handle --enable-gold.
2853 # --enable-gold Build only gold
2854 # --disable-gold [default] Build only ld
2855 # --enable-gold=both Build both gold and ld, ld is default
2856 # --enable-gold=both/ld Same
2857 # --enable-gold=both/gold Build both gold and ld, gold is default, ld is renamed ld.bfd
2859 # Check whether --enable-gold was given.
2860 if test "${enable_gold+set}" = set; then :
2861 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2866 case "${ENABLE_GOLD}" in
2867 yes|both|both
/gold|both
/ld
)
2868 # Check for ELF target.
2871 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2872 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2873 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2* |
*-*-nto*)
2875 *-*-linux*aout
* |
*-*-linux*oldld
*)
2883 if test "$is_elf" = "yes"; then
2884 # Check for target supported by gold.
2886 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2887 case "${ENABLE_GOLD}" in
2889 configdirs
="$configdirs gold"
2892 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / gold /'`
2903 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2907 # Configure extra directories which are host specific
2911 configdirs
="$configdirs libtermcap" ;;
2914 # A target can indicate whether a language isn't supported for some reason.
2915 # Only spaces may be used in this macro; not newlines or tabs.
2916 unsupported_languages
=
2918 # Remove more programs from consideration, based on the host or
2919 # target this usually means that a port of the program doesn't
2924 noconfigdirs
="$noconfigdirs byacc"
2926 i
[3456789]86-*-vsta)
2927 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2929 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2930 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2933 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2935 i
[3456789]86-*-mingw32*)
2936 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2937 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2939 i
[3456789]86-*-beos*)
2940 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2943 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2946 noconfigdirs
="$noconfigdirs rcs"
2949 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2952 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2957 # Check whether --enable-libada was given.
2958 if test "${enable_libada+set}" = set; then :
2959 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
2964 if test "${ENABLE_LIBADA}" != "yes" ; then
2965 noconfigdirs
="$noconfigdirs gnattools"
2968 # Check whether --enable-libssp was given.
2969 if test "${enable_libssp+set}" = set; then :
2970 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
2976 # Save it here so that, even in case of --enable-libgcj, if the Java
2977 # front-end isn't enabled, we still get libgcj disabled.
2978 libgcj_saved
=$libgcj
2979 case $enable_libgcj in
2981 # If we reset it here, it won't get added to noconfigdirs in the
2982 # target-specific build rules, so it will be forcibly enabled
2983 # (unless the Java language itself isn't enabled).
2987 # Make sure we get it printed in the list of not supported target libs.
2988 noconfigdirs
="$noconfigdirs ${libgcj}"
2993 # Disable libmudflap on some systems.
2994 if test x
$enable_libmudflap = x
; then
2996 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
2997 # Enable libmudflap by default in GNU and friends.
3000 # Enable libmudflap by default in FreeBSD.
3003 # Disable it by default everywhere else.
3004 noconfigdirs
="$noconfigdirs target-libmudflap"
3009 # Disable libgomp on non POSIX hosted systems.
3010 if test x
$enable_libgomp = x
; then
3011 # Enable libgomp by default on hosted POSIX systems.
3013 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3015 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
3017 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
3019 *-*-darwin* |
*-*-aix*)
3022 noconfigdirs
="$noconfigdirs target-libgomp"
3027 # Default libgloss CPU subdirectory.
3028 libgloss_dir
="$target_cpu"
3032 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3035 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3036 noconfigdirs
="$noconfigdirs sim target-rda"
3038 i
[3456789]86-*-darwin*)
3039 noconfigdirs
="$noconfigdirs ld gprof"
3040 noconfigdirs
="$noconfigdirs sim target-rda"
3042 x86_64-
*-darwin[912]*)
3043 noconfigdirs
="$noconfigdirs ld gas gprof"
3044 noconfigdirs
="$noconfigdirs sim target-rda"
3047 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3048 noconfigdirs
="$noconfigdirs sim target-rda"
3049 noconfigdirs
="$noconfigdirs ${libgcj}"
3051 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
3052 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3055 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3056 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3057 && test -f /usr
/local
/include
/gmp.h
; then
3061 # Skip some stuff that's unsupported on some FreeBSD configurations.
3067 noconfigdirs
="$noconfigdirs ${libgcj}"
3072 # Remove unsupported stuff on all kaOS configurations.
3073 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
3074 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
3075 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
3076 noconfigdirs
="$noconfigdirs target-libgloss"
3079 # Skip some stuff on all NetBSD configurations.
3080 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
3082 # Skip some stuff that's unsupported on some NetBSD configurations.
3084 i
*86-*-netbsdelf*) ;;
3085 arm
*-*-netbsdelf*) ;;
3087 noconfigdirs
="$noconfigdirs ${libgcj}"
3092 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
3095 skipdirs
="${skipdirs} target-libiberty"
3096 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3098 # The tpf target doesn't support gdb yet.
3100 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
3103 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
3106 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
3109 # ld works, but does not support shared libraries.
3110 # newlib is not 64 bit ready. I'm not sure about fileutils.
3111 # gas doesn't generate exception information.
3112 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
3115 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3118 # newlib is not 64 bit ready
3119 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3122 # newlib is not 64 bit ready
3123 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3126 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3129 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3131 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3132 noconfigdirs
="$noconfigdirs ${libgcj}"
3133 noconfigdirs
="$noconfigdirs target-examples"
3134 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
3135 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3136 noconfigdirs
="$noconfigdirs expect dejagnu"
3137 # the C++ libraries don't build on top of CE's C libraries
3138 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3139 noconfigdirs
="$noconfigdirs target-newlib"
3141 *-*-cygwin*) ;; # keep gdb and readline
3142 *) noconfigdirs
="$noconfigdirs gdb readline"
3148 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3152 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
3153 noconfigdirs
="$noconfigdirs ${libgcj}"
3156 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
3157 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
3160 arm
*-*-linux-gnueabi)
3161 noconfigdirs
="$noconfigdirs target-qthreads"
3162 case ${with_newlib} in
3163 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3168 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
3172 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3175 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3178 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3181 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3184 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3187 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
3190 unsupported_languages
="$unsupported_languages java"
3191 noconfigdirs
="$noconfigdirs target-boehm-gc gdb"
3192 if test x
${is_cross_compiler} != xno
; then
3193 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
3196 c4x-
*-* | tic4x-
*-*)
3197 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3199 c54x
*-*-* | tic54x-
*-*)
3200 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
3203 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3205 cris-
*-* | crisv32-
*-*)
3206 unsupported_languages
="$unsupported_languages java"
3209 unsupported_languages
="$unsupported_languages fortran"
3210 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3212 noconfigdirs
="$noconfigdirs target-boehm-gc";;
3214 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
3216 unsupported_languages
="$unsupported_languages fortran"
3217 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
3222 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
3225 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3228 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3230 ep9312-
*-elf | ep9312-
*-coff)
3234 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3237 noconfigdirs
="$noconfigdirs ${libgcj}"
3240 noconfigdirs
="$noconfigdirs ${libgcj}"
3241 noconfigdirs
="$noconfigdirs gprof"
3244 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3247 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3249 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3251 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
3252 # In this case, it's because the hppa64-linux target is for
3253 # the kernel only at this point and has no libc, and thus no
3254 # headers, crt*.o, etc., all of which are needed by these.
3255 noconfigdirs
="$noconfigdirs target-zlib"
3257 parisc
*-*-linux* | hppa
*-*-linux*)
3261 hppa
*-*-openbsd* | \
3263 noconfigdirs
="$noconfigdirs ${libgcj}"
3266 noconfigdirs
="$noconfigdirs ld shellutils"
3272 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3273 # build on HP-UX 10.20.
3274 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
3277 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3280 # No gdb support yet.
3281 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
3284 # No gdb or ld support yet.
3285 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
3288 # No gdb or ld support yet.
3289 noconfigdirs
="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
3293 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
3294 noconfigdirs
="$noconfigdirs ${libgcj}"
3297 i
[3456789]86-*-linux*)
3298 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
3299 # not build java stuff by default.
3302 noconfigdirs
="$noconfigdirs ${libgcj}";;
3305 # This section makes it possible to build newlib natively on linux.
3306 # If we are using a cross compiler then don't configure newlib.
3307 if test x
${is_cross_compiler} != xno
; then
3308 noconfigdirs
="$noconfigdirs target-newlib"
3310 noconfigdirs
="$noconfigdirs target-libgloss"
3311 # If we are not using a cross compiler, do configure newlib.
3312 # Note however, that newlib will only be configured in this situation
3313 # if the --with-newlib option has been given, because otherwise
3314 # 'target-newlib' will appear in skipdirs.
3316 i
[3456789]86-w64-mingw*)
3317 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3319 i
[3456789]86-*-mingw*)
3320 target_configdirs
="$target_configdirs target-winsup"
3321 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3324 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3327 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3328 noconfigdirs
="$noconfigdirs target-gperf target-libgloss"
3329 # always build newlib if winsup directory is present.
3330 if test -d "$srcdir/winsup/cygwin"; then
3331 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3332 elif test -d "$srcdir/newlib"; then
3333 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3336 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
3337 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
3340 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3342 i
[3456789]86-*-sco3.2v5
*)
3343 # The linker does not yet know about weak symbols in COFF,
3344 # and is not configured to handle mixed ELF and COFF.
3345 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3347 i
[3456789]86-*-sco*)
3348 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3350 i
[3456789]86-*-solaris2*)
3351 noconfigdirs
="$noconfigdirs target-libgloss"
3353 i
[3456789]86-*-sysv4*)
3354 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3356 i
[3456789]86-*-beos*)
3357 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3359 i
[3456789]86-*-rdos*)
3360 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3363 noconfigdirs
="$noconfigdirs ${libgcj}"
3365 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3366 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3367 libgloss_dir
=m68hc11
3370 noconfigdirs
="$noconfigdirs ${libgcj}"
3373 noconfigdirs
="$noconfigdirs ${libgcj}"
3375 m68
*-*-* | fido-
*-*)
3379 # The EPOC C++ environment does not support exceptions or rtti,
3380 # and so building libstdc++-v3 tends not to always work.
3381 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3384 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
3385 unsupported_languages
="$unsupported_languages fortran java"
3388 noconfigdirs
="$noconfigdirs ${libgcj}"
3391 noconfigdirs
="$noconfigdirs ${libgcj}"
3394 noconfigdirs
="$noconfigdirs sim"
3397 # copied from rs6000-*-* entry
3398 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3400 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
3401 target_configdirs
="$target_configdirs target-winsup"
3402 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
3403 # always build newlib.
3404 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3406 # This is temporary until we can link against shared libraries
3407 powerpcle-
*-solaris*)
3408 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
3412 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3415 noconfigdirs
="$noconfigdirs ${libgcj}"
3418 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
3422 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
3425 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3428 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3431 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
3434 noconfigdirs
="$noconfigdirs gprof target-libssp ${libgcj}"
3437 skipdirs
="$skipdirs target-libiberty"
3438 noconfigdirs
="$noconfigdirs ${libgcj}"
3439 if test x
$with_newlib = xyes
; then
3440 noconfigdirs
="$noconfigdirs gprof"
3445 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3448 # Linking libjava exceeds command-line length limits on at least
3449 # IRIX 6.2, but not on IRIX 6.5.
3450 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3451 # <oldham@codesourcery.com>
3452 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3455 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3458 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3461 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3465 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
3469 i
[3456789]86-*-vsta) ;; # don't add gprof back in
3470 i
[3456789]86-*-go32*) ;; # don't add gprof back in
3471 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
3472 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
3476 noconfigdirs
="$noconfigdirs ${libgcj}" ;;
3478 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}" ;;
3481 sparclet-
*-aout* | sparc86x-
*-*)
3485 noconfigdirs
="$noconfigdirs ${libgcj}"
3488 noconfigdirs
="$noconfigdirs ${libgcj}"
3492 noconfigdirs
="$noconfigdirs ${libgcj}"
3496 noconfigdirs
="$noconfigdirs ${libgcj}"
3497 if test x
${is_cross_compiler} != xno
; then
3498 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3503 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
3504 noconfigdirs
="$noconfigdirs ${libgcj}"
3506 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
3509 noconfigdirs
="$noconfigdirs gdb sim ${libgcj}"
3512 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
3515 noconfigdirs
="$noconfigdirs ${libgcj}"
3518 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
3521 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3524 noconfigdirs
="$noconfigdirs ${libgcj}"
3527 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3529 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3530 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3533 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3536 noconfigdirs
="$noconfigdirs ${libgcj}"
3540 # If we aren't building newlib, then don't build libgloss, since libgloss
3541 # depends upon some newlib header files.
3542 case "${noconfigdirs}" in
3543 *target-libgloss
*) ;;
3544 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3547 # Work in distributions that contain no compiler tools, like Autoconf.
3549 host_makefile_frag
=/dev
/null
3550 if test -d ${srcdir}/config
; then
3553 # Avoid "too much defining" errors from HPUX compiler.
3554 tentative_cc
="cc -Wp,-H256000"
3555 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
3556 # If it's HP/UX ar, this should be harmless.
3560 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
3563 #None of the Apollo compilers can compile gas or binutils. The preprocessor
3564 # chokes on bfd, the compiler won't let you assign integers to enums, and
3565 # other problems. Defining CC to gcc is a questionable way to say "don't use
3566 # the apollo compiler" (the preferred version of GCC could be called cc,
3567 # or whatever), but I'm not sure leaving CC as cc is any better...
3568 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
3569 # Used to have BISON=yacc.
3573 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3576 # Under CX/UX, we want to tell the compiler to use ANSI mode.
3577 tentative_cc
="cc -Xa"
3578 host_makefile_frag
="config/mh-cxux"
3580 m88k-motorola-sysv
*)
3583 tentative_cc
="cc -Wf,-XNg1000"
3584 host_makefile_frag
="config/mh-decstation"
3587 # The C compiler on NEC MIPS SVR4 needs bigger tables.
3588 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
3589 host_makefile_frag
="config/mh-necv4"
3592 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
3593 # environment. Also bump switch table size so that cp-parse will
3594 # compile. Bump string length limit so linker builds.
3595 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
3598 host_makefile_frag
="config/mh-sysv4"
3601 # This is for a MIPS running RISC/os 4.52C.
3603 # This is needed for GDB, but needs to be in the top-level make because
3604 # if a library is compiled with the bsd headers and gets linked with the
3605 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
3606 # a different size).
3607 # ptrace(2) apparently has problems in the BSD environment. No workaround is
3608 # known except to select the sysv environment. Could we use /proc instead?
3609 # These "sysv environments" and "bsd environments" often end up being a pain.
3611 # This is not part of CFLAGS because perhaps not all C compilers have this
3613 tentative_cc
="cc -systype sysv"
3618 i
[3456789]86-*-sysv5*)
3619 host_makefile_frag
="config/mh-sysv5"
3621 i
[3456789]86-*-dgux*)
3622 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3623 host_makefile_frag
="config/mh-dgux386"
3625 i
[3456789]86-ncr-sysv4.3
*)
3626 # The MetaWare compiler will generate a copyright message unless you
3627 # turn it off by adding the -Hnocopyr flag.
3628 tentative_cc
="cc -Hnocopyr"
3630 i
[3456789]86-ncr-sysv4*)
3631 # for an NCR 3000 (i486/SVR4) system.
3632 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
3633 # This compiler not only emits obnoxious copyright messages every time
3634 # you run it, but it chokes and dies on a whole bunch of GNU source
3635 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
3636 tentative_cc
="/usr/ccs/ATT/cc"
3637 host_makefile_frag
="config/mh-ncr3000"
3639 i
[3456789]86-*-sco3.2v5
*)
3641 i
[3456789]86-*-sco*)
3642 # The native C compiler botches some simple uses of const. Unfortunately,
3643 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
3644 tentative_cc
="cc -Dconst="
3645 host_makefile_frag
="config/mh-sco"
3647 i
[3456789]86-*-udk*)
3648 host_makefile_frag
="config/mh-sysv5"
3650 i
[3456789]86-*-solaris2*)
3651 host_makefile_frag
="config/mh-sysv4"
3653 i
[3456789]86-*-msdosdjgpp*)
3654 host_makefile_frag
="config/mh-djgpp"
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3659 $as_echo_n "checking to see if cat works as expected... " >&6; }
3660 echo a
>cygwin-cat-check
3661 if test `cat cygwin-cat-check` = a
; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3664 $as_echo "yes" >&6; }
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3669 as_fn_error
"The cat command does not ignore carriage return characters.
3670 Please either mount the build directory in binary mode or run the following
3671 commands before running any configure script:
3677 host_makefile_frag
="config/mh-cygwin"
3680 host_makefile_frag
="config/mh-mingw"
3683 host_makefile_frag
="config/mh-interix"
3686 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
3690 host_makefile_frag
="config/mh-solaris"
3693 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
3694 # without overflowing the jump tables (-J says to use a 32 bit table)
3695 tentative_cc
="cc -J"
3698 tentative_cc
="cc -Wp,-H256000"
3699 host_makefile_frag
="config/mh-pa-hpux10"
3701 hppa
*-hp-hpux* | hppa
*-*-hiux*)
3702 tentative_cc
="cc -Wp,-H256000"
3703 host_makefile_frag
="config/mh-pa"
3706 host_makefile_frag
="config/mh-pa"
3708 *-hp-hpux* |
*-*-hiux*)
3709 tentative_cc
="cc -Wp,-H256000"
3712 # /bin/cc is less than useful for our purposes. Always use GCC
3713 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
3714 host_makefile_frag
="config/mh-lynxrs6k"
3717 host_makefile_frag
="config/mh-darwin"
3720 host_makefile_frag
="config/mh-ppc-aix"
3723 host_makefile_frag
="config/mh-ppc-aix"
3726 # /bin/cc is less than useful for our purposes. Always use GCC
3727 tentative_cc
="/bin/gcc"
3730 host_makefile_frag
="config/mh-sysv4"
3732 # This is placed last to prevent interfering with the cases above.
3734 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
3735 host_makefile_frag
="config/mh-x86omitfp"
3740 # If we aren't going to be using gcc, see if we can extract a definition
3741 # of CC from the fragment.
3742 # Actually, use the 'pre-extracted' version above.
3743 if test -z "${CC}" && test "${build}" = "${host}" ; then
3744 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
3746 for dir
in $PATH; do
3747 test -z "$dir" && dir
=.
3748 if test -f $dir/gcc
; then
3754 if test -z "${found}" && test -n "${tentative_cc}" ; then
3759 if test "${build}" != "${host}" ; then
3760 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3761 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3762 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3763 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3764 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3765 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3766 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3767 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3768 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3769 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3770 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3771 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3772 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3774 AR_FOR_BUILD
="\$(AR)"
3775 AS_FOR_BUILD
="\$(AS)"
3776 CC_FOR_BUILD
="\$(CC)"
3777 CXX_FOR_BUILD
="\$(CXX)"
3778 GCJ_FOR_BUILD
="\$(GCJ)"
3779 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3780 GOC_FOR_BUILD
="\$(GOC)"
3781 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3782 LD_FOR_BUILD
="\$(LD)"
3783 NM_FOR_BUILD
="\$(NM)"
3784 RANLIB_FOR_BUILD
="\$(RANLIB)"
3785 WINDRES_FOR_BUILD
="\$(WINDRES)"
3786 WINDMC_FOR_BUILD
="\$(WINDMC)"
3790 ac_cpp
='$CPP $CPPFLAGS'
3791 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3792 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3793 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3794 if test -n "$ac_tool_prefix"; then
3795 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3796 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if test "${ac_cv_prog_CC+set}" = set; then :
3800 $as_echo_n "(cached) " >&6
3802 if test -n "$CC"; then
3803 ac_cv_prog_CC
="$CC" # Let the user override the test.
3805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir
=.
3810 for ac_exec_ext
in '' $ac_executable_extensions; do
3811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3812 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3823 if test -n "$CC"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3825 $as_echo "$CC" >&6; }
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3833 if test -z "$ac_cv_prog_CC"; then
3835 # Extract the first word of "gcc", so it can be a program name with args.
3836 set dummy gcc
; ac_word
=$2
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3838 $as_echo_n "checking for $ac_word... " >&6; }
3839 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3840 $as_echo_n "(cached) " >&6
3842 if test -n "$ac_ct_CC"; then
3843 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3849 test -z "$as_dir" && as_dir
=.
3850 for ac_exec_ext
in '' $ac_executable_extensions; do
3851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3852 ac_cv_prog_ac_ct_CC
="gcc"
3853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3863 if test -n "$ac_ct_CC"; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3865 $as_echo "$ac_ct_CC" >&6; }
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 $as_echo "no" >&6; }
3871 if test "x$ac_ct_CC" = x
; then
3874 case $cross_compiling:$ac_tool_warned in
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3878 ac_tool_warned
=yes ;;
3886 if test -z "$CC"; then
3887 if test -n "$ac_tool_prefix"; then
3888 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3889 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3891 $as_echo_n "checking for $ac_word... " >&6; }
3892 if test "${ac_cv_prog_CC+set}" = set; then :
3893 $as_echo_n "(cached) " >&6
3895 if test -n "$CC"; then
3896 ac_cv_prog_CC
="$CC" # Let the user override the test.
3898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3902 test -z "$as_dir" && as_dir
=.
3903 for ac_exec_ext
in '' $ac_executable_extensions; do
3904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3905 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3916 if test -n "$CC"; then
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3918 $as_echo "$CC" >&6; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3921 $as_echo "no" >&6; }
3927 if test -z "$CC"; then
3928 # Extract the first word of "cc", so it can be a program name with args.
3929 set dummy cc
; ac_word
=$2
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3931 $as_echo_n "checking for $ac_word... " >&6; }
3932 if test "${ac_cv_prog_CC+set}" = set; then :
3933 $as_echo_n "(cached) " >&6
3935 if test -n "$CC"; then
3936 ac_cv_prog_CC
="$CC" # Let the user override the test.
3939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3943 test -z "$as_dir" && as_dir
=.
3944 for ac_exec_ext
in '' $ac_executable_extensions; do
3945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3946 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3947 ac_prog_rejected
=yes
3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 if test $ac_prog_rejected = yes; then
3959 # We found a bogon in the path, so make sure we never use it.
3960 set dummy
$ac_cv_prog_CC
3962 if test $# != 0; then
3963 # We chose a different compiler from the bogus one.
3964 # However, it has the same basename, so the bogon will be chosen
3965 # first if we set CC to just the basename; use the full file name.
3967 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3973 if test -n "$CC"; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3975 $as_echo "$CC" >&6; }
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3983 if test -z "$CC"; then
3984 if test -n "$ac_tool_prefix"; then
3985 for ac_prog
in cl.exe
3987 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3988 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if test "${ac_cv_prog_CC+set}" = set; then :
3992 $as_echo_n "(cached) " >&6
3994 if test -n "$CC"; then
3995 ac_cv_prog_CC
="$CC" # Let the user override the test.
3997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4001 test -z "$as_dir" && as_dir
=.
4002 for ac_exec_ext
in '' $ac_executable_extensions; do
4003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4004 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4015 if test -n "$CC"; then
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4017 $as_echo "$CC" >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4024 test -n "$CC" && break
4027 if test -z "$CC"; then
4029 for ac_prog
in cl.exe
4031 # Extract the first word of "$ac_prog", so it can be a program name with args.
4032 set dummy
$ac_prog; ac_word
=$2
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4034 $as_echo_n "checking for $ac_word... " >&6; }
4035 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4036 $as_echo_n "(cached) " >&6
4038 if test -n "$ac_ct_CC"; then
4039 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4045 test -z "$as_dir" && as_dir
=.
4046 for ac_exec_ext
in '' $ac_executable_extensions; do
4047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4048 ac_cv_prog_ac_ct_CC
="$ac_prog"
4049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4058 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4059 if test -n "$ac_ct_CC"; then
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4061 $as_echo "$ac_ct_CC" >&6; }
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4064 $as_echo "no" >&6; }
4068 test -n "$ac_ct_CC" && break
4071 if test "x$ac_ct_CC" = x
; then
4074 case $cross_compiling:$ac_tool_warned in
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4078 ac_tool_warned
=yes ;;
4087 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4089 as_fn_error
"no acceptable C compiler found in \$PATH
4090 See \`config.log' for more details." "$LINENO" 5; }
4092 # Provide some information about the compiler.
4093 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4096 for ac_option
in --version -v -V -qversion; do
4097 { { ac_try
="$ac_compiler $ac_option >&5"
4099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4106 if test -s conftest.err; then
4108 ... rest of stderr output deleted ...
4109 10q' conftest.err >conftest.er1
4110 cat conftest.er1 >&5
4111 rm -f conftest.er1 conftest.err
4113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114 test $ac_status = 0; }
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4128 ac_clean_files_save=$ac_clean_files
4129 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4130 # Try to create an executable without -o first, disregard a.out.
4131 # It will help us diagnose broken compilers, and finding out an intuition
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4134 $as_echo_n "checking for C compiler default output file name... " >&6; }
4135 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4137 # The possible output files:
4138 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4141 for ac_file in $ac_files
4144 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4145 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4150 if { { ac_try="$ac_link_default"
4152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4153 *) ac_try_echo
=$ac_try;;
4155 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4156 $as_echo "$ac_try_echo"; } >&5
4157 (eval "$ac_link_default") 2>&5
4159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4160 test $ac_status = 0; }; then :
4161 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4162 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4163 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4164 # so that the user can short-circuit this test for compilers unknown to
4166 for ac_file
in $ac_files ''
4168 test -f "$ac_file" ||
continue
4170 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4173 # We found the default executable, but exeext='' is most
4177 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4179 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4181 # We set ac_cv_exeext here because the later test for it is not
4182 # safe: cross compilers may not add the suffix if given an `-o'
4183 # argument, so we may need to know it at that point already.
4184 # Even if this section looks crufty: it has the advantage of
4191 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4197 $as_echo "$ac_file" >&6; }
4198 if test -z "$ac_file"; then :
4199 $as_echo "$as_me: failed program was:" >&5
4200 sed 's/^/| /' conftest.
$ac_ext >&5
4202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4204 { as_fn_set_status
77
4205 as_fn_error
"C compiler cannot create executables
4206 See \`config.log' for more details." "$LINENO" 5; }; }
4208 ac_exeext
=$ac_cv_exeext
4210 # Check that the compiler produces executables we can run. If not, either
4211 # the compiler is broken, or we cross compile.
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4213 $as_echo_n "checking whether the C compiler works... " >&6; }
4214 # If not cross compiling, check that we can run a simple program.
4215 if test "$cross_compiling" != yes; then
4216 if { ac_try
='./$ac_file'
4217 { { case "(($ac_try" in
4218 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4222 $as_echo "$ac_try_echo"; } >&5
4223 (eval "$ac_try") 2>&5
4225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4226 test $ac_status = 0; }; }; then
4229 if test "$cross_compiling" = maybe; then
4232 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4234 as_fn_error "cannot run C compiled programs.
4235 If you meant to cross compile
, use \
`--host'.
4236 See \`config.log
' for more details." "$LINENO" 5; }
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4241 $as_echo "yes" >&6; }
4243 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4244 ac_clean_files=$ac_clean_files_save
4245 # Check that the compiler produces executables we can run. If not, either
4246 # the compiler is broken, or we cross compile.
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4248 $as_echo_n "checking whether we are cross compiling... " >&6; }
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4250 $as_echo "$cross_compiling" >&6; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4253 $as_echo_n "checking for suffix of executables... " >&6; }
4254 if { { ac_try="$ac_link"
4256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4257 *) ac_try_echo=$ac_try;;
4259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4260 $as_echo "$ac_try_echo"; } >&5
4261 (eval "$ac_link") 2>&5
4263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4264 test $ac_status = 0; }; then :
4265 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4266 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4267 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4269 for ac_file
in conftest.exe conftest conftest.
*; do
4270 test -f "$ac_file" ||
continue
4272 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4273 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4281 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4282 See \`config.log' for more details." "$LINENO" 5; }
4284 rm -f conftest
$ac_cv_exeext
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4286 $as_echo "$ac_cv_exeext" >&6; }
4288 rm -f conftest.
$ac_ext
4289 EXEEXT
=$ac_cv_exeext
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4292 $as_echo_n "checking for suffix of object files... " >&6; }
4293 if test "${ac_cv_objext+set}" = set; then :
4294 $as_echo_n "(cached) " >&6
4296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4307 rm -f conftest.o conftest.obj
4308 if { { ac_try
="$ac_compile"
4310 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4311 *) ac_try_echo=$ac_try;;
4313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4314 $as_echo "$ac_try_echo"; } >&5
4315 (eval "$ac_compile") 2>&5
4317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4318 test $ac_status = 0; }; then :
4319 for ac_file in conftest.o conftest.obj conftest.*; do
4320 test -f "$ac_file" || continue;
4322 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4323 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4328 $as_echo "$as_me: failed program was:" >&5
4329 sed 's/^/| /' conftest.$ac_ext >&5
4331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4333 as_fn_error "cannot compute suffix of object files
: cannot compile
4334 See \
`config.log' for more details." "$LINENO" 5; }
4336 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4339 $as_echo "$ac_cv_objext" >&6; }
4340 OBJEXT=$ac_cv_objext
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4343 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4344 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4345 $as_echo_n "(cached) " >&6
4347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4348 /* end confdefs.h. */
4361 if ac_fn_c_try_compile "$LINENO"; then :
4366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4367 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4371 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4372 if test $ac_compiler_gnu = yes; then
4377 ac_test_CFLAGS=${CFLAGS+set}
4378 ac_save_CFLAGS=$CFLAGS
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4380 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4381 if test "${ac_cv_prog_cc_g+set}" = set; then :
4382 $as_echo_n "(cached) " >&6
4384 ac_save_c_werror_flag=$ac_c_werror_flag
4385 ac_c_werror_flag=yes
4388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4389 /* end confdefs.h. */
4399 if ac_fn_c_try_compile "$LINENO"; then :
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4414 if ac_fn_c_try_compile "$LINENO"; then :
4417 ac_c_werror_flag=$ac_save_c_werror_flag
4419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4420 /* end confdefs.h. */
4430 if ac_fn_c_try_compile "$LINENO"; then :
4433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4438 ac_c_werror_flag=$ac_save_c_werror_flag
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4441 $as_echo "$ac_cv_prog_cc_g" >&6; }
4442 if test "$ac_test_CFLAGS" = set; then
4443 CFLAGS=$ac_save_CFLAGS
4444 elif test $ac_cv_prog_cc_g = yes; then
4445 if test "$GCC" = yes; then
4451 if test "$GCC" = yes; then
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4458 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4459 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4460 $as_echo_n "(cached) " >&6
4462 ac_cv_prog_cc_c89=no
4464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465 /* end confdefs.h. */
4468 #include <sys/types.h>
4469 #include <sys/stat.h>
4470 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4471 struct buf { int x; };
4472 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4473 static char *e (p, i)
4479 static char *f (char * (*g) (char **, int), char **p, ...)
4484 s = g (p, va_arg (v,int));
4489 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4490 function prototypes and stuff, but not '\xHH' hex character constants.
4491 These don't provoke an error unfortunately, instead are silently treated
4492 as 'x'. The following induces an error, until -std is added to get
4493 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4494 array size at least. It's necessary to write '\x00'==0 to get something
4495 that's true only with -std. */
4496 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4498 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4499 inside strings and character constants. */
4501 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4503 int test (int i, double x);
4504 struct s1 {int (*f) (int a);};
4505 struct s2 {int (*f) (double a);};
4506 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4512 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4517 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4518 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4520 CC="$ac_save_CC $ac_arg"
4521 if ac_fn_c_try_compile "$LINENO"; then :
4522 ac_cv_prog_cc_c89=$ac_arg
4524 rm -f core conftest.err conftest.$ac_objext
4525 test "x$ac_cv_prog_cc_c89" != "xno" && break
4527 rm -f conftest.$ac_ext
4532 case "x$ac_cv_prog_cc_c89" in
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4535 $as_echo "none needed" >&6; } ;;
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4538 $as_echo "unsupported" >&6; } ;;
4540 CC="$CC $ac_cv_prog_cc_c89"
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4542 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4544 if test "x$ac_cv_prog_cc_c89" != xno; then :
4549 ac_cpp='$CPP $CPPFLAGS'
4550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4555 ac_cpp='$CXXCPP $CPPFLAGS'
4556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4559 if test -z "$CXX"; then
4560 if test -n "$CCC"; then
4563 if test -n "$ac_tool_prefix"; then
4564 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4566 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4567 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4569 $as_echo_n "checking for $ac_word... " >&6; }
4570 if test "${ac_cv_prog_CXX+set}" = set; then :
4571 $as_echo_n "(cached) " >&6
4573 if test -n "$CXX"; then
4574 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 test -z "$as_dir" && as_dir=.
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4583 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4594 if test -n "$CXX"; then
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4596 $as_echo "$CXX" >&6; }
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4599 $as_echo "no" >&6; }
4603 test -n "$CXX" && break
4606 if test -z "$CXX"; then
4608 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4610 # Extract the first word of "$ac_prog", so it can be a program name with args.
4611 set dummy $ac_prog; ac_word=$2
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4613 $as_echo_n "checking for $ac_word... " >&6; }
4614 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4615 $as_echo_n "(cached) " >&6
4617 if test -n "$ac_ct_CXX"; then
4618 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir=.
4625 for ac_exec_ext in '' $ac_executable_extensions; do
4626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4627 ac_cv_prog_ac_ct_CXX="$ac_prog"
4628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4638 if test -n "$ac_ct_CXX"; then
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4640 $as_echo "$ac_ct_CXX" >&6; }
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 $as_echo "no" >&6; }
4647 test -n "$ac_ct_CXX" && break
4650 if test "x$ac_ct_CXX" = x; then
4653 case $cross_compiling:$ac_tool_warned in
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4657 ac_tool_warned=yes ;;
4665 # Provide some information about the compiler.
4666 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4669 for ac_option in --version -v -V -qversion; do
4670 { { ac_try="$ac_compiler $ac_option >&5"
4672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4673 *) ac_try_echo
=$ac_try;;
4675 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4676 $as_echo "$ac_try_echo"; } >&5
4677 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4679 if test -s conftest.err
; then
4681 ... rest of stderr output deleted ...
4682 10q' conftest.err
>conftest.er1
4683 cat conftest.er1
>&5
4684 rm -f conftest.er1 conftest.err
4686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4687 test $ac_status = 0; }
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4691 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4692 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4693 $as_echo_n "(cached) " >&6
4695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4709 if ac_fn_cxx_try_compile
"$LINENO"; then :
4714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4715 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4719 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4720 if test $ac_compiler_gnu = yes; then
4725 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4726 ac_save_CXXFLAGS
=$CXXFLAGS
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4728 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4729 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4730 $as_echo_n "(cached) " >&6
4732 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4733 ac_cxx_werror_flag
=yes
4736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4747 if ac_fn_cxx_try_compile
"$LINENO"; then :
4748 ac_cv_prog_cxx_g
=yes
4751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4752 /* end confdefs.h. */
4762 if ac_fn_cxx_try_compile
"$LINENO"; then :
4765 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4778 if ac_fn_cxx_try_compile
"$LINENO"; then :
4779 ac_cv_prog_cxx_g
=yes
4781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4786 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4789 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4790 if test "$ac_test_CXXFLAGS" = set; then
4791 CXXFLAGS
=$ac_save_CXXFLAGS
4792 elif test $ac_cv_prog_cxx_g = yes; then
4793 if test "$GXX" = yes; then
4799 if test "$GXX" = yes; then
4806 ac_cpp
='$CPP $CPPFLAGS'
4807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4812 # We must set the default linker to the linker used by gcc for the correct
4813 # operation of libtool. If LD is not defined and we are using gcc, try to
4814 # set the LD default to the ld used by gcc.
4815 if test -z "$LD"; then
4816 if test "$GCC" = yes; then
4819 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4821 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4823 case $gcc_prog_ld in
4824 # Accept absolute paths.
4825 [\\/]* |
[A-Za-z
]:[\\/]*)
4826 LD
="$gcc_prog_ld" ;;
4834 if test -n "$ac_tool_prefix"; then
4835 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4836 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4838 $as_echo_n "checking for $ac_word... " >&6; }
4839 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4840 $as_echo_n "(cached) " >&6
4842 if test -n "$GNATBIND"; then
4843 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4849 test -z "$as_dir" && as_dir
=.
4850 for ac_exec_ext
in '' $ac_executable_extensions; do
4851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4852 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4862 GNATBIND
=$ac_cv_prog_GNATBIND
4863 if test -n "$GNATBIND"; then
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4865 $as_echo "$GNATBIND" >&6; }
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4868 $as_echo "no" >&6; }
4873 if test -z "$ac_cv_prog_GNATBIND"; then
4874 ac_ct_GNATBIND
=$GNATBIND
4875 # Extract the first word of "gnatbind", so it can be a program name with args.
4876 set dummy gnatbind
; ac_word
=$2
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878 $as_echo_n "checking for $ac_word... " >&6; }
4879 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4880 $as_echo_n "(cached) " >&6
4882 if test -n "$ac_ct_GNATBIND"; then
4883 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4889 test -z "$as_dir" && as_dir
=.
4890 for ac_exec_ext
in '' $ac_executable_extensions; do
4891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4892 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4903 if test -n "$ac_ct_GNATBIND"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4905 $as_echo "$ac_ct_GNATBIND" >&6; }
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4911 if test "x$ac_ct_GNATBIND" = x
; then
4914 case $cross_compiling:$ac_tool_warned in
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4918 ac_tool_warned
=yes ;;
4920 GNATBIND
=$ac_ct_GNATBIND
4923 GNATBIND
="$ac_cv_prog_GNATBIND"
4926 if test -n "$ac_tool_prefix"; then
4927 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4928 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4930 $as_echo_n "checking for $ac_word... " >&6; }
4931 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4932 $as_echo_n "(cached) " >&6
4934 if test -n "$GNATMAKE"; then
4935 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4941 test -z "$as_dir" && as_dir
=.
4942 for ac_exec_ext
in '' $ac_executable_extensions; do
4943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4944 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4954 GNATMAKE
=$ac_cv_prog_GNATMAKE
4955 if test -n "$GNATMAKE"; then
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4957 $as_echo "$GNATMAKE" >&6; }
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 $as_echo "no" >&6; }
4965 if test -z "$ac_cv_prog_GNATMAKE"; then
4966 ac_ct_GNATMAKE
=$GNATMAKE
4967 # Extract the first word of "gnatmake", so it can be a program name with args.
4968 set dummy gnatmake
; ac_word
=$2
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 $as_echo_n "checking for $ac_word... " >&6; }
4971 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4972 $as_echo_n "(cached) " >&6
4974 if test -n "$ac_ct_GNATMAKE"; then
4975 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4981 test -z "$as_dir" && as_dir
=.
4982 for ac_exec_ext
in '' $ac_executable_extensions; do
4983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4984 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4995 if test -n "$ac_ct_GNATMAKE"; then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4997 $as_echo "$ac_ct_GNATMAKE" >&6; }
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 $as_echo "no" >&6; }
5003 if test "x$ac_ct_GNATMAKE" = x
; then
5006 case $cross_compiling:$ac_tool_warned in
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5010 ac_tool_warned
=yes ;;
5012 GNATMAKE
=$ac_ct_GNATMAKE
5015 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5019 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5020 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5021 $as_echo_n "(cached) " >&6
5023 cat >conftest.adb
<<EOF
5024 procedure conftest is begin null; end conftest;
5026 acx_cv_cc_gcc_supports_ada
=no
5027 # There is a bug in old released versions of GCC which causes the
5028 # driver to exit successfully when the appropriate language module
5029 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5030 # Therefore we must check for the error message as well as an
5031 # unsuccessful exit.
5032 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5033 # given a .adb file, but produce no object file. So we must check
5034 # if an object file was really produced to guard against this.
5035 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5036 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5037 acx_cv_cc_gcc_supports_ada
=yes
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5042 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5044 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5051 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5052 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5053 $as_echo_n "(cached) " >&6
5057 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5058 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5059 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5062 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5065 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5066 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5069 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5076 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5077 do_compare
="$gcc_cv_prog_cmp_skip"
5081 # See if we are building gcc with C++.
5082 # Check whether --enable-build-with-cxx was given.
5083 if test "${enable_build_with_cxx+set}" = set; then :
5084 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5086 ENABLE_BUILD_WITH_CXX
=no
5090 # Used for setting $lt_cv_objdir
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5092 $as_echo_n "checking for objdir... " >&6; }
5093 if test "${lt_cv_objdir+set}" = set; then :
5094 $as_echo_n "(cached) " >&6
5096 rm -f .libs
2>/dev
/null
5097 mkdir .libs
2>/dev
/null
5098 if test -d .libs
; then
5101 # MS-DOS does not allow filenames that begin with a dot.
5104 rmdir .libs
2>/dev
/null
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5107 $as_echo "$lt_cv_objdir" >&6; }
5108 objdir
=$lt_cv_objdir
5114 cat >>confdefs.h
<<_ACEOF
5115 #define LT_OBJDIR "$lt_cv_objdir/"
5120 # Check for GMP, MPFR and MPC
5121 gmplibs
="-lmpc -lmpfr -lgmp"
5125 # Specify a location for mpc
5126 # check for this first so it ends up on the link line before mpfr.
5128 # Check whether --with-mpc was given.
5129 if test "${with_mpc+set}" = set; then :
5134 # Check whether --with-mpc-include was given.
5135 if test "${with_mpc_include+set}" = set; then :
5136 withval
=$with_mpc_include;
5140 # Check whether --with-mpc-lib was given.
5141 if test "${with_mpc_lib+set}" = set; then :
5142 withval
=$with_mpc_lib;
5146 if test "x$with_mpc" != x
; then
5147 gmplibs
="-L$with_mpc/lib $gmplibs"
5148 gmpinc
="-I$with_mpc/include $gmpinc"
5150 if test "x$with_mpc_include" != x
; then
5151 gmpinc
="-I$with_mpc_include $gmpinc"
5153 if test "x$with_mpc_lib" != x
; then
5154 gmplibs
="-L$with_mpc_lib $gmplibs"
5156 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5157 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5158 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5159 # Do not test the mpc version. Assume that it is sufficient, since
5160 # it is in the source tree, and the library has not been built yet
5161 # but it would be included on the link line in the version check below
5162 # hence making the test fail.
5166 # Specify a location for mpfr
5167 # check for this first so it ends up on the link line before gmp.
5169 # Check whether --with-mpfr-dir was given.
5170 if test "${with_mpfr_dir+set}" = set; then :
5171 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5172 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5177 # Check whether --with-mpfr was given.
5178 if test "${with_mpfr+set}" = set; then :
5183 # Check whether --with-mpfr-include was given.
5184 if test "${with_mpfr_include+set}" = set; then :
5185 withval
=$with_mpfr_include;
5189 # Check whether --with-mpfr-lib was given.
5190 if test "${with_mpfr_lib+set}" = set; then :
5191 withval
=$with_mpfr_lib;
5195 if test "x$with_mpfr" != x
; then
5196 gmplibs
="-L$with_mpfr/lib $gmplibs"
5197 gmpinc
="-I$with_mpfr/include $gmpinc"
5199 if test "x$with_mpfr_include" != x
; then
5200 gmpinc
="-I$with_mpfr_include $gmpinc"
5202 if test "x$with_mpfr_lib" != x
; then
5203 gmplibs
="-L$with_mpfr_lib $gmplibs"
5205 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5206 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5207 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5208 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5209 # Do not test the mpfr version. Assume that it is sufficient, since
5210 # it is in the source tree, and the library has not been built yet
5211 # but it would be included on the link line in the version check below
5212 # hence making the test fail.
5216 # Specify a location for gmp
5218 # Check whether --with-gmp-dir was given.
5219 if test "${with_gmp_dir+set}" = set; then :
5220 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5221 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5226 # Check whether --with-gmp was given.
5227 if test "${with_gmp+set}" = set; then :
5232 # Check whether --with-gmp-include was given.
5233 if test "${with_gmp_include+set}" = set; then :
5234 withval
=$with_gmp_include;
5238 # Check whether --with-gmp-lib was given.
5239 if test "${with_gmp_lib+set}" = set; then :
5240 withval
=$with_gmp_lib;
5245 if test "x$with_gmp" != x
; then
5246 gmplibs
="-L$with_gmp/lib $gmplibs"
5247 gmpinc
="-I$with_gmp/include $gmpinc"
5249 if test "x$with_gmp_include" != x
; then
5250 gmpinc
="-I$with_gmp_include $gmpinc"
5252 if test "x$with_gmp_lib" != x
; then
5253 gmplibs
="-L$with_gmp_lib $gmplibs"
5255 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5256 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5257 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5258 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5259 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5260 # Do not test the gmp version. Assume that it is sufficient, since
5261 # it is in the source tree, and the library has not been built yet
5262 # but it would be included on the link line in the version check below
5263 # hence making the test fail.
5267 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5269 saved_CFLAGS
="$CFLAGS"
5270 CFLAGS
="$CFLAGS $gmpinc"
5271 # Check for the recommended and required versions of GMP.
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5273 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5276 /* end confdefs.h. */
5282 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5283 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5284 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5292 if ac_fn_c_try_compile
"$LINENO"; then :
5293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5300 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5301 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5302 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5310 if ac_fn_c_try_compile
"$LINENO"; then :
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5312 $as_echo "yes" >&6; }
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5315 $as_echo "buggy but acceptable" >&6; }
5317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }; have_gmp
=no
5322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5324 # If we have GMP, check the MPFR version.
5325 if test x
"$have_gmp" = xyes
; then
5326 # Check for the recommended and required versions of MPFR.
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5328 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5337 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5345 if ac_fn_c_try_compile
"$LINENO"; then :
5346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5354 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5362 if ac_fn_c_try_compile
"$LINENO"; then :
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5364 $as_echo "yes" >&6; }
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5367 $as_echo "buggy but acceptable" >&6; }
5369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }; have_gmp
=no
5374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5377 # Check for the MPC header version.
5378 if test x
"$have_gmp" = xyes
; then
5379 # Check for the recommended and required versions of MPC.
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5381 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5383 /* end confdefs.h. */
5389 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5397 if ac_fn_c_try_compile
"$LINENO"; then :
5398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5399 /* end confdefs.h. */
5405 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5413 if ac_fn_c_try_compile
"$LINENO"; then :
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5415 $as_echo "yes" >&6; }
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5418 $as_echo "buggy but acceptable" >&6; }
5420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }; have_gmp
=no
5425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5428 # Now check the MPFR library.
5429 if test x
"$have_gmp" = xyes
; then
5431 LIBS
="$LIBS $gmplibs"
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5433 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h. */
5447 mpfr_atan2 (n, n, x, GMP_RNDN);
5448 mpfr_erfc (n, x, GMP_RNDN);
5449 mpfr_subnormalize (x, t, GMP_RNDN);
5453 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5454 mpc_cosh (c, c, MPC_RNDNN);
5455 mpc_pow (c, c, c, MPC_RNDNN);
5456 mpc_acosh (c, c, MPC_RNDNN);
5463 if ac_fn_c_try_link
"$LINENO"; then :
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5465 $as_echo "yes" >&6; }
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }; have_gmp
=no
5470 rm -f core conftest.err conftest.
$ac_objext \
5471 conftest
$ac_exeext conftest.
$ac_ext
5475 CFLAGS
="$saved_CFLAGS"
5477 # The library versions listed in the error message below should match
5478 # the HARD-minimums enforced above.
5479 if test x
$have_gmp != xyes
; then
5480 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5481 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5482 their locations. Source code for these libraries can be found at
5483 their respective hosting sites as well as at
5484 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5485 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5486 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5487 make sure that you have installed both the libraries and the header
5488 files. They may be located in separate packages." "$LINENO" 5
5492 # Flags needed for both GMP, MPFR and/or MPC.
5499 # Allow host libstdc++ to be specified for static linking with PPL.
5501 # Check whether --with-host-libstdcxx was given.
5502 if test "${with_host_libstdcxx+set}" = set; then :
5503 withval
=$with_host_libstdcxx;
5507 case $with_host_libstdcxx in
5509 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5513 # Linker flags to use for stage1 or when not boostrapping.
5515 # Check whether --with-stage1-ldflags was given.
5516 if test "${with_stage1_ldflags+set}" = set; then :
5517 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5520 stage1_ldflags
=$withval
5528 # Libraries to use for stage1 or when not bootstrapping.
5530 # Check whether --with-stage1-libs was given.
5531 if test "${with_stage1_libs+set}" = set; then :
5532 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5535 stage1_libs
=$withval
5538 stage1_libs
=$with_host_libstdcxx
5543 # Libraries to use for stage2 and later builds. This defaults to the
5544 # argument passed to --with-host-libstdcxx.
5546 # Check whether --with-boot-libs was given.
5547 if test "${with_boot_libs+set}" = set; then :
5548 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5551 poststage1_libs
=$withval
5554 poststage1_libs
=$with_host_libstdcxx
5559 # Linker flags to use for stage2 and later builds.
5561 # Check whether --with-boot-ldflags was given.
5562 if test "${with_boot_ldflags+set}" = set; then :
5563 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5566 poststage1_ldflags
=$withval
5570 # With --enable-build-with-cxx, default to linking libstdc++ and
5571 # libgcc statically. But if the user explicitly specified the
5572 # libraries to use, trust that they are doing what they want.
5573 if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then
5574 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5581 ppllibs
=" -lppl_c -lppl -lgmpxx"
5585 # Check whether --with-ppl was given.
5586 if test "${with_ppl+set}" = set; then :
5591 # Check whether --with-ppl-include was given.
5592 if test "${with_ppl_include+set}" = set; then :
5593 withval
=$with_ppl_include;
5597 # Check whether --with-ppl-lib was given.
5598 if test "${with_ppl_lib+set}" = set; then :
5599 withval
=$with_ppl_lib;
5610 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5611 pplinc
="-I$with_ppl/include $pplinc"
5614 if test "x$with_ppl_include" != x
; then
5615 pplinc
="-I$with_ppl_include $pplinc"
5617 if test "x$with_ppl_lib" != x
; then
5618 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5620 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5621 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -lppl_c -lppl -lgmpxx '
5622 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5623 enable_ppl_version_check
=no
5626 # Check whether --enable-ppl-version-check was given.
5627 if test "${enable_ppl_version_check+set}" = set; then :
5628 enableval
=$enable_ppl_version_check; ENABLE_PPL_CHECK
=$enableval
5630 ENABLE_PPL_CHECK
=yes
5634 if test "x$with_ppl" != "xno" -a "${ENABLE_PPL_CHECK}" = "yes"; then
5635 saved_CFLAGS
="$CFLAGS"
5636 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 (or later revision) of PPL" >&5
5638 $as_echo_n "checking for version 0.10 (or later revision) of PPL... " >&6; }
5639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5640 /* end confdefs.h. */
5646 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
5654 if ac_fn_c_try_compile
"$LINENO"; then :
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5656 $as_echo "yes" >&6; }
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5659 $as_echo "no" >&6; }; ppllibs
= ; pplinc
= ; with_ppl
=no
5661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5662 CFLAGS
="$saved_CFLAGS"
5665 # Flags needed for PPL
5674 # Check whether --with-cloog was given.
5675 if test "${with_cloog+set}" = set; then :
5676 withval
=$with_cloog;
5680 # Check whether --with-cloog-include was given.
5681 if test "${with_cloog_include+set}" = set; then :
5682 withval
=$with_cloog_include;
5686 # Check whether --with-cloog-lib was given.
5687 if test "${with_cloog_lib+set}" = set; then :
5688 withval
=$with_cloog_lib;
5692 # Check whether --enable-cloog-backend was given.
5693 if test "${enable_cloog_backend+set}" = set; then :
5694 enableval
=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
5696 elif test "x${enableval}" = "xppl"; then
5699 cloog_backend
=ppl-legacy
5702 cloog_backend
=ppl-legacy
5705 # Check whether --enable-cloog-version-check was given.
5706 if test "${enable_cloog_version_check+set}" = set; then :
5707 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5709 ENABLE_CLOOG_CHECK
=yes
5713 # Initialize clooglibs and clooginc.
5722 clooglibs
="-L$with_cloog/lib"
5723 clooginc
="-I$with_cloog/include"
5726 if test "x${with_cloog_include}" != x
; then
5727 clooginc
="-I$with_cloog_include"
5729 if test "x${with_cloog_lib}" != x
; then
5730 clooglibs
="-L$with_cloog_lib"
5737 if test "x$with_ppl" = "xno"; then
5740 if test "x${with_cloog}" = x
&& test "x${with_cloog_include}" = x \
5741 && test "x${with_cloog_lib}" = x
&& test -d ${srcdir}/cloog
; then
5742 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5743 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5745 if test "x$with_cloog" != "xno"; then
5749 _cloog_saved_CFLAGS
=$CFLAGS
5750 _cloog_saved_CPPFLAGS
=$CPPFLAGS
5751 _cloog_saved_LDFLAGS
=$LDFLAGS
5752 _cloog_saved_LIBS
=$LIBS
5754 _cloogorginc
="-DCLOOG_INT_GMP -DCLOOG_ORG"
5756 CFLAGS
="${CFLAGS} ${clooginc} ${gmpinc}"
5757 CPPFLAGS
="${CPPFLAGS} ${_cloogorginc}"
5758 LDFLAGS
="${LDFLAGS} ${clooglibs}"
5760 case $cloog_backend in
5762 CFLAGS
="${CFLAGS} ${pplinc}"
5763 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
5765 $as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
5766 if test "${gcc_cv_cloog_type+set}" = set; then :
5767 $as_echo_n "(cached) " >&6
5769 LIBS
="-lcloog ${_cloog_saved_LIBS}"
5770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5771 /* end confdefs.h. */
5772 #include "cloog/cloog.h"
5776 #ifndef CLOOG_PPL_BACKEND
5783 if ac_fn_c_try_link
"$LINENO"; then :
5784 gcc_cv_cloog_type
="PPL Legacy"
5786 gcc_cv_cloog_type
=no
5788 rm -f core conftest.err conftest.
$ac_objext \
5789 conftest
$ac_exeext conftest.
$ac_ext
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5792 $as_echo "$gcc_cv_cloog_type" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5796 $as_echo_n "checking for installed CLooG ISL... " >&6; }
5797 if test "${gcc_cv_cloog_type+set}" = set; then :
5798 $as_echo_n "(cached) " >&6
5800 LIBS
="-lcloog-isl ${_cloog_saved_LIBS}"
5801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5802 /* end confdefs.h. */
5803 #include "cloog/cloog.h"
5812 if ac_fn_c_try_link
"$LINENO"; then :
5813 gcc_cv_cloog_type
="ISL"
5815 gcc_cv_cloog_type
=no
5817 rm -f core conftest.err conftest.
$ac_objext \
5818 conftest
$ac_exeext conftest.
$ac_ext
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5821 $as_echo "$gcc_cv_cloog_type" >&6; }
5824 CFLAGS
="${CFLAGS} ${pplinc}"
5825 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
5827 $as_echo_n "checking for installed CLooG PPL... " >&6; }
5828 if test "${gcc_cv_cloog_type+set}" = set; then :
5829 $as_echo_n "(cached) " >&6
5831 LIBS
="-lcloog-ppl ${_cloog_saved_LIBS}"
5832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5833 /* end confdefs.h. */
5834 #include "cloog/cloog.h"
5835 #include "cloog/ppl/cloog.h"
5844 if ac_fn_c_try_link
"$LINENO"; then :
5845 gcc_cv_cloog_type
="PPL"
5847 gcc_cv_cloog_type
=no
5849 rm -f core conftest.err conftest.
$ac_objext \
5850 conftest
$ac_exeext conftest.
$ac_ext
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5853 $as_echo "$gcc_cv_cloog_type" >&6; }
5856 gcc_cv_cloog_type
=""
5859 case $gcc_cv_cloog_type in
5861 clooginc
="${clooginc}"
5862 clooglibs
="${clooglibs} -lcloog"
5866 clooginc
="${clooginc} ${_cloogorginc}"
5867 clooglibs
="${clooglibs} -lcloog-isl"
5871 clooginc
="${clooginc} ${_cloogorginc}"
5872 clooglibs
="${clooglibs} -lcloog-ppl"
5882 LIBS
=$_cloog_saved_LIBS
5883 CFLAGS
=$_cloog_saved_CFLAGS
5884 CPPFLAGS
=$_cloog_saved_CPPFLAGS
5885 LDFLAGS
=$_cloog_saved_LDFLAGS
5891 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5892 _cloog_saved_CFLAGS
=$CFLAGS
5893 _cloog_saved_LDFLAGS
=$LDFLAGS
5895 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5896 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5898 if test "${cloog_org}" = yes ; then
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.14.0 of CLooG" >&5
5900 $as_echo_n "checking for version 0.14.0 of CLooG... " >&6; }
5901 if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5902 $as_echo_n "(cached) " >&6
5904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5905 /* end confdefs.h. */
5906 #include "cloog/cloog.h"
5910 #if CLOOG_VERSION_MAJOR != 0 \
5911 || CLOOG_VERSION_MINOR != 14 \
5912 || CLOOG_VERSION_REVISION < 0
5919 if ac_fn_c_try_compile
"$LINENO"; then :
5920 gcc_cv_cloog_ct_0_14_0
=yes
5922 gcc_cv_cloog_ct_0_14_0
=no
5924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
5927 $as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
5928 elif test "${cloog_org}" = no
; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5930 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5931 if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
5932 $as_echo_n "(cached) " >&6
5934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5935 /* end confdefs.h. */
5936 #include "cloog/cloog.h"
5940 #if CLOOG_VERSION_MAJOR != 0 \
5941 || CLOOG_VERSION_MINOR != 15 \
5942 || CLOOG_VERSION_REVISION < 5
5949 if ac_fn_c_try_compile
"$LINENO"; then :
5950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5951 /* end confdefs.h. */
5952 #include "cloog/cloog.h"
5956 #if CLOOG_VERSION_MAJOR != 0 \
5957 || CLOOG_VERSION_MINOR != 15 \
5958 || CLOOG_VERSION_REVISION < 9
5965 if ac_fn_c_try_compile
"$LINENO"; then :
5966 gcc_cv_cloog_ct_0_15_5
=yes
5968 gcc_cv_cloog_ct_0_15_5
="buggy but acceptable"
5970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5972 gcc_cv_cloog_ct_0_15_5
=no
5974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
5977 $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
5980 CFLAGS
=$_cloog_saved_CFLAGS
5981 LDFLAGS
=$_cloog_saved_LDFLAGS
5990 if test "x${with_cloog}" != x \
5991 ||
test "x${with_cloog_include}" != x \
5992 ||
test "x${with_cloog_lib}" != x
; then
5993 graphite_requested
=yes
5995 graphite_requested
=no
6000 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
6001 ||
test "${gcc_cv_cloog_rt_0_14_0}" = no \
6002 ||
test "${gcc_cv_cloog_ct_0_15_5}" = no
; then
6007 if test "${graphite_requested}" = yes \
6008 && test "x${clooglibs}" = x \
6009 && test "x${clooginc}" = x
; then
6011 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6017 # Check for LTO support.
6018 # Check whether --enable-lto was given.
6019 if test "${enable_lto+set}" = set; then :
6020 enableval
=$enable_lto; enable_lto
=$enableval
6022 enable_lto
=yes; default_enable_lto
=yes
6031 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6032 *-msdosdjgpp* |
*-netware* |
*-vms* |
*-wince* |
*-*-pe* | \
6033 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6041 if test $target_elf = yes; then :
6042 # ELF platforms build the lto-plugin always.
6043 build_lto_plugin
=yes
6046 if test x
"$default_enable_lto" = x
"yes" ; then
6048 *-apple-darwin* |
*-cygwin* |
*-mingw*) ;;
6049 # On other non-ELF platforms, LTO has yet to be validated.
6053 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6054 # It would also be nice to check the binutils support, but we don't
6055 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6056 # warn during gcc/ subconfigure; unless you're bootstrapping with
6057 # -flto it won't be needed until after installation anyway.
6059 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6060 *) if test x
"$enable_lto" = x
"yes"; then
6061 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6066 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6067 # Build it unless LTO was explicitly disabled.
6069 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6077 # By default, C is the only stage 1 language.
6078 stage1_languages
=,c
,
6080 # Target libraries that we bootstrap.
6081 bootstrap_target_libs
=,target-libgcc
,
6083 # Figure out what language subdirectories are present.
6084 # Look if the user specified --enable-languages="..."; if not, use
6085 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6087 # NB: embedded tabs in this IF block -- do not untabify
6088 if test -d ${srcdir}/gcc
; then
6089 if test x
"${enable_languages+set}" != xset
; then
6090 if test x
"${LANGUAGES+set}" = xset
; then
6091 enable_languages
="${LANGUAGES}"
6092 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6094 enable_languages
=all
6097 if test x
"${enable_languages}" = x ||
6098 test x
"${enable_languages}" = xyes
;
6100 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6104 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6106 # 'f95' is the old name for the 'fortran' language. We issue a warning
6107 # and make the substitution.
6108 case ,${enable_languages}, in
6110 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6111 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6115 # First scan to see if an enabled language requires some other language.
6116 # We assume that a given config-lang.in will list all the language
6117 # front ends it requires, even if some are required indirectly.
6118 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6119 case ${lang_frag} in
6121 # The odd quoting in the next line works around
6122 # an apparent bug in bash 1.12 on linux.
6123 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6125 # From the config-lang.in, get $language, $lang_requires, and
6126 # $lang_requires_boot_languages.
6129 lang_requires_boot_languages
=
6131 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6132 case ,${enable_languages}, in
6136 echo " \`$other' language required by \`$language'; enabling" 1>&2
6137 enable_languages
="${enable_languages},${other}"
6141 for other
in ${lang_requires_boot_languages} ; do
6142 if test "$other" != "c"; then
6143 case ,${enable_stage1_languages}, in
6147 case ,${enable_languages}, in
6149 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6150 enable_stage1_languages
="$enable_stage1_languages,${other}"
6161 new_enable_languages
=,c
,
6163 # If LTO is enabled, add the LTO front end.
6164 extra_host_libiberty_configure_flags
=
6165 if test "$enable_lto" = "yes" ; then
6166 case ,${enable_languages}, in
6168 *) enable_languages
="${enable_languages},lto" ;;
6170 if test "${build_lto_plugin}" = "yes" ; then
6171 configdirs
="$configdirs lto-plugin"
6172 extra_host_libiberty_configure_flags
=--enable-shared
6177 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6178 potential_languages
=,c
,
6180 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6181 case ${lang_frag} in
6183 # The odd quoting in the next line works around
6184 # an apparent bug in bash 1.12 on linux.
6185 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6187 # From the config-lang.in, get $language, $target_libs,
6188 # $lang_dirs, $boot_language, and $build_by_default
6194 build_by_default
=yes
6196 if test x
${language} = x
; then
6197 echo "${lang_frag} doesn't set \$language." 1>&2
6201 if test "$language" = "c++" \
6202 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
6206 case ,${enable_languages}, in
6208 # Language was explicitly selected; include it.
6212 # 'all' was selected, select it if it is a default language
6213 add_this_lang
=${build_by_default}
6220 # Disable languages that need other directories if these aren't available.
6221 for i
in $subdir_requires; do
6222 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6223 case ,${enable_languages}, in
6225 # Specifically requested language; tell them.
6226 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6230 add_this_lang
=unsupported
6235 # Disable Ada if no preexisting GNAT is available.
6236 case ,${enable_languages},:${language}:${have_gnat} in
6237 *,${language},*:ada
:no
)
6238 # Specifically requested language; tell them.
6239 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6243 add_this_lang
=unsupported
6247 # Disable a language that is unsupported by the target.
6248 case " $unsupported_languages " in
6250 add_this_lang
=unsupported
6254 case $add_this_lang in
6256 # Remove language-dependent dirs.
6257 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
6260 # Remove language-dependent dirs; still show language as supported.
6261 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
6262 potential_languages
="${potential_languages}${language},"
6265 new_enable_languages
="${new_enable_languages}${language},"
6266 potential_languages
="${potential_languages}${language},"
6267 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6268 case "${boot_language}:,$enable_stage1_languages," in
6269 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6270 # Add to (comma-separated) list of stage 1 languages.
6271 case ",$stage1_languages," in
6272 *,$language,* |
,yes, |
,all
,) ;;
6273 *) stage1_languages
="${stage1_languages}${language}," ;;
6275 # We need to bootstrap any supporting libraries.
6276 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6285 # Check whether --enable-stage1-languages was given.
6286 if test "${enable_stage1_languages+set}" = set; then :
6287 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6289 # Set it to something that will have no effect in the loop below
6290 enable_stage1_languages
=c
;;
6292 enable_stage1_languages
=`echo $new_enable_languages | \
6293 sed -e "s/^,//" -e "s/,$//" ` ;;
6295 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6296 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6299 # Add "good" languages from enable_stage1_languages to stage1_languages,
6300 # while "bad" languages go in missing_languages. Leave no duplicates.
6301 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6302 case $potential_languages in
6304 case $stage1_languages in
6306 *) stage1_languages
="$stage1_languages$i," ;;
6309 case $missing_languages in
6311 *) missing_languages
="$missing_languages$i," ;;
6318 # Remove leading/trailing commas that were added for simplicity
6319 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6320 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6321 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6322 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6324 if test "x$missing_languages" != x
; then
6326 The following requested languages could not be built: ${missing_languages}
6327 Supported languages are: ${potential_languages}" "$LINENO" 5
6329 if test "x$new_enable_languages" != "x$enable_languages"; then
6330 echo The following languages will be built
: ${new_enable_languages}
6331 enable_languages
="$new_enable_languages"
6335 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6338 # Handle --disable-<component> generically.
6339 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6340 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6341 varname
=`echo $dirname | sed -e s/+/_/g`
6342 if eval test x\
${enable_${varname}} "=" xno
; then
6343 noconfigdirs
="$noconfigdirs $dir"
6347 # Check for Boehm's garbage collector
6348 # Check whether --enable-objc-gc was given.
6349 if test "${enable_objc_gc+set}" = set; then :
6350 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6351 *,objc
,*:*:yes:*target-boehm-gc
*)
6352 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6358 # Make sure we only build Boehm's garbage collector if required.
6359 case ,${enable_languages},:${enable_objc_gc} in
6361 # Keep target-boehm-gc if requested for Objective-C.
6364 # Otherwise remove target-boehm-gc depending on target-libjava.
6365 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6366 noconfigdirs
="$noconfigdirs target-boehm-gc"
6371 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6372 # $build_configdirs and $target_configdirs.
6373 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6376 for dir
in .
$skipdirs $noconfigdirs ; do
6377 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6378 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6379 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6380 if test -r $srcdir/$dirname/configure
; then
6381 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6384 notsupp
="$notsupp $dir"
6388 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6389 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6390 if test -r $srcdir/$dirname/configure
; then
6391 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6394 notsupp
="$notsupp $dir"
6398 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6399 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6400 if test -r $srcdir/$dirname/configure
; then
6401 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6404 notsupp
="$notsupp $dir"
6410 # Sometimes the tools are distributed with libiberty but with no other
6411 # libraries. In that case, we don't want to build target-libiberty.
6412 # Don't let libgcc imply libiberty either.
6413 if test -n "${target_configdirs}" ; then
6416 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
6417 if test "$i" = "libgcc"; then
6418 libgcc
=target-libgcc
6419 elif test "$i" != "libiberty" ; then
6420 if test -r $srcdir/$i/configure
; then
6426 if test -z "${others}" ; then
6427 target_configdirs
=$libgcc
6431 # Quietly strip out all directories which aren't configurable in this tree.
6432 # This relies on all configurable subdirectories being autoconfiscated, which
6434 build_configdirs_all
="$build_configdirs"
6436 for i
in ${build_configdirs_all} ; do
6437 j
=`echo $i | sed -e s/build-//g`
6438 if test -f ${srcdir}/$j/configure
; then
6439 build_configdirs
="${build_configdirs} $i"
6443 configdirs_all
="$configdirs"
6445 for i
in ${configdirs_all} ; do
6446 if test -f ${srcdir}/$i/configure
; then
6447 configdirs
="${configdirs} $i"
6451 target_configdirs_all
="$target_configdirs"
6453 for i
in ${target_configdirs_all} ; do
6454 j
=`echo $i | sed -e s/target-//g`
6455 if test -f ${srcdir}/$j/configure
; then
6456 target_configdirs
="${target_configdirs} $i"
6460 # Produce a warning message for the subdirs we can't configure.
6461 # This isn't especially interesting in the Cygnus tree, but in the individual
6462 # FSF releases, it's important to let people know when their machine isn't
6463 # supported by the one or two programs in a package.
6465 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6466 # If $appdirs is non-empty, at least one of those directories must still
6467 # be configured, or we error out. (E.g., if the gas release supports a
6468 # specified target in some subdirs but not the gas subdir, we shouldn't
6469 # pretend that all is well.)
6470 if test -n "$appdirs" ; then
6471 for dir
in $appdirs ; do
6472 if test -r $dir/Makefile.
in ; then
6473 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6477 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6483 if test -n "$appdirs" ; then
6484 echo "*** This configuration is not supported by this package." 1>&2
6488 # Okay, some application will build, or we don't care to check. Still
6489 # notify of subdirs not getting built.
6490 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6491 echo " ${notsupp}" 1>&2
6492 echo " (Any other directories should still work fine.)" 1>&2
6500 # To find our prefix, in gcc_cv_tool_prefix.
6502 # The user is always right.
6503 if test "${PATH_SEPARATOR+set}" != set; then
6504 echo "#! /bin/sh" >conf$$.sh
6505 echo "exit 0" >>conf$$.sh
6507 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6517 if test "x$exec_prefix" = xNONE
; then
6518 if test "x$prefix" = xNONE
; then
6519 gcc_cv_tool_prefix
=$ac_default_prefix
6521 gcc_cv_tool_prefix
=$prefix
6524 gcc_cv_tool_prefix
=$exec_prefix
6527 # If there is no compiler in the tree, use the PATH only. In any
6528 # case, if there is no compiler in the tree nobody should use
6529 # AS_FOR_TARGET and LD_FOR_TARGET.
6530 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6531 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6532 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6533 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6534 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6535 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6536 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6537 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6542 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6543 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6551 # Check whether --with-build-sysroot was given.
6552 if test "${with_build_sysroot+set}" = set; then :
6553 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6554 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6557 SYSROOT_CFLAGS_FOR_TARGET
=
6563 # Check whether --with-debug-prefix-map was given.
6564 if test "${with_debug_prefix_map+set}" = set; then :
6565 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6566 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6567 for debug_map
in $withval; do
6568 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6572 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6577 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6578 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6579 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6580 # We want to ensure that TARGET libraries (which we know are built with
6581 # gcc) are built with "-O2 -g", so include those options when setting
6582 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6583 if test "x$CFLAGS_FOR_TARGET" = x
; then
6584 CFLAGS_FOR_TARGET
=$CFLAGS
6587 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6590 *" -g "* |
*" -g3 "*) ;;
6591 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6596 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6597 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6598 case " $CXXFLAGS " in
6600 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6602 case " $CXXFLAGS " in
6603 *" -g "* |
*" -g3 "*) ;;
6604 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
6609 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6610 # the named directory are copied to $(tooldir)/sys-include.
6611 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6612 if test x
${is_cross_compiler} = xno
; then
6613 echo 1>&2 '***' --with-headers is only supported when cross compiling
6616 if test x
"${with_headers}" != xyes
; then
6617 x
=${gcc_cv_tool_prefix}
6618 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6622 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6623 # the name directories are copied to $(tooldir)/lib. Multiple directories
6625 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6626 if test x
${is_cross_compiler} = xno
; then
6627 echo 1>&2 '***' --with-libs is only supported when cross compiling
6630 if test x
"${with_libs}" != xyes
; then
6631 # Copy the libraries in reverse order, so that files in the first named
6632 # library override files in subsequent libraries.
6633 x
=${gcc_cv_tool_prefix}
6634 for l
in ${with_libs}; do
6635 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6640 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6642 # This is done by determining whether or not the appropriate directory
6643 # is available, and by checking whether or not specific configurations
6644 # have requested that this magic not happen.
6646 # The command line options always override the explicit settings in
6647 # configure.in, and the settings in configure.in override this magic.
6649 # If the default for a toolchain is to use GNU as and ld, and you don't
6650 # want to do that, then you should use the --without-gnu-as and
6651 # --without-gnu-ld options for the configure script. Similarly, if
6652 # the default is to use the included zlib and you don't want to do that,
6653 # you should use the --with-system-zlib option for the configure script.
6655 if test x
${use_gnu_as} = x
&&
6656 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6658 extra_host_args
="$extra_host_args --with-gnu-as"
6661 if test x
${use_gnu_ld} = x
&&
6662 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6664 extra_host_args
="$extra_host_args --with-gnu-ld"
6667 if test x
${use_included_zlib} = x
&&
6668 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6671 with_system_zlib
=yes
6672 extra_host_args
="$extra_host_args --with-system-zlib"
6675 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6676 # can detect this case.
6678 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6680 extra_host_args
="$extra_host_args --with-newlib"
6683 # Handle ${copy_dirs}
6684 set fnord
${copy_dirs}
6686 while test $# != 0 ; do
6687 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6690 echo Copying
$1 to
$2
6692 # Use the install script to create the directory and all required
6693 # parent directories.
6694 if test -d $2 ; then
6698 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6701 # Copy the directory, assuming we have tar.
6702 # FIXME: Should we use B in the second tar? Not all systems support it.
6703 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6705 # It is the responsibility of the user to correctly adjust all
6706 # symlinks. If somebody can figure out how to handle them correctly
6707 # here, feel free to add the code.
6714 # Determine a target-dependent exec_prefix that the installed
6715 # gcc will search in. Keep this list sorted by triplet, with
6716 # the *-*-osname triplets last.
6720 md_exec_prefix
=/gnu
/lib
/gcc-lib
6722 i
[34567]86-pc-msdosdjgpp*)
6723 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6725 i
[34567]86-*-sco3.2v5
*)
6726 if test $with_gnu_as = yes; then
6727 md_exec_prefix
=/usr
/gnu
/bin
6729 md_exec_prefix
=/usr
/ccs
/bin
/elf
6734 powerpc-
*-chorusos* | \
6735 powerpc
*-*-eabi* | \
6736 powerpc
*-*-sysv* | \
6737 powerpc
*-*-kaos* | \
6739 md_exec_prefix
=/usr
/ccs
/bin
6744 md_exec_prefix
=/usr
/ccs
/bin
6759 md_exec_prefix
=/usr
/ccs
/bin
6763 extra_arflags_for_target
=
6764 extra_nmflags_for_target
=
6765 extra_ranlibflags_for_target
=
6766 target_makefile_frag
=/dev
/null
6769 target_makefile_frag
="config/mt-mep"
6772 target_makefile_frag
="config/mt-spu"
6775 target_makefile_frag
="config/mt-sde"
6777 mipsisa
*-*-elfoabi*)
6778 target_makefile_frag
="config/mt-mips-elfoabi"
6780 mips
*-*-*linux
* | mips
*-*-gnu*)
6781 target_makefile_frag
="config/mt-mips-gnu"
6784 target_makefile_frag
="config/mt-netware"
6786 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6787 target_makefile_frag
="config/mt-gnu"
6789 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6790 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6791 # commands to handle both 32-bit and 64-bit objects. These flags are
6792 # harmless if we're using GNU nm or ar.
6793 extra_arflags_for_target
=" -X32_64"
6794 extra_nmflags_for_target
=" -B -X32_64"
6797 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6798 extra_ranlibflags_for_target
=" -c"
6800 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
6801 target_makefile_frag
="config/mt-wince"
6805 alphaieee_frag
=/dev
/null
6808 # This just makes sure to use the -mieee option to build target libs.
6809 # This should probably be set individually by each library.
6810 alphaieee_frag
="config/mt-alphaieee"
6814 # If --enable-target-optspace always use -Os instead of -O2 to build
6815 # the target libraries, similarly if it is not specified, use -Os
6816 # on selected platforms.
6817 ospace_frag
=/dev
/null
6818 case "${enable_target_optspace}:${target}" in
6820 ospace_frag
="config/mt-ospace"
6823 ospace_frag
="config/mt-d30v"
6825 :m32r-
* |
:d10v-
* |
:fr30-
*)
6826 ospace_frag
="config/mt-ospace"
6831 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6835 # Default to using --with-stabs for certain targets.
6836 if test x
${with_stabs} = x
; then
6840 mips
*-*-* | alpha
*-*-osf*)
6842 extra_host_args
="${extra_host_args} --with-stabs"
6847 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6848 # them automatically.
6851 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6855 # Some systems (e.g., one of the i386-aix systems the gas testers are
6856 # using) don't handle "\$" correctly, so don't use it here.
6857 tooldir
='${exec_prefix}'/${target_noncanonical}
6858 build_tooldir
=${tooldir}
6860 # Create a .gdbinit file which runs the one in srcdir
6861 # and tells GDB to look there for source files.
6863 if test -r ${srcdir}/.gdbinit
; then
6866 *) cat > .
/.gdbinit
<<EOF
6870 source ${srcdir}/.gdbinit
6876 # Make sure that the compiler is able to generate an executable. If it
6877 # can't, we are probably in trouble. We don't care whether we can run the
6878 # executable--we might be using a cross compiler--we only care whether it
6879 # can be created. At this point the main configure script has set CC.
6881 echo "int main () { return 0; }" > conftest.c
6882 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6883 if test $?
= 0 ; then
6884 if test -s conftest ||
test -s conftest.exe
; then
6890 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6891 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6898 # The Solaris /usr/ucb/cc compiler does not appear to work.
6900 sparc-sun-solaris2
*)
6901 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
6902 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6904 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
6905 if test -d /opt
/cygnus
/bin
; then
6906 if test "$could_use" = "" ; then
6907 could_use
="/opt/cygnus/bin"
6909 could_use
="$could_use or /opt/cygnus/bin"
6912 if test "$could_use" = "" ; then
6913 echo "Warning: compilation may fail because you're using"
6914 echo "/usr/ucb/cc. You should change your PATH or CC "
6915 echo "variable and rerun configure."
6917 echo "Warning: compilation may fail because you're using"
6918 echo "/usr/ucb/cc, when you should use the C compiler from"
6919 echo "$could_use. You should change your"
6920 echo "PATH or CC variable and rerun configure."
6926 # Decide which environment variable is used to find dynamic libraries.
6928 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6929 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6930 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6931 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6934 # On systems where the dynamic library environment variable is PATH,
6935 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6936 # built executables to PATH.
6937 if test "$RPATH_ENVVAR" = PATH
; then
6938 GCC_SHLIB_SUBDIR
=/shlib
6943 # Record target_configdirs and the configure arguments for target and
6944 # build configuration in Makefile.
6945 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6946 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6948 # If we are building libgomp, bootstrap it.
6949 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6950 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6953 # Determine whether gdb needs tk/tcl or not.
6954 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6955 # and in that case we want gdb to be built without tk. Ugh!
6956 # In fact I believe gdb is the *only* package directly dependent on tk,
6957 # so we should be able to put the 'maybe's in unconditionally and
6958 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6959 # 100% sure that that's safe though.
6961 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6962 case "$enable_gdbtk" in
6966 GDB_TK
="${gdb_tk}" ;;
6968 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6969 # distro. Eventually someone will fix this and move Insight, nee
6970 # gdbtk to a separate directory.
6971 if test -d ${srcdir}/gdb
/gdbtk
; then
6978 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6979 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6981 # Strip out unwanted targets.
6983 # While at that, we remove Makefiles if we were started for recursive
6984 # configuration, so that the top-level Makefile reconfigures them,
6985 # like we used to do when configure itself was recursive.
6987 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6988 # but now we're fixing up the Makefile ourselves with the additional
6989 # commands passed to AC_CONFIG_FILES. Use separate variables
6990 # extrasub-{build,host,target} not because there is any reason to split
6991 # the substitutions up that way, but only to remain below the limit of
6992 # 99 commands in a script, for HP-UX sed.
6993 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6995 # Check whether --enable-bootstrap was given.
6996 if test "${enable_bootstrap+set}" = set; then :
6997 enableval
=$enable_bootstrap;
6999 enable_bootstrap
=default
7003 # Issue errors and warnings for invalid/strange bootstrap combinations.
7004 case "$configdirs" in
7005 *gcc
*) have_compiler
=yes ;;
7006 *) have_compiler
=no
;;
7009 case "$have_compiler:$host:$target:$enable_bootstrap" in
7012 # Default behavior. Enable bootstrap if we have a compiler
7013 # and we are in a native configuration.
7014 yes:$build:$build:default
)
7015 enable_bootstrap
=yes ;;
7018 enable_bootstrap
=no
;;
7020 # We have a compiler and we are in a native configuration, bootstrap is ok
7021 yes:$build:$build:yes)
7024 # Other configurations, but we have a compiler. Assume the user knows
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
7028 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
7031 # No compiler: if they passed --enable-bootstrap explicitly, fail
7033 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
7035 # Fail if wrong command line
7037 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
7041 case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
7044 as_fn_error
"bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
7048 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7049 yes:yes:*\ gold\
*:*,c
++,*) ;;
7050 yes:yes:*\ gold\
*:*)
7051 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7055 # Adjust the toplevel makefile according to whether bootstrap was selected.
7056 case $enable_bootstrap in
7058 bootstrap_suffix
=bootstrap
7059 BUILD_CONFIG
=bootstrap-debug
7062 bootstrap_suffix
=no-bootstrap
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7068 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7071 # Check whether --with-build-config was given.
7072 if test "${with_build_config+set}" = set; then :
7073 withval
=$with_build_config; case $with_build_config in
7074 yes) with_build_config
= ;;
7075 no
) with_build_config
= BUILD_CONFIG
= ;;
7080 if test "x${with_build_config}" != x
; then
7081 BUILD_CONFIG
=$with_build_config
7083 case $BUILD_CONFIG in
7085 if echo "int f (void) { return 0; }" > conftest.c
&&
7086 ${CC} -c conftest.c
&&
7087 mv conftest.o conftest.o.g0
&&
7088 ${CC} -c -g conftest.c
&&
7089 mv conftest.o conftest.o.g
&&
7090 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7095 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7100 $as_echo "$BUILD_CONFIG" >&6; }
7104 for module
in ${build_configdirs} ; do
7105 if test -z "${no_recursion}" \
7106 && test -f ${build_subdir}/${module}/Makefile
; then
7107 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7108 rm -f ${build_subdir}/${module}/Makefile
7110 extrasub_build
="$extrasub_build
7111 /^@if build-$module\$/d
7112 /^@endif build-$module\$/d
7113 /^@if build-$module-$bootstrap_suffix\$/d
7114 /^@endif build-$module-$bootstrap_suffix\$/d"
7117 for module
in ${configdirs} ; do
7118 if test -z "${no_recursion}"; then
7119 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7120 if test -f ${file}; then
7121 echo 1>&2 "*** removing ${file} to force reconfigure"
7126 extrasub_host
="$extrasub_host
7128 /^@endif $module\$/d
7129 /^@if $module-$bootstrap_suffix\$/d
7130 /^@endif $module-$bootstrap_suffix\$/d"
7133 for module
in ${target_configdirs} ; do
7134 if test -z "${no_recursion}" \
7135 && test -f ${target_subdir}/${module}/Makefile
; then
7136 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7137 rm -f ${target_subdir}/${module}/Makefile
7140 # We only bootstrap target libraries listed in bootstrap_target_libs.
7141 case $bootstrap_target_libs in
7142 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7143 *) target_bootstrap_suffix
=no-bootstrap
;;
7146 extrasub_target
="$extrasub_target
7147 /^@if target-$module\$/d
7148 /^@endif target-$module\$/d
7149 /^@if target-$module-$target_bootstrap_suffix\$/d
7150 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7153 # Do the final fixup along with target modules.
7154 extrasub_target
="$extrasub_target
7155 /^@if /,/^@endif /d"
7157 # Create the serialization dependencies. This uses a temporary file.
7159 # Check whether --enable-serial-configure was given.
7160 if test "${enable_serial_configure+set}" = set; then :
7161 enableval
=$enable_serial_configure;
7165 case ${enable_serial_configure} in
7167 enable_serial_build_configure
=yes
7168 enable_serial_host_configure
=yes
7169 enable_serial_target_configure
=yes
7173 # These force 'configure's to be done one at a time, to avoid problems
7174 # with contention over a shared config.cache.
7176 echo '# serdep.tmp' > serdep.tmp
7178 test "x${enable_serial_build_configure}" = xyes
&&
7179 for item
in ${build_configdirs} ; do
7182 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7187 test "x${enable_serial_host_configure}" = xyes
&&
7188 for item
in ${configdirs} ; do
7191 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7196 test "x${enable_serial_target_configure}" = xyes
&&
7197 for item
in ${target_configdirs} ; do
7200 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7204 serialization_dependencies
=serdep.tmp
7207 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7208 # target, nonopt, and variable assignments. These are the ones we
7209 # might not want to pass down to subconfigures. The exception being
7210 # --cache-file=/dev/null, which is used to turn off the use of cache
7211 # files altogether, and which should be passed on to subconfigures.
7212 # Also strip program-prefix, program-suffix, and program-transform-name,
7213 # so that we can pass down a consistent program-transform-name.
7217 eval "set -- $ac_configure_args"
7220 if test X
"$skip_next" = X
"yes"; then
7224 if test X
"$keep_next" = X
"yes"; then
7227 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7229 baseargs
="$baseargs '$ac_arg'"
7234 # Handle separated arguments. Based on the logic generated by
7237 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7238 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7239 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7240 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7252 --cache-file=/dev
/null | \
7253 -cache-file=/dev
/null
)
7254 # Handled here to avoid the test to skip args below.
7255 baseargs
="$baseargs '$ac_arg'"
7256 # Assert: $separate_arg should always be no.
7257 keep_next
=$separate_arg
7273 -program-prefix* | \
7274 -program-suffix* | \
7275 -program-transform-name* )
7276 skip_next
=$separate_arg
7280 # An option. Add it.
7283 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7285 baseargs
="$baseargs '$ac_arg'"
7286 keep_next
=$separate_arg
7289 # Either a variable assignment, or a nonopt (triplet). Don't
7290 # pass it down; let the Makefile handle this.
7295 # Remove the initial space we just introduced and, as these will be
7296 # expanded by make, quote '$'.
7297 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7299 # Add in --program-transform-name, after --program-prefix and
7300 # --program-suffix have been applied to it. Autoconf has already
7301 # doubled dollar signs and backslashes in program_transform_name; we want
7302 # the backslashes un-doubled, and then the entire thing wrapped in single
7303 # quotes, because this will be expanded first by make and then by the shell.
7304 # Also, because we want to override the logic in subdir configure scripts to
7305 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7306 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7307 ${program_transform_name}
7309 gcc_transform_name
=`cat conftestsed.out`
7310 rm -f conftestsed.out
7311 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7312 if test "$silent" = yes; then
7313 baseargs
="$baseargs --silent"
7315 baseargs
="$baseargs --disable-option-checking"
7317 # Record and document user additions to sub configure arguments.
7322 # For the build-side libraries, we just need to pretend we're native,
7323 # and not use the same cache file. Multilibs are neither needed nor
7325 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7327 # For host modules, accept cache file option, or specification as blank.
7328 case "${cache_file}" in
7330 cache_file_option
="" ;;
7331 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7332 cache_file_option
="--cache-file=${cache_file}" ;;
7334 cache_file_option
="--cache-file=../${cache_file}" ;;
7337 # Host dirs don't like to share a cache file either, horribly enough.
7338 # This seems to be due to autoconf 2.5x stupidity.
7339 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7341 target_configargs
="$target_configargs ${baseargs}"
7343 # Passing a --with-cross-host argument lets the target libraries know
7344 # whether they are being built with a cross-compiler or being built
7345 # native. However, it would be better to use other mechanisms to make the
7346 # sorts of decisions they want to make on this basis. Please consider
7347 # this option to be deprecated. FIXME.
7348 if test x
${is_cross_compiler} = xyes
; then
7349 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7352 # Default to --enable-multilib.
7353 if test x
${enable_multilib} = x
; then
7354 target_configargs
="--enable-multilib ${target_configargs}"
7357 # Pass --with-newlib if appropriate. Note that target_configdirs has
7358 # changed from the earlier setting of with_newlib.
7359 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7360 target_configargs
="--with-newlib ${target_configargs}"
7363 # Different target subdirs use different values of certain variables
7364 # (notably CXX). Worse, multilibs use *lots* of different values.
7365 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7366 # it doesn't automatically accept command-line overrides of them.
7367 # This means it's not safe for target subdirs to share a cache file,
7368 # which is disgusting, but there you have it. Hopefully this can be
7369 # fixed in future. It's still worthwhile to use a cache file for each
7370 # directory. I think.
7372 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7373 # We need to pass --target, as newer autoconf's requires consistency
7374 # for target_alias and gcc doesn't manage it consistently.
7375 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7378 case " $target_configdirs " in
7380 case " $target_configargs " in
7381 *" --with-newlib "*)
7384 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'
7388 # If we're not building GCC, don't discard standard headers.
7389 if test -d ${srcdir}/gcc
; then
7390 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7392 if test "${build}" != "${host}"; then
7393 # On Canadian crosses, CC_FOR_TARGET will have already been set
7394 # by `configure', so we won't have an opportunity to add -Bgcc/
7395 # to it. This is right: we don't want to search that directory
7396 # for binaries, but we want the header files in there, so add
7398 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7400 # Someone might think of using the pre-installed headers on
7401 # Canadian crosses, in case the installed compiler is not fully
7402 # compatible with the compiler being built. In this case, it
7403 # would be better to flag an error than risking having
7404 # incompatible object files being constructed. We can't
7405 # guarantee that an error will be flagged, but let's hope the
7406 # compiler will do it, when presented with incompatible header
7411 case "${target}-${is_cross_compiler}" in
7412 i
[3456789]86-*-linux*-no)
7413 # Here host == target, so we don't need to build gcc,
7414 # so we don't want to discard standard headers.
7415 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7418 # If we're building newlib, use its generic headers last, but search
7419 # for any libc-related directories first (so make it the last -B
7421 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7423 # If we're building libgloss, find the startup file, simulator library
7424 # and linker script.
7425 case " $target_configdirs " in
7427 # Look for startup file, simulator library and maybe linker script.
7428 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7429 # Look for libnosys.a in case the target needs it.
7430 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7431 # Most targets have the linker script in the source directory.
7432 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7443 x86_64-
*mingw
* |
*-w64-mingw*)
7444 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7445 # however, use a symlink named 'mingw' in ${prefix} .
7446 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7449 # MinGW can't be handled as Cygwin above since it does not use newlib.
7450 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'
7454 # Allow the user to override the flags for
7455 # our build compiler if desired.
7456 if test x
"${build}" = x
"${host}" ; then
7457 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7458 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7459 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7462 # On Canadian crosses, we'll be searching the right directories for
7463 # the previously-installed cross compiler, so don't bother to add
7464 # flags for directories within the install tree of the compiler
7465 # being built; programs in there won't even run.
7466 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7467 # Search for pre-installed headers if nothing else fits.
7468 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7471 if test "x
${use_gnu_ld}" = x &&
7472 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7473 # Arrange for us to find uninstalled linker scripts.
7474 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7477 # Search for other target-specific linker scripts and such.
7480 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7484 # Makefile fragments.
7485 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7487 eval fragval=\$$frag
7488 if test $fragval != /dev/null; then
7489 eval $frag=${srcdir}/$fragval
7497 # Miscellanea: directories, flags, etc.
7506 # Build module lists & subconfigure args.
7510 # Host module lists & subconfigure args.
7515 # Target module lists & subconfigure args.
7538 # Generate default definitions for YACC, M4, LEX and other programs that run
7539 # on the build machine. These are used if the Makefile can't locate these
7540 # programs in objdir.
7541 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7543 for ac_prog in 'bison -y' byacc yacc
7545 # Extract the first word of "$ac_prog", so it can be a program name with args.
7546 set dummy $ac_prog; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7548 $as_echo_n "checking
for $ac_word...
" >&6; }
7549 if test "${ac_cv_prog_YACC+set}" = set; then :
7550 $as_echo_n "(cached
) " >&6
7552 if test -n "$YACC"; then
7553 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7562 ac_cv_prog_YACC="$ac_prog"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7572 YACC=$ac_cv_prog_YACC
7573 if test -n "$YACC"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7575 $as_echo "$YACC" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7578 $as_echo "no
" >&6; }
7582 test -n "$YACC" && break
7584 test -n "$YACC" || YACC="$MISSING bison
-y"
7586 case " $build_configdirs " in
7587 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7588 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
7591 for ac_prog in bison
7593 # Extract the first word of "$ac_prog", so it can be a program name with args.
7594 set dummy $ac_prog; ac_word=$2
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7596 $as_echo_n "checking
for $ac_word...
" >&6; }
7597 if test "${ac_cv_prog_BISON+set}" = set; then :
7598 $as_echo_n "(cached
) " >&6
7600 if test -n "$BISON"; then
7601 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7607 test -z "$as_dir" && as_dir=.
7608 for ac_exec_ext in '' $ac_executable_extensions; do
7609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7610 ac_cv_prog_BISON="$ac_prog"
7611 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7620 BISON=$ac_cv_prog_BISON
7621 if test -n "$BISON"; then
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7623 $as_echo "$BISON" >&6; }
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7626 $as_echo "no
" >&6; }
7630 test -n "$BISON" && break
7632 test -n "$BISON" || BISON="$MISSING bison
"
7634 case " $build_configdirs " in
7635 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7638 for ac_prog in gm4 gnum4 m4
7640 # Extract the first word of "$ac_prog", so it can be a program name with args.
7641 set dummy $ac_prog; ac_word=$2
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7643 $as_echo_n "checking
for $ac_word...
" >&6; }
7644 if test "${ac_cv_prog_M4+set}" = set; then :
7645 $as_echo_n "(cached
) " >&6
7647 if test -n "$M4"; then
7648 ac_cv_prog_M4="$M4" # Let the user override the test.
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7654 test -z "$as_dir" && as_dir=.
7655 for ac_exec_ext in '' $ac_executable_extensions; do
7656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7657 ac_cv_prog_M4="$ac_prog"
7658 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7668 if test -n "$M4"; then
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7670 $as_echo "$M4" >&6; }
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7673 $as_echo "no
" >&6; }
7677 test -n "$M4" && break
7679 test -n "$M4" || M4="$MISSING m4"
7681 case " $build_configdirs " in
7682 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7685 for ac_prog in flex lex
7687 # Extract the first word of "$ac_prog", so it can be a program name with args.
7688 set dummy $ac_prog; ac_word=$2
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7690 $as_echo_n "checking
for $ac_word...
" >&6; }
7691 if test "${ac_cv_prog_LEX+set}" = set; then :
7692 $as_echo_n "(cached
) " >&6
7694 if test -n "$LEX"; then
7695 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7701 test -z "$as_dir" && as_dir=.
7702 for ac_exec_ext in '' $ac_executable_extensions; do
7703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7704 ac_cv_prog_LEX="$ac_prog"
7705 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7715 if test -n "$LEX"; then
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7717 $as_echo "$LEX" >&6; }
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7720 $as_echo "no
" >&6; }
7724 test -n "$LEX" && break
7726 test -n "$LEX" || LEX="$MISSING flex
"
7728 case " $build_configdirs " in
7729 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7730 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7735 # Extract the first word of "$ac_prog", so it can be a program name with args.
7736 set dummy $ac_prog; ac_word=$2
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7738 $as_echo_n "checking
for $ac_word...
" >&6; }
7739 if test "${ac_cv_prog_FLEX+set}" = set; then :
7740 $as_echo_n "(cached
) " >&6
7742 if test -n "$FLEX"; then
7743 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7749 test -z "$as_dir" && as_dir=.
7750 for ac_exec_ext in '' $ac_executable_extensions; do
7751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7752 ac_cv_prog_FLEX="$ac_prog"
7753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7762 FLEX=$ac_cv_prog_FLEX
7763 if test -n "$FLEX"; then
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7765 $as_echo "$FLEX" >&6; }
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7768 $as_echo "no
" >&6; }
7772 test -n "$FLEX" && break
7774 test -n "$FLEX" || FLEX="$MISSING flex
"
7776 case " $build_configdirs " in
7777 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7780 for ac_prog in makeinfo
7782 # Extract the first word of "$ac_prog", so it can be a program name with args.
7783 set dummy $ac_prog; ac_word=$2
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7785 $as_echo_n "checking
for $ac_word...
" >&6; }
7786 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7787 $as_echo_n "(cached
) " >&6
7789 if test -n "$MAKEINFO"; then
7790 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7796 test -z "$as_dir" && as_dir=.
7797 for ac_exec_ext in '' $ac_executable_extensions; do
7798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7799 ac_cv_prog_MAKEINFO="$ac_prog"
7800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7809 MAKEINFO=$ac_cv_prog_MAKEINFO
7810 if test -n "$MAKEINFO"; then
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7812 $as_echo "$MAKEINFO" >&6; }
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7815 $as_echo "no
" >&6; }
7819 test -n "$MAKEINFO" && break
7821 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7823 case " $build_configdirs " in
7824 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7827 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7828 # higher, else we use the "missing
" dummy.
7829 if ${MAKEINFO} --version \
7830 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7833 MAKEINFO="$MISSING makeinfo
"
7839 # FIXME: expect and dejagnu may become build tools?
7841 for ac_prog in expect
7843 # Extract the first word of "$ac_prog", so it can be a program name with args.
7844 set dummy $ac_prog; ac_word=$2
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7846 $as_echo_n "checking
for $ac_word...
" >&6; }
7847 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7848 $as_echo_n "(cached
) " >&6
7850 if test -n "$EXPECT"; then
7851 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7857 test -z "$as_dir" && as_dir=.
7858 for ac_exec_ext in '' $ac_executable_extensions; do
7859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7860 ac_cv_prog_EXPECT="$ac_prog"
7861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7870 EXPECT=$ac_cv_prog_EXPECT
7871 if test -n "$EXPECT"; then
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7873 $as_echo "$EXPECT" >&6; }
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7876 $as_echo "no
" >&6; }
7880 test -n "$EXPECT" && break
7882 test -n "$EXPECT" || EXPECT="expect
"
7884 case " $configdirs " in
7886 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7890 for ac_prog in runtest
7892 # Extract the first word of "$ac_prog", so it can be a program name with args.
7893 set dummy $ac_prog; ac_word=$2
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7895 $as_echo_n "checking
for $ac_word...
" >&6; }
7896 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7897 $as_echo_n "(cached
) " >&6
7899 if test -n "$RUNTEST"; then
7900 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7906 test -z "$as_dir" && as_dir=.
7907 for ac_exec_ext in '' $ac_executable_extensions; do
7908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7909 ac_cv_prog_RUNTEST="$ac_prog"
7910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7919 RUNTEST=$ac_cv_prog_RUNTEST
7920 if test -n "$RUNTEST"; then
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7922 $as_echo "$RUNTEST" >&6; }
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7925 $as_echo "no
" >&6; }
7929 test -n "$RUNTEST" && break
7931 test -n "$RUNTEST" || RUNTEST="runtest
"
7933 case " $configdirs " in
7935 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7942 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7943 ncn_target_tool_prefix=
7944 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7948 if test -n "$AR"; then
7950 elif test -n "$ac_cv_prog_AR"; then
7954 if test -n "$ac_cv_prog_AR"; then
7955 for ncn_progname in ar; do
7956 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7957 set dummy ${ncn_progname}; ac_word=$2
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7959 $as_echo_n "checking
for $ac_word...
" >&6; }
7960 if test "${ac_cv_prog_AR+set}" = set; then :
7961 $as_echo_n "(cached
) " >&6
7963 if test -n "$AR"; then
7964 ac_cv_prog_AR="$AR" # Let the user override the test.
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7973 ac_cv_prog_AR="${ncn_progname}"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7984 if test -n "$AR"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7986 $as_echo "$AR" >&6; }
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7989 $as_echo "no
" >&6; }
7996 for ncn_progname in ar; do
7997 if test -n "$ncn_tool_prefix"; then
7998 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7999 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8001 $as_echo_n "checking
for $ac_word...
" >&6; }
8002 if test "${ac_cv_prog_AR+set}" = set; then :
8003 $as_echo_n "(cached
) " >&6
8005 if test -n "$AR"; then
8006 ac_cv_prog_AR="$AR" # Let the user override the test.
8008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012 test -z "$as_dir" && as_dir=.
8013 for ac_exec_ext in '' $ac_executable_extensions; do
8014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8015 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8026 if test -n "$AR"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8028 $as_echo "$AR" >&6; }
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8031 $as_echo "no
" >&6; }
8036 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8037 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8038 set dummy ${ncn_progname}; ac_word=$2
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8040 $as_echo_n "checking
for $ac_word...
" >&6; }
8041 if test "${ac_cv_prog_AR+set}" = set; then :
8042 $as_echo_n "(cached
) " >&6
8044 if test -n "$AR"; then
8045 ac_cv_prog_AR="$AR" # Let the user override the test.
8047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8051 test -z "$as_dir" && as_dir=.
8052 for ac_exec_ext in '' $ac_executable_extensions; do
8053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8054 ac_cv_prog_AR="${ncn_progname}"
8055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8065 if test -n "$AR"; then
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8067 $as_echo "$AR" >&6; }
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8070 $as_echo "no
" >&6; }
8075 test -n "$ac_cv_prog_AR" && break
8078 if test -z "$ac_cv_prog_AR" ; then
8080 if test $build = $host ; then
8083 AR="${ncn_tool_prefix}$2"
8089 if test -n "$AS"; then
8091 elif test -n "$ac_cv_prog_AS"; then
8095 if test -n "$ac_cv_prog_AS"; then
8096 for ncn_progname in as; do
8097 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8098 set dummy ${ncn_progname}; ac_word=$2
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8100 $as_echo_n "checking
for $ac_word...
" >&6; }
8101 if test "${ac_cv_prog_AS+set}" = set; then :
8102 $as_echo_n "(cached
) " >&6
8104 if test -n "$AS"; then
8105 ac_cv_prog_AS="$AS" # Let the user override the test.
8107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8111 test -z "$as_dir" && as_dir=.
8112 for ac_exec_ext in '' $ac_executable_extensions; do
8113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8114 ac_cv_prog_AS="${ncn_progname}"
8115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8125 if test -n "$AS"; then
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8127 $as_echo "$AS" >&6; }
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8130 $as_echo "no
" >&6; }
8137 for ncn_progname in as; do
8138 if test -n "$ncn_tool_prefix"; then
8139 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8140 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8142 $as_echo_n "checking
for $ac_word...
" >&6; }
8143 if test "${ac_cv_prog_AS+set}" = set; then :
8144 $as_echo_n "(cached
) " >&6
8146 if test -n "$AS"; then
8147 ac_cv_prog_AS="$AS" # Let the user override the test.
8149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8153 test -z "$as_dir" && as_dir=.
8154 for ac_exec_ext in '' $ac_executable_extensions; do
8155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8156 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8167 if test -n "$AS"; then
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8169 $as_echo "$AS" >&6; }
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8172 $as_echo "no
" >&6; }
8177 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8178 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8179 set dummy ${ncn_progname}; ac_word=$2
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8181 $as_echo_n "checking
for $ac_word...
" >&6; }
8182 if test "${ac_cv_prog_AS+set}" = set; then :
8183 $as_echo_n "(cached
) " >&6
8185 if test -n "$AS"; then
8186 ac_cv_prog_AS="$AS" # Let the user override the test.
8188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8192 test -z "$as_dir" && as_dir=.
8193 for ac_exec_ext in '' $ac_executable_extensions; do
8194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8195 ac_cv_prog_AS="${ncn_progname}"
8196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8206 if test -n "$AS"; then
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8208 $as_echo "$AS" >&6; }
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8211 $as_echo "no
" >&6; }
8216 test -n "$ac_cv_prog_AS" && break
8219 if test -z "$ac_cv_prog_AS" ; then
8221 if test $build = $host ; then
8224 AS="${ncn_tool_prefix}$2"
8230 if test -n "$DLLTOOL"; then
8231 ac_cv_prog_DLLTOOL=$DLLTOOL
8232 elif test -n "$ac_cv_prog_DLLTOOL"; then
8233 DLLTOOL=$ac_cv_prog_DLLTOOL
8236 if test -n "$ac_cv_prog_DLLTOOL"; then
8237 for ncn_progname in dlltool; do
8238 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8239 set dummy ${ncn_progname}; ac_word=$2
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8241 $as_echo_n "checking
for $ac_word...
" >&6; }
8242 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8243 $as_echo_n "(cached
) " >&6
8245 if test -n "$DLLTOOL"; then
8246 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8252 test -z "$as_dir" && as_dir=.
8253 for ac_exec_ext in '' $ac_executable_extensions; do
8254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8255 ac_cv_prog_DLLTOOL="${ncn_progname}"
8256 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8265 DLLTOOL=$ac_cv_prog_DLLTOOL
8266 if test -n "$DLLTOOL"; then
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8268 $as_echo "$DLLTOOL" >&6; }
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8271 $as_echo "no
" >&6; }
8278 for ncn_progname in dlltool; do
8279 if test -n "$ncn_tool_prefix"; then
8280 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8281 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8283 $as_echo_n "checking
for $ac_word...
" >&6; }
8284 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8285 $as_echo_n "(cached
) " >&6
8287 if test -n "$DLLTOOL"; then
8288 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8294 test -z "$as_dir" && as_dir=.
8295 for ac_exec_ext in '' $ac_executable_extensions; do
8296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8297 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8298 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8307 DLLTOOL=$ac_cv_prog_DLLTOOL
8308 if test -n "$DLLTOOL"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8310 $as_echo "$DLLTOOL" >&6; }
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8313 $as_echo "no
" >&6; }
8318 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8319 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8320 set dummy ${ncn_progname}; ac_word=$2
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8322 $as_echo_n "checking
for $ac_word...
" >&6; }
8323 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8324 $as_echo_n "(cached
) " >&6
8326 if test -n "$DLLTOOL"; then
8327 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8333 test -z "$as_dir" && as_dir=.
8334 for ac_exec_ext in '' $ac_executable_extensions; do
8335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8336 ac_cv_prog_DLLTOOL="${ncn_progname}"
8337 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8346 DLLTOOL=$ac_cv_prog_DLLTOOL
8347 if test -n "$DLLTOOL"; then
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8349 $as_echo "$DLLTOOL" >&6; }
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8352 $as_echo "no
" >&6; }
8357 test -n "$ac_cv_prog_DLLTOOL" && break
8360 if test -z "$ac_cv_prog_DLLTOOL" ; then
8362 if test $build = $host ; then
8365 DLLTOOL="${ncn_tool_prefix}$2"
8371 if test -n "$LD"; then
8373 elif test -n "$ac_cv_prog_LD"; then
8377 if test -n "$ac_cv_prog_LD"; then
8378 for ncn_progname in ld; do
8379 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8380 set dummy ${ncn_progname}; ac_word=$2
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8382 $as_echo_n "checking
for $ac_word...
" >&6; }
8383 if test "${ac_cv_prog_LD+set}" = set; then :
8384 $as_echo_n "(cached
) " >&6
8386 if test -n "$LD"; then
8387 ac_cv_prog_LD="$LD" # Let the user override the test.
8389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8393 test -z "$as_dir" && as_dir=.
8394 for ac_exec_ext in '' $ac_executable_extensions; do
8395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8396 ac_cv_prog_LD="${ncn_progname}"
8397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8407 if test -n "$LD"; then
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8409 $as_echo "$LD" >&6; }
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8412 $as_echo "no
" >&6; }
8419 for ncn_progname in ld; do
8420 if test -n "$ncn_tool_prefix"; then
8421 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8422 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8424 $as_echo_n "checking
for $ac_word...
" >&6; }
8425 if test "${ac_cv_prog_LD+set}" = set; then :
8426 $as_echo_n "(cached
) " >&6
8428 if test -n "$LD"; then
8429 ac_cv_prog_LD="$LD" # Let the user override the test.
8431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8435 test -z "$as_dir" && as_dir=.
8436 for ac_exec_ext in '' $ac_executable_extensions; do
8437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8438 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8439 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8449 if test -n "$LD"; then
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8451 $as_echo "$LD" >&6; }
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8454 $as_echo "no
" >&6; }
8459 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8460 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8461 set dummy ${ncn_progname}; ac_word=$2
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8463 $as_echo_n "checking
for $ac_word...
" >&6; }
8464 if test "${ac_cv_prog_LD+set}" = set; then :
8465 $as_echo_n "(cached
) " >&6
8467 if test -n "$LD"; then
8468 ac_cv_prog_LD="$LD" # Let the user override the test.
8470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8474 test -z "$as_dir" && as_dir=.
8475 for ac_exec_ext in '' $ac_executable_extensions; do
8476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8477 ac_cv_prog_LD="${ncn_progname}"
8478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8488 if test -n "$LD"; then
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8490 $as_echo "$LD" >&6; }
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8493 $as_echo "no
" >&6; }
8498 test -n "$ac_cv_prog_LD" && break
8501 if test -z "$ac_cv_prog_LD" ; then
8503 if test $build = $host ; then
8506 LD="${ncn_tool_prefix}$2"
8512 if test -n "$LIPO"; then
8513 ac_cv_prog_LIPO=$LIPO
8514 elif test -n "$ac_cv_prog_LIPO"; then
8515 LIPO=$ac_cv_prog_LIPO
8518 if test -n "$ac_cv_prog_LIPO"; then
8519 for ncn_progname in lipo; do
8520 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8521 set dummy ${ncn_progname}; ac_word=$2
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8523 $as_echo_n "checking
for $ac_word...
" >&6; }
8524 if test "${ac_cv_prog_LIPO+set}" = set; then :
8525 $as_echo_n "(cached
) " >&6
8527 if test -n "$LIPO"; then
8528 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8534 test -z "$as_dir" && as_dir=.
8535 for ac_exec_ext in '' $ac_executable_extensions; do
8536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8537 ac_cv_prog_LIPO="${ncn_progname}"
8538 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8547 LIPO=$ac_cv_prog_LIPO
8548 if test -n "$LIPO"; then
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8550 $as_echo "$LIPO" >&6; }
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8553 $as_echo "no
" >&6; }
8560 for ncn_progname in lipo; do
8561 if test -n "$ncn_tool_prefix"; then
8562 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8563 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8565 $as_echo_n "checking
for $ac_word...
" >&6; }
8566 if test "${ac_cv_prog_LIPO+set}" = set; then :
8567 $as_echo_n "(cached
) " >&6
8569 if test -n "$LIPO"; then
8570 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8576 test -z "$as_dir" && as_dir=.
8577 for ac_exec_ext in '' $ac_executable_extensions; do
8578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8579 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8580 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8589 LIPO=$ac_cv_prog_LIPO
8590 if test -n "$LIPO"; then
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8592 $as_echo "$LIPO" >&6; }
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8595 $as_echo "no
" >&6; }
8600 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8601 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8602 set dummy ${ncn_progname}; ac_word=$2
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8604 $as_echo_n "checking
for $ac_word...
" >&6; }
8605 if test "${ac_cv_prog_LIPO+set}" = set; then :
8606 $as_echo_n "(cached
) " >&6
8608 if test -n "$LIPO"; then
8609 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8615 test -z "$as_dir" && as_dir=.
8616 for ac_exec_ext in '' $ac_executable_extensions; do
8617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8618 ac_cv_prog_LIPO="${ncn_progname}"
8619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8628 LIPO=$ac_cv_prog_LIPO
8629 if test -n "$LIPO"; then
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8631 $as_echo "$LIPO" >&6; }
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8634 $as_echo "no
" >&6; }
8639 test -n "$ac_cv_prog_LIPO" && break
8642 if test -z "$ac_cv_prog_LIPO" ; then
8644 if test $build = $host ; then
8647 LIPO="${ncn_tool_prefix}$2"
8653 if test -n "$NM"; then
8655 elif test -n "$ac_cv_prog_NM"; then
8659 if test -n "$ac_cv_prog_NM"; then
8660 for ncn_progname in nm; do
8661 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8662 set dummy ${ncn_progname}; ac_word=$2
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8664 $as_echo_n "checking
for $ac_word...
" >&6; }
8665 if test "${ac_cv_prog_NM+set}" = set; then :
8666 $as_echo_n "(cached
) " >&6
8668 if test -n "$NM"; then
8669 ac_cv_prog_NM="$NM" # Let the user override the test.
8671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8675 test -z "$as_dir" && as_dir=.
8676 for ac_exec_ext in '' $ac_executable_extensions; do
8677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8678 ac_cv_prog_NM="${ncn_progname}"
8679 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8689 if test -n "$NM"; then
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8691 $as_echo "$NM" >&6; }
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8694 $as_echo "no
" >&6; }
8701 for ncn_progname in nm; do
8702 if test -n "$ncn_tool_prefix"; then
8703 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8704 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8706 $as_echo_n "checking
for $ac_word...
" >&6; }
8707 if test "${ac_cv_prog_NM+set}" = set; then :
8708 $as_echo_n "(cached
) " >&6
8710 if test -n "$NM"; then
8711 ac_cv_prog_NM="$NM" # Let the user override the test.
8713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8717 test -z "$as_dir" && as_dir=.
8718 for ac_exec_ext in '' $ac_executable_extensions; do
8719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8720 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8721 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8731 if test -n "$NM"; then
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8733 $as_echo "$NM" >&6; }
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8736 $as_echo "no
" >&6; }
8741 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8742 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8743 set dummy ${ncn_progname}; ac_word=$2
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8745 $as_echo_n "checking
for $ac_word...
" >&6; }
8746 if test "${ac_cv_prog_NM+set}" = set; then :
8747 $as_echo_n "(cached
) " >&6
8749 if test -n "$NM"; then
8750 ac_cv_prog_NM="$NM" # Let the user override the test.
8752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8756 test -z "$as_dir" && as_dir=.
8757 for ac_exec_ext in '' $ac_executable_extensions; do
8758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8759 ac_cv_prog_NM="${ncn_progname}"
8760 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8770 if test -n "$NM"; then
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8772 $as_echo "$NM" >&6; }
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8775 $as_echo "no
" >&6; }
8780 test -n "$ac_cv_prog_NM" && break
8783 if test -z "$ac_cv_prog_NM" ; then
8785 if test $build = $host ; then
8788 NM="${ncn_tool_prefix}$2"
8794 if test -n "$RANLIB"; then
8795 ac_cv_prog_RANLIB=$RANLIB
8796 elif test -n "$ac_cv_prog_RANLIB"; then
8797 RANLIB=$ac_cv_prog_RANLIB
8800 if test -n "$ac_cv_prog_RANLIB"; then
8801 for ncn_progname in ranlib; do
8802 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8803 set dummy ${ncn_progname}; ac_word=$2
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8805 $as_echo_n "checking
for $ac_word...
" >&6; }
8806 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8807 $as_echo_n "(cached
) " >&6
8809 if test -n "$RANLIB"; then
8810 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8816 test -z "$as_dir" && as_dir=.
8817 for ac_exec_ext in '' $ac_executable_extensions; do
8818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8819 ac_cv_prog_RANLIB="${ncn_progname}"
8820 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8829 RANLIB=$ac_cv_prog_RANLIB
8830 if test -n "$RANLIB"; then
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8832 $as_echo "$RANLIB" >&6; }
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8835 $as_echo "no
" >&6; }
8842 for ncn_progname in ranlib; do
8843 if test -n "$ncn_tool_prefix"; then
8844 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8845 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8847 $as_echo_n "checking
for $ac_word...
" >&6; }
8848 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8849 $as_echo_n "(cached
) " >&6
8851 if test -n "$RANLIB"; then
8852 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8858 test -z "$as_dir" && as_dir=.
8859 for ac_exec_ext in '' $ac_executable_extensions; do
8860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8861 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8871 RANLIB=$ac_cv_prog_RANLIB
8872 if test -n "$RANLIB"; then
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8874 $as_echo "$RANLIB" >&6; }
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8877 $as_echo "no
" >&6; }
8882 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8883 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8884 set dummy ${ncn_progname}; ac_word=$2
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8886 $as_echo_n "checking
for $ac_word...
" >&6; }
8887 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8888 $as_echo_n "(cached
) " >&6
8890 if test -n "$RANLIB"; then
8891 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8897 test -z "$as_dir" && as_dir=.
8898 for ac_exec_ext in '' $ac_executable_extensions; do
8899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8900 ac_cv_prog_RANLIB="${ncn_progname}"
8901 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8910 RANLIB=$ac_cv_prog_RANLIB
8911 if test -n "$RANLIB"; then
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8913 $as_echo "$RANLIB" >&6; }
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8916 $as_echo "no
" >&6; }
8921 test -n "$ac_cv_prog_RANLIB" && break
8924 if test -z "$ac_cv_prog_RANLIB" ; then
8930 if test -n "$STRIP"; then
8931 ac_cv_prog_STRIP=$STRIP
8932 elif test -n "$ac_cv_prog_STRIP"; then
8933 STRIP=$ac_cv_prog_STRIP
8936 if test -n "$ac_cv_prog_STRIP"; then
8937 for ncn_progname in strip; do
8938 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8939 set dummy ${ncn_progname}; ac_word=$2
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8941 $as_echo_n "checking
for $ac_word...
" >&6; }
8942 if test "${ac_cv_prog_STRIP+set}" = set; then :
8943 $as_echo_n "(cached
) " >&6
8945 if test -n "$STRIP"; then
8946 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8952 test -z "$as_dir" && as_dir=.
8953 for ac_exec_ext in '' $ac_executable_extensions; do
8954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8955 ac_cv_prog_STRIP="${ncn_progname}"
8956 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8965 STRIP=$ac_cv_prog_STRIP
8966 if test -n "$STRIP"; then
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8968 $as_echo "$STRIP" >&6; }
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8971 $as_echo "no
" >&6; }
8978 for ncn_progname in strip; do
8979 if test -n "$ncn_tool_prefix"; then
8980 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8981 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8983 $as_echo_n "checking
for $ac_word...
" >&6; }
8984 if test "${ac_cv_prog_STRIP+set}" = set; then :
8985 $as_echo_n "(cached
) " >&6
8987 if test -n "$STRIP"; then
8988 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8994 test -z "$as_dir" && as_dir=.
8995 for ac_exec_ext in '' $ac_executable_extensions; do
8996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8997 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8998 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9007 STRIP=$ac_cv_prog_STRIP
9008 if test -n "$STRIP"; then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9010 $as_echo "$STRIP" >&6; }
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9013 $as_echo "no
" >&6; }
9018 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9019 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9020 set dummy ${ncn_progname}; ac_word=$2
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9022 $as_echo_n "checking
for $ac_word...
" >&6; }
9023 if test "${ac_cv_prog_STRIP+set}" = set; then :
9024 $as_echo_n "(cached
) " >&6
9026 if test -n "$STRIP"; then
9027 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9033 test -z "$as_dir" && as_dir=.
9034 for ac_exec_ext in '' $ac_executable_extensions; do
9035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9036 ac_cv_prog_STRIP="${ncn_progname}"
9037 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9046 STRIP=$ac_cv_prog_STRIP
9047 if test -n "$STRIP"; then
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9049 $as_echo "$STRIP" >&6; }
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9052 $as_echo "no
" >&6; }
9057 test -n "$ac_cv_prog_STRIP" && break
9060 if test -z "$ac_cv_prog_STRIP" ; then
9066 if test -n "$WINDRES"; then
9067 ac_cv_prog_WINDRES=$WINDRES
9068 elif test -n "$ac_cv_prog_WINDRES"; then
9069 WINDRES=$ac_cv_prog_WINDRES
9072 if test -n "$ac_cv_prog_WINDRES"; then
9073 for ncn_progname in windres; do
9074 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9075 set dummy ${ncn_progname}; ac_word=$2
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9077 $as_echo_n "checking
for $ac_word...
" >&6; }
9078 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9079 $as_echo_n "(cached
) " >&6
9081 if test -n "$WINDRES"; then
9082 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9088 test -z "$as_dir" && as_dir=.
9089 for ac_exec_ext in '' $ac_executable_extensions; do
9090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9091 ac_cv_prog_WINDRES="${ncn_progname}"
9092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9101 WINDRES=$ac_cv_prog_WINDRES
9102 if test -n "$WINDRES"; then
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9104 $as_echo "$WINDRES" >&6; }
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9107 $as_echo "no
" >&6; }
9114 for ncn_progname in windres; do
9115 if test -n "$ncn_tool_prefix"; then
9116 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9117 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9119 $as_echo_n "checking
for $ac_word...
" >&6; }
9120 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9121 $as_echo_n "(cached
) " >&6
9123 if test -n "$WINDRES"; then
9124 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9130 test -z "$as_dir" && as_dir=.
9131 for ac_exec_ext in '' $ac_executable_extensions; do
9132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9133 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9143 WINDRES=$ac_cv_prog_WINDRES
9144 if test -n "$WINDRES"; then
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9146 $as_echo "$WINDRES" >&6; }
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9149 $as_echo "no
" >&6; }
9154 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9155 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9156 set dummy ${ncn_progname}; ac_word=$2
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9158 $as_echo_n "checking
for $ac_word...
" >&6; }
9159 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9160 $as_echo_n "(cached
) " >&6
9162 if test -n "$WINDRES"; then
9163 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9169 test -z "$as_dir" && as_dir=.
9170 for ac_exec_ext in '' $ac_executable_extensions; do
9171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9172 ac_cv_prog_WINDRES="${ncn_progname}"
9173 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9182 WINDRES=$ac_cv_prog_WINDRES
9183 if test -n "$WINDRES"; then
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9185 $as_echo "$WINDRES" >&6; }
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9188 $as_echo "no
" >&6; }
9193 test -n "$ac_cv_prog_WINDRES" && break
9196 if test -z "$ac_cv_prog_WINDRES" ; then
9198 if test $build = $host ; then
9201 WINDRES="${ncn_tool_prefix}$2"
9207 if test -n "$WINDMC"; then
9208 ac_cv_prog_WINDMC=$WINDMC
9209 elif test -n "$ac_cv_prog_WINDMC"; then
9210 WINDMC=$ac_cv_prog_WINDMC
9213 if test -n "$ac_cv_prog_WINDMC"; then
9214 for ncn_progname in windmc; do
9215 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9216 set dummy ${ncn_progname}; ac_word=$2
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9218 $as_echo_n "checking
for $ac_word...
" >&6; }
9219 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9220 $as_echo_n "(cached
) " >&6
9222 if test -n "$WINDMC"; then
9223 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9229 test -z "$as_dir" && as_dir=.
9230 for ac_exec_ext in '' $ac_executable_extensions; do
9231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9232 ac_cv_prog_WINDMC="${ncn_progname}"
9233 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9242 WINDMC=$ac_cv_prog_WINDMC
9243 if test -n "$WINDMC"; then
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9245 $as_echo "$WINDMC" >&6; }
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9248 $as_echo "no
" >&6; }
9255 for ncn_progname in windmc; do
9256 if test -n "$ncn_tool_prefix"; then
9257 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9258 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9260 $as_echo_n "checking
for $ac_word...
" >&6; }
9261 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9262 $as_echo_n "(cached
) " >&6
9264 if test -n "$WINDMC"; then
9265 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9271 test -z "$as_dir" && as_dir=.
9272 for ac_exec_ext in '' $ac_executable_extensions; do
9273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9274 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9275 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9284 WINDMC=$ac_cv_prog_WINDMC
9285 if test -n "$WINDMC"; then
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9287 $as_echo "$WINDMC" >&6; }
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9290 $as_echo "no
" >&6; }
9295 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9296 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9297 set dummy ${ncn_progname}; ac_word=$2
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9299 $as_echo_n "checking
for $ac_word...
" >&6; }
9300 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9301 $as_echo_n "(cached
) " >&6
9303 if test -n "$WINDMC"; then
9304 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9310 test -z "$as_dir" && as_dir=.
9311 for ac_exec_ext in '' $ac_executable_extensions; do
9312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9313 ac_cv_prog_WINDMC="${ncn_progname}"
9314 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9323 WINDMC=$ac_cv_prog_WINDMC
9324 if test -n "$WINDMC"; then
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9326 $as_echo "$WINDMC" >&6; }
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9329 $as_echo "no
" >&6; }
9334 test -n "$ac_cv_prog_WINDMC" && break
9337 if test -z "$ac_cv_prog_WINDMC" ; then
9339 if test $build = $host ; then
9342 WINDMC="${ncn_tool_prefix}$2"
9348 if test -n "$OBJCOPY"; then
9349 ac_cv_prog_OBJCOPY=$OBJCOPY
9350 elif test -n "$ac_cv_prog_OBJCOPY"; then
9351 OBJCOPY=$ac_cv_prog_OBJCOPY
9354 if test -n "$ac_cv_prog_OBJCOPY"; then
9355 for ncn_progname in objcopy; do
9356 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9357 set dummy ${ncn_progname}; ac_word=$2
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9359 $as_echo_n "checking
for $ac_word...
" >&6; }
9360 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9361 $as_echo_n "(cached
) " >&6
9363 if test -n "$OBJCOPY"; then
9364 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9370 test -z "$as_dir" && as_dir=.
9371 for ac_exec_ext in '' $ac_executable_extensions; do
9372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9373 ac_cv_prog_OBJCOPY="${ncn_progname}"
9374 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9383 OBJCOPY=$ac_cv_prog_OBJCOPY
9384 if test -n "$OBJCOPY"; then
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9386 $as_echo "$OBJCOPY" >&6; }
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9389 $as_echo "no
" >&6; }
9396 for ncn_progname in objcopy; do
9397 if test -n "$ncn_tool_prefix"; then
9398 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9399 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9401 $as_echo_n "checking
for $ac_word...
" >&6; }
9402 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9403 $as_echo_n "(cached
) " >&6
9405 if test -n "$OBJCOPY"; then
9406 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9412 test -z "$as_dir" && as_dir=.
9413 for ac_exec_ext in '' $ac_executable_extensions; do
9414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9415 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9416 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9425 OBJCOPY=$ac_cv_prog_OBJCOPY
9426 if test -n "$OBJCOPY"; then
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9428 $as_echo "$OBJCOPY" >&6; }
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9431 $as_echo "no
" >&6; }
9436 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9437 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9438 set dummy ${ncn_progname}; ac_word=$2
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9440 $as_echo_n "checking
for $ac_word...
" >&6; }
9441 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9442 $as_echo_n "(cached
) " >&6
9444 if test -n "$OBJCOPY"; then
9445 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9451 test -z "$as_dir" && as_dir=.
9452 for ac_exec_ext in '' $ac_executable_extensions; do
9453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9454 ac_cv_prog_OBJCOPY="${ncn_progname}"
9455 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9464 OBJCOPY=$ac_cv_prog_OBJCOPY
9465 if test -n "$OBJCOPY"; then
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9467 $as_echo "$OBJCOPY" >&6; }
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9470 $as_echo "no
" >&6; }
9475 test -n "$ac_cv_prog_OBJCOPY" && break
9478 if test -z "$ac_cv_prog_OBJCOPY" ; then
9480 if test $build = $host ; then
9483 OBJCOPY="${ncn_tool_prefix}$2"
9489 if test -n "$OBJDUMP"; then
9490 ac_cv_prog_OBJDUMP=$OBJDUMP
9491 elif test -n "$ac_cv_prog_OBJDUMP"; then
9492 OBJDUMP=$ac_cv_prog_OBJDUMP
9495 if test -n "$ac_cv_prog_OBJDUMP"; then
9496 for ncn_progname in objdump; do
9497 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9498 set dummy ${ncn_progname}; ac_word=$2
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9500 $as_echo_n "checking
for $ac_word...
" >&6; }
9501 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9502 $as_echo_n "(cached
) " >&6
9504 if test -n "$OBJDUMP"; then
9505 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9511 test -z "$as_dir" && as_dir=.
9512 for ac_exec_ext in '' $ac_executable_extensions; do
9513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9514 ac_cv_prog_OBJDUMP="${ncn_progname}"
9515 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9524 OBJDUMP=$ac_cv_prog_OBJDUMP
9525 if test -n "$OBJDUMP"; then
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9527 $as_echo "$OBJDUMP" >&6; }
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9530 $as_echo "no
" >&6; }
9537 for ncn_progname in objdump; do
9538 if test -n "$ncn_tool_prefix"; then
9539 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9540 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9542 $as_echo_n "checking
for $ac_word...
" >&6; }
9543 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9544 $as_echo_n "(cached
) " >&6
9546 if test -n "$OBJDUMP"; then
9547 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9553 test -z "$as_dir" && as_dir=.
9554 for ac_exec_ext in '' $ac_executable_extensions; do
9555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9556 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9557 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9566 OBJDUMP=$ac_cv_prog_OBJDUMP
9567 if test -n "$OBJDUMP"; then
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9569 $as_echo "$OBJDUMP" >&6; }
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9572 $as_echo "no
" >&6; }
9577 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9578 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9579 set dummy ${ncn_progname}; ac_word=$2
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9581 $as_echo_n "checking
for $ac_word...
" >&6; }
9582 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9583 $as_echo_n "(cached
) " >&6
9585 if test -n "$OBJDUMP"; then
9586 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9592 test -z "$as_dir" && as_dir=.
9593 for ac_exec_ext in '' $ac_executable_extensions; do
9594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9595 ac_cv_prog_OBJDUMP="${ncn_progname}"
9596 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9605 OBJDUMP=$ac_cv_prog_OBJDUMP
9606 if test -n "$OBJDUMP"; then
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9608 $as_echo "$OBJDUMP" >&6; }
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9611 $as_echo "no
" >&6; }
9616 test -n "$ac_cv_prog_OBJDUMP" && break
9619 if test -z "$ac_cv_prog_OBJDUMP" ; then
9621 if test $build = $host ; then
9624 OBJDUMP="${ncn_tool_prefix}$2"
9635 # Check whether --with-build-time-tools was given.
9636 if test "${with_build_time_tools+set}" = set; then :
9637 withval=$with_build_time_tools; case x"$withval" in
9640 with_build_time_tools=
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9642 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9646 with_build_time_tools=
9652 if test -n "$CC_FOR_TARGET"; then
9653 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9654 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9655 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9658 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9659 for ncn_progname in cc gcc; do
9660 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9661 set dummy ${ncn_progname}; ac_word=$2
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9663 $as_echo_n "checking
for $ac_word...
" >&6; }
9664 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9665 $as_echo_n "(cached
) " >&6
9667 if test -n "$CC_FOR_TARGET"; then
9668 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9674 test -z "$as_dir" && as_dir=.
9675 for ac_exec_ext in '' $ac_executable_extensions; do
9676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9677 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9678 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9687 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9688 if test -n "$CC_FOR_TARGET"; then
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9690 $as_echo "$CC_FOR_TARGET" >&6; }
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9693 $as_echo "no
" >&6; }
9700 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9701 for ncn_progname in cc gcc; do
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9703 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9704 if test -x $with_build_time_tools/${ncn_progname}; then
9705 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9707 $as_echo "yes" >&6; }
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9711 $as_echo "no
" >&6; }
9716 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9717 for ncn_progname in cc gcc; do
9718 if test -n "$ncn_target_tool_prefix"; then
9719 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9720 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9722 $as_echo_n "checking
for $ac_word...
" >&6; }
9723 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9724 $as_echo_n "(cached
) " >&6
9726 if test -n "$CC_FOR_TARGET"; then
9727 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9733 test -z "$as_dir" && as_dir=.
9734 for ac_exec_ext in '' $ac_executable_extensions; do
9735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9736 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9746 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9747 if test -n "$CC_FOR_TARGET"; then
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9749 $as_echo "$CC_FOR_TARGET" >&6; }
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9752 $as_echo "no
" >&6; }
9757 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9758 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9759 set dummy ${ncn_progname}; ac_word=$2
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9761 $as_echo_n "checking
for $ac_word...
" >&6; }
9762 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9763 $as_echo_n "(cached
) " >&6
9765 if test -n "$CC_FOR_TARGET"; then
9766 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9772 test -z "$as_dir" && as_dir=.
9773 for ac_exec_ext in '' $ac_executable_extensions; do
9774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9775 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9785 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9786 if test -n "$CC_FOR_TARGET"; then
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9788 $as_echo "$CC_FOR_TARGET" >&6; }
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9791 $as_echo "no
" >&6; }
9796 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9800 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9802 if test $build = $target ; then
9805 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9808 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9813 if test -n "$CXX_FOR_TARGET"; then
9814 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9815 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9816 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9819 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9820 for ncn_progname in c++ g++ cxx gxx; do
9821 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9822 set dummy ${ncn_progname}; ac_word=$2
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9824 $as_echo_n "checking
for $ac_word...
" >&6; }
9825 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9826 $as_echo_n "(cached
) " >&6
9828 if test -n "$CXX_FOR_TARGET"; then
9829 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9835 test -z "$as_dir" && as_dir=.
9836 for ac_exec_ext in '' $ac_executable_extensions; do
9837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9838 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9848 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9849 if test -n "$CXX_FOR_TARGET"; then
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9851 $as_echo "$CXX_FOR_TARGET" >&6; }
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9854 $as_echo "no
" >&6; }
9861 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9862 for ncn_progname in c++ g++ cxx gxx; do
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9864 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9865 if test -x $with_build_time_tools/${ncn_progname}; then
9866 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9868 $as_echo "yes" >&6; }
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9872 $as_echo "no
" >&6; }
9877 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9878 for ncn_progname in c++ g++ cxx gxx; do
9879 if test -n "$ncn_target_tool_prefix"; then
9880 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9881 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9883 $as_echo_n "checking
for $ac_word...
" >&6; }
9884 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9885 $as_echo_n "(cached
) " >&6
9887 if test -n "$CXX_FOR_TARGET"; then
9888 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9894 test -z "$as_dir" && as_dir=.
9895 for ac_exec_ext in '' $ac_executable_extensions; do
9896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9897 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9898 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9907 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9908 if test -n "$CXX_FOR_TARGET"; then
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9910 $as_echo "$CXX_FOR_TARGET" >&6; }
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9913 $as_echo "no
" >&6; }
9918 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9919 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9920 set dummy ${ncn_progname}; ac_word=$2
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9922 $as_echo_n "checking
for $ac_word...
" >&6; }
9923 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9924 $as_echo_n "(cached
) " >&6
9926 if test -n "$CXX_FOR_TARGET"; then
9927 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9933 test -z "$as_dir" && as_dir=.
9934 for ac_exec_ext in '' $ac_executable_extensions; do
9935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9936 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9946 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9947 if test -n "$CXX_FOR_TARGET"; then
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9949 $as_echo "$CXX_FOR_TARGET" >&6; }
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9952 $as_echo "no
" >&6; }
9957 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9961 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9962 set dummy c++ g++ cxx gxx
9963 if test $build = $target ; then
9966 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9969 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9974 if test -n "$GCC_FOR_TARGET"; then
9975 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9976 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9977 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9980 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9981 for ncn_progname in gcc; do
9982 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9983 set dummy ${ncn_progname}; ac_word=$2
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9985 $as_echo_n "checking
for $ac_word...
" >&6; }
9986 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9987 $as_echo_n "(cached
) " >&6
9989 if test -n "$GCC_FOR_TARGET"; then
9990 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9996 test -z "$as_dir" && as_dir=.
9997 for ac_exec_ext in '' $ac_executable_extensions; do
9998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9999 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10000 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10009 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10010 if test -n "$GCC_FOR_TARGET"; then
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10012 $as_echo "$GCC_FOR_TARGET" >&6; }
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10015 $as_echo "no
" >&6; }
10022 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10023 for ncn_progname in gcc; do
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10025 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10026 if test -x $with_build_time_tools/${ncn_progname}; then
10027 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10029 $as_echo "yes" >&6; }
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10033 $as_echo "no
" >&6; }
10038 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10039 for ncn_progname in gcc; do
10040 if test -n "$ncn_target_tool_prefix"; then
10041 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10042 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10044 $as_echo_n "checking
for $ac_word...
" >&6; }
10045 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10046 $as_echo_n "(cached
) " >&6
10048 if test -n "$GCC_FOR_TARGET"; then
10049 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10052 for as_dir in $PATH
10055 test -z "$as_dir" && as_dir=.
10056 for ac_exec_ext in '' $ac_executable_extensions; do
10057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10058 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10059 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10068 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10069 if test -n "$GCC_FOR_TARGET"; then
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10071 $as_echo "$GCC_FOR_TARGET" >&6; }
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10074 $as_echo "no
" >&6; }
10079 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10080 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10081 set dummy ${ncn_progname}; ac_word=$2
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10083 $as_echo_n "checking
for $ac_word...
" >&6; }
10084 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10085 $as_echo_n "(cached
) " >&6
10087 if test -n "$GCC_FOR_TARGET"; then
10088 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10091 for as_dir in $PATH
10094 test -z "$as_dir" && as_dir=.
10095 for ac_exec_ext in '' $ac_executable_extensions; do
10096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10097 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10098 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10107 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10108 if test -n "$GCC_FOR_TARGET"; then
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10110 $as_echo "$GCC_FOR_TARGET" >&6; }
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10113 $as_echo "no
" >&6; }
10118 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10122 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10123 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10125 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10130 if test -n "$GCJ_FOR_TARGET"; then
10131 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10132 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10133 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10136 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10137 for ncn_progname in gcj; do
10138 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10139 set dummy ${ncn_progname}; ac_word=$2
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10141 $as_echo_n "checking
for $ac_word...
" >&6; }
10142 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10143 $as_echo_n "(cached
) " >&6
10145 if test -n "$GCJ_FOR_TARGET"; then
10146 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10149 for as_dir in $PATH
10152 test -z "$as_dir" && as_dir=.
10153 for ac_exec_ext in '' $ac_executable_extensions; do
10154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10155 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10156 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10165 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10166 if test -n "$GCJ_FOR_TARGET"; then
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10168 $as_echo "$GCJ_FOR_TARGET" >&6; }
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10171 $as_echo "no
" >&6; }
10178 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10179 for ncn_progname in gcj; do
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10181 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10182 if test -x $with_build_time_tools/${ncn_progname}; then
10183 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10185 $as_echo "yes" >&6; }
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10189 $as_echo "no
" >&6; }
10194 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10195 for ncn_progname in gcj; do
10196 if test -n "$ncn_target_tool_prefix"; then
10197 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10198 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10200 $as_echo_n "checking
for $ac_word...
" >&6; }
10201 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10202 $as_echo_n "(cached
) " >&6
10204 if test -n "$GCJ_FOR_TARGET"; then
10205 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10208 for as_dir in $PATH
10211 test -z "$as_dir" && as_dir=.
10212 for ac_exec_ext in '' $ac_executable_extensions; do
10213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10214 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10215 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10224 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10225 if test -n "$GCJ_FOR_TARGET"; then
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10227 $as_echo "$GCJ_FOR_TARGET" >&6; }
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10230 $as_echo "no
" >&6; }
10235 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10236 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10237 set dummy ${ncn_progname}; ac_word=$2
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10239 $as_echo_n "checking
for $ac_word...
" >&6; }
10240 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10241 $as_echo_n "(cached
) " >&6
10243 if test -n "$GCJ_FOR_TARGET"; then
10244 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10247 for as_dir in $PATH
10250 test -z "$as_dir" && as_dir=.
10251 for ac_exec_ext in '' $ac_executable_extensions; do
10252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10253 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10254 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10263 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10264 if test -n "$GCJ_FOR_TARGET"; then
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10266 $as_echo "$GCJ_FOR_TARGET" >&6; }
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10269 $as_echo "no
" >&6; }
10274 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10278 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10280 if test $build = $target ; then
10281 GCJ_FOR_TARGET="$2"
10283 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10286 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10291 if test -n "$GFORTRAN_FOR_TARGET"; then
10292 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10293 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10294 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10297 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10298 for ncn_progname in gfortran; do
10299 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10300 set dummy ${ncn_progname}; ac_word=$2
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10302 $as_echo_n "checking
for $ac_word...
" >&6; }
10303 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10304 $as_echo_n "(cached
) " >&6
10306 if test -n "$GFORTRAN_FOR_TARGET"; then
10307 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10310 for as_dir in $PATH
10313 test -z "$as_dir" && as_dir=.
10314 for ac_exec_ext in '' $ac_executable_extensions; do
10315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10316 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10317 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10326 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10327 if test -n "$GFORTRAN_FOR_TARGET"; then
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10329 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10332 $as_echo "no
" >&6; }
10339 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10340 for ncn_progname in gfortran; do
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10342 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10343 if test -x $with_build_time_tools/${ncn_progname}; then
10344 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10346 $as_echo "yes" >&6; }
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10350 $as_echo "no
" >&6; }
10355 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10356 for ncn_progname in gfortran; do
10357 if test -n "$ncn_target_tool_prefix"; then
10358 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10359 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10361 $as_echo_n "checking
for $ac_word...
" >&6; }
10362 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10363 $as_echo_n "(cached
) " >&6
10365 if test -n "$GFORTRAN_FOR_TARGET"; then
10366 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10369 for as_dir in $PATH
10372 test -z "$as_dir" && as_dir=.
10373 for ac_exec_ext in '' $ac_executable_extensions; do
10374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10375 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10376 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10385 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10386 if test -n "$GFORTRAN_FOR_TARGET"; then
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10388 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10391 $as_echo "no
" >&6; }
10396 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10397 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10398 set dummy ${ncn_progname}; ac_word=$2
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10400 $as_echo_n "checking
for $ac_word...
" >&6; }
10401 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10402 $as_echo_n "(cached
) " >&6
10404 if test -n "$GFORTRAN_FOR_TARGET"; then
10405 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10408 for as_dir in $PATH
10411 test -z "$as_dir" && as_dir=.
10412 for ac_exec_ext in '' $ac_executable_extensions; do
10413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10414 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10424 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10425 if test -n "$GFORTRAN_FOR_TARGET"; then
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10427 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10430 $as_echo "no
" >&6; }
10435 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10439 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10441 if test $build = $target ; then
10442 GFORTRAN_FOR_TARGET="$2"
10444 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10447 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10452 if test -n "$GOC_FOR_TARGET"; then
10453 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10454 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10455 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10458 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10459 for ncn_progname in gccgo; do
10460 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10461 set dummy ${ncn_progname}; ac_word=$2
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10463 $as_echo_n "checking
for $ac_word...
" >&6; }
10464 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10465 $as_echo_n "(cached
) " >&6
10467 if test -n "$GOC_FOR_TARGET"; then
10468 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10471 for as_dir in $PATH
10474 test -z "$as_dir" && as_dir=.
10475 for ac_exec_ext in '' $ac_executable_extensions; do
10476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10477 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10487 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10488 if test -n "$GOC_FOR_TARGET"; then
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10490 $as_echo "$GOC_FOR_TARGET" >&6; }
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10493 $as_echo "no
" >&6; }
10500 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10501 for ncn_progname in gccgo; do
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10503 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10504 if test -x $with_build_time_tools/${ncn_progname}; then
10505 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10507 $as_echo "yes" >&6; }
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10511 $as_echo "no
" >&6; }
10516 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10517 for ncn_progname in gccgo; do
10518 if test -n "$ncn_target_tool_prefix"; then
10519 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10520 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10522 $as_echo_n "checking
for $ac_word...
" >&6; }
10523 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10524 $as_echo_n "(cached
) " >&6
10526 if test -n "$GOC_FOR_TARGET"; then
10527 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10530 for as_dir in $PATH
10533 test -z "$as_dir" && as_dir=.
10534 for ac_exec_ext in '' $ac_executable_extensions; do
10535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10536 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10537 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10546 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10547 if test -n "$GOC_FOR_TARGET"; then
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10549 $as_echo "$GOC_FOR_TARGET" >&6; }
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10552 $as_echo "no
" >&6; }
10557 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10558 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10559 set dummy ${ncn_progname}; ac_word=$2
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10561 $as_echo_n "checking
for $ac_word...
" >&6; }
10562 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10563 $as_echo_n "(cached
) " >&6
10565 if test -n "$GOC_FOR_TARGET"; then
10566 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10569 for as_dir in $PATH
10572 test -z "$as_dir" && as_dir=.
10573 for ac_exec_ext in '' $ac_executable_extensions; do
10574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10575 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10576 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10585 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10586 if test -n "$GOC_FOR_TARGET"; then
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10588 $as_echo "$GOC_FOR_TARGET" >&6; }
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10591 $as_echo "no
" >&6; }
10596 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10600 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10602 if test $build = $target ; then
10603 GOC_FOR_TARGET="$2"
10605 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10608 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10613 cat > conftest.c << \EOF
10618 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10619 have_gcc_for_target=yes
10621 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10622 have_gcc_for_target=no
10629 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10630 if test -n "$with_build_time_tools"; then
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10632 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10633 if test -x $with_build_time_tools/ar; then
10634 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10635 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10637 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10640 $as_echo "no
" >&6; }
10642 elif test $build != $host && test $have_gcc_for_target = yes; then
10643 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10644 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10645 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10648 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10649 # Extract the first word of "ar", so it can be a program name with args.
10650 set dummy ar; ac_word=$2
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10652 $as_echo_n "checking
for $ac_word...
" >&6; }
10653 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10654 $as_echo_n "(cached
) " >&6
10656 case $AR_FOR_TARGET in
10658 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10662 for as_dir in $gcc_cv_tool_dirs
10665 test -z "$as_dir" && as_dir=.
10666 for ac_exec_ext in '' $ac_executable_extensions; do
10667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10668 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10669 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10679 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10680 if test -n "$AR_FOR_TARGET"; then
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10682 $as_echo "$AR_FOR_TARGET" >&6; }
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10685 $as_echo "no
" >&6; }
10690 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10693 if test -n "$AR_FOR_TARGET"; then
10694 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10695 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10696 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10699 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10700 for ncn_progname in ar; do
10701 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10702 set dummy ${ncn_progname}; ac_word=$2
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10704 $as_echo_n "checking
for $ac_word...
" >&6; }
10705 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10706 $as_echo_n "(cached
) " >&6
10708 if test -n "$AR_FOR_TARGET"; then
10709 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10712 for as_dir in $PATH
10715 test -z "$as_dir" && as_dir=.
10716 for ac_exec_ext in '' $ac_executable_extensions; do
10717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10718 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10719 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10728 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10729 if test -n "$AR_FOR_TARGET"; then
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10731 $as_echo "$AR_FOR_TARGET" >&6; }
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10734 $as_echo "no
" >&6; }
10741 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10742 for ncn_progname in ar; do
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10744 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10745 if test -x $with_build_time_tools/${ncn_progname}; then
10746 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10748 $as_echo "yes" >&6; }
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10752 $as_echo "no
" >&6; }
10757 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10758 for ncn_progname in ar; do
10759 if test -n "$ncn_target_tool_prefix"; then
10760 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10761 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10763 $as_echo_n "checking
for $ac_word...
" >&6; }
10764 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10765 $as_echo_n "(cached
) " >&6
10767 if test -n "$AR_FOR_TARGET"; then
10768 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10771 for as_dir in $PATH
10774 test -z "$as_dir" && as_dir=.
10775 for ac_exec_ext in '' $ac_executable_extensions; do
10776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10777 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10778 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10787 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10788 if test -n "$AR_FOR_TARGET"; then
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10790 $as_echo "$AR_FOR_TARGET" >&6; }
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10793 $as_echo "no
" >&6; }
10798 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10799 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10800 set dummy ${ncn_progname}; ac_word=$2
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10802 $as_echo_n "checking
for $ac_word...
" >&6; }
10803 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10804 $as_echo_n "(cached
) " >&6
10806 if test -n "$AR_FOR_TARGET"; then
10807 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10810 for as_dir in $PATH
10813 test -z "$as_dir" && as_dir=.
10814 for ac_exec_ext in '' $ac_executable_extensions; do
10815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10816 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10817 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10826 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10827 if test -n "$AR_FOR_TARGET"; then
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10829 $as_echo "$AR_FOR_TARGET" >&6; }
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10832 $as_echo "no
" >&6; }
10837 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10841 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10843 if test $build = $target ; then
10846 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10849 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10853 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10859 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10860 if test -n "$with_build_time_tools"; then
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10862 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10863 if test -x $with_build_time_tools/as; then
10864 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10865 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10867 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10870 $as_echo "no
" >&6; }
10872 elif test $build != $host && test $have_gcc_for_target = yes; then
10873 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10874 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10875 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10878 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10879 # Extract the first word of "as
", so it can be a program name with args.
10880 set dummy as; ac_word=$2
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10882 $as_echo_n "checking
for $ac_word...
" >&6; }
10883 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10884 $as_echo_n "(cached
) " >&6
10886 case $AS_FOR_TARGET in
10888 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10892 for as_dir in $gcc_cv_tool_dirs
10895 test -z "$as_dir" && as_dir=.
10896 for ac_exec_ext in '' $ac_executable_extensions; do
10897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10898 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10899 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10909 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10910 if test -n "$AS_FOR_TARGET"; then
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10912 $as_echo "$AS_FOR_TARGET" >&6; }
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10915 $as_echo "no
" >&6; }
10920 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10923 if test -n "$AS_FOR_TARGET"; then
10924 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10925 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10926 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10929 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10930 for ncn_progname in as; do
10931 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10932 set dummy ${ncn_progname}; ac_word=$2
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10934 $as_echo_n "checking
for $ac_word...
" >&6; }
10935 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10936 $as_echo_n "(cached
) " >&6
10938 if test -n "$AS_FOR_TARGET"; then
10939 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10942 for as_dir in $PATH
10945 test -z "$as_dir" && as_dir=.
10946 for ac_exec_ext in '' $ac_executable_extensions; do
10947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10948 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10949 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10958 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10959 if test -n "$AS_FOR_TARGET"; then
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10961 $as_echo "$AS_FOR_TARGET" >&6; }
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10964 $as_echo "no
" >&6; }
10971 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10972 for ncn_progname in as; do
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10974 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10975 if test -x $with_build_time_tools/${ncn_progname}; then
10976 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10978 $as_echo "yes" >&6; }
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10982 $as_echo "no
" >&6; }
10987 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10988 for ncn_progname in as; do
10989 if test -n "$ncn_target_tool_prefix"; then
10990 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10991 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10993 $as_echo_n "checking
for $ac_word...
" >&6; }
10994 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10995 $as_echo_n "(cached
) " >&6
10997 if test -n "$AS_FOR_TARGET"; then
10998 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11001 for as_dir in $PATH
11004 test -z "$as_dir" && as_dir=.
11005 for ac_exec_ext in '' $ac_executable_extensions; do
11006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11007 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11008 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11017 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11018 if test -n "$AS_FOR_TARGET"; then
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11020 $as_echo "$AS_FOR_TARGET" >&6; }
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11023 $as_echo "no
" >&6; }
11028 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11029 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11030 set dummy ${ncn_progname}; ac_word=$2
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11032 $as_echo_n "checking
for $ac_word...
" >&6; }
11033 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11034 $as_echo_n "(cached
) " >&6
11036 if test -n "$AS_FOR_TARGET"; then
11037 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11040 for as_dir in $PATH
11043 test -z "$as_dir" && as_dir=.
11044 for ac_exec_ext in '' $ac_executable_extensions; do
11045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11046 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11056 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11057 if test -n "$AS_FOR_TARGET"; then
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11059 $as_echo "$AS_FOR_TARGET" >&6; }
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11062 $as_echo "no
" >&6; }
11067 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11071 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11073 if test $build = $target ; then
11076 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11079 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11083 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11089 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11090 if test -n "$with_build_time_tools"; then
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11092 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11093 if test -x $with_build_time_tools/dlltool; then
11094 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11095 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11097 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11100 $as_echo "no
" >&6; }
11102 elif test $build != $host && test $have_gcc_for_target = yes; then
11103 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11104 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11105 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11108 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11109 # Extract the first word of "dlltool
", so it can be a program name with args.
11110 set dummy dlltool; ac_word=$2
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11112 $as_echo_n "checking
for $ac_word...
" >&6; }
11113 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11114 $as_echo_n "(cached
) " >&6
11116 case $DLLTOOL_FOR_TARGET in
11118 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11122 for as_dir in $gcc_cv_tool_dirs
11125 test -z "$as_dir" && as_dir=.
11126 for ac_exec_ext in '' $ac_executable_extensions; do
11127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11128 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11129 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11139 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11140 if test -n "$DLLTOOL_FOR_TARGET"; then
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11142 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11145 $as_echo "no
" >&6; }
11150 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11153 if test -n "$DLLTOOL_FOR_TARGET"; then
11154 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11155 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11156 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11159 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11160 for ncn_progname in dlltool; do
11161 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11162 set dummy ${ncn_progname}; ac_word=$2
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11164 $as_echo_n "checking
for $ac_word...
" >&6; }
11165 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11166 $as_echo_n "(cached
) " >&6
11168 if test -n "$DLLTOOL_FOR_TARGET"; then
11169 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11172 for as_dir in $PATH
11175 test -z "$as_dir" && as_dir=.
11176 for ac_exec_ext in '' $ac_executable_extensions; do
11177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11178 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11179 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11188 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11189 if test -n "$DLLTOOL_FOR_TARGET"; then
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11191 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11194 $as_echo "no
" >&6; }
11201 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11202 for ncn_progname in dlltool; do
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11204 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11205 if test -x $with_build_time_tools/${ncn_progname}; then
11206 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11208 $as_echo "yes" >&6; }
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11212 $as_echo "no
" >&6; }
11217 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11218 for ncn_progname in dlltool; do
11219 if test -n "$ncn_target_tool_prefix"; then
11220 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11221 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11223 $as_echo_n "checking
for $ac_word...
" >&6; }
11224 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11225 $as_echo_n "(cached
) " >&6
11227 if test -n "$DLLTOOL_FOR_TARGET"; then
11228 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11231 for as_dir in $PATH
11234 test -z "$as_dir" && as_dir=.
11235 for ac_exec_ext in '' $ac_executable_extensions; do
11236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11237 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11238 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11247 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11248 if test -n "$DLLTOOL_FOR_TARGET"; then
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11250 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11253 $as_echo "no
" >&6; }
11258 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11259 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11260 set dummy ${ncn_progname}; ac_word=$2
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11262 $as_echo_n "checking
for $ac_word...
" >&6; }
11263 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11264 $as_echo_n "(cached
) " >&6
11266 if test -n "$DLLTOOL_FOR_TARGET"; then
11267 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11270 for as_dir in $PATH
11273 test -z "$as_dir" && as_dir=.
11274 for ac_exec_ext in '' $ac_executable_extensions; do
11275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11276 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11277 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11286 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11287 if test -n "$DLLTOOL_FOR_TARGET"; then
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11289 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11292 $as_echo "no
" >&6; }
11297 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11301 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11303 if test $build = $target ; then
11304 DLLTOOL_FOR_TARGET="$2"
11306 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11309 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11313 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11319 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11320 if test -n "$with_build_time_tools"; then
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11322 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11323 if test -x $with_build_time_tools/ld; then
11324 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11325 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11327 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11330 $as_echo "no
" >&6; }
11332 elif test $build != $host && test $have_gcc_for_target = yes; then
11333 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11334 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11335 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11338 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11339 # Extract the first word of "ld
", so it can be a program name with args.
11340 set dummy ld; ac_word=$2
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11342 $as_echo_n "checking
for $ac_word...
" >&6; }
11343 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11344 $as_echo_n "(cached
) " >&6
11346 case $LD_FOR_TARGET in
11348 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11352 for as_dir in $gcc_cv_tool_dirs
11355 test -z "$as_dir" && as_dir=.
11356 for ac_exec_ext in '' $ac_executable_extensions; do
11357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11358 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11359 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11369 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11370 if test -n "$LD_FOR_TARGET"; then
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11372 $as_echo "$LD_FOR_TARGET" >&6; }
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11375 $as_echo "no
" >&6; }
11380 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11383 if test -n "$LD_FOR_TARGET"; then
11384 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11385 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11386 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11389 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11390 for ncn_progname in ld; do
11391 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11392 set dummy ${ncn_progname}; ac_word=$2
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11394 $as_echo_n "checking
for $ac_word...
" >&6; }
11395 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11396 $as_echo_n "(cached
) " >&6
11398 if test -n "$LD_FOR_TARGET"; then
11399 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11402 for as_dir in $PATH
11405 test -z "$as_dir" && as_dir=.
11406 for ac_exec_ext in '' $ac_executable_extensions; do
11407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11408 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11409 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11418 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11419 if test -n "$LD_FOR_TARGET"; then
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11421 $as_echo "$LD_FOR_TARGET" >&6; }
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11424 $as_echo "no
" >&6; }
11431 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11432 for ncn_progname in ld; do
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11434 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11435 if test -x $with_build_time_tools/${ncn_progname}; then
11436 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11438 $as_echo "yes" >&6; }
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11442 $as_echo "no
" >&6; }
11447 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11448 for ncn_progname in ld; do
11449 if test -n "$ncn_target_tool_prefix"; then
11450 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11451 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11453 $as_echo_n "checking
for $ac_word...
" >&6; }
11454 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11455 $as_echo_n "(cached
) " >&6
11457 if test -n "$LD_FOR_TARGET"; then
11458 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11461 for as_dir in $PATH
11464 test -z "$as_dir" && as_dir=.
11465 for ac_exec_ext in '' $ac_executable_extensions; do
11466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11467 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11468 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11477 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11478 if test -n "$LD_FOR_TARGET"; then
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11480 $as_echo "$LD_FOR_TARGET" >&6; }
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11483 $as_echo "no
" >&6; }
11488 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11489 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11490 set dummy ${ncn_progname}; ac_word=$2
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11492 $as_echo_n "checking
for $ac_word...
" >&6; }
11493 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11494 $as_echo_n "(cached
) " >&6
11496 if test -n "$LD_FOR_TARGET"; then
11497 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11500 for as_dir in $PATH
11503 test -z "$as_dir" && as_dir=.
11504 for ac_exec_ext in '' $ac_executable_extensions; do
11505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11506 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11516 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11517 if test -n "$LD_FOR_TARGET"; then
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11519 $as_echo "$LD_FOR_TARGET" >&6; }
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11522 $as_echo "no
" >&6; }
11527 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11531 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11533 if test $build = $target ; then
11536 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11539 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11543 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11549 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11550 if test -n "$with_build_time_tools"; then
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11552 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11553 if test -x $with_build_time_tools/lipo; then
11554 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11555 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11557 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11560 $as_echo "no
" >&6; }
11562 elif test $build != $host && test $have_gcc_for_target = yes; then
11563 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11564 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11565 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11568 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11569 # Extract the first word of "lipo
", so it can be a program name with args.
11570 set dummy lipo; ac_word=$2
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11572 $as_echo_n "checking
for $ac_word...
" >&6; }
11573 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11574 $as_echo_n "(cached
) " >&6
11576 case $LIPO_FOR_TARGET in
11578 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11582 for as_dir in $gcc_cv_tool_dirs
11585 test -z "$as_dir" && as_dir=.
11586 for ac_exec_ext in '' $ac_executable_extensions; do
11587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11588 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11589 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11599 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11600 if test -n "$LIPO_FOR_TARGET"; then
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11602 $as_echo "$LIPO_FOR_TARGET" >&6; }
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11605 $as_echo "no
" >&6; }
11610 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11613 if test -n "$LIPO_FOR_TARGET"; then
11614 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11615 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11616 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11619 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11620 for ncn_progname in lipo; do
11621 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11622 set dummy ${ncn_progname}; ac_word=$2
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11624 $as_echo_n "checking
for $ac_word...
" >&6; }
11625 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11626 $as_echo_n "(cached
) " >&6
11628 if test -n "$LIPO_FOR_TARGET"; then
11629 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11632 for as_dir in $PATH
11635 test -z "$as_dir" && as_dir=.
11636 for ac_exec_ext in '' $ac_executable_extensions; do
11637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11638 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11648 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11649 if test -n "$LIPO_FOR_TARGET"; then
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11651 $as_echo "$LIPO_FOR_TARGET" >&6; }
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11654 $as_echo "no
" >&6; }
11661 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11662 for ncn_progname in lipo; do
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11664 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11665 if test -x $with_build_time_tools/${ncn_progname}; then
11666 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11668 $as_echo "yes" >&6; }
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11672 $as_echo "no
" >&6; }
11677 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11678 for ncn_progname in lipo; do
11679 if test -n "$ncn_target_tool_prefix"; then
11680 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11681 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11683 $as_echo_n "checking
for $ac_word...
" >&6; }
11684 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11685 $as_echo_n "(cached
) " >&6
11687 if test -n "$LIPO_FOR_TARGET"; then
11688 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11691 for as_dir in $PATH
11694 test -z "$as_dir" && as_dir=.
11695 for ac_exec_ext in '' $ac_executable_extensions; do
11696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11697 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11698 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11707 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11708 if test -n "$LIPO_FOR_TARGET"; then
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11710 $as_echo "$LIPO_FOR_TARGET" >&6; }
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11713 $as_echo "no
" >&6; }
11718 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11719 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11720 set dummy ${ncn_progname}; ac_word=$2
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11722 $as_echo_n "checking
for $ac_word...
" >&6; }
11723 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11724 $as_echo_n "(cached
) " >&6
11726 if test -n "$LIPO_FOR_TARGET"; then
11727 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11730 for as_dir in $PATH
11733 test -z "$as_dir" && as_dir=.
11734 for ac_exec_ext in '' $ac_executable_extensions; do
11735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11736 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11746 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11747 if test -n "$LIPO_FOR_TARGET"; then
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11749 $as_echo "$LIPO_FOR_TARGET" >&6; }
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11752 $as_echo "no
" >&6; }
11757 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11761 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11763 if test $build = $target ; then
11764 LIPO_FOR_TARGET="$2"
11766 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11769 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11773 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11779 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11780 if test -n "$with_build_time_tools"; then
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11782 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11783 if test -x $with_build_time_tools/nm; then
11784 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11785 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11787 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11790 $as_echo "no
" >&6; }
11792 elif test $build != $host && test $have_gcc_for_target = yes; then
11793 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11794 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11795 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11798 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11799 # Extract the first word of "nm
", so it can be a program name with args.
11800 set dummy nm; ac_word=$2
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11802 $as_echo_n "checking
for $ac_word...
" >&6; }
11803 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11804 $as_echo_n "(cached
) " >&6
11806 case $NM_FOR_TARGET in
11808 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11812 for as_dir in $gcc_cv_tool_dirs
11815 test -z "$as_dir" && as_dir=.
11816 for ac_exec_ext in '' $ac_executable_extensions; do
11817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11818 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11819 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11829 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11830 if test -n "$NM_FOR_TARGET"; then
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11832 $as_echo "$NM_FOR_TARGET" >&6; }
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11835 $as_echo "no
" >&6; }
11840 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11843 if test -n "$NM_FOR_TARGET"; then
11844 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11845 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11846 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11849 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11850 for ncn_progname in nm; do
11851 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11852 set dummy ${ncn_progname}; ac_word=$2
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11854 $as_echo_n "checking
for $ac_word...
" >&6; }
11855 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11856 $as_echo_n "(cached
) " >&6
11858 if test -n "$NM_FOR_TARGET"; then
11859 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11862 for as_dir in $PATH
11865 test -z "$as_dir" && as_dir=.
11866 for ac_exec_ext in '' $ac_executable_extensions; do
11867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11868 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11878 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11879 if test -n "$NM_FOR_TARGET"; then
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11881 $as_echo "$NM_FOR_TARGET" >&6; }
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11884 $as_echo "no
" >&6; }
11891 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11892 for ncn_progname in nm; do
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11894 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11895 if test -x $with_build_time_tools/${ncn_progname}; then
11896 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11898 $as_echo "yes" >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11902 $as_echo "no
" >&6; }
11907 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11908 for ncn_progname in nm; do
11909 if test -n "$ncn_target_tool_prefix"; then
11910 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11911 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11913 $as_echo_n "checking
for $ac_word...
" >&6; }
11914 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11915 $as_echo_n "(cached
) " >&6
11917 if test -n "$NM_FOR_TARGET"; then
11918 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11921 for as_dir in $PATH
11924 test -z "$as_dir" && as_dir=.
11925 for ac_exec_ext in '' $ac_executable_extensions; do
11926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11927 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11928 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11937 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11938 if test -n "$NM_FOR_TARGET"; then
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11940 $as_echo "$NM_FOR_TARGET" >&6; }
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11943 $as_echo "no
" >&6; }
11948 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11949 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11950 set dummy ${ncn_progname}; ac_word=$2
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11952 $as_echo_n "checking
for $ac_word...
" >&6; }
11953 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11954 $as_echo_n "(cached
) " >&6
11956 if test -n "$NM_FOR_TARGET"; then
11957 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11960 for as_dir in $PATH
11963 test -z "$as_dir" && as_dir=.
11964 for ac_exec_ext in '' $ac_executable_extensions; do
11965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11966 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11976 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11977 if test -n "$NM_FOR_TARGET"; then
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11979 $as_echo "$NM_FOR_TARGET" >&6; }
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11982 $as_echo "no
" >&6; }
11987 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11991 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11993 if test $build = $target ; then
11996 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11999 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12003 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12009 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12010 if test -n "$with_build_time_tools"; then
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12012 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12013 if test -x $with_build_time_tools/objdump; then
12014 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12015 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12017 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12020 $as_echo "no
" >&6; }
12022 elif test $build != $host && test $have_gcc_for_target = yes; then
12023 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12024 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12025 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12028 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12029 # Extract the first word of "objdump
", so it can be a program name with args.
12030 set dummy objdump; ac_word=$2
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12032 $as_echo_n "checking
for $ac_word...
" >&6; }
12033 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12034 $as_echo_n "(cached
) " >&6
12036 case $OBJDUMP_FOR_TARGET in
12038 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12042 for as_dir in $gcc_cv_tool_dirs
12045 test -z "$as_dir" && as_dir=.
12046 for ac_exec_ext in '' $ac_executable_extensions; do
12047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12048 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12049 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12059 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12060 if test -n "$OBJDUMP_FOR_TARGET"; then
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12062 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12065 $as_echo "no
" >&6; }
12070 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12073 if test -n "$OBJDUMP_FOR_TARGET"; then
12074 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12075 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12076 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12079 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12080 for ncn_progname in objdump; do
12081 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12082 set dummy ${ncn_progname}; ac_word=$2
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12084 $as_echo_n "checking
for $ac_word...
" >&6; }
12085 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12086 $as_echo_n "(cached
) " >&6
12088 if test -n "$OBJDUMP_FOR_TARGET"; then
12089 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12092 for as_dir in $PATH
12095 test -z "$as_dir" && as_dir=.
12096 for ac_exec_ext in '' $ac_executable_extensions; do
12097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12098 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12108 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12109 if test -n "$OBJDUMP_FOR_TARGET"; then
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12111 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12114 $as_echo "no
" >&6; }
12121 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12122 for ncn_progname in objdump; do
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12124 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12125 if test -x $with_build_time_tools/${ncn_progname}; then
12126 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12128 $as_echo "yes" >&6; }
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12132 $as_echo "no
" >&6; }
12137 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12138 for ncn_progname in objdump; do
12139 if test -n "$ncn_target_tool_prefix"; then
12140 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12141 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12143 $as_echo_n "checking
for $ac_word...
" >&6; }
12144 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12145 $as_echo_n "(cached
) " >&6
12147 if test -n "$OBJDUMP_FOR_TARGET"; then
12148 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12151 for as_dir in $PATH
12154 test -z "$as_dir" && as_dir=.
12155 for ac_exec_ext in '' $ac_executable_extensions; do
12156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12157 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12158 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12167 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12168 if test -n "$OBJDUMP_FOR_TARGET"; then
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12170 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12173 $as_echo "no
" >&6; }
12178 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12179 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12180 set dummy ${ncn_progname}; ac_word=$2
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12182 $as_echo_n "checking
for $ac_word...
" >&6; }
12183 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12184 $as_echo_n "(cached
) " >&6
12186 if test -n "$OBJDUMP_FOR_TARGET"; then
12187 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12190 for as_dir in $PATH
12193 test -z "$as_dir" && as_dir=.
12194 for ac_exec_ext in '' $ac_executable_extensions; do
12195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12196 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12206 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12207 if test -n "$OBJDUMP_FOR_TARGET"; then
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12209 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12212 $as_echo "no
" >&6; }
12217 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12221 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12223 if test $build = $target ; then
12224 OBJDUMP_FOR_TARGET="$2"
12226 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12229 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12233 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12239 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12240 if test -n "$with_build_time_tools"; then
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12242 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12243 if test -x $with_build_time_tools/ranlib; then
12244 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12245 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12247 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12250 $as_echo "no
" >&6; }
12252 elif test $build != $host && test $have_gcc_for_target = yes; then
12253 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12254 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12255 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12258 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12259 # Extract the first word of "ranlib
", so it can be a program name with args.
12260 set dummy ranlib; ac_word=$2
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12262 $as_echo_n "checking
for $ac_word...
" >&6; }
12263 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12264 $as_echo_n "(cached
) " >&6
12266 case $RANLIB_FOR_TARGET in
12268 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12272 for as_dir in $gcc_cv_tool_dirs
12275 test -z "$as_dir" && as_dir=.
12276 for ac_exec_ext in '' $ac_executable_extensions; do
12277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12278 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12279 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12289 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12290 if test -n "$RANLIB_FOR_TARGET"; then
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12292 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12295 $as_echo "no
" >&6; }
12300 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12303 if test -n "$RANLIB_FOR_TARGET"; then
12304 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12305 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12306 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12309 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12310 for ncn_progname in ranlib; do
12311 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12312 set dummy ${ncn_progname}; ac_word=$2
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12314 $as_echo_n "checking
for $ac_word...
" >&6; }
12315 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12316 $as_echo_n "(cached
) " >&6
12318 if test -n "$RANLIB_FOR_TARGET"; then
12319 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12322 for as_dir in $PATH
12325 test -z "$as_dir" && as_dir=.
12326 for ac_exec_ext in '' $ac_executable_extensions; do
12327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12328 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12338 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12339 if test -n "$RANLIB_FOR_TARGET"; then
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12341 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12344 $as_echo "no
" >&6; }
12351 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12352 for ncn_progname in ranlib; do
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12354 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12355 if test -x $with_build_time_tools/${ncn_progname}; then
12356 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12358 $as_echo "yes" >&6; }
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12362 $as_echo "no
" >&6; }
12367 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12368 for ncn_progname in ranlib; do
12369 if test -n "$ncn_target_tool_prefix"; then
12370 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12371 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12373 $as_echo_n "checking
for $ac_word...
" >&6; }
12374 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12375 $as_echo_n "(cached
) " >&6
12377 if test -n "$RANLIB_FOR_TARGET"; then
12378 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12381 for as_dir in $PATH
12384 test -z "$as_dir" && as_dir=.
12385 for ac_exec_ext in '' $ac_executable_extensions; do
12386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12387 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12397 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12398 if test -n "$RANLIB_FOR_TARGET"; then
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12400 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12403 $as_echo "no
" >&6; }
12408 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12409 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12410 set dummy ${ncn_progname}; ac_word=$2
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12412 $as_echo_n "checking
for $ac_word...
" >&6; }
12413 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12414 $as_echo_n "(cached
) " >&6
12416 if test -n "$RANLIB_FOR_TARGET"; then
12417 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12420 for as_dir in $PATH
12423 test -z "$as_dir" && as_dir=.
12424 for ac_exec_ext in '' $ac_executable_extensions; do
12425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12426 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12427 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12436 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12437 if test -n "$RANLIB_FOR_TARGET"; then
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12439 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12442 $as_echo "no
" >&6; }
12447 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12451 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12453 if test $build = $target ; then
12454 RANLIB_FOR_TARGET="$2"
12456 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12459 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12463 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12469 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12470 if test -n "$with_build_time_tools"; then
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12472 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12473 if test -x $with_build_time_tools/strip; then
12474 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12475 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12477 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12480 $as_echo "no
" >&6; }
12482 elif test $build != $host && test $have_gcc_for_target = yes; then
12483 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12484 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12485 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12488 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12489 # Extract the first word of "strip
", so it can be a program name with args.
12490 set dummy strip; ac_word=$2
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12492 $as_echo_n "checking
for $ac_word...
" >&6; }
12493 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12494 $as_echo_n "(cached
) " >&6
12496 case $STRIP_FOR_TARGET in
12498 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12502 for as_dir in $gcc_cv_tool_dirs
12505 test -z "$as_dir" && as_dir=.
12506 for ac_exec_ext in '' $ac_executable_extensions; do
12507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12508 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12509 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12519 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12520 if test -n "$STRIP_FOR_TARGET"; then
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12522 $as_echo "$STRIP_FOR_TARGET" >&6; }
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12525 $as_echo "no
" >&6; }
12530 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12533 if test -n "$STRIP_FOR_TARGET"; then
12534 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12535 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12536 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12539 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12540 for ncn_progname in strip; do
12541 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12542 set dummy ${ncn_progname}; ac_word=$2
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12544 $as_echo_n "checking
for $ac_word...
" >&6; }
12545 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12546 $as_echo_n "(cached
) " >&6
12548 if test -n "$STRIP_FOR_TARGET"; then
12549 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12552 for as_dir in $PATH
12555 test -z "$as_dir" && as_dir=.
12556 for ac_exec_ext in '' $ac_executable_extensions; do
12557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12558 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12559 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12568 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12569 if test -n "$STRIP_FOR_TARGET"; then
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12571 $as_echo "$STRIP_FOR_TARGET" >&6; }
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12574 $as_echo "no
" >&6; }
12581 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12582 for ncn_progname in strip; do
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12584 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12585 if test -x $with_build_time_tools/${ncn_progname}; then
12586 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12588 $as_echo "yes" >&6; }
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12592 $as_echo "no
" >&6; }
12597 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12598 for ncn_progname in strip; do
12599 if test -n "$ncn_target_tool_prefix"; then
12600 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12601 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12603 $as_echo_n "checking
for $ac_word...
" >&6; }
12604 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12605 $as_echo_n "(cached
) " >&6
12607 if test -n "$STRIP_FOR_TARGET"; then
12608 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12611 for as_dir in $PATH
12614 test -z "$as_dir" && as_dir=.
12615 for ac_exec_ext in '' $ac_executable_extensions; do
12616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12617 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12618 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12627 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12628 if test -n "$STRIP_FOR_TARGET"; then
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12630 $as_echo "$STRIP_FOR_TARGET" >&6; }
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12633 $as_echo "no
" >&6; }
12638 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12639 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12640 set dummy ${ncn_progname}; ac_word=$2
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12642 $as_echo_n "checking
for $ac_word...
" >&6; }
12643 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12644 $as_echo_n "(cached
) " >&6
12646 if test -n "$STRIP_FOR_TARGET"; then
12647 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12650 for as_dir in $PATH
12653 test -z "$as_dir" && as_dir=.
12654 for ac_exec_ext in '' $ac_executable_extensions; do
12655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12656 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12657 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12666 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12667 if test -n "$STRIP_FOR_TARGET"; then
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12669 $as_echo "$STRIP_FOR_TARGET" >&6; }
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12672 $as_echo "no
" >&6; }
12677 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12681 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12683 if test $build = $target ; then
12684 STRIP_FOR_TARGET="$2"
12686 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12689 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12693 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12699 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12700 if test -n "$with_build_time_tools"; then
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12702 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12703 if test -x $with_build_time_tools/windres; then
12704 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12705 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12707 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12710 $as_echo "no
" >&6; }
12712 elif test $build != $host && test $have_gcc_for_target = yes; then
12713 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12714 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12715 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12718 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12719 # Extract the first word of "windres
", so it can be a program name with args.
12720 set dummy windres; ac_word=$2
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12722 $as_echo_n "checking
for $ac_word...
" >&6; }
12723 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12724 $as_echo_n "(cached
) " >&6
12726 case $WINDRES_FOR_TARGET in
12728 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12732 for as_dir in $gcc_cv_tool_dirs
12735 test -z "$as_dir" && as_dir=.
12736 for ac_exec_ext in '' $ac_executable_extensions; do
12737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12738 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12749 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12750 if test -n "$WINDRES_FOR_TARGET"; then
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12752 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12755 $as_echo "no
" >&6; }
12760 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12763 if test -n "$WINDRES_FOR_TARGET"; then
12764 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12765 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12766 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12769 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12770 for ncn_progname in windres; do
12771 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12772 set dummy ${ncn_progname}; ac_word=$2
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12774 $as_echo_n "checking
for $ac_word...
" >&6; }
12775 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12776 $as_echo_n "(cached
) " >&6
12778 if test -n "$WINDRES_FOR_TARGET"; then
12779 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12782 for as_dir in $PATH
12785 test -z "$as_dir" && as_dir=.
12786 for ac_exec_ext in '' $ac_executable_extensions; do
12787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12788 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12789 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12798 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12799 if test -n "$WINDRES_FOR_TARGET"; then
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12801 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12804 $as_echo "no
" >&6; }
12811 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12812 for ncn_progname in windres; do
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12814 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12815 if test -x $with_build_time_tools/${ncn_progname}; then
12816 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12818 $as_echo "yes" >&6; }
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12822 $as_echo "no
" >&6; }
12827 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12828 for ncn_progname in windres; do
12829 if test -n "$ncn_target_tool_prefix"; then
12830 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12831 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12833 $as_echo_n "checking
for $ac_word...
" >&6; }
12834 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12835 $as_echo_n "(cached
) " >&6
12837 if test -n "$WINDRES_FOR_TARGET"; then
12838 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12841 for as_dir in $PATH
12844 test -z "$as_dir" && as_dir=.
12845 for ac_exec_ext in '' $ac_executable_extensions; do
12846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12847 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12848 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12857 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12858 if test -n "$WINDRES_FOR_TARGET"; then
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12860 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12863 $as_echo "no
" >&6; }
12868 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12869 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12870 set dummy ${ncn_progname}; ac_word=$2
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12872 $as_echo_n "checking
for $ac_word...
" >&6; }
12873 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12874 $as_echo_n "(cached
) " >&6
12876 if test -n "$WINDRES_FOR_TARGET"; then
12877 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12880 for as_dir in $PATH
12883 test -z "$as_dir" && as_dir=.
12884 for ac_exec_ext in '' $ac_executable_extensions; do
12885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12886 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12887 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12896 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12897 if test -n "$WINDRES_FOR_TARGET"; then
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12899 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12902 $as_echo "no
" >&6; }
12907 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12911 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12913 if test $build = $target ; then
12914 WINDRES_FOR_TARGET="$2"
12916 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12919 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12923 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12929 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12930 if test -n "$with_build_time_tools"; then
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
12932 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
12933 if test -x $with_build_time_tools/windmc; then
12934 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12935 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12937 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12940 $as_echo "no
" >&6; }
12942 elif test $build != $host && test $have_gcc_for_target = yes; then
12943 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12944 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12945 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12948 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12949 # Extract the first word of "windmc
", so it can be a program name with args.
12950 set dummy windmc; ac_word=$2
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12952 $as_echo_n "checking
for $ac_word...
" >&6; }
12953 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12954 $as_echo_n "(cached
) " >&6
12956 case $WINDMC_FOR_TARGET in
12958 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12962 for as_dir in $gcc_cv_tool_dirs
12965 test -z "$as_dir" && as_dir=.
12966 for ac_exec_ext in '' $ac_executable_extensions; do
12967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12968 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12969 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12979 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12980 if test -n "$WINDMC_FOR_TARGET"; then
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12982 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12985 $as_echo "no
" >&6; }
12990 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12993 if test -n "$WINDMC_FOR_TARGET"; then
12994 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12995 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12996 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12999 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13000 for ncn_progname in windmc; do
13001 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13002 set dummy ${ncn_progname}; ac_word=$2
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13004 $as_echo_n "checking
for $ac_word...
" >&6; }
13005 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13006 $as_echo_n "(cached
) " >&6
13008 if test -n "$WINDMC_FOR_TARGET"; then
13009 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13012 for as_dir in $PATH
13015 test -z "$as_dir" && as_dir=.
13016 for ac_exec_ext in '' $ac_executable_extensions; do
13017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13018 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13028 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13029 if test -n "$WINDMC_FOR_TARGET"; then
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13031 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13034 $as_echo "no
" >&6; }
13041 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13042 for ncn_progname in windmc; do
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13044 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13045 if test -x $with_build_time_tools/${ncn_progname}; then
13046 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13048 $as_echo "yes" >&6; }
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13052 $as_echo "no
" >&6; }
13057 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13058 for ncn_progname in windmc; do
13059 if test -n "$ncn_target_tool_prefix"; then
13060 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13061 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13063 $as_echo_n "checking
for $ac_word...
" >&6; }
13064 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13065 $as_echo_n "(cached
) " >&6
13067 if test -n "$WINDMC_FOR_TARGET"; then
13068 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13071 for as_dir in $PATH
13074 test -z "$as_dir" && as_dir=.
13075 for ac_exec_ext in '' $ac_executable_extensions; do
13076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13077 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13078 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13087 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13088 if test -n "$WINDMC_FOR_TARGET"; then
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13090 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13093 $as_echo "no
" >&6; }
13098 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13099 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13100 set dummy ${ncn_progname}; ac_word=$2
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13102 $as_echo_n "checking
for $ac_word...
" >&6; }
13103 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13104 $as_echo_n "(cached
) " >&6
13106 if test -n "$WINDMC_FOR_TARGET"; then
13107 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13110 for as_dir in $PATH
13113 test -z "$as_dir" && as_dir=.
13114 for ac_exec_ext in '' $ac_executable_extensions; do
13115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13116 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13117 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13126 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13127 if test -n "$WINDMC_FOR_TARGET"; then
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13129 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13132 $as_echo "no
" >&6; }
13137 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13141 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13143 if test $build = $target ; then
13144 WINDMC_FOR_TARGET="$2"
13146 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13149 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13153 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13157 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13160 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13161 if test "x
${build}" != "x
${host}" ; then
13162 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13163 # We already found the complete path
13164 ac_dir=`dirname $AR_FOR_TARGET`
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13166 $as_echo "pre-installed
in $ac_dir" >&6; }
13168 # Canadian cross, just use what we found
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13170 $as_echo "pre-installed
" >&6; }
13174 case " ${configdirs} " in
13179 if test $ok = yes; then
13180 # An in-tree tool is available and we can use it
13181 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13183 $as_echo "just compiled
" >&6; }
13184 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13185 # We already found the complete path
13186 ac_dir=`dirname $AR_FOR_TARGET`
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13188 $as_echo "pre-installed
in $ac_dir" >&6; }
13189 elif test "x
$target" = "x
$host"; then
13190 # We can use an host tool
13191 AR_FOR_TARGET='$(AR)'
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13193 $as_echo "host tool
" >&6; }
13195 # We need a cross tool
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13197 $as_echo "pre-installed
" >&6; }
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13202 $as_echo_n "checking where to
find the target as...
" >&6; }
13203 if test "x
${build}" != "x
${host}" ; then
13204 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13205 # We already found the complete path
13206 ac_dir=`dirname $AS_FOR_TARGET`
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13208 $as_echo "pre-installed
in $ac_dir" >&6; }
13210 # Canadian cross, just use what we found
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13212 $as_echo "pre-installed
" >&6; }
13216 case " ${configdirs} " in
13221 if test $ok = yes; then
13222 # An in-tree tool is available and we can use it
13223 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13225 $as_echo "just compiled
" >&6; }
13226 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13227 # We already found the complete path
13228 ac_dir=`dirname $AS_FOR_TARGET`
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13230 $as_echo "pre-installed
in $ac_dir" >&6; }
13231 elif test "x
$target" = "x
$host"; then
13232 # We can use an host tool
13233 AS_FOR_TARGET='$(AS)'
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13235 $as_echo "host tool
" >&6; }
13237 # We need a cross tool
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13239 $as_echo "pre-installed
" >&6; }
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13244 $as_echo_n "checking where to
find the target cc...
" >&6; }
13245 if test "x
${build}" != "x
${host}" ; then
13246 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13247 # We already found the complete path
13248 ac_dir=`dirname $CC_FOR_TARGET`
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13250 $as_echo "pre-installed
in $ac_dir" >&6; }
13252 # Canadian cross, just use what we found
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13254 $as_echo "pre-installed
" >&6; }
13258 case " ${configdirs} " in
13263 if test $ok = yes; then
13264 # An in-tree tool is available and we can use it
13265 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13267 $as_echo "just compiled
" >&6; }
13268 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13269 # We already found the complete path
13270 ac_dir=`dirname $CC_FOR_TARGET`
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13272 $as_echo "pre-installed
in $ac_dir" >&6; }
13273 elif test "x
$target" = "x
$host"; then
13274 # We can use an host tool
13275 CC_FOR_TARGET='$(CC)'
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13277 $as_echo "host tool
" >&6; }
13279 # We need a cross tool
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13281 $as_echo "pre-installed
" >&6; }
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13286 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13287 if test "x
${build}" != "x
${host}" ; then
13288 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13289 # We already found the complete path
13290 ac_dir=`dirname $CXX_FOR_TARGET`
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13292 $as_echo "pre-installed
in $ac_dir" >&6; }
13294 # Canadian cross, just use what we found
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13296 $as_echo "pre-installed
" >&6; }
13300 case " ${configdirs} " in
13304 case ,${enable_languages}, in
13308 if test $ok = yes; then
13309 # An in-tree tool is available and we can use it
13310 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'
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13312 $as_echo "just compiled
" >&6; }
13313 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13314 # We already found the complete path
13315 ac_dir=`dirname $CXX_FOR_TARGET`
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13317 $as_echo "pre-installed
in $ac_dir" >&6; }
13318 elif test "x
$target" = "x
$host"; then
13319 # We can use an host tool
13320 CXX_FOR_TARGET='$(CXX)'
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13322 $as_echo "host tool
" >&6; }
13324 # We need a cross tool
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13326 $as_echo "pre-installed
" >&6; }
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13331 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13332 if test "x
${build}" != "x
${host}" ; then
13333 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13334 # We already found the complete path
13335 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13337 $as_echo "pre-installed
in $ac_dir" >&6; }
13339 # Canadian cross, just use what we found
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13341 $as_echo "pre-installed
" >&6; }
13345 case " ${configdirs} " in
13349 case ,${enable_languages}, in
13353 if test $ok = yes; then
13354 # An in-tree tool is available and we can use it
13355 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'
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13357 $as_echo "just compiled
" >&6; }
13358 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13359 # We already found the complete path
13360 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13362 $as_echo "pre-installed
in $ac_dir" >&6; }
13363 elif test "x
$target" = "x
$host"; then
13364 # We can use an host tool
13365 RAW_CXX_FOR_TARGET='$(CXX)'
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13367 $as_echo "host tool
" >&6; }
13369 # We need a cross tool
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13371 $as_echo "pre-installed
" >&6; }
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13376 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13377 if test "x
${build}" != "x
${host}" ; then
13378 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13379 # We already found the complete path
13380 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13382 $as_echo "pre-installed
in $ac_dir" >&6; }
13384 # Canadian cross, just use what we found
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13386 $as_echo "pre-installed
" >&6; }
13390 case " ${configdirs} " in
13395 if test $ok = yes; then
13396 # An in-tree tool is available and we can use it
13397 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13399 $as_echo "just compiled
" >&6; }
13400 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13401 # We already found the complete path
13402 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13404 $as_echo "pre-installed
in $ac_dir" >&6; }
13405 elif test "x
$target" = "x
$host"; then
13406 # We can use an host tool
13407 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13409 $as_echo "host tool
" >&6; }
13411 # We need a cross tool
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13413 $as_echo "pre-installed
" >&6; }
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13418 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13419 if test "x
${build}" != "x
${host}" ; then
13420 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13421 # We already found the complete path
13422 ac_dir=`dirname $GCC_FOR_TARGET`
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13424 $as_echo "pre-installed
in $ac_dir" >&6; }
13426 # Canadian cross, just use what we found
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13428 $as_echo "pre-installed
" >&6; }
13432 case " ${configdirs} " in
13437 if test $ok = yes; then
13438 # An in-tree tool is available and we can use it
13439 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13441 $as_echo "just compiled
" >&6; }
13442 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13443 # We already found the complete path
13444 ac_dir=`dirname $GCC_FOR_TARGET`
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13446 $as_echo "pre-installed
in $ac_dir" >&6; }
13447 elif test "x
$target" = "x
$host"; then
13448 # We can use an host tool
13449 GCC_FOR_TARGET='$()'
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13451 $as_echo "host tool
" >&6; }
13453 # We need a cross tool
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13455 $as_echo "pre-installed
" >&6; }
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13460 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13461 if test "x
${build}" != "x
${host}" ; then
13462 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13463 # We already found the complete path
13464 ac_dir=`dirname $GCJ_FOR_TARGET`
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13466 $as_echo "pre-installed
in $ac_dir" >&6; }
13468 # Canadian cross, just use what we found
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13470 $as_echo "pre-installed
" >&6; }
13474 case " ${configdirs} " in
13478 case ,${enable_languages}, in
13482 if test $ok = yes; then
13483 # An in-tree tool is available and we can use it
13484 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13486 $as_echo "just compiled
" >&6; }
13487 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13488 # We already found the complete path
13489 ac_dir=`dirname $GCJ_FOR_TARGET`
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13491 $as_echo "pre-installed
in $ac_dir" >&6; }
13492 elif test "x
$target" = "x
$host"; then
13493 # We can use an host tool
13494 GCJ_FOR_TARGET='$(GCJ)'
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13496 $as_echo "host tool
" >&6; }
13498 # We need a cross tool
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13500 $as_echo "pre-installed
" >&6; }
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13505 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13506 if test "x
${build}" != "x
${host}" ; then
13507 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13508 # We already found the complete path
13509 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13511 $as_echo "pre-installed
in $ac_dir" >&6; }
13513 # Canadian cross, just use what we found
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13515 $as_echo "pre-installed
" >&6; }
13519 case " ${configdirs} " in
13523 case ,${enable_languages}, in
13527 if test $ok = yes; then
13528 # An in-tree tool is available and we can use it
13529 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13531 $as_echo "just compiled
" >&6; }
13532 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13533 # We already found the complete path
13534 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13536 $as_echo "pre-installed
in $ac_dir" >&6; }
13537 elif test "x
$target" = "x
$host"; then
13538 # We can use an host tool
13539 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13541 $as_echo "host tool
" >&6; }
13543 # We need a cross tool
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13545 $as_echo "pre-installed
" >&6; }
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13550 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13551 if test "x
${build}" != "x
${host}" ; then
13552 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13553 # We already found the complete path
13554 ac_dir=`dirname $GOC_FOR_TARGET`
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13556 $as_echo "pre-installed
in $ac_dir" >&6; }
13558 # Canadian cross, just use what we found
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13560 $as_echo "pre-installed
" >&6; }
13564 case " ${configdirs} " in
13568 case ,${enable_languages}, in
13572 if test $ok = yes; then
13573 # An in-tree tool is available and we can use it
13574 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13576 $as_echo "just compiled
" >&6; }
13577 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13578 # We already found the complete path
13579 ac_dir=`dirname $GOC_FOR_TARGET`
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13581 $as_echo "pre-installed
in $ac_dir" >&6; }
13582 elif test "x
$target" = "x
$host"; then
13583 # We can use an host tool
13584 GOC_FOR_TARGET='$(GOC)'
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13586 $as_echo "host tool
" >&6; }
13588 # We need a cross tool
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13590 $as_echo "pre-installed
" >&6; }
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13595 $as_echo_n "checking where to
find the target ld...
" >&6; }
13596 if test "x
${build}" != "x
${host}" ; then
13597 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13598 # We already found the complete path
13599 ac_dir=`dirname $LD_FOR_TARGET`
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13601 $as_echo "pre-installed
in $ac_dir" >&6; }
13603 # Canadian cross, just use what we found
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13605 $as_echo "pre-installed
" >&6; }
13609 case " ${configdirs} " in
13614 if test $ok = yes; then
13615 # An in-tree tool is available and we can use it
13616 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13618 $as_echo "just compiled
" >&6; }
13619 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13620 # We already found the complete path
13621 ac_dir=`dirname $LD_FOR_TARGET`
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13623 $as_echo "pre-installed
in $ac_dir" >&6; }
13624 elif test "x
$target" = "x
$host"; then
13625 # We can use an host tool
13626 LD_FOR_TARGET='$(LD)'
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13628 $as_echo "host tool
" >&6; }
13630 # We need a cross tool
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13632 $as_echo "pre-installed
" >&6; }
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13637 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13638 if test "x
${build}" != "x
${host}" ; then
13639 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13640 # We already found the complete path
13641 ac_dir=`dirname $LIPO_FOR_TARGET`
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13643 $as_echo "pre-installed
in $ac_dir" >&6; }
13645 # Canadian cross, just use what we found
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13647 $as_echo "pre-installed
" >&6; }
13650 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13651 # We already found the complete path
13652 ac_dir=`dirname $LIPO_FOR_TARGET`
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13654 $as_echo "pre-installed
in $ac_dir" >&6; }
13655 elif test "x
$target" = "x
$host"; then
13656 # We can use an host tool
13657 LIPO_FOR_TARGET='$(LIPO)'
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13659 $as_echo "host tool
" >&6; }
13661 # We need a cross tool
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13663 $as_echo "pre-installed
" >&6; }
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13668 $as_echo_n "checking where to
find the target nm...
" >&6; }
13669 if test "x
${build}" != "x
${host}" ; then
13670 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13671 # We already found the complete path
13672 ac_dir=`dirname $NM_FOR_TARGET`
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13674 $as_echo "pre-installed
in $ac_dir" >&6; }
13676 # Canadian cross, just use what we found
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13678 $as_echo "pre-installed
" >&6; }
13682 case " ${configdirs} " in
13687 if test $ok = yes; then
13688 # An in-tree tool is available and we can use it
13689 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13691 $as_echo "just compiled
" >&6; }
13692 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13693 # We already found the complete path
13694 ac_dir=`dirname $NM_FOR_TARGET`
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13696 $as_echo "pre-installed
in $ac_dir" >&6; }
13697 elif test "x
$target" = "x
$host"; then
13698 # We can use an host tool
13699 NM_FOR_TARGET='$(NM)'
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13701 $as_echo "host tool
" >&6; }
13703 # We need a cross tool
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13705 $as_echo "pre-installed
" >&6; }
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13710 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13711 if test "x
${build}" != "x
${host}" ; then
13712 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13713 # We already found the complete path
13714 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13716 $as_echo "pre-installed
in $ac_dir" >&6; }
13718 # Canadian cross, just use what we found
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13720 $as_echo "pre-installed
" >&6; }
13724 case " ${configdirs} " in
13729 if test $ok = yes; then
13730 # An in-tree tool is available and we can use it
13731 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13733 $as_echo "just compiled
" >&6; }
13734 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13735 # We already found the complete path
13736 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13738 $as_echo "pre-installed
in $ac_dir" >&6; }
13739 elif test "x
$target" = "x
$host"; then
13740 # We can use an host tool
13741 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13743 $as_echo "host tool
" >&6; }
13745 # We need a cross tool
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13747 $as_echo "pre-installed
" >&6; }
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13752 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13753 if test "x
${build}" != "x
${host}" ; then
13754 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13755 # We already found the complete path
13756 ac_dir=`dirname $RANLIB_FOR_TARGET`
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13758 $as_echo "pre-installed
in $ac_dir" >&6; }
13760 # Canadian cross, just use what we found
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13762 $as_echo "pre-installed
" >&6; }
13766 case " ${configdirs} " in
13771 if test $ok = yes; then
13772 # An in-tree tool is available and we can use it
13773 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13775 $as_echo "just compiled
" >&6; }
13776 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13777 # We already found the complete path
13778 ac_dir=`dirname $RANLIB_FOR_TARGET`
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13780 $as_echo "pre-installed
in $ac_dir" >&6; }
13781 elif test "x
$target" = "x
$host"; then
13782 # We can use an host tool
13783 RANLIB_FOR_TARGET='$(RANLIB)'
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13785 $as_echo "host tool
" >&6; }
13787 # We need a cross tool
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13789 $as_echo "pre-installed
" >&6; }
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
13794 $as_echo_n "checking where to
find the target strip...
" >&6; }
13795 if test "x
${build}" != "x
${host}" ; then
13796 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13797 # We already found the complete path
13798 ac_dir=`dirname $STRIP_FOR_TARGET`
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13800 $as_echo "pre-installed
in $ac_dir" >&6; }
13802 # Canadian cross, just use what we found
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13804 $as_echo "pre-installed
" >&6; }
13808 case " ${configdirs} " in
13813 if test $ok = yes; then
13814 # An in-tree tool is available and we can use it
13815 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13817 $as_echo "just compiled
" >&6; }
13818 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13819 # We already found the complete path
13820 ac_dir=`dirname $STRIP_FOR_TARGET`
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13822 $as_echo "pre-installed
in $ac_dir" >&6; }
13823 elif test "x
$target" = "x
$host"; then
13824 # We can use an host tool
13825 STRIP_FOR_TARGET='$(STRIP)'
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13827 $as_echo "host tool
" >&6; }
13829 # We need a cross tool
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13831 $as_echo "pre-installed
" >&6; }
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
13836 $as_echo_n "checking where to
find the target windres...
" >&6; }
13837 if test "x
${build}" != "x
${host}" ; then
13838 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13839 # We already found the complete path
13840 ac_dir=`dirname $WINDRES_FOR_TARGET`
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13842 $as_echo "pre-installed
in $ac_dir" >&6; }
13844 # Canadian cross, just use what we found
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13846 $as_echo "pre-installed
" >&6; }
13850 case " ${configdirs} " in
13855 if test $ok = yes; then
13856 # An in-tree tool is available and we can use it
13857 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13859 $as_echo "just compiled
" >&6; }
13860 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13861 # We already found the complete path
13862 ac_dir=`dirname $WINDRES_FOR_TARGET`
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13864 $as_echo "pre-installed
in $ac_dir" >&6; }
13865 elif test "x
$target" = "x
$host"; then
13866 # We can use an host tool
13867 WINDRES_FOR_TARGET='$(WINDRES)'
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13869 $as_echo "host tool
" >&6; }
13871 # We need a cross tool
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13873 $as_echo "pre-installed
" >&6; }
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
13878 $as_echo_n "checking where to
find the target windmc...
" >&6; }
13879 if test "x
${build}" != "x
${host}" ; then
13880 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13881 # We already found the complete path
13882 ac_dir=`dirname $WINDMC_FOR_TARGET`
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13884 $as_echo "pre-installed
in $ac_dir" >&6; }
13886 # Canadian cross, just use what we found
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13888 $as_echo "pre-installed
" >&6; }
13892 case " ${configdirs} " in
13897 if test $ok = yes; then
13898 # An in-tree tool is available and we can use it
13899 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13901 $as_echo "just compiled
" >&6; }
13902 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13903 # We already found the complete path
13904 ac_dir=`dirname $WINDMC_FOR_TARGET`
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13906 $as_echo "pre-installed
in $ac_dir" >&6; }
13907 elif test "x
$target" = "x
$host"; then
13908 # We can use an host tool
13909 WINDMC_FOR_TARGET='$(WINDMC)'
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13911 $as_echo "host tool
" >&6; }
13913 # We need a cross tool
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13915 $as_echo "pre-installed
" >&6; }
13923 # Certain tools may need extra flags.
13924 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13925 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13926 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13928 # When building target libraries, except in a Canadian cross, we use
13929 # the same toolchain as the compiler we just built.
13930 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13931 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13932 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13933 if test $host = $build; then
13934 case " $configdirs " in
13936 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13937 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13938 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
13948 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
13949 # Check whether --enable-maintainer-mode was given.
13950 if test "${enable_maintainer_mode+set}" = set; then :
13951 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13953 USE_MAINTAINER_MODE=no
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
13957 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13960 if test "$USE_MAINTAINER_MODE" = yes; then
13961 MAINTAINER_MODE_TRUE=
13962 MAINTAINER_MODE_FALSE='#'
13964 MAINTAINER_MODE_TRUE='#'
13965 MAINTAINER_MODE_FALSE=
13967 MAINT=$MAINTAINER_MODE_TRUE
13969 # ---------------------
13970 # GCC bootstrap support
13971 # ---------------------
13973 # Stage specific cflags for build.
13978 yes) stage1_cflags="-g -Wa,-J" ;;
13979 *) stage1_cflags="-g -J" ;;
13983 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
13984 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
13985 saved_CFLAGS="$CFLAGS"
13987 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
13988 CFLAGS="$CFLAGS -fkeep-inline-functions"
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
13990 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
13991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */
13994 #if (__GNUC__ < 3) \
13995 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
13996 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
13997 #error http://gcc.gnu.org/PR29382
14008 if ac_fn_c_try_compile "$LINENO"; then :
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14010 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14013 $as_echo "no
" >&6; }
14015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14017 CFLAGS="$saved_CFLAGS"
14022 # Enable --enable-checking in stage1 of the compiler.
14023 # Check whether --enable-stage1-checking was given.
14024 if test "${enable_stage1_checking+set}" = set; then :
14025 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14027 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14028 stage1_checking=--enable-checking=yes,types
14030 stage1_checking=--enable-checking=$enable_checking,types
14036 # Enable -Werror in bootstrap stage2 and later.
14037 # Check whether --enable-werror was given.
14038 if test "${enable_werror+set}" = set; then :
14039 enableval=$enable_werror;
14041 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14048 case ${enable_werror} in
14049 yes) stage2_werror_flag="--enable-werror-always" ;;
14050 *) stage2_werror_flag="" ;;
14054 # Specify what files to not compare during bootstrap.
14056 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14058 hppa*64*-*-hpux*) ;;
14059 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14061 case " $configdirs " in
14062 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
14066 ac_config_files="$ac_config_files Makefile
"
14068 cat >confcache <<\_ACEOF
14069 # This file is a shell script that caches the results of configure
14070 # tests run on this system so they can be shared between configure
14071 # scripts and configure runs, see configure's option --config-cache.
14072 # It is not useful on other systems. If it contains results you don't
14073 # want to keep, you may remove or edit it.
14075 # config.status only pays attention to the cache file if you give it
14076 # the --recheck option to rerun configure.
14078 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14079 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14080 # following values.
14084 # The following way of writing the cache mishandles newlines in values,
14085 # but we know of no workaround that is simple, portable, and efficient.
14086 # So, we kill variables containing newlines.
14087 # Ultrix sh set writes to stderr and can't be redirected directly,
14088 # and sets the high bit in the cache file unless we assign to the vars.
14090 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14091 eval ac_val=\$$ac_var
14095 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14096 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14099 _ | IFS | as_nl) ;; #(
14100 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14101 *) { eval $ac_var=; unset $ac_var;} ;;
14107 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14108 *${as_nl}ac_space=\ *)
14109 # `set' does not quote correctly, so add quotes: double-quote
14110 # substitution turns \\\\ into \\, and sed turns \\ into \.
14113 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14116 # `set' quotes correctly as required by POSIX, so do not add quotes.
14117 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14126 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14128 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14130 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14131 if test -w "$cache_file"; then
14132 test "x
$cache_file" != "x
/dev
/null
" &&
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14134 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14135 cat confcache >$cache_file
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14138 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14143 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14144 # Let make expand exec_prefix.
14145 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14147 # Transform confdefs.h into DEFS.
14148 # Protect against shell expansion while executing Makefile rules.
14149 # Protect against Makefile macro expansion.
14151 # If the first sed substitution is executed (which looks for macros that
14152 # take arguments), then branch to the quote section. Otherwise,
14153 # look for a macro that doesn't take arguments.
14163 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14165 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14169 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14182 DEFS=`sed -n "$ac_script" confdefs.h`
14187 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14188 # 1. Remove the extension, and $U if already installed.
14189 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14190 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14191 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14192 # will be set to the directory where LIBOBJS objects are built.
14193 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14194 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14196 LIBOBJS=$ac_libobjs
14198 LTLIBOBJS=$ac_ltlibobjs
14202 : ${CONFIG_STATUS=./config.status}
14204 ac_clean_files_save=$ac_clean_files
14205 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14207 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14209 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14211 # Generated by $as_me.
14212 # Run this file to recreate the current configuration.
14213 # Compiler output produced by configure, useful for debugging
14214 # configure, is in config.log if it exists.
14217 ac_cs_recheck=false
14220 SHELL=\${CONFIG_SHELL-$SHELL}
14223 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14224 ## -------------------- ##
14225 ## M4sh Initialization. ##
14226 ## -------------------- ##
14228 # Be more Bourne compatible
14229 DUALCASE=1; export DUALCASE # for MKS sh
14230 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14233 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14234 # is contrary to our usage. Disable this feature.
14235 alias -g '${1+"$@"}'='"$@"'
14236 setopt NO_GLOB_SUBST
14238 case `(set -o) 2>/dev/null` in #(
14250 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14251 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14252 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14253 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14254 # Prefer a ksh shell builtin over an external printf program on Solaris,
14255 # but without wasting forks for bash or zsh.
14256 if test -z "$BASH_VERSION$ZSH_VERSION" \
14257 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14258 as_echo
='print -r --'
14259 as_echo_n
='print -rn --'
14260 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14261 as_echo
='printf %s\n'
14262 as_echo_n
='printf %s'
14264 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14265 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14266 as_echo_n
='/usr/ucb/echo -n'
14268 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14269 as_echo_n_body
='eval
14273 expr "X$arg" : "X\\(.*\\)$as_nl";
14274 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14276 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14278 export as_echo_n_body
14279 as_echo_n
='sh -c $as_echo_n_body as_echo'
14281 export as_echo_body
14282 as_echo
='sh -c $as_echo_body as_echo'
14285 # The user is always right.
14286 if test "${PATH_SEPARATOR+set}" != set; then
14288 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14289 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14296 # We need space, tab and new line, in precisely that order. Quoting is
14297 # there to prevent editors from complaining about space-tab.
14298 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14299 # splitting by setting IFS to empty value.)
14302 # Find who we are. Look in the path if we contain no directory separator.
14304 *[\\/]* ) as_myself
=$0 ;;
14305 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14306 for as_dir
in $PATH
14309 test -z "$as_dir" && as_dir
=.
14310 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14316 # We did not find ourselves, most probably we were run as `sh COMMAND'
14317 # in which case we are not to be found in the path.
14318 if test "x$as_myself" = x
; then
14321 if test ! -f "$as_myself"; then
14322 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14326 # Unset variables that we do not need and which cause bugs (e.g. in
14327 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14328 # suppresses any "Segmentation fault" message there. '((' could
14329 # trigger a bug in pdksh 5.2.14.
14330 for as_var
in BASH_ENV ENV MAIL MAILPATH
14331 do eval test x\
${$as_var+set} = xset \
14332 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14345 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14348 # as_fn_error ERROR [LINENO LOG_FD]
14349 # ---------------------------------
14350 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14351 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14352 # script with status $?, using 1 if that was 0.
14355 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14357 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14358 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14360 $as_echo "$as_me: error: $1" >&2
14361 as_fn_exit
$as_status
14365 # as_fn_set_status STATUS
14366 # -----------------------
14367 # Set $? to STATUS, without forking.
14368 as_fn_set_status
()
14371 } # as_fn_set_status
14373 # as_fn_exit STATUS
14374 # -----------------
14375 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14379 as_fn_set_status
$1
14385 # Portably unset VAR.
14388 { eval $1=; unset $1;}
14390 as_unset
=as_fn_unset
14391 # as_fn_append VAR VALUE
14392 # ----------------------
14393 # Append the text in VALUE to the end of the definition contained in VAR. Take
14394 # advantage of any shell optimizations that allow amortized linear growth over
14395 # repeated appends, instead of the typical quadratic growth present in naive
14397 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14398 eval 'as_fn_append ()
14409 # as_fn_arith ARG...
14410 # ------------------
14411 # Perform arithmetic evaluation on the ARGs, and store the result in the
14412 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14413 # must be portable across $(()) and expr.
14414 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14415 eval 'as_fn_arith ()
14422 as_val
=`expr "$@" || test $? -eq 1`
14427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14435 as_basename
=basename
14440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14446 as_me
=`$as_basename -- "$0" ||
14447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14448 X"$0" : 'X\(//\)$' \| \
14449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14451 sed '/^.*\/\([^/][^/]*\)\/*$/{
14465 # Avoid depending upon Character Ranges.
14466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14469 as_cr_digits
='0123456789'
14470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14472 ECHO_C
= ECHO_N
= ECHO_T
=
14473 case `echo -n x` in #(((((
14475 case `echo 'xy\c'` in
14476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14478 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14485 rm -f conf$$ conf$$.exe conf$$.
file
14486 if test -d conf$$.dir
; then
14487 rm -f conf$$.dir
/conf$$.
file
14490 mkdir conf$$.dir
2>/dev
/null
14492 if (echo >conf$$.
file) 2>/dev
/null
; then
14493 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14495 # ... but there are two gotchas:
14496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14498 # In both cases, we have to default to `cp -p'.
14499 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14501 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14509 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14510 rmdir conf$$.dir
2>/dev
/null
14515 # Create "$as_dir" as a directory, including parents if necessary.
14520 -*) as_dir
=.
/$as_dir;;
14522 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14526 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14527 *) as_qdir
=$as_dir;;
14529 as_dirs
="'$as_qdir' $as_dirs"
14530 as_dir
=`$as_dirname -- "$as_dir" ||
14531 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14532 X"$as_dir" : 'X\(//\)[^/]' \| \
14533 X"$as_dir" : 'X\(//\)$' \| \
14534 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14535 $as_echo X"$as_dir" |
14536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14540 /^X\(\/\/\)[^/].*/{
14553 test -d "$as_dir" && break
14555 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14556 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14560 if mkdir
-p .
2>/dev
/null
; then
14561 as_mkdir_p
='mkdir -p "$as_dir"'
14563 test -d .
/-p && rmdir .
/-p
14567 if test -x / >/dev
/null
2>&1; then
14568 as_test_x
='test -x'
14570 if ls -dL / >/dev
/null
2>&1; then
14577 if test -d "$1"; then
14583 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14584 ???[sx]*):;;*)false;;esac;fi
14588 as_executable_p
=$as_test_x
14590 # Sed expression to map a string onto a valid CPP name.
14591 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14593 # Sed expression to map a string onto a valid variable name.
14594 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14598 ## ----------------------------------- ##
14599 ## Main body of $CONFIG_STATUS script. ##
14600 ## ----------------------------------- ##
14602 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14605 # Save the log message, to keep $0 and so on meaningful, and to
14606 # report actual input values of CONFIG_FILES etc. instead of their
14607 # values after options handling.
14609 This file was extended by $as_me, which was
14610 generated by GNU Autoconf 2.64. Invocation command line was
14612 CONFIG_FILES = $CONFIG_FILES
14613 CONFIG_HEADERS = $CONFIG_HEADERS
14614 CONFIG_LINKS = $CONFIG_LINKS
14615 CONFIG_COMMANDS = $CONFIG_COMMANDS
14618 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14623 case $ac_config_files in *"
14624 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14630 # Files that config.status was made for.
14631 config_files="$ac_config_files"
14635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14637 \`$as_me' instantiates files and other configuration actions
14638 from templates according to the current configuration. Unless the files
14639 and actions are specified as TAGs, all are instantiated by default.
14641 Usage: $0 [OPTION]... [TAG]...
14643 -h, --help print this help, then exit
14644 -V, --version print version number and configuration settings, then exit
14645 -q, --quiet, --silent
14646 do not print progress messages
14647 -d, --debug don't remove temporary files
14648 --recheck update $as_me by reconfiguring in the same conditions
14649 --file=FILE[:TEMPLATE]
14650 instantiate the configuration file FILE
14652 Configuration files:
14655 Report bugs to the package provider."
14658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14661 configured by $0, generated by GNU Autoconf 2.64,
14662 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14664 Copyright (C) 2009 Free Software Foundation, Inc.
14665 This config.status script is free software; the Free Software Foundation
14666 gives unlimited permission to copy, distribute and modify it."
14672 test -n "\$AWK" || AWK=awk
14675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14676 # The default lists apply if the user does not specify any file.
14682 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14683 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14694 # Handling of the options.
14695 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14697 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14698 $as_echo "$ac_cs_version"; exit ;;
14699 --debug |
--debu |
--deb |
--de |
--d |
-d )
14701 --file |
--fil |
--fi |
--f )
14704 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14706 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14707 ac_need_defaults
=false
;;
14708 --he |
--h |
--help |
--hel |
-h )
14709 $as_echo "$ac_cs_usage"; exit ;;
14710 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14711 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14714 # This is an error.
14715 -*) as_fn_error
"unrecognized option: \`$1'
14716 Try \`$0 --help' for more information." ;;
14718 *) as_fn_append ac_config_targets
" $1"
14719 ac_need_defaults
=false
;;
14725 ac_configure_extra_args
=
14727 if $ac_cs_silent; then
14729 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14734 if \$ac_cs_recheck; then
14735 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14737 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14738 CONFIG_SHELL='$SHELL'
14739 export CONFIG_SHELL
14744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14748 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14749 ## Running $as_me. ##
14755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14759 extrasub_build="$extrasub_build"
14760 extrasub_host="$extrasub_host"
14761 extrasub_target="$extrasub_target"
14765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14767 # Handling of arguments.
14768 for ac_config_target
in $ac_config_targets
14770 case $ac_config_target in
14771 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14773 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14778 # If the user did not use the arguments to specify the items to instantiate,
14779 # then the envvar interface is used. Set only those that are not.
14780 # We use the long form for the default assignment because of an extremely
14781 # bizarre bug on SunOS 4.1.3.
14782 if $ac_need_defaults; then
14783 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14786 # Have a temporary directory for convenience. Make it in the build tree
14787 # simply because there is no reason against having it here, and in addition,
14788 # creating and moving files from /tmp can sometimes cause problems.
14789 # Hook for its removal unless debugging.
14790 # Note that there is a small window in which the directory will not be cleaned:
14791 # after its creation but before its name has been assigned to `$tmp'.
14795 trap 'exit_status=$?
14796 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14798 trap 'as_fn_exit 1' 1 2 13 15
14800 # Create a (secure) tmp directory for tmp files.
14803 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14804 test -n "$tmp" && test -d "$tmp"
14807 tmp
=.
/conf$$
-$RANDOM
14808 (umask 077 && mkdir
"$tmp")
14809 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14811 # Set up the scripts for CONFIG_FILES section.
14812 # No need to generate them if there are no CONFIG_FILES.
14813 # This happens for instance with `./config.status config.h'.
14814 if test -n "$CONFIG_FILES"; then
14816 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14817 ac_cs_awk_getline
=:
14818 ac_cs_awk_pipe_init
=
14819 ac_cs_awk_read_file
='
14820 while ((getline aline < (F[key])) > 0)
14823 ac_cs_awk_pipe_fini
=
14825 ac_cs_awk_getline
=false
14826 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14827 ac_cs_awk_read_file
='
14829 print "cat " F[key] " &&"
14830 '$ac_cs_awk_pipe_init
14831 # The final `:' finishes the AND list.
14832 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14834 ac_cr
=`echo X | tr X '\015'`
14835 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14836 # But we know of no other shell where ac_cr would be empty at this
14837 # point, so we can use a bashism as a fallback.
14838 if test "x$ac_cr" = x
; then
14839 eval ac_cr
=\$
\'\\r
\'
14841 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14842 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14845 ac_cs_awk_cr
=$ac_cr
14848 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14851 # Create commands to substitute file output variables.
14853 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14854 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14855 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14858 } >conf$
$files.sh
&&
14859 . .
/conf$
$files.sh ||
14860 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
14861 rm -f conf$
$files.sh
14864 echo "cat >conf$$subs.awk <<_ACEOF" &&
14865 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14867 } >conf$$subs.sh ||
14868 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14869 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14871 for ac_last_try in false false false false false :; do
14872 . ./conf$$subs.sh ||
14873 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14875 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14876 if test $ac_delim_n = $ac_delim_num; then
14878 elif $ac_last_try; then
14879 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14881 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14884 rm -f conf$$subs.sh
14886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14887 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14891 s/^/S["/; s
/!.
*/"]=/
14901 s/\(.\{148\}\).*/\1/
14903 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14908 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14915 s/\(.\{148\}\).*/\1/
14917 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14921 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14926 ' <conf$$subs.awk | sed '
14931 ' >>$CONFIG_STATUS || ac_write_fail=1
14932 rm -f conf$$subs.awk
14933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14935 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14936 for (key in S) S_is_set[key] = 1
14938 \$ac_cs_awk_pipe_init
14942 nfields = split(line, field, "@
")
14944 len = length(field[1])
14945 for (i = 2; i < nfields; i++) {
14947 keylen = length(key)
14948 if (S_is_set[key]) {
14950 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14951 len += length(value) + length(field[++i])
14956 if (nfields == 3 && !substed) {
14958 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14959 \$ac_cs_awk_read_file
14965 \$ac_cs_awk_pipe_fini
14968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14969 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14970 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14973 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14974 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14977 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14978 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14979 # trailing colons and then remove the whole line if VPATH becomes empty
14980 # (actually we leave an empty line to preserve line numbers).
14981 if test "x
$srcdir" = x.; then
14982 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14983 s/:*\$(srcdir):*/:/
14984 s/:*\${srcdir}:*/:/
14986 s/^\([^=]*=[ ]*\):*/\1/
14992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14993 fi # test -n "$CONFIG_FILES"
14996 eval set X " :F
$CONFIG_FILES "
15001 :[FHLC]) ac_mode=$ac_tag; continue;;
15003 case $ac_mode$ac_tag in
15005 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15006 :[FH]-) ac_tag=-:-;;
15007 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15024 -) ac_f="$tmp/stdin";;
15025 *) # Look for the file first in the build tree, then in the source tree
15026 # (if the path is not absolute). The absolute path cannot be DOS-style,
15027 # because $ac_f cannot contain `:'.
15031 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15033 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15035 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15036 as_fn_append ac_file_inputs " '$ac_f'"
15039 # Let's still pretend it is `configure' which instantiates (i.e., don't
15040 # use $as_me), people would be surprised to read:
15041 # /* config.h. Generated by config.status. */
15042 configure_input='Generated from '`
15043 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15045 if test x"$ac_file" != x-; then
15046 configure_input="$ac_file.
$configure_input"
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15048 $as_echo "$as_me: creating
$ac_file" >&6;}
15050 # Neutralize special characters interpreted by sed in replacement strings.
15051 case $configure_input in #(
15052 *\&* | *\|* | *\\* )
15053 ac_sed_conf_input=`$as_echo "$configure_input" |
15054 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15055 *) ac_sed_conf_input=$configure_input;;
15059 *:-:* | *:-) cat >"$tmp/stdin
" \
15060 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15065 ac_dir=`$as_dirname -- "$ac_file" ||
15066 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15067 X"$ac_file" : 'X\(//\)[^/]' \| \
15068 X"$ac_file" : 'X\(//\)$' \| \
15069 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15070 $as_echo X"$ac_file" |
15071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15075 /^X\(\/\/\)[^/].*/{
15088 as_dir="$ac_dir"; as_fn_mkdir_p
15092 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15094 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15095 # A "..
" for each directory in $ac_dir_suffix.
15096 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15097 case $ac_top_builddir_sub in
15098 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15099 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15102 ac_abs_top_builddir=$ac_pwd
15103 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15104 # for backward compatibility:
15105 ac_top_builddir=$ac_top_build_prefix
15108 .) # We are building in place.
15110 ac_top_srcdir=$ac_top_builddir_sub
15111 ac_abs_top_srcdir=$ac_pwd ;;
15112 [\\/]* | ?:[\\/]* ) # Absolute name.
15113 ac_srcdir=$srcdir$ac_dir_suffix;
15114 ac_top_srcdir=$srcdir
15115 ac_abs_top_srcdir=$srcdir ;;
15116 *) # Relative name.
15117 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15118 ac_top_srcdir=$ac_top_build_prefix$srcdir
15119 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15121 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15131 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15132 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15137 # If the template does not know about datarootdir, expand it.
15138 # FIXME: This hack should be removed a few years after 2.60.
15139 ac_datarootdir_hack=; ac_datarootdir_seen=
15150 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15151 *datarootdir*) ac_datarootdir_seen=yes;;
15152 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15154 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15157 ac_datarootdir_hack='
15158 s&@datadir@&$datadir&g
15159 s&@docdir@&$docdir&g
15160 s&@infodir@&$infodir&g
15161 s&@localedir@&$localedir&g
15162 s&@mandir@&$mandir&g
15163 s&\\\${datarootdir}&$datarootdir&g' ;;
15167 # Neutralize VPATH when `$srcdir' = `.'.
15168 # Shell code in configure.ac might set extrasub.
15169 # FIXME: do we really want to maintain this feature?
15170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15171 ac_sed_extra="$ac_vpsub
15174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15176 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15177 s|@configure_input@|
$ac_sed_conf_input|
;t t
15178 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15179 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15180 s
&@srcdir@
&$ac_srcdir&;t t
15181 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15182 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15183 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15184 s
&@builddir@
&$ac_builddir&;t t
15185 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15186 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15187 s
&@INSTALL@
&$ac_INSTALL&;t t
15188 $ac_datarootdir_hack
15190 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15191 if $ac_cs_awk_getline; then
15192 $AWK -f "$tmp/subs.
awk"
15194 $AWK -f "$tmp/subs.
awk" | $SHELL
15196 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15198 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15199 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15200 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15202 which seems to be undefined. Please make sure it is defined." >&5
15203 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15204 which seems to be undefined. Please make sure it is defined." >&2;}
15208 -) cat "$tmp/out" && rm -f "$tmp/out";;
15209 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15211 || as_fn_error "could not create $ac_file" "$LINENO" 5
15219 case $ac_file$ac_mode in
15220 "Makefile":F) sed "$extrasub_build" Makefile |
15221 sed "$extrasub_host" |
15222 sed "$extrasub_target" > mf$$
15223 mv -f mf$$ Makefile ;;
15231 ac_clean_files=$ac_clean_files_save
15233 test $ac_write_fail = 0 ||
15234 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15237 # configure is writing to config.log, and then calls config.status.
15238 # config.status does its own redirection, appending to config.log.
15239 # Unfortunately, on DOS this fails, as config.log is still kept open
15240 # by configure, so config.status won't be able to
write to it
; its
15241 # output is simply discarded. So we exec the FD to /dev/null,
15242 # effectively closing config.log, so it can be properly (re)opened and
15243 # appended to by config.status. When coming back to configure, we
15244 # need to make the FD available again.
15245 if test "$no_create" != yes; then
15247 ac_config_status_args
=
15248 test "$silent" = yes &&
15249 ac_config_status_args
="$ac_config_status_args --quiet"
15251 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15253 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15254 # would make configure fail if this is the last instruction.
15255 $ac_cs_success || as_fn_exit $?
15257 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15259 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}