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
564 MAINTAINER_MODE_FALSE
566 COMPILER_NM_FOR_TARGET
567 COMPILER_LD_FOR_TARGET
568 COMPILER_AS_FOR_TARGET
644 DEBUG_PREFIX_CFLAGS_FOR_TARGET
645 SYSROOT_CFLAGS_FOR_TARGET
646 extra_host_zlib_configure_flags
647 extra_host_libiberty_configure_flags
649 extra_linker_plugin_flags
650 extra_linker_plugin_configure_flags
658 extra_isl_gmp_configure_flags
659 extra_mpc_mpfr_configure_flags
660 extra_mpc_gmp_configure_flags
661 extra_mpfr_configure_flags
677 extra_liboffloadmic_configure_flags
704 TOPLEVEL_CONFIGURE_ARGUMENTS
732 program_transform_name
743 ac_subst_files
='serialization_dependencies
749 enable_option_checking
752 enable_as_accelerator_for
753 enable_offload_targets
756 enable_compressed_debug_sections
758 enable_libquadmath_support
782 enable_isl_version_check
784 enable_linker_plugin_configure_flags
785 enable_linker_plugin_flags
786 enable_stage1_languages
788 with_debug_prefix_map
791 enable_serial_configure
792 with_build_time_tools
793 enable_maintainer_mode
794 enable_stage1_checking
798 ac_precious_vars
='build_alias
846 # Initialize some variables set by options.
848 ac_init_version
=false
849 ac_unrecognized_opts
=
851 # The variables have the same names as the options, with
852 # dashes changed to underlines.
860 program_transform_name
=s
,x
,x
,
868 # Installation directory options.
869 # These are left unexpanded so users can "make install exec_prefix=/foo"
870 # and all the variables that are supposed to be based on exec_prefix
871 # by default will actually change.
872 # Use braces instead of parens because sh, perl, etc. also accept them.
873 # (The list follows the same order as the GNU Coding Standards.)
874 bindir
='${exec_prefix}/bin'
875 sbindir
='${exec_prefix}/sbin'
876 libexecdir
='${exec_prefix}/libexec'
877 datarootdir
='${prefix}/share'
878 datadir
='${datarootdir}'
879 sysconfdir
='${prefix}/etc'
880 sharedstatedir
='${prefix}/com'
881 localstatedir
='${prefix}/var'
882 includedir
='${prefix}/include'
883 oldincludedir
='/usr/include'
884 docdir
='${datarootdir}/doc/${PACKAGE}'
885 infodir
='${datarootdir}/info'
890 libdir
='${exec_prefix}/lib'
891 localedir
='${datarootdir}/locale'
892 mandir
='${datarootdir}/man'
898 # If the previous option needs an argument, assign it.
899 if test -n "$ac_prev"; then
900 eval $ac_prev=\
$ac_option
906 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
910 # Accept the important Cygnus configure options, so we can diagnose typos.
912 case $ac_dashdash$ac_option in
916 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
918 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
921 -build |
--build |
--buil |
--bui |
--bu)
922 ac_prev
=build_alias
;;
923 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
924 build_alias
=$ac_optarg ;;
926 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
927 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
928 ac_prev
=cache_file
;;
929 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
930 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
931 cache_file
=$ac_optarg ;;
934 cache_file
=config.cache
;;
936 -datadir |
--datadir |
--datadi |
--datad)
938 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
939 datadir
=$ac_optarg ;;
941 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
942 |
--dataroo |
--dataro |
--datar)
943 ac_prev
=datarootdir
;;
944 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
945 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
946 datarootdir
=$ac_optarg ;;
948 -disable-* |
--disable-*)
949 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 as_fn_error
"invalid feature name: $ac_useropt"
953 ac_useropt_orig
=$ac_useropt
954 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
959 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
960 ac_unrecognized_sep
=', ';;
962 eval enable_
$ac_useropt=no
;;
964 -docdir |
--docdir |
--docdi |
--doc |
--do)
966 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
969 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
971 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
974 -enable-* |
--enable-*)
975 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
978 as_fn_error
"invalid feature name: $ac_useropt"
979 ac_useropt_orig
=$ac_useropt
980 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981 case $ac_user_opts in
985 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
986 ac_unrecognized_sep
=', ';;
988 eval enable_
$ac_useropt=\
$ac_optarg ;;
990 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
991 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
992 |
--exec |
--exe |
--ex)
993 ac_prev
=exec_prefix
;;
994 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
995 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
996 |
--exec=* |
--exe=* |
--ex=*)
997 exec_prefix
=$ac_optarg ;;
999 -gas |
--gas |
--ga |
--g)
1000 # Obsolete; use --with-gas.
1003 -help |
--help |
--hel |
--he |
-h)
1004 ac_init_help
=long
;;
1005 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1006 ac_init_help
=recursive
;;
1007 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1008 ac_init_help
=short
;;
1010 -host |
--host |
--hos |
--ho)
1011 ac_prev
=host_alias
;;
1012 -host=* |
--host=* |
--hos=* |
--ho=*)
1013 host_alias
=$ac_optarg ;;
1015 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1017 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1019 htmldir
=$ac_optarg ;;
1021 -includedir |
--includedir |
--includedi |
--included |
--include \
1022 |
--includ |
--inclu |
--incl |
--inc)
1023 ac_prev
=includedir
;;
1024 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1025 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1026 includedir
=$ac_optarg ;;
1028 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1030 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1031 infodir
=$ac_optarg ;;
1033 -libdir |
--libdir |
--libdi |
--libd)
1035 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1036 libdir
=$ac_optarg ;;
1038 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1039 |
--libexe |
--libex |
--libe)
1040 ac_prev
=libexecdir
;;
1041 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1042 |
--libexe=* |
--libex=* |
--libe=*)
1043 libexecdir
=$ac_optarg ;;
1045 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1046 ac_prev
=localedir
;;
1047 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1048 localedir
=$ac_optarg ;;
1050 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1051 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1052 ac_prev
=localstatedir
;;
1053 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1054 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1055 localstatedir
=$ac_optarg ;;
1057 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1059 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1060 mandir
=$ac_optarg ;;
1062 -nfp |
--nfp |
--nf)
1063 # Obsolete; use --without-fp.
1066 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1067 |
--no-cr |
--no-c |
-n)
1070 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1071 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1074 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1075 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1076 |
--oldin |
--oldi |
--old |
--ol |
--o)
1077 ac_prev
=oldincludedir
;;
1078 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1079 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1080 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1081 oldincludedir
=$ac_optarg ;;
1083 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1085 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1086 prefix
=$ac_optarg ;;
1088 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1089 |
--program-pre |
--program-pr |
--program-p)
1090 ac_prev
=program_prefix
;;
1091 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1092 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1093 program_prefix
=$ac_optarg ;;
1095 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1096 |
--program-suf |
--program-su |
--program-s)
1097 ac_prev
=program_suffix
;;
1098 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1099 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1100 program_suffix
=$ac_optarg ;;
1102 -program-transform-name |
--program-transform-name \
1103 |
--program-transform-nam |
--program-transform-na \
1104 |
--program-transform-n |
--program-transform- \
1105 |
--program-transform |
--program-transfor \
1106 |
--program-transfo |
--program-transf \
1107 |
--program-trans |
--program-tran \
1108 |
--progr-tra |
--program-tr |
--program-t)
1109 ac_prev
=program_transform_name
;;
1110 -program-transform-name=* |
--program-transform-name=* \
1111 |
--program-transform-nam=* |
--program-transform-na=* \
1112 |
--program-transform-n=* |
--program-transform-=* \
1113 |
--program-transform=* |
--program-transfor=* \
1114 |
--program-transfo=* |
--program-transf=* \
1115 |
--program-trans=* |
--program-tran=* \
1116 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1117 program_transform_name
=$ac_optarg ;;
1119 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1121 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1122 pdfdir
=$ac_optarg ;;
1124 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1126 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1129 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1130 |
-silent |
--silent |
--silen |
--sile |
--sil)
1133 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1135 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1137 sbindir
=$ac_optarg ;;
1139 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1140 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1141 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1143 ac_prev
=sharedstatedir
;;
1144 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1145 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1146 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1148 sharedstatedir
=$ac_optarg ;;
1150 -site |
--site |
--sit)
1152 -site=* |
--site=* |
--sit=*)
1155 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1157 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1158 srcdir
=$ac_optarg ;;
1160 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1161 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1162 ac_prev
=sysconfdir
;;
1163 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1164 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1165 sysconfdir
=$ac_optarg ;;
1167 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1168 ac_prev
=target_alias
;;
1169 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1170 target_alias
=$ac_optarg ;;
1172 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1175 -version |
--version |
--versio |
--versi |
--vers |
-V)
1176 ac_init_version
=: ;;
1179 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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--with-$ac_useropt_orig"
1190 ac_unrecognized_sep
=', ';;
1192 eval with_
$ac_useropt=\
$ac_optarg ;;
1194 -without-* |
--without-*)
1195 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1196 # Reject names that are not valid shell variable names.
1197 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1198 as_fn_error
"invalid package name: $ac_useropt"
1199 ac_useropt_orig
=$ac_useropt
1200 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1201 case $ac_user_opts in
1205 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1206 ac_unrecognized_sep
=', ';;
1208 eval with_
$ac_useropt=no
;;
1211 # Obsolete; use --with-x.
1214 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1215 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1216 ac_prev
=x_includes
;;
1217 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1218 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1219 x_includes
=$ac_optarg ;;
1221 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1222 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1223 ac_prev
=x_libraries
;;
1224 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1225 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1226 x_libraries
=$ac_optarg ;;
1228 -*) as_fn_error
"unrecognized option: \`$ac_option'
1229 Try \`$0 --help' for more information."
1233 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1234 # Reject names that are not valid shell variable names.
1235 case $ac_envvar in #(
1236 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1237 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1239 eval $ac_envvar=\
$ac_optarg
1240 export $ac_envvar ;;
1243 # FIXME: should be removed in autoconf 3.0.
1244 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1245 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1246 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1247 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1253 if test -n "$ac_prev"; then
1254 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1255 as_fn_error
"missing argument to $ac_option"
1258 if test -n "$ac_unrecognized_opts"; then
1259 case $enable_option_checking in
1261 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1262 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1266 # Check all directory arguments for consistency.
1267 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1268 datadir sysconfdir sharedstatedir localstatedir includedir \
1269 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1270 libdir localedir mandir
1272 eval ac_val
=\$
$ac_var
1273 # Remove trailing slashes.
1276 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1277 eval $ac_var=\
$ac_val;;
1279 # Be sure to have absolute directory names.
1281 [\\/$
]* | ?
:[\\/]* ) continue;;
1282 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1284 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1287 # There might be people who depend on the old broken behavior: `$host'
1288 # used to hold the argument of --host etc.
1289 # FIXME: To remove some day.
1292 target
=$target_alias
1294 # FIXME: To remove some day.
1295 if test "x$host_alias" != x
; then
1296 if test "x$build_alias" = x
; then
1297 cross_compiling
=maybe
1298 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1299 If a cross compiler is detected then cross compile mode will be used." >&2
1300 elif test "x$build_alias" != "x$host_alias"; then
1306 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1308 test "$silent" = yes && exec 6>/dev
/null
1311 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1312 ac_ls_di
=`ls -di .` &&
1313 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1314 as_fn_error
"working directory cannot be determined"
1315 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1316 as_fn_error
"pwd does not report name of working directory"
1319 # Find the source files, if location was not specified.
1320 if test -z "$srcdir"; then
1321 ac_srcdir_defaulted
=yes
1322 # Try the directory containing this script, then the parent directory.
1323 ac_confdir
=`$as_dirname -- "$as_myself" ||
1324 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1325 X"$as_myself" : 'X\(//\)[^/]' \| \
1326 X"$as_myself" : 'X\(//\)$' \| \
1327 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1328 $as_echo X"$as_myself" |
1329 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1351 ac_srcdir_defaulted
=no
1353 if test ! -r "$srcdir/$ac_unique_file"; then
1354 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1355 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1357 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1359 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1361 # When building in place, set srcdir=.
1362 if test "$ac_abs_confdir" = "$ac_pwd"; then
1365 # Remove unnecessary trailing slashes from srcdir.
1366 # Double slashes in file names in object file debugging info
1367 # mess up M-x gdb in Emacs.
1369 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1373 as_fn_error
"path to source, $srcdir, contains spaces"
1376 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1378 for ac_var
in $ac_precious_vars; do
1379 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1380 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1381 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1382 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1386 # Report the --help message.
1388 if test "$ac_init_help" = "long"; then
1389 # Omit some internal or obsolete options to make the list less imposing.
1390 # This message is too long to be a string in the A/UX 3.1 sh.
1392 \`configure' configures this package to adapt to many kinds of systems.
1394 Usage: $0 [OPTION]... [VAR=VALUE]...
1396 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1397 VAR=VALUE. See below for descriptions of some of the useful variables.
1399 Defaults for the options are specified in brackets.
1402 -h, --help display this help and exit
1403 --help=short display options specific to this package
1404 --help=recursive display the short help of all the included packages
1405 -V, --version display version information and exit
1406 -q, --quiet, --silent do not print \`checking...' messages
1407 --cache-file=FILE cache test results in FILE [disabled]
1408 -C, --config-cache alias for \`--cache-file=config.cache'
1409 -n, --no-create do not create output files
1410 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1412 Installation directories:
1413 --prefix=PREFIX install architecture-independent files in PREFIX
1414 [$ac_default_prefix]
1415 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1418 By default, \`make install' will install all the files in
1419 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1420 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1421 for instance \`--prefix=\$HOME'.
1423 For better control, use the options below.
1425 Fine tuning of the installation directories:
1426 --bindir=DIR user executables [EPREFIX/bin]
1427 --sbindir=DIR system admin executables [EPREFIX/sbin]
1428 --libexecdir=DIR program executables [EPREFIX/libexec]
1429 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1430 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1431 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1432 --libdir=DIR object code libraries [EPREFIX/lib]
1433 --includedir=DIR C header files [PREFIX/include]
1434 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1435 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1436 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1437 --infodir=DIR info documentation [DATAROOTDIR/info]
1438 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1439 --mandir=DIR man documentation [DATAROOTDIR/man]
1440 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1441 --htmldir=DIR html documentation [DOCDIR]
1442 --dvidir=DIR dvi documentation [DOCDIR]
1443 --pdfdir=DIR pdf documentation [DOCDIR]
1444 --psdir=DIR ps documentation [DOCDIR]
1450 --program-prefix=PREFIX prepend PREFIX to installed program names
1451 --program-suffix=SUFFIX append SUFFIX to installed program names
1452 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1455 --build=BUILD configure
for building on BUILD
[guessed
]
1456 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1457 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1461 if test -n "$ac_init_help"; then
1466 --disable-option-checking ignore unrecognized
--enable/--with options
1467 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1468 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1469 --enable-as-accelerator-for=ARG
1470 build as offload target compiler. Specify offload
1472 --enable-offload-targets=LIST
1473 enable offloading to devices from comma-separated
1474 LIST of TARGET
[=DIR
]. Use optional path to
find
1475 offload target compiler during the build
1476 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1477 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1478 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1479 Enable compressed debug sections
for gas
, gold or ld
1481 --disable-libquadmath do not build libquadmath directory
1482 --disable-libquadmath-support
1483 disable libquadmath support
for Fortran
1484 --enable-libada build libada directory
1485 --enable-libssp build libssp directory
1486 --disable-libstdcxx do not build libstdc
++-v3 directory
1487 --enable-liboffloadmic=ARG
1488 build liboffloadmic
[ARG
={no
,host,target
}]
1489 --enable-bootstrap enable bootstrapping
[yes if native build
]
1490 --disable-isl-version-check
1491 disable check
for isl version
1492 --enable-lto enable link
time optimization support
1493 --enable-linker-plugin-configure-flags=FLAGS
1494 additional flags
for configuring linker plugins
1496 --enable-linker-plugin-flags=FLAGS
1497 additional flags
for configuring and building linker
1499 --enable-stage1-languages[=all
]
1500 choose additional languages to build during stage1.
1501 Mostly useful
for compiler development
1502 --enable-vtable-verify Enable vtable verification feature
1503 --enable-serial-[{host,target
,build
}-]configure
1504 force sequential configuration of sub-packages
for
1505 the
host, target or build machine
, or all
1507 --enable-maintainer-mode
1508 enable make rules and dependencies not useful
(and
1509 sometimes confusing
) to the casual installer
1510 --enable-stage1-checking[=all
]
1511 choose additional checking
for stage1 of the
1513 --enable-werror enable -Werror in bootstrap stage2 and later
1514 --enable-host-shared build
host code as shared libraries
1517 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1518 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1519 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1520 --with-system-zlib use installed libz
1521 --with-mpc=PATH specify prefix directory
for installed MPC package.
1522 Equivalent to
--with-mpc-include=PATH
/include plus
1523 --with-mpc-lib=PATH
/lib
1524 --with-mpc-include=PATH specify directory
for installed MPC include files
1525 --with-mpc-lib=PATH specify directory
for the installed MPC library
1526 --with-mpfr-dir=PATH this option has been REMOVED
1527 --with-mpfr=PATH specify prefix directory
for installed MPFR package.
1528 Equivalent to
--with-mpfr-include=PATH
/include plus
1529 --with-mpfr-lib=PATH
/lib
1530 --with-mpfr-include=PATH
1531 specify directory
for installed MPFR include files
1532 --with-mpfr-lib=PATH specify directory
for the installed MPFR library
1533 --with-gmp-dir=PATH this option has been REMOVED
1534 --with-gmp=PATH specify prefix directory
for the installed GMP
1535 package. Equivalent to
1536 --with-gmp-include=PATH
/include plus
1537 --with-gmp-lib=PATH
/lib
1538 --with-gmp-include=PATH specify directory
for installed GMP include files
1539 --with-gmp-lib=PATH specify directory
for the installed GMP library
1540 --with-stage1-libs=LIBS libraries
for stage1
1541 --with-stage1-ldflags=FLAGS
1542 linker flags
for stage1
1543 --with-boot-libs=LIBS libraries
for stage2 and later
1544 --with-boot-ldflags=FLAGS
1545 linker flags
for stage2 and later
1546 --with-isl=PATH Specify prefix directory
for the installed isl
1547 package. Equivalent to
1548 --with-isl-include=PATH
/include plus
1549 --with-isl-lib=PATH
/lib
1550 --with-isl-include=PATH Specify directory
for installed isl include files
1551 --with-isl-lib=PATH Specify the directory
for the installed isl library
1552 --with-build-sysroot=SYSROOT
1553 use sysroot as the system root during the build
1554 --with-debug-prefix-map='A=B C=D ...'
1555 map A to B
, C to D ...
in debug information
1556 --with-build-config='NAME NAME2...'
1557 use config
/NAME.mk build configuration
1558 --with-build-time-tools=PATH
1559 use given path to
find target tools during the build
1561 Some influential environment variables
:
1562 CC C compiler
command
1563 CFLAGS C compiler flags
1564 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1565 nonstandard directory
<lib dir
>
1566 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1567 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1568 you have headers
in a nonstandard directory
<include dir
>
1569 CXX C
++ compiler
command
1570 CXXFLAGS C
++ compiler flags
1572 additional configure arguments
for build directories
1574 additional configure arguments
for host directories
1576 additional configure arguments
for target directories
1579 DLLTOOL DLLTOOL
for the
host
1581 LIPO LIPO
for the
host
1583 RANLIB RANLIB
for the
host
1584 STRIP STRIP
for the
host
1585 WINDRES WINDRES
for the
host
1586 WINDMC WINDMC
for the
host
1587 OBJCOPY OBJCOPY
for the
host
1588 OBJDUMP OBJDUMP
for the
host
1589 READELF READELF
for the
host
1599 GFORTRAN
for the target
1607 DLLTOOL
for the target
1615 OBJCOPY
for the target
1617 OBJDUMP
for the target
1619 RANLIB
for the target
1621 READELF
for the target
1623 STRIP
for the target
1625 WINDRES
for the target
1627 WINDMC
for the target
1629 Use these variables to override the choices made by
`configure' or to help
1630 it to find libraries and programs with nonstandard names/locations.
1632 Report bugs to the package provider.
1637 if test "$ac_init_help" = "recursive"; then
1638 # If there are subdirs, report their specific --help.
1639 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1640 test -d "$ac_dir" ||
1641 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1646 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1648 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1649 # A ".." for each directory in $ac_dir_suffix.
1650 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1651 case $ac_top_builddir_sub in
1652 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1656 ac_abs_top_builddir=$ac_pwd
1657 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1658 # for backward compatibility:
1659 ac_top_builddir=$ac_top_build_prefix
1662 .) # We are building in place.
1664 ac_top_srcdir=$ac_top_builddir_sub
1665 ac_abs_top_srcdir=$ac_pwd ;;
1666 [\\/]* | ?:[\\/]* ) # Absolute name.
1667 ac_srcdir=$srcdir$ac_dir_suffix;
1668 ac_top_srcdir=$srcdir
1669 ac_abs_top_srcdir=$srcdir ;;
1671 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1672 ac_top_srcdir=$ac_top_build_prefix$srcdir
1673 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1675 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1677 cd "$ac_dir" || { ac_status=$?; continue; }
1678 # Check for guested configure.
1679 if test -f "$ac_srcdir/configure.gnu"; then
1681 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1682 elif test -f "$ac_srcdir/configure"; then
1684 $SHELL "$ac_srcdir/configure" --help=recursive
1686 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1688 cd "$ac_pwd" || { ac_status=$?; break; }
1692 test -n "$ac_init_help" && exit $ac_status
1693 if $ac_init_version; then
1696 generated by GNU Autoconf 2.64
1698 Copyright (C) 2009 Free Software Foundation, Inc.
1699 This configure script is free software; the Free Software Foundation
1700 gives unlimited permission to copy, distribute and modify it.
1705 ## ------------------------ ##
1706 ## Autoconf initialization. ##
1707 ## ------------------------ ##
1709 # ac_fn_c_try_compile LINENO
1710 # --------------------------
1711 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1712 ac_fn_c_try_compile ()
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 rm -f conftest.$ac_objext
1716 if { { ac_try="$ac_compile"
1718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1719 *) ac_try_echo
=$ac_try;;
1721 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_compile") 2>conftest.err
1725 if test -s conftest.err
; then
1726 grep -v '^ *+' conftest.err
>conftest.er1
1727 cat conftest.er1
>&5
1728 mv -f conftest.er1 conftest.err
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } && {
1732 test -z "$ac_c_werror_flag" ||
1733 test ! -s conftest.err
1734 } && test -s conftest.
$ac_objext; then :
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.
$ac_ext >&5
1742 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1745 } # ac_fn_c_try_compile
1747 # ac_fn_cxx_try_compile LINENO
1748 # ----------------------------
1749 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1750 ac_fn_cxx_try_compile
()
1752 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1753 rm -f conftest.
$ac_objext
1754 if { { ac_try
="$ac_compile"
1756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1757 *) ac_try_echo=$ac_try;;
1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761 (eval "$ac_compile") 2>conftest.err
1763 if test -s conftest.err; then
1764 grep -v '^ *+' conftest.err >conftest.er1
1765 cat conftest.er1 >&5
1766 mv -f conftest.er1 conftest.err
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && {
1770 test -z "$ac_cxx_werror_flag" ||
1771 test ! -s conftest.err
1772 } && test -s conftest.$ac_objext; then :
1775 $as_echo "$as_me: failed program was:" >&5
1776 sed 's/^/| /' conftest.$ac_ext >&5
1780 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1783 } # ac_fn_cxx_try_compile
1785 # ac_fn_cxx_try_link LINENO
1786 # -------------------------
1787 # Try to link conftest.$ac_ext, and return whether this succeeded.
1788 ac_fn_cxx_try_link ()
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 rm -f conftest.$ac_objext conftest$ac_exeext
1792 if { { ac_try="$ac_link"
1794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1795 *) ac_try_echo
=$ac_try;;
1797 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_link") 2>conftest.err
1801 if test -s conftest.err
; then
1802 grep -v '^ *+' conftest.err
>conftest.er1
1803 cat conftest.er1
>&5
1804 mv -f conftest.er1 conftest.err
1806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807 test $ac_status = 0; } && {
1808 test -z "$ac_cxx_werror_flag" ||
1809 test ! -s conftest.err
1810 } && test -s conftest
$ac_exeext && {
1811 test "$cross_compiling" = yes ||
1812 $as_test_x conftest
$ac_exeext
1816 $as_echo "$as_me: failed program was:" >&5
1817 sed 's/^/| /' conftest.
$ac_ext >&5
1821 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1822 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1823 # interfere with the next link command; also delete a directory that is
1824 # left behind by Apple's compiler. We do this before executing the actions.
1825 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1826 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1829 } # ac_fn_cxx_try_link
1831 # ac_fn_c_try_link LINENO
1832 # -----------------------
1833 # Try to link conftest.$ac_ext, and return whether this succeeded.
1836 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1837 rm -f conftest.
$ac_objext conftest
$ac_exeext
1838 if { { ac_try
="$ac_link"
1840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1841 *) ac_try_echo=$ac_try;;
1843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844 $as_echo "$ac_try_echo"; } >&5
1845 (eval "$ac_link") 2>conftest.err
1847 if test -s conftest.err; then
1848 grep -v '^ *+' conftest.err >conftest.er1
1849 cat conftest.er1 >&5
1850 mv -f conftest.er1 conftest.err
1852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853 test $ac_status = 0; } && {
1854 test -z "$ac_c_werror_flag" ||
1855 test ! -s conftest.err
1856 } && test -s conftest$ac_exeext && {
1857 test "$cross_compiling" = yes ||
1858 $as_test_x conftest$ac_exeext
1862 $as_echo "$as_me: failed program was:" >&5
1863 sed 's/^/| /' conftest.$ac_ext >&5
1867 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1868 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1869 # interfere with the next link command; also delete a directory that is
1870 # left behind by Apple's compiler. We do this before executing the actions.
1871 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1872 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1875 } # ac_fn_c_try_link
1876 cat >config.log <<_ACEOF
1877 This file contains any messages produced by compilers while
1878 running configure, to aid debugging if configure makes a mistake.
1880 It was created by $as_me, which was
1881 generated by GNU Autoconf 2.64. Invocation command line was
1893 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1894 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1895 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1896 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1897 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1899 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1900 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1902 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1903 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1904 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1905 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1906 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1907 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1908 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1916 test -z "$as_dir" && as_dir=.
1917 $as_echo "PATH: $as_dir"
1933 # Keep a trace of the command line.
1934 # Strip out --no-create and --no-recursion so they do not pile up.
1935 # Strip out --silent because we don't want to record it for future runs.
1936 # Also quote any args containing shell meta-characters.
1937 # Make two passes to allow for proper duplicate-argument suppression.
1941 ac_must_keep_next=false
1947 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1948 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1949 | -silent | --silent | --silen | --sile | --sil)
1952 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1955 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1957 as_fn_append ac_configure_args1 " '$ac_arg'"
1958 if test $ac_must_keep_next = true; then
1959 ac_must_keep_next=false # Got value, back to normal.
1962 *=* | --config-cache | -C | -disable-* | --disable-* \
1963 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1964 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1965 | -with-* | --with-* | -without-* | --without-* | --x)
1966 case "$ac_configure_args0 " in
1967 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1970 -* ) ac_must_keep_next=true ;;
1973 as_fn_append ac_configure_args " '$ac_arg'"
1978 { ac_configure_args0=; unset ac_configure_args0;}
1979 { ac_configure_args1=; unset ac_configure_args1;}
1981 # When interrupted or exit'd, cleanup temporary files, and complete
1982 # config.log. We remove comments because anyway the quotes in there
1983 # would cause problems or look ugly.
1984 # WARNING: Use '\'' to represent an apostrophe within the trap.
1985 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1986 trap 'exit_status=$?
1987 # Save into config.log some information that might help in debugging.
1992 ## ---------------- ##
1993 ## Cache variables. ##
1994 ## ---------------- ##
1997 # The following way of writing the cache mishandles newlines in values,
1999 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2000 eval ac_val=\$$ac_var
2004 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2005 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2008 _ | IFS | as_nl) ;; #(
2009 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2010 *) { eval $ac_var=; unset $ac_var;} ;;
2015 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2016 *${as_nl}ac_space=\ *)
2018 "s/'\''/'\''\\\\'\'''\''/g;
2019 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2022 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2030 ## ----------------- ##
2031 ## Output variables. ##
2032 ## ----------------- ##
2035 for ac_var in $ac_subst_vars
2037 eval ac_val=\$$ac_var
2039 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2041 $as_echo "$ac_var='\''$ac_val'\''"
2045 if test -n "$ac_subst_files"; then
2047 ## ------------------- ##
2048 ## File substitutions. ##
2049 ## ------------------- ##
2052 for ac_var in $ac_subst_files
2054 eval ac_val=\$$ac_var
2056 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2058 $as_echo "$ac_var='\''$ac_val'\''"
2063 if test -s confdefs.h; then
2073 test "$ac_signal" != 0 &&
2074 $as_echo "$as_me: caught signal $ac_signal"
2075 $as_echo "$as_me: exit $exit_status"
2077 rm -f core *.core core.conftest.* &&
2078 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2081 for ac_signal in 1 2 13 15; do
2082 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2086 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2087 rm -f -r conftest* confdefs.h
2089 $as_echo "/* confdefs.h */" > confdefs.h
2091 # Predefined preprocessor variables.
2093 cat >>confdefs.h <<_ACEOF
2094 #define PACKAGE_NAME "$PACKAGE_NAME"
2097 cat >>confdefs.h <<_ACEOF
2098 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2101 cat >>confdefs.h <<_ACEOF
2102 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2105 cat >>confdefs.h <<_ACEOF
2106 #define PACKAGE_STRING "$PACKAGE_STRING"
2109 cat >>confdefs.h <<_ACEOF
2110 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2113 cat >>confdefs.h <<_ACEOF
2114 #define PACKAGE_URL "$PACKAGE_URL"
2118 # Let the site file select an alternate cache file if it wants to.
2119 # Prefer an explicitly selected file to automatically selected ones.
2122 if test -n "$CONFIG_SITE"; then
2123 ac_site_file1=$CONFIG_SITE
2124 elif test "x$prefix" != xNONE; then
2125 ac_site_file1=$prefix/share/config.site
2126 ac_site_file2=$prefix/etc/config.site
2128 ac_site_file1=$ac_default_prefix/share/config.site
2129 ac_site_file2=$ac_default_prefix/etc/config.site
2131 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2133 test "x$ac_site_file" = xNONE && continue
2134 if test -r "$ac_site_file"; then
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2136 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2137 sed 's/^/| /' "$ac_site_file" >&5
2142 if test -r "$cache_file"; then
2143 # Some versions of bash will fail to source /dev/null (special
2144 # files actually), so we avoid doing that.
2145 if test -f "$cache_file"; then
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2147 $as_echo "$as_me: loading cache $cache_file" >&6;}
2149 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2150 *) . "./$cache_file";;
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2155 $as_echo "$as_me: creating cache $cache_file" >&6;}
2159 # Check that the precious variables saved in the cache have kept the same
2161 ac_cache_corrupted=false
2162 for ac_var in $ac_precious_vars; do
2163 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2164 eval ac_new_set=\$ac_env_${ac_var}_set
2165 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2166 eval ac_new_val=\$ac_env_${ac_var}_value
2167 case $ac_old_set,$ac_new_set in
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2170 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2171 ac_cache_corrupted=: ;;
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2174 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2175 ac_cache_corrupted=: ;;
2178 if test "x$ac_old_val" != "x$ac_new_val"; then
2179 # differences in whitespace do not lead to failure.
2180 ac_old_val_w=`echo x
$ac_old_val`
2181 ac_new_val_w=`echo x
$ac_new_val`
2182 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2184 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2185 ac_cache_corrupted=:
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2188 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2189 eval $ac_var=\$ac_old_val
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2192 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2194 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2197 # Pass precious variables to config.status.
2198 if test "$ac_new_set" = set; then
2200 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2201 *) ac_arg=$ac_var=$ac_new_val ;;
2203 case " $ac_configure_args " in
2204 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2205 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2209 if $ac_cache_corrupted; then
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2213 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2214 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2216 ## -------------------- ##
2217 ## Main body of script. ##
2218 ## -------------------- ##
2221 ac_cpp='$CPP $CPPFLAGS'
2222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2235 # if PWD already has a value, it is probably wrong.
2236 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2238 # Export original configure arguments for use by sub-configures.
2239 # Quote arguments with shell meta charatcers.
2240 TOPLEVEL_CONFIGURE_ARGUMENTS=
2241 set -- "$progname" "$@"
2245 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2246 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2247 # if the argument is of the form -foo=baz, quote the baz part only
2248 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2251 # Add the quoted argument to the list.
2252 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2254 if test "$silent" = yes; then
2255 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2257 # Remove the initial space we just introduced and, as these will be
2258 # expanded by make, quote '$'.
2259 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2262 # Find the build, host, and target systems.
2264 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2265 for ac_t in install-sh install.sh shtool; do
2266 if test -f "$ac_dir/$ac_t"; then
2268 ac_install_sh="$ac_aux_dir/$ac_t -c"
2273 if test -z "$ac_aux_dir"; then
2274 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2277 # These three variables are undocumented and unsupported,
2278 # and are intended to be withdrawn in a future Autoconf release.
2279 # They can cause serious problems if a builder's source tree is in a directory
2280 # whose full name contains unusual characters.
2281 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2282 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2283 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2286 # Make sure we can run config.sub.
2287 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2288 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2291 $as_echo_n "checking build system type... " >&6; }
2292 if test "${ac_cv_build+set}" = set; then :
2293 $as_echo_n "(cached) " >&6
2295 ac_build_alias=$build_alias
2296 test "x$ac_build_alias" = x &&
2297 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2298 test "x$ac_build_alias" = x &&
2299 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2300 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2301 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2305 $as_echo "$ac_cv_build" >&6; }
2306 case $ac_cv_build in
2308 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2311 ac_save_IFS=$IFS; IFS='-'
2317 # Remember, the first character of IFS is used to create $*,
2318 # except with old shells:
2321 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2324 case ${build_alias} in
2325 "") build_noncanonical=${build} ;;
2326 *) build_noncanonical=${build_alias} ;;
2331 case ${host_alias} in
2332 "") host_noncanonical=${build_noncanonical} ;;
2333 *) host_noncanonical=${host_alias} ;;
2338 case ${target_alias} in
2339 "") target_noncanonical=${host_noncanonical} ;;
2340 *) target_noncanonical=${target_alias} ;;
2346 test "$host_noncanonical" = "$target_noncanonical" &&
2347 test "$program_prefix$program_suffix$program_transform_name" = \
2349 program_transform_name=s,y,y,
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2352 $as_echo_n "checking host system type... " >&6; }
2353 if test "${ac_cv_host+set}" = set; then :
2354 $as_echo_n "(cached) " >&6
2356 if test "x$host_alias" = x; then
2357 ac_cv_host=$ac_cv_build
2359 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2360 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2365 $as_echo "$ac_cv_host" >&6; }
2368 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2371 ac_save_IFS=$IFS; IFS='-'
2377 # Remember, the first character of IFS is used to create $*,
2378 # except with old shells:
2381 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2385 $as_echo_n "checking target system type... " >&6; }
2386 if test "${ac_cv_target+set}" = set; then :
2387 $as_echo_n "(cached) " >&6
2389 if test "x$target_alias" = x; then
2390 ac_cv_target=$ac_cv_host
2392 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2393 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2398 $as_echo "$ac_cv_target" >&6; }
2399 case $ac_cv_target in
2401 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2403 target=$ac_cv_target
2404 ac_save_IFS=$IFS; IFS='-'
2410 # Remember, the first character of IFS is used to create $*,
2411 # except with old shells:
2414 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2417 # The aliases save the names the user supplied, while $host etc.
2418 # will get canonicalized.
2419 test -n "$target_alias" &&
2420 test "$program_prefix$program_suffix$program_transform_name" = \
2422 program_prefix=${target_alias}-
2424 test "$program_prefix" != NONE &&
2425 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2426 # Use a double $ so make ignores it.
2427 test "$program_suffix" != NONE &&
2428 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2429 # Double any \ or $.
2430 # By default was `s
,x
,x
', remove it if useless.
2431 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2432 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2436 # Get 'install' or 'install-sh
' and its variants.
2437 # Find a good install program. We prefer a C program (faster),
2438 # so one script is as good as another. But avoid the broken or
2439 # incompatible versions:
2440 # SysV /etc/install, /usr/sbin/install
2441 # SunOS /usr/etc/install
2442 # IRIX /sbin/install
2444 # AmigaOS /C/install, which installs bootblocks on floppy discs
2445 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2446 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2447 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2448 # OS/2's system install, which has a completely different semantic
2449 # ./install, which can be erroneously created by make from ./install.sh.
2450 # Reject install programs that cannot install multiple files.
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2452 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2453 if test -z "$INSTALL"; then
2454 if test "${ac_cv_path_install+set}" = set; then :
2455 $as_echo_n "(cached) " >&6
2457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2461 test -z "$as_dir" && as_dir
=.
2462 # Account for people who put trailing slashes in PATH elements.
2463 case $as_dir/ in #((
2464 .
/ | .
// |
/[cC
]/* | \
2465 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2466 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2469 # OSF1 and SCO ODT 3.0 have their own names for install.
2470 # Don't use installbsd from OSF since it installs stuff as root
2472 for ac_prog
in ginstall scoinst
install; do
2473 for ac_exec_ext
in '' $ac_executable_extensions; do
2474 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2475 if test $ac_prog = install &&
2476 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2477 # AIX install. It has an incompatible calling convention.
2479 elif test $ac_prog = install &&
2480 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2481 # program-specific install script used by HP pwplus--don't use.
2484 rm -rf conftest.one conftest.two conftest.dir
2485 echo one
> conftest.one
2486 echo two
> conftest.two
2488 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2489 test -s conftest.one
&& test -s conftest.two
&&
2490 test -s conftest.dir
/conftest.one
&&
2491 test -s conftest.dir
/conftest.two
2493 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2506 rm -rf conftest.one conftest.two conftest.dir
2509 if test "${ac_cv_path_install+set}" = set; then
2510 INSTALL
=$ac_cv_path_install
2512 # As a last resort, use the slow shell script. Don't cache a
2513 # value for INSTALL within a source directory, because that will
2514 # break other packages using the cache if that directory is
2515 # removed, or if the value is a relative name.
2516 INSTALL
=$ac_install_sh
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2520 $as_echo "$INSTALL" >&6; }
2522 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2523 # It thinks the first close brace ends the variable substitution.
2524 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2526 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2528 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2531 $as_echo_n "checking whether ln works... " >&6; }
2532 if test "${acx_cv_prog_LN+set}" = set; then :
2533 $as_echo_n "(cached) " >&6
2535 rm -f conftestdata_t
2536 echo >conftestdata_f
2537 if ln conftestdata_f conftestdata_t
2>/dev
/null
2543 rm -f conftestdata_f conftestdata_t
2546 if test $acx_cv_prog_LN = no
; then
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2549 $as_echo "no, using $LN" >&6; }
2551 LN
="$acx_cv_prog_LN"
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2553 $as_echo "yes" >&6; }
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2557 $as_echo_n "checking whether ln -s works... " >&6; }
2559 if test "$LN_S" = "ln -s"; then
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2561 $as_echo "yes" >&6; }
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2564 $as_echo "no, using $LN_S" >&6; }
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2568 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2569 if test "${ac_cv_path_SED+set}" = set; then :
2570 $as_echo_n "(cached) " >&6
2572 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2573 for ac_i
in 1 2 3 4 5 6 7; do
2574 ac_script
="$ac_script$as_nl$ac_script"
2576 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2577 { ac_script
=; unset ac_script
;}
2578 if test -z "$SED"; then
2579 ac_path_SED_found
=false
2580 # Loop through the user's path and test for each of PROGNAME-LIST
2581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir
=.
2586 for ac_prog
in sed gsed
; do
2587 for ac_exec_ext
in '' $ac_executable_extensions; do
2588 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2589 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2590 # Check for GNU ac_path_SED and select it if it is found.
2591 # Check for GNU $ac_path_SED
2592 case `"$ac_path_SED" --version 2>&1` in
2594 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2597 $as_echo_n 0123456789 >"conftest.in"
2600 cat "conftest.in" "conftest.in" >"conftest.tmp"
2601 mv "conftest.tmp" "conftest.in"
2602 cp "conftest.in" "conftest.nl"
2603 $as_echo '' >> "conftest.nl"
2604 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2605 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2606 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2607 if test $ac_count -gt ${ac_path_SED_max-0}; then
2608 # Best one so far, save it but keep looking for a better one
2609 ac_cv_path_SED
="$ac_path_SED"
2610 ac_path_SED_max
=$ac_count
2612 # 10*(2^10) chars as input seems more than enough
2613 test $ac_count -gt 10 && break
2615 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2618 $ac_path_SED_found && break 3
2623 if test -z "$ac_cv_path_SED"; then
2624 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2632 $as_echo "$ac_cv_path_SED" >&6; }
2633 SED
="$ac_cv_path_SED"
2636 for ac_prog
in gawk mawk nawk
awk
2638 # Extract the first word of "$ac_prog", so it can be a program name with args.
2639 set dummy
$ac_prog; ac_word
=$2
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2641 $as_echo_n "checking for $ac_word... " >&6; }
2642 if test "${ac_cv_prog_AWK+set}" = set; then :
2643 $as_echo_n "(cached) " >&6
2645 if test -n "$AWK"; then
2646 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2652 test -z "$as_dir" && as_dir
=.
2653 for ac_exec_ext
in '' $ac_executable_extensions; do
2654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2655 ac_cv_prog_AWK
="$ac_prog"
2656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2666 if test -n "$AWK"; then
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2668 $as_echo "$AWK" >&6; }
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2671 $as_echo "no" >&6; }
2675 test -n "$AWK" && break
2679 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2681 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2683 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2684 INSTALL
="${srcpwd}/install-sh -c"
2687 # Set srcdir to "." if that's what it is.
2688 # This is important for multilib support.
2690 if test "${pwd}" = "${srcpwd}" ; then
2698 ### To add a new directory to the tree, first choose whether it is a target
2699 ### or a host dependent tool. Then put it into the appropriate list
2700 ### (library or tools, host or target), doing a dependency sort.
2702 # Subdirs will be configured in the order listed in build_configdirs,
2703 # configdirs, or target_configdirs; see the serialization section below.
2705 # Dependency sorting is only needed when *configuration* must be done in
2706 # a particular order. In all cases a dependency should be specified in
2707 # the Makefile, whether or not it's implicitly specified here.
2709 # Double entries in build_configdirs, configdirs, or target_configdirs may
2710 # cause circular dependencies and break everything horribly.
2712 # these library is used by various programs built for the build
2715 build_libs
="build-libiberty build-libcpp"
2717 # these tools are built for the build environment
2718 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2720 # these libraries are used by various programs built for the host environment
2722 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2724 # these tools are built for the host environment
2725 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2726 # know that we are building the simulator.
2727 # binutils, gas and ld appear in that order because it makes sense to run
2728 # "make check" in that particular order.
2729 # If --enable-gold is used, "gold" may replace "ld".
2730 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
2732 # these libraries are built for the target environment, and are built after
2733 # the host libraries and the host tools (which may be a cross compiler)
2734 # Note that libiberty is not a target library.
2735 target_libraries
="target-libgcc \
2736 target-libbacktrace \
2741 target-liboffloadmic \
2744 target-libstdc++-v3 \
2745 target-libsanitizer \
2749 target-libquadmath \
2750 target-libgfortran \
2755 # these tools are built using the target libraries, and are intended to
2756 # run only in the target environment
2758 # note: any program that *uses* libraries that are in the "target_libraries"
2759 # list belongs in this list.
2761 target_tools
="target-rda"
2763 ################################################################################
2765 ## All tools belong in one of the four categories, and are assigned above
2766 ## We assign ${configdirs} this way to remove all embedded newlines. This
2767 ## is important because configure will choke if they ever get through.
2768 ## ${configdirs} is directories we build using the host tools.
2769 ## ${target_configdirs} is directories we build using the target tools.
2770 configdirs
=`echo ${host_libs} ${host_tools}`
2771 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2772 build_configdirs
=`echo ${build_libs} ${build_tools}`
2776 ################################################################################
2778 srcname
="gnu development package"
2780 # This gets set non-empty for some net releases of packages.
2783 # Define is_cross_compiler to save on calls to 'test'.
2785 if test x
"${host}" = x
"${target}" ; then
2786 is_cross_compiler
=no
2788 is_cross_compiler
=yes
2791 # Find the build and target subdir names.
2793 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2794 # have matching libraries, they should use host libraries: Makefile.tpl
2795 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2796 # However, they still use the build modules, because the corresponding
2797 # host modules (e.g. bison) are only built for the host when bootstrap
2799 # - build_subdir is where we find build modules, and never changes.
2800 # - build_libsubdir is where we find build libraries, and can be overridden.
2802 # Prefix 'build-' so this never conflicts with target_subdir.
2803 build_subdir
="build-${build_noncanonical}"
2805 # Check whether --with-build-libsubdir was given.
2806 if test "${with_build_libsubdir+set}" = set; then :
2807 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2809 build_libsubdir
="$build_subdir"
2812 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2813 if ( test $srcdir = .
&& test -d gcc
) \
2814 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2815 host_subdir
="host-${host_noncanonical}"
2820 target_subdir
=${target_noncanonical}
2822 # Be sure to cover against remnants of an in-tree build.
2823 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2824 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2825 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2828 # Skipdirs are removed silently.
2830 # Noconfigdirs are removed loudly.
2834 # Make sure we don't let GNU ld be added if we didn't want it.
2835 if test x
$with_gnu_ld = xno
; then
2837 noconfigdirs
="$noconfigdirs ld gold"
2841 # Make sure we don't let GNU as be added if we didn't want it.
2842 if test x
$with_gnu_as = xno
; then
2844 noconfigdirs
="$noconfigdirs gas"
2849 # Check whether --with-system-zlib was given.
2850 if test "${with_system_zlib+set}" = set; then :
2851 withval
=$with_system_zlib;
2854 # Make sure we don't let ZLIB be added if we didn't want it.
2855 if test x
$with_system_zlib = xyes
; then
2856 use_included_zlib
=no
2857 noconfigdirs
="$noconfigdirs zlib"
2860 # some tools are so dependent upon X11 that if we're not building with X,
2861 # it's not even worth trying to configure, much less build, that tool.
2864 yes |
"") ;; # the default value for this tree is that X11 is available
2866 skipdirs
="${skipdirs} tk itcl libgui"
2867 # We won't be able to build gdbtk without X.
2870 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2873 # Some are only suitable for cross toolchains.
2874 # Remove these if host=target.
2875 cross_only
="target-libgloss target-newlib target-opcodes"
2877 case $is_cross_compiler in
2878 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2881 # If both --with-headers and --with-libs are specified, default to
2883 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2884 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2885 if test x
"${with_newlib}" = x
; then
2890 # Recognize --with-newlib/--without-newlib.
2891 case ${with_newlib} in
2892 no
) skipdirs
="${skipdirs} target-newlib" ;;
2893 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2896 # Check whether --enable-as-accelerator-for was given.
2897 if test "${enable_as_accelerator_for+set}" = set; then :
2898 enableval
=$enable_as_accelerator_for;
2902 # Check whether --enable-offload-targets was given.
2903 if test "${enable_offload_targets+set}" = set; then :
2904 enableval
=$enable_offload_targets;
2905 if test x
"$enable_offload_targets" = x
; then
2906 as_fn_error
"no offload targets specified" "$LINENO" 5
2910 enable_offload_targets
=
2914 # Handle --enable-gold, --enable-ld.
2915 # --disable-gold [--enable-ld]
2916 # Build only ld. Default option.
2917 # --enable-gold [--enable-ld]
2918 # Build both gold and ld. Install gold as "ld.gold", install ld
2919 # as "ld.bfd" and "ld".
2920 # --enable-gold=default [--enable-ld]
2921 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2922 # install ld as "ld.bfd".
2923 # --enable-gold[=default] --disable-ld
2924 # Build only gold, which is then installed as both "ld.gold" and "ld".
2925 # --enable-gold --enable-ld=default
2926 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2928 # In other words, ld is default
2929 # --enable-gold=default --enable-ld=default
2933 # Check whether --enable-gold was given.
2934 if test "${enable_gold+set}" = set; then :
2935 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2940 case "${ENABLE_GOLD}" in
2942 # Check for ELF target.
2945 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2946 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2947 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2948 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2950 *-*-linux*aout
* |
*-*-linux*oldld
*)
2958 if test "$is_elf" = "yes"; then
2959 # Check for target supported by gold.
2961 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
2962 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
2963 configdirs
="$configdirs gold"
2964 if test x
${ENABLE_GOLD} = xdefault
; then
2975 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2979 # Check whether --enable-ld was given.
2980 if test "${enable_ld+set}" = set; then :
2981 enableval
=$enable_ld; ENABLE_LD
=$enableval
2987 case "${ENABLE_LD}" in
2989 if test x
${default_ld} != x
; then
2990 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2996 if test x
${ENABLE_GOLD} != xyes
; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2998 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3000 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3003 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3008 # Decide the default method for compressing debug sections.
3009 # Provide a configure time option to override our default.
3010 # Check whether --enable-compressed_debug_sections was given.
3011 if test "${enable_compressed_debug_sections+set}" = set; then :
3012 enableval
=$enable_compressed_debug_sections;
3013 if test x
"$enable_compressed_debug_sections" = xyes
; then
3014 as_fn_error
"no program with compressed debug sections specified" "$LINENO" 5
3018 enable_compressed_debug_sections
=
3022 # Configure extra directories which are host specific
3026 configdirs
="$configdirs libtermcap" ;;
3029 # A target can indicate whether a language isn't supported for some reason.
3030 # Only spaces may be used in this macro; not newlines or tabs.
3031 unsupported_languages
=
3033 # Remove more programs from consideration, based on the host or
3034 # target this usually means that a port of the program doesn't
3038 i
[3456789]86-*-msdosdjgpp*)
3039 noconfigdirs
="$noconfigdirs tcl tk itcl"
3044 # Check whether --enable-libquadmath was given.
3045 if test "${enable_libquadmath+set}" = set; then :
3046 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3048 ENABLE_LIBQUADMATH
=yes
3051 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3052 noconfigdirs
="$noconfigdirs target-libquadmath"
3056 # Check whether --enable-libquadmath-support was given.
3057 if test "${enable_libquadmath_support+set}" = set; then :
3058 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3060 ENABLE_LIBQUADMATH_SUPPORT
=yes
3063 enable_libquadmath_support
=
3064 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3065 enable_libquadmath_support
=no
3069 # Check whether --enable-libada was given.
3070 if test "${enable_libada+set}" = set; then :
3071 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3076 if test "${ENABLE_LIBADA}" != "yes" ; then
3077 noconfigdirs
="$noconfigdirs gnattools"
3080 # Check whether --enable-libssp was given.
3081 if test "${enable_libssp+set}" = set; then :
3082 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3088 # Check whether --enable-libstdcxx was given.
3089 if test "${enable_libstdcxx+set}" = set; then :
3090 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3092 ENABLE_LIBSTDCXX
=default
3095 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3096 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3099 # If this is accelerator compiler and its target is intelmic we enable
3100 # target liboffloadmic by default. If this is compiler with offloading
3101 # for intelmic we enable host liboffloadmic by default. Otherwise
3102 # liboffloadmic is disabled by default.
3103 # Check whether --enable-liboffloadmic was given.
3104 if test "${enable_liboffloadmic+set}" = set; then :
3105 enableval
=$enable_liboffloadmic; case "$enableval" in
3107 enable_liboffloadmic
=$enableval ;;
3109 as_fn_error
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3112 if test x
"$enable_as_accelerator_for" != x
; then
3114 *-intelmic-* |
*-intelmicemul-*)
3115 enable_liboffloadmic
=target
3116 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3119 enable_liboffloadmic
=no
3123 case "${enable_offload_targets}" in
3124 *-intelmic-* |
*-intelmicemul-*)
3125 enable_liboffloadmic
=host
3126 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3129 enable_liboffloadmic
=no
3137 # Enable libgomp by default on hosted POSIX systems, and a few others.
3138 if test x
$enable_libgomp = x
; then
3140 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3142 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3144 *-*-solaris2* |
*-*-hpux11*)
3146 *-*-darwin* |
*-*-aix*)
3151 noconfigdirs
="$noconfigdirs target-libgomp"
3156 # Disable libatomic on unsupported systems.
3157 if test -d ${srcdir}/libatomic
; then
3158 if test x
$enable_libatomic = x
; then
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3160 $as_echo_n "checking for libatomic support... " >&6; }
3161 if (srcdir
=${srcdir}/libatomic
; \
3162 .
${srcdir}/configure.tgt
; \
3163 test -n "$UNSUPPORTED")
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3167 noconfigdirs
="$noconfigdirs target-libatomic"
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3170 $as_echo "yes" >&6; }
3175 # Disable libcilkrts on unsupported systems.
3176 if test -d ${srcdir}/libcilkrts
; then
3177 if test x
$enable_libcilkrts = x
; then
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3179 $as_echo_n "checking for libcilkrts support... " >&6; }
3180 if (srcdir
=${srcdir}/libcilkrts
; \
3181 .
${srcdir}/configure.tgt
; \
3182 test -n "$UNSUPPORTED")
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185 $as_echo "no" >&6; }
3186 noconfigdirs
="$noconfigdirs target-libcilkrts"
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3189 $as_echo "yes" >&6; }
3194 # Disable liboffloadmic on unsupported systems.
3195 if test -d ${srcdir}/liboffloadmic
; then
3196 if test x
$enable_liboffloadmic != xno
; then
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3198 $as_echo_n "checking for liboffloadmic support... " >&6; }
3199 if (srcdir
=${srcdir}/liboffloadmic
; \
3200 .
${srcdir}/configure.tgt
; \
3201 test -n "$UNSUPPORTED")
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3205 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3208 $as_echo "yes" >&6; }
3213 # Disable libitm on unsupported systems.
3214 if test -d ${srcdir}/libitm
; then
3215 if test x
$enable_libitm = x
; then
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3217 $as_echo_n "checking for libitm support... " >&6; }
3218 if (srcdir
=${srcdir}/libitm
; \
3219 .
${srcdir}/configure.tgt
; \
3220 test -n "$UNSUPPORTED")
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3223 $as_echo "no" >&6; }
3224 noconfigdirs
="$noconfigdirs target-libitm"
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3227 $as_echo "yes" >&6; }
3232 # Disable libsanitizer on unsupported systems.
3233 if test -d ${srcdir}/libsanitizer
; then
3234 if test x
$enable_libsanitizer = x
; then
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3236 $as_echo_n "checking for libsanitizer support... " >&6; }
3237 if (srcdir
=${srcdir}/libsanitizer
; \
3238 .
${srcdir}/configure.tgt
; \
3239 test -n "$UNSUPPORTED")
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3243 noconfigdirs
="$noconfigdirs target-libsanitizer"
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3246 $as_echo "yes" >&6; }
3251 # Disable libvtv on unsupported systems.
3252 if test -d ${srcdir}/libvtv
; then
3253 if test x
$enable_libvtv = x
; then
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3255 $as_echo_n "checking for libvtv support... " >&6; }
3256 if (srcdir
=${srcdir}/libvtv
; \
3257 .
${srcdir}/configure.tgt
; \
3258 test "$VTV_SUPPORTED" != "yes")
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261 $as_echo "no" >&6; }
3262 noconfigdirs
="$noconfigdirs target-libvtv"
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3265 $as_echo "yes" >&6; }
3271 # Enable libmpx on supported systems by request.
3272 if test -d ${srcdir}/libmpx
; then
3273 if test x
$enable_libmpx = x
; then
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpx support" >&5
3275 $as_echo_n "checking for libmpx support... " >&6; }
3276 if (srcdir
=${srcdir}/libmpx
; \
3277 .
${srcdir}/configure.tgt
; \
3278 test "$LIBMPX_SUPPORTED" != "yes")
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3282 noconfigdirs
="$noconfigdirs target-libmpx"
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3285 $as_echo "yes" >&6; }
3292 # Disable libquadmath for some systems.
3295 noconfigdirs
="$noconfigdirs target-libquadmath"
3297 # libquadmath is unused on AIX and libquadmath build process use of
3298 # LD_LIBRARY_PATH can break AIX bootstrap.
3299 powerpc-
*-aix* | rs6000-
*-aix*)
3300 noconfigdirs
="$noconfigdirs target-libquadmath"
3304 # Disable libssp for some systems.
3307 # No hosted I/O support.
3308 noconfigdirs
="$noconfigdirs target-libssp"
3310 powerpc-
*-aix* | rs6000-
*-aix*)
3311 noconfigdirs
="$noconfigdirs target-libssp"
3314 # libssp uses a misaligned load to trigger a fault, but the RL78
3315 # doesn't fault for those - instead, it gives a build-time error
3316 # for explicit misaligned loads.
3317 noconfigdirs
="$noconfigdirs target-libssp"
3320 # No hosted I/O support.
3321 noconfigdirs
="$noconfigdirs target-libssp"
3325 # Disable libstdc++-v3 for some systems.
3326 # Allow user to override this if they pass --enable-libstdc++-v3
3327 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3330 # VxWorks uses the Dinkumware C++ library.
3331 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3334 # the C++ libraries don't build on top of CE's C libraries
3335 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3338 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3341 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3346 # Disable Fortran for some systems.
3349 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3350 unsupported_languages
="$unsupported_languages fortran"
3354 # Disable libgo for some systems where it is known to not work.
3355 # For testing, you can easily override this with --enable-libgo.
3356 if test x
$enable_libgo = x
; then
3360 noconfigdirs
="$noconfigdirs target-libgo"
3362 *-*-cygwin* |
*-*-mingw*)
3363 noconfigdirs
="$noconfigdirs target-libgo"
3366 noconfigdirs
="$noconfigdirs target-libgo"
3371 # Default libgloss CPU subdirectory.
3372 libgloss_dir
="$target_cpu"
3375 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3379 libgloss_dir
=aarch64
3384 cris-
*-* | crisv32-
*-*)
3393 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3394 libgloss_dir
=m68hc11
3396 m68
*-*-* | fido-
*-*)
3410 # Disable newlib and libgloss for various target OSes.
3413 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3415 i
[3456789]86-*-linux*)
3416 # This section makes it possible to build newlib natively on linux.
3417 # If we are using a cross compiler then don't configure newlib.
3418 if test x
${is_cross_compiler} != xno
; then
3419 noconfigdirs
="$noconfigdirs target-newlib"
3421 noconfigdirs
="$noconfigdirs target-libgloss"
3422 # If we are not using a cross compiler, do configure newlib.
3423 # Note however, that newlib will only be configured in this situation
3424 # if the --with-newlib option has been given, because otherwise
3425 # 'target-newlib' will appear in skipdirs.
3427 i
[3456789]86-*-rdos*)
3428 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3430 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3431 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3434 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3437 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3440 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3443 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3446 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3449 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3451 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3452 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3455 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3458 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3461 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3464 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3467 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3470 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3473 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3481 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3482 noconfigdirs
="$noconfigdirs sim target-rda"
3485 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3486 noconfigdirs
="$noconfigdirs sim target-rda"
3489 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3490 noconfigdirs
="$noconfigdirs sim target-rda"
3492 i
[3456789]86-*-darwin*)
3493 noconfigdirs
="$noconfigdirs ld gprof"
3494 noconfigdirs
="$noconfigdirs sim target-rda"
3496 x86_64-
*-darwin[912]*)
3497 noconfigdirs
="$noconfigdirs ld gas gprof"
3498 noconfigdirs
="$noconfigdirs sim target-rda"
3501 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3502 noconfigdirs
="$noconfigdirs sim target-rda"
3507 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3508 && test -f /usr
/local
/include
/gmp.h
; then
3513 # Remove unsupported stuff on all kaOS configurations.
3514 noconfigdirs
="$noconfigdirs target-libgloss"
3521 noconfigdirs
="$noconfigdirs target-libgloss"
3524 noconfigdirs
="$noconfigdirs target-libgloss"
3525 # this is not caught below because this stanza matches earlier
3527 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3530 # The tpf target doesn't support gdb yet.
3532 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3535 noconfigdirs
="$noconfigdirs target-rda"
3540 # ld works, but does not support shared libraries.
3541 # gas doesn't generate exception information.
3542 noconfigdirs
="$noconfigdirs gas ld"
3545 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3548 # newlib is not 64 bit ready
3549 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3551 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3552 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3555 noconfigdirs
="$noconfigdirs sim"
3558 noconfigdirs
="$noconfigdirs target-libgloss"
3561 noconfigdirs
="$noconfigdirs ld target-libgloss"
3564 if test x
${with_avrlibc} != xno
; then
3565 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3568 c4x-
*-* | tic4x-
*-*)
3569 noconfigdirs
="$noconfigdirs target-libgloss"
3572 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3575 noconfigdirs
="$noconfigdirs target-libgloss"
3578 noconfigdirs
="$noconfigdirs gdb"
3581 noconfigdirs
="$noconfigdirs gdb"
3584 noconfigdirs
="$noconfigdirs target-rda gprof"
3587 noconfigdirs
="$noconfigdirs"
3590 noconfigdirs
="$noconfigdirs target-libgloss"
3593 noconfigdirs
="$noconfigdirs target-libgloss"
3595 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3598 noconfigdirs
="$noconfigdirs gdb"
3601 noconfigdirs
="$noconfigdirs gdb ld"
3609 hppa
*-*-openbsd* | \
3615 noconfigdirs
="$noconfigdirs ld"
3618 noconfigdirs
="$noconfigdirs gdb"
3621 # No gdb support yet.
3622 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3625 # No ld support yet.
3626 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3629 # No ld support yet.
3630 noconfigdirs
="$noconfigdirs libgui itcl ld"
3632 i
[3456789]86-w64-mingw*)
3634 i
[3456789]86-*-mingw*)
3635 target_configdirs
="$target_configdirs target-winsup"
3638 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3639 noconfigdirs
="$noconfigdirs target-libgloss"
3640 # always build newlib if winsup directory is present.
3641 if test -d "$srcdir/winsup/cygwin"; then
3642 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3643 elif test -d "$srcdir/newlib"; then
3644 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3648 noconfigdirs
="$noconfigdirs target-libgloss"
3650 i
[3456789]86-*-sco3.2v5
*)
3651 # The linker does not yet know about weak symbols in COFF,
3652 # and is not configured to handle mixed ELF and COFF.
3653 noconfigdirs
="$noconfigdirs ld target-libgloss"
3655 i
[3456789]86-*-sco*)
3656 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3658 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3659 noconfigdirs
="$noconfigdirs target-libgloss"
3661 i
[3456789]86-*-sysv4*)
3662 noconfigdirs
="$noconfigdirs target-libgloss"
3664 i
[3456789]86-*-beos*)
3665 noconfigdirs
="$noconfigdirs gdb"
3667 i
[3456789]86-*-rdos*)
3668 noconfigdirs
="$noconfigdirs gdb"
3671 noconfigdirs
="$noconfigdirs gdb"
3674 noconfigdirs
="$noconfigdirs sim"
3677 # copied from rs6000-*-* entry
3678 noconfigdirs
="$noconfigdirs gprof"
3680 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3681 target_configdirs
="$target_configdirs target-winsup"
3682 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3683 # always build newlib.
3684 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3686 # This is temporary until we can link against shared libraries
3687 powerpcle-
*-solaris*)
3688 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3691 noconfigdirs
="$noconfigdirs gdb"
3694 noconfigdirs
="$noconfigdirs gprof"
3697 noconfigdirs
="$noconfigdirs gprof"
3700 noconfigdirs
="$noconfigdirs gprof"
3703 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3706 noconfigdirs
="$noconfigdirs gprof"
3708 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3709 if test x
$with_newlib = xyes
; then
3710 noconfigdirs
="$noconfigdirs gprof"
3714 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3717 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3720 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3724 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3725 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3726 noconfigdirs
="$noconfigdirs ld gas gprof"
3729 noconfigdirs
="$noconfigdirs gprof"
3732 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3735 noconfigdirs
="$noconfigdirs gdb"
3742 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3746 if test x
${is_cross_compiler} = xno
; then
3751 noconfigdirs
="$noconfigdirs sim"
3753 tilepro
*-*-* | tilegx
*-*-*)
3754 noconfigdirs
="$noconfigdirs sim"
3757 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3760 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3764 # If we aren't building newlib, then don't build libgloss, since libgloss
3765 # depends upon some newlib header files.
3766 case "${noconfigdirs}" in
3767 *target-libgloss
*) ;;
3768 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3771 # Work in distributions that contain no compiler tools, like Autoconf.
3772 host_makefile_frag
=/dev
/null
3773 if test -d ${srcdir}/config
; then
3775 i
[3456789]86-*-msdosdjgpp*)
3776 host_makefile_frag
="config/mh-djgpp"
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3781 $as_echo_n "checking to see if cat works as expected... " >&6; }
3782 echo a
>cygwin-cat-check
3783 if test `cat cygwin-cat-check` = a
; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3786 $as_echo "yes" >&6; }
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 $as_echo "no" >&6; }
3791 as_fn_error
"The cat command does not ignore carriage return characters.
3792 Please either mount the build directory in binary mode or run the following
3793 commands before running any configure script:
3799 host_makefile_frag
="config/mh-cygwin"
3802 host_makefile_frag
="config/mh-mingw"
3805 host_makefile_frag
="config/mh-alpha-linux"
3808 host_makefile_frag
="config/mh-pa-hpux10"
3811 host_makefile_frag
="config/mh-pa"
3814 host_makefile_frag
="config/mh-pa"
3817 host_makefile_frag
="config/mh-darwin"
3820 host_makefile_frag
="config/mh-ppc-aix"
3823 host_makefile_frag
="config/mh-ppc-aix"
3828 if test "${build}" != "${host}" ; then
3829 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3830 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3831 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3832 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3833 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3834 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3835 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3836 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3837 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3838 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3839 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3840 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3841 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3843 AR_FOR_BUILD
="\$(AR)"
3844 AS_FOR_BUILD
="\$(AS)"
3845 CC_FOR_BUILD
="\$(CC)"
3846 CXX_FOR_BUILD
="\$(CXX)"
3847 GCJ_FOR_BUILD
="\$(GCJ)"
3848 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3849 GOC_FOR_BUILD
="\$(GOC)"
3850 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3851 LD_FOR_BUILD
="\$(LD)"
3852 NM_FOR_BUILD
="\$(NM)"
3853 RANLIB_FOR_BUILD
="\$(RANLIB)"
3854 WINDRES_FOR_BUILD
="\$(WINDRES)"
3855 WINDMC_FOR_BUILD
="\$(WINDMC)"
3859 ac_cpp
='$CPP $CPPFLAGS'
3860 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3861 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3862 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3863 if test -n "$ac_tool_prefix"; then
3864 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3865 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3867 $as_echo_n "checking for $ac_word... " >&6; }
3868 if test "${ac_cv_prog_CC+set}" = set; then :
3869 $as_echo_n "(cached) " >&6
3871 if test -n "$CC"; then
3872 ac_cv_prog_CC
="$CC" # Let the user override the test.
3874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3878 test -z "$as_dir" && as_dir
=.
3879 for ac_exec_ext
in '' $ac_executable_extensions; do
3880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3881 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3892 if test -n "$CC"; then
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3894 $as_echo "$CC" >&6; }
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3897 $as_echo "no" >&6; }
3902 if test -z "$ac_cv_prog_CC"; then
3904 # Extract the first word of "gcc", so it can be a program name with args.
3905 set dummy gcc
; ac_word
=$2
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3907 $as_echo_n "checking for $ac_word... " >&6; }
3908 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3909 $as_echo_n "(cached) " >&6
3911 if test -n "$ac_ct_CC"; then
3912 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3918 test -z "$as_dir" && as_dir
=.
3919 for ac_exec_ext
in '' $ac_executable_extensions; do
3920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3921 ac_cv_prog_ac_ct_CC
="gcc"
3922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3932 if test -n "$ac_ct_CC"; then
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3934 $as_echo "$ac_ct_CC" >&6; }
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3937 $as_echo "no" >&6; }
3940 if test "x$ac_ct_CC" = x
; then
3943 case $cross_compiling:$ac_tool_warned in
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3947 ac_tool_warned
=yes ;;
3955 if test -z "$CC"; then
3956 if test -n "$ac_tool_prefix"; then
3957 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3958 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3960 $as_echo_n "checking for $ac_word... " >&6; }
3961 if test "${ac_cv_prog_CC+set}" = set; then :
3962 $as_echo_n "(cached) " >&6
3964 if test -n "$CC"; then
3965 ac_cv_prog_CC
="$CC" # Let the user override the test.
3967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3971 test -z "$as_dir" && as_dir
=.
3972 for ac_exec_ext
in '' $ac_executable_extensions; do
3973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3974 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3985 if test -n "$CC"; then
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3987 $as_echo "$CC" >&6; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3990 $as_echo "no" >&6; }
3996 if test -z "$CC"; then
3997 # Extract the first word of "cc", so it can be a program name with args.
3998 set dummy cc
; ac_word
=$2
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4000 $as_echo_n "checking for $ac_word... " >&6; }
4001 if test "${ac_cv_prog_CC+set}" = set; then :
4002 $as_echo_n "(cached) " >&6
4004 if test -n "$CC"; then
4005 ac_cv_prog_CC
="$CC" # Let the user override the test.
4008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4012 test -z "$as_dir" && as_dir
=.
4013 for ac_exec_ext
in '' $ac_executable_extensions; do
4014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4015 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4016 ac_prog_rejected
=yes
4020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4027 if test $ac_prog_rejected = yes; then
4028 # We found a bogon in the path, so make sure we never use it.
4029 set dummy
$ac_cv_prog_CC
4031 if test $# != 0; then
4032 # We chose a different compiler from the bogus one.
4033 # However, it has the same basename, so the bogon will be chosen
4034 # first if we set CC to just the basename; use the full file name.
4036 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4042 if test -n "$CC"; then
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4044 $as_echo "$CC" >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4047 $as_echo "no" >&6; }
4052 if test -z "$CC"; then
4053 if test -n "$ac_tool_prefix"; then
4054 for ac_prog
in cl.exe
4056 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4057 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4059 $as_echo_n "checking for $ac_word... " >&6; }
4060 if test "${ac_cv_prog_CC+set}" = set; then :
4061 $as_echo_n "(cached) " >&6
4063 if test -n "$CC"; then
4064 ac_cv_prog_CC
="$CC" # Let the user override the test.
4066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4070 test -z "$as_dir" && as_dir
=.
4071 for ac_exec_ext
in '' $ac_executable_extensions; do
4072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4073 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4084 if test -n "$CC"; then
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4086 $as_echo "$CC" >&6; }
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4089 $as_echo "no" >&6; }
4093 test -n "$CC" && break
4096 if test -z "$CC"; then
4098 for ac_prog
in cl.exe
4100 # Extract the first word of "$ac_prog", so it can be a program name with args.
4101 set dummy
$ac_prog; ac_word
=$2
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4103 $as_echo_n "checking for $ac_word... " >&6; }
4104 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4105 $as_echo_n "(cached) " >&6
4107 if test -n "$ac_ct_CC"; then
4108 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4114 test -z "$as_dir" && as_dir
=.
4115 for ac_exec_ext
in '' $ac_executable_extensions; do
4116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4117 ac_cv_prog_ac_ct_CC
="$ac_prog"
4118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4127 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4128 if test -n "$ac_ct_CC"; then
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4130 $as_echo "$ac_ct_CC" >&6; }
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4133 $as_echo "no" >&6; }
4137 test -n "$ac_ct_CC" && break
4140 if test "x$ac_ct_CC" = x
; then
4143 case $cross_compiling:$ac_tool_warned in
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4147 ac_tool_warned
=yes ;;
4156 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4158 as_fn_error
"no acceptable C compiler found in \$PATH
4159 See \`config.log' for more details." "$LINENO" 5; }
4161 # Provide some information about the compiler.
4162 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4165 for ac_option
in --version -v -V -qversion; do
4166 { { ac_try
="$ac_compiler $ac_option >&5"
4168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4169 *) ac_try_echo=$ac_try;;
4171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4172 $as_echo "$ac_try_echo"; } >&5
4173 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4175 if test -s conftest.err; then
4177 ... rest of stderr output deleted ...
4178 10q' conftest.err >conftest.er1
4179 cat conftest.er1 >&5
4180 rm -f conftest.er1 conftest.err
4182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4183 test $ac_status = 0; }
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4197 ac_clean_files_save=$ac_clean_files
4198 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4199 # Try to create an executable without -o first, disregard a.out.
4200 # It will help us diagnose broken compilers, and finding out an intuition
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4203 $as_echo_n "checking for C compiler default output file name... " >&6; }
4204 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4206 # The possible output files:
4207 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4210 for ac_file in $ac_files
4213 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4214 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4219 if { { ac_try="$ac_link_default"
4221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4222 *) ac_try_echo
=$ac_try;;
4224 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4225 $as_echo "$ac_try_echo"; } >&5
4226 (eval "$ac_link_default") 2>&5
4228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4229 test $ac_status = 0; }; then :
4230 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4231 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4232 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4233 # so that the user can short-circuit this test for compilers unknown to
4235 for ac_file
in $ac_files ''
4237 test -f "$ac_file" ||
continue
4239 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4242 # We found the default executable, but exeext='' is most
4246 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4248 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4250 # We set ac_cv_exeext here because the later test for it is not
4251 # safe: cross compilers may not add the suffix if given an `-o'
4252 # argument, so we may need to know it at that point already.
4253 # Even if this section looks crufty: it has the advantage of
4260 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4266 $as_echo "$ac_file" >&6; }
4267 if test -z "$ac_file"; then :
4268 $as_echo "$as_me: failed program was:" >&5
4269 sed 's/^/| /' conftest.
$ac_ext >&5
4271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4273 { as_fn_set_status
77
4274 as_fn_error
"C compiler cannot create executables
4275 See \`config.log' for more details." "$LINENO" 5; }; }
4277 ac_exeext
=$ac_cv_exeext
4279 # Check that the compiler produces executables we can run. If not, either
4280 # the compiler is broken, or we cross compile.
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4282 $as_echo_n "checking whether the C compiler works... " >&6; }
4283 # If not cross compiling, check that we can run a simple program.
4284 if test "$cross_compiling" != yes; then
4285 if { ac_try
='./$ac_file'
4286 { { case "(($ac_try" in
4287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4288 *) ac_try_echo=$ac_try;;
4290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4291 $as_echo "$ac_try_echo"; } >&5
4292 (eval "$ac_try") 2>&5
4294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4295 test $ac_status = 0; }; }; then
4298 if test "$cross_compiling" = maybe; then
4301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4303 as_fn_error "cannot run C compiled programs.
4304 If you meant to cross compile
, use \
`--host'.
4305 See \`config.log
' for more details." "$LINENO" 5; }
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4310 $as_echo "yes" >&6; }
4312 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4313 ac_clean_files=$ac_clean_files_save
4314 # Check that the compiler produces executables we can run. If not, either
4315 # the compiler is broken, or we cross compile.
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4317 $as_echo_n "checking whether we are cross compiling... " >&6; }
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4319 $as_echo "$cross_compiling" >&6; }
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4322 $as_echo_n "checking for suffix of executables... " >&6; }
4323 if { { ac_try="$ac_link"
4325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4326 *) ac_try_echo=$ac_try;;
4328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4329 $as_echo "$ac_try_echo"; } >&5
4330 (eval "$ac_link") 2>&5
4332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4333 test $ac_status = 0; }; then :
4334 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4335 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4336 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4338 for ac_file
in conftest.exe conftest conftest.
*; do
4339 test -f "$ac_file" ||
continue
4341 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4342 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4350 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4351 See \`config.log' for more details." "$LINENO" 5; }
4353 rm -f conftest
$ac_cv_exeext
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4355 $as_echo "$ac_cv_exeext" >&6; }
4357 rm -f conftest.
$ac_ext
4358 EXEEXT
=$ac_cv_exeext
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4361 $as_echo_n "checking for suffix of object files... " >&6; }
4362 if test "${ac_cv_objext+set}" = set; then :
4363 $as_echo_n "(cached) " >&6
4365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4376 rm -f conftest.o conftest.obj
4377 if { { ac_try
="$ac_compile"
4379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4380 *) ac_try_echo=$ac_try;;
4382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4383 $as_echo "$ac_try_echo"; } >&5
4384 (eval "$ac_compile") 2>&5
4386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4387 test $ac_status = 0; }; then :
4388 for ac_file in conftest.o conftest.obj conftest.*; do
4389 test -f "$ac_file" || continue;
4391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4392 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4397 $as_echo "$as_me: failed program was:" >&5
4398 sed 's/^/| /' conftest.$ac_ext >&5
4400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4402 as_fn_error "cannot compute suffix of object files
: cannot compile
4403 See \
`config.log' for more details." "$LINENO" 5; }
4405 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4408 $as_echo "$ac_cv_objext" >&6; }
4409 OBJEXT=$ac_cv_objext
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4412 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4413 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4414 $as_echo_n "(cached) " >&6
4416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4417 /* end confdefs.h. */
4430 if ac_fn_c_try_compile "$LINENO"; then :
4435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4436 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4440 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4441 if test $ac_compiler_gnu = yes; then
4446 ac_test_CFLAGS=${CFLAGS+set}
4447 ac_save_CFLAGS=$CFLAGS
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4449 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4450 if test "${ac_cv_prog_cc_g+set}" = set; then :
4451 $as_echo_n "(cached) " >&6
4453 ac_save_c_werror_flag=$ac_c_werror_flag
4454 ac_c_werror_flag=yes
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4468 if ac_fn_c_try_compile "$LINENO"; then :
4472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h. */
4483 if ac_fn_c_try_compile "$LINENO"; then :
4486 ac_c_werror_flag=$ac_save_c_werror_flag
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4499 if ac_fn_c_try_compile "$LINENO"; then :
4502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 ac_c_werror_flag=$ac_save_c_werror_flag
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4510 $as_echo "$ac_cv_prog_cc_g" >&6; }
4511 if test "$ac_test_CFLAGS" = set; then
4512 CFLAGS=$ac_save_CFLAGS
4513 elif test $ac_cv_prog_cc_g = yes; then
4514 if test "$GCC" = yes; then
4520 if test "$GCC" = yes; then
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4527 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4528 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4529 $as_echo_n "(cached) " >&6
4531 ac_cv_prog_cc_c89=no
4533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4534 /* end confdefs.h. */
4537 #include <sys/types.h>
4538 #include <sys/stat.h>
4539 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4540 struct buf { int x; };
4541 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4542 static char *e (p, i)
4548 static char *f (char * (*g) (char **, int), char **p, ...)
4553 s = g (p, va_arg (v,int));
4558 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4559 function prototypes and stuff, but not '\xHH' hex character constants.
4560 These don't provoke an error unfortunately, instead are silently treated
4561 as 'x'. The following induces an error, until -std is added to get
4562 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4563 array size at least. It's necessary to write '\x00'==0 to get something
4564 that's true only with -std. */
4565 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4567 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4568 inside strings and character constants. */
4570 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4572 int test (int i, double x);
4573 struct s1 {int (*f) (int a);};
4574 struct s2 {int (*f) (double a);};
4575 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4581 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4586 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4587 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4589 CC="$ac_save_CC $ac_arg"
4590 if ac_fn_c_try_compile "$LINENO"; then :
4591 ac_cv_prog_cc_c89=$ac_arg
4593 rm -f core conftest.err conftest.$ac_objext
4594 test "x$ac_cv_prog_cc_c89" != "xno" && break
4596 rm -f conftest.$ac_ext
4601 case "x$ac_cv_prog_cc_c89" in
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4604 $as_echo "none needed" >&6; } ;;
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4607 $as_echo "unsupported" >&6; } ;;
4609 CC="$CC $ac_cv_prog_cc_c89"
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4611 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4613 if test "x$ac_cv_prog_cc_c89" != xno; then :
4618 ac_cpp='$CPP $CPPFLAGS'
4619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4624 ac_cpp='$CXXCPP $CPPFLAGS'
4625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4628 if test -z "$CXX"; then
4629 if test -n "$CCC"; then
4632 if test -n "$ac_tool_prefix"; then
4633 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4635 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4636 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4638 $as_echo_n "checking for $ac_word... " >&6; }
4639 if test "${ac_cv_prog_CXX+set}" = set; then :
4640 $as_echo_n "(cached) " >&6
4642 if test -n "$CXX"; then
4643 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4649 test -z "$as_dir" && as_dir=.
4650 for ac_exec_ext in '' $ac_executable_extensions; do
4651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4652 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 if test -n "$CXX"; then
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4665 $as_echo "$CXX" >&6; }
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4668 $as_echo "no" >&6; }
4672 test -n "$CXX" && break
4675 if test -z "$CXX"; then
4677 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4679 # Extract the first word of "$ac_prog", so it can be a program name with args.
4680 set dummy $ac_prog; ac_word=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4684 $as_echo_n "(cached) " >&6
4686 if test -n "$ac_ct_CXX"; then
4687 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 test -z "$as_dir" && as_dir=.
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4696 ac_cv_prog_ac_ct_CXX="$ac_prog"
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4707 if test -n "$ac_ct_CXX"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4709 $as_echo "$ac_ct_CXX" >&6; }
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
4716 test -n "$ac_ct_CXX" && break
4719 if test "x$ac_ct_CXX" = x; then
4722 case $cross_compiling:$ac_tool_warned in
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4726 ac_tool_warned=yes ;;
4734 # Provide some information about the compiler.
4735 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4738 for ac_option in --version -v -V -qversion; do
4739 { { ac_try="$ac_compiler $ac_option >&5"
4741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4742 *) ac_try_echo
=$ac_try;;
4744 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4745 $as_echo "$ac_try_echo"; } >&5
4746 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4748 if test -s conftest.err
; then
4750 ... rest of stderr output deleted ...
4751 10q' conftest.err
>conftest.er1
4752 cat conftest.er1
>&5
4753 rm -f conftest.er1 conftest.err
4755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4756 test $ac_status = 0; }
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4760 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4761 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4762 $as_echo_n "(cached) " >&6
4764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4778 if ac_fn_cxx_try_compile
"$LINENO"; then :
4783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4784 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4788 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4789 if test $ac_compiler_gnu = yes; then
4794 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4795 ac_save_CXXFLAGS
=$CXXFLAGS
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4797 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4798 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4799 $as_echo_n "(cached) " >&6
4801 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4802 ac_cxx_werror_flag
=yes
4805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4816 if ac_fn_cxx_try_compile
"$LINENO"; then :
4817 ac_cv_prog_cxx_g
=yes
4820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4831 if ac_fn_cxx_try_compile
"$LINENO"; then :
4834 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h. */
4847 if ac_fn_cxx_try_compile
"$LINENO"; then :
4848 ac_cv_prog_cxx_g
=yes
4850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4855 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4858 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4859 if test "$ac_test_CXXFLAGS" = set; then
4860 CXXFLAGS
=$ac_save_CXXFLAGS
4861 elif test $ac_cv_prog_cxx_g = yes; then
4862 if test "$GXX" = yes; then
4868 if test "$GXX" = yes; then
4875 ac_cpp
='$CPP $CPPFLAGS'
4876 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4877 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4878 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4881 # We must set the default linker to the linker used by gcc for the correct
4882 # operation of libtool. If LD is not defined and we are using gcc, try to
4883 # set the LD default to the ld used by gcc.
4884 if test -z "$LD"; then
4885 if test "$GCC" = yes; then
4888 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4890 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4892 case $gcc_prog_ld in
4893 # Accept absolute paths.
4894 [\\/]* |
[A-Za-z
]:[\\/]*)
4895 LD
="$gcc_prog_ld" ;;
4900 # Check whether -static-libstdc++ -static-libgcc is supported.
4902 if test "$GCC" = yes; then
4903 saved_LDFLAGS
="$LDFLAGS"
4905 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
4907 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
4909 ac_cpp
='$CXXCPP $CPPFLAGS'
4910 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4911 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4912 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4916 /* end confdefs.h. */
4918 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
4919 #error -static-libstdc++ not implemented
4923 if ac_fn_cxx_try_link
"$LINENO"; then :
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4925 $as_echo "yes" >&6; }; have_static_libs
=yes
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4930 rm -f core conftest.err conftest.
$ac_objext \
4931 conftest
$ac_exeext conftest.
$ac_ext
4933 ac_cpp
='$CPP $CPPFLAGS'
4934 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4935 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4936 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4939 LDFLAGS
="$saved_LDFLAGS"
4945 if test -n "$ac_tool_prefix"; then
4946 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4947 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949 $as_echo_n "checking for $ac_word... " >&6; }
4950 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4951 $as_echo_n "(cached) " >&6
4953 if test -n "$GNATBIND"; then
4954 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4960 test -z "$as_dir" && as_dir
=.
4961 for ac_exec_ext
in '' $ac_executable_extensions; do
4962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4963 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 GNATBIND
=$ac_cv_prog_GNATBIND
4974 if test -n "$GNATBIND"; then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4976 $as_echo "$GNATBIND" >&6; }
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979 $as_echo "no" >&6; }
4984 if test -z "$ac_cv_prog_GNATBIND"; then
4985 ac_ct_GNATBIND
=$GNATBIND
4986 # Extract the first word of "gnatbind", so it can be a program name with args.
4987 set dummy gnatbind
; ac_word
=$2
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 $as_echo_n "checking for $ac_word... " >&6; }
4990 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4991 $as_echo_n "(cached) " >&6
4993 if test -n "$ac_ct_GNATBIND"; then
4994 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5000 test -z "$as_dir" && as_dir
=.
5001 for ac_exec_ext
in '' $ac_executable_extensions; do
5002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5003 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5013 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5014 if test -n "$ac_ct_GNATBIND"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5016 $as_echo "$ac_ct_GNATBIND" >&6; }
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 $as_echo "no" >&6; }
5022 if test "x$ac_ct_GNATBIND" = x
; then
5025 case $cross_compiling:$ac_tool_warned in
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5028 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5029 ac_tool_warned
=yes ;;
5031 GNATBIND
=$ac_ct_GNATBIND
5034 GNATBIND
="$ac_cv_prog_GNATBIND"
5037 if test -n "$ac_tool_prefix"; then
5038 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5039 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5043 $as_echo_n "(cached) " >&6
5045 if test -n "$GNATMAKE"; then
5046 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5052 test -z "$as_dir" && as_dir
=.
5053 for ac_exec_ext
in '' $ac_executable_extensions; do
5054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5055 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 GNATMAKE
=$ac_cv_prog_GNATMAKE
5066 if test -n "$GNATMAKE"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5068 $as_echo "$GNATMAKE" >&6; }
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5076 if test -z "$ac_cv_prog_GNATMAKE"; then
5077 ac_ct_GNATMAKE
=$GNATMAKE
5078 # Extract the first word of "gnatmake", so it can be a program name with args.
5079 set dummy gnatmake
; ac_word
=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5083 $as_echo_n "(cached) " >&6
5085 if test -n "$ac_ct_GNATMAKE"; then
5086 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5092 test -z "$as_dir" && as_dir
=.
5093 for ac_exec_ext
in '' $ac_executable_extensions; do
5094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5095 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5106 if test -n "$ac_ct_GNATMAKE"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5108 $as_echo "$ac_ct_GNATMAKE" >&6; }
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5114 if test "x$ac_ct_GNATMAKE" = x
; then
5117 case $cross_compiling:$ac_tool_warned in
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5121 ac_tool_warned
=yes ;;
5123 GNATMAKE
=$ac_ct_GNATMAKE
5126 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5130 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5131 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5132 $as_echo_n "(cached) " >&6
5134 cat >conftest.adb
<<EOF
5135 procedure conftest is begin null; end conftest;
5137 acx_cv_cc_gcc_supports_ada
=no
5138 # There is a bug in old released versions of GCC which causes the
5139 # driver to exit successfully when the appropriate language module
5140 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5141 # Therefore we must check for the error message as well as an
5142 # unsuccessful exit.
5143 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5144 # given a .adb file, but produce no object file. So we must check
5145 # if an object file was really produced to guard against this.
5146 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5147 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5148 acx_cv_cc_gcc_supports_ada
=yes
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5153 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5155 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5162 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5163 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5164 $as_echo_n "(cached) " >&6
5168 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5169 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5170 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5173 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5176 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5177 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5180 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5187 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5188 do_compare
="$gcc_cv_prog_cmp_skip"
5192 # Check whether --enable-bootstrap was given.
5193 if test "${enable_bootstrap+set}" = set; then :
5194 enableval
=$enable_bootstrap;
5196 enable_bootstrap
=default
5200 # Issue errors and warnings for invalid/strange bootstrap combinations.
5201 if test -r $srcdir/gcc
/configure
; then
5207 case "$have_compiler:$host:$target:$enable_bootstrap" in
5210 # Default behavior. Enable bootstrap if we have a compiler
5211 # and we are in a native configuration.
5212 yes:$build:$build:default
)
5213 enable_bootstrap
=yes ;;
5216 enable_bootstrap
=no
;;
5218 # We have a compiler and we are in a native configuration, bootstrap is ok
5219 yes:$build:$build:yes)
5222 # Other configurations, but we have a compiler. Assume the user knows
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5226 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5229 # No compiler: if they passed --enable-bootstrap explicitly, fail
5231 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5233 # Fail if wrong command line
5235 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5239 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5240 # C++98 compiler can still start the bootstrap.
5241 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5242 CXX
="$CXX -std=gnu++98"
5245 # Used for setting $lt_cv_objdir
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5247 $as_echo_n "checking for objdir... " >&6; }
5248 if test "${lt_cv_objdir+set}" = set; then :
5249 $as_echo_n "(cached) " >&6
5251 rm -f .libs
2>/dev
/null
5252 mkdir .libs
2>/dev
/null
5253 if test -d .libs
; then
5256 # MS-DOS does not allow filenames that begin with a dot.
5259 rmdir .libs
2>/dev
/null
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5262 $as_echo "$lt_cv_objdir" >&6; }
5263 objdir
=$lt_cv_objdir
5269 cat >>confdefs.h
<<_ACEOF
5270 #define LT_OBJDIR "$lt_cv_objdir/"
5275 # Check for GMP, MPFR and MPC
5276 gmplibs
="-lmpc -lmpfr -lgmp"
5280 # Specify a location for mpc
5281 # check for this first so it ends up on the link line before mpfr.
5283 # Check whether --with-mpc was given.
5284 if test "${with_mpc+set}" = set; then :
5289 # Check whether --with-mpc-include was given.
5290 if test "${with_mpc_include+set}" = set; then :
5291 withval
=$with_mpc_include;
5295 # Check whether --with-mpc-lib was given.
5296 if test "${with_mpc_lib+set}" = set; then :
5297 withval
=$with_mpc_lib;
5301 if test "x$with_mpc" != x
; then
5302 gmplibs
="-L$with_mpc/lib $gmplibs"
5303 gmpinc
="-I$with_mpc/include $gmpinc"
5305 if test "x$with_mpc_include" != x
; then
5306 gmpinc
="-I$with_mpc_include $gmpinc"
5308 if test "x$with_mpc_lib" != x
; then
5309 gmplibs
="-L$with_mpc_lib $gmplibs"
5311 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5312 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5313 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5314 # Do not test the mpc version. Assume that it is sufficient, since
5315 # it is in the source tree, and the library has not been built yet
5316 # but it would be included on the link line in the version check below
5317 # hence making the test fail.
5321 # Specify a location for mpfr
5322 # check for this first so it ends up on the link line before gmp.
5324 # Check whether --with-mpfr-dir was given.
5325 if test "${with_mpfr_dir+set}" = set; then :
5326 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5327 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5332 # Check whether --with-mpfr was given.
5333 if test "${with_mpfr+set}" = set; then :
5338 # Check whether --with-mpfr-include was given.
5339 if test "${with_mpfr_include+set}" = set; then :
5340 withval
=$with_mpfr_include;
5344 # Check whether --with-mpfr-lib was given.
5345 if test "${with_mpfr_lib+set}" = set; then :
5346 withval
=$with_mpfr_lib;
5350 if test "x$with_mpfr" != x
; then
5351 gmplibs
="-L$with_mpfr/lib $gmplibs"
5352 gmpinc
="-I$with_mpfr/include $gmpinc"
5354 if test "x$with_mpfr_include" != x
; then
5355 gmpinc
="-I$with_mpfr_include $gmpinc"
5357 if test "x$with_mpfr_lib" != x
; then
5358 gmplibs
="-L$with_mpfr_lib $gmplibs"
5360 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5361 # MPFR v3.1.0 moved the sources into a src sub-directory.
5362 if ! test -d ${srcdir}/mpfr
/src
; then
5363 as_fn_error
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5365 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5366 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5367 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5368 # Do not test the mpfr version. Assume that it is sufficient, since
5369 # it is in the source tree, and the library has not been built yet
5370 # but it would be included on the link line in the version check below
5371 # hence making the test fail.
5375 # Specify a location for gmp
5377 # Check whether --with-gmp-dir was given.
5378 if test "${with_gmp_dir+set}" = set; then :
5379 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5380 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5385 # Check whether --with-gmp was given.
5386 if test "${with_gmp+set}" = set; then :
5391 # Check whether --with-gmp-include was given.
5392 if test "${with_gmp_include+set}" = set; then :
5393 withval
=$with_gmp_include;
5397 # Check whether --with-gmp-lib was given.
5398 if test "${with_gmp_lib+set}" = set; then :
5399 withval
=$with_gmp_lib;
5404 if test "x$with_gmp" != x
; then
5405 gmplibs
="-L$with_gmp/lib $gmplibs"
5406 gmpinc
="-I$with_gmp/include $gmpinc"
5408 if test "x$with_gmp_include" != x
; then
5409 gmpinc
="-I$with_gmp_include $gmpinc"
5411 if test "x$with_gmp_lib" != x
; then
5412 gmplibs
="-L$with_gmp_lib $gmplibs"
5414 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5415 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5416 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5417 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5418 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5419 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5420 # Do not test the gmp version. Assume that it is sufficient, since
5421 # it is in the source tree, and the library has not been built yet
5422 # but it would be included on the link line in the version check below
5423 # hence making the test fail.
5427 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5429 saved_CFLAGS
="$CFLAGS"
5430 CFLAGS
="$CFLAGS $gmpinc"
5431 # Check for the recommended and required versions of GMP.
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5433 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5436 /* end confdefs.h. */
5442 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5443 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5444 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5452 if ac_fn_c_try_compile
"$LINENO"; then :
5453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5454 /* end confdefs.h. */
5460 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5461 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5462 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5470 if ac_fn_c_try_compile
"$LINENO"; then :
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5472 $as_echo "yes" >&6; }
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5475 $as_echo "buggy but acceptable" >&6; }
5477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }; have_gmp
=no
5482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5484 # If we have GMP, check the MPFR version.
5485 if test x
"$have_gmp" = xyes
; then
5486 # Check for the recommended and required versions of MPFR.
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5488 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5490 /* end confdefs.h. */
5497 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5505 if ac_fn_c_try_compile
"$LINENO"; then :
5506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5507 /* end confdefs.h. */
5514 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5522 if ac_fn_c_try_compile
"$LINENO"; then :
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5524 $as_echo "yes" >&6; }
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5527 $as_echo "buggy but acceptable" >&6; }
5529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }; have_gmp
=no
5534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5537 # Check for the MPC header version.
5538 if test x
"$have_gmp" = xyes
; then
5539 # Check for the recommended and required versions of MPC.
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5541 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5543 /* end confdefs.h. */
5549 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5557 if ac_fn_c_try_compile
"$LINENO"; then :
5558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5559 /* end confdefs.h. */
5565 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5573 if ac_fn_c_try_compile
"$LINENO"; then :
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5575 $as_echo "yes" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5578 $as_echo "buggy but acceptable" >&6; }
5580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5583 $as_echo "no" >&6; }; have_gmp
=no
5585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5588 # Now check the MPFR library.
5589 if test x
"$have_gmp" = xyes
; then
5591 LIBS
="$LIBS $gmplibs"
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5593 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5595 /* end confdefs.h. */
5607 mpfr_atan2 (n, n, x, GMP_RNDN);
5608 mpfr_erfc (n, x, GMP_RNDN);
5609 mpfr_subnormalize (x, t, GMP_RNDN);
5613 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5614 mpc_cosh (c, c, MPC_RNDNN);
5615 mpc_pow (c, c, c, MPC_RNDNN);
5616 mpc_acosh (c, c, MPC_RNDNN);
5623 if ac_fn_c_try_link
"$LINENO"; then :
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5625 $as_echo "yes" >&6; }
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5628 $as_echo "no" >&6; }; have_gmp
=no
5630 rm -f core conftest.err conftest.
$ac_objext \
5631 conftest
$ac_exeext conftest.
$ac_ext
5635 CFLAGS
="$saved_CFLAGS"
5637 # The library versions listed in the error message below should match
5638 # the HARD-minimums enforced above.
5639 if test x
$have_gmp != xyes
; then
5640 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5641 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5642 their locations. Source code for these libraries can be found at
5643 their respective hosting sites as well as at
5644 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5645 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5646 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5647 make sure that you have installed both the libraries and the header
5648 files. They may be located in separate packages." "$LINENO" 5
5652 # Flags needed for both GMP, MPFR and/or MPC.
5660 # Libraries to use for stage1 or when not bootstrapping.
5662 # Check whether --with-stage1-libs was given.
5663 if test "${with_stage1_libs+set}" = set; then :
5664 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5667 stage1_libs
=$withval
5675 # Linker flags to use for stage1 or when not bootstrapping.
5677 # Check whether --with-stage1-ldflags was given.
5678 if test "${with_stage1_ldflags+set}" = set; then :
5679 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5682 stage1_ldflags
=$withval
5686 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5687 # if supported. But if the user explicitly specified the libraries to use,
5688 # trust that they are doing what they want.
5689 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5690 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5696 # Libraries to use for stage2 and later builds.
5698 # Check whether --with-boot-libs was given.
5699 if test "${with_boot_libs+set}" = set; then :
5700 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5703 poststage1_libs
=$withval
5711 # Linker flags to use for stage2 and later builds.
5713 # Check whether --with-boot-ldflags was given.
5714 if test "${with_boot_ldflags+set}" = set; then :
5715 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5718 poststage1_ldflags
=$withval
5722 # In stages 2 and 3, default to linking libstdc++ and libgcc
5723 # statically. But if the user explicitly specified the libraries to
5724 # use, trust that they are doing what they want.
5725 if test "$poststage1_libs" = ""; then
5726 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5732 # GCC GRAPHITE dependency isl.
5733 # Basic setup is inlined here, actual checks are in config/isl.m4
5736 # Check whether --with-isl was given.
5737 if test "${with_isl+set}" = set; then :
5742 # Treat --without-isl as a request to disable
5743 # GRAPHITE support and skip all following checks.
5744 if test "x$with_isl" != "xno"; then
5748 # Check whether --with-isl-include was given.
5749 if test "${with_isl_include+set}" = set; then :
5750 withval
=$with_isl_include;
5754 # Check whether --with-isl-lib was given.
5755 if test "${with_isl_lib+set}" = set; then :
5756 withval
=$with_isl_lib;
5760 # Check whether --enable-isl-version-check was given.
5761 if test "${enable_isl_version_check+set}" = set; then :
5762 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5764 ENABLE_ISL_CHECK
=yes
5768 # Initialize isllibs and islinc.
5777 isllibs
="-L$with_isl/lib"
5778 islinc
="-I$with_isl/include"
5781 if test "x${with_isl_include}" != x
; then
5782 islinc
="-I$with_isl_include"
5784 if test "x${with_isl_lib}" != x
; then
5785 isllibs
="-L$with_isl_lib"
5787 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5788 && test -d ${srcdir}/isl
; then
5789 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5790 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
5793 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
5796 isllibs
="${isllibs} -lisl"
5800 if test "${ENABLE_ISL_CHECK}" = yes ; then
5801 _isl_saved_CFLAGS
=$CFLAGS
5802 _isl_saved_LDFLAGS
=$LDFLAGS
5803 _isl_saved_LIBS
=$LIBS
5805 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5806 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
5807 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16, 0.15, or deprecated 0.14" >&5
5810 $as_echo_n "checking for isl 0.16, 0.15, or deprecated 0.14... " >&6; }
5811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5812 /* end confdefs.h. */
5813 #include <isl/ctx.h>
5817 isl_ctx_get_max_operations (isl_ctx_alloc ());
5822 if ac_fn_c_try_link
"$LINENO"; then :
5827 rm -f core conftest.err conftest.
$ac_objext \
5828 conftest
$ac_exeext conftest.
$ac_ext
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5830 $as_echo "$gcc_cv_isl" >&6; }
5832 if test "${gcc_cv_isl}" = no
; then
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&5
5834 $as_echo "recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&6; }
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16 or 0.15" >&5
5838 $as_echo_n "checking for isl 0.16 or 0.15... " >&6; }
5839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5840 /* end confdefs.h. */
5841 #include <isl/schedule.h>
5845 isl_options_set_schedule_serialize_sccs (NULL, 0);
5850 if ac_fn_c_try_link
"$LINENO"; then :
5851 ac_has_isl_options_set_schedule_serialize_sccs
=yes
5853 ac_has_isl_options_set_schedule_serialize_sccs
=no
5855 rm -f core conftest.err conftest.
$ac_objext \
5856 conftest
$ac_exeext conftest.
$ac_ext
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_isl_options_set_schedule_serialize_sccs" >&5
5858 $as_echo "$ac_has_isl_options_set_schedule_serialize_sccs" >&6; }
5860 if test x
"$ac_has_isl_options_set_schedule_serialize_sccs" = x
"yes"; then
5865 CFLAGS
=$_isl_saved_CFLAGS
5866 LDFLAGS
=$_isl_saved_LDFLAGS
5867 LIBS
=$_isl_saved_LIBS
5875 if test "x${with_isl}" = xno
; then
5876 graphite_requested
=no
5877 elif test "x${with_isl}" != x \
5878 ||
test "x${with_isl_include}" != x \
5879 ||
test "x${with_isl_lib}" != x
; then
5880 graphite_requested
=yes
5882 graphite_requested
=no
5887 if test "${gcc_cv_isl}" = no
; then
5892 if test "${graphite_requested}" = yes \
5893 && test "x${isllibs}" = x \
5894 && test "x${islinc}" = x
; then
5896 as_fn_error
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
5902 # If the isl check failed, disable builds of in-tree variant of isl
5903 if test "x$with_isl" = xno ||
5904 test "x$gcc_cv_isl" = xno
; then
5905 noconfigdirs
="$noconfigdirs isl"
5912 # Check for LTO support.
5913 # Check whether --enable-lto was given.
5914 if test "${enable_lto+set}" = set; then :
5915 enableval
=$enable_lto; enable_lto
=$enableval
5917 enable_lto
=yes; default_enable_lto
=yes
5926 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
5927 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
5928 alpha
*-dec-osf* | hppa
[12]*-*-hpux* | \
5937 if test $target_elf = yes; then :
5938 # ELF platforms build the lto-plugin always.
5939 build_lto_plugin
=yes
5942 if test x
"$default_enable_lto" = x
"yes" ; then
5944 *-apple-darwin9* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
5945 # On other non-ELF platforms, LTO has yet to be validated.
5949 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
5950 # It would also be nice to check the binutils support, but we don't
5951 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
5952 # warn during gcc/ subconfigure; unless you're bootstrapping with
5953 # -flto it won't be needed until after installation anyway.
5955 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
5956 *) if test x
"$enable_lto" = x
"yes"; then
5957 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
5962 # Among non-ELF, only Windows platforms support the lto-plugin so far.
5963 # Build it unless LTO was explicitly disabled.
5965 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
5972 # Check whether --enable-linker-plugin-configure-flags was given.
5973 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
5974 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
5976 extra_linker_plugin_configure_flags
=
5980 # Check whether --enable-linker-plugin-flags was given.
5981 if test "${enable_linker_plugin_flags+set}" = set; then :
5982 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
5984 extra_linker_plugin_flags
=
5990 # By default, C and C++ are the only stage 1 languages.
5991 stage1_languages
=,c
,
5993 # Target libraries that we bootstrap.
5994 bootstrap_target_libs
=,target-libgcc
,
5996 # Figure out what language subdirectories are present.
5997 # Look if the user specified --enable-languages="..."; if not, use
5998 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6000 # NB: embedded tabs in this IF block -- do not untabify
6001 if test -d ${srcdir}/gcc
; then
6002 if test x
"${enable_languages+set}" != xset
; then
6003 if test x
"${LANGUAGES+set}" = xset
; then
6004 enable_languages
="${LANGUAGES}"
6005 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6007 enable_languages
=all
6010 if test x
"${enable_languages}" = x ||
6011 test x
"${enable_languages}" = xyes
;
6013 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6017 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6019 # 'f95' is the old name for the 'fortran' language. We issue a warning
6020 # and make the substitution.
6021 case ,${enable_languages}, in
6023 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6024 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6028 # If bootstrapping, C++ must be enabled.
6029 case ",$enable_languages,:$enable_bootstrap" in
6032 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6033 enable_languages
="${enable_languages},c++"
6035 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6040 # First scan to see if an enabled language requires some other language.
6041 # We assume that a given config-lang.in will list all the language
6042 # front ends it requires, even if some are required indirectly.
6043 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6044 case ${lang_frag} in
6046 # The odd quoting in the next line works around
6047 # an apparent bug in bash 1.12 on linux.
6048 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6050 # From the config-lang.in, get $language, $lang_requires, and
6051 # $lang_requires_boot_languages.
6054 lang_requires_boot_languages
=
6056 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6057 case ,${enable_languages}, in
6061 echo " \`$other' language required by \`$language'; enabling" 1>&2
6062 enable_languages
="${enable_languages},${other}"
6066 for other
in ${lang_requires_boot_languages} ; do
6067 if test "$other" != "c"; then
6068 case ,${enable_stage1_languages}, in
6072 case ,${enable_languages}, in
6074 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6075 enable_stage1_languages
="$enable_stage1_languages,${other}"
6086 new_enable_languages
=,c
,
6088 # If LTO is enabled, add the LTO front end.
6089 if test "$enable_lto" = "yes" ; then
6090 case ,${enable_languages}, in
6092 *) enable_languages
="${enable_languages},lto" ;;
6094 if test "${build_lto_plugin}" = "yes" ; then
6095 configdirs
="$configdirs lto-plugin"
6099 # If we're building an offloading compiler, add the LTO front end.
6100 if test x
"$enable_as_accelerator_for" != x
; then
6101 case ,${enable_languages}, in
6103 *) enable_languages
="${enable_languages},lto" ;;
6107 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6108 potential_languages
=,c
,
6110 enabled_target_libs
=
6111 disabled_target_libs
=
6113 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6114 case ${lang_frag} in
6116 # The odd quoting in the next line works around
6117 # an apparent bug in bash 1.12 on linux.
6118 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6120 # From the config-lang.in, get $language, $target_libs,
6121 # $lang_dirs, $boot_language, and $build_by_default
6127 build_by_default
=yes
6129 if test x
${language} = x
; then
6130 echo "${lang_frag} doesn't set \$language." 1>&2
6134 if test "$language" = "c++"; then
6139 case ,${enable_languages}, in
6141 # Language was explicitly selected; include it
6142 # unless it is C, which is enabled by default.
6143 if test "$language" != "c"; then
6148 # 'all' was selected, select it if it is a default language
6149 if test "$language" != "c"; then
6150 add_this_lang
=${build_by_default}
6155 # Disable languages that need other directories if these aren't available.
6156 for i
in $subdir_requires; do
6157 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6158 case ,${enable_languages}, in
6160 # Specifically requested language; tell them.
6161 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6165 add_this_lang
=unsupported
6170 # Disable Ada if no preexisting GNAT is available.
6171 case ,${enable_languages},:${language}:${have_gnat} in
6172 *,${language},*:ada
:no
)
6173 # Specifically requested language; tell them.
6174 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6178 add_this_lang
=unsupported
6182 # Disable a language that is unsupported by the target.
6183 case " $unsupported_languages " in
6185 add_this_lang
=unsupported
6189 case $add_this_lang in
6191 # Remove language-dependent dirs.
6192 disabled_target_libs
="$disabled_target_libs $target_libs"
6193 noconfigdirs
="$noconfigdirs $lang_dirs"
6196 # Remove language-dependent dirs; still show language as supported.
6197 disabled_target_libs
="$disabled_target_libs $target_libs"
6198 noconfigdirs
="$noconfigdirs $lang_dirs"
6199 potential_languages
="${potential_languages}${language},"
6202 new_enable_languages
="${new_enable_languages}${language},"
6203 potential_languages
="${potential_languages}${language},"
6204 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6205 enabled_target_libs
="$enabled_target_libs $target_libs"
6206 case "${boot_language}:,$enable_stage1_languages," in
6207 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6208 # Add to (comma-separated) list of stage 1 languages.
6209 case ",$stage1_languages," in
6210 *,$language,* |
,yes, |
,all
,) ;;
6211 *) stage1_languages
="${stage1_languages}${language}," ;;
6213 # We need to bootstrap any supporting libraries.
6214 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6223 # Add target libraries which are only needed for disabled languages
6225 if test -n "$disabled_target_libs"; then
6226 for dir
in $disabled_target_libs; do
6227 case " $enabled_target_libs " in
6229 *) noconfigdirs
="$noconfigdirs $dir" ;;
6234 # Check whether --enable-stage1-languages was given.
6235 if test "${enable_stage1_languages+set}" = set; then :
6236 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6238 # Set it to something that will have no effect in the loop below
6239 enable_stage1_languages
=c
;;
6241 enable_stage1_languages
=`echo $new_enable_languages | \
6242 sed -e "s/^,//" -e "s/,$//" ` ;;
6244 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6245 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6248 # Add "good" languages from enable_stage1_languages to stage1_languages,
6249 # while "bad" languages go in missing_languages. Leave no duplicates.
6250 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6251 case $potential_languages in
6253 case $stage1_languages in
6255 *) stage1_languages
="$stage1_languages$i," ;;
6258 case $missing_languages in
6260 *) missing_languages
="$missing_languages$i," ;;
6267 # Remove leading/trailing commas that were added for simplicity
6268 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6269 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6270 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6271 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6273 if test "x$missing_languages" != x
; then
6275 The following requested languages could not be built: ${missing_languages}
6276 Supported languages are: ${potential_languages}" "$LINENO" 5
6278 if test "x$new_enable_languages" != "x$enable_languages"; then
6279 echo The following languages will be built
: ${new_enable_languages}
6280 enable_languages
="$new_enable_languages"
6284 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6287 # Handle --disable-<component> generically.
6288 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6289 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6290 varname
=`echo $dirname | sed -e s/+/_/g`
6291 if eval test x\
${enable_${varname}} "=" xno
; then
6292 noconfigdirs
="$noconfigdirs $dir"
6296 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6297 case ,${enable_languages}, in
6299 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6300 case "${noconfigdirs}" in
6301 *target-libstdc
++-v3*)
6302 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6308 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6312 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6313 # $build_configdirs and $target_configdirs.
6314 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6317 for dir
in .
$skipdirs $noconfigdirs ; do
6318 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6319 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6320 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6321 if test -r $srcdir/$dirname/configure
; then
6322 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6325 notsupp
="$notsupp $dir"
6329 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6330 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6331 if test -r $srcdir/$dirname/configure
; then
6332 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6335 notsupp
="$notsupp $dir"
6339 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6340 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6341 if test -r $srcdir/$dirname/configure
; then
6342 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6345 notsupp
="$notsupp $dir"
6351 # Quietly strip out all directories which aren't configurable in this tree.
6352 # This relies on all configurable subdirectories being autoconfiscated, which
6354 build_configdirs_all
="$build_configdirs"
6356 for i
in ${build_configdirs_all} ; do
6357 j
=`echo $i | sed -e s/build-//g`
6358 if test -f ${srcdir}/$j/configure
; then
6359 build_configdirs
="${build_configdirs} $i"
6363 configdirs_all
="$configdirs"
6365 for i
in ${configdirs_all} ; do
6366 if test -f ${srcdir}/$i/configure
; then
6367 configdirs
="${configdirs} $i"
6371 target_configdirs_all
="$target_configdirs"
6373 for i
in ${target_configdirs_all} ; do
6374 j
=`echo $i | sed -e s/target-//g`
6375 if test -f ${srcdir}/$j/configure
; then
6376 target_configdirs
="${target_configdirs} $i"
6380 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6381 # so we have to add it after the preceding checks.
6382 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6384 case " $configdirs " in
6386 # If we can build libiberty, we can also build libiberty-linker-plugin.
6387 configdirs
="$configdirs libiberty-linker-plugin"
6388 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6389 --with-libiberty=../libiberty-linker-plugin";;
6391 as_fn_error
"libiberty missing" "$LINENO" 5;;
6395 # Sometimes we have special requirements for the host libiberty.
6396 extra_host_libiberty_configure_flags
=
6397 extra_host_zlib_configure_flags
=
6398 case " $configdirs " in
6399 *" lto-plugin "* |
*" libcc1 "*)
6400 # When these are to be built as shared libraries, the same applies to
6402 extra_host_libiberty_configure_flags
=--enable-shared
6405 # When bfd is to be built as a shared library, the same applies to
6407 if test "$enable_shared" = "yes"; then
6408 extra_host_zlib_configure_flags
=--enable-host-shared
6415 # Produce a warning message for the subdirs we can't configure.
6416 # This isn't especially interesting in the Cygnus tree, but in the individual
6417 # FSF releases, it's important to let people know when their machine isn't
6418 # supported by the one or two programs in a package.
6420 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6421 # If $appdirs is non-empty, at least one of those directories must still
6422 # be configured, or we error out. (E.g., if the gas release supports a
6423 # specified target in some subdirs but not the gas subdir, we shouldn't
6424 # pretend that all is well.)
6425 if test -n "$appdirs" ; then
6426 for dir
in $appdirs ; do
6427 if test -r $dir/Makefile.
in ; then
6428 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6432 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6438 if test -n "$appdirs" ; then
6439 echo "*** This configuration is not supported by this package." 1>&2
6443 # Okay, some application will build, or we don't care to check. Still
6444 # notify of subdirs not getting built.
6445 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6446 echo " ${notsupp}" 1>&2
6447 echo " (Any other directories should still work fine.)" 1>&2
6455 # To find our prefix, in gcc_cv_tool_prefix.
6457 # The user is always right.
6458 if test "${PATH_SEPARATOR+set}" != set; then
6459 echo "#! /bin/sh" >conf$$.sh
6460 echo "exit 0" >>conf$$.sh
6462 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6472 if test "x$exec_prefix" = xNONE
; then
6473 if test "x$prefix" = xNONE
; then
6474 gcc_cv_tool_prefix
=$ac_default_prefix
6476 gcc_cv_tool_prefix
=$prefix
6479 gcc_cv_tool_prefix
=$exec_prefix
6482 # If there is no compiler in the tree, use the PATH only. In any
6483 # case, if there is no compiler in the tree nobody should use
6484 # AS_FOR_TARGET and LD_FOR_TARGET.
6485 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6486 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6487 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6488 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6489 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6490 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6491 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6492 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6497 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6498 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6506 # Check whether --with-build-sysroot was given.
6507 if test "${with_build_sysroot+set}" = set; then :
6508 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6509 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6512 SYSROOT_CFLAGS_FOR_TARGET
=
6518 # Check whether --with-debug-prefix-map was given.
6519 if test "${with_debug_prefix_map+set}" = set; then :
6520 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6521 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6522 for debug_map
in $withval; do
6523 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6527 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6532 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6533 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6534 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6535 # We want to ensure that TARGET libraries (which we know are built with
6536 # gcc) are built with "-O2 -g", so include those options when setting
6537 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6538 if test "x$CFLAGS_FOR_TARGET" = x
; then
6539 if test "x${is_cross_compiler}" = xyes
; then
6540 CFLAGS_FOR_TARGET
="-g -O2"
6542 CFLAGS_FOR_TARGET
=$CFLAGS
6545 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6548 *" -g "* |
*" -g3 "*) ;;
6549 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6555 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6556 if test "x${is_cross_compiler}" = xyes
; then
6557 CXXFLAGS_FOR_TARGET
="-g -O2"
6559 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6560 case " $CXXFLAGS " in
6562 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6564 case " $CXXFLAGS " in
6565 *" -g "* |
*" -g3 "*) ;;
6566 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6574 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6575 # the named directory are copied to $(tooldir)/sys-include.
6576 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6577 if test x
${is_cross_compiler} = xno
; then
6578 echo 1>&2 '***' --with-headers is only supported when cross compiling
6581 if test x
"${with_headers}" != xyes
; then
6582 x
=${gcc_cv_tool_prefix}
6583 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6587 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6588 # the name directories are copied to $(tooldir)/lib. Multiple directories
6590 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6591 if test x
${is_cross_compiler} = xno
; then
6592 echo 1>&2 '***' --with-libs is only supported when cross compiling
6595 if test x
"${with_libs}" != xyes
; then
6596 # Copy the libraries in reverse order, so that files in the first named
6597 # library override files in subsequent libraries.
6598 x
=${gcc_cv_tool_prefix}
6599 for l
in ${with_libs}; do
6600 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6605 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6607 # This is done by determining whether or not the appropriate directory
6608 # is available, and by checking whether or not specific configurations
6609 # have requested that this magic not happen.
6611 # The command line options always override the explicit settings in
6612 # configure.ac, and the settings in configure.ac override this magic.
6614 # If the default for a toolchain is to use GNU as and ld, and you don't
6615 # want to do that, then you should use the --without-gnu-as and
6616 # --without-gnu-ld options for the configure script. Similarly, if
6617 # the default is to use the included zlib and you don't want to do that,
6618 # you should use the --with-system-zlib option for the configure script.
6620 if test x
${use_gnu_as} = x
&&
6621 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6623 extra_host_args
="$extra_host_args --with-gnu-as"
6626 if test x
${use_gnu_ld} = x
&&
6627 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6629 extra_host_args
="$extra_host_args --with-gnu-ld"
6632 if test x
${use_included_zlib} = x
&&
6633 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6636 with_system_zlib
=yes
6637 extra_host_args
="$extra_host_args --with-system-zlib"
6640 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6641 # can detect this case.
6643 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6645 extra_host_args
="$extra_host_args --with-newlib"
6648 # Handle ${copy_dirs}
6649 set fnord
${copy_dirs}
6651 while test $# != 0 ; do
6652 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6655 echo Copying
$1 to
$2
6657 # Use the install script to create the directory and all required
6658 # parent directories.
6659 if test -d $2 ; then
6663 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6666 # Copy the directory, assuming we have tar.
6667 # FIXME: Should we use B in the second tar? Not all systems support it.
6668 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6670 # It is the responsibility of the user to correctly adjust all
6671 # symlinks. If somebody can figure out how to handle them correctly
6672 # here, feel free to add the code.
6679 # Determine a target-dependent exec_prefix that the installed
6680 # gcc will search in. Keep this list sorted by triplet, with
6681 # the *-*-osname triplets last.
6684 i
[34567]86-pc-msdosdjgpp*)
6685 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6690 md_exec_prefix
=/usr
/ccs
/bin
6694 extra_arflags_for_target
=
6695 extra_nmflags_for_target
=
6696 extra_ranlibflags_for_target
=
6697 target_makefile_frag
=/dev
/null
6700 target_makefile_frag
="config/mt-spu"
6702 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6703 target_makefile_frag
="config/mt-sde"
6705 mipsisa
*-*-elfoabi*)
6706 target_makefile_frag
="config/mt-mips-elfoabi"
6708 mips
*-*-*linux
* | mips
*-*-gnu*)
6709 target_makefile_frag
="config/mt-mips-gnu"
6712 target_makefile_frag
="config/mt-nios2-elf"
6714 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6715 target_makefile_frag
="config/mt-gnu"
6717 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6718 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6719 # commands to handle both 32-bit and 64-bit objects. These flags are
6720 # harmless if we're using GNU nm or ar.
6721 extra_arflags_for_target
=" -X32_64"
6722 extra_nmflags_for_target
=" -B -X32_64"
6726 alphaieee_frag
=/dev
/null
6729 # This just makes sure to use the -mieee option to build target libs.
6730 # This should probably be set individually by each library.
6731 alphaieee_frag
="config/mt-alphaieee"
6735 # If --enable-target-optspace always use -Os instead of -O2 to build
6736 # the target libraries, similarly if it is not specified, use -Os
6737 # on selected platforms.
6738 ospace_frag
=/dev
/null
6739 case "${enable_target_optspace}:${target}" in
6741 ospace_frag
="config/mt-ospace"
6744 ospace_frag
="config/mt-d30v"
6746 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
6747 ospace_frag
="config/mt-ospace"
6752 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6756 # Some systems (e.g., one of the i386-aix systems the gas testers are
6757 # using) don't handle "\$" correctly, so don't use it here.
6758 tooldir
='${exec_prefix}'/${target_noncanonical}
6759 build_tooldir
=${tooldir}
6761 # Create a .gdbinit file which runs the one in srcdir
6762 # and tells GDB to look there for source files.
6764 if test -r ${srcdir}/.gdbinit
; then
6767 *) cat > .
/.gdbinit
<<EOF
6771 source ${srcdir}/.gdbinit
6777 # Make sure that the compiler is able to generate an executable. If it
6778 # can't, we are probably in trouble. We don't care whether we can run the
6779 # executable--we might be using a cross compiler--we only care whether it
6780 # can be created. At this point the main configure script has set CC.
6782 echo "int main () { return 0; }" > conftest.c
6783 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6784 if test $?
= 0 ; then
6785 if test -s conftest ||
test -s conftest.exe
; then
6791 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6792 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6799 # Decide which environment variable is used to find dynamic libraries.
6801 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6802 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6803 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6804 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6807 # On systems where the dynamic library environment variable is PATH,
6808 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6809 # built executables to PATH.
6810 if test "$RPATH_ENVVAR" = PATH
; then
6811 GCC_SHLIB_SUBDIR
=/shlib
6816 # Adjust the toplevel makefile according to whether bootstrap was selected.
6817 case $enable_bootstrap in
6819 bootstrap_suffix
=bootstrap
6820 BUILD_CONFIG
=bootstrap-debug
6823 bootstrap_suffix
=no-bootstrap
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6829 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6832 # Check whether --with-build-config was given.
6833 if test "${with_build_config+set}" = set; then :
6834 withval
=$with_build_config; case $with_build_config in
6835 yes) with_build_config
= ;;
6836 no
) with_build_config
= BUILD_CONFIG
= ;;
6841 if test "x${with_build_config}" != x
; then
6842 BUILD_CONFIG
=$with_build_config
6844 case $BUILD_CONFIG in
6846 if echo "int f (void) { return 0; }" > conftest.c
&&
6847 ${CC} -c conftest.c
&&
6848 mv conftest.o conftest.o.g0
&&
6849 ${CC} -c -g conftest.c
&&
6850 mv conftest.o conftest.o.g
&&
6851 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6856 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6861 $as_echo "$BUILD_CONFIG" >&6; }
6864 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
6866 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
6867 # Check whether --enable-vtable-verify was given.
6868 if test "${enable_vtable_verify+set}" = set; then :
6869 enableval
=$enable_vtable_verify; case "$enableval" in
6870 yes) enable_vtable_verify
=yes ;;
6871 no
) enable_vtable_verify
=no
;;
6872 *) enable_vtable_verify
=no
;;
6875 enable_vtable_verify
=no
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
6879 $as_echo "$enable_vtable_verify" >&6; }
6881 # Record target_configdirs and the configure arguments for target and
6882 # build configuration in Makefile.
6883 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6884 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6885 bootstrap_fixincludes
=no
6887 # If we are building libgomp, bootstrap it.
6888 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6889 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6892 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
6893 # or bootstrap-ubsan, bootstrap it.
6894 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
6895 case "$BUILD_CONFIG" in
6896 *bootstrap-asan
* |
*bootstrap-ubsan
* )
6897 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
6898 bootstrap_fixincludes
=yes
6903 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
6904 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
6905 test "$enable_vtable_verify" != no
; then
6906 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
6909 # If we are building libmpx, bootstrap it.
6910 if echo " ${target_configdirs} " |
grep " libmpx " > /dev
/null
2>&1; then
6911 bootstrap_target_libs
=${bootstrap_target_libs}target-libmpx
,
6914 # Determine whether gdb needs tk/tcl or not.
6915 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6916 # and in that case we want gdb to be built without tk. Ugh!
6917 # In fact I believe gdb is the *only* package directly dependent on tk,
6918 # so we should be able to put the 'maybe's in unconditionally and
6919 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6920 # 100% sure that that's safe though.
6922 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6923 case "$enable_gdbtk" in
6927 GDB_TK
="${gdb_tk}" ;;
6929 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6930 # distro. Eventually someone will fix this and move Insight, nee
6931 # gdbtk to a separate directory.
6932 if test -d ${srcdir}/gdb
/gdbtk
; then
6939 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6940 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6942 # Strip out unwanted targets.
6944 # While at that, we remove Makefiles if we were started for recursive
6945 # configuration, so that the top-level Makefile reconfigures them,
6946 # like we used to do when configure itself was recursive.
6948 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6949 # but now we're fixing up the Makefile ourselves with the additional
6950 # commands passed to AC_CONFIG_FILES. Use separate variables
6951 # extrasub-{build,host,target} not because there is any reason to split
6952 # the substitutions up that way, but only to remain below the limit of
6953 # 99 commands in a script, for HP-UX sed.
6954 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6956 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6957 yes:yes:*\ gold\
*:*,c
++,*) ;;
6958 yes:yes:*\ gold\
*:*)
6959 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6964 for module
in ${build_configdirs} ; do
6965 if test -z "${no_recursion}" \
6966 && test -f ${build_subdir}/${module}/Makefile
; then
6967 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6968 rm -f ${build_subdir}/${module}/Makefile
6970 extrasub_build
="$extrasub_build
6971 /^@if build-$module\$/d
6972 /^@endif build-$module\$/d
6973 /^@if build-$module-$bootstrap_suffix\$/d
6974 /^@endif build-$module-$bootstrap_suffix\$/d"
6977 for module
in ${configdirs} ; do
6978 if test -z "${no_recursion}"; then
6979 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6980 if test -f ${file}; then
6981 echo 1>&2 "*** removing ${file} to force reconfigure"
6986 case ${module},${bootstrap_fixincludes} in
6987 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
6988 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
6990 extrasub_host
="$extrasub_host
6992 /^@endif $module\$/d
6993 /^@if $module-$host_bootstrap_suffix\$/d
6994 /^@endif $module-$host_bootstrap_suffix\$/d"
6997 for module
in ${target_configdirs} ; do
6998 if test -z "${no_recursion}" \
6999 && test -f ${target_subdir}/${module}/Makefile
; then
7000 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7001 rm -f ${target_subdir}/${module}/Makefile
7004 # We only bootstrap target libraries listed in bootstrap_target_libs.
7005 case $bootstrap_target_libs in
7006 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7007 *) target_bootstrap_suffix
=no-bootstrap
;;
7010 extrasub_target
="$extrasub_target
7011 /^@if target-$module\$/d
7012 /^@endif target-$module\$/d
7013 /^@if target-$module-$target_bootstrap_suffix\$/d
7014 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7017 # Do the final fixup along with target modules.
7018 extrasub_target
="$extrasub_target
7019 /^@if /,/^@endif /d"
7021 # Create the serialization dependencies. This uses a temporary file.
7023 # Check whether --enable-serial-configure was given.
7024 if test "${enable_serial_configure+set}" = set; then :
7025 enableval
=$enable_serial_configure;
7029 case ${enable_serial_configure} in
7031 enable_serial_build_configure
=yes
7032 enable_serial_host_configure
=yes
7033 enable_serial_target_configure
=yes
7037 # These force 'configure's to be done one at a time, to avoid problems
7038 # with contention over a shared config.cache.
7040 echo '# serdep.tmp' > serdep.tmp
7042 test "x${enable_serial_build_configure}" = xyes
&&
7043 for item
in ${build_configdirs} ; do
7046 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7051 test "x${enable_serial_host_configure}" = xyes
&&
7052 for item
in ${configdirs} ; do
7055 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7060 test "x${enable_serial_target_configure}" = xyes
&&
7061 for item
in ${target_configdirs} ; do
7064 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7068 serialization_dependencies
=serdep.tmp
7071 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7072 # target, nonopt, and variable assignments. These are the ones we
7073 # might not want to pass down to subconfigures. The exception being
7074 # --cache-file=/dev/null, which is used to turn off the use of cache
7075 # files altogether, and which should be passed on to subconfigures.
7076 # Also strip program-prefix, program-suffix, and program-transform-name,
7077 # so that we can pass down a consistent program-transform-name.
7082 eval "set -- $ac_configure_args"
7085 if test X
"$skip_next" = X
"yes"; then
7089 if test X
"$keep_next" = X
"yes"; then
7092 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7094 baseargs
="$baseargs '$ac_arg'"
7095 tbaseargs
="$tbaseargs '$ac_arg'"
7100 # Handle separated arguments. Based on the logic generated by
7103 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7104 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7105 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7106 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7120 --with-* |
--without-*)
7121 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7125 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7128 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7137 mpc | mpfr | gmp | isl
)
7138 # If we're processing --with-$lib, --with-$lib-include or
7139 # --with-$lib-lib, for one of the libs above, and target is
7140 # different from host, don't pass the current argument to any
7141 # target library's configure.
7142 if test x
$is_cross_compiler = xyes
; then
7151 --cache-file=/dev
/null | \
7152 -cache-file=/dev
/null
)
7153 # Handled here to avoid the test to skip args below.
7154 baseargs
="$baseargs '$ac_arg'"
7155 tbaseargs
="$tbaseargs '$ac_arg'"
7156 # Assert: $separate_arg should always be no.
7157 keep_next
=$separate_arg
7173 -program-prefix* | \
7174 -program-suffix* | \
7175 -program-transform-name* )
7176 skip_next
=$separate_arg
7180 # An option. Add it.
7183 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7185 baseargs
="$baseargs '$ac_arg'"
7186 if test X
"$skip_targ" = Xno
; then
7187 tbaseargs
="$tbaseargs '$ac_arg'"
7189 keep_next
=$separate_arg
7192 # Either a variable assignment, or a nonopt (triplet). Don't
7193 # pass it down; let the Makefile handle this.
7198 # Remove the initial space we just introduced and, as these will be
7199 # expanded by make, quote '$'.
7200 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7202 # Add in --program-transform-name, after --program-prefix and
7203 # --program-suffix have been applied to it. Autoconf has already
7204 # doubled dollar signs and backslashes in program_transform_name; we want
7205 # the backslashes un-doubled, and then the entire thing wrapped in single
7206 # quotes, because this will be expanded first by make and then by the shell.
7207 # Also, because we want to override the logic in subdir configure scripts to
7208 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7209 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7210 ${program_transform_name}
7212 gcc_transform_name
=`cat conftestsed.out`
7213 rm -f conftestsed.out
7214 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7215 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7216 if test "$silent" = yes; then
7217 baseargs
="$baseargs --silent"
7218 tbaseargs
="$tbaseargs --silent"
7220 baseargs
="$baseargs --disable-option-checking"
7221 tbaseargs
="$tbaseargs --disable-option-checking"
7223 # Record and document user additions to sub configure arguments.
7228 # For the build-side libraries, we just need to pretend we're native,
7229 # and not use the same cache file. Multilibs are neither needed nor
7230 # desired. We can't even use the same cache file for all build-side
7231 # libraries, as they're compiled differently; some with C, some with
7232 # C++ or with different feature-enabling options.
7233 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7235 # For host modules, accept cache file option, or specification as blank.
7236 case "${cache_file}" in
7238 cache_file_option
="" ;;
7239 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7240 cache_file_option
="--cache-file=${cache_file}" ;;
7242 cache_file_option
="--cache-file=../${cache_file}" ;;
7245 # Host dirs don't like to share a cache file either, horribly enough.
7246 # This seems to be due to autoconf 2.5x stupidity.
7247 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7249 target_configargs
="$target_configargs ${tbaseargs}"
7251 # Passing a --with-cross-host argument lets the target libraries know
7252 # whether they are being built with a cross-compiler or being built
7253 # native. However, it would be better to use other mechanisms to make the
7254 # sorts of decisions they want to make on this basis. Please consider
7255 # this option to be deprecated. FIXME.
7256 if test x
${is_cross_compiler} = xyes
; then
7257 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7260 # Special user-friendly check for native x86_64-linux build, if
7261 # multilib is not explicitly enabled.
7262 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7263 x86_64-
*linux
*:yes:$build:$build:)
7264 # Make sure we have a development environment that handles 32-bit
7266 echo "int main () { return 0; }" > conftest.c
7267 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7268 if test $?
= 0 ; then
7269 if test -s conftest ||
test -s conftest.exe
; then
7274 if test x
${dev64} != xyes
; then
7275 as_fn_error
"I suspect your system does not have 32-bit development libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib." "$LINENO" 5
7280 # Default to --enable-multilib.
7281 if test x
${enable_multilib} = x
; then
7282 target_configargs
="--enable-multilib ${target_configargs}"
7285 # Pass --with-newlib if appropriate. Note that target_configdirs has
7286 # changed from the earlier setting of with_newlib.
7287 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7288 target_configargs
="--with-newlib ${target_configargs}"
7291 # Different target subdirs use different values of certain variables
7292 # (notably CXX). Worse, multilibs use *lots* of different values.
7293 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7294 # it doesn't automatically accept command-line overrides of them.
7295 # This means it's not safe for target subdirs to share a cache file,
7296 # which is disgusting, but there you have it. Hopefully this can be
7297 # fixed in future. It's still worthwhile to use a cache file for each
7298 # directory. I think.
7300 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7301 # We need to pass --target, as newer autoconf's requires consistency
7302 # for target_alias and gcc doesn't manage it consistently.
7303 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7306 case " $target_configdirs " in
7308 case " $target_configargs " in
7309 *" --with-newlib "*)
7312 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7316 # If we're not building GCC, don't discard standard headers.
7317 if test -d ${srcdir}/gcc
; then
7318 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7320 if test "${build}" != "${host}"; then
7321 # On Canadian crosses, CC_FOR_TARGET will have already been set
7322 # by `configure', so we won't have an opportunity to add -Bgcc/
7323 # to it. This is right: we don't want to search that directory
7324 # for binaries, but we want the header files in there, so add
7326 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7328 # Someone might think of using the pre-installed headers on
7329 # Canadian crosses, in case the installed compiler is not fully
7330 # compatible with the compiler being built. In this case, it
7331 # would be better to flag an error than risking having
7332 # incompatible object files being constructed. We can't
7333 # guarantee that an error will be flagged, but let's hope the
7334 # compiler will do it, when presented with incompatible header
7339 case "${target}-${is_cross_compiler}" in
7340 i
[3456789]86-*-linux*-no)
7341 # Here host == target, so we don't need to build gcc,
7342 # so we don't want to discard standard headers.
7343 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7346 # If we're building newlib, use its generic headers last, but search
7347 # for any libc-related directories first (so make it the last -B
7349 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7351 # If we're building libgloss, find the startup file, simulator library
7352 # and linker script.
7353 case " $target_configdirs " in
7355 # Look for startup file, simulator library and maybe linker script.
7356 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7357 # Look for libnosys.a in case the target needs it.
7358 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7359 # Most targets have the linker script in the source directory.
7360 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7371 x86_64-
*mingw
* |
*-w64-mingw*)
7372 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7373 # however, use a symlink named 'mingw' in ${prefix} .
7374 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7377 # MinGW can't be handled as Cygwin above since it does not use newlib.
7378 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'
7382 # Allow the user to override the flags for
7383 # our build compiler if desired.
7384 if test x
"${build}" = x
"${host}" ; then
7385 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7386 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7387 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7390 # On Canadian crosses, we'll be searching the right directories for
7391 # the previously-installed cross compiler, so don't bother to add
7392 # flags for directories within the install tree of the compiler
7393 # being built; programs in there won't even run.
7394 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7395 # Search for pre-installed headers if nothing else fits.
7396 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7399 if test "x
${use_gnu_ld}" = x &&
7400 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7401 # Arrange for us to find uninstalled linker scripts.
7402 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7405 # Search for other target-specific linker scripts and such.
7408 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7412 # Makefile fragments.
7413 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7415 eval fragval=\$$frag
7416 if test $fragval != /dev/null; then
7417 eval $frag=${srcdir}/$fragval
7425 # Miscellanea: directories, flags, etc.
7434 # Build module lists & subconfigure args.
7438 # Host module lists & subconfigure args.
7443 # Target module lists & subconfigure args.
7465 # Generate default definitions for YACC, M4, LEX and other programs that run
7466 # on the build machine. These are used if the Makefile can't locate these
7467 # programs in objdir.
7468 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7470 for ac_prog in 'bison -y' byacc yacc
7472 # Extract the first word of "$ac_prog", so it can be a program name with args.
7473 set dummy $ac_prog; ac_word=$2
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7475 $as_echo_n "checking
for $ac_word...
" >&6; }
7476 if test "${ac_cv_prog_YACC+set}" = set; then :
7477 $as_echo_n "(cached
) " >&6
7479 if test -n "$YACC"; then
7480 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7486 test -z "$as_dir" && as_dir=.
7487 for ac_exec_ext in '' $ac_executable_extensions; do
7488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7489 ac_cv_prog_YACC="$ac_prog"
7490 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7499 YACC=$ac_cv_prog_YACC
7500 if test -n "$YACC"; then
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7502 $as_echo "$YACC" >&6; }
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7505 $as_echo "no
" >&6; }
7509 test -n "$YACC" && break
7511 test -n "$YACC" || YACC="$MISSING bison
-y"
7513 case " $build_configdirs " in
7514 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7517 for ac_prog in bison
7519 # Extract the first word of "$ac_prog", so it can be a program name with args.
7520 set dummy $ac_prog; ac_word=$2
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7522 $as_echo_n "checking
for $ac_word...
" >&6; }
7523 if test "${ac_cv_prog_BISON+set}" = set; then :
7524 $as_echo_n "(cached
) " >&6
7526 if test -n "$BISON"; then
7527 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 test -z "$as_dir" && as_dir=.
7534 for ac_exec_ext in '' $ac_executable_extensions; do
7535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7536 ac_cv_prog_BISON="$ac_prog"
7537 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7546 BISON=$ac_cv_prog_BISON
7547 if test -n "$BISON"; then
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7549 $as_echo "$BISON" >&6; }
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7552 $as_echo "no
" >&6; }
7556 test -n "$BISON" && break
7558 test -n "$BISON" || BISON="$MISSING bison
"
7560 case " $build_configdirs " in
7561 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7564 for ac_prog in gm4 gnum4 m4
7566 # Extract the first word of "$ac_prog", so it can be a program name with args.
7567 set dummy $ac_prog; ac_word=$2
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7569 $as_echo_n "checking
for $ac_word...
" >&6; }
7570 if test "${ac_cv_prog_M4+set}" = set; then :
7571 $as_echo_n "(cached
) " >&6
7573 if test -n "$M4"; then
7574 ac_cv_prog_M4="$M4" # Let the user override the test.
7576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580 test -z "$as_dir" && as_dir=.
7581 for ac_exec_ext in '' $ac_executable_extensions; do
7582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7583 ac_cv_prog_M4="$ac_prog"
7584 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7594 if test -n "$M4"; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7596 $as_echo "$M4" >&6; }
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7599 $as_echo "no
" >&6; }
7603 test -n "$M4" && break
7605 test -n "$M4" || M4="$MISSING m4"
7607 case " $build_configdirs " in
7608 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7611 for ac_prog in flex lex
7613 # Extract the first word of "$ac_prog", so it can be a program name with args.
7614 set dummy $ac_prog; ac_word=$2
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7616 $as_echo_n "checking
for $ac_word...
" >&6; }
7617 if test "${ac_cv_prog_LEX+set}" = set; then :
7618 $as_echo_n "(cached
) " >&6
7620 if test -n "$LEX"; then
7621 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7627 test -z "$as_dir" && as_dir=.
7628 for ac_exec_ext in '' $ac_executable_extensions; do
7629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7630 ac_cv_prog_LEX="$ac_prog"
7631 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7641 if test -n "$LEX"; then
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7643 $as_echo "$LEX" >&6; }
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7646 $as_echo "no
" >&6; }
7650 test -n "$LEX" && break
7652 test -n "$LEX" || LEX="$MISSING flex
"
7654 case " $build_configdirs " in
7655 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7656 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7661 # Extract the first word of "$ac_prog", so it can be a program name with args.
7662 set dummy $ac_prog; ac_word=$2
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7664 $as_echo_n "checking
for $ac_word...
" >&6; }
7665 if test "${ac_cv_prog_FLEX+set}" = set; then :
7666 $as_echo_n "(cached
) " >&6
7668 if test -n "$FLEX"; then
7669 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675 test -z "$as_dir" && as_dir=.
7676 for ac_exec_ext in '' $ac_executable_extensions; do
7677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7678 ac_cv_prog_FLEX="$ac_prog"
7679 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7688 FLEX=$ac_cv_prog_FLEX
7689 if test -n "$FLEX"; then
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7691 $as_echo "$FLEX" >&6; }
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7694 $as_echo "no
" >&6; }
7698 test -n "$FLEX" && break
7700 test -n "$FLEX" || FLEX="$MISSING flex
"
7702 case " $build_configdirs " in
7703 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7706 for ac_prog in makeinfo
7708 # Extract the first word of "$ac_prog", so it can be a program name with args.
7709 set dummy $ac_prog; ac_word=$2
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7711 $as_echo_n "checking
for $ac_word...
" >&6; }
7712 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7713 $as_echo_n "(cached
) " >&6
7715 if test -n "$MAKEINFO"; then
7716 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7722 test -z "$as_dir" && as_dir=.
7723 for ac_exec_ext in '' $ac_executable_extensions; do
7724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7725 ac_cv_prog_MAKEINFO="$ac_prog"
7726 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7735 MAKEINFO=$ac_cv_prog_MAKEINFO
7736 if test -n "$MAKEINFO"; then
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7738 $as_echo "$MAKEINFO" >&6; }
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7741 $as_echo "no
" >&6; }
7745 test -n "$MAKEINFO" && break
7747 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7749 case " $build_configdirs " in
7750 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7753 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7754 # higher, else we use the "missing
" dummy.
7755 if ${MAKEINFO} --version \
7756 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7759 MAKEINFO="$MISSING makeinfo
"
7765 # FIXME: expect and dejagnu may become build tools?
7767 for ac_prog in expect
7769 # Extract the first word of "$ac_prog", so it can be a program name with args.
7770 set dummy $ac_prog; ac_word=$2
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7772 $as_echo_n "checking
for $ac_word...
" >&6; }
7773 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7774 $as_echo_n "(cached
) " >&6
7776 if test -n "$EXPECT"; then
7777 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7783 test -z "$as_dir" && as_dir=.
7784 for ac_exec_ext in '' $ac_executable_extensions; do
7785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7786 ac_cv_prog_EXPECT="$ac_prog"
7787 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7796 EXPECT=$ac_cv_prog_EXPECT
7797 if test -n "$EXPECT"; then
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7799 $as_echo "$EXPECT" >&6; }
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7802 $as_echo "no
" >&6; }
7806 test -n "$EXPECT" && break
7808 test -n "$EXPECT" || EXPECT="expect
"
7810 case " $configdirs " in
7812 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7816 for ac_prog in runtest
7818 # Extract the first word of "$ac_prog", so it can be a program name with args.
7819 set dummy $ac_prog; ac_word=$2
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7821 $as_echo_n "checking
for $ac_word...
" >&6; }
7822 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7823 $as_echo_n "(cached
) " >&6
7825 if test -n "$RUNTEST"; then
7826 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7832 test -z "$as_dir" && as_dir=.
7833 for ac_exec_ext in '' $ac_executable_extensions; do
7834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7835 ac_cv_prog_RUNTEST="$ac_prog"
7836 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7845 RUNTEST=$ac_cv_prog_RUNTEST
7846 if test -n "$RUNTEST"; then
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7848 $as_echo "$RUNTEST" >&6; }
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7851 $as_echo "no
" >&6; }
7855 test -n "$RUNTEST" && break
7857 test -n "$RUNTEST" || RUNTEST="runtest
"
7859 case " $configdirs " in
7861 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7868 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7869 ncn_target_tool_prefix=
7870 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7874 if test -n "$AR"; then
7876 elif test -n "$ac_cv_prog_AR"; then
7880 if test -n "$ac_cv_prog_AR"; then
7881 for ncn_progname in ar; do
7882 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7883 set dummy ${ncn_progname}; ac_word=$2
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7885 $as_echo_n "checking
for $ac_word...
" >&6; }
7886 if test "${ac_cv_prog_AR+set}" = set; then :
7887 $as_echo_n "(cached
) " >&6
7889 if test -n "$AR"; then
7890 ac_cv_prog_AR="$AR" # Let the user override the test.
7892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7896 test -z "$as_dir" && as_dir=.
7897 for ac_exec_ext in '' $ac_executable_extensions; do
7898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7899 ac_cv_prog_AR="${ncn_progname}"
7900 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7910 if test -n "$AR"; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7912 $as_echo "$AR" >&6; }
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7915 $as_echo "no
" >&6; }
7922 for ncn_progname in ar; do
7923 if test -n "$ncn_tool_prefix"; then
7924 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7925 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7927 $as_echo_n "checking
for $ac_word...
" >&6; }
7928 if test "${ac_cv_prog_AR+set}" = set; then :
7929 $as_echo_n "(cached
) " >&6
7931 if test -n "$AR"; then
7932 ac_cv_prog_AR="$AR" # Let the user override the test.
7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7938 test -z "$as_dir" && as_dir=.
7939 for ac_exec_ext in '' $ac_executable_extensions; do
7940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7941 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7942 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7952 if test -n "$AR"; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7954 $as_echo "$AR" >&6; }
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7957 $as_echo "no
" >&6; }
7962 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7963 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7964 set dummy ${ncn_progname}; ac_word=$2
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7966 $as_echo_n "checking
for $ac_word...
" >&6; }
7967 if test "${ac_cv_prog_AR+set}" = set; then :
7968 $as_echo_n "(cached
) " >&6
7970 if test -n "$AR"; then
7971 ac_cv_prog_AR="$AR" # Let the user override the test.
7973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7977 test -z "$as_dir" && as_dir=.
7978 for ac_exec_ext in '' $ac_executable_extensions; do
7979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7980 ac_cv_prog_AR="${ncn_progname}"
7981 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7991 if test -n "$AR"; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7993 $as_echo "$AR" >&6; }
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7996 $as_echo "no
" >&6; }
8001 test -n "$ac_cv_prog_AR" && break
8004 if test -z "$ac_cv_prog_AR" ; then
8006 if test $build = $host ; then
8009 AR="${ncn_tool_prefix}$2"
8015 if test -n "$AS"; then
8017 elif test -n "$ac_cv_prog_AS"; then
8021 if test -n "$ac_cv_prog_AS"; then
8022 for ncn_progname in as; do
8023 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8024 set dummy ${ncn_progname}; ac_word=$2
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8026 $as_echo_n "checking
for $ac_word...
" >&6; }
8027 if test "${ac_cv_prog_AS+set}" = set; then :
8028 $as_echo_n "(cached
) " >&6
8030 if test -n "$AS"; then
8031 ac_cv_prog_AS="$AS" # Let the user override the test.
8033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037 test -z "$as_dir" && as_dir=.
8038 for ac_exec_ext in '' $ac_executable_extensions; do
8039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8040 ac_cv_prog_AS="${ncn_progname}"
8041 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8051 if test -n "$AS"; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8053 $as_echo "$AS" >&6; }
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8056 $as_echo "no
" >&6; }
8063 for ncn_progname in as; do
8064 if test -n "$ncn_tool_prefix"; then
8065 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8066 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8068 $as_echo_n "checking
for $ac_word...
" >&6; }
8069 if test "${ac_cv_prog_AS+set}" = set; then :
8070 $as_echo_n "(cached
) " >&6
8072 if test -n "$AS"; then
8073 ac_cv_prog_AS="$AS" # Let the user override the test.
8075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8079 test -z "$as_dir" && as_dir=.
8080 for ac_exec_ext in '' $ac_executable_extensions; do
8081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8082 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8083 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8093 if test -n "$AS"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8095 $as_echo "$AS" >&6; }
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8098 $as_echo "no
" >&6; }
8103 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8104 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8105 set dummy ${ncn_progname}; ac_word=$2
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8107 $as_echo_n "checking
for $ac_word...
" >&6; }
8108 if test "${ac_cv_prog_AS+set}" = set; then :
8109 $as_echo_n "(cached
) " >&6
8111 if test -n "$AS"; then
8112 ac_cv_prog_AS="$AS" # Let the user override the test.
8114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8118 test -z "$as_dir" && as_dir=.
8119 for ac_exec_ext in '' $ac_executable_extensions; do
8120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8121 ac_cv_prog_AS="${ncn_progname}"
8122 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8132 if test -n "$AS"; then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8134 $as_echo "$AS" >&6; }
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8137 $as_echo "no
" >&6; }
8142 test -n "$ac_cv_prog_AS" && break
8145 if test -z "$ac_cv_prog_AS" ; then
8147 if test $build = $host ; then
8150 AS="${ncn_tool_prefix}$2"
8156 if test -n "$DLLTOOL"; then
8157 ac_cv_prog_DLLTOOL=$DLLTOOL
8158 elif test -n "$ac_cv_prog_DLLTOOL"; then
8159 DLLTOOL=$ac_cv_prog_DLLTOOL
8162 if test -n "$ac_cv_prog_DLLTOOL"; then
8163 for ncn_progname in dlltool; do
8164 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8165 set dummy ${ncn_progname}; ac_word=$2
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8167 $as_echo_n "checking
for $ac_word...
" >&6; }
8168 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8169 $as_echo_n "(cached
) " >&6
8171 if test -n "$DLLTOOL"; then
8172 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8178 test -z "$as_dir" && as_dir=.
8179 for ac_exec_ext in '' $ac_executable_extensions; do
8180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8181 ac_cv_prog_DLLTOOL="${ncn_progname}"
8182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8191 DLLTOOL=$ac_cv_prog_DLLTOOL
8192 if test -n "$DLLTOOL"; then
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8194 $as_echo "$DLLTOOL" >&6; }
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8197 $as_echo "no
" >&6; }
8204 for ncn_progname in dlltool; do
8205 if test -n "$ncn_tool_prefix"; then
8206 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8207 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8209 $as_echo_n "checking
for $ac_word...
" >&6; }
8210 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8211 $as_echo_n "(cached
) " >&6
8213 if test -n "$DLLTOOL"; then
8214 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8220 test -z "$as_dir" && as_dir=.
8221 for ac_exec_ext in '' $ac_executable_extensions; do
8222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8223 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8233 DLLTOOL=$ac_cv_prog_DLLTOOL
8234 if test -n "$DLLTOOL"; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8236 $as_echo "$DLLTOOL" >&6; }
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8239 $as_echo "no
" >&6; }
8244 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8245 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8246 set dummy ${ncn_progname}; ac_word=$2
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8248 $as_echo_n "checking
for $ac_word...
" >&6; }
8249 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8250 $as_echo_n "(cached
) " >&6
8252 if test -n "$DLLTOOL"; then
8253 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8259 test -z "$as_dir" && as_dir=.
8260 for ac_exec_ext in '' $ac_executable_extensions; do
8261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8262 ac_cv_prog_DLLTOOL="${ncn_progname}"
8263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8272 DLLTOOL=$ac_cv_prog_DLLTOOL
8273 if test -n "$DLLTOOL"; then
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8275 $as_echo "$DLLTOOL" >&6; }
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8278 $as_echo "no
" >&6; }
8283 test -n "$ac_cv_prog_DLLTOOL" && break
8286 if test -z "$ac_cv_prog_DLLTOOL" ; then
8288 if test $build = $host ; then
8291 DLLTOOL="${ncn_tool_prefix}$2"
8297 if test -n "$LD"; then
8299 elif test -n "$ac_cv_prog_LD"; then
8303 if test -n "$ac_cv_prog_LD"; then
8304 for ncn_progname in ld; do
8305 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8306 set dummy ${ncn_progname}; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8308 $as_echo_n "checking
for $ac_word...
" >&6; }
8309 if test "${ac_cv_prog_LD+set}" = set; then :
8310 $as_echo_n "(cached
) " >&6
8312 if test -n "$LD"; then
8313 ac_cv_prog_LD="$LD" # Let the user override the test.
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8319 test -z "$as_dir" && as_dir=.
8320 for ac_exec_ext in '' $ac_executable_extensions; do
8321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8322 ac_cv_prog_LD="${ncn_progname}"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8333 if test -n "$LD"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8335 $as_echo "$LD" >&6; }
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8338 $as_echo "no
" >&6; }
8345 for ncn_progname in ld; do
8346 if test -n "$ncn_tool_prefix"; then
8347 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8348 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8350 $as_echo_n "checking
for $ac_word...
" >&6; }
8351 if test "${ac_cv_prog_LD+set}" = set; then :
8352 $as_echo_n "(cached
) " >&6
8354 if test -n "$LD"; then
8355 ac_cv_prog_LD="$LD" # Let the user override the test.
8357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8361 test -z "$as_dir" && as_dir=.
8362 for ac_exec_ext in '' $ac_executable_extensions; do
8363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8364 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8375 if test -n "$LD"; then
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8377 $as_echo "$LD" >&6; }
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8380 $as_echo "no
" >&6; }
8385 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8386 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8387 set dummy ${ncn_progname}; ac_word=$2
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8389 $as_echo_n "checking
for $ac_word...
" >&6; }
8390 if test "${ac_cv_prog_LD+set}" = set; then :
8391 $as_echo_n "(cached
) " >&6
8393 if test -n "$LD"; then
8394 ac_cv_prog_LD="$LD" # Let the user override the test.
8396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8400 test -z "$as_dir" && as_dir=.
8401 for ac_exec_ext in '' $ac_executable_extensions; do
8402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8403 ac_cv_prog_LD="${ncn_progname}"
8404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8414 if test -n "$LD"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8416 $as_echo "$LD" >&6; }
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8419 $as_echo "no
" >&6; }
8424 test -n "$ac_cv_prog_LD" && break
8427 if test -z "$ac_cv_prog_LD" ; then
8429 if test $build = $host ; then
8432 LD="${ncn_tool_prefix}$2"
8438 if test -n "$LIPO"; then
8439 ac_cv_prog_LIPO=$LIPO
8440 elif test -n "$ac_cv_prog_LIPO"; then
8441 LIPO=$ac_cv_prog_LIPO
8444 if test -n "$ac_cv_prog_LIPO"; then
8445 for ncn_progname in lipo; do
8446 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8447 set dummy ${ncn_progname}; ac_word=$2
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8449 $as_echo_n "checking
for $ac_word...
" >&6; }
8450 if test "${ac_cv_prog_LIPO+set}" = set; then :
8451 $as_echo_n "(cached
) " >&6
8453 if test -n "$LIPO"; then
8454 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8460 test -z "$as_dir" && as_dir=.
8461 for ac_exec_ext in '' $ac_executable_extensions; do
8462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8463 ac_cv_prog_LIPO="${ncn_progname}"
8464 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8473 LIPO=$ac_cv_prog_LIPO
8474 if test -n "$LIPO"; then
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8476 $as_echo "$LIPO" >&6; }
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8479 $as_echo "no
" >&6; }
8486 for ncn_progname in lipo; do
8487 if test -n "$ncn_tool_prefix"; then
8488 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8489 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8491 $as_echo_n "checking
for $ac_word...
" >&6; }
8492 if test "${ac_cv_prog_LIPO+set}" = set; then :
8493 $as_echo_n "(cached
) " >&6
8495 if test -n "$LIPO"; then
8496 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8502 test -z "$as_dir" && as_dir=.
8503 for ac_exec_ext in '' $ac_executable_extensions; do
8504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8505 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8506 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8515 LIPO=$ac_cv_prog_LIPO
8516 if test -n "$LIPO"; then
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8518 $as_echo "$LIPO" >&6; }
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8521 $as_echo "no
" >&6; }
8526 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8527 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8528 set dummy ${ncn_progname}; ac_word=$2
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8530 $as_echo_n "checking
for $ac_word...
" >&6; }
8531 if test "${ac_cv_prog_LIPO+set}" = set; then :
8532 $as_echo_n "(cached
) " >&6
8534 if test -n "$LIPO"; then
8535 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8541 test -z "$as_dir" && as_dir=.
8542 for ac_exec_ext in '' $ac_executable_extensions; do
8543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8544 ac_cv_prog_LIPO="${ncn_progname}"
8545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8554 LIPO=$ac_cv_prog_LIPO
8555 if test -n "$LIPO"; then
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8557 $as_echo "$LIPO" >&6; }
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8560 $as_echo "no
" >&6; }
8565 test -n "$ac_cv_prog_LIPO" && break
8568 if test -z "$ac_cv_prog_LIPO" ; then
8570 if test $build = $host ; then
8573 LIPO="${ncn_tool_prefix}$2"
8579 if test -n "$NM"; then
8581 elif test -n "$ac_cv_prog_NM"; then
8585 if test -n "$ac_cv_prog_NM"; then
8586 for ncn_progname in nm; do
8587 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8588 set dummy ${ncn_progname}; ac_word=$2
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8590 $as_echo_n "checking
for $ac_word...
" >&6; }
8591 if test "${ac_cv_prog_NM+set}" = set; then :
8592 $as_echo_n "(cached
) " >&6
8594 if test -n "$NM"; then
8595 ac_cv_prog_NM="$NM" # Let the user override the test.
8597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8601 test -z "$as_dir" && as_dir=.
8602 for ac_exec_ext in '' $ac_executable_extensions; do
8603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8604 ac_cv_prog_NM="${ncn_progname}"
8605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8615 if test -n "$NM"; then
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8617 $as_echo "$NM" >&6; }
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8620 $as_echo "no
" >&6; }
8627 for ncn_progname in nm; do
8628 if test -n "$ncn_tool_prefix"; then
8629 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8630 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8632 $as_echo_n "checking
for $ac_word...
" >&6; }
8633 if test "${ac_cv_prog_NM+set}" = set; then :
8634 $as_echo_n "(cached
) " >&6
8636 if test -n "$NM"; then
8637 ac_cv_prog_NM="$NM" # Let the user override the test.
8639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8643 test -z "$as_dir" && as_dir=.
8644 for ac_exec_ext in '' $ac_executable_extensions; do
8645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8646 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8657 if test -n "$NM"; then
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8659 $as_echo "$NM" >&6; }
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8662 $as_echo "no
" >&6; }
8667 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8668 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8669 set dummy ${ncn_progname}; ac_word=$2
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8671 $as_echo_n "checking
for $ac_word...
" >&6; }
8672 if test "${ac_cv_prog_NM+set}" = set; then :
8673 $as_echo_n "(cached
) " >&6
8675 if test -n "$NM"; then
8676 ac_cv_prog_NM="$NM" # Let the user override the test.
8678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8682 test -z "$as_dir" && as_dir=.
8683 for ac_exec_ext in '' $ac_executable_extensions; do
8684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8685 ac_cv_prog_NM="${ncn_progname}"
8686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8696 if test -n "$NM"; then
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8698 $as_echo "$NM" >&6; }
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8701 $as_echo "no
" >&6; }
8706 test -n "$ac_cv_prog_NM" && break
8709 if test -z "$ac_cv_prog_NM" ; then
8711 if test $build = $host ; then
8714 NM="${ncn_tool_prefix}$2"
8720 if test -n "$RANLIB"; then
8721 ac_cv_prog_RANLIB=$RANLIB
8722 elif test -n "$ac_cv_prog_RANLIB"; then
8723 RANLIB=$ac_cv_prog_RANLIB
8726 if test -n "$ac_cv_prog_RANLIB"; then
8727 for ncn_progname in ranlib; do
8728 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8729 set dummy ${ncn_progname}; ac_word=$2
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8731 $as_echo_n "checking
for $ac_word...
" >&6; }
8732 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8733 $as_echo_n "(cached
) " >&6
8735 if test -n "$RANLIB"; then
8736 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8742 test -z "$as_dir" && as_dir=.
8743 for ac_exec_ext in '' $ac_executable_extensions; do
8744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8745 ac_cv_prog_RANLIB="${ncn_progname}"
8746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8755 RANLIB=$ac_cv_prog_RANLIB
8756 if test -n "$RANLIB"; then
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8758 $as_echo "$RANLIB" >&6; }
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8761 $as_echo "no
" >&6; }
8768 for ncn_progname in ranlib; do
8769 if test -n "$ncn_tool_prefix"; then
8770 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8771 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8773 $as_echo_n "checking
for $ac_word...
" >&6; }
8774 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8775 $as_echo_n "(cached
) " >&6
8777 if test -n "$RANLIB"; then
8778 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8784 test -z "$as_dir" && as_dir=.
8785 for ac_exec_ext in '' $ac_executable_extensions; do
8786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8787 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8797 RANLIB=$ac_cv_prog_RANLIB
8798 if test -n "$RANLIB"; then
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8800 $as_echo "$RANLIB" >&6; }
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8803 $as_echo "no
" >&6; }
8808 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8809 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8810 set dummy ${ncn_progname}; ac_word=$2
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8812 $as_echo_n "checking
for $ac_word...
" >&6; }
8813 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8814 $as_echo_n "(cached
) " >&6
8816 if test -n "$RANLIB"; then
8817 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8823 test -z "$as_dir" && as_dir=.
8824 for ac_exec_ext in '' $ac_executable_extensions; do
8825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8826 ac_cv_prog_RANLIB="${ncn_progname}"
8827 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8836 RANLIB=$ac_cv_prog_RANLIB
8837 if test -n "$RANLIB"; then
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8839 $as_echo "$RANLIB" >&6; }
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8842 $as_echo "no
" >&6; }
8847 test -n "$ac_cv_prog_RANLIB" && break
8850 if test -z "$ac_cv_prog_RANLIB" ; then
8856 if test -n "$STRIP"; then
8857 ac_cv_prog_STRIP=$STRIP
8858 elif test -n "$ac_cv_prog_STRIP"; then
8859 STRIP=$ac_cv_prog_STRIP
8862 if test -n "$ac_cv_prog_STRIP"; then
8863 for ncn_progname in strip; do
8864 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8865 set dummy ${ncn_progname}; ac_word=$2
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8867 $as_echo_n "checking
for $ac_word...
" >&6; }
8868 if test "${ac_cv_prog_STRIP+set}" = set; then :
8869 $as_echo_n "(cached
) " >&6
8871 if test -n "$STRIP"; then
8872 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8878 test -z "$as_dir" && as_dir=.
8879 for ac_exec_ext in '' $ac_executable_extensions; do
8880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8881 ac_cv_prog_STRIP="${ncn_progname}"
8882 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8891 STRIP=$ac_cv_prog_STRIP
8892 if test -n "$STRIP"; then
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8894 $as_echo "$STRIP" >&6; }
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8897 $as_echo "no
" >&6; }
8904 for ncn_progname in strip; do
8905 if test -n "$ncn_tool_prefix"; then
8906 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8907 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8909 $as_echo_n "checking
for $ac_word...
" >&6; }
8910 if test "${ac_cv_prog_STRIP+set}" = set; then :
8911 $as_echo_n "(cached
) " >&6
8913 if test -n "$STRIP"; then
8914 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8920 test -z "$as_dir" && as_dir=.
8921 for ac_exec_ext in '' $ac_executable_extensions; do
8922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8923 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8924 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8933 STRIP=$ac_cv_prog_STRIP
8934 if test -n "$STRIP"; then
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8936 $as_echo "$STRIP" >&6; }
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8939 $as_echo "no
" >&6; }
8944 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8945 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8946 set dummy ${ncn_progname}; ac_word=$2
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8948 $as_echo_n "checking
for $ac_word...
" >&6; }
8949 if test "${ac_cv_prog_STRIP+set}" = set; then :
8950 $as_echo_n "(cached
) " >&6
8952 if test -n "$STRIP"; then
8953 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8959 test -z "$as_dir" && as_dir=.
8960 for ac_exec_ext in '' $ac_executable_extensions; do
8961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8962 ac_cv_prog_STRIP="${ncn_progname}"
8963 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8972 STRIP=$ac_cv_prog_STRIP
8973 if test -n "$STRIP"; then
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8975 $as_echo "$STRIP" >&6; }
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8978 $as_echo "no
" >&6; }
8983 test -n "$ac_cv_prog_STRIP" && break
8986 if test -z "$ac_cv_prog_STRIP" ; then
8992 if test -n "$WINDRES"; then
8993 ac_cv_prog_WINDRES=$WINDRES
8994 elif test -n "$ac_cv_prog_WINDRES"; then
8995 WINDRES=$ac_cv_prog_WINDRES
8998 if test -n "$ac_cv_prog_WINDRES"; then
8999 for ncn_progname in windres; do
9000 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9001 set dummy ${ncn_progname}; ac_word=$2
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9003 $as_echo_n "checking
for $ac_word...
" >&6; }
9004 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9005 $as_echo_n "(cached
) " >&6
9007 if test -n "$WINDRES"; then
9008 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9014 test -z "$as_dir" && as_dir=.
9015 for ac_exec_ext in '' $ac_executable_extensions; do
9016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9017 ac_cv_prog_WINDRES="${ncn_progname}"
9018 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9027 WINDRES=$ac_cv_prog_WINDRES
9028 if test -n "$WINDRES"; then
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9030 $as_echo "$WINDRES" >&6; }
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9033 $as_echo "no
" >&6; }
9040 for ncn_progname in windres; do
9041 if test -n "$ncn_tool_prefix"; then
9042 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9043 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9045 $as_echo_n "checking
for $ac_word...
" >&6; }
9046 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9047 $as_echo_n "(cached
) " >&6
9049 if test -n "$WINDRES"; then
9050 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9056 test -z "$as_dir" && as_dir=.
9057 for ac_exec_ext in '' $ac_executable_extensions; do
9058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9059 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9060 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9069 WINDRES=$ac_cv_prog_WINDRES
9070 if test -n "$WINDRES"; then
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9072 $as_echo "$WINDRES" >&6; }
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9075 $as_echo "no
" >&6; }
9080 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9081 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9082 set dummy ${ncn_progname}; ac_word=$2
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9084 $as_echo_n "checking
for $ac_word...
" >&6; }
9085 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9086 $as_echo_n "(cached
) " >&6
9088 if test -n "$WINDRES"; then
9089 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9095 test -z "$as_dir" && as_dir=.
9096 for ac_exec_ext in '' $ac_executable_extensions; do
9097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9098 ac_cv_prog_WINDRES="${ncn_progname}"
9099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9108 WINDRES=$ac_cv_prog_WINDRES
9109 if test -n "$WINDRES"; then
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9111 $as_echo "$WINDRES" >&6; }
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9114 $as_echo "no
" >&6; }
9119 test -n "$ac_cv_prog_WINDRES" && break
9122 if test -z "$ac_cv_prog_WINDRES" ; then
9124 if test $build = $host ; then
9127 WINDRES="${ncn_tool_prefix}$2"
9133 if test -n "$WINDMC"; then
9134 ac_cv_prog_WINDMC=$WINDMC
9135 elif test -n "$ac_cv_prog_WINDMC"; then
9136 WINDMC=$ac_cv_prog_WINDMC
9139 if test -n "$ac_cv_prog_WINDMC"; then
9140 for ncn_progname in windmc; do
9141 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9142 set dummy ${ncn_progname}; ac_word=$2
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9144 $as_echo_n "checking
for $ac_word...
" >&6; }
9145 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9146 $as_echo_n "(cached
) " >&6
9148 if test -n "$WINDMC"; then
9149 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9155 test -z "$as_dir" && as_dir=.
9156 for ac_exec_ext in '' $ac_executable_extensions; do
9157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9158 ac_cv_prog_WINDMC="${ncn_progname}"
9159 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9168 WINDMC=$ac_cv_prog_WINDMC
9169 if test -n "$WINDMC"; then
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9171 $as_echo "$WINDMC" >&6; }
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9174 $as_echo "no
" >&6; }
9181 for ncn_progname in windmc; do
9182 if test -n "$ncn_tool_prefix"; then
9183 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9184 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9186 $as_echo_n "checking
for $ac_word...
" >&6; }
9187 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9188 $as_echo_n "(cached
) " >&6
9190 if test -n "$WINDMC"; then
9191 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9197 test -z "$as_dir" && as_dir=.
9198 for ac_exec_ext in '' $ac_executable_extensions; do
9199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9200 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9201 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9210 WINDMC=$ac_cv_prog_WINDMC
9211 if test -n "$WINDMC"; then
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9213 $as_echo "$WINDMC" >&6; }
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9216 $as_echo "no
" >&6; }
9221 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9222 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9223 set dummy ${ncn_progname}; ac_word=$2
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9225 $as_echo_n "checking
for $ac_word...
" >&6; }
9226 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9227 $as_echo_n "(cached
) " >&6
9229 if test -n "$WINDMC"; then
9230 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9236 test -z "$as_dir" && as_dir=.
9237 for ac_exec_ext in '' $ac_executable_extensions; do
9238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9239 ac_cv_prog_WINDMC="${ncn_progname}"
9240 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9249 WINDMC=$ac_cv_prog_WINDMC
9250 if test -n "$WINDMC"; then
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9252 $as_echo "$WINDMC" >&6; }
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9255 $as_echo "no
" >&6; }
9260 test -n "$ac_cv_prog_WINDMC" && break
9263 if test -z "$ac_cv_prog_WINDMC" ; then
9265 if test $build = $host ; then
9268 WINDMC="${ncn_tool_prefix}$2"
9274 if test -n "$OBJCOPY"; then
9275 ac_cv_prog_OBJCOPY=$OBJCOPY
9276 elif test -n "$ac_cv_prog_OBJCOPY"; then
9277 OBJCOPY=$ac_cv_prog_OBJCOPY
9280 if test -n "$ac_cv_prog_OBJCOPY"; then
9281 for ncn_progname in objcopy; do
9282 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9283 set dummy ${ncn_progname}; ac_word=$2
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9285 $as_echo_n "checking
for $ac_word...
" >&6; }
9286 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9287 $as_echo_n "(cached
) " >&6
9289 if test -n "$OBJCOPY"; then
9290 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9296 test -z "$as_dir" && as_dir=.
9297 for ac_exec_ext in '' $ac_executable_extensions; do
9298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9299 ac_cv_prog_OBJCOPY="${ncn_progname}"
9300 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9309 OBJCOPY=$ac_cv_prog_OBJCOPY
9310 if test -n "$OBJCOPY"; then
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9312 $as_echo "$OBJCOPY" >&6; }
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9315 $as_echo "no
" >&6; }
9322 for ncn_progname in objcopy; do
9323 if test -n "$ncn_tool_prefix"; then
9324 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9325 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9327 $as_echo_n "checking
for $ac_word...
" >&6; }
9328 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9329 $as_echo_n "(cached
) " >&6
9331 if test -n "$OBJCOPY"; then
9332 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9338 test -z "$as_dir" && as_dir=.
9339 for ac_exec_ext in '' $ac_executable_extensions; do
9340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9341 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9342 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9351 OBJCOPY=$ac_cv_prog_OBJCOPY
9352 if test -n "$OBJCOPY"; then
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9354 $as_echo "$OBJCOPY" >&6; }
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9357 $as_echo "no
" >&6; }
9362 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9363 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9364 set dummy ${ncn_progname}; ac_word=$2
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9366 $as_echo_n "checking
for $ac_word...
" >&6; }
9367 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9368 $as_echo_n "(cached
) " >&6
9370 if test -n "$OBJCOPY"; then
9371 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9377 test -z "$as_dir" && as_dir=.
9378 for ac_exec_ext in '' $ac_executable_extensions; do
9379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9380 ac_cv_prog_OBJCOPY="${ncn_progname}"
9381 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9390 OBJCOPY=$ac_cv_prog_OBJCOPY
9391 if test -n "$OBJCOPY"; then
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9393 $as_echo "$OBJCOPY" >&6; }
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9396 $as_echo "no
" >&6; }
9401 test -n "$ac_cv_prog_OBJCOPY" && break
9404 if test -z "$ac_cv_prog_OBJCOPY" ; then
9406 if test $build = $host ; then
9409 OBJCOPY="${ncn_tool_prefix}$2"
9415 if test -n "$OBJDUMP"; then
9416 ac_cv_prog_OBJDUMP=$OBJDUMP
9417 elif test -n "$ac_cv_prog_OBJDUMP"; then
9418 OBJDUMP=$ac_cv_prog_OBJDUMP
9421 if test -n "$ac_cv_prog_OBJDUMP"; then
9422 for ncn_progname in objdump; do
9423 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9424 set dummy ${ncn_progname}; ac_word=$2
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9426 $as_echo_n "checking
for $ac_word...
" >&6; }
9427 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9428 $as_echo_n "(cached
) " >&6
9430 if test -n "$OBJDUMP"; then
9431 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9437 test -z "$as_dir" && as_dir=.
9438 for ac_exec_ext in '' $ac_executable_extensions; do
9439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9440 ac_cv_prog_OBJDUMP="${ncn_progname}"
9441 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9450 OBJDUMP=$ac_cv_prog_OBJDUMP
9451 if test -n "$OBJDUMP"; then
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9453 $as_echo "$OBJDUMP" >&6; }
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9456 $as_echo "no
" >&6; }
9463 for ncn_progname in objdump; do
9464 if test -n "$ncn_tool_prefix"; then
9465 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9466 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9468 $as_echo_n "checking
for $ac_word...
" >&6; }
9469 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9470 $as_echo_n "(cached
) " >&6
9472 if test -n "$OBJDUMP"; then
9473 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9479 test -z "$as_dir" && as_dir=.
9480 for ac_exec_ext in '' $ac_executable_extensions; do
9481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9482 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9483 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9492 OBJDUMP=$ac_cv_prog_OBJDUMP
9493 if test -n "$OBJDUMP"; then
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9495 $as_echo "$OBJDUMP" >&6; }
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9498 $as_echo "no
" >&6; }
9503 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9504 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9505 set dummy ${ncn_progname}; ac_word=$2
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9507 $as_echo_n "checking
for $ac_word...
" >&6; }
9508 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9509 $as_echo_n "(cached
) " >&6
9511 if test -n "$OBJDUMP"; then
9512 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9518 test -z "$as_dir" && as_dir=.
9519 for ac_exec_ext in '' $ac_executable_extensions; do
9520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9521 ac_cv_prog_OBJDUMP="${ncn_progname}"
9522 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9531 OBJDUMP=$ac_cv_prog_OBJDUMP
9532 if test -n "$OBJDUMP"; then
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9534 $as_echo "$OBJDUMP" >&6; }
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9537 $as_echo "no
" >&6; }
9542 test -n "$ac_cv_prog_OBJDUMP" && break
9545 if test -z "$ac_cv_prog_OBJDUMP" ; then
9547 if test $build = $host ; then
9550 OBJDUMP="${ncn_tool_prefix}$2"
9556 if test -n "$READELF"; then
9557 ac_cv_prog_READELF=$READELF
9558 elif test -n "$ac_cv_prog_READELF"; then
9559 READELF=$ac_cv_prog_READELF
9562 if test -n "$ac_cv_prog_READELF"; then
9563 for ncn_progname in readelf; do
9564 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9565 set dummy ${ncn_progname}; ac_word=$2
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9567 $as_echo_n "checking
for $ac_word...
" >&6; }
9568 if test "${ac_cv_prog_READELF+set}" = set; then :
9569 $as_echo_n "(cached
) " >&6
9571 if test -n "$READELF"; then
9572 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9578 test -z "$as_dir" && as_dir=.
9579 for ac_exec_ext in '' $ac_executable_extensions; do
9580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9581 ac_cv_prog_READELF="${ncn_progname}"
9582 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9591 READELF=$ac_cv_prog_READELF
9592 if test -n "$READELF"; then
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9594 $as_echo "$READELF" >&6; }
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9597 $as_echo "no
" >&6; }
9604 for ncn_progname in readelf; do
9605 if test -n "$ncn_tool_prefix"; then
9606 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9607 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9609 $as_echo_n "checking
for $ac_word...
" >&6; }
9610 if test "${ac_cv_prog_READELF+set}" = set; then :
9611 $as_echo_n "(cached
) " >&6
9613 if test -n "$READELF"; then
9614 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9620 test -z "$as_dir" && as_dir=.
9621 for ac_exec_ext in '' $ac_executable_extensions; do
9622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9623 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9624 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9633 READELF=$ac_cv_prog_READELF
9634 if test -n "$READELF"; then
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9636 $as_echo "$READELF" >&6; }
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9639 $as_echo "no
" >&6; }
9644 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9645 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9646 set dummy ${ncn_progname}; ac_word=$2
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9648 $as_echo_n "checking
for $ac_word...
" >&6; }
9649 if test "${ac_cv_prog_READELF+set}" = set; then :
9650 $as_echo_n "(cached
) " >&6
9652 if test -n "$READELF"; then
9653 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9659 test -z "$as_dir" && as_dir=.
9660 for ac_exec_ext in '' $ac_executable_extensions; do
9661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9662 ac_cv_prog_READELF="${ncn_progname}"
9663 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9672 READELF=$ac_cv_prog_READELF
9673 if test -n "$READELF"; then
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9675 $as_echo "$READELF" >&6; }
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9678 $as_echo "no
" >&6; }
9683 test -n "$ac_cv_prog_READELF" && break
9686 if test -z "$ac_cv_prog_READELF" ; then
9688 if test $build = $host ; then
9691 READELF="${ncn_tool_prefix}$2"
9702 # Check whether --with-build-time-tools was given.
9703 if test "${with_build_time_tools+set}" = set; then :
9704 withval=$with_build_time_tools; case x"$withval" in
9707 with_build_time_tools=
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9709 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9713 with_build_time_tools=
9719 if test -n "$CC_FOR_TARGET"; then
9720 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9721 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9722 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9725 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9726 for ncn_progname in cc gcc; do
9727 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9728 set dummy ${ncn_progname}; ac_word=$2
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9730 $as_echo_n "checking
for $ac_word...
" >&6; }
9731 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9732 $as_echo_n "(cached
) " >&6
9734 if test -n "$CC_FOR_TARGET"; then
9735 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9741 test -z "$as_dir" && as_dir=.
9742 for ac_exec_ext in '' $ac_executable_extensions; do
9743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9744 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9745 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9754 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9755 if test -n "$CC_FOR_TARGET"; then
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9757 $as_echo "$CC_FOR_TARGET" >&6; }
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9760 $as_echo "no
" >&6; }
9767 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9768 for ncn_progname in cc gcc; do
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9770 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9771 if test -x $with_build_time_tools/${ncn_progname}; then
9772 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9774 $as_echo "yes" >&6; }
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9778 $as_echo "no
" >&6; }
9783 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9784 for ncn_progname in cc gcc; do
9785 if test -n "$ncn_target_tool_prefix"; then
9786 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9787 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9789 $as_echo_n "checking
for $ac_word...
" >&6; }
9790 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9791 $as_echo_n "(cached
) " >&6
9793 if test -n "$CC_FOR_TARGET"; then
9794 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9800 test -z "$as_dir" && as_dir=.
9801 for ac_exec_ext in '' $ac_executable_extensions; do
9802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9803 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9804 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9813 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9814 if test -n "$CC_FOR_TARGET"; then
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9816 $as_echo "$CC_FOR_TARGET" >&6; }
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9819 $as_echo "no
" >&6; }
9824 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9825 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9826 set dummy ${ncn_progname}; ac_word=$2
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9828 $as_echo_n "checking
for $ac_word...
" >&6; }
9829 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9830 $as_echo_n "(cached
) " >&6
9832 if test -n "$CC_FOR_TARGET"; then
9833 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9839 test -z "$as_dir" && as_dir=.
9840 for ac_exec_ext in '' $ac_executable_extensions; do
9841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9842 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9843 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9852 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9853 if test -n "$CC_FOR_TARGET"; then
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9855 $as_echo "$CC_FOR_TARGET" >&6; }
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9858 $as_echo "no
" >&6; }
9863 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9867 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9869 if test $build = $target ; then
9872 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9875 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9880 if test -n "$CXX_FOR_TARGET"; then
9881 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9882 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9883 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9886 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9887 for ncn_progname in c++ g++ cxx gxx; do
9888 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9889 set dummy ${ncn_progname}; ac_word=$2
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9891 $as_echo_n "checking
for $ac_word...
" >&6; }
9892 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9893 $as_echo_n "(cached
) " >&6
9895 if test -n "$CXX_FOR_TARGET"; then
9896 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9902 test -z "$as_dir" && as_dir=.
9903 for ac_exec_ext in '' $ac_executable_extensions; do
9904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9905 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9915 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9916 if test -n "$CXX_FOR_TARGET"; then
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9918 $as_echo "$CXX_FOR_TARGET" >&6; }
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9921 $as_echo "no
" >&6; }
9928 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9929 for ncn_progname in c++ g++ cxx gxx; do
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9931 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9932 if test -x $with_build_time_tools/${ncn_progname}; then
9933 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9935 $as_echo "yes" >&6; }
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9939 $as_echo "no
" >&6; }
9944 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9945 for ncn_progname in c++ g++ cxx gxx; do
9946 if test -n "$ncn_target_tool_prefix"; then
9947 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9948 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9950 $as_echo_n "checking
for $ac_word...
" >&6; }
9951 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9952 $as_echo_n "(cached
) " >&6
9954 if test -n "$CXX_FOR_TARGET"; then
9955 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9961 test -z "$as_dir" && as_dir=.
9962 for ac_exec_ext in '' $ac_executable_extensions; do
9963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9964 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9965 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9974 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9975 if test -n "$CXX_FOR_TARGET"; then
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9977 $as_echo "$CXX_FOR_TARGET" >&6; }
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9980 $as_echo "no
" >&6; }
9985 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9986 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9987 set dummy ${ncn_progname}; ac_word=$2
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9989 $as_echo_n "checking
for $ac_word...
" >&6; }
9990 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9991 $as_echo_n "(cached
) " >&6
9993 if test -n "$CXX_FOR_TARGET"; then
9994 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10000 test -z "$as_dir" && as_dir=.
10001 for ac_exec_ext in '' $ac_executable_extensions; do
10002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10003 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10004 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10013 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10014 if test -n "$CXX_FOR_TARGET"; then
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10016 $as_echo "$CXX_FOR_TARGET" >&6; }
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10019 $as_echo "no
" >&6; }
10024 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10028 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10029 set dummy c++ g++ cxx gxx
10030 if test $build = $target ; then
10031 CXX_FOR_TARGET="$2"
10033 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10036 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10041 if test -n "$GCC_FOR_TARGET"; then
10042 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10043 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10044 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10047 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10048 for ncn_progname in gcc; do
10049 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10050 set dummy ${ncn_progname}; ac_word=$2
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10052 $as_echo_n "checking
for $ac_word...
" >&6; }
10053 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10054 $as_echo_n "(cached
) " >&6
10056 if test -n "$GCC_FOR_TARGET"; then
10057 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10060 for as_dir in $PATH
10063 test -z "$as_dir" && as_dir=.
10064 for ac_exec_ext in '' $ac_executable_extensions; do
10065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10066 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10067 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10076 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10077 if test -n "$GCC_FOR_TARGET"; then
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10079 $as_echo "$GCC_FOR_TARGET" >&6; }
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10082 $as_echo "no
" >&6; }
10089 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10090 for ncn_progname in gcc; do
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10092 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10093 if test -x $with_build_time_tools/${ncn_progname}; then
10094 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10096 $as_echo "yes" >&6; }
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10100 $as_echo "no
" >&6; }
10105 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10106 for ncn_progname in gcc; do
10107 if test -n "$ncn_target_tool_prefix"; then
10108 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10109 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10111 $as_echo_n "checking
for $ac_word...
" >&6; }
10112 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10113 $as_echo_n "(cached
) " >&6
10115 if test -n "$GCC_FOR_TARGET"; then
10116 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10119 for as_dir in $PATH
10122 test -z "$as_dir" && as_dir=.
10123 for ac_exec_ext in '' $ac_executable_extensions; do
10124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10125 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10135 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10136 if test -n "$GCC_FOR_TARGET"; then
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10138 $as_echo "$GCC_FOR_TARGET" >&6; }
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10141 $as_echo "no
" >&6; }
10146 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10147 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10148 set dummy ${ncn_progname}; ac_word=$2
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10150 $as_echo_n "checking
for $ac_word...
" >&6; }
10151 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10152 $as_echo_n "(cached
) " >&6
10154 if test -n "$GCC_FOR_TARGET"; then
10155 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10158 for as_dir in $PATH
10161 test -z "$as_dir" && as_dir=.
10162 for ac_exec_ext in '' $ac_executable_extensions; do
10163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10164 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10165 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10174 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10175 if test -n "$GCC_FOR_TARGET"; then
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10177 $as_echo "$GCC_FOR_TARGET" >&6; }
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10180 $as_echo "no
" >&6; }
10185 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10189 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10190 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10192 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10197 if test -n "$GCJ_FOR_TARGET"; then
10198 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10199 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10200 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10203 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10204 for ncn_progname in gcj; do
10205 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10206 set dummy ${ncn_progname}; ac_word=$2
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10208 $as_echo_n "checking
for $ac_word...
" >&6; }
10209 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10210 $as_echo_n "(cached
) " >&6
10212 if test -n "$GCJ_FOR_TARGET"; then
10213 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10216 for as_dir in $PATH
10219 test -z "$as_dir" && as_dir=.
10220 for ac_exec_ext in '' $ac_executable_extensions; do
10221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10222 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10223 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10232 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10233 if test -n "$GCJ_FOR_TARGET"; then
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10235 $as_echo "$GCJ_FOR_TARGET" >&6; }
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10238 $as_echo "no
" >&6; }
10245 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10246 for ncn_progname in gcj; do
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10248 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10249 if test -x $with_build_time_tools/${ncn_progname}; then
10250 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10252 $as_echo "yes" >&6; }
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10256 $as_echo "no
" >&6; }
10261 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10262 for ncn_progname in gcj; do
10263 if test -n "$ncn_target_tool_prefix"; then
10264 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10265 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10267 $as_echo_n "checking
for $ac_word...
" >&6; }
10268 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10269 $as_echo_n "(cached
) " >&6
10271 if test -n "$GCJ_FOR_TARGET"; then
10272 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10275 for as_dir in $PATH
10278 test -z "$as_dir" && as_dir=.
10279 for ac_exec_ext in '' $ac_executable_extensions; do
10280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10281 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10282 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10291 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10292 if test -n "$GCJ_FOR_TARGET"; then
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10294 $as_echo "$GCJ_FOR_TARGET" >&6; }
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10297 $as_echo "no
" >&6; }
10302 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10303 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10304 set dummy ${ncn_progname}; ac_word=$2
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10306 $as_echo_n "checking
for $ac_word...
" >&6; }
10307 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10308 $as_echo_n "(cached
) " >&6
10310 if test -n "$GCJ_FOR_TARGET"; then
10311 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10314 for as_dir in $PATH
10317 test -z "$as_dir" && as_dir=.
10318 for ac_exec_ext in '' $ac_executable_extensions; do
10319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10320 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10321 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10330 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10331 if test -n "$GCJ_FOR_TARGET"; then
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10333 $as_echo "$GCJ_FOR_TARGET" >&6; }
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10336 $as_echo "no
" >&6; }
10341 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10345 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10347 if test $build = $target ; then
10348 GCJ_FOR_TARGET="$2"
10350 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10353 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10358 if test -n "$GFORTRAN_FOR_TARGET"; then
10359 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10360 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10361 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10364 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10365 for ncn_progname in gfortran; do
10366 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10367 set dummy ${ncn_progname}; ac_word=$2
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10369 $as_echo_n "checking
for $ac_word...
" >&6; }
10370 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10371 $as_echo_n "(cached
) " >&6
10373 if test -n "$GFORTRAN_FOR_TARGET"; then
10374 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10377 for as_dir in $PATH
10380 test -z "$as_dir" && as_dir=.
10381 for ac_exec_ext in '' $ac_executable_extensions; do
10382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10383 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10384 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10393 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10394 if test -n "$GFORTRAN_FOR_TARGET"; then
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10396 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10399 $as_echo "no
" >&6; }
10406 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10407 for ncn_progname in gfortran; do
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10409 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10410 if test -x $with_build_time_tools/${ncn_progname}; then
10411 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10413 $as_echo "yes" >&6; }
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10417 $as_echo "no
" >&6; }
10422 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10423 for ncn_progname in gfortran; do
10424 if test -n "$ncn_target_tool_prefix"; then
10425 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10426 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10428 $as_echo_n "checking
for $ac_word...
" >&6; }
10429 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10430 $as_echo_n "(cached
) " >&6
10432 if test -n "$GFORTRAN_FOR_TARGET"; then
10433 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10436 for as_dir in $PATH
10439 test -z "$as_dir" && as_dir=.
10440 for ac_exec_ext in '' $ac_executable_extensions; do
10441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10442 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10443 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10452 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10453 if test -n "$GFORTRAN_FOR_TARGET"; then
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10455 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10458 $as_echo "no
" >&6; }
10463 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10464 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10465 set dummy ${ncn_progname}; ac_word=$2
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10467 $as_echo_n "checking
for $ac_word...
" >&6; }
10468 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10469 $as_echo_n "(cached
) " >&6
10471 if test -n "$GFORTRAN_FOR_TARGET"; then
10472 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10475 for as_dir in $PATH
10478 test -z "$as_dir" && as_dir=.
10479 for ac_exec_ext in '' $ac_executable_extensions; do
10480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10481 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10482 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10491 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10492 if test -n "$GFORTRAN_FOR_TARGET"; then
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10494 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10497 $as_echo "no
" >&6; }
10502 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10506 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10508 if test $build = $target ; then
10509 GFORTRAN_FOR_TARGET="$2"
10511 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10514 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10519 if test -n "$GOC_FOR_TARGET"; then
10520 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10521 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10522 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10525 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10526 for ncn_progname in gccgo; do
10527 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10528 set dummy ${ncn_progname}; ac_word=$2
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10530 $as_echo_n "checking
for $ac_word...
" >&6; }
10531 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10532 $as_echo_n "(cached
) " >&6
10534 if test -n "$GOC_FOR_TARGET"; then
10535 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10538 for as_dir in $PATH
10541 test -z "$as_dir" && as_dir=.
10542 for ac_exec_ext in '' $ac_executable_extensions; do
10543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10544 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10554 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10555 if test -n "$GOC_FOR_TARGET"; then
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10557 $as_echo "$GOC_FOR_TARGET" >&6; }
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10560 $as_echo "no
" >&6; }
10567 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10568 for ncn_progname in gccgo; do
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10570 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10571 if test -x $with_build_time_tools/${ncn_progname}; then
10572 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10574 $as_echo "yes" >&6; }
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10578 $as_echo "no
" >&6; }
10583 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10584 for ncn_progname in gccgo; do
10585 if test -n "$ncn_target_tool_prefix"; then
10586 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10587 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10589 $as_echo_n "checking
for $ac_word...
" >&6; }
10590 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10591 $as_echo_n "(cached
) " >&6
10593 if test -n "$GOC_FOR_TARGET"; then
10594 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10597 for as_dir in $PATH
10600 test -z "$as_dir" && as_dir=.
10601 for ac_exec_ext in '' $ac_executable_extensions; do
10602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10603 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10613 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10614 if test -n "$GOC_FOR_TARGET"; then
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10616 $as_echo "$GOC_FOR_TARGET" >&6; }
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10619 $as_echo "no
" >&6; }
10624 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10625 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10626 set dummy ${ncn_progname}; ac_word=$2
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10628 $as_echo_n "checking
for $ac_word...
" >&6; }
10629 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10630 $as_echo_n "(cached
) " >&6
10632 if test -n "$GOC_FOR_TARGET"; then
10633 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10636 for as_dir in $PATH
10639 test -z "$as_dir" && as_dir=.
10640 for ac_exec_ext in '' $ac_executable_extensions; do
10641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10642 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10643 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10652 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10653 if test -n "$GOC_FOR_TARGET"; then
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10655 $as_echo "$GOC_FOR_TARGET" >&6; }
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10658 $as_echo "no
" >&6; }
10663 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10667 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10669 if test $build = $target ; then
10670 GOC_FOR_TARGET="$2"
10672 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10675 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10680 cat > conftest.c << \EOF
10685 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10686 have_gcc_for_target=yes
10688 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10689 have_gcc_for_target=no
10696 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10697 if test -n "$with_build_time_tools"; then
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10699 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10700 if test -x $with_build_time_tools/ar; then
10701 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10702 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10704 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10707 $as_echo "no
" >&6; }
10709 elif test $build != $host && test $have_gcc_for_target = yes; then
10710 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10711 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10712 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10715 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10716 # Extract the first word of "ar", so it can be a program name with args.
10717 set dummy ar; ac_word=$2
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10719 $as_echo_n "checking
for $ac_word...
" >&6; }
10720 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10721 $as_echo_n "(cached
) " >&6
10723 case $AR_FOR_TARGET in
10725 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10729 for as_dir in $gcc_cv_tool_dirs
10732 test -z "$as_dir" && as_dir=.
10733 for ac_exec_ext in '' $ac_executable_extensions; do
10734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10735 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10746 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10747 if test -n "$AR_FOR_TARGET"; then
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10749 $as_echo "$AR_FOR_TARGET" >&6; }
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10752 $as_echo "no
" >&6; }
10757 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10760 if test -n "$AR_FOR_TARGET"; then
10761 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10762 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10763 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10766 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10767 for ncn_progname in ar; do
10768 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10769 set dummy ${ncn_progname}; ac_word=$2
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10771 $as_echo_n "checking
for $ac_word...
" >&6; }
10772 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10773 $as_echo_n "(cached
) " >&6
10775 if test -n "$AR_FOR_TARGET"; then
10776 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10779 for as_dir in $PATH
10782 test -z "$as_dir" && as_dir=.
10783 for ac_exec_ext in '' $ac_executable_extensions; do
10784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10785 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10786 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10795 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10796 if test -n "$AR_FOR_TARGET"; then
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10798 $as_echo "$AR_FOR_TARGET" >&6; }
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10801 $as_echo "no
" >&6; }
10808 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10809 for ncn_progname in ar; do
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10811 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10812 if test -x $with_build_time_tools/${ncn_progname}; then
10813 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10815 $as_echo "yes" >&6; }
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10819 $as_echo "no
" >&6; }
10824 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10825 for ncn_progname in ar; do
10826 if test -n "$ncn_target_tool_prefix"; then
10827 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10828 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10830 $as_echo_n "checking
for $ac_word...
" >&6; }
10831 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10832 $as_echo_n "(cached
) " >&6
10834 if test -n "$AR_FOR_TARGET"; then
10835 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10838 for as_dir in $PATH
10841 test -z "$as_dir" && as_dir=.
10842 for ac_exec_ext in '' $ac_executable_extensions; do
10843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10844 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10854 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10855 if test -n "$AR_FOR_TARGET"; then
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10857 $as_echo "$AR_FOR_TARGET" >&6; }
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10860 $as_echo "no
" >&6; }
10865 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10866 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10867 set dummy ${ncn_progname}; ac_word=$2
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10869 $as_echo_n "checking
for $ac_word...
" >&6; }
10870 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10871 $as_echo_n "(cached
) " >&6
10873 if test -n "$AR_FOR_TARGET"; then
10874 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10877 for as_dir in $PATH
10880 test -z "$as_dir" && as_dir=.
10881 for ac_exec_ext in '' $ac_executable_extensions; do
10882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10883 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10893 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10894 if test -n "$AR_FOR_TARGET"; then
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10896 $as_echo "$AR_FOR_TARGET" >&6; }
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10899 $as_echo "no
" >&6; }
10904 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10908 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10910 if test $build = $target ; then
10913 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10916 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10920 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10926 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10927 if test -n "$with_build_time_tools"; then
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10929 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10930 if test -x $with_build_time_tools/as; then
10931 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10932 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10934 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10937 $as_echo "no
" >&6; }
10939 elif test $build != $host && test $have_gcc_for_target = yes; then
10940 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10941 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10942 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10945 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10946 # Extract the first word of "as
", so it can be a program name with args.
10947 set dummy as; ac_word=$2
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10949 $as_echo_n "checking
for $ac_word...
" >&6; }
10950 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10951 $as_echo_n "(cached
) " >&6
10953 case $AS_FOR_TARGET in
10955 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10959 for as_dir in $gcc_cv_tool_dirs
10962 test -z "$as_dir" && as_dir=.
10963 for ac_exec_ext in '' $ac_executable_extensions; do
10964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10965 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10966 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10976 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10977 if test -n "$AS_FOR_TARGET"; then
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10979 $as_echo "$AS_FOR_TARGET" >&6; }
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10982 $as_echo "no
" >&6; }
10987 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10990 if test -n "$AS_FOR_TARGET"; then
10991 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10992 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10993 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10996 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10997 for ncn_progname in as; do
10998 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10999 set dummy ${ncn_progname}; ac_word=$2
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11001 $as_echo_n "checking
for $ac_word...
" >&6; }
11002 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11003 $as_echo_n "(cached
) " >&6
11005 if test -n "$AS_FOR_TARGET"; then
11006 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11009 for as_dir in $PATH
11012 test -z "$as_dir" && as_dir=.
11013 for ac_exec_ext in '' $ac_executable_extensions; do
11014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11015 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11016 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11025 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11026 if test -n "$AS_FOR_TARGET"; then
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11028 $as_echo "$AS_FOR_TARGET" >&6; }
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11031 $as_echo "no
" >&6; }
11038 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11039 for ncn_progname in as; do
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11041 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11042 if test -x $with_build_time_tools/${ncn_progname}; then
11043 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11045 $as_echo "yes" >&6; }
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11049 $as_echo "no
" >&6; }
11054 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11055 for ncn_progname in as; do
11056 if test -n "$ncn_target_tool_prefix"; then
11057 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11058 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11060 $as_echo_n "checking
for $ac_word...
" >&6; }
11061 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11062 $as_echo_n "(cached
) " >&6
11064 if test -n "$AS_FOR_TARGET"; then
11065 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11068 for as_dir in $PATH
11071 test -z "$as_dir" && as_dir=.
11072 for ac_exec_ext in '' $ac_executable_extensions; do
11073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11074 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11075 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11084 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11085 if test -n "$AS_FOR_TARGET"; then
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11087 $as_echo "$AS_FOR_TARGET" >&6; }
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11090 $as_echo "no
" >&6; }
11095 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11096 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11097 set dummy ${ncn_progname}; ac_word=$2
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11099 $as_echo_n "checking
for $ac_word...
" >&6; }
11100 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11101 $as_echo_n "(cached
) " >&6
11103 if test -n "$AS_FOR_TARGET"; then
11104 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11107 for as_dir in $PATH
11110 test -z "$as_dir" && as_dir=.
11111 for ac_exec_ext in '' $ac_executable_extensions; do
11112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11113 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11123 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11124 if test -n "$AS_FOR_TARGET"; then
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11126 $as_echo "$AS_FOR_TARGET" >&6; }
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11129 $as_echo "no
" >&6; }
11134 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11138 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11140 if test $build = $target ; then
11143 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11146 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11150 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11156 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11157 if test -n "$with_build_time_tools"; then
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11159 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11160 if test -x $with_build_time_tools/dlltool; then
11161 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11162 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11164 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11167 $as_echo "no
" >&6; }
11169 elif test $build != $host && test $have_gcc_for_target = yes; then
11170 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11171 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11172 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11175 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11176 # Extract the first word of "dlltool
", so it can be a program name with args.
11177 set dummy dlltool; ac_word=$2
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11179 $as_echo_n "checking
for $ac_word...
" >&6; }
11180 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11181 $as_echo_n "(cached
) " >&6
11183 case $DLLTOOL_FOR_TARGET in
11185 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11189 for as_dir in $gcc_cv_tool_dirs
11192 test -z "$as_dir" && as_dir=.
11193 for ac_exec_ext in '' $ac_executable_extensions; do
11194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11195 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11206 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11207 if test -n "$DLLTOOL_FOR_TARGET"; then
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11209 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11212 $as_echo "no
" >&6; }
11217 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11220 if test -n "$DLLTOOL_FOR_TARGET"; then
11221 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11222 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11223 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11226 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11227 for ncn_progname in dlltool; do
11228 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11229 set dummy ${ncn_progname}; ac_word=$2
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11231 $as_echo_n "checking
for $ac_word...
" >&6; }
11232 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11233 $as_echo_n "(cached
) " >&6
11235 if test -n "$DLLTOOL_FOR_TARGET"; then
11236 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11239 for as_dir in $PATH
11242 test -z "$as_dir" && as_dir=.
11243 for ac_exec_ext in '' $ac_executable_extensions; do
11244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11245 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11246 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11255 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11256 if test -n "$DLLTOOL_FOR_TARGET"; then
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11258 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11261 $as_echo "no
" >&6; }
11268 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11269 for ncn_progname in dlltool; do
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11271 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11272 if test -x $with_build_time_tools/${ncn_progname}; then
11273 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11275 $as_echo "yes" >&6; }
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11279 $as_echo "no
" >&6; }
11284 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11285 for ncn_progname in dlltool; do
11286 if test -n "$ncn_target_tool_prefix"; then
11287 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11288 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11290 $as_echo_n "checking
for $ac_word...
" >&6; }
11291 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11292 $as_echo_n "(cached
) " >&6
11294 if test -n "$DLLTOOL_FOR_TARGET"; then
11295 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11298 for as_dir in $PATH
11301 test -z "$as_dir" && as_dir=.
11302 for ac_exec_ext in '' $ac_executable_extensions; do
11303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11304 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11314 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11315 if test -n "$DLLTOOL_FOR_TARGET"; then
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11317 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11320 $as_echo "no
" >&6; }
11325 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11326 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11327 set dummy ${ncn_progname}; ac_word=$2
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11329 $as_echo_n "checking
for $ac_word...
" >&6; }
11330 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11331 $as_echo_n "(cached
) " >&6
11333 if test -n "$DLLTOOL_FOR_TARGET"; then
11334 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11337 for as_dir in $PATH
11340 test -z "$as_dir" && as_dir=.
11341 for ac_exec_ext in '' $ac_executable_extensions; do
11342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11343 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11353 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11354 if test -n "$DLLTOOL_FOR_TARGET"; then
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11356 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11359 $as_echo "no
" >&6; }
11364 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11368 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11370 if test $build = $target ; then
11371 DLLTOOL_FOR_TARGET="$2"
11373 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11376 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11380 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11386 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11387 if test -n "$with_build_time_tools"; then
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11389 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11390 if test -x $with_build_time_tools/ld; then
11391 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11392 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11394 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11397 $as_echo "no
" >&6; }
11399 elif test $build != $host && test $have_gcc_for_target = yes; then
11400 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11401 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11402 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11405 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11406 # Extract the first word of "ld
", so it can be a program name with args.
11407 set dummy ld; ac_word=$2
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11409 $as_echo_n "checking
for $ac_word...
" >&6; }
11410 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11411 $as_echo_n "(cached
) " >&6
11413 case $LD_FOR_TARGET in
11415 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11419 for as_dir in $gcc_cv_tool_dirs
11422 test -z "$as_dir" && as_dir=.
11423 for ac_exec_ext in '' $ac_executable_extensions; do
11424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11425 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11426 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11436 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11437 if test -n "$LD_FOR_TARGET"; then
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11439 $as_echo "$LD_FOR_TARGET" >&6; }
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11442 $as_echo "no
" >&6; }
11447 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11450 if test -n "$LD_FOR_TARGET"; then
11451 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11452 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11453 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11456 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11457 for ncn_progname in ld; do
11458 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11459 set dummy ${ncn_progname}; ac_word=$2
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11461 $as_echo_n "checking
for $ac_word...
" >&6; }
11462 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11463 $as_echo_n "(cached
) " >&6
11465 if test -n "$LD_FOR_TARGET"; then
11466 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11469 for as_dir in $PATH
11472 test -z "$as_dir" && as_dir=.
11473 for ac_exec_ext in '' $ac_executable_extensions; do
11474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11475 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11476 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11485 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11486 if test -n "$LD_FOR_TARGET"; then
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11488 $as_echo "$LD_FOR_TARGET" >&6; }
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11491 $as_echo "no
" >&6; }
11498 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11499 for ncn_progname in ld; do
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11501 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11502 if test -x $with_build_time_tools/${ncn_progname}; then
11503 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11505 $as_echo "yes" >&6; }
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11509 $as_echo "no
" >&6; }
11514 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11515 for ncn_progname in ld; do
11516 if test -n "$ncn_target_tool_prefix"; then
11517 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11518 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11520 $as_echo_n "checking
for $ac_word...
" >&6; }
11521 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11522 $as_echo_n "(cached
) " >&6
11524 if test -n "$LD_FOR_TARGET"; then
11525 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11528 for as_dir in $PATH
11531 test -z "$as_dir" && as_dir=.
11532 for ac_exec_ext in '' $ac_executable_extensions; do
11533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11534 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11535 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11544 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11545 if test -n "$LD_FOR_TARGET"; then
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11547 $as_echo "$LD_FOR_TARGET" >&6; }
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11550 $as_echo "no
" >&6; }
11555 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11556 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11557 set dummy ${ncn_progname}; ac_word=$2
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11559 $as_echo_n "checking
for $ac_word...
" >&6; }
11560 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11561 $as_echo_n "(cached
) " >&6
11563 if test -n "$LD_FOR_TARGET"; then
11564 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11567 for as_dir in $PATH
11570 test -z "$as_dir" && as_dir=.
11571 for ac_exec_ext in '' $ac_executable_extensions; do
11572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11573 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11574 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11583 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11584 if test -n "$LD_FOR_TARGET"; then
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11586 $as_echo "$LD_FOR_TARGET" >&6; }
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11589 $as_echo "no
" >&6; }
11594 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11598 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11600 if test $build = $target ; then
11603 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11606 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11610 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11616 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11617 if test -n "$with_build_time_tools"; then
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11619 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11620 if test -x $with_build_time_tools/lipo; then
11621 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11622 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11624 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11627 $as_echo "no
" >&6; }
11629 elif test $build != $host && test $have_gcc_for_target = yes; then
11630 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11631 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11632 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11635 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11636 # Extract the first word of "lipo
", so it can be a program name with args.
11637 set dummy lipo; ac_word=$2
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11639 $as_echo_n "checking
for $ac_word...
" >&6; }
11640 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11641 $as_echo_n "(cached
) " >&6
11643 case $LIPO_FOR_TARGET in
11645 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11649 for as_dir in $gcc_cv_tool_dirs
11652 test -z "$as_dir" && as_dir=.
11653 for ac_exec_ext in '' $ac_executable_extensions; do
11654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11655 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11656 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11666 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11667 if test -n "$LIPO_FOR_TARGET"; then
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11669 $as_echo "$LIPO_FOR_TARGET" >&6; }
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11672 $as_echo "no
" >&6; }
11677 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11680 if test -n "$LIPO_FOR_TARGET"; then
11681 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11682 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11683 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11686 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11687 for ncn_progname in lipo; do
11688 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11689 set dummy ${ncn_progname}; ac_word=$2
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11691 $as_echo_n "checking
for $ac_word...
" >&6; }
11692 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11693 $as_echo_n "(cached
) " >&6
11695 if test -n "$LIPO_FOR_TARGET"; then
11696 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11699 for as_dir in $PATH
11702 test -z "$as_dir" && as_dir=.
11703 for ac_exec_ext in '' $ac_executable_extensions; do
11704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11705 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11715 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11716 if test -n "$LIPO_FOR_TARGET"; then
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11718 $as_echo "$LIPO_FOR_TARGET" >&6; }
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11721 $as_echo "no
" >&6; }
11728 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11729 for ncn_progname in lipo; do
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11731 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11732 if test -x $with_build_time_tools/${ncn_progname}; then
11733 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11735 $as_echo "yes" >&6; }
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11739 $as_echo "no
" >&6; }
11744 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11745 for ncn_progname in lipo; do
11746 if test -n "$ncn_target_tool_prefix"; then
11747 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11748 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11750 $as_echo_n "checking
for $ac_word...
" >&6; }
11751 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11752 $as_echo_n "(cached
) " >&6
11754 if test -n "$LIPO_FOR_TARGET"; then
11755 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11758 for as_dir in $PATH
11761 test -z "$as_dir" && as_dir=.
11762 for ac_exec_ext in '' $ac_executable_extensions; do
11763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11764 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11765 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11774 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11775 if test -n "$LIPO_FOR_TARGET"; then
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11777 $as_echo "$LIPO_FOR_TARGET" >&6; }
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11780 $as_echo "no
" >&6; }
11785 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11786 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11787 set dummy ${ncn_progname}; ac_word=$2
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11789 $as_echo_n "checking
for $ac_word...
" >&6; }
11790 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11791 $as_echo_n "(cached
) " >&6
11793 if test -n "$LIPO_FOR_TARGET"; then
11794 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11797 for as_dir in $PATH
11800 test -z "$as_dir" && as_dir=.
11801 for ac_exec_ext in '' $ac_executable_extensions; do
11802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11803 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11804 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11813 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11814 if test -n "$LIPO_FOR_TARGET"; then
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11816 $as_echo "$LIPO_FOR_TARGET" >&6; }
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11819 $as_echo "no
" >&6; }
11824 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11828 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11830 if test $build = $target ; then
11831 LIPO_FOR_TARGET="$2"
11833 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11836 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11840 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11846 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11847 if test -n "$with_build_time_tools"; then
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11849 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11850 if test -x $with_build_time_tools/nm; then
11851 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11852 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11854 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11857 $as_echo "no
" >&6; }
11859 elif test $build != $host && test $have_gcc_for_target = yes; then
11860 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11861 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11862 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11865 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11866 # Extract the first word of "nm
", so it can be a program name with args.
11867 set dummy nm; ac_word=$2
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11869 $as_echo_n "checking
for $ac_word...
" >&6; }
11870 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11871 $as_echo_n "(cached
) " >&6
11873 case $NM_FOR_TARGET in
11875 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11879 for as_dir in $gcc_cv_tool_dirs
11882 test -z "$as_dir" && as_dir=.
11883 for ac_exec_ext in '' $ac_executable_extensions; do
11884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11885 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11886 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11896 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11897 if test -n "$NM_FOR_TARGET"; then
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11899 $as_echo "$NM_FOR_TARGET" >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11902 $as_echo "no
" >&6; }
11907 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11910 if test -n "$NM_FOR_TARGET"; then
11911 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11912 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11913 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11916 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11917 for ncn_progname in nm; do
11918 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11919 set dummy ${ncn_progname}; ac_word=$2
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11921 $as_echo_n "checking
for $ac_word...
" >&6; }
11922 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11923 $as_echo_n "(cached
) " >&6
11925 if test -n "$NM_FOR_TARGET"; then
11926 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11929 for as_dir in $PATH
11932 test -z "$as_dir" && as_dir=.
11933 for ac_exec_ext in '' $ac_executable_extensions; do
11934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11935 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11936 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11945 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11946 if test -n "$NM_FOR_TARGET"; then
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11948 $as_echo "$NM_FOR_TARGET" >&6; }
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11951 $as_echo "no
" >&6; }
11958 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11959 for ncn_progname in nm; do
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11961 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11962 if test -x $with_build_time_tools/${ncn_progname}; then
11963 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11965 $as_echo "yes" >&6; }
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11969 $as_echo "no
" >&6; }
11974 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11975 for ncn_progname in nm; do
11976 if test -n "$ncn_target_tool_prefix"; then
11977 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11978 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11980 $as_echo_n "checking
for $ac_word...
" >&6; }
11981 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11982 $as_echo_n "(cached
) " >&6
11984 if test -n "$NM_FOR_TARGET"; then
11985 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11988 for as_dir in $PATH
11991 test -z "$as_dir" && as_dir=.
11992 for ac_exec_ext in '' $ac_executable_extensions; do
11993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11994 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11995 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12004 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12005 if test -n "$NM_FOR_TARGET"; then
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12007 $as_echo "$NM_FOR_TARGET" >&6; }
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12010 $as_echo "no
" >&6; }
12015 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12016 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12017 set dummy ${ncn_progname}; ac_word=$2
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12019 $as_echo_n "checking
for $ac_word...
" >&6; }
12020 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12021 $as_echo_n "(cached
) " >&6
12023 if test -n "$NM_FOR_TARGET"; then
12024 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12027 for as_dir in $PATH
12030 test -z "$as_dir" && as_dir=.
12031 for ac_exec_ext in '' $ac_executable_extensions; do
12032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12033 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12043 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12044 if test -n "$NM_FOR_TARGET"; then
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12046 $as_echo "$NM_FOR_TARGET" >&6; }
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12049 $as_echo "no
" >&6; }
12054 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12058 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12060 if test $build = $target ; then
12063 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12066 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12070 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12076 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12077 if test -n "$with_build_time_tools"; then
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12079 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12080 if test -x $with_build_time_tools/objcopy; then
12081 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12082 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12084 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12087 $as_echo "no
" >&6; }
12089 elif test $build != $host && test $have_gcc_for_target = yes; then
12090 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12091 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12092 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12095 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12096 # Extract the first word of "objcopy
", so it can be a program name with args.
12097 set dummy objcopy; ac_word=$2
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12099 $as_echo_n "checking
for $ac_word...
" >&6; }
12100 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
12101 $as_echo_n "(cached
) " >&6
12103 case $OBJCOPY_FOR_TARGET in
12105 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12109 for as_dir in $gcc_cv_tool_dirs
12112 test -z "$as_dir" && as_dir=.
12113 for ac_exec_ext in '' $ac_executable_extensions; do
12114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12115 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12126 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12127 if test -n "$OBJCOPY_FOR_TARGET"; then
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12129 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12132 $as_echo "no
" >&6; }
12137 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12140 if test -n "$OBJCOPY_FOR_TARGET"; then
12141 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12142 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12143 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12146 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12147 for ncn_progname in objcopy; do
12148 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12149 set dummy ${ncn_progname}; ac_word=$2
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12151 $as_echo_n "checking
for $ac_word...
" >&6; }
12152 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12153 $as_echo_n "(cached
) " >&6
12155 if test -n "$OBJCOPY_FOR_TARGET"; then
12156 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12159 for as_dir in $PATH
12162 test -z "$as_dir" && as_dir=.
12163 for ac_exec_ext in '' $ac_executable_extensions; do
12164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12165 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12175 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12176 if test -n "$OBJCOPY_FOR_TARGET"; then
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12178 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12181 $as_echo "no
" >&6; }
12188 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12189 for ncn_progname in objcopy; do
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12191 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12192 if test -x $with_build_time_tools/${ncn_progname}; then
12193 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12195 $as_echo "yes" >&6; }
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12199 $as_echo "no
" >&6; }
12204 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12205 for ncn_progname in objcopy; do
12206 if test -n "$ncn_target_tool_prefix"; then
12207 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12208 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12210 $as_echo_n "checking
for $ac_word...
" >&6; }
12211 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12212 $as_echo_n "(cached
) " >&6
12214 if test -n "$OBJCOPY_FOR_TARGET"; then
12215 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12218 for as_dir in $PATH
12221 test -z "$as_dir" && as_dir=.
12222 for ac_exec_ext in '' $ac_executable_extensions; do
12223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12224 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12234 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12235 if test -n "$OBJCOPY_FOR_TARGET"; then
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12237 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12240 $as_echo "no
" >&6; }
12245 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12246 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12247 set dummy ${ncn_progname}; ac_word=$2
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12249 $as_echo_n "checking
for $ac_word...
" >&6; }
12250 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12251 $as_echo_n "(cached
) " >&6
12253 if test -n "$OBJCOPY_FOR_TARGET"; then
12254 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12257 for as_dir in $PATH
12260 test -z "$as_dir" && as_dir=.
12261 for ac_exec_ext in '' $ac_executable_extensions; do
12262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12263 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12264 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12273 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12274 if test -n "$OBJCOPY_FOR_TARGET"; then
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12276 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12279 $as_echo "no
" >&6; }
12284 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12288 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12290 if test $build = $target ; then
12291 OBJCOPY_FOR_TARGET="$2"
12293 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12296 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12300 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12306 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12307 if test -n "$with_build_time_tools"; then
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12309 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12310 if test -x $with_build_time_tools/objdump; then
12311 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12312 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12314 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12317 $as_echo "no
" >&6; }
12319 elif test $build != $host && test $have_gcc_for_target = yes; then
12320 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12321 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12322 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12325 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12326 # Extract the first word of "objdump
", so it can be a program name with args.
12327 set dummy objdump; ac_word=$2
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12329 $as_echo_n "checking
for $ac_word...
" >&6; }
12330 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12331 $as_echo_n "(cached
) " >&6
12333 case $OBJDUMP_FOR_TARGET in
12335 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12339 for as_dir in $gcc_cv_tool_dirs
12342 test -z "$as_dir" && as_dir=.
12343 for ac_exec_ext in '' $ac_executable_extensions; do
12344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12345 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12346 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12356 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12357 if test -n "$OBJDUMP_FOR_TARGET"; then
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12359 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12362 $as_echo "no
" >&6; }
12367 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12370 if test -n "$OBJDUMP_FOR_TARGET"; then
12371 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12372 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12373 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12376 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12377 for ncn_progname in objdump; do
12378 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12379 set dummy ${ncn_progname}; ac_word=$2
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12381 $as_echo_n "checking
for $ac_word...
" >&6; }
12382 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12383 $as_echo_n "(cached
) " >&6
12385 if test -n "$OBJDUMP_FOR_TARGET"; then
12386 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12389 for as_dir in $PATH
12392 test -z "$as_dir" && as_dir=.
12393 for ac_exec_ext in '' $ac_executable_extensions; do
12394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12395 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12396 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12405 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12406 if test -n "$OBJDUMP_FOR_TARGET"; then
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12408 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12411 $as_echo "no
" >&6; }
12418 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12419 for ncn_progname in objdump; do
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12421 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12422 if test -x $with_build_time_tools/${ncn_progname}; then
12423 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12425 $as_echo "yes" >&6; }
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12429 $as_echo "no
" >&6; }
12434 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12435 for ncn_progname in objdump; do
12436 if test -n "$ncn_target_tool_prefix"; then
12437 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12438 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12440 $as_echo_n "checking
for $ac_word...
" >&6; }
12441 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12442 $as_echo_n "(cached
) " >&6
12444 if test -n "$OBJDUMP_FOR_TARGET"; then
12445 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12448 for as_dir in $PATH
12451 test -z "$as_dir" && as_dir=.
12452 for ac_exec_ext in '' $ac_executable_extensions; do
12453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12454 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12455 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12464 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12465 if test -n "$OBJDUMP_FOR_TARGET"; then
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12467 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12470 $as_echo "no
" >&6; }
12475 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12476 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12477 set dummy ${ncn_progname}; ac_word=$2
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12479 $as_echo_n "checking
for $ac_word...
" >&6; }
12480 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12481 $as_echo_n "(cached
) " >&6
12483 if test -n "$OBJDUMP_FOR_TARGET"; then
12484 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12487 for as_dir in $PATH
12490 test -z "$as_dir" && as_dir=.
12491 for ac_exec_ext in '' $ac_executable_extensions; do
12492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12493 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12503 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12504 if test -n "$OBJDUMP_FOR_TARGET"; then
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12506 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12509 $as_echo "no
" >&6; }
12514 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12518 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12520 if test $build = $target ; then
12521 OBJDUMP_FOR_TARGET="$2"
12523 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12526 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12530 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12536 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12537 if test -n "$with_build_time_tools"; then
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12539 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12540 if test -x $with_build_time_tools/ranlib; then
12541 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12542 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12544 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12547 $as_echo "no
" >&6; }
12549 elif test $build != $host && test $have_gcc_for_target = yes; then
12550 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12551 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12552 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12555 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12556 # Extract the first word of "ranlib
", so it can be a program name with args.
12557 set dummy ranlib; ac_word=$2
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12559 $as_echo_n "checking
for $ac_word...
" >&6; }
12560 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12561 $as_echo_n "(cached
) " >&6
12563 case $RANLIB_FOR_TARGET in
12565 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12569 for as_dir in $gcc_cv_tool_dirs
12572 test -z "$as_dir" && as_dir=.
12573 for ac_exec_ext in '' $ac_executable_extensions; do
12574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12575 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12576 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12586 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12587 if test -n "$RANLIB_FOR_TARGET"; then
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12589 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12592 $as_echo "no
" >&6; }
12597 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12600 if test -n "$RANLIB_FOR_TARGET"; then
12601 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12602 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12603 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12606 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12607 for ncn_progname in ranlib; do
12608 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12609 set dummy ${ncn_progname}; ac_word=$2
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12611 $as_echo_n "checking
for $ac_word...
" >&6; }
12612 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12613 $as_echo_n "(cached
) " >&6
12615 if test -n "$RANLIB_FOR_TARGET"; then
12616 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12619 for as_dir in $PATH
12622 test -z "$as_dir" && as_dir=.
12623 for ac_exec_ext in '' $ac_executable_extensions; do
12624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12625 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12626 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12635 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12636 if test -n "$RANLIB_FOR_TARGET"; then
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12638 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12641 $as_echo "no
" >&6; }
12648 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12649 for ncn_progname in ranlib; do
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12651 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12652 if test -x $with_build_time_tools/${ncn_progname}; then
12653 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12655 $as_echo "yes" >&6; }
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12659 $as_echo "no
" >&6; }
12664 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12665 for ncn_progname in ranlib; do
12666 if test -n "$ncn_target_tool_prefix"; then
12667 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12668 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12670 $as_echo_n "checking
for $ac_word...
" >&6; }
12671 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12672 $as_echo_n "(cached
) " >&6
12674 if test -n "$RANLIB_FOR_TARGET"; then
12675 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12678 for as_dir in $PATH
12681 test -z "$as_dir" && as_dir=.
12682 for ac_exec_ext in '' $ac_executable_extensions; do
12683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12684 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12694 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12695 if test -n "$RANLIB_FOR_TARGET"; then
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12697 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12700 $as_echo "no
" >&6; }
12705 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12706 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12707 set dummy ${ncn_progname}; ac_word=$2
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12709 $as_echo_n "checking
for $ac_word...
" >&6; }
12710 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12711 $as_echo_n "(cached
) " >&6
12713 if test -n "$RANLIB_FOR_TARGET"; then
12714 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12717 for as_dir in $PATH
12720 test -z "$as_dir" && as_dir=.
12721 for ac_exec_ext in '' $ac_executable_extensions; do
12722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12723 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12724 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12733 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12734 if test -n "$RANLIB_FOR_TARGET"; then
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12736 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12739 $as_echo "no
" >&6; }
12744 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12748 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12750 if test $build = $target ; then
12751 RANLIB_FOR_TARGET="$2"
12753 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12756 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12760 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12766 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12767 if test -n "$with_build_time_tools"; then
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12769 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12770 if test -x $with_build_time_tools/readelf; then
12771 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12772 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12774 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12777 $as_echo "no
" >&6; }
12779 elif test $build != $host && test $have_gcc_for_target = yes; then
12780 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12781 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12782 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12785 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12786 # Extract the first word of "readelf
", so it can be a program name with args.
12787 set dummy readelf; ac_word=$2
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12789 $as_echo_n "checking
for $ac_word...
" >&6; }
12790 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12791 $as_echo_n "(cached
) " >&6
12793 case $READELF_FOR_TARGET in
12795 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12799 for as_dir in $gcc_cv_tool_dirs
12802 test -z "$as_dir" && as_dir=.
12803 for ac_exec_ext in '' $ac_executable_extensions; do
12804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12805 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12806 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12816 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12817 if test -n "$READELF_FOR_TARGET"; then
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12819 $as_echo "$READELF_FOR_TARGET" >&6; }
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12822 $as_echo "no
" >&6; }
12827 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12830 if test -n "$READELF_FOR_TARGET"; then
12831 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12832 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12833 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12836 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12837 for ncn_progname in readelf; do
12838 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12839 set dummy ${ncn_progname}; ac_word=$2
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12841 $as_echo_n "checking
for $ac_word...
" >&6; }
12842 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12843 $as_echo_n "(cached
) " >&6
12845 if test -n "$READELF_FOR_TARGET"; then
12846 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12849 for as_dir in $PATH
12852 test -z "$as_dir" && as_dir=.
12853 for ac_exec_ext in '' $ac_executable_extensions; do
12854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12855 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12856 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12865 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12866 if test -n "$READELF_FOR_TARGET"; then
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12868 $as_echo "$READELF_FOR_TARGET" >&6; }
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12871 $as_echo "no
" >&6; }
12878 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12879 for ncn_progname in readelf; do
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12881 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12882 if test -x $with_build_time_tools/${ncn_progname}; then
12883 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12885 $as_echo "yes" >&6; }
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12889 $as_echo "no
" >&6; }
12894 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12895 for ncn_progname in readelf; do
12896 if test -n "$ncn_target_tool_prefix"; then
12897 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12898 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12900 $as_echo_n "checking
for $ac_word...
" >&6; }
12901 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12902 $as_echo_n "(cached
) " >&6
12904 if test -n "$READELF_FOR_TARGET"; then
12905 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12908 for as_dir in $PATH
12911 test -z "$as_dir" && as_dir=.
12912 for ac_exec_ext in '' $ac_executable_extensions; do
12913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12914 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12915 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12924 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12925 if test -n "$READELF_FOR_TARGET"; then
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12927 $as_echo "$READELF_FOR_TARGET" >&6; }
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12930 $as_echo "no
" >&6; }
12935 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12936 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12937 set dummy ${ncn_progname}; ac_word=$2
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12939 $as_echo_n "checking
for $ac_word...
" >&6; }
12940 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12941 $as_echo_n "(cached
) " >&6
12943 if test -n "$READELF_FOR_TARGET"; then
12944 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12947 for as_dir in $PATH
12950 test -z "$as_dir" && as_dir=.
12951 for ac_exec_ext in '' $ac_executable_extensions; do
12952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12953 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12963 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12964 if test -n "$READELF_FOR_TARGET"; then
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12966 $as_echo "$READELF_FOR_TARGET" >&6; }
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12969 $as_echo "no
" >&6; }
12974 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12978 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12980 if test $build = $target ; then
12981 READELF_FOR_TARGET="$2"
12983 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12986 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12990 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12996 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12997 if test -n "$with_build_time_tools"; then
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12999 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13000 if test -x $with_build_time_tools/strip; then
13001 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13002 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13004 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13007 $as_echo "no
" >&6; }
13009 elif test $build != $host && test $have_gcc_for_target = yes; then
13010 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13011 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13012 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13015 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13016 # Extract the first word of "strip
", so it can be a program name with args.
13017 set dummy strip; ac_word=$2
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13019 $as_echo_n "checking
for $ac_word...
" >&6; }
13020 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13021 $as_echo_n "(cached
) " >&6
13023 case $STRIP_FOR_TARGET in
13025 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13029 for as_dir in $gcc_cv_tool_dirs
13032 test -z "$as_dir" && as_dir=.
13033 for ac_exec_ext in '' $ac_executable_extensions; do
13034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13035 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13046 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13047 if test -n "$STRIP_FOR_TARGET"; then
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13049 $as_echo "$STRIP_FOR_TARGET" >&6; }
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13052 $as_echo "no
" >&6; }
13057 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13060 if test -n "$STRIP_FOR_TARGET"; then
13061 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13062 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13063 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13066 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13067 for ncn_progname in strip; do
13068 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13069 set dummy ${ncn_progname}; ac_word=$2
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13071 $as_echo_n "checking
for $ac_word...
" >&6; }
13072 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13073 $as_echo_n "(cached
) " >&6
13075 if test -n "$STRIP_FOR_TARGET"; then
13076 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13079 for as_dir in $PATH
13082 test -z "$as_dir" && as_dir=.
13083 for ac_exec_ext in '' $ac_executable_extensions; do
13084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13085 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13086 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13095 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13096 if test -n "$STRIP_FOR_TARGET"; then
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13098 $as_echo "$STRIP_FOR_TARGET" >&6; }
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13101 $as_echo "no
" >&6; }
13108 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13109 for ncn_progname in strip; do
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13111 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13112 if test -x $with_build_time_tools/${ncn_progname}; then
13113 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13115 $as_echo "yes" >&6; }
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13119 $as_echo "no
" >&6; }
13124 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13125 for ncn_progname in strip; do
13126 if test -n "$ncn_target_tool_prefix"; then
13127 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13128 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13130 $as_echo_n "checking
for $ac_word...
" >&6; }
13131 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13132 $as_echo_n "(cached
) " >&6
13134 if test -n "$STRIP_FOR_TARGET"; then
13135 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13138 for as_dir in $PATH
13141 test -z "$as_dir" && as_dir=.
13142 for ac_exec_ext in '' $ac_executable_extensions; do
13143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13144 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13154 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13155 if test -n "$STRIP_FOR_TARGET"; then
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13157 $as_echo "$STRIP_FOR_TARGET" >&6; }
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13160 $as_echo "no
" >&6; }
13165 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13166 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13167 set dummy ${ncn_progname}; ac_word=$2
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13169 $as_echo_n "checking
for $ac_word...
" >&6; }
13170 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13171 $as_echo_n "(cached
) " >&6
13173 if test -n "$STRIP_FOR_TARGET"; then
13174 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13177 for as_dir in $PATH
13180 test -z "$as_dir" && as_dir=.
13181 for ac_exec_ext in '' $ac_executable_extensions; do
13182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13183 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13193 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13194 if test -n "$STRIP_FOR_TARGET"; then
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13196 $as_echo "$STRIP_FOR_TARGET" >&6; }
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13199 $as_echo "no
" >&6; }
13204 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13208 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13210 if test $build = $target ; then
13211 STRIP_FOR_TARGET="$2"
13213 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13216 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13220 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13226 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13227 if test -n "$with_build_time_tools"; then
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13229 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13230 if test -x $with_build_time_tools/windres; then
13231 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13232 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13234 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13237 $as_echo "no
" >&6; }
13239 elif test $build != $host && test $have_gcc_for_target = yes; then
13240 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13241 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13242 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13245 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13246 # Extract the first word of "windres
", so it can be a program name with args.
13247 set dummy windres; ac_word=$2
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13249 $as_echo_n "checking
for $ac_word...
" >&6; }
13250 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13251 $as_echo_n "(cached
) " >&6
13253 case $WINDRES_FOR_TARGET in
13255 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13259 for as_dir in $gcc_cv_tool_dirs
13262 test -z "$as_dir" && as_dir=.
13263 for ac_exec_ext in '' $ac_executable_extensions; do
13264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13265 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13266 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13276 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13277 if test -n "$WINDRES_FOR_TARGET"; then
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13279 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13282 $as_echo "no
" >&6; }
13287 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13290 if test -n "$WINDRES_FOR_TARGET"; then
13291 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13292 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13293 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13296 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13297 for ncn_progname in windres; do
13298 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13299 set dummy ${ncn_progname}; ac_word=$2
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13301 $as_echo_n "checking
for $ac_word...
" >&6; }
13302 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13303 $as_echo_n "(cached
) " >&6
13305 if test -n "$WINDRES_FOR_TARGET"; then
13306 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13309 for as_dir in $PATH
13312 test -z "$as_dir" && as_dir=.
13313 for ac_exec_ext in '' $ac_executable_extensions; do
13314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13315 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13316 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13325 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13326 if test -n "$WINDRES_FOR_TARGET"; then
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13328 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13331 $as_echo "no
" >&6; }
13338 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13339 for ncn_progname in windres; do
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13341 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13342 if test -x $with_build_time_tools/${ncn_progname}; then
13343 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13345 $as_echo "yes" >&6; }
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13349 $as_echo "no
" >&6; }
13354 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13355 for ncn_progname in windres; do
13356 if test -n "$ncn_target_tool_prefix"; then
13357 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13358 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13360 $as_echo_n "checking
for $ac_word...
" >&6; }
13361 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13362 $as_echo_n "(cached
) " >&6
13364 if test -n "$WINDRES_FOR_TARGET"; then
13365 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13368 for as_dir in $PATH
13371 test -z "$as_dir" && as_dir=.
13372 for ac_exec_ext in '' $ac_executable_extensions; do
13373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13374 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13375 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13384 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13385 if test -n "$WINDRES_FOR_TARGET"; then
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13387 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13390 $as_echo "no
" >&6; }
13395 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13396 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13397 set dummy ${ncn_progname}; ac_word=$2
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13399 $as_echo_n "checking
for $ac_word...
" >&6; }
13400 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13401 $as_echo_n "(cached
) " >&6
13403 if test -n "$WINDRES_FOR_TARGET"; then
13404 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13407 for as_dir in $PATH
13410 test -z "$as_dir" && as_dir=.
13411 for ac_exec_ext in '' $ac_executable_extensions; do
13412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13413 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13414 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13423 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13424 if test -n "$WINDRES_FOR_TARGET"; then
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13426 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13429 $as_echo "no
" >&6; }
13434 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13438 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13440 if test $build = $target ; then
13441 WINDRES_FOR_TARGET="$2"
13443 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13446 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13450 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13456 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13457 if test -n "$with_build_time_tools"; then
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13459 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13460 if test -x $with_build_time_tools/windmc; then
13461 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13462 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13464 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13467 $as_echo "no
" >&6; }
13469 elif test $build != $host && test $have_gcc_for_target = yes; then
13470 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13471 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13472 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13475 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13476 # Extract the first word of "windmc
", so it can be a program name with args.
13477 set dummy windmc; ac_word=$2
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13479 $as_echo_n "checking
for $ac_word...
" >&6; }
13480 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13481 $as_echo_n "(cached
) " >&6
13483 case $WINDMC_FOR_TARGET in
13485 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13489 for as_dir in $gcc_cv_tool_dirs
13492 test -z "$as_dir" && as_dir=.
13493 for ac_exec_ext in '' $ac_executable_extensions; do
13494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13495 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13496 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13506 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13507 if test -n "$WINDMC_FOR_TARGET"; then
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13509 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13512 $as_echo "no
" >&6; }
13517 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13520 if test -n "$WINDMC_FOR_TARGET"; then
13521 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13522 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13523 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13526 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13527 for ncn_progname in windmc; do
13528 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13529 set dummy ${ncn_progname}; ac_word=$2
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13531 $as_echo_n "checking
for $ac_word...
" >&6; }
13532 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13533 $as_echo_n "(cached
) " >&6
13535 if test -n "$WINDMC_FOR_TARGET"; then
13536 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13539 for as_dir in $PATH
13542 test -z "$as_dir" && as_dir=.
13543 for ac_exec_ext in '' $ac_executable_extensions; do
13544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13545 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13546 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13555 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13556 if test -n "$WINDMC_FOR_TARGET"; then
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13558 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13561 $as_echo "no
" >&6; }
13568 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13569 for ncn_progname in windmc; do
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13571 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13572 if test -x $with_build_time_tools/${ncn_progname}; then
13573 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13575 $as_echo "yes" >&6; }
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13579 $as_echo "no
" >&6; }
13584 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13585 for ncn_progname in windmc; do
13586 if test -n "$ncn_target_tool_prefix"; then
13587 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13588 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13590 $as_echo_n "checking
for $ac_word...
" >&6; }
13591 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13592 $as_echo_n "(cached
) " >&6
13594 if test -n "$WINDMC_FOR_TARGET"; then
13595 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13598 for as_dir in $PATH
13601 test -z "$as_dir" && as_dir=.
13602 for ac_exec_ext in '' $ac_executable_extensions; do
13603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13604 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13614 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13615 if test -n "$WINDMC_FOR_TARGET"; then
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13617 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13620 $as_echo "no
" >&6; }
13625 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13626 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13627 set dummy ${ncn_progname}; ac_word=$2
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13629 $as_echo_n "checking
for $ac_word...
" >&6; }
13630 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13631 $as_echo_n "(cached
) " >&6
13633 if test -n "$WINDMC_FOR_TARGET"; then
13634 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13637 for as_dir in $PATH
13640 test -z "$as_dir" && as_dir=.
13641 for ac_exec_ext in '' $ac_executable_extensions; do
13642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13643 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13653 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13654 if test -n "$WINDMC_FOR_TARGET"; then
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13656 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13659 $as_echo "no
" >&6; }
13664 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13668 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13670 if test $build = $target ; then
13671 WINDMC_FOR_TARGET="$2"
13673 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13676 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13680 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13684 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13687 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13688 if test "x
${build}" != "x
${host}" ; then
13689 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13690 # We already found the complete path
13691 ac_dir=`dirname $AR_FOR_TARGET`
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13693 $as_echo "pre-installed
in $ac_dir" >&6; }
13695 # Canadian cross, just use what we found
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13697 $as_echo "pre-installed
" >&6; }
13701 case " ${configdirs} " in
13706 if test $ok = yes; then
13707 # An in-tree tool is available and we can use it
13708 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13710 $as_echo "just compiled
" >&6; }
13711 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13712 # We already found the complete path
13713 ac_dir=`dirname $AR_FOR_TARGET`
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13715 $as_echo "pre-installed
in $ac_dir" >&6; }
13716 elif test "x
$target" = "x
$host"; then
13717 # We can use an host tool
13718 AR_FOR_TARGET='$(AR)'
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13720 $as_echo "host tool
" >&6; }
13722 # We need a cross tool
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13724 $as_echo "pre-installed
" >&6; }
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13729 $as_echo_n "checking where to
find the target as...
" >&6; }
13730 if test "x
${build}" != "x
${host}" ; then
13731 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13732 # We already found the complete path
13733 ac_dir=`dirname $AS_FOR_TARGET`
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13735 $as_echo "pre-installed
in $ac_dir" >&6; }
13737 # Canadian cross, just use what we found
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13739 $as_echo "pre-installed
" >&6; }
13743 case " ${configdirs} " in
13748 if test $ok = yes; then
13749 # An in-tree tool is available and we can use it
13750 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13752 $as_echo "just compiled
" >&6; }
13753 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13754 # We already found the complete path
13755 ac_dir=`dirname $AS_FOR_TARGET`
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13757 $as_echo "pre-installed
in $ac_dir" >&6; }
13758 elif test "x
$target" = "x
$host"; then
13759 # We can use an host tool
13760 AS_FOR_TARGET='$(AS)'
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13762 $as_echo "host tool
" >&6; }
13764 # We need a cross tool
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13766 $as_echo "pre-installed
" >&6; }
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13771 $as_echo_n "checking where to
find the target cc...
" >&6; }
13772 if test "x
${build}" != "x
${host}" ; then
13773 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13774 # We already found the complete path
13775 ac_dir=`dirname $CC_FOR_TARGET`
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13777 $as_echo "pre-installed
in $ac_dir" >&6; }
13779 # Canadian cross, just use what we found
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13781 $as_echo "pre-installed
" >&6; }
13785 case " ${configdirs} " in
13790 if test $ok = yes; then
13791 # An in-tree tool is available and we can use it
13792 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13794 $as_echo "just compiled
" >&6; }
13795 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13796 # We already found the complete path
13797 ac_dir=`dirname $CC_FOR_TARGET`
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13799 $as_echo "pre-installed
in $ac_dir" >&6; }
13800 elif test "x
$target" = "x
$host"; then
13801 # We can use an host tool
13802 CC_FOR_TARGET='$(CC)'
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13804 $as_echo "host tool
" >&6; }
13806 # We need a cross tool
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13808 $as_echo "pre-installed
" >&6; }
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13813 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13814 if test "x
${build}" != "x
${host}" ; then
13815 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13816 # We already found the complete path
13817 ac_dir=`dirname $CXX_FOR_TARGET`
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13819 $as_echo "pre-installed
in $ac_dir" >&6; }
13821 # Canadian cross, just use what we found
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13823 $as_echo "pre-installed
" >&6; }
13827 case " ${configdirs} " in
13831 case ,${enable_languages}, in
13835 if test $ok = yes; then
13836 # An in-tree tool is available and we can use it
13837 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xg++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `if test -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags; then $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13839 $as_echo "just compiled
" >&6; }
13840 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13841 # We already found the complete path
13842 ac_dir=`dirname $CXX_FOR_TARGET`
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13844 $as_echo "pre-installed
in $ac_dir" >&6; }
13845 elif test "x
$target" = "x
$host"; then
13846 # We can use an host tool
13847 CXX_FOR_TARGET='$(CXX)'
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13849 $as_echo "host tool
" >&6; }
13851 # We need a cross tool
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13853 $as_echo "pre-installed
" >&6; }
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13858 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13859 if test "x
${build}" != "x
${host}" ; then
13860 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13861 # We already found the complete path
13862 ac_dir=`dirname $RAW_CXX_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; }
13866 # Canadian cross, just use what we found
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13868 $as_echo "pre-installed
" >&6; }
13872 case " ${configdirs} " in
13876 case ,${enable_languages}, in
13880 if test $ok = yes; then
13881 # An in-tree tool is available and we can use it
13882 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 -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13884 $as_echo "just compiled
" >&6; }
13885 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13886 # We already found the complete path
13887 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13889 $as_echo "pre-installed
in $ac_dir" >&6; }
13890 elif test "x
$target" = "x
$host"; then
13891 # We can use an host tool
13892 RAW_CXX_FOR_TARGET='$(CXX)'
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13894 $as_echo "host tool
" >&6; }
13896 # We need a cross tool
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13898 $as_echo "pre-installed
" >&6; }
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13903 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13904 if test "x
${build}" != "x
${host}" ; then
13905 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13906 # We already found the complete path
13907 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13909 $as_echo "pre-installed
in $ac_dir" >&6; }
13911 # Canadian cross, just use what we found
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13913 $as_echo "pre-installed
" >&6; }
13917 case " ${configdirs} " in
13922 if test $ok = yes; then
13923 # An in-tree tool is available and we can use it
13924 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13926 $as_echo "just compiled
" >&6; }
13927 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13928 # We already found the complete path
13929 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13931 $as_echo "pre-installed
in $ac_dir" >&6; }
13932 elif test "x
$target" = "x
$host"; then
13933 # We can use an host tool
13934 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13936 $as_echo "host tool
" >&6; }
13938 # We need a cross tool
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13940 $as_echo "pre-installed
" >&6; }
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13945 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13946 if test "x
${build}" != "x
${host}" ; then
13947 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13948 # We already found the complete path
13949 ac_dir=`dirname $GCC_FOR_TARGET`
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13951 $as_echo "pre-installed
in $ac_dir" >&6; }
13953 # Canadian cross, just use what we found
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13955 $as_echo "pre-installed
" >&6; }
13959 case " ${configdirs} " in
13964 if test $ok = yes; then
13965 # An in-tree tool is available and we can use it
13966 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13968 $as_echo "just compiled
" >&6; }
13969 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13970 # We already found the complete path
13971 ac_dir=`dirname $GCC_FOR_TARGET`
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13973 $as_echo "pre-installed
in $ac_dir" >&6; }
13974 elif test "x
$target" = "x
$host"; then
13975 # We can use an host tool
13976 GCC_FOR_TARGET='$()'
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13978 $as_echo "host tool
" >&6; }
13980 # We need a cross tool
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13982 $as_echo "pre-installed
" >&6; }
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13987 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13988 if test "x
${build}" != "x
${host}" ; then
13989 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13990 # We already found the complete path
13991 ac_dir=`dirname $GCJ_FOR_TARGET`
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13993 $as_echo "pre-installed
in $ac_dir" >&6; }
13995 # Canadian cross, just use what we found
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13997 $as_echo "pre-installed
" >&6; }
14001 case " ${configdirs} " in
14005 case ,${enable_languages}, in
14009 if test $ok = yes; then
14010 # An in-tree tool is available and we can use it
14011 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14013 $as_echo "just compiled
" >&6; }
14014 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14015 # We already found the complete path
14016 ac_dir=`dirname $GCJ_FOR_TARGET`
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14018 $as_echo "pre-installed
in $ac_dir" >&6; }
14019 elif test "x
$target" = "x
$host"; then
14020 # We can use an host tool
14021 GCJ_FOR_TARGET='$(GCJ)'
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14023 $as_echo "host tool
" >&6; }
14025 # We need a cross tool
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14027 $as_echo "pre-installed
" >&6; }
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14032 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14033 if test "x
${build}" != "x
${host}" ; then
14034 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14035 # We already found the complete path
14036 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14038 $as_echo "pre-installed
in $ac_dir" >&6; }
14040 # Canadian cross, just use what we found
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14042 $as_echo "pre-installed
" >&6; }
14046 case " ${configdirs} " in
14050 case ,${enable_languages}, in
14054 if test $ok = yes; then
14055 # An in-tree tool is available and we can use it
14056 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14058 $as_echo "just compiled
" >&6; }
14059 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14060 # We already found the complete path
14061 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14063 $as_echo "pre-installed
in $ac_dir" >&6; }
14064 elif test "x
$target" = "x
$host"; then
14065 # We can use an host tool
14066 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14068 $as_echo "host tool
" >&6; }
14070 # We need a cross tool
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14072 $as_echo "pre-installed
" >&6; }
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14077 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14078 if test "x
${build}" != "x
${host}" ; then
14079 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14080 # We already found the complete path
14081 ac_dir=`dirname $GOC_FOR_TARGET`
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14083 $as_echo "pre-installed
in $ac_dir" >&6; }
14085 # Canadian cross, just use what we found
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14087 $as_echo "pre-installed
" >&6; }
14091 case " ${configdirs} " in
14095 case ,${enable_languages}, in
14099 if test $ok = yes; then
14100 # An in-tree tool is available and we can use it
14101 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14103 $as_echo "just compiled
" >&6; }
14104 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14105 # We already found the complete path
14106 ac_dir=`dirname $GOC_FOR_TARGET`
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14108 $as_echo "pre-installed
in $ac_dir" >&6; }
14109 elif test "x
$target" = "x
$host"; then
14110 # We can use an host tool
14111 GOC_FOR_TARGET='$(GOC)'
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14113 $as_echo "host tool
" >&6; }
14115 # We need a cross tool
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14117 $as_echo "pre-installed
" >&6; }
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14122 $as_echo_n "checking where to
find the target ld...
" >&6; }
14123 if test "x
${build}" != "x
${host}" ; then
14124 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14125 # We already found the complete path
14126 ac_dir=`dirname $LD_FOR_TARGET`
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14128 $as_echo "pre-installed
in $ac_dir" >&6; }
14130 # Canadian cross, just use what we found
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14132 $as_echo "pre-installed
" >&6; }
14136 case " ${configdirs} " in
14141 if test $ok = yes; then
14142 # An in-tree tool is available and we can use it
14143 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14145 $as_echo "just compiled
" >&6; }
14146 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14147 # We already found the complete path
14148 ac_dir=`dirname $LD_FOR_TARGET`
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14150 $as_echo "pre-installed
in $ac_dir" >&6; }
14151 elif test "x
$target" = "x
$host"; then
14152 # We can use an host tool
14153 LD_FOR_TARGET='$(LD)'
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14155 $as_echo "host tool
" >&6; }
14157 # We need a cross tool
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14159 $as_echo "pre-installed
" >&6; }
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14164 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14165 if test "x
${build}" != "x
${host}" ; then
14166 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14167 # We already found the complete path
14168 ac_dir=`dirname $LIPO_FOR_TARGET`
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14170 $as_echo "pre-installed
in $ac_dir" >&6; }
14172 # Canadian cross, just use what we found
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14174 $as_echo "pre-installed
" >&6; }
14177 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14178 # We already found the complete path
14179 ac_dir=`dirname $LIPO_FOR_TARGET`
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14181 $as_echo "pre-installed
in $ac_dir" >&6; }
14182 elif test "x
$target" = "x
$host"; then
14183 # We can use an host tool
14184 LIPO_FOR_TARGET='$(LIPO)'
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14186 $as_echo "host tool
" >&6; }
14188 # We need a cross tool
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14190 $as_echo "pre-installed
" >&6; }
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14195 $as_echo_n "checking where to
find the target nm...
" >&6; }
14196 if test "x
${build}" != "x
${host}" ; then
14197 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14198 # We already found the complete path
14199 ac_dir=`dirname $NM_FOR_TARGET`
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14201 $as_echo "pre-installed
in $ac_dir" >&6; }
14203 # Canadian cross, just use what we found
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14205 $as_echo "pre-installed
" >&6; }
14209 case " ${configdirs} " in
14214 if test $ok = yes; then
14215 # An in-tree tool is available and we can use it
14216 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14218 $as_echo "just compiled
" >&6; }
14219 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14220 # We already found the complete path
14221 ac_dir=`dirname $NM_FOR_TARGET`
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14223 $as_echo "pre-installed
in $ac_dir" >&6; }
14224 elif test "x
$target" = "x
$host"; then
14225 # We can use an host tool
14226 NM_FOR_TARGET='$(NM)'
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14228 $as_echo "host tool
" >&6; }
14230 # We need a cross tool
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14232 $as_echo "pre-installed
" >&6; }
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14237 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14238 if test "x
${build}" != "x
${host}" ; then
14239 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14240 # We already found the complete path
14241 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14243 $as_echo "pre-installed
in $ac_dir" >&6; }
14245 # Canadian cross, just use what we found
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14247 $as_echo "pre-installed
" >&6; }
14251 case " ${configdirs} " in
14256 if test $ok = yes; then
14257 # An in-tree tool is available and we can use it
14258 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14260 $as_echo "just compiled
" >&6; }
14261 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14262 # We already found the complete path
14263 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14265 $as_echo "pre-installed
in $ac_dir" >&6; }
14266 elif test "x
$target" = "x
$host"; then
14267 # We can use an host tool
14268 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14270 $as_echo "host tool
" >&6; }
14272 # We need a cross tool
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14274 $as_echo "pre-installed
" >&6; }
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14279 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14280 if test "x
${build}" != "x
${host}" ; then
14281 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14282 # We already found the complete path
14283 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14285 $as_echo "pre-installed
in $ac_dir" >&6; }
14287 # Canadian cross, just use what we found
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14289 $as_echo "pre-installed
" >&6; }
14293 case " ${configdirs} " in
14298 if test $ok = yes; then
14299 # An in-tree tool is available and we can use it
14300 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14302 $as_echo "just compiled
" >&6; }
14303 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14304 # We already found the complete path
14305 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14307 $as_echo "pre-installed
in $ac_dir" >&6; }
14308 elif test "x
$target" = "x
$host"; then
14309 # We can use an host tool
14310 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14312 $as_echo "host tool
" >&6; }
14314 # We need a cross tool
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14316 $as_echo "pre-installed
" >&6; }
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14321 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14322 if test "x
${build}" != "x
${host}" ; then
14323 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14324 # We already found the complete path
14325 ac_dir=`dirname $RANLIB_FOR_TARGET`
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14327 $as_echo "pre-installed
in $ac_dir" >&6; }
14329 # Canadian cross, just use what we found
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14331 $as_echo "pre-installed
" >&6; }
14335 case " ${configdirs} " in
14340 if test $ok = yes; then
14341 # An in-tree tool is available and we can use it
14342 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14344 $as_echo "just compiled
" >&6; }
14345 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14346 # We already found the complete path
14347 ac_dir=`dirname $RANLIB_FOR_TARGET`
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14349 $as_echo "pre-installed
in $ac_dir" >&6; }
14350 elif test "x
$target" = "x
$host"; then
14351 # We can use an host tool
14352 RANLIB_FOR_TARGET='$(RANLIB)'
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14354 $as_echo "host tool
" >&6; }
14356 # We need a cross tool
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14358 $as_echo "pre-installed
" >&6; }
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14363 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14364 if test "x
${build}" != "x
${host}" ; then
14365 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14366 # We already found the complete path
14367 ac_dir=`dirname $READELF_FOR_TARGET`
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14369 $as_echo "pre-installed
in $ac_dir" >&6; }
14371 # Canadian cross, just use what we found
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14373 $as_echo "pre-installed
" >&6; }
14377 case " ${configdirs} " in
14382 if test $ok = yes; then
14383 # An in-tree tool is available and we can use it
14384 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14386 $as_echo "just compiled
" >&6; }
14387 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14388 # We already found the complete path
14389 ac_dir=`dirname $READELF_FOR_TARGET`
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14391 $as_echo "pre-installed
in $ac_dir" >&6; }
14392 elif test "x
$target" = "x
$host"; then
14393 # We can use an host tool
14394 READELF_FOR_TARGET='$(READELF)'
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14396 $as_echo "host tool
" >&6; }
14398 # We need a cross tool
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14400 $as_echo "pre-installed
" >&6; }
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14405 $as_echo_n "checking where to
find the target strip...
" >&6; }
14406 if test "x
${build}" != "x
${host}" ; then
14407 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14408 # We already found the complete path
14409 ac_dir=`dirname $STRIP_FOR_TARGET`
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14411 $as_echo "pre-installed
in $ac_dir" >&6; }
14413 # Canadian cross, just use what we found
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14415 $as_echo "pre-installed
" >&6; }
14419 case " ${configdirs} " in
14424 if test $ok = yes; then
14425 # An in-tree tool is available and we can use it
14426 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14428 $as_echo "just compiled
" >&6; }
14429 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14430 # We already found the complete path
14431 ac_dir=`dirname $STRIP_FOR_TARGET`
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14433 $as_echo "pre-installed
in $ac_dir" >&6; }
14434 elif test "x
$target" = "x
$host"; then
14435 # We can use an host tool
14436 STRIP_FOR_TARGET='$(STRIP)'
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14438 $as_echo "host tool
" >&6; }
14440 # We need a cross tool
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14442 $as_echo "pre-installed
" >&6; }
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14447 $as_echo_n "checking where to
find the target windres...
" >&6; }
14448 if test "x
${build}" != "x
${host}" ; then
14449 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14450 # We already found the complete path
14451 ac_dir=`dirname $WINDRES_FOR_TARGET`
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14453 $as_echo "pre-installed
in $ac_dir" >&6; }
14455 # Canadian cross, just use what we found
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14457 $as_echo "pre-installed
" >&6; }
14461 case " ${configdirs} " in
14466 if test $ok = yes; then
14467 # An in-tree tool is available and we can use it
14468 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14470 $as_echo "just compiled
" >&6; }
14471 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14472 # We already found the complete path
14473 ac_dir=`dirname $WINDRES_FOR_TARGET`
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14475 $as_echo "pre-installed
in $ac_dir" >&6; }
14476 elif test "x
$target" = "x
$host"; then
14477 # We can use an host tool
14478 WINDRES_FOR_TARGET='$(WINDRES)'
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14480 $as_echo "host tool
" >&6; }
14482 # We need a cross tool
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14484 $as_echo "pre-installed
" >&6; }
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14489 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14490 if test "x
${build}" != "x
${host}" ; then
14491 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14492 # We already found the complete path
14493 ac_dir=`dirname $WINDMC_FOR_TARGET`
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14495 $as_echo "pre-installed
in $ac_dir" >&6; }
14497 # Canadian cross, just use what we found
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14499 $as_echo "pre-installed
" >&6; }
14503 case " ${configdirs} " in
14508 if test $ok = yes; then
14509 # An in-tree tool is available and we can use it
14510 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14512 $as_echo "just compiled
" >&6; }
14513 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14514 # We already found the complete path
14515 ac_dir=`dirname $WINDMC_FOR_TARGET`
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14517 $as_echo "pre-installed
in $ac_dir" >&6; }
14518 elif test "x
$target" = "x
$host"; then
14519 # We can use an host tool
14520 WINDMC_FOR_TARGET='$(WINDMC)'
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14522 $as_echo "host tool
" >&6; }
14524 # We need a cross tool
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14526 $as_echo "pre-installed
" >&6; }
14534 # Certain tools may need extra flags.
14535 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14536 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14537 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14539 # When building target libraries, except in a Canadian cross, we use
14540 # the same toolchain as the compiler we just built.
14541 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14542 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14543 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14544 if test $host = $build; then
14545 case " $configdirs " in
14547 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14548 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14549 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14559 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14560 # Check whether --enable-maintainer-mode was given.
14561 if test "${enable_maintainer_mode+set}" = set; then :
14562 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14564 USE_MAINTAINER_MODE=no
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14568 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14571 if test "$USE_MAINTAINER_MODE" = yes; then
14572 MAINTAINER_MODE_TRUE=
14573 MAINTAINER_MODE_FALSE='#'
14575 MAINTAINER_MODE_TRUE='#'
14576 MAINTAINER_MODE_FALSE=
14578 MAINT=$MAINTAINER_MODE_TRUE
14580 # ---------------------
14581 # GCC bootstrap support
14582 # ---------------------
14584 # Stage specific cflags for build.
14589 yes) stage1_cflags="-g -Wa,-J" ;;
14590 *) stage1_cflags="-g -J" ;;
14596 # Enable --enable-checking in stage1 of the compiler.
14597 # Check whether --enable-stage1-checking was given.
14598 if test "${enable_stage1_checking+set}" = set; then :
14599 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14601 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14602 # For --disable-checking or implicit --enable-checking=release, avoid
14603 # setting --enable-checking=gc in the default stage1 checking for LTO
14604 # bootstraps. See PR62077.
14605 case $BUILD_CONFIG in
14607 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
14609 stage1_checking=--enable-checking=yes,types;;
14611 if test "x
$enable_checking" = x && \
14612 test -d ${srcdir}/gcc && \
14613 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14614 stage1_checking=--enable-checking=yes,types,extra
14617 stage1_checking=--enable-checking=$enable_checking,types
14623 # Enable -Werror in bootstrap stage2 and later.
14624 # Check whether --enable-werror was given.
14625 if test "${enable_werror+set}" = set; then :
14626 enableval=$enable_werror;
14628 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14635 case ${enable_werror} in
14636 yes) stage2_werror_flag="--enable-werror-always" ;;
14637 *) stage2_werror_flag="" ;;
14641 # Enable --enable-host-shared.
14642 # Check whether --enable-host-shared was given.
14643 if test "${enable_host_shared+set}" = set; then :
14644 enableval=$enable_host_shared; host_shared=$enableval
14651 # PR jit/64780: Require the user to explicitly specify
14652 # --enable-host-shared if the jit is enabled, hinting
14653 # that they might want to do a separate configure/build of
14654 # the jit, to avoid users from slowing down the rest of the
14655 # compiler by enabling the jit.
14656 if test ${host_shared} = "no
" ; then
14657 case "${enable_languages}" in
14660 Enabling language
\"jit
\" requires
--enable-host-shared.
14662 --enable-host-shared typically slows the rest of the compiler down by
14663 a few
%, so you must explicitly
enable it.
14665 If you want to build both the jit and the regular compiler
, it is often
14666 best to
do this via two separate configure
/builds
, in separate
14667 directories
, to avoid imposing the performance cost of
14668 --enable-host-shared on the regular compiler.
" "$LINENO" 5
14675 # Specify what files to not compare during bootstrap.
14677 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14679 hppa*64*-*-hpux*) ;;
14680 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14681 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14685 ac_config_files="$ac_config_files Makefile
"
14687 cat >confcache <<\_ACEOF
14688 # This file is a shell script that caches the results of configure
14689 # tests run on this system so they can be shared between configure
14690 # scripts and configure runs, see configure's option --config-cache.
14691 # It is not useful on other systems. If it contains results you don't
14692 # want to keep, you may remove or edit it.
14694 # config.status only pays attention to the cache file if you give it
14695 # the --recheck option to rerun configure.
14697 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14698 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14699 # following values.
14703 # The following way of writing the cache mishandles newlines in values,
14704 # but we know of no workaround that is simple, portable, and efficient.
14705 # So, we kill variables containing newlines.
14706 # Ultrix sh set writes to stderr and can't be redirected directly,
14707 # and sets the high bit in the cache file unless we assign to the vars.
14709 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14710 eval ac_val=\$$ac_var
14714 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14715 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14718 _ | IFS | as_nl) ;; #(
14719 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14720 *) { eval $ac_var=; unset $ac_var;} ;;
14726 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14727 *${as_nl}ac_space=\ *)
14728 # `set' does not quote correctly, so add quotes: double-quote
14729 # substitution turns \\\\ into \\, and sed turns \\ into \.
14732 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14735 # `set' quotes correctly as required by POSIX, so do not add quotes.
14736 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14745 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14747 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14749 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14750 if test -w "$cache_file"; then
14751 test "x
$cache_file" != "x
/dev
/null
" &&
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14753 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14754 cat confcache >$cache_file
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14757 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14762 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14763 # Let make expand exec_prefix.
14764 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14766 # Transform confdefs.h into DEFS.
14767 # Protect against shell expansion while executing Makefile rules.
14768 # Protect against Makefile macro expansion.
14770 # If the first sed substitution is executed (which looks for macros that
14771 # take arguments), then branch to the quote section. Otherwise,
14772 # look for a macro that doesn't take arguments.
14782 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14784 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14788 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14801 DEFS=`sed -n "$ac_script" confdefs.h`
14806 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14807 # 1. Remove the extension, and $U if already installed.
14808 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14809 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14810 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14811 # will be set to the directory where LIBOBJS objects are built.
14812 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14813 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14815 LIBOBJS=$ac_libobjs
14817 LTLIBOBJS=$ac_ltlibobjs
14821 : ${CONFIG_STATUS=./config.status}
14823 ac_clean_files_save=$ac_clean_files
14824 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14826 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14828 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14830 # Generated by $as_me.
14831 # Run this file to recreate the current configuration.
14832 # Compiler output produced by configure, useful for debugging
14833 # configure, is in config.log if it exists.
14836 ac_cs_recheck=false
14839 SHELL=\${CONFIG_SHELL-$SHELL}
14842 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14843 ## -------------------- ##
14844 ## M4sh Initialization. ##
14845 ## -------------------- ##
14847 # Be more Bourne compatible
14848 DUALCASE=1; export DUALCASE # for MKS sh
14849 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14852 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14853 # is contrary to our usage. Disable this feature.
14854 alias -g '${1+"$@"}'='"$@"'
14855 setopt NO_GLOB_SUBST
14857 case `(set -o) 2>/dev/null` in #(
14869 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14870 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14871 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14872 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14873 # Prefer a ksh shell builtin over an external printf program on Solaris,
14874 # but without wasting forks for bash or zsh.
14875 if test -z "$BASH_VERSION$ZSH_VERSION" \
14876 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14877 as_echo
='print -r --'
14878 as_echo_n
='print -rn --'
14879 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14880 as_echo
='printf %s\n'
14881 as_echo_n
='printf %s'
14883 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14884 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14885 as_echo_n
='/usr/ucb/echo -n'
14887 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14888 as_echo_n_body
='eval
14892 expr "X$arg" : "X\\(.*\\)$as_nl";
14893 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14895 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14897 export as_echo_n_body
14898 as_echo_n
='sh -c $as_echo_n_body as_echo'
14900 export as_echo_body
14901 as_echo
='sh -c $as_echo_body as_echo'
14904 # The user is always right.
14905 if test "${PATH_SEPARATOR+set}" != set; then
14907 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14908 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14915 # We need space, tab and new line, in precisely that order. Quoting is
14916 # there to prevent editors from complaining about space-tab.
14917 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14918 # splitting by setting IFS to empty value.)
14921 # Find who we are. Look in the path if we contain no directory separator.
14923 *[\\/]* ) as_myself
=$0 ;;
14924 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14925 for as_dir
in $PATH
14928 test -z "$as_dir" && as_dir
=.
14929 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14935 # We did not find ourselves, most probably we were run as `sh COMMAND'
14936 # in which case we are not to be found in the path.
14937 if test "x$as_myself" = x
; then
14940 if test ! -f "$as_myself"; then
14941 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14945 # Unset variables that we do not need and which cause bugs (e.g. in
14946 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14947 # suppresses any "Segmentation fault" message there. '((' could
14948 # trigger a bug in pdksh 5.2.14.
14949 for as_var
in BASH_ENV ENV MAIL MAILPATH
14950 do eval test x\
${$as_var+set} = xset \
14951 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14964 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14967 # as_fn_error ERROR [LINENO LOG_FD]
14968 # ---------------------------------
14969 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14970 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14971 # script with status $?, using 1 if that was 0.
14974 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14976 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14977 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14979 $as_echo "$as_me: error: $1" >&2
14980 as_fn_exit
$as_status
14984 # as_fn_set_status STATUS
14985 # -----------------------
14986 # Set $? to STATUS, without forking.
14987 as_fn_set_status
()
14990 } # as_fn_set_status
14992 # as_fn_exit STATUS
14993 # -----------------
14994 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14998 as_fn_set_status
$1
15004 # Portably unset VAR.
15007 { eval $1=; unset $1;}
15009 as_unset
=as_fn_unset
15010 # as_fn_append VAR VALUE
15011 # ----------------------
15012 # Append the text in VALUE to the end of the definition contained in VAR. Take
15013 # advantage of any shell optimizations that allow amortized linear growth over
15014 # repeated appends, instead of the typical quadratic growth present in naive
15016 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15017 eval 'as_fn_append ()
15028 # as_fn_arith ARG...
15029 # ------------------
15030 # Perform arithmetic evaluation on the ARGs, and store the result in the
15031 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15032 # must be portable across $(()) and expr.
15033 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15034 eval 'as_fn_arith ()
15041 as_val
=`expr "$@" || test $? -eq 1`
15046 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15047 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15053 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15054 as_basename
=basename
15059 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15065 as_me
=`$as_basename -- "$0" ||
15066 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15067 X"$0" : 'X\(//\)$' \| \
15068 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15070 sed '/^.*\/\([^/][^/]*\)\/*$/{
15084 # Avoid depending upon Character Ranges.
15085 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15086 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15087 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15088 as_cr_digits
='0123456789'
15089 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15091 ECHO_C
= ECHO_N
= ECHO_T
=
15092 case `echo -n x` in #(((((
15094 case `echo 'xy\c'` in
15095 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15097 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15104 rm -f conf$$ conf$$.exe conf$$.
file
15105 if test -d conf$$.dir
; then
15106 rm -f conf$$.dir
/conf$$.
file
15109 mkdir conf$$.dir
2>/dev
/null
15111 if (echo >conf$$.
file) 2>/dev
/null
; then
15112 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15114 # ... but there are two gotchas:
15115 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15116 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15117 # In both cases, we have to default to `cp -p'.
15118 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15120 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15128 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15129 rmdir conf$$.dir
2>/dev
/null
15134 # Create "$as_dir" as a directory, including parents if necessary.
15139 -*) as_dir
=.
/$as_dir;;
15141 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15145 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15146 *) as_qdir
=$as_dir;;
15148 as_dirs
="'$as_qdir' $as_dirs"
15149 as_dir
=`$as_dirname -- "$as_dir" ||
15150 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15151 X"$as_dir" : 'X\(//\)[^/]' \| \
15152 X"$as_dir" : 'X\(//\)$' \| \
15153 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15154 $as_echo X"$as_dir" |
15155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15159 /^X\(\/\/\)[^/].*/{
15172 test -d "$as_dir" && break
15174 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15175 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15179 if mkdir
-p .
2>/dev
/null
; then
15180 as_mkdir_p
='mkdir -p "$as_dir"'
15182 test -d .
/-p && rmdir .
/-p
15186 if test -x / >/dev
/null
2>&1; then
15187 as_test_x
='test -x'
15189 if ls -dL / >/dev
/null
2>&1; then
15196 if test -d "$1"; then
15202 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15203 ???[sx]*):;;*)false;;esac;fi
15207 as_executable_p
=$as_test_x
15209 # Sed expression to map a string onto a valid CPP name.
15210 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15212 # Sed expression to map a string onto a valid variable name.
15213 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15217 ## ----------------------------------- ##
15218 ## Main body of $CONFIG_STATUS script. ##
15219 ## ----------------------------------- ##
15221 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15224 # Save the log message, to keep $0 and so on meaningful, and to
15225 # report actual input values of CONFIG_FILES etc. instead of their
15226 # values after options handling.
15228 This file was extended by $as_me, which was
15229 generated by GNU Autoconf 2.64. Invocation command line was
15231 CONFIG_FILES = $CONFIG_FILES
15232 CONFIG_HEADERS = $CONFIG_HEADERS
15233 CONFIG_LINKS = $CONFIG_LINKS
15234 CONFIG_COMMANDS = $CONFIG_COMMANDS
15237 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15242 case $ac_config_files in *"
15243 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15249 # Files that config.status was made for.
15250 config_files="$ac_config_files"
15254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15256 \`$as_me' instantiates files and other configuration actions
15257 from templates according to the current configuration. Unless the files
15258 and actions are specified as TAGs, all are instantiated by default.
15260 Usage: $0 [OPTION]... [TAG]...
15262 -h, --help print this help, then exit
15263 -V, --version print version number and configuration settings, then exit
15264 -q, --quiet, --silent
15265 do not print progress messages
15266 -d, --debug don't remove temporary files
15267 --recheck update $as_me by reconfiguring in the same conditions
15268 --file=FILE[:TEMPLATE]
15269 instantiate the configuration file FILE
15271 Configuration files:
15274 Report bugs to the package provider."
15277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15280 configured by $0, generated by GNU Autoconf 2.64,
15281 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15283 Copyright (C) 2009 Free Software Foundation, Inc.
15284 This config.status script is free software; the Free Software Foundation
15285 gives unlimited permission to copy, distribute and modify it."
15291 test -n "\$AWK" || AWK=awk
15294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15295 # The default lists apply if the user does not specify any file.
15301 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15302 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15313 # Handling of the options.
15314 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15316 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15317 $as_echo "$ac_cs_version"; exit ;;
15318 --debug |
--debu |
--deb |
--de |
--d |
-d )
15320 --file |
--fil |
--fi |
--f )
15323 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15325 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15326 ac_need_defaults
=false
;;
15327 --he |
--h |
--help |
--hel |
-h )
15328 $as_echo "$ac_cs_usage"; exit ;;
15329 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15330 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15333 # This is an error.
15334 -*) as_fn_error
"unrecognized option: \`$1'
15335 Try \`$0 --help' for more information." ;;
15337 *) as_fn_append ac_config_targets
" $1"
15338 ac_need_defaults
=false
;;
15344 ac_configure_extra_args
=
15346 if $ac_cs_silent; then
15348 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15353 if \$ac_cs_recheck; then
15354 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15356 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15357 CONFIG_SHELL='$SHELL'
15358 export CONFIG_SHELL
15363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15367 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15368 ## Running $as_me. ##
15374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15378 extrasub_build="$extrasub_build"
15379 extrasub_host="$extrasub_host"
15380 extrasub_target="$extrasub_target"
15384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15386 # Handling of arguments.
15387 for ac_config_target
in $ac_config_targets
15389 case $ac_config_target in
15390 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15392 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15397 # If the user did not use the arguments to specify the items to instantiate,
15398 # then the envvar interface is used. Set only those that are not.
15399 # We use the long form for the default assignment because of an extremely
15400 # bizarre bug on SunOS 4.1.3.
15401 if $ac_need_defaults; then
15402 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15405 # Have a temporary directory for convenience. Make it in the build tree
15406 # simply because there is no reason against having it here, and in addition,
15407 # creating and moving files from /tmp can sometimes cause problems.
15408 # Hook for its removal unless debugging.
15409 # Note that there is a small window in which the directory will not be cleaned:
15410 # after its creation but before its name has been assigned to `$tmp'.
15414 trap 'exit_status=$?
15415 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15417 trap 'as_fn_exit 1' 1 2 13 15
15419 # Create a (secure) tmp directory for tmp files.
15422 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15423 test -n "$tmp" && test -d "$tmp"
15426 tmp
=.
/conf$$
-$RANDOM
15427 (umask 077 && mkdir
"$tmp")
15428 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15430 # Set up the scripts for CONFIG_FILES section.
15431 # No need to generate them if there are no CONFIG_FILES.
15432 # This happens for instance with `./config.status config.h'.
15433 if test -n "$CONFIG_FILES"; then
15435 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15436 ac_cs_awk_getline
=:
15437 ac_cs_awk_pipe_init
=
15438 ac_cs_awk_read_file
='
15439 while ((getline aline < (F[key])) > 0)
15442 ac_cs_awk_pipe_fini
=
15444 ac_cs_awk_getline
=false
15445 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15446 ac_cs_awk_read_file
='
15448 print "cat " F[key] " &&"
15449 '$ac_cs_awk_pipe_init
15450 # The final `:' finishes the AND list.
15451 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15453 ac_cr
=`echo X | tr X '\015'`
15454 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15455 # But we know of no other shell where ac_cr would be empty at this
15456 # point, so we can use a bashism as a fallback.
15457 if test "x$ac_cr" = x
; then
15458 eval ac_cr
=\$
\'\\r
\'
15460 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15461 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15464 ac_cs_awk_cr
=$ac_cr
15467 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15470 # Create commands to substitute file output variables.
15472 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15473 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15474 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15477 } >conf$
$files.sh
&&
15478 . .
/conf$
$files.sh ||
15479 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15480 rm -f conf$
$files.sh
15483 echo "cat >conf$$subs.awk <<_ACEOF" &&
15484 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15486 } >conf$$subs.sh ||
15487 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15488 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15490 for ac_last_try in false false false false false :; do
15491 . ./conf$$subs.sh ||
15492 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15494 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15495 if test $ac_delim_n = $ac_delim_num; then
15497 elif $ac_last_try; then
15498 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15500 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15503 rm -f conf$$subs.sh
15505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15506 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15510 s/^/S["/; s
/!.
*/"]=/
15520 s/\(.\{148\}\).*/\1/
15522 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15527 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15534 s/\(.\{148\}\).*/\1/
15536 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15540 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15545 ' <conf$$subs.awk | sed '
15550 ' >>$CONFIG_STATUS || ac_write_fail=1
15551 rm -f conf$$subs.awk
15552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15554 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15555 for (key in S) S_is_set[key] = 1
15557 \$ac_cs_awk_pipe_init
15561 nfields = split(line, field, "@
")
15563 len = length(field[1])
15564 for (i = 2; i < nfields; i++) {
15566 keylen = length(key)
15567 if (S_is_set[key]) {
15569 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15570 len += length(value) + length(field[++i])
15575 if (nfields == 3 && !substed) {
15577 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15578 \$ac_cs_awk_read_file
15584 \$ac_cs_awk_pipe_fini
15587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15588 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15589 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15592 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15593 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15596 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15597 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15598 # trailing colons and then remove the whole line if VPATH becomes empty
15599 # (actually we leave an empty line to preserve line numbers).
15600 if test "x
$srcdir" = x.; then
15601 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15602 s/:*\$(srcdir):*/:/
15603 s/:*\${srcdir}:*/:/
15605 s/^\([^=]*=[ ]*\):*/\1/
15611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15612 fi # test -n "$CONFIG_FILES"
15615 eval set X " :F
$CONFIG_FILES "
15620 :[FHLC]) ac_mode=$ac_tag; continue;;
15622 case $ac_mode$ac_tag in
15624 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15625 :[FH]-) ac_tag=-:-;;
15626 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15643 -) ac_f="$tmp/stdin";;
15644 *) # Look for the file first in the build tree, then in the source tree
15645 # (if the path is not absolute). The absolute path cannot be DOS-style,
15646 # because $ac_f cannot contain `:'.
15650 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15652 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15654 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15655 as_fn_append ac_file_inputs " '$ac_f'"
15658 # Let's still pretend it is `configure' which instantiates (i.e., don't
15659 # use $as_me), people would be surprised to read:
15660 # /* config.h. Generated by config.status. */
15661 configure_input='Generated from '`
15662 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15664 if test x"$ac_file" != x-; then
15665 configure_input="$ac_file.
$configure_input"
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15667 $as_echo "$as_me: creating
$ac_file" >&6;}
15669 # Neutralize special characters interpreted by sed in replacement strings.
15670 case $configure_input in #(
15671 *\&* | *\|* | *\\* )
15672 ac_sed_conf_input=`$as_echo "$configure_input" |
15673 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15674 *) ac_sed_conf_input=$configure_input;;
15678 *:-:* | *:-) cat >"$tmp/stdin
" \
15679 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15684 ac_dir=`$as_dirname -- "$ac_file" ||
15685 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15686 X"$ac_file" : 'X\(//\)[^/]' \| \
15687 X"$ac_file" : 'X\(//\)$' \| \
15688 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15689 $as_echo X"$ac_file" |
15690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15694 /^X\(\/\/\)[^/].*/{
15707 as_dir="$ac_dir"; as_fn_mkdir_p
15711 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15713 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15714 # A "..
" for each directory in $ac_dir_suffix.
15715 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15716 case $ac_top_builddir_sub in
15717 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15718 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15721 ac_abs_top_builddir=$ac_pwd
15722 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15723 # for backward compatibility:
15724 ac_top_builddir=$ac_top_build_prefix
15727 .) # We are building in place.
15729 ac_top_srcdir=$ac_top_builddir_sub
15730 ac_abs_top_srcdir=$ac_pwd ;;
15731 [\\/]* | ?:[\\/]* ) # Absolute name.
15732 ac_srcdir=$srcdir$ac_dir_suffix;
15733 ac_top_srcdir=$srcdir
15734 ac_abs_top_srcdir=$srcdir ;;
15735 *) # Relative name.
15736 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15737 ac_top_srcdir=$ac_top_build_prefix$srcdir
15738 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15740 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15750 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15751 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15756 # If the template does not know about datarootdir, expand it.
15757 # FIXME: This hack should be removed a few years after 2.60.
15758 ac_datarootdir_hack=; ac_datarootdir_seen=
15769 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15770 *datarootdir*) ac_datarootdir_seen=yes;;
15771 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15773 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15776 ac_datarootdir_hack='
15777 s&@datadir@&$datadir&g
15778 s&@docdir@&$docdir&g
15779 s&@infodir@&$infodir&g
15780 s&@localedir@&$localedir&g
15781 s&@mandir@&$mandir&g
15782 s&\\\${datarootdir}&$datarootdir&g' ;;
15786 # Neutralize VPATH when `$srcdir' = `.'.
15787 # Shell code in configure.ac might set extrasub.
15788 # FIXME: do we really want to maintain this feature?
15789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15790 ac_sed_extra="$ac_vpsub
15793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15795 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15796 s|@configure_input@|
$ac_sed_conf_input|
;t t
15797 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15798 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15799 s
&@srcdir@
&$ac_srcdir&;t t
15800 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15801 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15802 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15803 s
&@builddir@
&$ac_builddir&;t t
15804 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15805 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15806 s
&@INSTALL@
&$ac_INSTALL&;t t
15807 $ac_datarootdir_hack
15809 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15810 if $ac_cs_awk_getline; then
15811 $AWK -f "$tmp/subs.
awk"
15813 $AWK -f "$tmp/subs.
awk" | $SHELL
15815 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15817 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15818 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15819 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15821 which seems to be undefined. Please make sure it is defined." >&5
15822 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15823 which seems to be undefined. Please make sure it is defined." >&2;}
15827 -) cat "$tmp/out" && rm -f "$tmp/out";;
15828 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15830 || as_fn_error "could not create $ac_file" "$LINENO" 5
15838 case $ac_file$ac_mode in
15839 "Makefile":F) sed "$extrasub_build" Makefile |
15840 sed "$extrasub_host" |
15841 sed "$extrasub_target" > mf$$
15842 mv -f mf$$ Makefile ;;
15850 ac_clean_files=$ac_clean_files_save
15852 test $ac_write_fail = 0 ||
15853 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15856 # configure is writing to config.log, and then calls config.status.
15857 # config.status does its own redirection, appending to config.log.
15858 # Unfortunately, on DOS this fails, as config.log is still kept open
15859 # by configure, so config.status won't be able to
write to it
; its
15860 # output is simply discarded. So we exec the FD to /dev/null,
15861 # effectively closing config.log, so it can be properly (re)opened and
15862 # appended to by config.status. When coming back to configure, we
15863 # need to make the FD available again.
15864 if test "$no_create" != yes; then
15866 ac_config_status_args
=
15867 test "$silent" = yes &&
15868 ac_config_status_args
="$ac_config_status_args --quiet"
15870 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15872 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15873 # would make configure fail if this is the last instruction.
15874 $ac_cs_success || as_fn_exit $?
15876 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15878 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}