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
642 DEBUG_PREFIX_CFLAGS_FOR_TARGET
643 SYSROOT_CFLAGS_FOR_TARGET
645 extra_host_zlib_configure_flags
646 extra_host_libiberty_configure_flags
648 extra_linker_plugin_flags
649 extra_linker_plugin_configure_flags
657 extra_isl_gmp_configure_flags
658 extra_mpc_mpfr_configure_flags
659 extra_mpc_gmp_configure_flags
660 extra_mpfr_configure_flags
676 extra_liboffloadmic_configure_flags
703 TOPLEVEL_CONFIGURE_ARGUMENTS
731 program_transform_name
742 ac_subst_files
='serialization_dependencies
748 enable_option_checking
751 enable_as_accelerator_for
752 enable_offload_targets
755 enable_compressed_debug_sections
757 enable_libquadmath_support
781 enable_isl_version_check
783 enable_linker_plugin_configure_flags
784 enable_linker_plugin_flags
785 enable_stage1_languages
788 with_target_bdw_gc_include
789 with_target_bdw_gc_lib
790 with_gcc_major_version_only
792 with_debug_prefix_map
795 enable_serial_configure
796 with_build_time_tools
797 enable_maintainer_mode
798 enable_stage1_checking
802 ac_precious_vars
='build_alias
849 # Initialize some variables set by options.
851 ac_init_version
=false
852 ac_unrecognized_opts
=
854 # The variables have the same names as the options, with
855 # dashes changed to underlines.
863 program_transform_name
=s
,x
,x
,
871 # Installation directory options.
872 # These are left unexpanded so users can "make install exec_prefix=/foo"
873 # and all the variables that are supposed to be based on exec_prefix
874 # by default will actually change.
875 # Use braces instead of parens because sh, perl, etc. also accept them.
876 # (The list follows the same order as the GNU Coding Standards.)
877 bindir
='${exec_prefix}/bin'
878 sbindir
='${exec_prefix}/sbin'
879 libexecdir
='${exec_prefix}/libexec'
880 datarootdir
='${prefix}/share'
881 datadir
='${datarootdir}'
882 sysconfdir
='${prefix}/etc'
883 sharedstatedir
='${prefix}/com'
884 localstatedir
='${prefix}/var'
885 includedir
='${prefix}/include'
886 oldincludedir
='/usr/include'
887 docdir
='${datarootdir}/doc/${PACKAGE}'
888 infodir
='${datarootdir}/info'
893 libdir
='${exec_prefix}/lib'
894 localedir
='${datarootdir}/locale'
895 mandir
='${datarootdir}/man'
901 # If the previous option needs an argument, assign it.
902 if test -n "$ac_prev"; then
903 eval $ac_prev=\
$ac_option
909 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
913 # Accept the important Cygnus configure options, so we can diagnose typos.
915 case $ac_dashdash$ac_option in
919 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
921 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
924 -build |
--build |
--buil |
--bui |
--bu)
925 ac_prev
=build_alias
;;
926 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
927 build_alias
=$ac_optarg ;;
929 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
930 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
931 ac_prev
=cache_file
;;
932 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
933 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
934 cache_file
=$ac_optarg ;;
937 cache_file
=config.cache
;;
939 -datadir |
--datadir |
--datadi |
--datad)
941 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
942 datadir
=$ac_optarg ;;
944 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
945 |
--dataroo |
--dataro |
--datar)
946 ac_prev
=datarootdir
;;
947 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
948 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
949 datarootdir
=$ac_optarg ;;
951 -disable-* |
--disable-*)
952 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
955 as_fn_error
"invalid feature name: $ac_useropt"
956 ac_useropt_orig
=$ac_useropt
957 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958 case $ac_user_opts in
962 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
963 ac_unrecognized_sep
=', ';;
965 eval enable_
$ac_useropt=no
;;
967 -docdir |
--docdir |
--docdi |
--doc |
--do)
969 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
972 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
974 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
977 -enable-* |
--enable-*)
978 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
981 as_fn_error
"invalid feature name: $ac_useropt"
982 ac_useropt_orig
=$ac_useropt
983 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984 case $ac_user_opts in
988 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
989 ac_unrecognized_sep
=', ';;
991 eval enable_
$ac_useropt=\
$ac_optarg ;;
993 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
994 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
995 |
--exec |
--exe |
--ex)
996 ac_prev
=exec_prefix
;;
997 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
998 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
999 |
--exec=* |
--exe=* |
--ex=*)
1000 exec_prefix
=$ac_optarg ;;
1002 -gas |
--gas |
--ga |
--g)
1003 # Obsolete; use --with-gas.
1006 -help |
--help |
--hel |
--he |
-h)
1007 ac_init_help
=long
;;
1008 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1009 ac_init_help
=recursive
;;
1010 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1011 ac_init_help
=short
;;
1013 -host |
--host |
--hos |
--ho)
1014 ac_prev
=host_alias
;;
1015 -host=* |
--host=* |
--hos=* |
--ho=*)
1016 host_alias
=$ac_optarg ;;
1018 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1020 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1022 htmldir
=$ac_optarg ;;
1024 -includedir |
--includedir |
--includedi |
--included |
--include \
1025 |
--includ |
--inclu |
--incl |
--inc)
1026 ac_prev
=includedir
;;
1027 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1028 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1029 includedir
=$ac_optarg ;;
1031 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1033 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1034 infodir
=$ac_optarg ;;
1036 -libdir |
--libdir |
--libdi |
--libd)
1038 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1039 libdir
=$ac_optarg ;;
1041 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1042 |
--libexe |
--libex |
--libe)
1043 ac_prev
=libexecdir
;;
1044 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1045 |
--libexe=* |
--libex=* |
--libe=*)
1046 libexecdir
=$ac_optarg ;;
1048 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1049 ac_prev
=localedir
;;
1050 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1051 localedir
=$ac_optarg ;;
1053 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1054 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1055 ac_prev
=localstatedir
;;
1056 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1057 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1058 localstatedir
=$ac_optarg ;;
1060 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1062 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1063 mandir
=$ac_optarg ;;
1065 -nfp |
--nfp |
--nf)
1066 # Obsolete; use --without-fp.
1069 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1070 |
--no-cr |
--no-c |
-n)
1073 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1074 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1077 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1078 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1079 |
--oldin |
--oldi |
--old |
--ol |
--o)
1080 ac_prev
=oldincludedir
;;
1081 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1082 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1083 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1084 oldincludedir
=$ac_optarg ;;
1086 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1088 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1089 prefix
=$ac_optarg ;;
1091 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1092 |
--program-pre |
--program-pr |
--program-p)
1093 ac_prev
=program_prefix
;;
1094 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1095 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1096 program_prefix
=$ac_optarg ;;
1098 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1099 |
--program-suf |
--program-su |
--program-s)
1100 ac_prev
=program_suffix
;;
1101 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1102 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1103 program_suffix
=$ac_optarg ;;
1105 -program-transform-name |
--program-transform-name \
1106 |
--program-transform-nam |
--program-transform-na \
1107 |
--program-transform-n |
--program-transform- \
1108 |
--program-transform |
--program-transfor \
1109 |
--program-transfo |
--program-transf \
1110 |
--program-trans |
--program-tran \
1111 |
--progr-tra |
--program-tr |
--program-t)
1112 ac_prev
=program_transform_name
;;
1113 -program-transform-name=* |
--program-transform-name=* \
1114 |
--program-transform-nam=* |
--program-transform-na=* \
1115 |
--program-transform-n=* |
--program-transform-=* \
1116 |
--program-transform=* |
--program-transfor=* \
1117 |
--program-transfo=* |
--program-transf=* \
1118 |
--program-trans=* |
--program-tran=* \
1119 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1120 program_transform_name
=$ac_optarg ;;
1122 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1124 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1125 pdfdir
=$ac_optarg ;;
1127 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1129 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1132 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1133 |
-silent |
--silent |
--silen |
--sile |
--sil)
1136 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1138 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1140 sbindir
=$ac_optarg ;;
1142 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1143 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1144 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1146 ac_prev
=sharedstatedir
;;
1147 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1148 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1149 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1151 sharedstatedir
=$ac_optarg ;;
1153 -site |
--site |
--sit)
1155 -site=* |
--site=* |
--sit=*)
1158 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1160 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1161 srcdir
=$ac_optarg ;;
1163 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1164 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1165 ac_prev
=sysconfdir
;;
1166 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1167 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1168 sysconfdir
=$ac_optarg ;;
1170 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1171 ac_prev
=target_alias
;;
1172 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1173 target_alias
=$ac_optarg ;;
1175 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1178 -version |
--version |
--versio |
--versi |
--vers |
-V)
1179 ac_init_version
=: ;;
1182 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1185 as_fn_error
"invalid package name: $ac_useropt"
1186 ac_useropt_orig
=$ac_useropt
1187 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1193 ac_unrecognized_sep
=', ';;
1195 eval with_
$ac_useropt=\
$ac_optarg ;;
1197 -without-* |
--without-*)
1198 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1201 as_fn_error
"invalid package name: $ac_useropt"
1202 ac_useropt_orig
=$ac_useropt
1203 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204 case $ac_user_opts in
1208 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1209 ac_unrecognized_sep
=', ';;
1211 eval with_
$ac_useropt=no
;;
1214 # Obsolete; use --with-x.
1217 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1218 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1219 ac_prev
=x_includes
;;
1220 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1221 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1222 x_includes
=$ac_optarg ;;
1224 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1225 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1226 ac_prev
=x_libraries
;;
1227 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1228 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1229 x_libraries
=$ac_optarg ;;
1231 -*) as_fn_error
"unrecognized option: \`$ac_option'
1232 Try \`$0 --help' for more information."
1236 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1237 # Reject names that are not valid shell variable names.
1238 case $ac_envvar in #(
1239 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1240 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1242 eval $ac_envvar=\
$ac_optarg
1243 export $ac_envvar ;;
1246 # FIXME: should be removed in autoconf 3.0.
1247 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1248 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1249 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1250 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1256 if test -n "$ac_prev"; then
1257 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1258 as_fn_error
"missing argument to $ac_option"
1261 if test -n "$ac_unrecognized_opts"; then
1262 case $enable_option_checking in
1264 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1265 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1269 # Check all directory arguments for consistency.
1270 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1271 datadir sysconfdir sharedstatedir localstatedir includedir \
1272 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1273 libdir localedir mandir
1275 eval ac_val
=\$
$ac_var
1276 # Remove trailing slashes.
1279 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1280 eval $ac_var=\
$ac_val;;
1282 # Be sure to have absolute directory names.
1284 [\\/$
]* | ?
:[\\/]* ) continue;;
1285 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1287 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1290 # There might be people who depend on the old broken behavior: `$host'
1291 # used to hold the argument of --host etc.
1292 # FIXME: To remove some day.
1295 target
=$target_alias
1297 # FIXME: To remove some day.
1298 if test "x$host_alias" != x
; then
1299 if test "x$build_alias" = x
; then
1300 cross_compiling
=maybe
1301 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1302 If a cross compiler is detected then cross compile mode will be used." >&2
1303 elif test "x$build_alias" != "x$host_alias"; then
1309 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1311 test "$silent" = yes && exec 6>/dev
/null
1314 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1315 ac_ls_di
=`ls -di .` &&
1316 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1317 as_fn_error
"working directory cannot be determined"
1318 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1319 as_fn_error
"pwd does not report name of working directory"
1322 # Find the source files, if location was not specified.
1323 if test -z "$srcdir"; then
1324 ac_srcdir_defaulted
=yes
1325 # Try the directory containing this script, then the parent directory.
1326 ac_confdir
=`$as_dirname -- "$as_myself" ||
1327 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1328 X"$as_myself" : 'X\(//\)[^/]' \| \
1329 X"$as_myself" : 'X\(//\)$' \| \
1330 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1331 $as_echo X"$as_myself" |
1332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1354 ac_srcdir_defaulted
=no
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1357 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1358 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1360 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1362 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1364 # When building in place, set srcdir=.
1365 if test "$ac_abs_confdir" = "$ac_pwd"; then
1368 # Remove unnecessary trailing slashes from srcdir.
1369 # Double slashes in file names in object file debugging info
1370 # mess up M-x gdb in Emacs.
1372 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1376 as_fn_error
"path to source, $srcdir, contains spaces"
1379 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1381 for ac_var
in $ac_precious_vars; do
1382 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1383 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1384 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1385 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1389 # Report the --help message.
1391 if test "$ac_init_help" = "long"; then
1392 # Omit some internal or obsolete options to make the list less imposing.
1393 # This message is too long to be a string in the A/UX 3.1 sh.
1395 \`configure' configures this package to adapt to many kinds of systems.
1397 Usage: $0 [OPTION]... [VAR=VALUE]...
1399 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1400 VAR=VALUE. See below for descriptions of some of the useful variables.
1402 Defaults for the options are specified in brackets.
1405 -h, --help display this help and exit
1406 --help=short display options specific to this package
1407 --help=recursive display the short help of all the included packages
1408 -V, --version display version information and exit
1409 -q, --quiet, --silent do not print \`checking...' messages
1410 --cache-file=FILE cache test results in FILE [disabled]
1411 -C, --config-cache alias for \`--cache-file=config.cache'
1412 -n, --no-create do not create output files
1413 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1415 Installation directories:
1416 --prefix=PREFIX install architecture-independent files in PREFIX
1417 [$ac_default_prefix]
1418 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1421 By default, \`make install' will install all the files in
1422 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1423 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1424 for instance \`--prefix=\$HOME'.
1426 For better control, use the options below.
1428 Fine tuning of the installation directories:
1429 --bindir=DIR user executables [EPREFIX/bin]
1430 --sbindir=DIR system admin executables [EPREFIX/sbin]
1431 --libexecdir=DIR program executables [EPREFIX/libexec]
1432 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1433 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1434 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1435 --libdir=DIR object code libraries [EPREFIX/lib]
1436 --includedir=DIR C header files [PREFIX/include]
1437 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1438 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1439 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1440 --infodir=DIR info documentation [DATAROOTDIR/info]
1441 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1442 --mandir=DIR man documentation [DATAROOTDIR/man]
1443 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1444 --htmldir=DIR html documentation [DOCDIR]
1445 --dvidir=DIR dvi documentation [DOCDIR]
1446 --pdfdir=DIR pdf documentation [DOCDIR]
1447 --psdir=DIR ps documentation [DOCDIR]
1453 --program-prefix=PREFIX prepend PREFIX to installed program names
1454 --program-suffix=SUFFIX append SUFFIX to installed program names
1455 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1458 --build=BUILD configure
for building on BUILD
[guessed
]
1459 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1460 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1464 if test -n "$ac_init_help"; then
1469 --disable-option-checking ignore unrecognized
--enable/--with options
1470 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1471 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1472 --enable-as-accelerator-for=ARG
1473 build as offload target compiler. Specify offload
1475 --enable-offload-targets=LIST
1476 enable offloading to devices from comma-separated
1477 LIST of TARGET
[=DIR
]. Use optional path to
find
1478 offload target compiler during the build
1479 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1480 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1481 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1482 Enable compressed debug sections
for gas
, gold or ld
1484 --disable-libquadmath do not build libquadmath directory
1485 --disable-libquadmath-support
1486 disable libquadmath support
for Fortran
1487 --enable-libada build libada directory
1488 --enable-libssp build libssp directory
1489 --disable-libstdcxx do not build libstdc
++-v3 directory
1490 --enable-liboffloadmic=ARG
1491 build liboffloadmic
[ARG
={no
,host,target
}]
1492 --enable-bootstrap enable bootstrapping
[yes if native build
]
1493 --disable-isl-version-check
1494 disable check
for isl version
1495 --enable-lto enable link
time optimization support
1496 --enable-linker-plugin-configure-flags=FLAGS
1497 additional flags
for configuring linker plugins
1499 --enable-linker-plugin-flags=FLAGS
1500 additional flags
for configuring and building linker
1502 --enable-stage1-languages[=all
]
1503 choose additional languages to build during stage1.
1504 Mostly useful
for compiler development
1505 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1507 --enable-vtable-verify Enable vtable verification feature
1508 --enable-serial-[{host,target,build}-]configure
1509 force sequential configuration of sub-packages for
1510 the host, target or build machine, or all
1512 --enable-maintainer-mode
1513 enable make rules and dependencies not useful (and
1514 sometimes confusing) to the casual installer
1515 --enable-stage1-checking[=all]
1516 choose additional checking for stage1 of the
1518 --enable-werror enable -Werror in bootstrap stage2 and later
1519 --enable-host-shared build host code as shared libraries
1522 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1523 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1524 --with-build-libsubdir=DIR Directory where to find libraries for build system
1525 --with-system-zlib use installed libz
1526 --with-mpc=PATH specify prefix directory for installed MPC package.
1527 Equivalent to --with-mpc-include=PATH/include plus
1528 --with-mpc-lib=PATH/lib
1529 --with-mpc-include=PATH specify directory for installed MPC include files
1530 --with-mpc-lib=PATH specify directory for the installed MPC library
1531 --with-mpfr-dir=PATH this option has been REMOVED
1532 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1533 Equivalent to --with-mpfr-include=PATH/include plus
1534 --with-mpfr-lib=PATH/lib
1535 --with-mpfr-include=PATH
1536 specify directory for installed MPFR include files
1537 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1538 --with-gmp-dir=PATH this option has been REMOVED
1539 --with-gmp=PATH specify prefix directory for the installed GMP
1540 package. Equivalent to
1541 --with-gmp-include=PATH/include plus
1542 --with-gmp-lib=PATH/lib
1543 --with-gmp-include=PATH specify directory for installed GMP include files
1544 --with-gmp-lib=PATH specify directory for the installed GMP library
1545 --with-stage1-libs=LIBS libraries for stage1
1546 --with-stage1-ldflags=FLAGS
1547 linker flags for stage1
1548 --with-boot-libs=LIBS libraries for stage2 and later
1549 --with-boot-ldflags=FLAGS
1550 linker flags for stage2 and later
1551 --with-isl=PATH Specify prefix directory for the installed isl
1552 package. Equivalent to
1553 --with-isl-include=PATH/include plus
1554 --with-isl-lib=PATH/lib
1555 --with-isl-include=PATH Specify directory for installed isl include files
1556 --with-isl-lib=PATH Specify the directory for the installed isl library
1557 --with-target-bdw-gc=PATHLIST
1558 specify prefix directory for installed bdw-gc
1559 package. Equivalent to
1560 --with-target-bdw-gc-include=PATH/include plus
1561 --with-target-bdw-gc-lib=PATH/lib
1562 --with-target-bdw-gc-include=PATHLIST
1563 specify directories for installed bdw-gc include
1565 --with-target-bdw-gc-lib=PATHLIST
1566 specify directories for installed bdw-gc library
1567 --with-gcc-major-version-only
1568 use only GCC major number in filesystem paths
1569 --with-build-sysroot=SYSROOT
1570 use sysroot as the system root during the build
1571 --with-debug-prefix-map='A
=B C
=D ...
'
1572 map A to B, C to D ... in debug information
1573 --with-build-config='NAME NAME2...
'
1574 use config/NAME.mk build configuration
1575 --with-build-time-tools=PATH
1576 use given path to find target tools during the build
1578 Some influential environment variables:
1579 CC C compiler command
1580 CFLAGS C compiler flags
1581 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1582 nonstandard directory <lib dir>
1583 LIBS libraries to pass to the linker, e.g. -l<library>
1584 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1585 you have headers in a nonstandard directory <include dir>
1586 CXX C++ compiler command
1587 CXXFLAGS C++ compiler flags
1589 additional configure arguments for build directories
1591 additional configure arguments for host directories
1593 additional configure arguments for target directories
1596 DLLTOOL DLLTOOL for the host
1598 LIPO LIPO for the host
1600 RANLIB RANLIB for the host
1601 STRIP STRIP for the host
1602 WINDRES WINDRES for the host
1603 WINDMC WINDMC for the host
1604 OBJCOPY OBJCOPY for the host
1605 OBJDUMP OBJDUMP for the host
1606 READELF READELF for the host
1614 GFORTRAN for the target
1622 DLLTOOL for the target
1630 OBJCOPY for the target
1632 OBJDUMP for the target
1634 RANLIB for the target
1636 READELF for the target
1638 STRIP for the target
1640 WINDRES for the target
1642 WINDMC for the target
1644 Use these variables to override the choices made by `configure' or to
help
1645 it to
find libraries and programs with nonstandard names
/locations.
1647 Report bugs to the package provider.
1652 if test "$ac_init_help" = "recursive"; then
1653 # If there are subdirs, report their specific --help.
1654 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1655 test -d "$ac_dir" ||
1656 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1661 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1663 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1664 # A ".." for each directory in $ac_dir_suffix.
1665 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1666 case $ac_top_builddir_sub in
1667 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1668 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1671 ac_abs_top_builddir
=$ac_pwd
1672 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1673 # for backward compatibility:
1674 ac_top_builddir
=$ac_top_build_prefix
1677 .
) # We are building in place.
1679 ac_top_srcdir
=$ac_top_builddir_sub
1680 ac_abs_top_srcdir
=$ac_pwd ;;
1681 [\\/]* | ?
:[\\/]* ) # Absolute name.
1682 ac_srcdir
=$srcdir$ac_dir_suffix;
1683 ac_top_srcdir
=$srcdir
1684 ac_abs_top_srcdir
=$srcdir ;;
1686 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1687 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1688 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1690 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1692 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1693 # Check for guested configure.
1694 if test -f "$ac_srcdir/configure.gnu"; then
1696 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1697 elif test -f "$ac_srcdir/configure"; then
1699 $SHELL "$ac_srcdir/configure" --help=recursive
1701 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1703 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1707 test -n "$ac_init_help" && exit $ac_status
1708 if $ac_init_version; then
1711 generated by GNU Autoconf
2.64
1713 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1714 This configure
script is free software
; the Free Software Foundation
1715 gives unlimited permission to copy
, distribute and modify it.
1720 ## ------------------------ ##
1721 ## Autoconf initialization. ##
1722 ## ------------------------ ##
1724 # ac_fn_c_try_compile LINENO
1725 # --------------------------
1726 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1727 ac_fn_c_try_compile
()
1729 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1730 rm -f conftest.
$ac_objext
1731 if { { ac_try
="$ac_compile"
1733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_compile") 2>conftest.err
1740 if test -s conftest.err; then
1741 grep -v '^ *+' conftest.err >conftest.er1
1742 cat conftest.er1 >&5
1743 mv -f conftest.er1 conftest.err
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } && {
1747 test -z "$ac_c_werror_flag" ||
1748 test ! -s conftest.err
1749 } && test -s conftest.$ac_objext; then :
1752 $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.$ac_ext >&5
1757 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 } # ac_fn_c_try_compile
1762 # ac_fn_cxx_try_compile LINENO
1763 # ----------------------------
1764 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1765 ac_fn_cxx_try_compile ()
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 rm -f conftest.$ac_objext
1769 if { { ac_try="$ac_compile"
1771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1772 *) ac_try_echo
=$ac_try;;
1774 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_compile") 2>conftest.err
1778 if test -s conftest.err
; then
1779 grep -v '^ *+' conftest.err
>conftest.er1
1780 cat conftest.er1
>&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && {
1785 test -z "$ac_cxx_werror_flag" ||
1786 test ! -s conftest.err
1787 } && test -s conftest.
$ac_objext; then :
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.
$ac_ext >&5
1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1798 } # ac_fn_cxx_try_compile
1800 # ac_fn_cxx_try_link LINENO
1801 # -------------------------
1802 # Try to link conftest.$ac_ext, and return whether this succeeded.
1803 ac_fn_cxx_try_link
()
1805 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1806 rm -f conftest.
$ac_objext conftest
$ac_exeext
1807 if { { ac_try
="$ac_link"
1809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_link") 2>conftest.err
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } && {
1823 test -z "$ac_cxx_werror_flag" ||
1824 test ! -s conftest.err
1825 } && test -s conftest$ac_exeext && {
1826 test "$cross_compiling" = yes ||
1827 $as_test_x conftest$ac_exeext
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1836 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1837 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1838 # interfere with the next link command; also delete a directory that is
1839 # left behind by Apple's compiler. We do this before executing the actions.
1840 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1841 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1844 } # ac_fn_cxx_try_link
1846 # ac_fn_c_try_link LINENO
1847 # -----------------------
1848 # Try to link conftest.$ac_ext, and return whether this succeeded.
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 rm -f conftest.$ac_objext conftest$ac_exeext
1853 if { { ac_try="$ac_link"
1855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1856 *) ac_try_echo
=$ac_try;;
1858 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1859 $as_echo "$ac_try_echo"; } >&5
1860 (eval "$ac_link") 2>conftest.err
1862 if test -s conftest.err
; then
1863 grep -v '^ *+' conftest.err
>conftest.er1
1864 cat conftest.er1
>&5
1865 mv -f conftest.er1 conftest.err
1867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1868 test $ac_status = 0; } && {
1869 test -z "$ac_c_werror_flag" ||
1870 test ! -s conftest.err
1871 } && test -s conftest
$ac_exeext && {
1872 test "$cross_compiling" = yes ||
1873 $as_test_x conftest
$ac_exeext
1877 $as_echo "$as_me: failed program was:" >&5
1878 sed 's/^/| /' conftest.
$ac_ext >&5
1882 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1883 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1884 # interfere with the next link command; also delete a directory that is
1885 # left behind by Apple's compiler. We do this before executing the actions.
1886 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1887 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1890 } # ac_fn_c_try_link
1891 cat >config.log
<<_ACEOF
1892 This file contains any messages produced by compilers while
1893 running configure, to aid debugging if configure makes a mistake.
1895 It was created by $as_me, which was
1896 generated by GNU Autoconf 2.64. Invocation command line was
1908 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1909 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1910 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1911 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1912 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1914 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1915 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1917 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1918 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1919 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1920 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1921 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1922 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1923 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1931 test -z "$as_dir" && as_dir
=.
1932 $as_echo "PATH: $as_dir"
1948 # Keep a trace of the command line.
1949 # Strip out --no-create and --no-recursion so they do not pile up.
1950 # Strip out --silent because we don't want to record it for future runs.
1951 # Also quote any args containing shell meta-characters.
1952 # Make two passes to allow for proper duplicate-argument suppression.
1956 ac_must_keep_next
=false
1962 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1963 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1964 |
-silent |
--silent |
--silen |
--sile |
--sil)
1967 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1970 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1972 as_fn_append ac_configure_args1
" '$ac_arg'"
1973 if test $ac_must_keep_next = true
; then
1974 ac_must_keep_next
=false
# Got value, back to normal.
1977 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1978 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1979 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1980 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1981 case "$ac_configure_args0 " in
1982 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1985 -* ) ac_must_keep_next
=true
;;
1988 as_fn_append ac_configure_args
" '$ac_arg'"
1993 { ac_configure_args0
=; unset ac_configure_args0
;}
1994 { ac_configure_args1
=; unset ac_configure_args1
;}
1996 # When interrupted or exit'd, cleanup temporary files, and complete
1997 # config.log. We remove comments because anyway the quotes in there
1998 # would cause problems or look ugly.
1999 # WARNING: Use '\'' to represent an apostrophe within the trap.
2000 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2001 trap 'exit_status=$?
2002 # Save into config.log some information that might help in debugging.
2007 ## ---------------- ##
2008 ## Cache variables. ##
2009 ## ---------------- ##
2012 # The following way of writing the cache mishandles newlines in values,
2014 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2015 eval ac_val=\$$ac_var
2019 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2020 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2023 _ | IFS | as_nl) ;; #(
2024 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2025 *) { eval $ac_var=; unset $ac_var;} ;;
2030 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2031 *${as_nl}ac_space=\ *)
2033 "s/'\''/'\''\\\\'\'''\''/g;
2034 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2037 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2045 ## ----------------- ##
2046 ## Output variables. ##
2047 ## ----------------- ##
2050 for ac_var in $ac_subst_vars
2052 eval ac_val=\$$ac_var
2054 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2056 $as_echo "$ac_var='\''$ac_val'\''"
2060 if test -n "$ac_subst_files"; then
2062 ## ------------------- ##
2063 ## File substitutions. ##
2064 ## ------------------- ##
2067 for ac_var
in $ac_subst_files
2069 eval ac_val
=\$
$ac_var
2071 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2073 $as_echo "$ac_var='\''$ac_val'\''"
2078 if test -s confdefs.h; then
2088 test "$ac_signal" != 0 &&
2089 $as_echo "$as_me: caught signal $ac_signal"
2090 $as_echo "$as_me: exit $exit_status"
2092 rm -f core *.core core.conftest.* &&
2093 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2096 for ac_signal
in 1 2 13 15; do
2097 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2101 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2102 rm -f -r conftest
* confdefs.h
2104 $as_echo "/* confdefs.h */" > confdefs.h
2106 # Predefined preprocessor variables.
2108 cat >>confdefs.h
<<_ACEOF
2109 #define PACKAGE_NAME "$PACKAGE_NAME"
2112 cat >>confdefs.h
<<_ACEOF
2113 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2116 cat >>confdefs.h
<<_ACEOF
2117 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2120 cat >>confdefs.h
<<_ACEOF
2121 #define PACKAGE_STRING "$PACKAGE_STRING"
2124 cat >>confdefs.h
<<_ACEOF
2125 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2128 cat >>confdefs.h
<<_ACEOF
2129 #define PACKAGE_URL "$PACKAGE_URL"
2133 # Let the site file select an alternate cache file if it wants to.
2134 # Prefer an explicitly selected file to automatically selected ones.
2137 if test -n "$CONFIG_SITE"; then
2138 ac_site_file1
=$CONFIG_SITE
2139 elif test "x$prefix" != xNONE
; then
2140 ac_site_file1
=$prefix/share
/config.site
2141 ac_site_file2
=$prefix/etc
/config.site
2143 ac_site_file1
=$ac_default_prefix/share
/config.site
2144 ac_site_file2
=$ac_default_prefix/etc
/config.site
2146 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2148 test "x$ac_site_file" = xNONE
&& continue
2149 if test -r "$ac_site_file"; then
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2151 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2152 sed 's/^/| /' "$ac_site_file" >&5
2157 if test -r "$cache_file"; then
2158 # Some versions of bash will fail to source /dev/null (special
2159 # files actually), so we avoid doing that.
2160 if test -f "$cache_file"; then
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2162 $as_echo "$as_me: loading cache $cache_file" >&6;}
2164 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2165 *) .
"./$cache_file";;
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2170 $as_echo "$as_me: creating cache $cache_file" >&6;}
2174 # Check that the precious variables saved in the cache have kept the same
2176 ac_cache_corrupted
=false
2177 for ac_var
in $ac_precious_vars; do
2178 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2179 eval ac_new_set
=\
$ac_env_${ac_var}_set
2180 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2181 eval ac_new_val
=\
$ac_env_${ac_var}_value
2182 case $ac_old_set,$ac_new_set in
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2185 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2186 ac_cache_corrupted
=: ;;
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2189 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2190 ac_cache_corrupted
=: ;;
2193 if test "x$ac_old_val" != "x$ac_new_val"; then
2194 # differences in whitespace do not lead to failure.
2195 ac_old_val_w
=`echo x $ac_old_val`
2196 ac_new_val_w
=`echo x $ac_new_val`
2197 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2199 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2200 ac_cache_corrupted
=:
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2203 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2204 eval $ac_var=\
$ac_old_val
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2207 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2209 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2212 # Pass precious variables to config.status.
2213 if test "$ac_new_set" = set; then
2215 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2216 *) ac_arg
=$ac_var=$ac_new_val ;;
2218 case " $ac_configure_args " in
2219 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2220 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2224 if $ac_cache_corrupted; then
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2228 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2229 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2231 ## -------------------- ##
2232 ## Main body of script. ##
2233 ## -------------------- ##
2236 ac_cpp
='$CPP $CPPFLAGS'
2237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2250 # if PWD already has a value, it is probably wrong.
2251 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2253 # Export original configure arguments for use by sub-configures.
2254 # Quote arguments with shell meta charatcers.
2255 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2256 set -- "$progname" "$@"
2260 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2261 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2262 # if the argument is of the form -foo=baz, quote the baz part only
2263 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2266 # Add the quoted argument to the list.
2267 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2269 if test "$silent" = yes; then
2270 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2272 # Remove the initial space we just introduced and, as these will be
2273 # expanded by make, quote '$'.
2274 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2277 # Find the build, host, and target systems.
2279 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2280 for ac_t
in install-sh
install.sh shtool
; do
2281 if test -f "$ac_dir/$ac_t"; then
2283 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2288 if test -z "$ac_aux_dir"; then
2289 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2292 # These three variables are undocumented and unsupported,
2293 # and are intended to be withdrawn in a future Autoconf release.
2294 # They can cause serious problems if a builder's source tree is in a directory
2295 # whose full name contains unusual characters.
2296 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2297 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2298 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2301 # Make sure we can run config.sub.
2302 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2303 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2306 $as_echo_n "checking build system type... " >&6; }
2307 if test "${ac_cv_build+set}" = set; then :
2308 $as_echo_n "(cached) " >&6
2310 ac_build_alias
=$build_alias
2311 test "x$ac_build_alias" = x
&&
2312 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2313 test "x$ac_build_alias" = x
&&
2314 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2315 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2316 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2320 $as_echo "$ac_cv_build" >&6; }
2321 case $ac_cv_build in
2323 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2326 ac_save_IFS
=$IFS; IFS
='-'
2332 # Remember, the first character of IFS is used to create $*,
2333 # except with old shells:
2336 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2339 case ${build_alias} in
2340 "") build_noncanonical
=${build} ;;
2341 *) build_noncanonical
=${build_alias} ;;
2346 case ${host_alias} in
2347 "") host_noncanonical
=${build_noncanonical} ;;
2348 *) host_noncanonical
=${host_alias} ;;
2353 case ${target_alias} in
2354 "") target_noncanonical
=${host_noncanonical} ;;
2355 *) target_noncanonical
=${target_alias} ;;
2361 test "$host_noncanonical" = "$target_noncanonical" &&
2362 test "$program_prefix$program_suffix$program_transform_name" = \
2364 program_transform_name
=s
,y
,y
,
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2367 $as_echo_n "checking host system type... " >&6; }
2368 if test "${ac_cv_host+set}" = set; then :
2369 $as_echo_n "(cached) " >&6
2371 if test "x$host_alias" = x
; then
2372 ac_cv_host
=$ac_cv_build
2374 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2375 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2380 $as_echo "$ac_cv_host" >&6; }
2383 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2386 ac_save_IFS
=$IFS; IFS
='-'
2392 # Remember, the first character of IFS is used to create $*,
2393 # except with old shells:
2396 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2400 $as_echo_n "checking target system type... " >&6; }
2401 if test "${ac_cv_target+set}" = set; then :
2402 $as_echo_n "(cached) " >&6
2404 if test "x$target_alias" = x
; then
2405 ac_cv_target
=$ac_cv_host
2407 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2408 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2413 $as_echo "$ac_cv_target" >&6; }
2414 case $ac_cv_target in
2416 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2418 target
=$ac_cv_target
2419 ac_save_IFS
=$IFS; IFS
='-'
2425 # Remember, the first character of IFS is used to create $*,
2426 # except with old shells:
2429 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2432 # The aliases save the names the user supplied, while $host etc.
2433 # will get canonicalized.
2434 test -n "$target_alias" &&
2435 test "$program_prefix$program_suffix$program_transform_name" = \
2437 program_prefix
=${target_alias}-
2439 test "$program_prefix" != NONE
&&
2440 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2441 # Use a double $ so make ignores it.
2442 test "$program_suffix" != NONE
&&
2443 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2444 # Double any \ or $.
2445 # By default was `s,x,x', remove it if useless.
2446 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2447 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2451 # Get 'install' or 'install-sh' and its variants.
2452 # Find a good install program. We prefer a C program (faster),
2453 # so one script is as good as another. But avoid the broken or
2454 # incompatible versions:
2455 # SysV /etc/install, /usr/sbin/install
2456 # SunOS /usr/etc/install
2457 # IRIX /sbin/install
2459 # AmigaOS /C/install, which installs bootblocks on floppy discs
2460 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2461 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2462 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2463 # OS/2's system install, which has a completely different semantic
2464 # ./install, which can be erroneously created by make from ./install.sh.
2465 # Reject install programs that cannot install multiple files.
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2467 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2468 if test -z "$INSTALL"; then
2469 if test "${ac_cv_path_install+set}" = set; then :
2470 $as_echo_n "(cached) " >&6
2472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir
=.
2477 # Account for people who put trailing slashes in PATH elements.
2478 case $as_dir/ in #((
2479 .
/ | .
// |
/[cC
]/* | \
2480 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2481 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2484 # OSF1 and SCO ODT 3.0 have their own names for install.
2485 # Don't use installbsd from OSF since it installs stuff as root
2487 for ac_prog
in ginstall scoinst
install; do
2488 for ac_exec_ext
in '' $ac_executable_extensions; do
2489 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2490 if test $ac_prog = install &&
2491 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2492 # AIX install. It has an incompatible calling convention.
2494 elif test $ac_prog = install &&
2495 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2496 # program-specific install script used by HP pwplus--don't use.
2499 rm -rf conftest.one conftest.two conftest.dir
2500 echo one
> conftest.one
2501 echo two
> conftest.two
2503 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2504 test -s conftest.one
&& test -s conftest.two
&&
2505 test -s conftest.dir
/conftest.one
&&
2506 test -s conftest.dir
/conftest.two
2508 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2521 rm -rf conftest.one conftest.two conftest.dir
2524 if test "${ac_cv_path_install+set}" = set; then
2525 INSTALL
=$ac_cv_path_install
2527 # As a last resort, use the slow shell script. Don't cache a
2528 # value for INSTALL within a source directory, because that will
2529 # break other packages using the cache if that directory is
2530 # removed, or if the value is a relative name.
2531 INSTALL
=$ac_install_sh
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2535 $as_echo "$INSTALL" >&6; }
2537 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2538 # It thinks the first close brace ends the variable substitution.
2539 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2541 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2543 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2546 $as_echo_n "checking whether ln works... " >&6; }
2547 if test "${acx_cv_prog_LN+set}" = set; then :
2548 $as_echo_n "(cached) " >&6
2550 rm -f conftestdata_t
2551 echo >conftestdata_f
2552 if ln conftestdata_f conftestdata_t
2>/dev
/null
2558 rm -f conftestdata_f conftestdata_t
2561 if test $acx_cv_prog_LN = no
; then
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2564 $as_echo "no, using $LN" >&6; }
2566 LN
="$acx_cv_prog_LN"
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2568 $as_echo "yes" >&6; }
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2572 $as_echo_n "checking whether ln -s works... " >&6; }
2574 if test "$LN_S" = "ln -s"; then
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2576 $as_echo "yes" >&6; }
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2579 $as_echo "no, using $LN_S" >&6; }
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2583 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2584 if test "${ac_cv_path_SED+set}" = set; then :
2585 $as_echo_n "(cached) " >&6
2587 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2588 for ac_i
in 1 2 3 4 5 6 7; do
2589 ac_script
="$ac_script$as_nl$ac_script"
2591 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2592 { ac_script
=; unset ac_script
;}
2593 if test -z "$SED"; then
2594 ac_path_SED_found
=false
2595 # Loop through the user's path and test for each of PROGNAME-LIST
2596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2600 test -z "$as_dir" && as_dir
=.
2601 for ac_prog
in sed gsed
; do
2602 for ac_exec_ext
in '' $ac_executable_extensions; do
2603 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2604 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2605 # Check for GNU ac_path_SED and select it if it is found.
2606 # Check for GNU $ac_path_SED
2607 case `"$ac_path_SED" --version 2>&1` in
2609 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2612 $as_echo_n 0123456789 >"conftest.in"
2615 cat "conftest.in" "conftest.in" >"conftest.tmp"
2616 mv "conftest.tmp" "conftest.in"
2617 cp "conftest.in" "conftest.nl"
2618 $as_echo '' >> "conftest.nl"
2619 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2620 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2621 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2622 if test $ac_count -gt ${ac_path_SED_max-0}; then
2623 # Best one so far, save it but keep looking for a better one
2624 ac_cv_path_SED
="$ac_path_SED"
2625 ac_path_SED_max
=$ac_count
2627 # 10*(2^10) chars as input seems more than enough
2628 test $ac_count -gt 10 && break
2630 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2633 $ac_path_SED_found && break 3
2638 if test -z "$ac_cv_path_SED"; then
2639 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2647 $as_echo "$ac_cv_path_SED" >&6; }
2648 SED
="$ac_cv_path_SED"
2651 for ac_prog
in gawk mawk nawk
awk
2653 # Extract the first word of "$ac_prog", so it can be a program name with args.
2654 set dummy
$ac_prog; ac_word
=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if test "${ac_cv_prog_AWK+set}" = set; then :
2658 $as_echo_n "(cached) " >&6
2660 if test -n "$AWK"; then
2661 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir
=.
2668 for ac_exec_ext
in '' $ac_executable_extensions; do
2669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670 ac_cv_prog_AWK
="$ac_prog"
2671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 if test -n "$AWK"; then
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2683 $as_echo "$AWK" >&6; }
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2690 test -n "$AWK" && break
2694 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2696 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2698 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2699 INSTALL
="${srcpwd}/install-sh -c"
2702 # Set srcdir to "." if that's what it is.
2703 # This is important for multilib support.
2705 if test "${pwd}" = "${srcpwd}" ; then
2713 ### To add a new directory to the tree, first choose whether it is a target
2714 ### or a host dependent tool. Then put it into the appropriate list
2715 ### (library or tools, host or target), doing a dependency sort.
2717 # Subdirs will be configured in the order listed in build_configdirs,
2718 # configdirs, or target_configdirs; see the serialization section below.
2720 # Dependency sorting is only needed when *configuration* must be done in
2721 # a particular order. In all cases a dependency should be specified in
2722 # the Makefile, whether or not it's implicitly specified here.
2724 # Double entries in build_configdirs, configdirs, or target_configdirs may
2725 # cause circular dependencies and break everything horribly.
2727 # these library is used by various programs built for the build
2730 build_libs
="build-libiberty build-libcpp"
2732 # these tools are built for the build environment
2733 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2735 # these libraries are used by various programs built for the host environment
2737 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2739 # these tools are built for the host environment
2740 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2741 # know that we are building the simulator.
2742 # binutils, gas and ld appear in that order because it makes sense to run
2743 # "make check" in that particular order.
2744 # If --enable-gold is used, "gold" may replace "ld".
2745 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"
2747 # these libraries are built for the target environment, and are built after
2748 # the host libraries and the host tools (which may be a cross compiler)
2749 # Note that libiberty is not a target library.
2750 target_libraries
="target-libgcc \
2751 target-libbacktrace \
2756 target-liboffloadmic \
2757 target-libhsail-rt \
2760 target-libstdc++-v3 \
2761 target-libsanitizer \
2765 target-libquadmath \
2766 target-libgfortran \
2772 # these tools are built using the target libraries, and are intended to
2773 # run only in the target environment
2775 # note: any program that *uses* libraries that are in the "target_libraries"
2776 # list belongs in this list.
2778 target_tools
="target-rda"
2780 ################################################################################
2782 ## All tools belong in one of the four categories, and are assigned above
2783 ## We assign ${configdirs} this way to remove all embedded newlines. This
2784 ## is important because configure will choke if they ever get through.
2785 ## ${configdirs} is directories we build using the host tools.
2786 ## ${target_configdirs} is directories we build using the target tools.
2787 configdirs
=`echo ${host_libs} ${host_tools}`
2788 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2789 build_configdirs
=`echo ${build_libs} ${build_tools}`
2793 ################################################################################
2795 srcname
="gnu development package"
2797 # This gets set non-empty for some net releases of packages.
2800 # Define is_cross_compiler to save on calls to 'test'.
2802 if test x
"${host}" = x
"${target}" ; then
2803 is_cross_compiler
=no
2805 is_cross_compiler
=yes
2808 # Find the build and target subdir names.
2810 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2811 # have matching libraries, they should use host libraries: Makefile.tpl
2812 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2813 # However, they still use the build modules, because the corresponding
2814 # host modules (e.g. bison) are only built for the host when bootstrap
2816 # - build_subdir is where we find build modules, and never changes.
2817 # - build_libsubdir is where we find build libraries, and can be overridden.
2819 # Prefix 'build-' so this never conflicts with target_subdir.
2820 build_subdir
="build-${build_noncanonical}"
2822 # Check whether --with-build-libsubdir was given.
2823 if test "${with_build_libsubdir+set}" = set; then :
2824 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2826 build_libsubdir
="$build_subdir"
2829 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2830 if ( test $srcdir = .
&& test -d gcc
) \
2831 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2832 host_subdir
="host-${host_noncanonical}"
2837 target_subdir
=${target_noncanonical}
2839 # Be sure to cover against remnants of an in-tree build.
2840 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2841 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2842 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2845 # Skipdirs are removed silently.
2847 # Noconfigdirs are removed loudly.
2851 # Make sure we don't let GNU ld be added if we didn't want it.
2852 if test x
$with_gnu_ld = xno
; then
2854 noconfigdirs
="$noconfigdirs ld gold"
2858 # Make sure we don't let GNU as be added if we didn't want it.
2859 if test x
$with_gnu_as = xno
; then
2861 noconfigdirs
="$noconfigdirs gas"
2866 # Check whether --with-system-zlib was given.
2867 if test "${with_system_zlib+set}" = set; then :
2868 withval
=$with_system_zlib;
2871 # Make sure we don't let ZLIB be added if we didn't want it.
2872 if test x
$with_system_zlib = xyes
; then
2873 use_included_zlib
=no
2874 noconfigdirs
="$noconfigdirs zlib"
2877 # some tools are so dependent upon X11 that if we're not building with X,
2878 # it's not even worth trying to configure, much less build, that tool.
2881 yes |
"") ;; # the default value for this tree is that X11 is available
2883 skipdirs
="${skipdirs} tk itcl libgui"
2884 # We won't be able to build gdbtk without X.
2887 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2890 # Some are only suitable for cross toolchains.
2891 # Remove these if host=target.
2892 cross_only
="target-libgloss target-newlib target-opcodes"
2894 case $is_cross_compiler in
2895 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2898 # If both --with-headers and --with-libs are specified, default to
2900 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2901 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2902 if test x
"${with_newlib}" = x
; then
2907 # Recognize --with-newlib/--without-newlib.
2908 case ${with_newlib} in
2909 no
) skipdirs
="${skipdirs} target-newlib" ;;
2910 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2913 # Check whether --enable-as-accelerator-for was given.
2914 if test "${enable_as_accelerator_for+set}" = set; then :
2915 enableval
=$enable_as_accelerator_for;
2919 # Check whether --enable-offload-targets was given.
2920 if test "${enable_offload_targets+set}" = set; then :
2921 enableval
=$enable_offload_targets;
2922 if test x
"$enable_offload_targets" = x
; then
2923 as_fn_error
"no offload targets specified" "$LINENO" 5
2927 enable_offload_targets
=
2931 # Handle --enable-gold, --enable-ld.
2932 # --disable-gold [--enable-ld]
2933 # Build only ld. Default option.
2934 # --enable-gold [--enable-ld]
2935 # Build both gold and ld. Install gold as "ld.gold", install ld
2936 # as "ld.bfd" and "ld".
2937 # --enable-gold=default [--enable-ld]
2938 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2939 # install ld as "ld.bfd".
2940 # --enable-gold[=default] --disable-ld
2941 # Build only gold, which is then installed as both "ld.gold" and "ld".
2942 # --enable-gold --enable-ld=default
2943 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2945 # In other words, ld is default
2946 # --enable-gold=default --enable-ld=default
2950 # Check whether --enable-gold was given.
2951 if test "${enable_gold+set}" = set; then :
2952 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2957 case "${ENABLE_GOLD}" in
2959 # Check for ELF target.
2962 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2963 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2964 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2965 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2967 *-*-linux*aout
* |
*-*-linux*oldld
*)
2975 if test "$is_elf" = "yes"; then
2976 # Check for target supported by gold.
2978 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
2979 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
2980 configdirs
="$configdirs gold"
2981 if test x
${ENABLE_GOLD} = xdefault
; then
2992 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2996 # Check whether --enable-ld was given.
2997 if test "${enable_ld+set}" = set; then :
2998 enableval
=$enable_ld; ENABLE_LD
=$enableval
3004 case "${ENABLE_LD}" in
3006 if test x
${default_ld} != x
; then
3007 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
3013 if test x
${ENABLE_GOLD} != xyes
; then
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3015 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3017 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3020 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3025 # Decide the default method for compressing debug sections.
3026 # Provide a configure time option to override our default.
3027 # Check whether --enable-compressed_debug_sections was given.
3028 if test "${enable_compressed_debug_sections+set}" = set; then :
3029 enableval
=$enable_compressed_debug_sections;
3030 if test x
"$enable_compressed_debug_sections" = xyes
; then
3031 as_fn_error
"no program with compressed debug sections specified" "$LINENO" 5
3035 enable_compressed_debug_sections
=
3039 # Configure extra directories which are host specific
3043 configdirs
="$configdirs libtermcap" ;;
3046 # A target can indicate whether a language isn't supported for some reason.
3047 # Only spaces may be used in this macro; not newlines or tabs.
3048 unsupported_languages
=
3050 # Remove more programs from consideration, based on the host or
3051 # target this usually means that a port of the program doesn't
3055 i
[3456789]86-*-msdosdjgpp*)
3056 noconfigdirs
="$noconfigdirs tcl tk itcl"
3061 # Check whether --enable-libquadmath was given.
3062 if test "${enable_libquadmath+set}" = set; then :
3063 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3065 ENABLE_LIBQUADMATH
=yes
3068 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3069 noconfigdirs
="$noconfigdirs target-libquadmath"
3073 # Check whether --enable-libquadmath-support was given.
3074 if test "${enable_libquadmath_support+set}" = set; then :
3075 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3077 ENABLE_LIBQUADMATH_SUPPORT
=yes
3080 enable_libquadmath_support
=
3081 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3082 enable_libquadmath_support
=no
3086 # Check whether --enable-libada was given.
3087 if test "${enable_libada+set}" = set; then :
3088 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3093 if test "${ENABLE_LIBADA}" != "yes" ; then
3094 noconfigdirs
="$noconfigdirs gnattools"
3097 # Check whether --enable-libssp was given.
3098 if test "${enable_libssp+set}" = set; then :
3099 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3105 # Check whether --enable-libstdcxx was given.
3106 if test "${enable_libstdcxx+set}" = set; then :
3107 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3109 ENABLE_LIBSTDCXX
=default
3112 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3113 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3116 # If this is accelerator compiler and its target is intelmic we enable
3117 # target liboffloadmic by default. If this is compiler with offloading
3118 # for intelmic we enable host liboffloadmic by default. Otherwise
3119 # liboffloadmic is disabled by default.
3120 # Check whether --enable-liboffloadmic was given.
3121 if test "${enable_liboffloadmic+set}" = set; then :
3122 enableval
=$enable_liboffloadmic; case "$enableval" in
3124 enable_liboffloadmic
=$enableval ;;
3126 as_fn_error
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3129 if test x
"$enable_as_accelerator_for" != x
; then
3131 *-intelmic-* |
*-intelmicemul-*)
3132 enable_liboffloadmic
=target
3133 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3136 enable_liboffloadmic
=no
3140 case "${enable_offload_targets}" in
3141 *-intelmic-* |
*-intelmicemul-*)
3142 enable_liboffloadmic
=host
3143 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3146 enable_liboffloadmic
=no
3154 # Enable libgomp by default on hosted POSIX systems, and a few others.
3155 if test x
$enable_libgomp = x
; then
3157 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3159 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3161 *-*-solaris2* |
*-*-hpux11*)
3163 *-*-darwin* |
*-*-aix*)
3168 noconfigdirs
="$noconfigdirs target-libgomp"
3173 # Disable libatomic on unsupported systems.
3174 if test -d ${srcdir}/libatomic
; then
3175 if test x
$enable_libatomic = x
; then
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3177 $as_echo_n "checking for libatomic support... " >&6; }
3178 if (srcdir
=${srcdir}/libatomic
; \
3179 .
${srcdir}/configure.tgt
; \
3180 test -n "$UNSUPPORTED")
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3183 $as_echo "no" >&6; }
3184 noconfigdirs
="$noconfigdirs target-libatomic"
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3187 $as_echo "yes" >&6; }
3192 # Disable libcilkrts on unsupported systems.
3193 if test -d ${srcdir}/libcilkrts
; then
3194 if test x
$enable_libcilkrts = x
; then
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3196 $as_echo_n "checking for libcilkrts support... " >&6; }
3197 if (srcdir
=${srcdir}/libcilkrts
; \
3198 .
${srcdir}/configure.tgt
; \
3199 test -n "$UNSUPPORTED")
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3203 noconfigdirs
="$noconfigdirs target-libcilkrts"
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3206 $as_echo "yes" >&6; }
3211 # Disable liboffloadmic on unsupported systems.
3212 if test -d ${srcdir}/liboffloadmic
; then
3213 if test x
$enable_liboffloadmic != xno
; then
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3215 $as_echo_n "checking for liboffloadmic support... " >&6; }
3216 if (srcdir
=${srcdir}/liboffloadmic
; \
3217 .
${srcdir}/configure.tgt
; \
3218 test -n "$UNSUPPORTED")
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3222 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3225 $as_echo "yes" >&6; }
3230 # Disable libitm on unsupported systems.
3231 if test -d ${srcdir}/libitm
; then
3232 if test x
$enable_libitm = x
; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3234 $as_echo_n "checking for libitm support... " >&6; }
3235 if (srcdir
=${srcdir}/libitm
; \
3236 .
${srcdir}/configure.tgt
; \
3237 test -n "$UNSUPPORTED")
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240 $as_echo "no" >&6; }
3241 noconfigdirs
="$noconfigdirs target-libitm"
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3244 $as_echo "yes" >&6; }
3249 # Disable libsanitizer on unsupported systems.
3250 if test -d ${srcdir}/libsanitizer
; then
3251 if test x
$enable_libsanitizer = x
; then
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3253 $as_echo_n "checking for libsanitizer support... " >&6; }
3254 if (srcdir
=${srcdir}/libsanitizer
; \
3255 .
${srcdir}/configure.tgt
; \
3256 test -n "$UNSUPPORTED")
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3260 noconfigdirs
="$noconfigdirs target-libsanitizer"
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3263 $as_echo "yes" >&6; }
3268 # Disable libvtv on unsupported systems.
3269 if test -d ${srcdir}/libvtv
; then
3270 if test x
$enable_libvtv = x
; then
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3272 $as_echo_n "checking for libvtv support... " >&6; }
3273 if (srcdir
=${srcdir}/libvtv
; \
3274 .
${srcdir}/configure.tgt
; \
3275 test "$VTV_SUPPORTED" != "yes")
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278 $as_echo "no" >&6; }
3279 noconfigdirs
="$noconfigdirs target-libvtv"
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3282 $as_echo "yes" >&6; }
3288 # Enable libmpx on supported systems by request.
3289 if test -d ${srcdir}/libmpx
; then
3290 if test x
$enable_libmpx = x
; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpx support" >&5
3292 $as_echo_n "checking for libmpx support... " >&6; }
3293 if (srcdir
=${srcdir}/libmpx
; \
3294 .
${srcdir}/configure.tgt
; \
3295 test "$LIBMPX_SUPPORTED" != "yes")
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298 $as_echo "no" >&6; }
3299 noconfigdirs
="$noconfigdirs target-libmpx"
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3302 $as_echo "yes" >&6; }
3307 # Disable libhsail-rt on unsupported systems.
3308 if test -d ${srcdir}/libhsail-rt
; then
3309 if test x
$enable_libhsail_rt = x
; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
3311 $as_echo_n "checking for libhsail-rt support... " >&6; }
3312 if (srcdir
=${srcdir}/libhsail-rt
; \
3313 .
${srcdir}/configure.tgt
; \
3314 test -n "$UNSUPPORTED")
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317 $as_echo "no" >&6; }
3318 unsupported_languages
="$unsupported_languages brig"
3319 # This implicitly disables also target-libhsail-rt as it won't
3320 # get added to the build without BRIG FE.
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3323 $as_echo "yes" >&6; }
3329 # Disable libquadmath for some systems.
3332 noconfigdirs
="$noconfigdirs target-libquadmath"
3334 # libquadmath is unused on AIX and libquadmath build process use of
3335 # LD_LIBRARY_PATH can break AIX bootstrap.
3336 powerpc-
*-aix* | rs6000-
*-aix*)
3337 noconfigdirs
="$noconfigdirs target-libquadmath"
3341 # Disable libssp for some systems.
3344 # No hosted I/O support.
3345 noconfigdirs
="$noconfigdirs target-libssp"
3347 powerpc-
*-aix* | rs6000-
*-aix*)
3348 noconfigdirs
="$noconfigdirs target-libssp"
3351 # libssp uses a misaligned load to trigger a fault, but the RL78
3352 # doesn't fault for those - instead, it gives a build-time error
3353 # for explicit misaligned loads.
3354 noconfigdirs
="$noconfigdirs target-libssp"
3357 # No hosted I/O support.
3358 noconfigdirs
="$noconfigdirs target-libssp"
3362 # Disable libstdc++-v3 for some systems.
3363 # Allow user to override this if they pass --enable-libstdc++-v3
3364 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3367 # VxWorks uses the Dinkumware C++ library.
3368 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3371 # the C++ libraries don't build on top of CE's C libraries
3372 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3375 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3378 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3383 # Disable Fortran for some systems.
3386 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3387 unsupported_languages
="$unsupported_languages fortran"
3391 # Disable libffi for some systems.
3395 i
[3456789]86-*-darwin*)
3397 x86_64-
*-darwin[912]*)
3400 noconfigdirs
="$noconfigdirs target-libffi"
3403 noconfigdirs
="$noconfigdirs target-libffi"
3406 noconfigdirs
="$noconfigdirs target-libffi"
3409 noconfigdirs
="$noconfigdirs target-libffi"
3412 noconfigdirs
="$noconfigdirs target-libffi"
3415 noconfigdirs
="$noconfigdirs target-libffi"
3418 noconfigdirs
="$noconfigdirs target-libffi"
3420 aarch64
*-*-freebsd*)
3421 noconfigdirs
="$noconfigdirs target-libffi"
3424 noconfigdirs
="$noconfigdirs target-libffi"
3427 noconfigdirs
="$noconfigdirs target-libffi"
3430 noconfigdirs
="$noconfigdirs target-libffi"
3433 noconfigdirs
="$noconfigdirs target-libffi"
3435 cris-
*-* | crisv32-
*-*)
3439 *) # See PR46792 regarding target-libffi.
3440 noconfigdirs
="$noconfigdirs target-libffi";;
3444 noconfigdirs
="$noconfigdirs target-libffi"
3449 noconfigdirs
="$noconfigdirs target-libffi"
3452 noconfigdirs
="$noconfigdirs target-libffi"
3454 i
[3456789]86-w64-mingw*)
3455 noconfigdirs
="$noconfigdirs target-libffi"
3457 i
[3456789]86-*-mingw*)
3458 noconfigdirs
="$noconfigdirs target-libffi"
3461 noconfigdirs
="$noconfigdirs target-libffi"
3464 noconfigdirs
="$noconfigdirs target-libffi"
3467 # copied from rs6000-*-* entry
3468 noconfigdirs
="$noconfigdirs target-libffi"
3471 noconfigdirs
="$noconfigdirs target-libffi"
3474 noconfigdirs
="$noconfigdirs target-libffi"
3477 noconfigdirs
="$noconfigdirs target-libffi"
3481 # Disable the go frontend on systems where it is known to not work. Please keep
3482 # this in sync with contrib/config-list.mk.
3484 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3485 unsupported_languages
="$unsupported_languages go"
3489 # Disable libgo for some systems where it is known to not work.
3490 # For testing, you can easily override this with --enable-libgo.
3491 if test x
$enable_libgo = x
; then
3495 noconfigdirs
="$noconfigdirs target-libgo"
3497 *-*-cygwin* |
*-*-mingw*)
3498 noconfigdirs
="$noconfigdirs target-libgo"
3501 noconfigdirs
="$noconfigdirs target-libgo"
3506 # Default libgloss CPU subdirectory.
3507 libgloss_dir
="$target_cpu"
3510 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3514 libgloss_dir
=aarch64
3519 cris-
*-* | crisv32-
*-*)
3528 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3529 libgloss_dir
=m68hc11
3531 m68
*-*-* | fido-
*-*)
3545 # Disable newlib and libgloss for various target OSes.
3548 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3550 i
[3456789]86-*-linux*)
3551 # This section makes it possible to build newlib natively on linux.
3552 # If we are using a cross compiler then don't configure newlib.
3553 if test x
${is_cross_compiler} != xno
; then
3554 noconfigdirs
="$noconfigdirs target-newlib"
3556 noconfigdirs
="$noconfigdirs target-libgloss"
3557 # If we are not using a cross compiler, do configure newlib.
3558 # Note however, that newlib will only be configured in this situation
3559 # if the --with-newlib option has been given, because otherwise
3560 # 'target-newlib' will appear in skipdirs.
3562 i
[3456789]86-*-rdos*)
3563 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3565 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3566 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3569 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3572 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3575 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3578 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3581 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3584 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3586 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3587 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3590 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3593 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3596 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3599 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3602 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3605 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3608 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3616 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3617 noconfigdirs
="$noconfigdirs sim target-rda"
3620 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3621 noconfigdirs
="$noconfigdirs sim target-rda"
3624 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3625 noconfigdirs
="$noconfigdirs sim target-rda"
3627 i
[3456789]86-*-darwin*)
3628 noconfigdirs
="$noconfigdirs ld gprof"
3629 noconfigdirs
="$noconfigdirs sim target-rda"
3631 x86_64-
*-darwin[912]*)
3632 noconfigdirs
="$noconfigdirs ld gas gprof"
3633 noconfigdirs
="$noconfigdirs sim target-rda"
3636 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3637 noconfigdirs
="$noconfigdirs sim target-rda"
3642 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3643 && test -f /usr
/local
/include
/gmp.h
; then
3648 # Remove unsupported stuff on all kaOS configurations.
3649 noconfigdirs
="$noconfigdirs target-libgloss"
3656 noconfigdirs
="$noconfigdirs target-libgloss"
3659 noconfigdirs
="$noconfigdirs target-libgloss"
3660 # this is not caught below because this stanza matches earlier
3662 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3665 # The tpf target doesn't support gdb yet.
3667 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3670 noconfigdirs
="$noconfigdirs target-rda"
3675 # ld works, but does not support shared libraries.
3676 # gas doesn't generate exception information.
3677 noconfigdirs
="$noconfigdirs gas ld"
3680 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3683 # newlib is not 64 bit ready
3684 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3686 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3687 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3690 noconfigdirs
="$noconfigdirs sim"
3693 noconfigdirs
="$noconfigdirs target-libgloss"
3696 noconfigdirs
="$noconfigdirs ld target-libgloss"
3699 if test x
${with_avrlibc} != xno
; then
3700 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3703 c4x-
*-* | tic4x-
*-*)
3704 noconfigdirs
="$noconfigdirs target-libgloss"
3707 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3710 noconfigdirs
="$noconfigdirs target-libgloss"
3713 noconfigdirs
="$noconfigdirs gdb"
3716 noconfigdirs
="$noconfigdirs gdb"
3719 noconfigdirs
="$noconfigdirs target-rda gprof"
3722 noconfigdirs
="$noconfigdirs"
3725 noconfigdirs
="$noconfigdirs target-libgloss"
3728 noconfigdirs
="$noconfigdirs target-libgloss"
3730 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3733 noconfigdirs
="$noconfigdirs gdb"
3736 noconfigdirs
="$noconfigdirs gdb ld"
3744 hppa
*-*-openbsd* | \
3750 noconfigdirs
="$noconfigdirs ld"
3753 noconfigdirs
="$noconfigdirs gdb"
3756 # No gdb support yet.
3757 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3760 # No ld support yet.
3761 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3764 # No ld support yet.
3765 noconfigdirs
="$noconfigdirs libgui itcl ld"
3767 i
[3456789]86-w64-mingw*)
3769 i
[3456789]86-*-mingw*)
3770 target_configdirs
="$target_configdirs target-winsup"
3773 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3774 noconfigdirs
="$noconfigdirs target-libgloss"
3775 # always build newlib if winsup directory is present.
3776 if test -d "$srcdir/winsup/cygwin"; then
3777 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3778 elif test -d "$srcdir/newlib"; then
3779 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3783 noconfigdirs
="$noconfigdirs target-libgloss"
3785 i
[3456789]86-*-sco3.2v5
*)
3786 # The linker does not yet know about weak symbols in COFF,
3787 # and is not configured to handle mixed ELF and COFF.
3788 noconfigdirs
="$noconfigdirs ld target-libgloss"
3790 i
[3456789]86-*-sco*)
3791 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3793 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3794 noconfigdirs
="$noconfigdirs target-libgloss"
3796 i
[3456789]86-*-sysv4*)
3797 noconfigdirs
="$noconfigdirs target-libgloss"
3799 i
[3456789]86-*-beos*)
3800 noconfigdirs
="$noconfigdirs gdb"
3802 i
[3456789]86-*-rdos*)
3803 noconfigdirs
="$noconfigdirs gdb"
3806 noconfigdirs
="$noconfigdirs gdb"
3809 noconfigdirs
="$noconfigdirs sim"
3812 # copied from rs6000-*-* entry
3813 noconfigdirs
="$noconfigdirs gprof"
3815 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3816 target_configdirs
="$target_configdirs target-winsup"
3817 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3818 # always build newlib.
3819 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3821 # This is temporary until we can link against shared libraries
3822 powerpcle-
*-solaris*)
3823 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3826 noconfigdirs
="$noconfigdirs gdb"
3829 noconfigdirs
="$noconfigdirs gprof"
3832 noconfigdirs
="$noconfigdirs gprof"
3835 noconfigdirs
="$noconfigdirs gprof"
3838 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3841 noconfigdirs
="$noconfigdirs gprof"
3843 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3844 if test x
$with_newlib = xyes
; then
3845 noconfigdirs
="$noconfigdirs gprof"
3849 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3852 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3855 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3859 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3860 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3861 noconfigdirs
="$noconfigdirs ld gas gprof"
3864 noconfigdirs
="$noconfigdirs gprof"
3867 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3870 noconfigdirs
="$noconfigdirs gdb"
3877 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3881 if test x
${is_cross_compiler} = xno
; then
3886 noconfigdirs
="$noconfigdirs sim"
3888 tilepro
*-*-* | tilegx
*-*-*)
3889 noconfigdirs
="$noconfigdirs sim"
3892 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3895 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3899 # If we aren't building newlib, then don't build libgloss, since libgloss
3900 # depends upon some newlib header files.
3901 case "${noconfigdirs}" in
3902 *target-libgloss
*) ;;
3903 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3906 # Work in distributions that contain no compiler tools, like Autoconf.
3907 host_makefile_frag
=/dev
/null
3908 if test -d ${srcdir}/config
; then
3910 i
[3456789]86-*-msdosdjgpp*)
3911 host_makefile_frag
="config/mh-djgpp"
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3916 $as_echo_n "checking to see if cat works as expected... " >&6; }
3917 echo a
>cygwin-cat-check
3918 if test `cat cygwin-cat-check` = a
; then
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3921 $as_echo "yes" >&6; }
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3925 $as_echo "no" >&6; }
3926 as_fn_error
"The cat command does not ignore carriage return characters.
3927 Please either mount the build directory in binary mode or run the following
3928 commands before running any configure script:
3934 host_makefile_frag
="config/mh-cygwin"
3937 host_makefile_frag
="config/mh-mingw"
3940 host_makefile_frag
="config/mh-alpha-linux"
3943 host_makefile_frag
="config/mh-pa-hpux10"
3946 host_makefile_frag
="config/mh-pa"
3949 host_makefile_frag
="config/mh-pa"
3952 host_makefile_frag
="config/mh-darwin"
3955 host_makefile_frag
="config/mh-ppc-aix"
3958 host_makefile_frag
="config/mh-ppc-aix"
3963 if test "${build}" != "${host}" ; then
3964 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3965 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3966 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3967 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3968 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3969 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3970 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3971 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3972 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3973 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3974 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3975 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3977 AR_FOR_BUILD
="\$(AR)"
3978 AS_FOR_BUILD
="\$(AS)"
3979 CC_FOR_BUILD
="\$(CC)"
3980 CXX_FOR_BUILD
="\$(CXX)"
3981 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3982 GOC_FOR_BUILD
="\$(GOC)"
3983 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3984 LD_FOR_BUILD
="\$(LD)"
3985 NM_FOR_BUILD
="\$(NM)"
3986 RANLIB_FOR_BUILD
="\$(RANLIB)"
3987 WINDRES_FOR_BUILD
="\$(WINDRES)"
3988 WINDMC_FOR_BUILD
="\$(WINDMC)"
3992 ac_cpp
='$CPP $CPPFLAGS'
3993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3996 if test -n "$ac_tool_prefix"; then
3997 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3998 set dummy
${ac_tool_prefix}gcc
; 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.
4007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4011 test -z "$as_dir" && as_dir
=.
4012 for ac_exec_ext
in '' $ac_executable_extensions; do
4013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4014 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4025 if test -n "$CC"; then
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4027 $as_echo "$CC" >&6; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4030 $as_echo "no" >&6; }
4035 if test -z "$ac_cv_prog_CC"; then
4037 # Extract the first word of "gcc", so it can be a program name with args.
4038 set dummy gcc
; ac_word
=$2
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4040 $as_echo_n "checking for $ac_word... " >&6; }
4041 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4042 $as_echo_n "(cached) " >&6
4044 if test -n "$ac_ct_CC"; then
4045 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4051 test -z "$as_dir" && as_dir
=.
4052 for ac_exec_ext
in '' $ac_executable_extensions; do
4053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4054 ac_cv_prog_ac_ct_CC
="gcc"
4055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4065 if test -n "$ac_ct_CC"; then
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4067 $as_echo "$ac_ct_CC" >&6; }
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4070 $as_echo "no" >&6; }
4073 if test "x$ac_ct_CC" = x
; then
4076 case $cross_compiling:$ac_tool_warned in
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4080 ac_tool_warned
=yes ;;
4088 if test -z "$CC"; then
4089 if test -n "$ac_tool_prefix"; then
4090 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4091 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4093 $as_echo_n "checking for $ac_word... " >&6; }
4094 if test "${ac_cv_prog_CC+set}" = set; then :
4095 $as_echo_n "(cached) " >&6
4097 if test -n "$CC"; then
4098 ac_cv_prog_CC
="$CC" # Let the user override the test.
4100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4104 test -z "$as_dir" && as_dir
=.
4105 for ac_exec_ext
in '' $ac_executable_extensions; do
4106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4107 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4118 if test -n "$CC"; then
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4120 $as_echo "$CC" >&6; }
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4123 $as_echo "no" >&6; }
4129 if test -z "$CC"; then
4130 # Extract the first word of "cc", so it can be a program name with args.
4131 set dummy cc
; ac_word
=$2
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4133 $as_echo_n "checking for $ac_word... " >&6; }
4134 if test "${ac_cv_prog_CC+set}" = set; then :
4135 $as_echo_n "(cached) " >&6
4137 if test -n "$CC"; then
4138 ac_cv_prog_CC
="$CC" # Let the user override the test.
4141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4145 test -z "$as_dir" && as_dir
=.
4146 for ac_exec_ext
in '' $ac_executable_extensions; do
4147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4148 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4149 ac_prog_rejected
=yes
4153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4160 if test $ac_prog_rejected = yes; then
4161 # We found a bogon in the path, so make sure we never use it.
4162 set dummy
$ac_cv_prog_CC
4164 if test $# != 0; then
4165 # We chose a different compiler from the bogus one.
4166 # However, it has the same basename, so the bogon will be chosen
4167 # first if we set CC to just the basename; use the full file name.
4169 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4175 if test -n "$CC"; then
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4177 $as_echo "$CC" >&6; }
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4180 $as_echo "no" >&6; }
4185 if test -z "$CC"; then
4186 if test -n "$ac_tool_prefix"; then
4187 for ac_prog
in cl.exe
4189 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4190 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4192 $as_echo_n "checking for $ac_word... " >&6; }
4193 if test "${ac_cv_prog_CC+set}" = set; then :
4194 $as_echo_n "(cached) " >&6
4196 if test -n "$CC"; then
4197 ac_cv_prog_CC
="$CC" # Let the user override the test.
4199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4203 test -z "$as_dir" && as_dir
=.
4204 for ac_exec_ext
in '' $ac_executable_extensions; do
4205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4206 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4217 if test -n "$CC"; then
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4219 $as_echo "$CC" >&6; }
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4222 $as_echo "no" >&6; }
4226 test -n "$CC" && break
4229 if test -z "$CC"; then
4231 for ac_prog
in cl.exe
4233 # Extract the first word of "$ac_prog", so it can be a program name with args.
4234 set dummy
$ac_prog; ac_word
=$2
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4236 $as_echo_n "checking for $ac_word... " >&6; }
4237 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4238 $as_echo_n "(cached) " >&6
4240 if test -n "$ac_ct_CC"; then
4241 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4247 test -z "$as_dir" && as_dir
=.
4248 for ac_exec_ext
in '' $ac_executable_extensions; do
4249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4250 ac_cv_prog_ac_ct_CC
="$ac_prog"
4251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4260 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4261 if test -n "$ac_ct_CC"; then
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4263 $as_echo "$ac_ct_CC" >&6; }
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4266 $as_echo "no" >&6; }
4270 test -n "$ac_ct_CC" && break
4273 if test "x$ac_ct_CC" = x
; then
4276 case $cross_compiling:$ac_tool_warned in
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4280 ac_tool_warned
=yes ;;
4289 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4291 as_fn_error
"no acceptable C compiler found in \$PATH
4292 See \`config.log' for more details." "$LINENO" 5; }
4294 # Provide some information about the compiler.
4295 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4298 for ac_option
in --version -v -V -qversion; do
4299 { { ac_try
="$ac_compiler $ac_option >&5"
4301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4302 *) ac_try_echo=$ac_try;;
4304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4305 $as_echo "$ac_try_echo"; } >&5
4306 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4308 if test -s conftest.err; then
4310 ... rest of stderr output deleted ...
4311 10q' conftest.err >conftest.er1
4312 cat conftest.er1 >&5
4313 rm -f conftest.er1 conftest.err
4315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4316 test $ac_status = 0; }
4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4330 ac_clean_files_save=$ac_clean_files
4331 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4332 # Try to create an executable without -o first, disregard a.out.
4333 # It will help us diagnose broken compilers, and finding out an intuition
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4336 $as_echo_n "checking for C compiler default output file name... " >&6; }
4337 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4339 # The possible output files:
4340 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4343 for ac_file in $ac_files
4346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4347 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4352 if { { ac_try="$ac_link_default"
4354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4355 *) ac_try_echo
=$ac_try;;
4357 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4358 $as_echo "$ac_try_echo"; } >&5
4359 (eval "$ac_link_default") 2>&5
4361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4362 test $ac_status = 0; }; then :
4363 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4364 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4365 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4366 # so that the user can short-circuit this test for compilers unknown to
4368 for ac_file
in $ac_files ''
4370 test -f "$ac_file" ||
continue
4372 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4375 # We found the default executable, but exeext='' is most
4379 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4381 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4383 # We set ac_cv_exeext here because the later test for it is not
4384 # safe: cross compilers may not add the suffix if given an `-o'
4385 # argument, so we may need to know it at that point already.
4386 # Even if this section looks crufty: it has the advantage of
4393 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4399 $as_echo "$ac_file" >&6; }
4400 if test -z "$ac_file"; then :
4401 $as_echo "$as_me: failed program was:" >&5
4402 sed 's/^/| /' conftest.
$ac_ext >&5
4404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4406 { as_fn_set_status
77
4407 as_fn_error
"C compiler cannot create executables
4408 See \`config.log' for more details." "$LINENO" 5; }; }
4410 ac_exeext
=$ac_cv_exeext
4412 # Check that the compiler produces executables we can run. If not, either
4413 # the compiler is broken, or we cross compile.
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4415 $as_echo_n "checking whether the C compiler works... " >&6; }
4416 # If not cross compiling, check that we can run a simple program.
4417 if test "$cross_compiling" != yes; then
4418 if { ac_try
='./$ac_file'
4419 { { case "(($ac_try" in
4420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4421 *) ac_try_echo=$ac_try;;
4423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4424 $as_echo "$ac_try_echo"; } >&5
4425 (eval "$ac_try") 2>&5
4427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4428 test $ac_status = 0; }; }; then
4431 if test "$cross_compiling" = maybe; then
4434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4436 as_fn_error "cannot run C compiled programs.
4437 If you meant to cross compile
, use \
`--host'.
4438 See \`config.log
' for more details." "$LINENO" 5; }
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4443 $as_echo "yes" >&6; }
4445 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4446 ac_clean_files=$ac_clean_files_save
4447 # Check that the compiler produces executables we can run. If not, either
4448 # the compiler is broken, or we cross compile.
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4450 $as_echo_n "checking whether we are cross compiling... " >&6; }
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4452 $as_echo "$cross_compiling" >&6; }
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4455 $as_echo_n "checking for suffix of executables... " >&6; }
4456 if { { ac_try="$ac_link"
4458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4462 $as_echo "$ac_try_echo"; } >&5
4463 (eval "$ac_link") 2>&5
4465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4466 test $ac_status = 0; }; then :
4467 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4468 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4469 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4471 for ac_file
in conftest.exe conftest conftest.
*; do
4472 test -f "$ac_file" ||
continue
4474 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4475 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4483 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4484 See \`config.log' for more details." "$LINENO" 5; }
4486 rm -f conftest
$ac_cv_exeext
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4488 $as_echo "$ac_cv_exeext" >&6; }
4490 rm -f conftest.
$ac_ext
4491 EXEEXT
=$ac_cv_exeext
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4494 $as_echo_n "checking for suffix of object files... " >&6; }
4495 if test "${ac_cv_objext+set}" = set; then :
4496 $as_echo_n "(cached) " >&6
4498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4509 rm -f conftest.o conftest.obj
4510 if { { ac_try
="$ac_compile"
4512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4513 *) ac_try_echo=$ac_try;;
4515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4516 $as_echo "$ac_try_echo"; } >&5
4517 (eval "$ac_compile") 2>&5
4519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4520 test $ac_status = 0; }; then :
4521 for ac_file in conftest.o conftest.obj conftest.*; do
4522 test -f "$ac_file" || continue;
4524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4525 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4530 $as_echo "$as_me: failed program was:" >&5
4531 sed 's/^/| /' conftest.$ac_ext >&5
4533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4535 as_fn_error "cannot compute suffix of object files
: cannot compile
4536 See \
`config.log' for more details." "$LINENO" 5; }
4538 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4541 $as_echo "$ac_cv_objext" >&6; }
4542 OBJEXT=$ac_cv_objext
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4545 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4546 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4547 $as_echo_n "(cached) " >&6
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4563 if ac_fn_c_try_compile "$LINENO"; then :
4568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4569 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4573 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4574 if test $ac_compiler_gnu = yes; then
4579 ac_test_CFLAGS=${CFLAGS+set}
4580 ac_save_CFLAGS=$CFLAGS
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4582 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4583 if test "${ac_cv_prog_cc_g+set}" = set; then :
4584 $as_echo_n "(cached) " >&6
4586 ac_save_c_werror_flag=$ac_c_werror_flag
4587 ac_c_werror_flag=yes
4590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h. */
4601 if ac_fn_c_try_compile "$LINENO"; then :
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4616 if ac_fn_c_try_compile "$LINENO"; then :
4619 ac_c_werror_flag=$ac_save_c_werror_flag
4621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h. */
4632 if ac_fn_c_try_compile "$LINENO"; then :
4635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4640 ac_c_werror_flag=$ac_save_c_werror_flag
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4643 $as_echo "$ac_cv_prog_cc_g" >&6; }
4644 if test "$ac_test_CFLAGS" = set; then
4645 CFLAGS=$ac_save_CFLAGS
4646 elif test $ac_cv_prog_cc_g = yes; then
4647 if test "$GCC" = yes; then
4653 if test "$GCC" = yes; then
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4660 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4661 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4662 $as_echo_n "(cached) " >&6
4664 ac_cv_prog_cc_c89=no
4666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4667 /* end confdefs.h. */
4670 #include <sys/types.h>
4671 #include <sys/stat.h>
4672 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4673 struct buf { int x; };
4674 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4675 static char *e (p, i)
4681 static char *f (char * (*g) (char **, int), char **p, ...)
4686 s = g (p, va_arg (v,int));
4691 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4692 function prototypes and stuff, but not '\xHH' hex character constants.
4693 These don't provoke an error unfortunately, instead are silently treated
4694 as 'x'. The following induces an error, until -std is added to get
4695 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4696 array size at least. It's necessary to write '\x00'==0 to get something
4697 that's true only with -std. */
4698 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4700 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4701 inside strings and character constants. */
4703 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4705 int test (int i, double x);
4706 struct s1 {int (*f) (int a);};
4707 struct s2 {int (*f) (double a);};
4708 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4714 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4719 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4720 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4722 CC="$ac_save_CC $ac_arg"
4723 if ac_fn_c_try_compile "$LINENO"; then :
4724 ac_cv_prog_cc_c89=$ac_arg
4726 rm -f core conftest.err conftest.$ac_objext
4727 test "x$ac_cv_prog_cc_c89" != "xno" && break
4729 rm -f conftest.$ac_ext
4734 case "x$ac_cv_prog_cc_c89" in
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4737 $as_echo "none needed" >&6; } ;;
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4740 $as_echo "unsupported" >&6; } ;;
4742 CC="$CC $ac_cv_prog_cc_c89"
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4744 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4746 if test "x$ac_cv_prog_cc_c89" != xno; then :
4751 ac_cpp='$CPP $CPPFLAGS'
4752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4757 ac_cpp='$CXXCPP $CPPFLAGS'
4758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4761 if test -z "$CXX"; then
4762 if test -n "$CCC"; then
4765 if test -n "$ac_tool_prefix"; then
4766 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4768 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4769 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4771 $as_echo_n "checking for $ac_word... " >&6; }
4772 if test "${ac_cv_prog_CXX+set}" = set; then :
4773 $as_echo_n "(cached) " >&6
4775 if test -n "$CXX"; then
4776 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 test -z "$as_dir" && as_dir=.
4783 for ac_exec_ext in '' $ac_executable_extensions; do
4784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4785 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796 if test -n "$CXX"; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4798 $as_echo "$CXX" >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4805 test -n "$CXX" && break
4808 if test -z "$CXX"; then
4810 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4812 # Extract the first word of "$ac_prog", so it can be a program name with args.
4813 set dummy $ac_prog; ac_word=$2
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4815 $as_echo_n "checking for $ac_word... " >&6; }
4816 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4817 $as_echo_n "(cached) " >&6
4819 if test -n "$ac_ct_CXX"; then
4820 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 test -z "$as_dir" && as_dir=.
4827 for ac_exec_ext in '' $ac_executable_extensions; do
4828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4829 ac_cv_prog_ac_ct_CXX="$ac_prog"
4830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4839 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4840 if test -n "$ac_ct_CXX"; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4842 $as_echo "$ac_ct_CXX" >&6; }
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 $as_echo "no" >&6; }
4849 test -n "$ac_ct_CXX" && break
4852 if test "x$ac_ct_CXX" = x; then
4855 case $cross_compiling:$ac_tool_warned in
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4859 ac_tool_warned=yes ;;
4867 # Provide some information about the compiler.
4868 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4871 for ac_option in --version -v -V -qversion; do
4872 { { ac_try="$ac_compiler $ac_option >&5"
4874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4875 *) ac_try_echo
=$ac_try;;
4877 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4878 $as_echo "$ac_try_echo"; } >&5
4879 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4881 if test -s conftest.err
; then
4883 ... rest of stderr output deleted ...
4884 10q' conftest.err
>conftest.er1
4885 cat conftest.er1
>&5
4886 rm -f conftest.er1 conftest.err
4888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4889 test $ac_status = 0; }
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4893 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4894 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4895 $as_echo_n "(cached) " >&6
4897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4898 /* end confdefs.h. */
4911 if ac_fn_cxx_try_compile
"$LINENO"; then :
4916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4917 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4921 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4922 if test $ac_compiler_gnu = yes; then
4927 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4928 ac_save_CXXFLAGS
=$CXXFLAGS
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4930 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4931 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4932 $as_echo_n "(cached) " >&6
4934 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4935 ac_cxx_werror_flag
=yes
4938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h. */
4949 if ac_fn_cxx_try_compile
"$LINENO"; then :
4950 ac_cv_prog_cxx_g
=yes
4953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4954 /* end confdefs.h. */
4964 if ac_fn_cxx_try_compile
"$LINENO"; then :
4967 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4980 if ac_fn_cxx_try_compile
"$LINENO"; then :
4981 ac_cv_prog_cxx_g
=yes
4983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4988 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4991 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4992 if test "$ac_test_CXXFLAGS" = set; then
4993 CXXFLAGS
=$ac_save_CXXFLAGS
4994 elif test $ac_cv_prog_cxx_g = yes; then
4995 if test "$GXX" = yes; then
5001 if test "$GXX" = yes; then
5008 ac_cpp
='$CPP $CPPFLAGS'
5009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5014 # We must set the default linker to the linker used by gcc for the correct
5015 # operation of libtool. If LD is not defined and we are using gcc, try to
5016 # set the LD default to the ld used by gcc.
5017 if test -z "$LD"; then
5018 if test "$GCC" = yes; then
5021 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5023 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5025 case $gcc_prog_ld in
5026 # Accept absolute paths.
5027 [\\/]* |
[A-Za-z
]:[\\/]*)
5028 LD
="$gcc_prog_ld" ;;
5033 # Check whether -static-libstdc++ -static-libgcc is supported.
5035 if test "$GCC" = yes; then
5036 saved_LDFLAGS
="$LDFLAGS"
5038 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5040 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5042 ac_cpp
='$CXXCPP $CPPFLAGS'
5043 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5044 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5045 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5049 /* end confdefs.h. */
5051 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5052 #error -static-libstdc++ not implemented
5056 if ac_fn_cxx_try_link
"$LINENO"; then :
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5058 $as_echo "yes" >&6; }; have_static_libs
=yes
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5063 rm -f core conftest.err conftest.
$ac_objext \
5064 conftest
$ac_exeext conftest.
$ac_ext
5066 ac_cpp
='$CPP $CPPFLAGS'
5067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5072 LDFLAGS
="$saved_LDFLAGS"
5078 if test -n "$ac_tool_prefix"; then
5079 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5080 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5084 $as_echo_n "(cached) " >&6
5086 if test -n "$GNATBIND"; then
5087 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5093 test -z "$as_dir" && as_dir
=.
5094 for ac_exec_ext
in '' $ac_executable_extensions; do
5095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5096 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 GNATBIND
=$ac_cv_prog_GNATBIND
5107 if test -n "$GNATBIND"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5109 $as_echo "$GNATBIND" >&6; }
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5117 if test -z "$ac_cv_prog_GNATBIND"; then
5118 ac_ct_GNATBIND
=$GNATBIND
5119 # Extract the first word of "gnatbind", so it can be a program name with args.
5120 set dummy gnatbind
; ac_word
=$2
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5122 $as_echo_n "checking for $ac_word... " >&6; }
5123 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5124 $as_echo_n "(cached) " >&6
5126 if test -n "$ac_ct_GNATBIND"; then
5127 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir
=.
5134 for ac_exec_ext
in '' $ac_executable_extensions; do
5135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5136 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5147 if test -n "$ac_ct_GNATBIND"; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5149 $as_echo "$ac_ct_GNATBIND" >&6; }
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 $as_echo "no" >&6; }
5155 if test "x$ac_ct_GNATBIND" = x
; then
5158 case $cross_compiling:$ac_tool_warned in
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5162 ac_tool_warned
=yes ;;
5164 GNATBIND
=$ac_ct_GNATBIND
5167 GNATBIND
="$ac_cv_prog_GNATBIND"
5170 if test -n "$ac_tool_prefix"; then
5171 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5172 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5176 $as_echo_n "(cached) " >&6
5178 if test -n "$GNATMAKE"; then
5179 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5185 test -z "$as_dir" && as_dir
=.
5186 for ac_exec_ext
in '' $ac_executable_extensions; do
5187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5188 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 GNATMAKE
=$ac_cv_prog_GNATMAKE
5199 if test -n "$GNATMAKE"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5201 $as_echo "$GNATMAKE" >&6; }
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5209 if test -z "$ac_cv_prog_GNATMAKE"; then
5210 ac_ct_GNATMAKE
=$GNATMAKE
5211 # Extract the first word of "gnatmake", so it can be a program name with args.
5212 set dummy gnatmake
; ac_word
=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5216 $as_echo_n "(cached) " >&6
5218 if test -n "$ac_ct_GNATMAKE"; then
5219 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5225 test -z "$as_dir" && as_dir
=.
5226 for ac_exec_ext
in '' $ac_executable_extensions; do
5227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5228 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5239 if test -n "$ac_ct_GNATMAKE"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5241 $as_echo "$ac_ct_GNATMAKE" >&6; }
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5247 if test "x$ac_ct_GNATMAKE" = x
; then
5250 case $cross_compiling:$ac_tool_warned in
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5254 ac_tool_warned
=yes ;;
5256 GNATMAKE
=$ac_ct_GNATMAKE
5259 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5263 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5264 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5265 $as_echo_n "(cached) " >&6
5267 cat >conftest.adb
<<EOF
5268 procedure conftest is begin null; end conftest;
5270 acx_cv_cc_gcc_supports_ada
=no
5271 # There is a bug in old released versions of GCC which causes the
5272 # driver to exit successfully when the appropriate language module
5273 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5274 # Therefore we must check for the error message as well as an
5275 # unsuccessful exit.
5276 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5277 # given a .adb file, but produce no object file. So we must check
5278 # if an object file was really produced to guard against this.
5279 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5280 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5281 acx_cv_cc_gcc_supports_ada
=yes
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5286 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5288 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5295 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5296 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5297 $as_echo_n "(cached) " >&6
5301 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5302 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5303 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5306 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5309 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5310 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5313 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5320 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5321 do_compare
="$gcc_cv_prog_cmp_skip"
5325 # Check whether --enable-bootstrap was given.
5326 if test "${enable_bootstrap+set}" = set; then :
5327 enableval
=$enable_bootstrap;
5329 enable_bootstrap
=default
5333 # Issue errors and warnings for invalid/strange bootstrap combinations.
5334 if test -r $srcdir/gcc
/configure
; then
5340 case "$have_compiler:$host:$target:$enable_bootstrap" in
5343 # Default behavior. Enable bootstrap if we have a compiler
5344 # and we are in a native configuration.
5345 yes:$build:$build:default
)
5346 enable_bootstrap
=yes ;;
5349 enable_bootstrap
=no
;;
5351 # We have a compiler and we are in a native configuration, bootstrap is ok
5352 yes:$build:$build:yes)
5355 # Other configurations, but we have a compiler. Assume the user knows
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5359 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5362 # No compiler: if they passed --enable-bootstrap explicitly, fail
5364 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5366 # Fail if wrong command line
5368 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5372 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5373 # C++98 compiler can still start the bootstrap.
5374 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5375 CXX
="$CXX -std=gnu++98"
5378 # Used for setting $lt_cv_objdir
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5380 $as_echo_n "checking for objdir... " >&6; }
5381 if test "${lt_cv_objdir+set}" = set; then :
5382 $as_echo_n "(cached) " >&6
5384 rm -f .libs
2>/dev
/null
5385 mkdir .libs
2>/dev
/null
5386 if test -d .libs
; then
5389 # MS-DOS does not allow filenames that begin with a dot.
5392 rmdir .libs
2>/dev
/null
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5395 $as_echo "$lt_cv_objdir" >&6; }
5396 objdir
=$lt_cv_objdir
5402 cat >>confdefs.h
<<_ACEOF
5403 #define LT_OBJDIR "$lt_cv_objdir/"
5408 # Check for GMP, MPFR and MPC
5409 gmplibs
="-lmpc -lmpfr -lgmp"
5413 # Specify a location for mpc
5414 # check for this first so it ends up on the link line before mpfr.
5416 # Check whether --with-mpc was given.
5417 if test "${with_mpc+set}" = set; then :
5422 # Check whether --with-mpc-include was given.
5423 if test "${with_mpc_include+set}" = set; then :
5424 withval
=$with_mpc_include;
5428 # Check whether --with-mpc-lib was given.
5429 if test "${with_mpc_lib+set}" = set; then :
5430 withval
=$with_mpc_lib;
5434 if test "x$with_mpc" != x
; then
5435 gmplibs
="-L$with_mpc/lib $gmplibs"
5436 gmpinc
="-I$with_mpc/include $gmpinc"
5438 if test "x$with_mpc_include" != x
; then
5439 gmpinc
="-I$with_mpc_include $gmpinc"
5441 if test "x$with_mpc_lib" != x
; then
5442 gmplibs
="-L$with_mpc_lib $gmplibs"
5444 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5445 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5446 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5447 # Do not test the mpc version. Assume that it is sufficient, since
5448 # it is in the source tree, and the library has not been built yet
5449 # but it would be included on the link line in the version check below
5450 # hence making the test fail.
5454 # Specify a location for mpfr
5455 # check for this first so it ends up on the link line before gmp.
5457 # Check whether --with-mpfr-dir was given.
5458 if test "${with_mpfr_dir+set}" = set; then :
5459 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5460 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5465 # Check whether --with-mpfr was given.
5466 if test "${with_mpfr+set}" = set; then :
5471 # Check whether --with-mpfr-include was given.
5472 if test "${with_mpfr_include+set}" = set; then :
5473 withval
=$with_mpfr_include;
5477 # Check whether --with-mpfr-lib was given.
5478 if test "${with_mpfr_lib+set}" = set; then :
5479 withval
=$with_mpfr_lib;
5483 if test "x$with_mpfr" != x
; then
5484 gmplibs
="-L$with_mpfr/lib $gmplibs"
5485 gmpinc
="-I$with_mpfr/include $gmpinc"
5487 if test "x$with_mpfr_include" != x
; then
5488 gmpinc
="-I$with_mpfr_include $gmpinc"
5490 if test "x$with_mpfr_lib" != x
; then
5491 gmplibs
="-L$with_mpfr_lib $gmplibs"
5493 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5494 # MPFR v3.1.0 moved the sources into a src sub-directory.
5495 if ! test -d ${srcdir}/mpfr
/src
; then
5496 as_fn_error
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5498 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5499 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5500 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5501 # Do not test the mpfr version. Assume that it is sufficient, since
5502 # it is in the source tree, and the library has not been built yet
5503 # but it would be included on the link line in the version check below
5504 # hence making the test fail.
5508 # Specify a location for gmp
5510 # Check whether --with-gmp-dir was given.
5511 if test "${with_gmp_dir+set}" = set; then :
5512 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5513 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5518 # Check whether --with-gmp was given.
5519 if test "${with_gmp+set}" = set; then :
5524 # Check whether --with-gmp-include was given.
5525 if test "${with_gmp_include+set}" = set; then :
5526 withval
=$with_gmp_include;
5530 # Check whether --with-gmp-lib was given.
5531 if test "${with_gmp_lib+set}" = set; then :
5532 withval
=$with_gmp_lib;
5537 if test "x$with_gmp" != x
; then
5538 gmplibs
="-L$with_gmp/lib $gmplibs"
5539 gmpinc
="-I$with_gmp/include $gmpinc"
5541 if test "x$with_gmp_include" != x
; then
5542 gmpinc
="-I$with_gmp_include $gmpinc"
5544 if test "x$with_gmp_lib" != x
; then
5545 gmplibs
="-L$with_gmp_lib $gmplibs"
5547 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5548 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5549 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5550 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5551 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5552 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5553 # Do not test the gmp version. Assume that it is sufficient, since
5554 # it is in the source tree, and the library has not been built yet
5555 # but it would be included on the link line in the version check below
5556 # hence making the test fail.
5560 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5562 saved_CFLAGS
="$CFLAGS"
5563 CFLAGS
="$CFLAGS $gmpinc"
5564 # Check for the recommended and required versions of GMP.
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5566 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5569 /* end confdefs.h. */
5575 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5576 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5577 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5585 if ac_fn_c_try_compile
"$LINENO"; then :
5586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5587 /* end confdefs.h. */
5593 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5594 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5595 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5603 if ac_fn_c_try_compile
"$LINENO"; then :
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5605 $as_echo "yes" >&6; }
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5608 $as_echo "buggy but acceptable" >&6; }
5610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613 $as_echo "no" >&6; }; have_gmp
=no
5615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5617 # If we have GMP, check the MPFR version.
5618 if test x
"$have_gmp" = xyes
; then
5619 # Check for the recommended and required versions of MPFR.
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5621 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5630 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5638 if ac_fn_c_try_compile
"$LINENO"; then :
5639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5640 /* end confdefs.h. */
5647 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5655 if ac_fn_c_try_compile
"$LINENO"; then :
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5657 $as_echo "yes" >&6; }
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5660 $as_echo "buggy but acceptable" >&6; }
5662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }; have_gmp
=no
5667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5670 # Check for the MPC header version.
5671 if test x
"$have_gmp" = xyes
; then
5672 # Check for the recommended and required versions of MPC.
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5674 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5676 /* end confdefs.h. */
5682 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5690 if ac_fn_c_try_compile
"$LINENO"; then :
5691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5692 /* end confdefs.h. */
5698 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5706 if ac_fn_c_try_compile
"$LINENO"; then :
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5708 $as_echo "yes" >&6; }
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5711 $as_echo "buggy but acceptable" >&6; }
5713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }; have_gmp
=no
5718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5721 # Now check the MPFR library.
5722 if test x
"$have_gmp" = xyes
; then
5724 LIBS
="$LIBS $gmplibs"
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5726 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5728 /* end confdefs.h. */
5740 mpfr_atan2 (n, n, x, GMP_RNDN);
5741 mpfr_erfc (n, x, GMP_RNDN);
5742 mpfr_subnormalize (x, t, GMP_RNDN);
5746 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5747 mpc_cosh (c, c, MPC_RNDNN);
5748 mpc_pow (c, c, c, MPC_RNDNN);
5749 mpc_acosh (c, c, MPC_RNDNN);
5756 if ac_fn_c_try_link
"$LINENO"; then :
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5758 $as_echo "yes" >&6; }
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761 $as_echo "no" >&6; }; have_gmp
=no
5763 rm -f core conftest.err conftest.
$ac_objext \
5764 conftest
$ac_exeext conftest.
$ac_ext
5768 CFLAGS
="$saved_CFLAGS"
5770 # The library versions listed in the error message below should match
5771 # the HARD-minimums enforced above.
5772 if test x
$have_gmp != xyes
; then
5773 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5774 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5775 their locations. Source code for these libraries can be found at
5776 their respective hosting sites as well as at
5777 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5778 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5779 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5780 make sure that you have installed both the libraries and the header
5781 files. They may be located in separate packages." "$LINENO" 5
5785 # Flags needed for both GMP, MPFR and/or MPC.
5793 # Libraries to use for stage1 or when not bootstrapping.
5795 # Check whether --with-stage1-libs was given.
5796 if test "${with_stage1_libs+set}" = set; then :
5797 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5800 stage1_libs
=$withval
5808 # Linker flags to use for stage1 or when not bootstrapping.
5810 # Check whether --with-stage1-ldflags was given.
5811 if test "${with_stage1_ldflags+set}" = set; then :
5812 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5815 stage1_ldflags
=$withval
5819 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5820 # if supported. But if the user explicitly specified the libraries to use,
5821 # trust that they are doing what they want.
5822 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5823 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5829 # Libraries to use for stage2 and later builds.
5831 # Check whether --with-boot-libs was given.
5832 if test "${with_boot_libs+set}" = set; then :
5833 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5836 poststage1_libs
=$withval
5844 # Linker flags to use for stage2 and later builds.
5846 # Check whether --with-boot-ldflags was given.
5847 if test "${with_boot_ldflags+set}" = set; then :
5848 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5851 poststage1_ldflags
=$withval
5855 # In stages 2 and 3, default to linking libstdc++ and libgcc
5856 # statically. But if the user explicitly specified the libraries to
5857 # use, trust that they are doing what they want.
5858 if test "$poststage1_libs" = ""; then
5859 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5865 # GCC GRAPHITE dependency isl.
5866 # Basic setup is inlined here, actual checks are in config/isl.m4
5869 # Check whether --with-isl was given.
5870 if test "${with_isl+set}" = set; then :
5875 # Treat --without-isl as a request to disable
5876 # GRAPHITE support and skip all following checks.
5877 if test "x$with_isl" != "xno"; then
5881 # Check whether --with-isl-include was given.
5882 if test "${with_isl_include+set}" = set; then :
5883 withval
=$with_isl_include;
5887 # Check whether --with-isl-lib was given.
5888 if test "${with_isl_lib+set}" = set; then :
5889 withval
=$with_isl_lib;
5893 # Check whether --enable-isl-version-check was given.
5894 if test "${enable_isl_version_check+set}" = set; then :
5895 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5897 ENABLE_ISL_CHECK
=yes
5901 # Initialize isllibs and islinc.
5910 isllibs
="-L$with_isl/lib"
5911 islinc
="-I$with_isl/include"
5914 if test "x${with_isl_include}" != x
; then
5915 islinc
="-I$with_isl_include"
5917 if test "x${with_isl_lib}" != x
; then
5918 isllibs
="-L$with_isl_lib"
5920 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5921 && test -d ${srcdir}/isl
; then
5922 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5923 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
5926 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
5929 isllibs
="${isllibs} -lisl"
5933 if test "${ENABLE_ISL_CHECK}" = yes ; then
5934 _isl_saved_CFLAGS
=$CFLAGS
5935 _isl_saved_LDFLAGS
=$LDFLAGS
5936 _isl_saved_LIBS
=$LIBS
5938 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5939 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
5940 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16, 0.15, or deprecated 0.14" >&5
5943 $as_echo_n "checking for isl 0.16, 0.15, or deprecated 0.14... " >&6; }
5944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5945 /* end confdefs.h. */
5946 #include <isl/ctx.h>
5950 isl_ctx_get_max_operations (isl_ctx_alloc ());
5955 if ac_fn_c_try_link
"$LINENO"; then :
5960 rm -f core conftest.err conftest.
$ac_objext \
5961 conftest
$ac_exeext conftest.
$ac_ext
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5963 $as_echo "$gcc_cv_isl" >&6; }
5965 if test "${gcc_cv_isl}" = no
; then
5966 { $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
5967 $as_echo "recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&6; }
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16 or 0.15" >&5
5971 $as_echo_n "checking for isl 0.16 or 0.15... " >&6; }
5972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5973 /* end confdefs.h. */
5974 #include <isl/schedule.h>
5978 isl_options_set_schedule_serialize_sccs (NULL, 0);
5983 if ac_fn_c_try_link
"$LINENO"; then :
5984 ac_has_isl_options_set_schedule_serialize_sccs
=yes
5986 ac_has_isl_options_set_schedule_serialize_sccs
=no
5988 rm -f core conftest.err conftest.
$ac_objext \
5989 conftest
$ac_exeext conftest.
$ac_ext
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_isl_options_set_schedule_serialize_sccs" >&5
5991 $as_echo "$ac_has_isl_options_set_schedule_serialize_sccs" >&6; }
5993 if test x
"$ac_has_isl_options_set_schedule_serialize_sccs" = x
"yes"; then
5998 CFLAGS
=$_isl_saved_CFLAGS
5999 LDFLAGS
=$_isl_saved_LDFLAGS
6000 LIBS
=$_isl_saved_LIBS
6008 if test "x${with_isl}" = xno
; then
6009 graphite_requested
=no
6010 elif test "x${with_isl}" != x \
6011 ||
test "x${with_isl_include}" != x \
6012 ||
test "x${with_isl_lib}" != x
; then
6013 graphite_requested
=yes
6015 graphite_requested
=no
6020 if test "${gcc_cv_isl}" = no
; then
6025 if test "${graphite_requested}" = yes \
6026 && test "x${isllibs}" = x \
6027 && test "x${islinc}" = x
; then
6029 as_fn_error
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6035 # If the isl check failed, disable builds of in-tree variant of isl
6036 if test "x$with_isl" = xno ||
6037 test "x$gcc_cv_isl" = xno
; then
6038 noconfigdirs
="$noconfigdirs isl"
6045 # Check for LTO support.
6046 # Check whether --enable-lto was given.
6047 if test "${enable_lto+set}" = set; then :
6048 enableval
=$enable_lto; enable_lto
=$enableval
6050 enable_lto
=yes; default_enable_lto
=yes
6059 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6060 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6061 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6070 if test $target_elf = yes; then :
6071 # ELF platforms build the lto-plugin always.
6072 build_lto_plugin
=yes
6075 if test x
"$default_enable_lto" = x
"yes" ; then
6077 *-apple-darwin9* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6078 # On other non-ELF platforms, LTO has yet to be validated.
6082 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6083 # It would also be nice to check the binutils support, but we don't
6084 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6085 # warn during gcc/ subconfigure; unless you're bootstrapping with
6086 # -flto it won't be needed until after installation anyway.
6088 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6089 *) if test x
"$enable_lto" = x
"yes"; then
6090 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6095 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6096 # Build it unless LTO was explicitly disabled.
6098 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6105 # Check whether --enable-linker-plugin-configure-flags was given.
6106 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6107 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6109 extra_linker_plugin_configure_flags
=
6113 # Check whether --enable-linker-plugin-flags was given.
6114 if test "${enable_linker_plugin_flags+set}" = set; then :
6115 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6117 extra_linker_plugin_flags
=
6123 # By default, C and C++ are the only stage 1 languages.
6124 stage1_languages
=,c
,
6126 # Target libraries that we bootstrap.
6127 bootstrap_target_libs
=,target-libgcc
,
6129 # Figure out what language subdirectories are present.
6130 # Look if the user specified --enable-languages="..."; if not, use
6131 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6133 # NB: embedded tabs in this IF block -- do not untabify
6134 if test -d ${srcdir}/gcc
; then
6135 if test x
"${enable_languages+set}" != xset
; then
6136 if test x
"${LANGUAGES+set}" = xset
; then
6137 enable_languages
="${LANGUAGES}"
6138 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6140 enable_languages
=all
6143 if test x
"${enable_languages}" = x ||
6144 test x
"${enable_languages}" = xyes
;
6146 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6150 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6152 # 'f95' is the old name for the 'fortran' language. We issue a warning
6153 # and make the substitution.
6154 case ,${enable_languages}, in
6156 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6157 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6161 # If bootstrapping, C++ must be enabled.
6162 case ",$enable_languages,:$enable_bootstrap" in
6165 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6166 enable_languages
="${enable_languages},c++"
6168 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6173 # First scan to see if an enabled language requires some other language.
6174 # We assume that a given config-lang.in will list all the language
6175 # front ends it requires, even if some are required indirectly.
6176 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6177 case ${lang_frag} in
6179 # The odd quoting in the next line works around
6180 # an apparent bug in bash 1.12 on linux.
6181 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6183 # From the config-lang.in, get $language, $lang_requires, and
6184 # $lang_requires_boot_languages.
6187 lang_requires_boot_languages
=
6189 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6190 case ,${enable_languages}, in
6194 echo " \`$other' language required by \`$language'; enabling" 1>&2
6195 enable_languages
="${enable_languages},${other}"
6199 for other
in ${lang_requires_boot_languages} ; do
6200 if test "$other" != "c"; then
6201 case ,${enable_stage1_languages}, in
6205 case ,${enable_languages}, in
6207 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6208 enable_stage1_languages
="$enable_stage1_languages,${other}"
6219 new_enable_languages
=,c
,
6221 # If LTO is enabled, add the LTO front end.
6222 if test "$enable_lto" = "yes" ; then
6223 case ,${enable_languages}, in
6225 *) enable_languages
="${enable_languages},lto" ;;
6227 if test "${build_lto_plugin}" = "yes" ; then
6228 configdirs
="$configdirs lto-plugin"
6232 # If we're building an offloading compiler, add the LTO front end.
6233 if test x
"$enable_as_accelerator_for" != x
; then
6234 case ,${enable_languages}, in
6236 *) enable_languages
="${enable_languages},lto" ;;
6240 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6241 potential_languages
=,c
,
6243 enabled_target_libs
=
6244 disabled_target_libs
=
6246 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6247 case ${lang_frag} in
6249 # The odd quoting in the next line works around
6250 # an apparent bug in bash 1.12 on linux.
6251 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6253 # From the config-lang.in, get $language, $target_libs,
6254 # $lang_dirs, $boot_language, and $build_by_default
6260 build_by_default
=yes
6262 if test x
${language} = x
; then
6263 echo "${lang_frag} doesn't set \$language." 1>&2
6267 if test "$language" = "c++"; then
6272 case ,${enable_languages}, in
6274 # Language was explicitly selected; include it
6275 # unless it is C, which is enabled by default.
6276 if test "$language" != "c"; then
6281 # 'all' was selected, select it if it is a default language
6282 if test "$language" != "c"; then
6283 add_this_lang
=${build_by_default}
6288 # Disable languages that need other directories if these aren't available.
6289 for i
in $subdir_requires; do
6290 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6291 case ,${enable_languages}, in
6293 # Specifically requested language; tell them.
6294 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6298 add_this_lang
=unsupported
6303 # Disable Ada if no preexisting GNAT is available.
6304 case ,${enable_languages},:${language}:${have_gnat} in
6305 *,${language},*:ada
:no
)
6306 # Specifically requested language; tell them.
6307 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6311 add_this_lang
=unsupported
6315 # Disable a language that is unsupported by the target.
6316 case " $unsupported_languages " in
6318 add_this_lang
=unsupported
6322 case $add_this_lang in
6324 # Remove language-dependent dirs.
6325 disabled_target_libs
="$disabled_target_libs $target_libs"
6326 noconfigdirs
="$noconfigdirs $lang_dirs"
6329 # Remove language-dependent dirs; still show language as supported.
6330 disabled_target_libs
="$disabled_target_libs $target_libs"
6331 noconfigdirs
="$noconfigdirs $lang_dirs"
6332 potential_languages
="${potential_languages}${language},"
6335 new_enable_languages
="${new_enable_languages}${language},"
6336 potential_languages
="${potential_languages}${language},"
6337 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6338 enabled_target_libs
="$enabled_target_libs $target_libs"
6339 case "${boot_language}:,$enable_stage1_languages," in
6340 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6341 # Add to (comma-separated) list of stage 1 languages.
6342 case ",$stage1_languages," in
6343 *,$language,* |
,yes, |
,all
,) ;;
6344 *) stage1_languages
="${stage1_languages}${language}," ;;
6346 # We need to bootstrap any supporting libraries.
6347 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6356 # Add target libraries which are only needed for disabled languages
6358 if test -n "$disabled_target_libs"; then
6359 for dir
in $disabled_target_libs; do
6360 case " $enabled_target_libs " in
6362 *) noconfigdirs
="$noconfigdirs $dir" ;;
6367 # Check whether --enable-stage1-languages was given.
6368 if test "${enable_stage1_languages+set}" = set; then :
6369 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6371 # Set it to something that will have no effect in the loop below
6372 enable_stage1_languages
=c
;;
6374 enable_stage1_languages
=`echo $new_enable_languages | \
6375 sed -e "s/^,//" -e "s/,$//" ` ;;
6377 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6378 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6381 # Add "good" languages from enable_stage1_languages to stage1_languages,
6382 # while "bad" languages go in missing_languages. Leave no duplicates.
6383 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6384 case $potential_languages in
6386 case $stage1_languages in
6388 *) stage1_languages
="$stage1_languages$i," ;;
6391 case $missing_languages in
6393 *) missing_languages
="$missing_languages$i," ;;
6400 # Remove leading/trailing commas that were added for simplicity
6401 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6402 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6403 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6404 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6406 if test "x$missing_languages" != x
; then
6408 The following requested languages could not be built: ${missing_languages}
6409 Supported languages are: ${potential_languages}" "$LINENO" 5
6411 if test "x$new_enable_languages" != "x$enable_languages"; then
6412 echo The following languages will be built
: ${new_enable_languages}
6413 enable_languages
="$new_enable_languages"
6417 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6420 # Handle --disable-<component> generically.
6421 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6422 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6423 varname
=`echo $dirname | sed -e s/+/_/g`
6424 if eval test x\
${enable_${varname}} "=" xno
; then
6425 noconfigdirs
="$noconfigdirs $dir"
6429 # Check for Boehm's garbage collector
6430 # Check whether --enable-objc-gc was given.
6431 if test "${enable_objc_gc+set}" = set; then :
6432 enableval
=$enable_objc_gc;
6436 # Check whether --with-target-bdw-gc was given.
6437 if test "${with_target_bdw_gc+set}" = set; then :
6438 withval
=$with_target_bdw_gc;
6442 # Check whether --with-target-bdw-gc-include was given.
6443 if test "${with_target_bdw_gc_include+set}" = set; then :
6444 withval
=$with_target_bdw_gc_include;
6448 # Check whether --with-target-bdw-gc-lib was given.
6449 if test "${with_target_bdw_gc_lib+set}" = set; then :
6450 withval
=$with_target_bdw_gc_lib;
6454 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6456 $as_echo_n "checking for bdw garbage collector... " >&6; }
6457 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6459 $as_echo "using bdw-gc in default locations" >&6; }
6461 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6462 as_fn_error
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6463 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6464 as_fn_error
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6467 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6472 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6473 case ,${enable_languages}, in
6475 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6476 case "${noconfigdirs}" in
6477 *target-libstdc
++-v3*)
6478 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6484 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6488 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6489 # $build_configdirs and $target_configdirs.
6490 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6493 for dir
in .
$skipdirs $noconfigdirs ; do
6494 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6495 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6496 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6497 if test -r $srcdir/$dirname/configure
; then
6498 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6501 notsupp
="$notsupp $dir"
6505 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6506 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6507 if test -r $srcdir/$dirname/configure
; then
6508 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6511 notsupp
="$notsupp $dir"
6515 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6516 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6517 if test -r $srcdir/$dirname/configure
; then
6518 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6521 notsupp
="$notsupp $dir"
6527 # Quietly strip out all directories which aren't configurable in this tree.
6528 # This relies on all configurable subdirectories being autoconfiscated, which
6530 build_configdirs_all
="$build_configdirs"
6532 for i
in ${build_configdirs_all} ; do
6533 j
=`echo $i | sed -e s/build-//g`
6534 if test -f ${srcdir}/$j/configure
; then
6535 build_configdirs
="${build_configdirs} $i"
6539 configdirs_all
="$configdirs"
6541 for i
in ${configdirs_all} ; do
6542 if test -f ${srcdir}/$i/configure
; then
6543 configdirs
="${configdirs} $i"
6547 target_configdirs_all
="$target_configdirs"
6549 for i
in ${target_configdirs_all} ; do
6550 j
=`echo $i | sed -e s/target-//g`
6551 if test -f ${srcdir}/$j/configure
; then
6552 target_configdirs
="${target_configdirs} $i"
6556 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6557 # so we have to add it after the preceding checks.
6558 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6560 case " $configdirs " in
6562 # If we can build libiberty, we can also build libiberty-linker-plugin.
6563 configdirs
="$configdirs libiberty-linker-plugin"
6564 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6565 --with-libiberty=../libiberty-linker-plugin";;
6567 as_fn_error
"libiberty missing" "$LINENO" 5;;
6571 # Sometimes we have special requirements for the host libiberty.
6572 extra_host_libiberty_configure_flags
=
6573 extra_host_zlib_configure_flags
=
6574 case " $configdirs " in
6575 *" lto-plugin "* |
*" libcc1 "*)
6576 # When these are to be built as shared libraries, the same applies to
6578 extra_host_libiberty_configure_flags
=--enable-shared
6581 # When bfd is to be built as a shared library, the same applies to
6583 if test "$enable_shared" = "yes"; then
6584 extra_host_zlib_configure_flags
=--enable-host-shared
6591 # Produce a warning message for the subdirs we can't configure.
6592 # This isn't especially interesting in the Cygnus tree, but in the individual
6593 # FSF releases, it's important to let people know when their machine isn't
6594 # supported by the one or two programs in a package.
6596 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6597 # If $appdirs is non-empty, at least one of those directories must still
6598 # be configured, or we error out. (E.g., if the gas release supports a
6599 # specified target in some subdirs but not the gas subdir, we shouldn't
6600 # pretend that all is well.)
6601 if test -n "$appdirs" ; then
6602 for dir
in $appdirs ; do
6603 if test -r $dir/Makefile.
in ; then
6604 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6608 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6614 if test -n "$appdirs" ; then
6615 echo "*** This configuration is not supported by this package." 1>&2
6619 # Okay, some application will build, or we don't care to check. Still
6620 # notify of subdirs not getting built.
6621 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6622 echo " ${notsupp}" 1>&2
6623 echo " (Any other directories should still work fine.)" 1>&2
6631 # To find our prefix, in gcc_cv_tool_prefix.
6633 # The user is always right.
6634 if test "${PATH_SEPARATOR+set}" != set; then
6635 echo "#! /bin/sh" >conf$$.sh
6636 echo "exit 0" >>conf$$.sh
6638 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6647 get_gcc_base_ver
="cat"
6649 # Check whether --with-gcc-major-version-only was given.
6650 if test "${with_gcc_major_version_only+set}" = set; then :
6651 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
6652 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
6662 if test "x$exec_prefix" = xNONE
; then
6663 if test "x$prefix" = xNONE
; then
6664 gcc_cv_tool_prefix
=$ac_default_prefix
6666 gcc_cv_tool_prefix
=$prefix
6669 gcc_cv_tool_prefix
=$exec_prefix
6672 # If there is no compiler in the tree, use the PATH only. In any
6673 # case, if there is no compiler in the tree nobody should use
6674 # AS_FOR_TARGET and LD_FOR_TARGET.
6675 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6676 if test x
$with_gcc_major_version_only = xyes
; then
6677 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
6679 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6681 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6682 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6683 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6684 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6685 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6686 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6691 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6692 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6700 # Check whether --with-build-sysroot was given.
6701 if test "${with_build_sysroot+set}" = set; then :
6702 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6703 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6706 SYSROOT_CFLAGS_FOR_TARGET
=
6712 # Check whether --with-debug-prefix-map was given.
6713 if test "${with_debug_prefix_map+set}" = set; then :
6714 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6715 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6716 for debug_map
in $withval; do
6717 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6721 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6726 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6727 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6728 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6729 # We want to ensure that TARGET libraries (which we know are built with
6730 # gcc) are built with "-O2 -g", so include those options when setting
6731 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6732 if test "x$CFLAGS_FOR_TARGET" = x
; then
6733 if test "x${is_cross_compiler}" = xyes
; then
6734 CFLAGS_FOR_TARGET
="-g -O2"
6736 CFLAGS_FOR_TARGET
=$CFLAGS
6739 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6742 *" -g "* |
*" -g3 "*) ;;
6743 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6749 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6750 if test "x${is_cross_compiler}" = xyes
; then
6751 CXXFLAGS_FOR_TARGET
="-g -O2"
6753 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6754 case " $CXXFLAGS " in
6756 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6758 case " $CXXFLAGS " in
6759 *" -g "* |
*" -g3 "*) ;;
6760 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6768 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6769 # the named directory are copied to $(tooldir)/sys-include.
6770 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6771 if test x
${is_cross_compiler} = xno
; then
6772 echo 1>&2 '***' --with-headers is only supported when cross compiling
6775 if test x
"${with_headers}" != xyes
; then
6776 x
=${gcc_cv_tool_prefix}
6777 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6781 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6782 # the name directories are copied to $(tooldir)/lib. Multiple directories
6784 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6785 if test x
${is_cross_compiler} = xno
; then
6786 echo 1>&2 '***' --with-libs is only supported when cross compiling
6789 if test x
"${with_libs}" != xyes
; then
6790 # Copy the libraries in reverse order, so that files in the first named
6791 # library override files in subsequent libraries.
6792 x
=${gcc_cv_tool_prefix}
6793 for l
in ${with_libs}; do
6794 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6799 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6801 # This is done by determining whether or not the appropriate directory
6802 # is available, and by checking whether or not specific configurations
6803 # have requested that this magic not happen.
6805 # The command line options always override the explicit settings in
6806 # configure.ac, and the settings in configure.ac override this magic.
6808 # If the default for a toolchain is to use GNU as and ld, and you don't
6809 # want to do that, then you should use the --without-gnu-as and
6810 # --without-gnu-ld options for the configure script. Similarly, if
6811 # the default is to use the included zlib and you don't want to do that,
6812 # you should use the --with-system-zlib option for the configure script.
6814 if test x
${use_gnu_as} = x
&&
6815 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6817 extra_host_args
="$extra_host_args --with-gnu-as"
6820 if test x
${use_gnu_ld} = x
&&
6821 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6823 extra_host_args
="$extra_host_args --with-gnu-ld"
6826 if test x
${use_included_zlib} = x
&&
6827 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6830 with_system_zlib
=yes
6831 extra_host_args
="$extra_host_args --with-system-zlib"
6834 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6835 # can detect this case.
6837 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6839 extra_host_args
="$extra_host_args --with-newlib"
6842 # Handle ${copy_dirs}
6843 set fnord
${copy_dirs}
6845 while test $# != 0 ; do
6846 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6849 echo Copying
$1 to
$2
6851 # Use the install script to create the directory and all required
6852 # parent directories.
6853 if test -d $2 ; then
6857 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6860 # Copy the directory, assuming we have tar.
6861 # FIXME: Should we use B in the second tar? Not all systems support it.
6862 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6864 # It is the responsibility of the user to correctly adjust all
6865 # symlinks. If somebody can figure out how to handle them correctly
6866 # here, feel free to add the code.
6873 # Determine a target-dependent exec_prefix that the installed
6874 # gcc will search in. Keep this list sorted by triplet, with
6875 # the *-*-osname triplets last.
6878 i
[34567]86-pc-msdosdjgpp*)
6879 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6884 md_exec_prefix
=/usr
/ccs
/bin
6888 extra_arflags_for_target
=
6889 extra_nmflags_for_target
=
6890 extra_ranlibflags_for_target
=
6891 target_makefile_frag
=/dev
/null
6894 target_makefile_frag
="config/mt-spu"
6896 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6897 target_makefile_frag
="config/mt-sde"
6899 mipsisa
*-*-elfoabi*)
6900 target_makefile_frag
="config/mt-mips-elfoabi"
6902 mips
*-*-*linux
* | mips
*-*-gnu*)
6903 target_makefile_frag
="config/mt-mips-gnu"
6906 target_makefile_frag
="config/mt-nios2-elf"
6908 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6909 target_makefile_frag
="config/mt-gnu"
6911 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6912 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6913 # commands to handle both 32-bit and 64-bit objects. These flags are
6914 # harmless if we're using GNU nm or ar.
6915 extra_arflags_for_target
=" -X32_64"
6916 extra_nmflags_for_target
=" -B -X32_64"
6920 alphaieee_frag
=/dev
/null
6923 # This just makes sure to use the -mieee option to build target libs.
6924 # This should probably be set individually by each library.
6925 alphaieee_frag
="config/mt-alphaieee"
6929 # If --enable-target-optspace always use -Os instead of -O2 to build
6930 # the target libraries, similarly if it is not specified, use -Os
6931 # on selected platforms.
6932 ospace_frag
=/dev
/null
6933 case "${enable_target_optspace}:${target}" in
6935 ospace_frag
="config/mt-ospace"
6938 ospace_frag
="config/mt-d30v"
6940 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
6941 ospace_frag
="config/mt-ospace"
6946 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6950 # Some systems (e.g., one of the i386-aix systems the gas testers are
6951 # using) don't handle "\$" correctly, so don't use it here.
6952 tooldir
='${exec_prefix}'/${target_noncanonical}
6953 build_tooldir
=${tooldir}
6955 # Create a .gdbinit file which runs the one in srcdir
6956 # and tells GDB to look there for source files.
6958 if test -r ${srcdir}/.gdbinit
; then
6961 *) cat > .
/.gdbinit
<<EOF
6965 source ${srcdir}/.gdbinit
6971 # Make sure that the compiler is able to generate an executable. If it
6972 # can't, we are probably in trouble. We don't care whether we can run the
6973 # executable--we might be using a cross compiler--we only care whether it
6974 # can be created. At this point the main configure script has set CC.
6976 echo "int main () { return 0; }" > conftest.c
6977 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6978 if test $?
= 0 ; then
6979 if test -s conftest ||
test -s conftest.exe
; then
6985 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6986 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6993 # Decide which environment variable is used to find dynamic libraries.
6995 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6996 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6997 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6998 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7001 # On systems where the dynamic library environment variable is PATH,
7002 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7003 # built executables to PATH.
7004 if test "$RPATH_ENVVAR" = PATH
; then
7005 GCC_SHLIB_SUBDIR
=/shlib
7010 # Adjust the toplevel makefile according to whether bootstrap was selected.
7011 case $enable_bootstrap in
7013 bootstrap_suffix
=bootstrap
7014 BUILD_CONFIG
=bootstrap-debug
7017 bootstrap_suffix
=no-bootstrap
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7023 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7026 # Check whether --with-build-config was given.
7027 if test "${with_build_config+set}" = set; then :
7028 withval
=$with_build_config; case $with_build_config in
7029 yes) with_build_config
= ;;
7030 no
) with_build_config
= BUILD_CONFIG
= ;;
7035 if test "x${with_build_config}" != x
; then
7036 BUILD_CONFIG
=$with_build_config
7038 case $BUILD_CONFIG in
7040 if echo "int f (void) { return 0; }" > conftest.c
&&
7041 ${CC} -c conftest.c
&&
7042 mv conftest.o conftest.o.g0
&&
7043 ${CC} -c -g conftest.c
&&
7044 mv conftest.o conftest.o.g
&&
7045 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7050 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7055 $as_echo "$BUILD_CONFIG" >&6; }
7058 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7060 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7061 # Check whether --enable-vtable-verify was given.
7062 if test "${enable_vtable_verify+set}" = set; then :
7063 enableval
=$enable_vtable_verify; case "$enableval" in
7064 yes) enable_vtable_verify
=yes ;;
7065 no
) enable_vtable_verify
=no
;;
7066 *) enable_vtable_verify
=no
;;
7069 enable_vtable_verify
=no
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7073 $as_echo "$enable_vtable_verify" >&6; }
7075 # Record target_configdirs and the configure arguments for target and
7076 # build configuration in Makefile.
7077 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7078 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7079 bootstrap_fixincludes
=no
7081 # If we are building libgomp, bootstrap it.
7082 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7083 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7086 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7087 # or bootstrap-ubsan, bootstrap it.
7088 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7089 case "$BUILD_CONFIG" in
7090 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7091 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7092 bootstrap_fixincludes
=yes
7097 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7098 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7099 test "$enable_vtable_verify" != no
; then
7100 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7103 # If we are building libmpx and $BUILD_CONFIG contains bootstrap-mpx,
7105 if echo " ${target_configdirs} " |
grep " libmpx " > /dev
/null
2>&1; then
7106 case "$BUILD_CONFIG" in
7108 bootstrap_target_libs
=${bootstrap_target_libs}target-libmpx
,
7113 # Determine whether gdb needs tk/tcl or not.
7114 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7115 # and in that case we want gdb to be built without tk. Ugh!
7116 # In fact I believe gdb is the *only* package directly dependent on tk,
7117 # so we should be able to put the 'maybe's in unconditionally and
7118 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7119 # 100% sure that that's safe though.
7121 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7122 case "$enable_gdbtk" in
7126 GDB_TK
="${gdb_tk}" ;;
7128 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7129 # distro. Eventually someone will fix this and move Insight, nee
7130 # gdbtk to a separate directory.
7131 if test -d ${srcdir}/gdb
/gdbtk
; then
7138 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7139 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7141 # Strip out unwanted targets.
7143 # While at that, we remove Makefiles if we were started for recursive
7144 # configuration, so that the top-level Makefile reconfigures them,
7145 # like we used to do when configure itself was recursive.
7147 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7148 # but now we're fixing up the Makefile ourselves with the additional
7149 # commands passed to AC_CONFIG_FILES. Use separate variables
7150 # extrasub-{build,host,target} not because there is any reason to split
7151 # the substitutions up that way, but only to remain below the limit of
7152 # 99 commands in a script, for HP-UX sed.
7153 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7155 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7156 yes:yes:*\ gold\
*:*,c
++,*) ;;
7157 yes:yes:*\ gold\
*:*)
7158 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7163 for module
in ${build_configdirs} ; do
7164 if test -z "${no_recursion}" \
7165 && test -f ${build_subdir}/${module}/Makefile
; then
7166 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7167 rm -f ${build_subdir}/${module}/Makefile
7169 extrasub_build
="$extrasub_build
7170 /^@if build-$module\$/d
7171 /^@endif build-$module\$/d
7172 /^@if build-$module-$bootstrap_suffix\$/d
7173 /^@endif build-$module-$bootstrap_suffix\$/d"
7176 for module
in ${configdirs} ; do
7177 if test -z "${no_recursion}"; then
7178 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7179 if test -f ${file}; then
7180 echo 1>&2 "*** removing ${file} to force reconfigure"
7185 case ${module},${bootstrap_fixincludes} in
7186 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7187 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7189 extrasub_host
="$extrasub_host
7191 /^@endif $module\$/d
7192 /^@if $module-$host_bootstrap_suffix\$/d
7193 /^@endif $module-$host_bootstrap_suffix\$/d"
7196 for module
in ${target_configdirs} ; do
7197 if test -z "${no_recursion}" \
7198 && test -f ${target_subdir}/${module}/Makefile
; then
7199 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7200 rm -f ${target_subdir}/${module}/Makefile
7203 # We only bootstrap target libraries listed in bootstrap_target_libs.
7204 case $bootstrap_target_libs in
7205 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7206 *) target_bootstrap_suffix
=no-bootstrap
;;
7209 extrasub_target
="$extrasub_target
7210 /^@if target-$module\$/d
7211 /^@endif target-$module\$/d
7212 /^@if target-$module-$target_bootstrap_suffix\$/d
7213 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7216 # Do the final fixup along with target modules.
7217 extrasub_target
="$extrasub_target
7218 /^@if /,/^@endif /d"
7220 # Create the serialization dependencies. This uses a temporary file.
7222 # Check whether --enable-serial-configure was given.
7223 if test "${enable_serial_configure+set}" = set; then :
7224 enableval
=$enable_serial_configure;
7228 case ${enable_serial_configure} in
7230 enable_serial_build_configure
=yes
7231 enable_serial_host_configure
=yes
7232 enable_serial_target_configure
=yes
7236 # These force 'configure's to be done one at a time, to avoid problems
7237 # with contention over a shared config.cache.
7239 echo '# serdep.tmp' > serdep.tmp
7241 test "x${enable_serial_build_configure}" = xyes
&&
7242 for item
in ${build_configdirs} ; do
7245 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7250 test "x${enable_serial_host_configure}" = xyes
&&
7251 for item
in ${configdirs} ; do
7254 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7259 test "x${enable_serial_target_configure}" = xyes
&&
7260 for item
in ${target_configdirs} ; do
7263 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7267 serialization_dependencies
=serdep.tmp
7270 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7271 # target, nonopt, and variable assignments. These are the ones we
7272 # might not want to pass down to subconfigures. The exception being
7273 # --cache-file=/dev/null, which is used to turn off the use of cache
7274 # files altogether, and which should be passed on to subconfigures.
7275 # Also strip program-prefix, program-suffix, and program-transform-name,
7276 # so that we can pass down a consistent program-transform-name.
7281 eval "set -- $ac_configure_args"
7284 if test X
"$skip_next" = X
"yes"; then
7288 if test X
"$keep_next" = X
"yes"; then
7291 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7293 baseargs
="$baseargs '$ac_arg'"
7294 tbaseargs
="$tbaseargs '$ac_arg'"
7299 # Handle separated arguments. Based on the logic generated by
7302 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7303 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7304 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7305 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7319 --with-* |
--without-*)
7320 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7324 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7327 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7336 mpc | mpfr | gmp | isl
)
7337 # If we're processing --with-$lib, --with-$lib-include or
7338 # --with-$lib-lib, for one of the libs above, and target is
7339 # different from host, don't pass the current argument to any
7340 # target library's configure.
7341 if test x
$is_cross_compiler = xyes
; then
7350 --cache-file=/dev
/null | \
7351 -cache-file=/dev
/null
)
7352 # Handled here to avoid the test to skip args below.
7353 baseargs
="$baseargs '$ac_arg'"
7354 tbaseargs
="$tbaseargs '$ac_arg'"
7355 # Assert: $separate_arg should always be no.
7356 keep_next
=$separate_arg
7372 -program-prefix* | \
7373 -program-suffix* | \
7374 -program-transform-name* )
7375 skip_next
=$separate_arg
7379 # An option. Add it.
7382 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7384 baseargs
="$baseargs '$ac_arg'"
7385 if test X
"$skip_targ" = Xno
; then
7386 tbaseargs
="$tbaseargs '$ac_arg'"
7388 keep_next
=$separate_arg
7391 # Either a variable assignment, or a nonopt (triplet). Don't
7392 # pass it down; let the Makefile handle this.
7397 # Remove the initial space we just introduced and, as these will be
7398 # expanded by make, quote '$'.
7399 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7401 # Add in --program-transform-name, after --program-prefix and
7402 # --program-suffix have been applied to it. Autoconf has already
7403 # doubled dollar signs and backslashes in program_transform_name; we want
7404 # the backslashes un-doubled, and then the entire thing wrapped in single
7405 # quotes, because this will be expanded first by make and then by the shell.
7406 # Also, because we want to override the logic in subdir configure scripts to
7407 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7408 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7409 ${program_transform_name}
7411 gcc_transform_name
=`cat conftestsed.out`
7412 rm -f conftestsed.out
7413 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7414 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7415 if test "$silent" = yes; then
7416 baseargs
="$baseargs --silent"
7417 tbaseargs
="$tbaseargs --silent"
7419 baseargs
="$baseargs --disable-option-checking"
7420 tbaseargs
="$tbaseargs --disable-option-checking"
7422 # Record and document user additions to sub configure arguments.
7427 # For the build-side libraries, we just need to pretend we're native,
7428 # and not use the same cache file. Multilibs are neither needed nor
7429 # desired. We can't even use the same cache file for all build-side
7430 # libraries, as they're compiled differently; some with C, some with
7431 # C++ or with different feature-enabling options.
7432 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7434 # For host modules, accept cache file option, or specification as blank.
7435 case "${cache_file}" in
7437 cache_file_option
="" ;;
7438 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7439 cache_file_option
="--cache-file=${cache_file}" ;;
7441 cache_file_option
="--cache-file=../${cache_file}" ;;
7444 # Host dirs don't like to share a cache file either, horribly enough.
7445 # This seems to be due to autoconf 2.5x stupidity.
7446 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7448 target_configargs
="$target_configargs ${tbaseargs}"
7450 # Passing a --with-cross-host argument lets the target libraries know
7451 # whether they are being built with a cross-compiler or being built
7452 # native. However, it would be better to use other mechanisms to make the
7453 # sorts of decisions they want to make on this basis. Please consider
7454 # this option to be deprecated. FIXME.
7455 if test x
${is_cross_compiler} = xyes
; then
7456 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7459 # Special user-friendly check for native x86_64-linux build, if
7460 # multilib is not explicitly enabled.
7461 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7462 x86_64-
*linux
*:yes:$build:$build:)
7463 # Make sure we have a development environment that handles 32-bit
7465 echo "int main () { return 0; }" > conftest.c
7466 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7467 if test $?
= 0 ; then
7468 if test -s conftest ||
test -s conftest.exe
; then
7473 if test x
${dev64} != xyes
; then
7474 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
7479 # Default to --enable-multilib.
7480 if test x
${enable_multilib} = x
; then
7481 target_configargs
="--enable-multilib ${target_configargs}"
7484 # Pass --with-newlib if appropriate. Note that target_configdirs has
7485 # changed from the earlier setting of with_newlib.
7486 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7487 target_configargs
="--with-newlib ${target_configargs}"
7490 # Different target subdirs use different values of certain variables
7491 # (notably CXX). Worse, multilibs use *lots* of different values.
7492 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7493 # it doesn't automatically accept command-line overrides of them.
7494 # This means it's not safe for target subdirs to share a cache file,
7495 # which is disgusting, but there you have it. Hopefully this can be
7496 # fixed in future. It's still worthwhile to use a cache file for each
7497 # directory. I think.
7499 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7500 # We need to pass --target, as newer autoconf's requires consistency
7501 # for target_alias and gcc doesn't manage it consistently.
7502 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7505 case " $target_configdirs " in
7507 case " $target_configargs " in
7508 *" --with-newlib "*)
7511 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7515 # If we're not building GCC, don't discard standard headers.
7516 if test -d ${srcdir}/gcc
; then
7517 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7519 if test "${build}" != "${host}"; then
7520 # On Canadian crosses, CC_FOR_TARGET will have already been set
7521 # by `configure', so we won't have an opportunity to add -Bgcc/
7522 # to it. This is right: we don't want to search that directory
7523 # for binaries, but we want the header files in there, so add
7525 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7527 # Someone might think of using the pre-installed headers on
7528 # Canadian crosses, in case the installed compiler is not fully
7529 # compatible with the compiler being built. In this case, it
7530 # would be better to flag an error than risking having
7531 # incompatible object files being constructed. We can't
7532 # guarantee that an error will be flagged, but let's hope the
7533 # compiler will do it, when presented with incompatible header
7538 case "${target}-${is_cross_compiler}" in
7539 i
[3456789]86-*-linux*-no)
7540 # Here host == target, so we don't need to build gcc,
7541 # so we don't want to discard standard headers.
7542 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7545 # If we're building newlib, use its generic headers last, but search
7546 # for any libc-related directories first (so make it the last -B
7548 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7550 # If we're building libgloss, find the startup file, simulator library
7551 # and linker script.
7552 case " $target_configdirs " in
7554 # Look for startup file, simulator library and maybe linker script.
7555 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7556 # Look for libnosys.a in case the target needs it.
7557 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7558 # Most targets have the linker script in the source directory.
7559 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7570 x86_64-
*mingw
* |
*-w64-mingw*)
7571 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7572 # however, use a symlink named 'mingw' in ${prefix} .
7573 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7576 # MinGW can't be handled as Cygwin above since it does not use newlib.
7577 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'
7581 # Allow the user to override the flags for
7582 # our build compiler if desired.
7583 if test x
"${build}" = x
"${host}" ; then
7584 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7585 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7586 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7589 # On Canadian crosses, we'll be searching the right directories for
7590 # the previously-installed cross compiler, so don't bother to add
7591 # flags for directories within the install tree of the compiler
7592 # being built; programs in there won't even run.
7593 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7594 # Search for pre-installed headers if nothing else fits.
7595 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7598 if test "x
${use_gnu_ld}" = x &&
7599 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7600 # Arrange for us to find uninstalled linker scripts.
7601 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7604 # Search for other target-specific linker scripts and such.
7607 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7611 # Makefile fragments.
7612 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7614 eval fragval=\$$frag
7615 if test $fragval != /dev/null; then
7616 eval $frag=${srcdir}/$fragval
7624 # Miscellanea: directories, flags, etc.
7633 # Build module lists & subconfigure args.
7637 # Host module lists & subconfigure args.
7642 # Target module lists & subconfigure args.
7663 # Generate default definitions for YACC, M4, LEX and other programs that run
7664 # on the build machine. These are used if the Makefile can't locate these
7665 # programs in objdir.
7666 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7668 for ac_prog in 'bison -y' byacc yacc
7670 # Extract the first word of "$ac_prog", so it can be a program name with args.
7671 set dummy $ac_prog; ac_word=$2
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7673 $as_echo_n "checking
for $ac_word...
" >&6; }
7674 if test "${ac_cv_prog_YACC+set}" = set; then :
7675 $as_echo_n "(cached
) " >&6
7677 if test -n "$YACC"; then
7678 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7684 test -z "$as_dir" && as_dir=.
7685 for ac_exec_ext in '' $ac_executable_extensions; do
7686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7687 ac_cv_prog_YACC="$ac_prog"
7688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7697 YACC=$ac_cv_prog_YACC
7698 if test -n "$YACC"; then
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7700 $as_echo "$YACC" >&6; }
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7703 $as_echo "no
" >&6; }
7707 test -n "$YACC" && break
7709 test -n "$YACC" || YACC="$MISSING bison
-y"
7711 case " $build_configdirs " in
7712 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7715 for ac_prog in bison
7717 # Extract the first word of "$ac_prog", so it can be a program name with args.
7718 set dummy $ac_prog; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7720 $as_echo_n "checking
for $ac_word...
" >&6; }
7721 if test "${ac_cv_prog_BISON+set}" = set; then :
7722 $as_echo_n "(cached
) " >&6
7724 if test -n "$BISON"; then
7725 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7731 test -z "$as_dir" && as_dir=.
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7734 ac_cv_prog_BISON="$ac_prog"
7735 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7744 BISON=$ac_cv_prog_BISON
7745 if test -n "$BISON"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7747 $as_echo "$BISON" >&6; }
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7750 $as_echo "no
" >&6; }
7754 test -n "$BISON" && break
7756 test -n "$BISON" || BISON="$MISSING bison
"
7758 case " $build_configdirs " in
7759 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7762 for ac_prog in gm4 gnum4 m4
7764 # Extract the first word of "$ac_prog", so it can be a program name with args.
7765 set dummy $ac_prog; ac_word=$2
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7767 $as_echo_n "checking
for $ac_word...
" >&6; }
7768 if test "${ac_cv_prog_M4+set}" = set; then :
7769 $as_echo_n "(cached
) " >&6
7771 if test -n "$M4"; then
7772 ac_cv_prog_M4="$M4" # Let the user override the test.
7774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7778 test -z "$as_dir" && as_dir=.
7779 for ac_exec_ext in '' $ac_executable_extensions; do
7780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7781 ac_cv_prog_M4="$ac_prog"
7782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7792 if test -n "$M4"; then
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7794 $as_echo "$M4" >&6; }
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7797 $as_echo "no
" >&6; }
7801 test -n "$M4" && break
7803 test -n "$M4" || M4="$MISSING m4"
7805 case " $build_configdirs " in
7806 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7809 for ac_prog in flex lex
7811 # Extract the first word of "$ac_prog", so it can be a program name with args.
7812 set dummy $ac_prog; ac_word=$2
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7814 $as_echo_n "checking
for $ac_word...
" >&6; }
7815 if test "${ac_cv_prog_LEX+set}" = set; then :
7816 $as_echo_n "(cached
) " >&6
7818 if test -n "$LEX"; then
7819 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7825 test -z "$as_dir" && as_dir=.
7826 for ac_exec_ext in '' $ac_executable_extensions; do
7827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7828 ac_cv_prog_LEX="$ac_prog"
7829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7839 if test -n "$LEX"; then
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7841 $as_echo "$LEX" >&6; }
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7844 $as_echo "no
" >&6; }
7848 test -n "$LEX" && break
7850 test -n "$LEX" || LEX="$MISSING flex
"
7852 case " $build_configdirs " in
7853 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7854 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7859 # Extract the first word of "$ac_prog", so it can be a program name with args.
7860 set dummy $ac_prog; ac_word=$2
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7862 $as_echo_n "checking
for $ac_word...
" >&6; }
7863 if test "${ac_cv_prog_FLEX+set}" = set; then :
7864 $as_echo_n "(cached
) " >&6
7866 if test -n "$FLEX"; then
7867 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7873 test -z "$as_dir" && as_dir=.
7874 for ac_exec_ext in '' $ac_executable_extensions; do
7875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7876 ac_cv_prog_FLEX="$ac_prog"
7877 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7886 FLEX=$ac_cv_prog_FLEX
7887 if test -n "$FLEX"; then
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7889 $as_echo "$FLEX" >&6; }
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7892 $as_echo "no
" >&6; }
7896 test -n "$FLEX" && break
7898 test -n "$FLEX" || FLEX="$MISSING flex
"
7900 case " $build_configdirs " in
7901 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7904 for ac_prog in makeinfo
7906 # Extract the first word of "$ac_prog", so it can be a program name with args.
7907 set dummy $ac_prog; ac_word=$2
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7909 $as_echo_n "checking
for $ac_word...
" >&6; }
7910 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7911 $as_echo_n "(cached
) " >&6
7913 if test -n "$MAKEINFO"; then
7914 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7920 test -z "$as_dir" && as_dir=.
7921 for ac_exec_ext in '' $ac_executable_extensions; do
7922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7923 ac_cv_prog_MAKEINFO="$ac_prog"
7924 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7933 MAKEINFO=$ac_cv_prog_MAKEINFO
7934 if test -n "$MAKEINFO"; then
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7936 $as_echo "$MAKEINFO" >&6; }
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7939 $as_echo "no
" >&6; }
7943 test -n "$MAKEINFO" && break
7945 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7947 case " $build_configdirs " in
7948 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7951 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7952 # higher, else we use the "missing
" dummy.
7953 if ${MAKEINFO} --version \
7954 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7957 MAKEINFO="$MISSING makeinfo
"
7963 # FIXME: expect and dejagnu may become build tools?
7965 for ac_prog in expect
7967 # Extract the first word of "$ac_prog", so it can be a program name with args.
7968 set dummy $ac_prog; ac_word=$2
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7970 $as_echo_n "checking
for $ac_word...
" >&6; }
7971 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7972 $as_echo_n "(cached
) " >&6
7974 if test -n "$EXPECT"; then
7975 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7981 test -z "$as_dir" && as_dir=.
7982 for ac_exec_ext in '' $ac_executable_extensions; do
7983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7984 ac_cv_prog_EXPECT="$ac_prog"
7985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7994 EXPECT=$ac_cv_prog_EXPECT
7995 if test -n "$EXPECT"; then
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7997 $as_echo "$EXPECT" >&6; }
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8000 $as_echo "no
" >&6; }
8004 test -n "$EXPECT" && break
8006 test -n "$EXPECT" || EXPECT="expect
"
8008 case " $configdirs " in
8010 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8014 for ac_prog in runtest
8016 # Extract the first word of "$ac_prog", so it can be a program name with args.
8017 set dummy $ac_prog; ac_word=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8019 $as_echo_n "checking
for $ac_word...
" >&6; }
8020 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8021 $as_echo_n "(cached
) " >&6
8023 if test -n "$RUNTEST"; then
8024 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8033 ac_cv_prog_RUNTEST="$ac_prog"
8034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8043 RUNTEST=$ac_cv_prog_RUNTEST
8044 if test -n "$RUNTEST"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8046 $as_echo "$RUNTEST" >&6; }
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8049 $as_echo "no
" >&6; }
8053 test -n "$RUNTEST" && break
8055 test -n "$RUNTEST" || RUNTEST="runtest
"
8057 case " $configdirs " in
8059 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8066 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8067 ncn_target_tool_prefix=
8068 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8072 if test -n "$AR"; then
8074 elif test -n "$ac_cv_prog_AR"; then
8078 if test -n "$ac_cv_prog_AR"; then
8079 for ncn_progname in ar; do
8080 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8081 set dummy ${ncn_progname}; ac_word=$2
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8083 $as_echo_n "checking
for $ac_word...
" >&6; }
8084 if test "${ac_cv_prog_AR+set}" = set; then :
8085 $as_echo_n "(cached
) " >&6
8087 if test -n "$AR"; then
8088 ac_cv_prog_AR="$AR" # Let the user override the test.
8090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8094 test -z "$as_dir" && as_dir=.
8095 for ac_exec_ext in '' $ac_executable_extensions; do
8096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8097 ac_cv_prog_AR="${ncn_progname}"
8098 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8108 if test -n "$AR"; then
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8110 $as_echo "$AR" >&6; }
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8113 $as_echo "no
" >&6; }
8120 for ncn_progname in ar; do
8121 if test -n "$ncn_tool_prefix"; then
8122 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8123 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8125 $as_echo_n "checking
for $ac_word...
" >&6; }
8126 if test "${ac_cv_prog_AR+set}" = set; then :
8127 $as_echo_n "(cached
) " >&6
8129 if test -n "$AR"; then
8130 ac_cv_prog_AR="$AR" # Let the user override the test.
8132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8136 test -z "$as_dir" && as_dir=.
8137 for ac_exec_ext in '' $ac_executable_extensions; do
8138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8139 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8140 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8150 if test -n "$AR"; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8152 $as_echo "$AR" >&6; }
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8155 $as_echo "no
" >&6; }
8160 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8161 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8162 set dummy ${ncn_progname}; ac_word=$2
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8164 $as_echo_n "checking
for $ac_word...
" >&6; }
8165 if test "${ac_cv_prog_AR+set}" = set; then :
8166 $as_echo_n "(cached
) " >&6
8168 if test -n "$AR"; then
8169 ac_cv_prog_AR="$AR" # Let the user override the test.
8171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8175 test -z "$as_dir" && as_dir=.
8176 for ac_exec_ext in '' $ac_executable_extensions; do
8177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8178 ac_cv_prog_AR="${ncn_progname}"
8179 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8189 if test -n "$AR"; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8191 $as_echo "$AR" >&6; }
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8194 $as_echo "no
" >&6; }
8199 test -n "$ac_cv_prog_AR" && break
8202 if test -z "$ac_cv_prog_AR" ; then
8204 if test $build = $host ; then
8207 AR="${ncn_tool_prefix}$2"
8213 if test -n "$AS"; then
8215 elif test -n "$ac_cv_prog_AS"; then
8219 if test -n "$ac_cv_prog_AS"; then
8220 for ncn_progname in as; do
8221 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8222 set dummy ${ncn_progname}; ac_word=$2
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8224 $as_echo_n "checking
for $ac_word...
" >&6; }
8225 if test "${ac_cv_prog_AS+set}" = set; then :
8226 $as_echo_n "(cached
) " >&6
8228 if test -n "$AS"; then
8229 ac_cv_prog_AS="$AS" # Let the user override the test.
8231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8235 test -z "$as_dir" && as_dir=.
8236 for ac_exec_ext in '' $ac_executable_extensions; do
8237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8238 ac_cv_prog_AS="${ncn_progname}"
8239 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8249 if test -n "$AS"; then
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8251 $as_echo "$AS" >&6; }
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8254 $as_echo "no
" >&6; }
8261 for ncn_progname in as; do
8262 if test -n "$ncn_tool_prefix"; then
8263 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8264 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8266 $as_echo_n "checking
for $ac_word...
" >&6; }
8267 if test "${ac_cv_prog_AS+set}" = set; then :
8268 $as_echo_n "(cached
) " >&6
8270 if test -n "$AS"; then
8271 ac_cv_prog_AS="$AS" # Let the user override the test.
8273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8277 test -z "$as_dir" && as_dir=.
8278 for ac_exec_ext in '' $ac_executable_extensions; do
8279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8280 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8291 if test -n "$AS"; then
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8293 $as_echo "$AS" >&6; }
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8296 $as_echo "no
" >&6; }
8301 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8302 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8303 set dummy ${ncn_progname}; ac_word=$2
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8305 $as_echo_n "checking
for $ac_word...
" >&6; }
8306 if test "${ac_cv_prog_AS+set}" = set; then :
8307 $as_echo_n "(cached
) " >&6
8309 if test -n "$AS"; then
8310 ac_cv_prog_AS="$AS" # Let the user override the test.
8312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8316 test -z "$as_dir" && as_dir=.
8317 for ac_exec_ext in '' $ac_executable_extensions; do
8318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8319 ac_cv_prog_AS="${ncn_progname}"
8320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8330 if test -n "$AS"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8332 $as_echo "$AS" >&6; }
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8335 $as_echo "no
" >&6; }
8340 test -n "$ac_cv_prog_AS" && break
8343 if test -z "$ac_cv_prog_AS" ; then
8345 if test $build = $host ; then
8348 AS="${ncn_tool_prefix}$2"
8354 if test -n "$DLLTOOL"; then
8355 ac_cv_prog_DLLTOOL=$DLLTOOL
8356 elif test -n "$ac_cv_prog_DLLTOOL"; then
8357 DLLTOOL=$ac_cv_prog_DLLTOOL
8360 if test -n "$ac_cv_prog_DLLTOOL"; then
8361 for ncn_progname in dlltool; do
8362 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8363 set dummy ${ncn_progname}; ac_word=$2
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8365 $as_echo_n "checking
for $ac_word...
" >&6; }
8366 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8367 $as_echo_n "(cached
) " >&6
8369 if test -n "$DLLTOOL"; then
8370 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8376 test -z "$as_dir" && as_dir=.
8377 for ac_exec_ext in '' $ac_executable_extensions; do
8378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8379 ac_cv_prog_DLLTOOL="${ncn_progname}"
8380 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8389 DLLTOOL=$ac_cv_prog_DLLTOOL
8390 if test -n "$DLLTOOL"; then
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8392 $as_echo "$DLLTOOL" >&6; }
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8395 $as_echo "no
" >&6; }
8402 for ncn_progname in dlltool; do
8403 if test -n "$ncn_tool_prefix"; then
8404 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8405 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8407 $as_echo_n "checking
for $ac_word...
" >&6; }
8408 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8409 $as_echo_n "(cached
) " >&6
8411 if test -n "$DLLTOOL"; then
8412 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8418 test -z "$as_dir" && as_dir=.
8419 for ac_exec_ext in '' $ac_executable_extensions; do
8420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8421 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8422 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8431 DLLTOOL=$ac_cv_prog_DLLTOOL
8432 if test -n "$DLLTOOL"; then
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8434 $as_echo "$DLLTOOL" >&6; }
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8437 $as_echo "no
" >&6; }
8442 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8443 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8444 set dummy ${ncn_progname}; ac_word=$2
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8446 $as_echo_n "checking
for $ac_word...
" >&6; }
8447 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8448 $as_echo_n "(cached
) " >&6
8450 if test -n "$DLLTOOL"; then
8451 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8457 test -z "$as_dir" && as_dir=.
8458 for ac_exec_ext in '' $ac_executable_extensions; do
8459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8460 ac_cv_prog_DLLTOOL="${ncn_progname}"
8461 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8470 DLLTOOL=$ac_cv_prog_DLLTOOL
8471 if test -n "$DLLTOOL"; then
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8473 $as_echo "$DLLTOOL" >&6; }
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8476 $as_echo "no
" >&6; }
8481 test -n "$ac_cv_prog_DLLTOOL" && break
8484 if test -z "$ac_cv_prog_DLLTOOL" ; then
8486 if test $build = $host ; then
8489 DLLTOOL="${ncn_tool_prefix}$2"
8495 if test -n "$LD"; then
8497 elif test -n "$ac_cv_prog_LD"; then
8501 if test -n "$ac_cv_prog_LD"; then
8502 for ncn_progname in ld; do
8503 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8504 set dummy ${ncn_progname}; ac_word=$2
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8506 $as_echo_n "checking
for $ac_word...
" >&6; }
8507 if test "${ac_cv_prog_LD+set}" = set; then :
8508 $as_echo_n "(cached
) " >&6
8510 if test -n "$LD"; then
8511 ac_cv_prog_LD="$LD" # Let the user override the test.
8513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8517 test -z "$as_dir" && as_dir=.
8518 for ac_exec_ext in '' $ac_executable_extensions; do
8519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8520 ac_cv_prog_LD="${ncn_progname}"
8521 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8531 if test -n "$LD"; then
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8533 $as_echo "$LD" >&6; }
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8536 $as_echo "no
" >&6; }
8543 for ncn_progname in ld; do
8544 if test -n "$ncn_tool_prefix"; then
8545 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8546 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8548 $as_echo_n "checking
for $ac_word...
" >&6; }
8549 if test "${ac_cv_prog_LD+set}" = set; then :
8550 $as_echo_n "(cached
) " >&6
8552 if test -n "$LD"; then
8553 ac_cv_prog_LD="$LD" # Let the user override the test.
8555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8559 test -z "$as_dir" && as_dir=.
8560 for ac_exec_ext in '' $ac_executable_extensions; do
8561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8562 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8563 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8573 if test -n "$LD"; then
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8575 $as_echo "$LD" >&6; }
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8578 $as_echo "no
" >&6; }
8583 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8584 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8585 set dummy ${ncn_progname}; ac_word=$2
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8587 $as_echo_n "checking
for $ac_word...
" >&6; }
8588 if test "${ac_cv_prog_LD+set}" = set; then :
8589 $as_echo_n "(cached
) " >&6
8591 if test -n "$LD"; then
8592 ac_cv_prog_LD="$LD" # Let the user override the test.
8594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8598 test -z "$as_dir" && as_dir=.
8599 for ac_exec_ext in '' $ac_executable_extensions; do
8600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8601 ac_cv_prog_LD="${ncn_progname}"
8602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8612 if test -n "$LD"; then
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8614 $as_echo "$LD" >&6; }
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8617 $as_echo "no
" >&6; }
8622 test -n "$ac_cv_prog_LD" && break
8625 if test -z "$ac_cv_prog_LD" ; then
8627 if test $build = $host ; then
8630 LD="${ncn_tool_prefix}$2"
8636 if test -n "$LIPO"; then
8637 ac_cv_prog_LIPO=$LIPO
8638 elif test -n "$ac_cv_prog_LIPO"; then
8639 LIPO=$ac_cv_prog_LIPO
8642 if test -n "$ac_cv_prog_LIPO"; then
8643 for ncn_progname in lipo; do
8644 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8645 set dummy ${ncn_progname}; ac_word=$2
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8647 $as_echo_n "checking
for $ac_word...
" >&6; }
8648 if test "${ac_cv_prog_LIPO+set}" = set; then :
8649 $as_echo_n "(cached
) " >&6
8651 if test -n "$LIPO"; then
8652 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8658 test -z "$as_dir" && as_dir=.
8659 for ac_exec_ext in '' $ac_executable_extensions; do
8660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8661 ac_cv_prog_LIPO="${ncn_progname}"
8662 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8671 LIPO=$ac_cv_prog_LIPO
8672 if test -n "$LIPO"; then
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8674 $as_echo "$LIPO" >&6; }
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8677 $as_echo "no
" >&6; }
8684 for ncn_progname in lipo; do
8685 if test -n "$ncn_tool_prefix"; then
8686 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8687 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8689 $as_echo_n "checking
for $ac_word...
" >&6; }
8690 if test "${ac_cv_prog_LIPO+set}" = set; then :
8691 $as_echo_n "(cached
) " >&6
8693 if test -n "$LIPO"; then
8694 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8700 test -z "$as_dir" && as_dir=.
8701 for ac_exec_ext in '' $ac_executable_extensions; do
8702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8703 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8713 LIPO=$ac_cv_prog_LIPO
8714 if test -n "$LIPO"; then
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8716 $as_echo "$LIPO" >&6; }
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8719 $as_echo "no
" >&6; }
8724 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8725 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8726 set dummy ${ncn_progname}; ac_word=$2
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8728 $as_echo_n "checking
for $ac_word...
" >&6; }
8729 if test "${ac_cv_prog_LIPO+set}" = set; then :
8730 $as_echo_n "(cached
) " >&6
8732 if test -n "$LIPO"; then
8733 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8739 test -z "$as_dir" && as_dir=.
8740 for ac_exec_ext in '' $ac_executable_extensions; do
8741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8742 ac_cv_prog_LIPO="${ncn_progname}"
8743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8752 LIPO=$ac_cv_prog_LIPO
8753 if test -n "$LIPO"; then
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8755 $as_echo "$LIPO" >&6; }
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8758 $as_echo "no
" >&6; }
8763 test -n "$ac_cv_prog_LIPO" && break
8766 if test -z "$ac_cv_prog_LIPO" ; then
8768 if test $build = $host ; then
8771 LIPO="${ncn_tool_prefix}$2"
8777 if test -n "$NM"; then
8779 elif test -n "$ac_cv_prog_NM"; then
8783 if test -n "$ac_cv_prog_NM"; then
8784 for ncn_progname in nm; do
8785 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8786 set dummy ${ncn_progname}; ac_word=$2
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8788 $as_echo_n "checking
for $ac_word...
" >&6; }
8789 if test "${ac_cv_prog_NM+set}" = set; then :
8790 $as_echo_n "(cached
) " >&6
8792 if test -n "$NM"; then
8793 ac_cv_prog_NM="$NM" # Let the user override the test.
8795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8799 test -z "$as_dir" && as_dir=.
8800 for ac_exec_ext in '' $ac_executable_extensions; do
8801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8802 ac_cv_prog_NM="${ncn_progname}"
8803 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8813 if test -n "$NM"; then
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8815 $as_echo "$NM" >&6; }
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8818 $as_echo "no
" >&6; }
8825 for ncn_progname in nm; do
8826 if test -n "$ncn_tool_prefix"; then
8827 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8828 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8830 $as_echo_n "checking
for $ac_word...
" >&6; }
8831 if test "${ac_cv_prog_NM+set}" = set; then :
8832 $as_echo_n "(cached
) " >&6
8834 if test -n "$NM"; then
8835 ac_cv_prog_NM="$NM" # Let the user override the test.
8837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8841 test -z "$as_dir" && as_dir=.
8842 for ac_exec_ext in '' $ac_executable_extensions; do
8843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8844 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8855 if test -n "$NM"; then
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8857 $as_echo "$NM" >&6; }
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8860 $as_echo "no
" >&6; }
8865 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8866 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8867 set dummy ${ncn_progname}; ac_word=$2
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8869 $as_echo_n "checking
for $ac_word...
" >&6; }
8870 if test "${ac_cv_prog_NM+set}" = set; then :
8871 $as_echo_n "(cached
) " >&6
8873 if test -n "$NM"; then
8874 ac_cv_prog_NM="$NM" # Let the user override the test.
8876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8880 test -z "$as_dir" && as_dir=.
8881 for ac_exec_ext in '' $ac_executable_extensions; do
8882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8883 ac_cv_prog_NM="${ncn_progname}"
8884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8894 if test -n "$NM"; then
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8896 $as_echo "$NM" >&6; }
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8899 $as_echo "no
" >&6; }
8904 test -n "$ac_cv_prog_NM" && break
8907 if test -z "$ac_cv_prog_NM" ; then
8909 if test $build = $host ; then
8912 NM="${ncn_tool_prefix}$2"
8918 if test -n "$RANLIB"; then
8919 ac_cv_prog_RANLIB=$RANLIB
8920 elif test -n "$ac_cv_prog_RANLIB"; then
8921 RANLIB=$ac_cv_prog_RANLIB
8924 if test -n "$ac_cv_prog_RANLIB"; then
8925 for ncn_progname in ranlib; do
8926 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8927 set dummy ${ncn_progname}; ac_word=$2
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8929 $as_echo_n "checking
for $ac_word...
" >&6; }
8930 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8931 $as_echo_n "(cached
) " >&6
8933 if test -n "$RANLIB"; then
8934 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8940 test -z "$as_dir" && as_dir=.
8941 for ac_exec_ext in '' $ac_executable_extensions; do
8942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8943 ac_cv_prog_RANLIB="${ncn_progname}"
8944 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8953 RANLIB=$ac_cv_prog_RANLIB
8954 if test -n "$RANLIB"; then
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8956 $as_echo "$RANLIB" >&6; }
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8959 $as_echo "no
" >&6; }
8966 for ncn_progname in ranlib; do
8967 if test -n "$ncn_tool_prefix"; then
8968 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8969 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8971 $as_echo_n "checking
for $ac_word...
" >&6; }
8972 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8973 $as_echo_n "(cached
) " >&6
8975 if test -n "$RANLIB"; then
8976 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8982 test -z "$as_dir" && as_dir=.
8983 for ac_exec_ext in '' $ac_executable_extensions; do
8984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8985 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8995 RANLIB=$ac_cv_prog_RANLIB
8996 if test -n "$RANLIB"; then
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8998 $as_echo "$RANLIB" >&6; }
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9001 $as_echo "no
" >&6; }
9006 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9007 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9008 set dummy ${ncn_progname}; ac_word=$2
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9010 $as_echo_n "checking
for $ac_word...
" >&6; }
9011 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9012 $as_echo_n "(cached
) " >&6
9014 if test -n "$RANLIB"; then
9015 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9021 test -z "$as_dir" && as_dir=.
9022 for ac_exec_ext in '' $ac_executable_extensions; do
9023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9024 ac_cv_prog_RANLIB="${ncn_progname}"
9025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9034 RANLIB=$ac_cv_prog_RANLIB
9035 if test -n "$RANLIB"; then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9037 $as_echo "$RANLIB" >&6; }
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9040 $as_echo "no
" >&6; }
9045 test -n "$ac_cv_prog_RANLIB" && break
9048 if test -z "$ac_cv_prog_RANLIB" ; then
9054 if test -n "$STRIP"; then
9055 ac_cv_prog_STRIP=$STRIP
9056 elif test -n "$ac_cv_prog_STRIP"; then
9057 STRIP=$ac_cv_prog_STRIP
9060 if test -n "$ac_cv_prog_STRIP"; then
9061 for ncn_progname in strip; do
9062 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9063 set dummy ${ncn_progname}; ac_word=$2
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9065 $as_echo_n "checking
for $ac_word...
" >&6; }
9066 if test "${ac_cv_prog_STRIP+set}" = set; then :
9067 $as_echo_n "(cached
) " >&6
9069 if test -n "$STRIP"; then
9070 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9076 test -z "$as_dir" && as_dir=.
9077 for ac_exec_ext in '' $ac_executable_extensions; do
9078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9079 ac_cv_prog_STRIP="${ncn_progname}"
9080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9089 STRIP=$ac_cv_prog_STRIP
9090 if test -n "$STRIP"; then
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9092 $as_echo "$STRIP" >&6; }
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9095 $as_echo "no
" >&6; }
9102 for ncn_progname in strip; do
9103 if test -n "$ncn_tool_prefix"; then
9104 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9105 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9107 $as_echo_n "checking
for $ac_word...
" >&6; }
9108 if test "${ac_cv_prog_STRIP+set}" = set; then :
9109 $as_echo_n "(cached
) " >&6
9111 if test -n "$STRIP"; then
9112 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9118 test -z "$as_dir" && as_dir=.
9119 for ac_exec_ext in '' $ac_executable_extensions; do
9120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9121 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9122 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9131 STRIP=$ac_cv_prog_STRIP
9132 if test -n "$STRIP"; then
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9134 $as_echo "$STRIP" >&6; }
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9137 $as_echo "no
" >&6; }
9142 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9143 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9144 set dummy ${ncn_progname}; ac_word=$2
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9146 $as_echo_n "checking
for $ac_word...
" >&6; }
9147 if test "${ac_cv_prog_STRIP+set}" = set; then :
9148 $as_echo_n "(cached
) " >&6
9150 if test -n "$STRIP"; then
9151 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9157 test -z "$as_dir" && as_dir=.
9158 for ac_exec_ext in '' $ac_executable_extensions; do
9159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9160 ac_cv_prog_STRIP="${ncn_progname}"
9161 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9170 STRIP=$ac_cv_prog_STRIP
9171 if test -n "$STRIP"; then
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9173 $as_echo "$STRIP" >&6; }
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9176 $as_echo "no
" >&6; }
9181 test -n "$ac_cv_prog_STRIP" && break
9184 if test -z "$ac_cv_prog_STRIP" ; then
9190 if test -n "$WINDRES"; then
9191 ac_cv_prog_WINDRES=$WINDRES
9192 elif test -n "$ac_cv_prog_WINDRES"; then
9193 WINDRES=$ac_cv_prog_WINDRES
9196 if test -n "$ac_cv_prog_WINDRES"; then
9197 for ncn_progname in windres; do
9198 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9199 set dummy ${ncn_progname}; ac_word=$2
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9201 $as_echo_n "checking
for $ac_word...
" >&6; }
9202 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9203 $as_echo_n "(cached
) " >&6
9205 if test -n "$WINDRES"; then
9206 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9212 test -z "$as_dir" && as_dir=.
9213 for ac_exec_ext in '' $ac_executable_extensions; do
9214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9215 ac_cv_prog_WINDRES="${ncn_progname}"
9216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9225 WINDRES=$ac_cv_prog_WINDRES
9226 if test -n "$WINDRES"; then
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9228 $as_echo "$WINDRES" >&6; }
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9231 $as_echo "no
" >&6; }
9238 for ncn_progname in windres; do
9239 if test -n "$ncn_tool_prefix"; then
9240 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9241 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9243 $as_echo_n "checking
for $ac_word...
" >&6; }
9244 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9245 $as_echo_n "(cached
) " >&6
9247 if test -n "$WINDRES"; then
9248 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9254 test -z "$as_dir" && as_dir=.
9255 for ac_exec_ext in '' $ac_executable_extensions; do
9256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9257 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9267 WINDRES=$ac_cv_prog_WINDRES
9268 if test -n "$WINDRES"; then
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9270 $as_echo "$WINDRES" >&6; }
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9273 $as_echo "no
" >&6; }
9278 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9279 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9280 set dummy ${ncn_progname}; ac_word=$2
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9282 $as_echo_n "checking
for $ac_word...
" >&6; }
9283 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9284 $as_echo_n "(cached
) " >&6
9286 if test -n "$WINDRES"; then
9287 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9293 test -z "$as_dir" && as_dir=.
9294 for ac_exec_ext in '' $ac_executable_extensions; do
9295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9296 ac_cv_prog_WINDRES="${ncn_progname}"
9297 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9306 WINDRES=$ac_cv_prog_WINDRES
9307 if test -n "$WINDRES"; then
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9309 $as_echo "$WINDRES" >&6; }
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9312 $as_echo "no
" >&6; }
9317 test -n "$ac_cv_prog_WINDRES" && break
9320 if test -z "$ac_cv_prog_WINDRES" ; then
9322 if test $build = $host ; then
9325 WINDRES="${ncn_tool_prefix}$2"
9331 if test -n "$WINDMC"; then
9332 ac_cv_prog_WINDMC=$WINDMC
9333 elif test -n "$ac_cv_prog_WINDMC"; then
9334 WINDMC=$ac_cv_prog_WINDMC
9337 if test -n "$ac_cv_prog_WINDMC"; then
9338 for ncn_progname in windmc; do
9339 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9340 set dummy ${ncn_progname}; ac_word=$2
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9342 $as_echo_n "checking
for $ac_word...
" >&6; }
9343 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9344 $as_echo_n "(cached
) " >&6
9346 if test -n "$WINDMC"; then
9347 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9353 test -z "$as_dir" && as_dir=.
9354 for ac_exec_ext in '' $ac_executable_extensions; do
9355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9356 ac_cv_prog_WINDMC="${ncn_progname}"
9357 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9366 WINDMC=$ac_cv_prog_WINDMC
9367 if test -n "$WINDMC"; then
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9369 $as_echo "$WINDMC" >&6; }
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9372 $as_echo "no
" >&6; }
9379 for ncn_progname in windmc; do
9380 if test -n "$ncn_tool_prefix"; then
9381 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9382 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9384 $as_echo_n "checking
for $ac_word...
" >&6; }
9385 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9386 $as_echo_n "(cached
) " >&6
9388 if test -n "$WINDMC"; then
9389 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9395 test -z "$as_dir" && as_dir=.
9396 for ac_exec_ext in '' $ac_executable_extensions; do
9397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9398 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9399 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9408 WINDMC=$ac_cv_prog_WINDMC
9409 if test -n "$WINDMC"; then
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9411 $as_echo "$WINDMC" >&6; }
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9414 $as_echo "no
" >&6; }
9419 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9420 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9421 set dummy ${ncn_progname}; ac_word=$2
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9423 $as_echo_n "checking
for $ac_word...
" >&6; }
9424 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9425 $as_echo_n "(cached
) " >&6
9427 if test -n "$WINDMC"; then
9428 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9434 test -z "$as_dir" && as_dir=.
9435 for ac_exec_ext in '' $ac_executable_extensions; do
9436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9437 ac_cv_prog_WINDMC="${ncn_progname}"
9438 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9447 WINDMC=$ac_cv_prog_WINDMC
9448 if test -n "$WINDMC"; then
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9450 $as_echo "$WINDMC" >&6; }
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9453 $as_echo "no
" >&6; }
9458 test -n "$ac_cv_prog_WINDMC" && break
9461 if test -z "$ac_cv_prog_WINDMC" ; then
9463 if test $build = $host ; then
9466 WINDMC="${ncn_tool_prefix}$2"
9472 if test -n "$OBJCOPY"; then
9473 ac_cv_prog_OBJCOPY=$OBJCOPY
9474 elif test -n "$ac_cv_prog_OBJCOPY"; then
9475 OBJCOPY=$ac_cv_prog_OBJCOPY
9478 if test -n "$ac_cv_prog_OBJCOPY"; then
9479 for ncn_progname in objcopy; do
9480 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9481 set dummy ${ncn_progname}; ac_word=$2
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9483 $as_echo_n "checking
for $ac_word...
" >&6; }
9484 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9485 $as_echo_n "(cached
) " >&6
9487 if test -n "$OBJCOPY"; then
9488 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9494 test -z "$as_dir" && as_dir=.
9495 for ac_exec_ext in '' $ac_executable_extensions; do
9496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9497 ac_cv_prog_OBJCOPY="${ncn_progname}"
9498 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9507 OBJCOPY=$ac_cv_prog_OBJCOPY
9508 if test -n "$OBJCOPY"; then
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9510 $as_echo "$OBJCOPY" >&6; }
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9513 $as_echo "no
" >&6; }
9520 for ncn_progname in objcopy; do
9521 if test -n "$ncn_tool_prefix"; then
9522 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9523 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9525 $as_echo_n "checking
for $ac_word...
" >&6; }
9526 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9527 $as_echo_n "(cached
) " >&6
9529 if test -n "$OBJCOPY"; then
9530 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9536 test -z "$as_dir" && as_dir=.
9537 for ac_exec_ext in '' $ac_executable_extensions; do
9538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9539 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9540 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9549 OBJCOPY=$ac_cv_prog_OBJCOPY
9550 if test -n "$OBJCOPY"; then
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9552 $as_echo "$OBJCOPY" >&6; }
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9555 $as_echo "no
" >&6; }
9560 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9561 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9562 set dummy ${ncn_progname}; ac_word=$2
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9564 $as_echo_n "checking
for $ac_word...
" >&6; }
9565 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9566 $as_echo_n "(cached
) " >&6
9568 if test -n "$OBJCOPY"; then
9569 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9575 test -z "$as_dir" && as_dir=.
9576 for ac_exec_ext in '' $ac_executable_extensions; do
9577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9578 ac_cv_prog_OBJCOPY="${ncn_progname}"
9579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9588 OBJCOPY=$ac_cv_prog_OBJCOPY
9589 if test -n "$OBJCOPY"; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9591 $as_echo "$OBJCOPY" >&6; }
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9594 $as_echo "no
" >&6; }
9599 test -n "$ac_cv_prog_OBJCOPY" && break
9602 if test -z "$ac_cv_prog_OBJCOPY" ; then
9604 if test $build = $host ; then
9607 OBJCOPY="${ncn_tool_prefix}$2"
9613 if test -n "$OBJDUMP"; then
9614 ac_cv_prog_OBJDUMP=$OBJDUMP
9615 elif test -n "$ac_cv_prog_OBJDUMP"; then
9616 OBJDUMP=$ac_cv_prog_OBJDUMP
9619 if test -n "$ac_cv_prog_OBJDUMP"; then
9620 for ncn_progname in objdump; do
9621 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9622 set dummy ${ncn_progname}; ac_word=$2
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9624 $as_echo_n "checking
for $ac_word...
" >&6; }
9625 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9626 $as_echo_n "(cached
) " >&6
9628 if test -n "$OBJDUMP"; then
9629 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9635 test -z "$as_dir" && as_dir=.
9636 for ac_exec_ext in '' $ac_executable_extensions; do
9637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9638 ac_cv_prog_OBJDUMP="${ncn_progname}"
9639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9648 OBJDUMP=$ac_cv_prog_OBJDUMP
9649 if test -n "$OBJDUMP"; then
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9651 $as_echo "$OBJDUMP" >&6; }
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9654 $as_echo "no
" >&6; }
9661 for ncn_progname in objdump; do
9662 if test -n "$ncn_tool_prefix"; then
9663 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9664 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9666 $as_echo_n "checking
for $ac_word...
" >&6; }
9667 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9668 $as_echo_n "(cached
) " >&6
9670 if test -n "$OBJDUMP"; then
9671 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9677 test -z "$as_dir" && as_dir=.
9678 for ac_exec_ext in '' $ac_executable_extensions; do
9679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9680 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9690 OBJDUMP=$ac_cv_prog_OBJDUMP
9691 if test -n "$OBJDUMP"; then
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9693 $as_echo "$OBJDUMP" >&6; }
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9696 $as_echo "no
" >&6; }
9701 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9702 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9703 set dummy ${ncn_progname}; ac_word=$2
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9705 $as_echo_n "checking
for $ac_word...
" >&6; }
9706 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9707 $as_echo_n "(cached
) " >&6
9709 if test -n "$OBJDUMP"; then
9710 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9716 test -z "$as_dir" && as_dir=.
9717 for ac_exec_ext in '' $ac_executable_extensions; do
9718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9719 ac_cv_prog_OBJDUMP="${ncn_progname}"
9720 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9729 OBJDUMP=$ac_cv_prog_OBJDUMP
9730 if test -n "$OBJDUMP"; then
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9732 $as_echo "$OBJDUMP" >&6; }
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9735 $as_echo "no
" >&6; }
9740 test -n "$ac_cv_prog_OBJDUMP" && break
9743 if test -z "$ac_cv_prog_OBJDUMP" ; then
9745 if test $build = $host ; then
9748 OBJDUMP="${ncn_tool_prefix}$2"
9754 if test -n "$READELF"; then
9755 ac_cv_prog_READELF=$READELF
9756 elif test -n "$ac_cv_prog_READELF"; then
9757 READELF=$ac_cv_prog_READELF
9760 if test -n "$ac_cv_prog_READELF"; then
9761 for ncn_progname in readelf; do
9762 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9763 set dummy ${ncn_progname}; ac_word=$2
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9765 $as_echo_n "checking
for $ac_word...
" >&6; }
9766 if test "${ac_cv_prog_READELF+set}" = set; then :
9767 $as_echo_n "(cached
) " >&6
9769 if test -n "$READELF"; then
9770 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9776 test -z "$as_dir" && as_dir=.
9777 for ac_exec_ext in '' $ac_executable_extensions; do
9778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9779 ac_cv_prog_READELF="${ncn_progname}"
9780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9789 READELF=$ac_cv_prog_READELF
9790 if test -n "$READELF"; then
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9792 $as_echo "$READELF" >&6; }
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9795 $as_echo "no
" >&6; }
9802 for ncn_progname in readelf; do
9803 if test -n "$ncn_tool_prefix"; then
9804 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9805 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9807 $as_echo_n "checking
for $ac_word...
" >&6; }
9808 if test "${ac_cv_prog_READELF+set}" = set; then :
9809 $as_echo_n "(cached
) " >&6
9811 if test -n "$READELF"; then
9812 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9818 test -z "$as_dir" && as_dir=.
9819 for ac_exec_ext in '' $ac_executable_extensions; do
9820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9821 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9831 READELF=$ac_cv_prog_READELF
9832 if test -n "$READELF"; then
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9834 $as_echo "$READELF" >&6; }
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9837 $as_echo "no
" >&6; }
9842 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9843 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9844 set dummy ${ncn_progname}; ac_word=$2
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9846 $as_echo_n "checking
for $ac_word...
" >&6; }
9847 if test "${ac_cv_prog_READELF+set}" = set; then :
9848 $as_echo_n "(cached
) " >&6
9850 if test -n "$READELF"; then
9851 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9857 test -z "$as_dir" && as_dir=.
9858 for ac_exec_ext in '' $ac_executable_extensions; do
9859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9860 ac_cv_prog_READELF="${ncn_progname}"
9861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9870 READELF=$ac_cv_prog_READELF
9871 if test -n "$READELF"; then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9873 $as_echo "$READELF" >&6; }
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9876 $as_echo "no
" >&6; }
9881 test -n "$ac_cv_prog_READELF" && break
9884 if test -z "$ac_cv_prog_READELF" ; then
9886 if test $build = $host ; then
9889 READELF="${ncn_tool_prefix}$2"
9900 # Check whether --with-build-time-tools was given.
9901 if test "${with_build_time_tools+set}" = set; then :
9902 withval=$with_build_time_tools; case x"$withval" in
9905 with_build_time_tools=
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9907 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9911 with_build_time_tools=
9917 if test -n "$CC_FOR_TARGET"; then
9918 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9919 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9920 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9923 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9924 for ncn_progname in cc gcc; do
9925 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9926 set dummy ${ncn_progname}; ac_word=$2
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9928 $as_echo_n "checking
for $ac_word...
" >&6; }
9929 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9930 $as_echo_n "(cached
) " >&6
9932 if test -n "$CC_FOR_TARGET"; then
9933 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9939 test -z "$as_dir" && as_dir=.
9940 for ac_exec_ext in '' $ac_executable_extensions; do
9941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9942 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9952 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9953 if test -n "$CC_FOR_TARGET"; then
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9955 $as_echo "$CC_FOR_TARGET" >&6; }
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9958 $as_echo "no
" >&6; }
9965 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9966 for ncn_progname in cc gcc; do
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9968 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9969 if test -x $with_build_time_tools/${ncn_progname}; then
9970 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9972 $as_echo "yes" >&6; }
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9976 $as_echo "no
" >&6; }
9981 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9982 for ncn_progname in cc gcc; do
9983 if test -n "$ncn_target_tool_prefix"; then
9984 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9985 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9987 $as_echo_n "checking
for $ac_word...
" >&6; }
9988 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9989 $as_echo_n "(cached
) " >&6
9991 if test -n "$CC_FOR_TARGET"; then
9992 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9998 test -z "$as_dir" && as_dir=.
9999 for ac_exec_ext in '' $ac_executable_extensions; do
10000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10001 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10002 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10011 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10012 if test -n "$CC_FOR_TARGET"; then
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10014 $as_echo "$CC_FOR_TARGET" >&6; }
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10017 $as_echo "no
" >&6; }
10022 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10023 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10024 set dummy ${ncn_progname}; ac_word=$2
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10026 $as_echo_n "checking
for $ac_word...
" >&6; }
10027 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10028 $as_echo_n "(cached
) " >&6
10030 if test -n "$CC_FOR_TARGET"; then
10031 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10034 for as_dir in $PATH
10037 test -z "$as_dir" && as_dir=.
10038 for ac_exec_ext in '' $ac_executable_extensions; do
10039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10040 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10041 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10050 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10051 if test -n "$CC_FOR_TARGET"; then
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10053 $as_echo "$CC_FOR_TARGET" >&6; }
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10056 $as_echo "no
" >&6; }
10061 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10065 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10067 if test $build = $target ; then
10070 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10073 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10078 if test -n "$CXX_FOR_TARGET"; then
10079 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10080 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10081 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10084 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10085 for ncn_progname in c++ g++ cxx gxx; do
10086 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10087 set dummy ${ncn_progname}; ac_word=$2
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10089 $as_echo_n "checking
for $ac_word...
" >&6; }
10090 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10091 $as_echo_n "(cached
) " >&6
10093 if test -n "$CXX_FOR_TARGET"; then
10094 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10097 for as_dir in $PATH
10100 test -z "$as_dir" && as_dir=.
10101 for ac_exec_ext in '' $ac_executable_extensions; do
10102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10103 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10113 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10114 if test -n "$CXX_FOR_TARGET"; then
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10116 $as_echo "$CXX_FOR_TARGET" >&6; }
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10119 $as_echo "no
" >&6; }
10126 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10127 for ncn_progname in c++ g++ cxx gxx; do
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10129 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10130 if test -x $with_build_time_tools/${ncn_progname}; then
10131 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10133 $as_echo "yes" >&6; }
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10137 $as_echo "no
" >&6; }
10142 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10143 for ncn_progname in c++ g++ cxx gxx; do
10144 if test -n "$ncn_target_tool_prefix"; then
10145 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10146 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10148 $as_echo_n "checking
for $ac_word...
" >&6; }
10149 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10150 $as_echo_n "(cached
) " >&6
10152 if test -n "$CXX_FOR_TARGET"; then
10153 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10156 for as_dir in $PATH
10159 test -z "$as_dir" && as_dir=.
10160 for ac_exec_ext in '' $ac_executable_extensions; do
10161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10162 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10172 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10173 if test -n "$CXX_FOR_TARGET"; then
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10175 $as_echo "$CXX_FOR_TARGET" >&6; }
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10178 $as_echo "no
" >&6; }
10183 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10184 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10185 set dummy ${ncn_progname}; ac_word=$2
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10187 $as_echo_n "checking
for $ac_word...
" >&6; }
10188 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10189 $as_echo_n "(cached
) " >&6
10191 if test -n "$CXX_FOR_TARGET"; then
10192 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10195 for as_dir in $PATH
10198 test -z "$as_dir" && as_dir=.
10199 for ac_exec_ext in '' $ac_executable_extensions; do
10200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10201 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10211 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10212 if test -n "$CXX_FOR_TARGET"; then
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10214 $as_echo "$CXX_FOR_TARGET" >&6; }
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10217 $as_echo "no
" >&6; }
10222 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10226 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10227 set dummy c++ g++ cxx gxx
10228 if test $build = $target ; then
10229 CXX_FOR_TARGET="$2"
10231 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10234 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10239 if test -n "$GCC_FOR_TARGET"; then
10240 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10241 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10242 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10245 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10246 for ncn_progname in gcc; do
10247 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10248 set dummy ${ncn_progname}; ac_word=$2
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10250 $as_echo_n "checking
for $ac_word...
" >&6; }
10251 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10252 $as_echo_n "(cached
) " >&6
10254 if test -n "$GCC_FOR_TARGET"; then
10255 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10258 for as_dir in $PATH
10261 test -z "$as_dir" && as_dir=.
10262 for ac_exec_ext in '' $ac_executable_extensions; do
10263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10264 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10274 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10275 if test -n "$GCC_FOR_TARGET"; then
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10277 $as_echo "$GCC_FOR_TARGET" >&6; }
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10280 $as_echo "no
" >&6; }
10287 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10288 for ncn_progname in gcc; do
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10290 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10291 if test -x $with_build_time_tools/${ncn_progname}; then
10292 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10294 $as_echo "yes" >&6; }
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10298 $as_echo "no
" >&6; }
10303 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10304 for ncn_progname in gcc; do
10305 if test -n "$ncn_target_tool_prefix"; then
10306 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10307 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10309 $as_echo_n "checking
for $ac_word...
" >&6; }
10310 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10311 $as_echo_n "(cached
) " >&6
10313 if test -n "$GCC_FOR_TARGET"; then
10314 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10317 for as_dir in $PATH
10320 test -z "$as_dir" && as_dir=.
10321 for ac_exec_ext in '' $ac_executable_extensions; do
10322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10323 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10324 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10333 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10334 if test -n "$GCC_FOR_TARGET"; then
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10336 $as_echo "$GCC_FOR_TARGET" >&6; }
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10339 $as_echo "no
" >&6; }
10344 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10345 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10346 set dummy ${ncn_progname}; ac_word=$2
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10348 $as_echo_n "checking
for $ac_word...
" >&6; }
10349 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10350 $as_echo_n "(cached
) " >&6
10352 if test -n "$GCC_FOR_TARGET"; then
10353 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10356 for as_dir in $PATH
10359 test -z "$as_dir" && as_dir=.
10360 for ac_exec_ext in '' $ac_executable_extensions; do
10361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10362 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10372 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10373 if test -n "$GCC_FOR_TARGET"; then
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10375 $as_echo "$GCC_FOR_TARGET" >&6; }
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10378 $as_echo "no
" >&6; }
10383 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10387 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10388 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10390 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10395 if test -n "$GFORTRAN_FOR_TARGET"; then
10396 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10397 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10398 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10401 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10402 for ncn_progname in gfortran; do
10403 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10404 set dummy ${ncn_progname}; ac_word=$2
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10406 $as_echo_n "checking
for $ac_word...
" >&6; }
10407 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10408 $as_echo_n "(cached
) " >&6
10410 if test -n "$GFORTRAN_FOR_TARGET"; then
10411 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10414 for as_dir in $PATH
10417 test -z "$as_dir" && as_dir=.
10418 for ac_exec_ext in '' $ac_executable_extensions; do
10419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10420 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10421 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10430 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10431 if test -n "$GFORTRAN_FOR_TARGET"; then
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10433 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10436 $as_echo "no
" >&6; }
10443 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10444 for ncn_progname in gfortran; do
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10446 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10447 if test -x $with_build_time_tools/${ncn_progname}; then
10448 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10450 $as_echo "yes" >&6; }
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10454 $as_echo "no
" >&6; }
10459 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10460 for ncn_progname in gfortran; do
10461 if test -n "$ncn_target_tool_prefix"; then
10462 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10463 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10465 $as_echo_n "checking
for $ac_word...
" >&6; }
10466 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10467 $as_echo_n "(cached
) " >&6
10469 if test -n "$GFORTRAN_FOR_TARGET"; then
10470 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10473 for as_dir in $PATH
10476 test -z "$as_dir" && as_dir=.
10477 for ac_exec_ext in '' $ac_executable_extensions; do
10478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10479 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10480 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10489 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10490 if test -n "$GFORTRAN_FOR_TARGET"; then
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10492 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10495 $as_echo "no
" >&6; }
10500 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10501 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10502 set dummy ${ncn_progname}; ac_word=$2
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10504 $as_echo_n "checking
for $ac_word...
" >&6; }
10505 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10506 $as_echo_n "(cached
) " >&6
10508 if test -n "$GFORTRAN_FOR_TARGET"; then
10509 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10512 for as_dir in $PATH
10515 test -z "$as_dir" && as_dir=.
10516 for ac_exec_ext in '' $ac_executable_extensions; do
10517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10518 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10519 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10528 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10529 if test -n "$GFORTRAN_FOR_TARGET"; then
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10531 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10534 $as_echo "no
" >&6; }
10539 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10543 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10545 if test $build = $target ; then
10546 GFORTRAN_FOR_TARGET="$2"
10548 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10551 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10556 if test -n "$GOC_FOR_TARGET"; then
10557 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10558 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10559 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10562 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10563 for ncn_progname in gccgo; do
10564 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10565 set dummy ${ncn_progname}; ac_word=$2
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10567 $as_echo_n "checking
for $ac_word...
" >&6; }
10568 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10569 $as_echo_n "(cached
) " >&6
10571 if test -n "$GOC_FOR_TARGET"; then
10572 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10575 for as_dir in $PATH
10578 test -z "$as_dir" && as_dir=.
10579 for ac_exec_ext in '' $ac_executable_extensions; do
10580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10581 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10582 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10591 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10592 if test -n "$GOC_FOR_TARGET"; then
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10594 $as_echo "$GOC_FOR_TARGET" >&6; }
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10597 $as_echo "no
" >&6; }
10604 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10605 for ncn_progname in gccgo; do
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10607 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10608 if test -x $with_build_time_tools/${ncn_progname}; then
10609 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10611 $as_echo "yes" >&6; }
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10615 $as_echo "no
" >&6; }
10620 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10621 for ncn_progname in gccgo; do
10622 if test -n "$ncn_target_tool_prefix"; then
10623 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10624 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10626 $as_echo_n "checking
for $ac_word...
" >&6; }
10627 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10628 $as_echo_n "(cached
) " >&6
10630 if test -n "$GOC_FOR_TARGET"; then
10631 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10634 for as_dir in $PATH
10637 test -z "$as_dir" && as_dir=.
10638 for ac_exec_ext in '' $ac_executable_extensions; do
10639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10640 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10641 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10650 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10651 if test -n "$GOC_FOR_TARGET"; then
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10653 $as_echo "$GOC_FOR_TARGET" >&6; }
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10656 $as_echo "no
" >&6; }
10661 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10662 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10663 set dummy ${ncn_progname}; ac_word=$2
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10665 $as_echo_n "checking
for $ac_word...
" >&6; }
10666 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10667 $as_echo_n "(cached
) " >&6
10669 if test -n "$GOC_FOR_TARGET"; then
10670 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10673 for as_dir in $PATH
10676 test -z "$as_dir" && as_dir=.
10677 for ac_exec_ext in '' $ac_executable_extensions; do
10678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10679 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10680 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10689 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10690 if test -n "$GOC_FOR_TARGET"; then
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10692 $as_echo "$GOC_FOR_TARGET" >&6; }
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10695 $as_echo "no
" >&6; }
10700 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10704 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10706 if test $build = $target ; then
10707 GOC_FOR_TARGET="$2"
10709 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10712 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10717 cat > conftest.c << \EOF
10722 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10723 have_gcc_for_target=yes
10725 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10726 have_gcc_for_target=no
10733 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10734 if test -n "$with_build_time_tools"; then
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10736 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10737 if test -x $with_build_time_tools/ar; then
10738 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10739 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10741 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10744 $as_echo "no
" >&6; }
10746 elif test $build != $host && test $have_gcc_for_target = yes; then
10747 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10748 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10749 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10752 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10753 # Extract the first word of "ar", so it can be a program name with args.
10754 set dummy ar; ac_word=$2
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10756 $as_echo_n "checking
for $ac_word...
" >&6; }
10757 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10758 $as_echo_n "(cached
) " >&6
10760 case $AR_FOR_TARGET in
10762 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10766 for as_dir in $gcc_cv_tool_dirs
10769 test -z "$as_dir" && as_dir=.
10770 for ac_exec_ext in '' $ac_executable_extensions; do
10771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10772 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10783 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10784 if test -n "$AR_FOR_TARGET"; then
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10786 $as_echo "$AR_FOR_TARGET" >&6; }
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10789 $as_echo "no
" >&6; }
10794 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10797 if test -n "$AR_FOR_TARGET"; then
10798 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10799 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10800 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10803 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10804 for ncn_progname in ar; do
10805 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10806 set dummy ${ncn_progname}; ac_word=$2
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10808 $as_echo_n "checking
for $ac_word...
" >&6; }
10809 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10810 $as_echo_n "(cached
) " >&6
10812 if test -n "$AR_FOR_TARGET"; then
10813 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10816 for as_dir in $PATH
10819 test -z "$as_dir" && as_dir=.
10820 for ac_exec_ext in '' $ac_executable_extensions; do
10821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10822 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10823 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10832 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10833 if test -n "$AR_FOR_TARGET"; then
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10835 $as_echo "$AR_FOR_TARGET" >&6; }
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10838 $as_echo "no
" >&6; }
10845 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10846 for ncn_progname in ar; do
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10848 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10849 if test -x $with_build_time_tools/${ncn_progname}; then
10850 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10852 $as_echo "yes" >&6; }
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10856 $as_echo "no
" >&6; }
10861 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10862 for ncn_progname in ar; do
10863 if test -n "$ncn_target_tool_prefix"; then
10864 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10865 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10867 $as_echo_n "checking
for $ac_word...
" >&6; }
10868 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10869 $as_echo_n "(cached
) " >&6
10871 if test -n "$AR_FOR_TARGET"; then
10872 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10875 for as_dir in $PATH
10878 test -z "$as_dir" && as_dir=.
10879 for ac_exec_ext in '' $ac_executable_extensions; do
10880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10881 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10882 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10891 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10892 if test -n "$AR_FOR_TARGET"; then
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10894 $as_echo "$AR_FOR_TARGET" >&6; }
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10897 $as_echo "no
" >&6; }
10902 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10903 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10904 set dummy ${ncn_progname}; ac_word=$2
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10906 $as_echo_n "checking
for $ac_word...
" >&6; }
10907 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10908 $as_echo_n "(cached
) " >&6
10910 if test -n "$AR_FOR_TARGET"; then
10911 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10914 for as_dir in $PATH
10917 test -z "$as_dir" && as_dir=.
10918 for ac_exec_ext in '' $ac_executable_extensions; do
10919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10920 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10921 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10930 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10931 if test -n "$AR_FOR_TARGET"; then
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10933 $as_echo "$AR_FOR_TARGET" >&6; }
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10936 $as_echo "no
" >&6; }
10941 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10945 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10947 if test $build = $target ; then
10950 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10953 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10957 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10963 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10964 if test -n "$with_build_time_tools"; then
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10966 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10967 if test -x $with_build_time_tools/as; then
10968 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10969 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10971 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10974 $as_echo "no
" >&6; }
10976 elif test $build != $host && test $have_gcc_for_target = yes; then
10977 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10978 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10979 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10982 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10983 # Extract the first word of "as
", so it can be a program name with args.
10984 set dummy as; ac_word=$2
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10986 $as_echo_n "checking
for $ac_word...
" >&6; }
10987 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10988 $as_echo_n "(cached
) " >&6
10990 case $AS_FOR_TARGET in
10992 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10996 for as_dir in $gcc_cv_tool_dirs
10999 test -z "$as_dir" && as_dir=.
11000 for ac_exec_ext in '' $ac_executable_extensions; do
11001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11002 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11003 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11013 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11014 if test -n "$AS_FOR_TARGET"; then
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11016 $as_echo "$AS_FOR_TARGET" >&6; }
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11019 $as_echo "no
" >&6; }
11024 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11027 if test -n "$AS_FOR_TARGET"; then
11028 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11029 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11030 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11033 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11034 for ncn_progname in as; do
11035 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11036 set dummy ${ncn_progname}; ac_word=$2
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11038 $as_echo_n "checking
for $ac_word...
" >&6; }
11039 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11040 $as_echo_n "(cached
) " >&6
11042 if test -n "$AS_FOR_TARGET"; then
11043 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11046 for as_dir in $PATH
11049 test -z "$as_dir" && as_dir=.
11050 for ac_exec_ext in '' $ac_executable_extensions; do
11051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11052 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11053 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11062 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11063 if test -n "$AS_FOR_TARGET"; then
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11065 $as_echo "$AS_FOR_TARGET" >&6; }
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11068 $as_echo "no
" >&6; }
11075 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11076 for ncn_progname in as; do
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11078 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11079 if test -x $with_build_time_tools/${ncn_progname}; then
11080 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11082 $as_echo "yes" >&6; }
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11086 $as_echo "no
" >&6; }
11091 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11092 for ncn_progname in as; do
11093 if test -n "$ncn_target_tool_prefix"; then
11094 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11095 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11097 $as_echo_n "checking
for $ac_word...
" >&6; }
11098 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11099 $as_echo_n "(cached
) " >&6
11101 if test -n "$AS_FOR_TARGET"; then
11102 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11105 for as_dir in $PATH
11108 test -z "$as_dir" && as_dir=.
11109 for ac_exec_ext in '' $ac_executable_extensions; do
11110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11111 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11112 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11121 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11122 if test -n "$AS_FOR_TARGET"; then
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11124 $as_echo "$AS_FOR_TARGET" >&6; }
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11127 $as_echo "no
" >&6; }
11132 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11133 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11134 set dummy ${ncn_progname}; ac_word=$2
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11136 $as_echo_n "checking
for $ac_word...
" >&6; }
11137 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11138 $as_echo_n "(cached
) " >&6
11140 if test -n "$AS_FOR_TARGET"; then
11141 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11144 for as_dir in $PATH
11147 test -z "$as_dir" && as_dir=.
11148 for ac_exec_ext in '' $ac_executable_extensions; do
11149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11150 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11151 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11160 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11161 if test -n "$AS_FOR_TARGET"; then
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11163 $as_echo "$AS_FOR_TARGET" >&6; }
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11166 $as_echo "no
" >&6; }
11171 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11175 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11177 if test $build = $target ; then
11180 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11183 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11187 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11193 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11194 if test -n "$with_build_time_tools"; then
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11196 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11197 if test -x $with_build_time_tools/dlltool; then
11198 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11199 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11201 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11204 $as_echo "no
" >&6; }
11206 elif test $build != $host && test $have_gcc_for_target = yes; then
11207 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11208 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11209 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11212 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11213 # Extract the first word of "dlltool
", so it can be a program name with args.
11214 set dummy dlltool; ac_word=$2
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11216 $as_echo_n "checking
for $ac_word...
" >&6; }
11217 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11218 $as_echo_n "(cached
) " >&6
11220 case $DLLTOOL_FOR_TARGET in
11222 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11226 for as_dir in $gcc_cv_tool_dirs
11229 test -z "$as_dir" && as_dir=.
11230 for ac_exec_ext in '' $ac_executable_extensions; do
11231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11232 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11233 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11243 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11244 if test -n "$DLLTOOL_FOR_TARGET"; then
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11246 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11249 $as_echo "no
" >&6; }
11254 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11257 if test -n "$DLLTOOL_FOR_TARGET"; then
11258 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11259 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11260 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11263 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11264 for ncn_progname in dlltool; do
11265 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11266 set dummy ${ncn_progname}; ac_word=$2
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11268 $as_echo_n "checking
for $ac_word...
" >&6; }
11269 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11270 $as_echo_n "(cached
) " >&6
11272 if test -n "$DLLTOOL_FOR_TARGET"; then
11273 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11276 for as_dir in $PATH
11279 test -z "$as_dir" && as_dir=.
11280 for ac_exec_ext in '' $ac_executable_extensions; do
11281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11282 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11283 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11292 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11293 if test -n "$DLLTOOL_FOR_TARGET"; then
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11295 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11298 $as_echo "no
" >&6; }
11305 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11306 for ncn_progname in dlltool; do
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11308 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11309 if test -x $with_build_time_tools/${ncn_progname}; then
11310 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11312 $as_echo "yes" >&6; }
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11316 $as_echo "no
" >&6; }
11321 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11322 for ncn_progname in dlltool; do
11323 if test -n "$ncn_target_tool_prefix"; then
11324 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11325 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11327 $as_echo_n "checking
for $ac_word...
" >&6; }
11328 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11329 $as_echo_n "(cached
) " >&6
11331 if test -n "$DLLTOOL_FOR_TARGET"; then
11332 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11335 for as_dir in $PATH
11338 test -z "$as_dir" && as_dir=.
11339 for ac_exec_ext in '' $ac_executable_extensions; do
11340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11341 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11342 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11351 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11352 if test -n "$DLLTOOL_FOR_TARGET"; then
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11354 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11357 $as_echo "no
" >&6; }
11362 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11363 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11364 set dummy ${ncn_progname}; ac_word=$2
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11366 $as_echo_n "checking
for $ac_word...
" >&6; }
11367 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11368 $as_echo_n "(cached
) " >&6
11370 if test -n "$DLLTOOL_FOR_TARGET"; then
11371 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11374 for as_dir in $PATH
11377 test -z "$as_dir" && as_dir=.
11378 for ac_exec_ext in '' $ac_executable_extensions; do
11379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11380 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11381 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11390 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11391 if test -n "$DLLTOOL_FOR_TARGET"; then
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11393 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11396 $as_echo "no
" >&6; }
11401 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11405 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11407 if test $build = $target ; then
11408 DLLTOOL_FOR_TARGET="$2"
11410 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11413 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11417 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11423 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11424 if test -n "$with_build_time_tools"; then
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11426 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11427 if test -x $with_build_time_tools/ld; then
11428 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11429 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11431 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11434 $as_echo "no
" >&6; }
11436 elif test $build != $host && test $have_gcc_for_target = yes; then
11437 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11438 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11439 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11442 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11443 # Extract the first word of "ld
", so it can be a program name with args.
11444 set dummy ld; ac_word=$2
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11446 $as_echo_n "checking
for $ac_word...
" >&6; }
11447 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11448 $as_echo_n "(cached
) " >&6
11450 case $LD_FOR_TARGET in
11452 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11456 for as_dir in $gcc_cv_tool_dirs
11459 test -z "$as_dir" && as_dir=.
11460 for ac_exec_ext in '' $ac_executable_extensions; do
11461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11462 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11463 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11473 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11474 if test -n "$LD_FOR_TARGET"; then
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11476 $as_echo "$LD_FOR_TARGET" >&6; }
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11479 $as_echo "no
" >&6; }
11484 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11487 if test -n "$LD_FOR_TARGET"; then
11488 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11489 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11490 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11493 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11494 for ncn_progname in ld; do
11495 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11496 set dummy ${ncn_progname}; ac_word=$2
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11498 $as_echo_n "checking
for $ac_word...
" >&6; }
11499 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11500 $as_echo_n "(cached
) " >&6
11502 if test -n "$LD_FOR_TARGET"; then
11503 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11506 for as_dir in $PATH
11509 test -z "$as_dir" && as_dir=.
11510 for ac_exec_ext in '' $ac_executable_extensions; do
11511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11512 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11513 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11522 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11523 if test -n "$LD_FOR_TARGET"; then
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11525 $as_echo "$LD_FOR_TARGET" >&6; }
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11528 $as_echo "no
" >&6; }
11535 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11536 for ncn_progname in ld; do
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11538 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11539 if test -x $with_build_time_tools/${ncn_progname}; then
11540 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11542 $as_echo "yes" >&6; }
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11546 $as_echo "no
" >&6; }
11551 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11552 for ncn_progname in ld; do
11553 if test -n "$ncn_target_tool_prefix"; then
11554 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11555 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11557 $as_echo_n "checking
for $ac_word...
" >&6; }
11558 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11559 $as_echo_n "(cached
) " >&6
11561 if test -n "$LD_FOR_TARGET"; then
11562 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11565 for as_dir in $PATH
11568 test -z "$as_dir" && as_dir=.
11569 for ac_exec_ext in '' $ac_executable_extensions; do
11570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11571 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11581 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11582 if test -n "$LD_FOR_TARGET"; then
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11584 $as_echo "$LD_FOR_TARGET" >&6; }
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11587 $as_echo "no
" >&6; }
11592 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11593 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11594 set dummy ${ncn_progname}; ac_word=$2
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11596 $as_echo_n "checking
for $ac_word...
" >&6; }
11597 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11598 $as_echo_n "(cached
) " >&6
11600 if test -n "$LD_FOR_TARGET"; then
11601 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11604 for as_dir in $PATH
11607 test -z "$as_dir" && as_dir=.
11608 for ac_exec_ext in '' $ac_executable_extensions; do
11609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11610 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11611 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11620 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11621 if test -n "$LD_FOR_TARGET"; then
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11623 $as_echo "$LD_FOR_TARGET" >&6; }
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11626 $as_echo "no
" >&6; }
11631 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11635 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11637 if test $build = $target ; then
11640 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11643 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11647 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11653 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11654 if test -n "$with_build_time_tools"; then
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11656 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11657 if test -x $with_build_time_tools/lipo; then
11658 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11659 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11661 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11664 $as_echo "no
" >&6; }
11666 elif test $build != $host && test $have_gcc_for_target = yes; then
11667 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11668 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11669 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11672 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11673 # Extract the first word of "lipo
", so it can be a program name with args.
11674 set dummy lipo; ac_word=$2
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11676 $as_echo_n "checking
for $ac_word...
" >&6; }
11677 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11678 $as_echo_n "(cached
) " >&6
11680 case $LIPO_FOR_TARGET in
11682 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11686 for as_dir in $gcc_cv_tool_dirs
11689 test -z "$as_dir" && as_dir=.
11690 for ac_exec_ext in '' $ac_executable_extensions; do
11691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11692 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11693 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11703 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11704 if test -n "$LIPO_FOR_TARGET"; then
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11706 $as_echo "$LIPO_FOR_TARGET" >&6; }
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11709 $as_echo "no
" >&6; }
11714 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11717 if test -n "$LIPO_FOR_TARGET"; then
11718 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11719 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11720 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11723 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11724 for ncn_progname in lipo; do
11725 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11726 set dummy ${ncn_progname}; ac_word=$2
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11728 $as_echo_n "checking
for $ac_word...
" >&6; }
11729 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11730 $as_echo_n "(cached
) " >&6
11732 if test -n "$LIPO_FOR_TARGET"; then
11733 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11736 for as_dir in $PATH
11739 test -z "$as_dir" && as_dir=.
11740 for ac_exec_ext in '' $ac_executable_extensions; do
11741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11742 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11752 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11753 if test -n "$LIPO_FOR_TARGET"; then
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11755 $as_echo "$LIPO_FOR_TARGET" >&6; }
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11758 $as_echo "no
" >&6; }
11765 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11766 for ncn_progname in lipo; do
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11768 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11769 if test -x $with_build_time_tools/${ncn_progname}; then
11770 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11772 $as_echo "yes" >&6; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11776 $as_echo "no
" >&6; }
11781 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11782 for ncn_progname in lipo; do
11783 if test -n "$ncn_target_tool_prefix"; then
11784 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11785 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11787 $as_echo_n "checking
for $ac_word...
" >&6; }
11788 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11789 $as_echo_n "(cached
) " >&6
11791 if test -n "$LIPO_FOR_TARGET"; then
11792 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11795 for as_dir in $PATH
11798 test -z "$as_dir" && as_dir=.
11799 for ac_exec_ext in '' $ac_executable_extensions; do
11800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11801 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11802 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11811 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11812 if test -n "$LIPO_FOR_TARGET"; then
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11814 $as_echo "$LIPO_FOR_TARGET" >&6; }
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11817 $as_echo "no
" >&6; }
11822 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11823 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11824 set dummy ${ncn_progname}; ac_word=$2
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11826 $as_echo_n "checking
for $ac_word...
" >&6; }
11827 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11828 $as_echo_n "(cached
) " >&6
11830 if test -n "$LIPO_FOR_TARGET"; then
11831 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11834 for as_dir in $PATH
11837 test -z "$as_dir" && as_dir=.
11838 for ac_exec_ext in '' $ac_executable_extensions; do
11839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11840 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11841 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11850 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11851 if test -n "$LIPO_FOR_TARGET"; then
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11853 $as_echo "$LIPO_FOR_TARGET" >&6; }
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11856 $as_echo "no
" >&6; }
11861 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11865 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11867 if test $build = $target ; then
11868 LIPO_FOR_TARGET="$2"
11870 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11873 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11877 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11883 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11884 if test -n "$with_build_time_tools"; then
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11886 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11887 if test -x $with_build_time_tools/nm; then
11888 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11889 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11891 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11894 $as_echo "no
" >&6; }
11896 elif test $build != $host && test $have_gcc_for_target = yes; then
11897 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11898 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11899 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11902 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11903 # Extract the first word of "nm
", so it can be a program name with args.
11904 set dummy nm; ac_word=$2
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11906 $as_echo_n "checking
for $ac_word...
" >&6; }
11907 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11908 $as_echo_n "(cached
) " >&6
11910 case $NM_FOR_TARGET in
11912 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11916 for as_dir in $gcc_cv_tool_dirs
11919 test -z "$as_dir" && as_dir=.
11920 for ac_exec_ext in '' $ac_executable_extensions; do
11921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11922 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11933 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11934 if test -n "$NM_FOR_TARGET"; then
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11936 $as_echo "$NM_FOR_TARGET" >&6; }
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11939 $as_echo "no
" >&6; }
11944 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11947 if test -n "$NM_FOR_TARGET"; then
11948 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11949 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11950 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11953 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11954 for ncn_progname in nm; do
11955 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11956 set dummy ${ncn_progname}; ac_word=$2
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11958 $as_echo_n "checking
for $ac_word...
" >&6; }
11959 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11960 $as_echo_n "(cached
) " >&6
11962 if test -n "$NM_FOR_TARGET"; then
11963 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11966 for as_dir in $PATH
11969 test -z "$as_dir" && as_dir=.
11970 for ac_exec_ext in '' $ac_executable_extensions; do
11971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11972 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11973 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11982 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11983 if test -n "$NM_FOR_TARGET"; then
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11985 $as_echo "$NM_FOR_TARGET" >&6; }
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11988 $as_echo "no
" >&6; }
11995 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11996 for ncn_progname in nm; do
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11998 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11999 if test -x $with_build_time_tools/${ncn_progname}; then
12000 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12002 $as_echo "yes" >&6; }
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12006 $as_echo "no
" >&6; }
12011 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12012 for ncn_progname in nm; do
12013 if test -n "$ncn_target_tool_prefix"; then
12014 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12015 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12017 $as_echo_n "checking
for $ac_word...
" >&6; }
12018 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12019 $as_echo_n "(cached
) " >&6
12021 if test -n "$NM_FOR_TARGET"; then
12022 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12025 for as_dir in $PATH
12028 test -z "$as_dir" && as_dir=.
12029 for ac_exec_ext in '' $ac_executable_extensions; do
12030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12031 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12032 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12041 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12042 if test -n "$NM_FOR_TARGET"; then
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12044 $as_echo "$NM_FOR_TARGET" >&6; }
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12047 $as_echo "no
" >&6; }
12052 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12053 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12054 set dummy ${ncn_progname}; ac_word=$2
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12056 $as_echo_n "checking
for $ac_word...
" >&6; }
12057 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12058 $as_echo_n "(cached
) " >&6
12060 if test -n "$NM_FOR_TARGET"; then
12061 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12064 for as_dir in $PATH
12067 test -z "$as_dir" && as_dir=.
12068 for ac_exec_ext in '' $ac_executable_extensions; do
12069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12070 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12071 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12080 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12081 if test -n "$NM_FOR_TARGET"; then
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12083 $as_echo "$NM_FOR_TARGET" >&6; }
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12086 $as_echo "no
" >&6; }
12091 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12095 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12097 if test $build = $target ; then
12100 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12103 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12107 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12113 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12114 if test -n "$with_build_time_tools"; then
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12116 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12117 if test -x $with_build_time_tools/objcopy; then
12118 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12119 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12121 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12124 $as_echo "no
" >&6; }
12126 elif test $build != $host && test $have_gcc_for_target = yes; then
12127 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12128 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12129 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12132 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12133 # Extract the first word of "objcopy
", so it can be a program name with args.
12134 set dummy objcopy; ac_word=$2
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12136 $as_echo_n "checking
for $ac_word...
" >&6; }
12137 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
12138 $as_echo_n "(cached
) " >&6
12140 case $OBJCOPY_FOR_TARGET in
12142 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12146 for as_dir in $gcc_cv_tool_dirs
12149 test -z "$as_dir" && as_dir=.
12150 for ac_exec_ext in '' $ac_executable_extensions; do
12151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12152 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12153 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12163 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12164 if test -n "$OBJCOPY_FOR_TARGET"; then
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12166 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12169 $as_echo "no
" >&6; }
12174 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12177 if test -n "$OBJCOPY_FOR_TARGET"; then
12178 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12179 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12180 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12183 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12184 for ncn_progname in objcopy; do
12185 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12186 set dummy ${ncn_progname}; ac_word=$2
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12188 $as_echo_n "checking
for $ac_word...
" >&6; }
12189 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12190 $as_echo_n "(cached
) " >&6
12192 if test -n "$OBJCOPY_FOR_TARGET"; then
12193 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12196 for as_dir in $PATH
12199 test -z "$as_dir" && as_dir=.
12200 for ac_exec_ext in '' $ac_executable_extensions; do
12201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12202 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12203 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12212 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12213 if test -n "$OBJCOPY_FOR_TARGET"; then
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12215 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12218 $as_echo "no
" >&6; }
12225 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12226 for ncn_progname in objcopy; do
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12228 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12229 if test -x $with_build_time_tools/${ncn_progname}; then
12230 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12232 $as_echo "yes" >&6; }
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12236 $as_echo "no
" >&6; }
12241 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12242 for ncn_progname in objcopy; do
12243 if test -n "$ncn_target_tool_prefix"; then
12244 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12245 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12247 $as_echo_n "checking
for $ac_word...
" >&6; }
12248 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12249 $as_echo_n "(cached
) " >&6
12251 if test -n "$OBJCOPY_FOR_TARGET"; then
12252 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12255 for as_dir in $PATH
12258 test -z "$as_dir" && as_dir=.
12259 for ac_exec_ext in '' $ac_executable_extensions; do
12260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12261 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12262 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12271 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12272 if test -n "$OBJCOPY_FOR_TARGET"; then
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12274 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12277 $as_echo "no
" >&6; }
12282 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12283 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12284 set dummy ${ncn_progname}; ac_word=$2
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12286 $as_echo_n "checking
for $ac_word...
" >&6; }
12287 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12288 $as_echo_n "(cached
) " >&6
12290 if test -n "$OBJCOPY_FOR_TARGET"; then
12291 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12294 for as_dir in $PATH
12297 test -z "$as_dir" && as_dir=.
12298 for ac_exec_ext in '' $ac_executable_extensions; do
12299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12300 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12301 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12310 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12311 if test -n "$OBJCOPY_FOR_TARGET"; then
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12313 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12316 $as_echo "no
" >&6; }
12321 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12325 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12327 if test $build = $target ; then
12328 OBJCOPY_FOR_TARGET="$2"
12330 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12333 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12337 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12343 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12344 if test -n "$with_build_time_tools"; then
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12346 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12347 if test -x $with_build_time_tools/objdump; then
12348 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12349 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12351 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12354 $as_echo "no
" >&6; }
12356 elif test $build != $host && test $have_gcc_for_target = yes; then
12357 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12358 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12359 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12362 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12363 # Extract the first word of "objdump
", so it can be a program name with args.
12364 set dummy objdump; ac_word=$2
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12366 $as_echo_n "checking
for $ac_word...
" >&6; }
12367 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12368 $as_echo_n "(cached
) " >&6
12370 case $OBJDUMP_FOR_TARGET in
12372 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12376 for as_dir in $gcc_cv_tool_dirs
12379 test -z "$as_dir" && as_dir=.
12380 for ac_exec_ext in '' $ac_executable_extensions; do
12381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12382 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12383 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12393 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12394 if test -n "$OBJDUMP_FOR_TARGET"; then
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12396 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12399 $as_echo "no
" >&6; }
12404 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12407 if test -n "$OBJDUMP_FOR_TARGET"; then
12408 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12409 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12410 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12413 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12414 for ncn_progname in objdump; do
12415 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12416 set dummy ${ncn_progname}; ac_word=$2
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12418 $as_echo_n "checking
for $ac_word...
" >&6; }
12419 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12420 $as_echo_n "(cached
) " >&6
12422 if test -n "$OBJDUMP_FOR_TARGET"; then
12423 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12426 for as_dir in $PATH
12429 test -z "$as_dir" && as_dir=.
12430 for ac_exec_ext in '' $ac_executable_extensions; do
12431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12432 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12433 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12442 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12443 if test -n "$OBJDUMP_FOR_TARGET"; then
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12445 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12448 $as_echo "no
" >&6; }
12455 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12456 for ncn_progname in objdump; do
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12458 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12459 if test -x $with_build_time_tools/${ncn_progname}; then
12460 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12462 $as_echo "yes" >&6; }
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12466 $as_echo "no
" >&6; }
12471 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12472 for ncn_progname in objdump; do
12473 if test -n "$ncn_target_tool_prefix"; then
12474 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12475 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12477 $as_echo_n "checking
for $ac_word...
" >&6; }
12478 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12479 $as_echo_n "(cached
) " >&6
12481 if test -n "$OBJDUMP_FOR_TARGET"; then
12482 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12485 for as_dir in $PATH
12488 test -z "$as_dir" && as_dir=.
12489 for ac_exec_ext in '' $ac_executable_extensions; do
12490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12491 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12492 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12501 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12502 if test -n "$OBJDUMP_FOR_TARGET"; then
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12504 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12507 $as_echo "no
" >&6; }
12512 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12513 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12514 set dummy ${ncn_progname}; ac_word=$2
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12516 $as_echo_n "checking
for $ac_word...
" >&6; }
12517 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12518 $as_echo_n "(cached
) " >&6
12520 if test -n "$OBJDUMP_FOR_TARGET"; then
12521 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12524 for as_dir in $PATH
12527 test -z "$as_dir" && as_dir=.
12528 for ac_exec_ext in '' $ac_executable_extensions; do
12529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12530 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12531 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12540 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12541 if test -n "$OBJDUMP_FOR_TARGET"; then
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12543 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12546 $as_echo "no
" >&6; }
12551 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12555 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12557 if test $build = $target ; then
12558 OBJDUMP_FOR_TARGET="$2"
12560 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12563 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12567 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12573 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12574 if test -n "$with_build_time_tools"; then
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12576 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12577 if test -x $with_build_time_tools/ranlib; then
12578 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12579 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12581 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12584 $as_echo "no
" >&6; }
12586 elif test $build != $host && test $have_gcc_for_target = yes; then
12587 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12588 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12589 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12592 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12593 # Extract the first word of "ranlib
", so it can be a program name with args.
12594 set dummy ranlib; ac_word=$2
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12596 $as_echo_n "checking
for $ac_word...
" >&6; }
12597 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12598 $as_echo_n "(cached
) " >&6
12600 case $RANLIB_FOR_TARGET in
12602 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12606 for as_dir in $gcc_cv_tool_dirs
12609 test -z "$as_dir" && as_dir=.
12610 for ac_exec_ext in '' $ac_executable_extensions; do
12611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12612 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12613 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12623 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12624 if test -n "$RANLIB_FOR_TARGET"; then
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12626 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12629 $as_echo "no
" >&6; }
12634 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12637 if test -n "$RANLIB_FOR_TARGET"; then
12638 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12639 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12640 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12643 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12644 for ncn_progname in ranlib; do
12645 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12646 set dummy ${ncn_progname}; ac_word=$2
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12648 $as_echo_n "checking
for $ac_word...
" >&6; }
12649 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12650 $as_echo_n "(cached
) " >&6
12652 if test -n "$RANLIB_FOR_TARGET"; then
12653 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12656 for as_dir in $PATH
12659 test -z "$as_dir" && as_dir=.
12660 for ac_exec_ext in '' $ac_executable_extensions; do
12661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12662 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12663 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12672 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12673 if test -n "$RANLIB_FOR_TARGET"; then
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12675 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12678 $as_echo "no
" >&6; }
12685 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12686 for ncn_progname in ranlib; do
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12688 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12689 if test -x $with_build_time_tools/${ncn_progname}; then
12690 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12692 $as_echo "yes" >&6; }
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12696 $as_echo "no
" >&6; }
12701 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12702 for ncn_progname in ranlib; do
12703 if test -n "$ncn_target_tool_prefix"; then
12704 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12705 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12707 $as_echo_n "checking
for $ac_word...
" >&6; }
12708 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12709 $as_echo_n "(cached
) " >&6
12711 if test -n "$RANLIB_FOR_TARGET"; then
12712 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12715 for as_dir in $PATH
12718 test -z "$as_dir" && as_dir=.
12719 for ac_exec_ext in '' $ac_executable_extensions; do
12720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12721 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12722 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12731 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12732 if test -n "$RANLIB_FOR_TARGET"; then
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12734 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12737 $as_echo "no
" >&6; }
12742 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12743 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12744 set dummy ${ncn_progname}; ac_word=$2
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12746 $as_echo_n "checking
for $ac_word...
" >&6; }
12747 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12748 $as_echo_n "(cached
) " >&6
12750 if test -n "$RANLIB_FOR_TARGET"; then
12751 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12754 for as_dir in $PATH
12757 test -z "$as_dir" && as_dir=.
12758 for ac_exec_ext in '' $ac_executable_extensions; do
12759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12760 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12761 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12770 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12771 if test -n "$RANLIB_FOR_TARGET"; then
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12773 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12776 $as_echo "no
" >&6; }
12781 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12785 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12787 if test $build = $target ; then
12788 RANLIB_FOR_TARGET="$2"
12790 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12793 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12797 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12803 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12804 if test -n "$with_build_time_tools"; then
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12806 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12807 if test -x $with_build_time_tools/readelf; then
12808 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12809 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12811 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12814 $as_echo "no
" >&6; }
12816 elif test $build != $host && test $have_gcc_for_target = yes; then
12817 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12818 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12819 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12822 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12823 # Extract the first word of "readelf
", so it can be a program name with args.
12824 set dummy readelf; ac_word=$2
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12826 $as_echo_n "checking
for $ac_word...
" >&6; }
12827 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12828 $as_echo_n "(cached
) " >&6
12830 case $READELF_FOR_TARGET in
12832 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12836 for as_dir in $gcc_cv_tool_dirs
12839 test -z "$as_dir" && as_dir=.
12840 for ac_exec_ext in '' $ac_executable_extensions; do
12841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12842 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12843 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12853 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12854 if test -n "$READELF_FOR_TARGET"; then
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12856 $as_echo "$READELF_FOR_TARGET" >&6; }
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12859 $as_echo "no
" >&6; }
12864 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12867 if test -n "$READELF_FOR_TARGET"; then
12868 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12869 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12870 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12873 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12874 for ncn_progname in readelf; do
12875 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12876 set dummy ${ncn_progname}; ac_word=$2
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12878 $as_echo_n "checking
for $ac_word...
" >&6; }
12879 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12880 $as_echo_n "(cached
) " >&6
12882 if test -n "$READELF_FOR_TARGET"; then
12883 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12886 for as_dir in $PATH
12889 test -z "$as_dir" && as_dir=.
12890 for ac_exec_ext in '' $ac_executable_extensions; do
12891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12892 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12902 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12903 if test -n "$READELF_FOR_TARGET"; then
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12905 $as_echo "$READELF_FOR_TARGET" >&6; }
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12908 $as_echo "no
" >&6; }
12915 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12916 for ncn_progname in readelf; do
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12918 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12919 if test -x $with_build_time_tools/${ncn_progname}; then
12920 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12922 $as_echo "yes" >&6; }
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12926 $as_echo "no
" >&6; }
12931 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12932 for ncn_progname in readelf; do
12933 if test -n "$ncn_target_tool_prefix"; then
12934 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12935 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12937 $as_echo_n "checking
for $ac_word...
" >&6; }
12938 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12939 $as_echo_n "(cached
) " >&6
12941 if test -n "$READELF_FOR_TARGET"; then
12942 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12945 for as_dir in $PATH
12948 test -z "$as_dir" && as_dir=.
12949 for ac_exec_ext in '' $ac_executable_extensions; do
12950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12951 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12952 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12961 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12962 if test -n "$READELF_FOR_TARGET"; then
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12964 $as_echo "$READELF_FOR_TARGET" >&6; }
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12967 $as_echo "no
" >&6; }
12972 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12973 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12974 set dummy ${ncn_progname}; ac_word=$2
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12976 $as_echo_n "checking
for $ac_word...
" >&6; }
12977 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12978 $as_echo_n "(cached
) " >&6
12980 if test -n "$READELF_FOR_TARGET"; then
12981 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12984 for as_dir in $PATH
12987 test -z "$as_dir" && as_dir=.
12988 for ac_exec_ext in '' $ac_executable_extensions; do
12989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12990 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13000 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13001 if test -n "$READELF_FOR_TARGET"; then
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13003 $as_echo "$READELF_FOR_TARGET" >&6; }
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13006 $as_echo "no
" >&6; }
13011 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13015 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13017 if test $build = $target ; then
13018 READELF_FOR_TARGET="$2"
13020 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13023 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13027 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13033 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13034 if test -n "$with_build_time_tools"; then
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13036 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13037 if test -x $with_build_time_tools/strip; then
13038 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13039 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13041 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13044 $as_echo "no
" >&6; }
13046 elif test $build != $host && test $have_gcc_for_target = yes; then
13047 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13048 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13049 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13052 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13053 # Extract the first word of "strip
", so it can be a program name with args.
13054 set dummy strip; ac_word=$2
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13056 $as_echo_n "checking
for $ac_word...
" >&6; }
13057 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13058 $as_echo_n "(cached
) " >&6
13060 case $STRIP_FOR_TARGET in
13062 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13066 for as_dir in $gcc_cv_tool_dirs
13069 test -z "$as_dir" && as_dir=.
13070 for ac_exec_ext in '' $ac_executable_extensions; do
13071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13072 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13073 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13083 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13084 if test -n "$STRIP_FOR_TARGET"; then
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13086 $as_echo "$STRIP_FOR_TARGET" >&6; }
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13089 $as_echo "no
" >&6; }
13094 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13097 if test -n "$STRIP_FOR_TARGET"; then
13098 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13099 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13100 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13103 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13104 for ncn_progname in strip; do
13105 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13106 set dummy ${ncn_progname}; ac_word=$2
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13108 $as_echo_n "checking
for $ac_word...
" >&6; }
13109 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13110 $as_echo_n "(cached
) " >&6
13112 if test -n "$STRIP_FOR_TARGET"; then
13113 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13116 for as_dir in $PATH
13119 test -z "$as_dir" && as_dir=.
13120 for ac_exec_ext in '' $ac_executable_extensions; do
13121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13122 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13132 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13133 if test -n "$STRIP_FOR_TARGET"; then
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13135 $as_echo "$STRIP_FOR_TARGET" >&6; }
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13138 $as_echo "no
" >&6; }
13145 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13146 for ncn_progname in strip; do
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13148 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13149 if test -x $with_build_time_tools/${ncn_progname}; then
13150 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13152 $as_echo "yes" >&6; }
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13156 $as_echo "no
" >&6; }
13161 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13162 for ncn_progname in strip; do
13163 if test -n "$ncn_target_tool_prefix"; then
13164 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13165 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13167 $as_echo_n "checking
for $ac_word...
" >&6; }
13168 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13169 $as_echo_n "(cached
) " >&6
13171 if test -n "$STRIP_FOR_TARGET"; then
13172 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13175 for as_dir in $PATH
13178 test -z "$as_dir" && as_dir=.
13179 for ac_exec_ext in '' $ac_executable_extensions; do
13180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13181 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13191 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13192 if test -n "$STRIP_FOR_TARGET"; then
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13194 $as_echo "$STRIP_FOR_TARGET" >&6; }
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13197 $as_echo "no
" >&6; }
13202 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13203 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13204 set dummy ${ncn_progname}; ac_word=$2
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13206 $as_echo_n "checking
for $ac_word...
" >&6; }
13207 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13208 $as_echo_n "(cached
) " >&6
13210 if test -n "$STRIP_FOR_TARGET"; then
13211 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13214 for as_dir in $PATH
13217 test -z "$as_dir" && as_dir=.
13218 for ac_exec_ext in '' $ac_executable_extensions; do
13219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13220 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13221 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13230 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13231 if test -n "$STRIP_FOR_TARGET"; then
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13233 $as_echo "$STRIP_FOR_TARGET" >&6; }
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13236 $as_echo "no
" >&6; }
13241 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13245 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13247 if test $build = $target ; then
13248 STRIP_FOR_TARGET="$2"
13250 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13253 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13257 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13263 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13264 if test -n "$with_build_time_tools"; then
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13266 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13267 if test -x $with_build_time_tools/windres; then
13268 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13269 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13271 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13274 $as_echo "no
" >&6; }
13276 elif test $build != $host && test $have_gcc_for_target = yes; then
13277 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13278 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13279 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13282 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13283 # Extract the first word of "windres
", so it can be a program name with args.
13284 set dummy windres; ac_word=$2
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13286 $as_echo_n "checking
for $ac_word...
" >&6; }
13287 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13288 $as_echo_n "(cached
) " >&6
13290 case $WINDRES_FOR_TARGET in
13292 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13296 for as_dir in $gcc_cv_tool_dirs
13299 test -z "$as_dir" && as_dir=.
13300 for ac_exec_ext in '' $ac_executable_extensions; do
13301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13302 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13313 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13314 if test -n "$WINDRES_FOR_TARGET"; then
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13316 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13319 $as_echo "no
" >&6; }
13324 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13327 if test -n "$WINDRES_FOR_TARGET"; then
13328 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13329 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13330 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13333 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13334 for ncn_progname in windres; do
13335 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13336 set dummy ${ncn_progname}; ac_word=$2
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13338 $as_echo_n "checking
for $ac_word...
" >&6; }
13339 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13340 $as_echo_n "(cached
) " >&6
13342 if test -n "$WINDRES_FOR_TARGET"; then
13343 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13346 for as_dir in $PATH
13349 test -z "$as_dir" && as_dir=.
13350 for ac_exec_ext in '' $ac_executable_extensions; do
13351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13352 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13362 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13363 if test -n "$WINDRES_FOR_TARGET"; then
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13365 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13368 $as_echo "no
" >&6; }
13375 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13376 for ncn_progname in windres; do
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13378 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13379 if test -x $with_build_time_tools/${ncn_progname}; then
13380 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13382 $as_echo "yes" >&6; }
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13386 $as_echo "no
" >&6; }
13391 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13392 for ncn_progname in windres; do
13393 if test -n "$ncn_target_tool_prefix"; then
13394 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13395 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13397 $as_echo_n "checking
for $ac_word...
" >&6; }
13398 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13399 $as_echo_n "(cached
) " >&6
13401 if test -n "$WINDRES_FOR_TARGET"; then
13402 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13405 for as_dir in $PATH
13408 test -z "$as_dir" && as_dir=.
13409 for ac_exec_ext in '' $ac_executable_extensions; do
13410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13411 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13412 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13421 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13422 if test -n "$WINDRES_FOR_TARGET"; then
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13424 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13427 $as_echo "no
" >&6; }
13432 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13433 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13434 set dummy ${ncn_progname}; ac_word=$2
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13436 $as_echo_n "checking
for $ac_word...
" >&6; }
13437 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13438 $as_echo_n "(cached
) " >&6
13440 if test -n "$WINDRES_FOR_TARGET"; then
13441 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13444 for as_dir in $PATH
13447 test -z "$as_dir" && as_dir=.
13448 for ac_exec_ext in '' $ac_executable_extensions; do
13449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13450 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13451 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13460 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13461 if test -n "$WINDRES_FOR_TARGET"; then
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13463 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13466 $as_echo "no
" >&6; }
13471 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13475 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13477 if test $build = $target ; then
13478 WINDRES_FOR_TARGET="$2"
13480 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13483 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13487 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13493 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13494 if test -n "$with_build_time_tools"; then
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13496 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13497 if test -x $with_build_time_tools/windmc; then
13498 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13499 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13501 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13504 $as_echo "no
" >&6; }
13506 elif test $build != $host && test $have_gcc_for_target = yes; then
13507 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13508 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13509 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13512 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13513 # Extract the first word of "windmc
", so it can be a program name with args.
13514 set dummy windmc; ac_word=$2
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13516 $as_echo_n "checking
for $ac_word...
" >&6; }
13517 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13518 $as_echo_n "(cached
) " >&6
13520 case $WINDMC_FOR_TARGET in
13522 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13526 for as_dir in $gcc_cv_tool_dirs
13529 test -z "$as_dir" && as_dir=.
13530 for ac_exec_ext in '' $ac_executable_extensions; do
13531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13532 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13543 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13544 if test -n "$WINDMC_FOR_TARGET"; then
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13546 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13549 $as_echo "no
" >&6; }
13554 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13557 if test -n "$WINDMC_FOR_TARGET"; then
13558 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13559 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13560 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13563 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13564 for ncn_progname in windmc; do
13565 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13566 set dummy ${ncn_progname}; ac_word=$2
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13568 $as_echo_n "checking
for $ac_word...
" >&6; }
13569 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13570 $as_echo_n "(cached
) " >&6
13572 if test -n "$WINDMC_FOR_TARGET"; then
13573 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13576 for as_dir in $PATH
13579 test -z "$as_dir" && as_dir=.
13580 for ac_exec_ext in '' $ac_executable_extensions; do
13581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13582 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13583 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13592 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13593 if test -n "$WINDMC_FOR_TARGET"; then
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13595 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13598 $as_echo "no
" >&6; }
13605 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13606 for ncn_progname in windmc; do
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13608 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13609 if test -x $with_build_time_tools/${ncn_progname}; then
13610 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13612 $as_echo "yes" >&6; }
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13616 $as_echo "no
" >&6; }
13621 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13622 for ncn_progname in windmc; do
13623 if test -n "$ncn_target_tool_prefix"; then
13624 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13625 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13627 $as_echo_n "checking
for $ac_word...
" >&6; }
13628 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13629 $as_echo_n "(cached
) " >&6
13631 if test -n "$WINDMC_FOR_TARGET"; then
13632 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13635 for as_dir in $PATH
13638 test -z "$as_dir" && as_dir=.
13639 for ac_exec_ext in '' $ac_executable_extensions; do
13640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13641 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13642 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13651 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13652 if test -n "$WINDMC_FOR_TARGET"; then
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13654 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13657 $as_echo "no
" >&6; }
13662 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13663 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13664 set dummy ${ncn_progname}; ac_word=$2
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13666 $as_echo_n "checking
for $ac_word...
" >&6; }
13667 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13668 $as_echo_n "(cached
) " >&6
13670 if test -n "$WINDMC_FOR_TARGET"; then
13671 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13674 for as_dir in $PATH
13677 test -z "$as_dir" && as_dir=.
13678 for ac_exec_ext in '' $ac_executable_extensions; do
13679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13680 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13690 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13691 if test -n "$WINDMC_FOR_TARGET"; then
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13693 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13696 $as_echo "no
" >&6; }
13701 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13705 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13707 if test $build = $target ; then
13708 WINDMC_FOR_TARGET="$2"
13710 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13713 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13717 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13721 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13724 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13725 if test "x
${build}" != "x
${host}" ; then
13726 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13727 # We already found the complete path
13728 ac_dir=`dirname $AR_FOR_TARGET`
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13730 $as_echo "pre-installed
in $ac_dir" >&6; }
13732 # Canadian cross, just use what we found
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13734 $as_echo "pre-installed
" >&6; }
13738 case " ${configdirs} " in
13743 if test $ok = yes; then
13744 # An in-tree tool is available and we can use it
13745 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13747 $as_echo "just compiled
" >&6; }
13748 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13749 # We already found the complete path
13750 ac_dir=`dirname $AR_FOR_TARGET`
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13752 $as_echo "pre-installed
in $ac_dir" >&6; }
13753 elif test "x
$target" = "x
$host"; then
13754 # We can use an host tool
13755 AR_FOR_TARGET='$(AR)'
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13757 $as_echo "host tool
" >&6; }
13759 # We need a cross tool
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13761 $as_echo "pre-installed
" >&6; }
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13766 $as_echo_n "checking where to
find the target as...
" >&6; }
13767 if test "x
${build}" != "x
${host}" ; then
13768 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13769 # We already found the complete path
13770 ac_dir=`dirname $AS_FOR_TARGET`
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13772 $as_echo "pre-installed
in $ac_dir" >&6; }
13774 # Canadian cross, just use what we found
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13776 $as_echo "pre-installed
" >&6; }
13780 case " ${configdirs} " in
13785 if test $ok = yes; then
13786 # An in-tree tool is available and we can use it
13787 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13789 $as_echo "just compiled
" >&6; }
13790 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13791 # We already found the complete path
13792 ac_dir=`dirname $AS_FOR_TARGET`
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13794 $as_echo "pre-installed
in $ac_dir" >&6; }
13795 elif test "x
$target" = "x
$host"; then
13796 # We can use an host tool
13797 AS_FOR_TARGET='$(AS)'
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13799 $as_echo "host tool
" >&6; }
13801 # We need a cross tool
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13803 $as_echo "pre-installed
" >&6; }
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13808 $as_echo_n "checking where to
find the target cc...
" >&6; }
13809 if test "x
${build}" != "x
${host}" ; then
13810 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13811 # We already found the complete path
13812 ac_dir=`dirname $CC_FOR_TARGET`
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13814 $as_echo "pre-installed
in $ac_dir" >&6; }
13816 # Canadian cross, just use what we found
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13818 $as_echo "pre-installed
" >&6; }
13822 case " ${configdirs} " in
13827 if test $ok = yes; then
13828 # An in-tree tool is available and we can use it
13829 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13831 $as_echo "just compiled
" >&6; }
13832 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13833 # We already found the complete path
13834 ac_dir=`dirname $CC_FOR_TARGET`
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13836 $as_echo "pre-installed
in $ac_dir" >&6; }
13837 elif test "x
$target" = "x
$host"; then
13838 # We can use an host tool
13839 CC_FOR_TARGET='$(CC)'
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13841 $as_echo "host tool
" >&6; }
13843 # We need a cross tool
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13845 $as_echo "pre-installed
" >&6; }
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13850 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13851 if test "x
${build}" != "x
${host}" ; then
13852 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13853 # We already found the complete path
13854 ac_dir=`dirname $CXX_FOR_TARGET`
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13856 $as_echo "pre-installed
in $ac_dir" >&6; }
13858 # Canadian cross, just use what we found
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13860 $as_echo "pre-installed
" >&6; }
13864 case " ${configdirs} " in
13868 case ,${enable_languages}, in
13872 if test $ok = yes; then
13873 # An in-tree tool is available and we can use it
13874 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'
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13876 $as_echo "just compiled
" >&6; }
13877 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13878 # We already found the complete path
13879 ac_dir=`dirname $CXX_FOR_TARGET`
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13881 $as_echo "pre-installed
in $ac_dir" >&6; }
13882 elif test "x
$target" = "x
$host"; then
13883 # We can use an host tool
13884 CXX_FOR_TARGET='$(CXX)'
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13886 $as_echo "host tool
" >&6; }
13888 # We need a cross tool
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13890 $as_echo "pre-installed
" >&6; }
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13895 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13896 if test "x
${build}" != "x
${host}" ; then
13897 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13898 # We already found the complete path
13899 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13901 $as_echo "pre-installed
in $ac_dir" >&6; }
13903 # Canadian cross, just use what we found
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13905 $as_echo "pre-installed
" >&6; }
13909 case " ${configdirs} " in
13913 case ,${enable_languages}, in
13917 if test $ok = yes; then
13918 # An in-tree tool is available and we can use it
13919 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'
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13921 $as_echo "just compiled
" >&6; }
13922 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13923 # We already found the complete path
13924 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13926 $as_echo "pre-installed
in $ac_dir" >&6; }
13927 elif test "x
$target" = "x
$host"; then
13928 # We can use an host tool
13929 RAW_CXX_FOR_TARGET='$(CXX)'
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13931 $as_echo "host tool
" >&6; }
13933 # We need a cross tool
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13935 $as_echo "pre-installed
" >&6; }
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13940 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13941 if test "x
${build}" != "x
${host}" ; then
13942 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13943 # We already found the complete path
13944 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13946 $as_echo "pre-installed
in $ac_dir" >&6; }
13948 # Canadian cross, just use what we found
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13950 $as_echo "pre-installed
" >&6; }
13954 case " ${configdirs} " in
13959 if test $ok = yes; then
13960 # An in-tree tool is available and we can use it
13961 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13963 $as_echo "just compiled
" >&6; }
13964 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13965 # We already found the complete path
13966 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13968 $as_echo "pre-installed
in $ac_dir" >&6; }
13969 elif test "x
$target" = "x
$host"; then
13970 # We can use an host tool
13971 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13973 $as_echo "host tool
" >&6; }
13975 # We need a cross tool
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13977 $as_echo "pre-installed
" >&6; }
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13982 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13983 if test "x
${build}" != "x
${host}" ; then
13984 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13985 # We already found the complete path
13986 ac_dir=`dirname $GCC_FOR_TARGET`
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13988 $as_echo "pre-installed
in $ac_dir" >&6; }
13990 # Canadian cross, just use what we found
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13992 $as_echo "pre-installed
" >&6; }
13996 case " ${configdirs} " in
14001 if test $ok = yes; then
14002 # An in-tree tool is available and we can use it
14003 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14005 $as_echo "just compiled
" >&6; }
14006 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14007 # We already found the complete path
14008 ac_dir=`dirname $GCC_FOR_TARGET`
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14010 $as_echo "pre-installed
in $ac_dir" >&6; }
14011 elif test "x
$target" = "x
$host"; then
14012 # We can use an host tool
14013 GCC_FOR_TARGET='$()'
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14015 $as_echo "host tool
" >&6; }
14017 # We need a cross tool
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14019 $as_echo "pre-installed
" >&6; }
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14024 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14025 if test "x
${build}" != "x
${host}" ; then
14026 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14027 # We already found the complete path
14028 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14030 $as_echo "pre-installed
in $ac_dir" >&6; }
14032 # Canadian cross, just use what we found
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14034 $as_echo "pre-installed
" >&6; }
14038 case " ${configdirs} " in
14042 case ,${enable_languages}, in
14046 if test $ok = yes; then
14047 # An in-tree tool is available and we can use it
14048 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14050 $as_echo "just compiled
" >&6; }
14051 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14052 # We already found the complete path
14053 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14055 $as_echo "pre-installed
in $ac_dir" >&6; }
14056 elif test "x
$target" = "x
$host"; then
14057 # We can use an host tool
14058 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14060 $as_echo "host tool
" >&6; }
14062 # We need a cross tool
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14064 $as_echo "pre-installed
" >&6; }
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14069 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14070 if test "x
${build}" != "x
${host}" ; then
14071 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14072 # We already found the complete path
14073 ac_dir=`dirname $GOC_FOR_TARGET`
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14075 $as_echo "pre-installed
in $ac_dir" >&6; }
14077 # Canadian cross, just use what we found
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14079 $as_echo "pre-installed
" >&6; }
14083 case " ${configdirs} " in
14087 case ,${enable_languages}, in
14091 if test $ok = yes; then
14092 # An in-tree tool is available and we can use it
14093 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14095 $as_echo "just compiled
" >&6; }
14096 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14097 # We already found the complete path
14098 ac_dir=`dirname $GOC_FOR_TARGET`
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14100 $as_echo "pre-installed
in $ac_dir" >&6; }
14101 elif test "x
$target" = "x
$host"; then
14102 # We can use an host tool
14103 GOC_FOR_TARGET='$(GOC)'
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14105 $as_echo "host tool
" >&6; }
14107 # We need a cross tool
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14109 $as_echo "pre-installed
" >&6; }
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14114 $as_echo_n "checking where to
find the target ld...
" >&6; }
14115 if test "x
${build}" != "x
${host}" ; then
14116 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14117 # We already found the complete path
14118 ac_dir=`dirname $LD_FOR_TARGET`
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14120 $as_echo "pre-installed
in $ac_dir" >&6; }
14122 # Canadian cross, just use what we found
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14124 $as_echo "pre-installed
" >&6; }
14128 case " ${configdirs} " in
14133 if test $ok = yes; then
14134 # An in-tree tool is available and we can use it
14135 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14137 $as_echo "just compiled
" >&6; }
14138 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14139 # We already found the complete path
14140 ac_dir=`dirname $LD_FOR_TARGET`
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14142 $as_echo "pre-installed
in $ac_dir" >&6; }
14143 elif test "x
$target" = "x
$host"; then
14144 # We can use an host tool
14145 LD_FOR_TARGET='$(LD)'
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14147 $as_echo "host tool
" >&6; }
14149 # We need a cross tool
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14151 $as_echo "pre-installed
" >&6; }
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14156 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14157 if test "x
${build}" != "x
${host}" ; then
14158 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14159 # We already found the complete path
14160 ac_dir=`dirname $LIPO_FOR_TARGET`
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14162 $as_echo "pre-installed
in $ac_dir" >&6; }
14164 # Canadian cross, just use what we found
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14166 $as_echo "pre-installed
" >&6; }
14169 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14170 # We already found the complete path
14171 ac_dir=`dirname $LIPO_FOR_TARGET`
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14173 $as_echo "pre-installed
in $ac_dir" >&6; }
14174 elif test "x
$target" = "x
$host"; then
14175 # We can use an host tool
14176 LIPO_FOR_TARGET='$(LIPO)'
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14178 $as_echo "host tool
" >&6; }
14180 # We need a cross tool
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14182 $as_echo "pre-installed
" >&6; }
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14187 $as_echo_n "checking where to
find the target nm...
" >&6; }
14188 if test "x
${build}" != "x
${host}" ; then
14189 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14190 # We already found the complete path
14191 ac_dir=`dirname $NM_FOR_TARGET`
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14193 $as_echo "pre-installed
in $ac_dir" >&6; }
14195 # Canadian cross, just use what we found
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14197 $as_echo "pre-installed
" >&6; }
14201 case " ${configdirs} " in
14206 if test $ok = yes; then
14207 # An in-tree tool is available and we can use it
14208 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14210 $as_echo "just compiled
" >&6; }
14211 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14212 # We already found the complete path
14213 ac_dir=`dirname $NM_FOR_TARGET`
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14215 $as_echo "pre-installed
in $ac_dir" >&6; }
14216 elif test "x
$target" = "x
$host"; then
14217 # We can use an host tool
14218 NM_FOR_TARGET='$(NM)'
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14220 $as_echo "host tool
" >&6; }
14222 # We need a cross tool
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14224 $as_echo "pre-installed
" >&6; }
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14229 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14230 if test "x
${build}" != "x
${host}" ; then
14231 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14232 # We already found the complete path
14233 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14235 $as_echo "pre-installed
in $ac_dir" >&6; }
14237 # Canadian cross, just use what we found
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14239 $as_echo "pre-installed
" >&6; }
14243 case " ${configdirs} " in
14248 if test $ok = yes; then
14249 # An in-tree tool is available and we can use it
14250 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14252 $as_echo "just compiled
" >&6; }
14253 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14254 # We already found the complete path
14255 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14257 $as_echo "pre-installed
in $ac_dir" >&6; }
14258 elif test "x
$target" = "x
$host"; then
14259 # We can use an host tool
14260 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14262 $as_echo "host tool
" >&6; }
14264 # We need a cross tool
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14266 $as_echo "pre-installed
" >&6; }
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14271 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14272 if test "x
${build}" != "x
${host}" ; then
14273 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14274 # We already found the complete path
14275 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14277 $as_echo "pre-installed
in $ac_dir" >&6; }
14279 # Canadian cross, just use what we found
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14281 $as_echo "pre-installed
" >&6; }
14285 case " ${configdirs} " in
14290 if test $ok = yes; then
14291 # An in-tree tool is available and we can use it
14292 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14294 $as_echo "just compiled
" >&6; }
14295 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14296 # We already found the complete path
14297 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14299 $as_echo "pre-installed
in $ac_dir" >&6; }
14300 elif test "x
$target" = "x
$host"; then
14301 # We can use an host tool
14302 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14304 $as_echo "host tool
" >&6; }
14306 # We need a cross tool
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14308 $as_echo "pre-installed
" >&6; }
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14313 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14314 if test "x
${build}" != "x
${host}" ; then
14315 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14316 # We already found the complete path
14317 ac_dir=`dirname $RANLIB_FOR_TARGET`
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14319 $as_echo "pre-installed
in $ac_dir" >&6; }
14321 # Canadian cross, just use what we found
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14323 $as_echo "pre-installed
" >&6; }
14327 case " ${configdirs} " in
14332 if test $ok = yes; then
14333 # An in-tree tool is available and we can use it
14334 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14336 $as_echo "just compiled
" >&6; }
14337 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14338 # We already found the complete path
14339 ac_dir=`dirname $RANLIB_FOR_TARGET`
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14341 $as_echo "pre-installed
in $ac_dir" >&6; }
14342 elif test "x
$target" = "x
$host"; then
14343 # We can use an host tool
14344 RANLIB_FOR_TARGET='$(RANLIB)'
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14346 $as_echo "host tool
" >&6; }
14348 # We need a cross tool
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14350 $as_echo "pre-installed
" >&6; }
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14355 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14356 if test "x
${build}" != "x
${host}" ; then
14357 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14358 # We already found the complete path
14359 ac_dir=`dirname $READELF_FOR_TARGET`
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14361 $as_echo "pre-installed
in $ac_dir" >&6; }
14363 # Canadian cross, just use what we found
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14365 $as_echo "pre-installed
" >&6; }
14369 case " ${configdirs} " in
14374 if test $ok = yes; then
14375 # An in-tree tool is available and we can use it
14376 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14378 $as_echo "just compiled
" >&6; }
14379 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14380 # We already found the complete path
14381 ac_dir=`dirname $READELF_FOR_TARGET`
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14383 $as_echo "pre-installed
in $ac_dir" >&6; }
14384 elif test "x
$target" = "x
$host"; then
14385 # We can use an host tool
14386 READELF_FOR_TARGET='$(READELF)'
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14388 $as_echo "host tool
" >&6; }
14390 # We need a cross tool
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14392 $as_echo "pre-installed
" >&6; }
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14397 $as_echo_n "checking where to
find the target strip...
" >&6; }
14398 if test "x
${build}" != "x
${host}" ; then
14399 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14400 # We already found the complete path
14401 ac_dir=`dirname $STRIP_FOR_TARGET`
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14403 $as_echo "pre-installed
in $ac_dir" >&6; }
14405 # Canadian cross, just use what we found
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14407 $as_echo "pre-installed
" >&6; }
14411 case " ${configdirs} " in
14416 if test $ok = yes; then
14417 # An in-tree tool is available and we can use it
14418 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14420 $as_echo "just compiled
" >&6; }
14421 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14422 # We already found the complete path
14423 ac_dir=`dirname $STRIP_FOR_TARGET`
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14425 $as_echo "pre-installed
in $ac_dir" >&6; }
14426 elif test "x
$target" = "x
$host"; then
14427 # We can use an host tool
14428 STRIP_FOR_TARGET='$(STRIP)'
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14430 $as_echo "host tool
" >&6; }
14432 # We need a cross tool
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14434 $as_echo "pre-installed
" >&6; }
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14439 $as_echo_n "checking where to
find the target windres...
" >&6; }
14440 if test "x
${build}" != "x
${host}" ; then
14441 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14442 # We already found the complete path
14443 ac_dir=`dirname $WINDRES_FOR_TARGET`
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14445 $as_echo "pre-installed
in $ac_dir" >&6; }
14447 # Canadian cross, just use what we found
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14449 $as_echo "pre-installed
" >&6; }
14453 case " ${configdirs} " in
14458 if test $ok = yes; then
14459 # An in-tree tool is available and we can use it
14460 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14462 $as_echo "just compiled
" >&6; }
14463 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14464 # We already found the complete path
14465 ac_dir=`dirname $WINDRES_FOR_TARGET`
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14467 $as_echo "pre-installed
in $ac_dir" >&6; }
14468 elif test "x
$target" = "x
$host"; then
14469 # We can use an host tool
14470 WINDRES_FOR_TARGET='$(WINDRES)'
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14472 $as_echo "host tool
" >&6; }
14474 # We need a cross tool
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14476 $as_echo "pre-installed
" >&6; }
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14481 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14482 if test "x
${build}" != "x
${host}" ; then
14483 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14484 # We already found the complete path
14485 ac_dir=`dirname $WINDMC_FOR_TARGET`
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14487 $as_echo "pre-installed
in $ac_dir" >&6; }
14489 # Canadian cross, just use what we found
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14491 $as_echo "pre-installed
" >&6; }
14495 case " ${configdirs} " in
14500 if test $ok = yes; then
14501 # An in-tree tool is available and we can use it
14502 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14504 $as_echo "just compiled
" >&6; }
14505 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14506 # We already found the complete path
14507 ac_dir=`dirname $WINDMC_FOR_TARGET`
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14509 $as_echo "pre-installed
in $ac_dir" >&6; }
14510 elif test "x
$target" = "x
$host"; then
14511 # We can use an host tool
14512 WINDMC_FOR_TARGET='$(WINDMC)'
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14514 $as_echo "host tool
" >&6; }
14516 # We need a cross tool
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14518 $as_echo "pre-installed
" >&6; }
14526 # Certain tools may need extra flags.
14527 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14528 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14529 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14531 # When building target libraries, except in a Canadian cross, we use
14532 # the same toolchain as the compiler we just built.
14533 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14534 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14535 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14536 if test $host = $build; then
14537 case " $configdirs " in
14539 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14540 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14541 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14551 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14552 # Check whether --enable-maintainer-mode was given.
14553 if test "${enable_maintainer_mode+set}" = set; then :
14554 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14556 USE_MAINTAINER_MODE=no
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14560 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14563 if test "$USE_MAINTAINER_MODE" = yes; then
14564 MAINTAINER_MODE_TRUE=
14565 MAINTAINER_MODE_FALSE='#'
14567 MAINTAINER_MODE_TRUE='#'
14568 MAINTAINER_MODE_FALSE=
14570 MAINT=$MAINTAINER_MODE_TRUE
14572 # ---------------------
14573 # GCC bootstrap support
14574 # ---------------------
14576 # Stage specific cflags for build.
14581 yes) stage1_cflags="-g -Wa,-J" ;;
14582 *) stage1_cflags="-g -J" ;;
14588 # Enable --enable-checking in stage1 of the compiler.
14589 # Check whether --enable-stage1-checking was given.
14590 if test "${enable_stage1_checking+set}" = set; then :
14591 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14593 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14594 # For --disable-checking or implicit --enable-checking=release, avoid
14595 # setting --enable-checking=gc in the default stage1 checking for LTO
14596 # bootstraps. See PR62077.
14597 case $BUILD_CONFIG in
14599 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
14601 stage1_checking=--enable-checking=yes,types;;
14603 if test "x
$enable_checking" = x && \
14604 test -d ${srcdir}/gcc && \
14605 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14606 stage1_checking=--enable-checking=yes,types,extra
14609 stage1_checking=--enable-checking=$enable_checking,types
14615 # Enable -Werror in bootstrap stage2 and later.
14616 # Check whether --enable-werror was given.
14617 if test "${enable_werror+set}" = set; then :
14618 enableval=$enable_werror;
14620 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14627 case ${enable_werror} in
14628 yes) stage2_werror_flag="--enable-werror-always" ;;
14629 *) stage2_werror_flag="" ;;
14633 # Enable --enable-host-shared.
14634 # Check whether --enable-host-shared was given.
14635 if test "${enable_host_shared+set}" = set; then :
14636 enableval=$enable_host_shared; host_shared=$enableval
14643 # PR jit/64780: Require the user to explicitly specify
14644 # --enable-host-shared if the jit is enabled, hinting
14645 # that they might want to do a separate configure/build of
14646 # the jit, to avoid users from slowing down the rest of the
14647 # compiler by enabling the jit.
14648 if test ${host_shared} = "no
" ; then
14649 case "${enable_languages}" in
14652 Enabling language
\"jit
\" requires
--enable-host-shared.
14654 --enable-host-shared typically slows the rest of the compiler down by
14655 a few
%, so you must explicitly
enable it.
14657 If you want to build both the jit and the regular compiler
, it is often
14658 best to
do this via two separate configure
/builds
, in separate
14659 directories
, to avoid imposing the performance cost of
14660 --enable-host-shared on the regular compiler.
" "$LINENO" 5
14667 # Specify what files to not compare during bootstrap.
14669 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14671 hppa*64*-*-hpux*) ;;
14672 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/* | gcc
/function-tests.o
" ;;
14673 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14677 ac_config_files="$ac_config_files Makefile
"
14679 cat >confcache <<\_ACEOF
14680 # This file is a shell script that caches the results of configure
14681 # tests run on this system so they can be shared between configure
14682 # scripts and configure runs, see configure's option --config-cache.
14683 # It is not useful on other systems. If it contains results you don't
14684 # want to keep, you may remove or edit it.
14686 # config.status only pays attention to the cache file if you give it
14687 # the --recheck option to rerun configure.
14689 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14690 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14691 # following values.
14695 # The following way of writing the cache mishandles newlines in values,
14696 # but we know of no workaround that is simple, portable, and efficient.
14697 # So, we kill variables containing newlines.
14698 # Ultrix sh set writes to stderr and can't be redirected directly,
14699 # and sets the high bit in the cache file unless we assign to the vars.
14701 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14702 eval ac_val=\$$ac_var
14706 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14707 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14710 _ | IFS | as_nl) ;; #(
14711 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14712 *) { eval $ac_var=; unset $ac_var;} ;;
14718 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14719 *${as_nl}ac_space=\ *)
14720 # `set' does not quote correctly, so add quotes: double-quote
14721 # substitution turns \\\\ into \\, and sed turns \\ into \.
14724 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14727 # `set' quotes correctly as required by POSIX, so do not add quotes.
14728 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14737 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14739 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14741 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14742 if test -w "$cache_file"; then
14743 test "x
$cache_file" != "x
/dev
/null
" &&
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14745 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14746 cat confcache >$cache_file
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14749 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14754 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14755 # Let make expand exec_prefix.
14756 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14758 # Transform confdefs.h into DEFS.
14759 # Protect against shell expansion while executing Makefile rules.
14760 # Protect against Makefile macro expansion.
14762 # If the first sed substitution is executed (which looks for macros that
14763 # take arguments), then branch to the quote section. Otherwise,
14764 # look for a macro that doesn't take arguments.
14774 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14776 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14780 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14793 DEFS=`sed -n "$ac_script" confdefs.h`
14798 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14799 # 1. Remove the extension, and $U if already installed.
14800 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14801 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14802 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14803 # will be set to the directory where LIBOBJS objects are built.
14804 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14805 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14807 LIBOBJS=$ac_libobjs
14809 LTLIBOBJS=$ac_ltlibobjs
14813 : ${CONFIG_STATUS=./config.status}
14815 ac_clean_files_save=$ac_clean_files
14816 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14818 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14820 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14822 # Generated by $as_me.
14823 # Run this file to recreate the current configuration.
14824 # Compiler output produced by configure, useful for debugging
14825 # configure, is in config.log if it exists.
14828 ac_cs_recheck=false
14831 SHELL=\${CONFIG_SHELL-$SHELL}
14834 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14835 ## -------------------- ##
14836 ## M4sh Initialization. ##
14837 ## -------------------- ##
14839 # Be more Bourne compatible
14840 DUALCASE=1; export DUALCASE # for MKS sh
14841 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14844 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14845 # is contrary to our usage. Disable this feature.
14846 alias -g '${1+"$@"}'='"$@"'
14847 setopt NO_GLOB_SUBST
14849 case `(set -o) 2>/dev/null` in #(
14861 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14862 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14863 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14864 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14865 # Prefer a ksh shell builtin over an external printf program on Solaris,
14866 # but without wasting forks for bash or zsh.
14867 if test -z "$BASH_VERSION$ZSH_VERSION" \
14868 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14869 as_echo
='print -r --'
14870 as_echo_n
='print -rn --'
14871 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14872 as_echo
='printf %s\n'
14873 as_echo_n
='printf %s'
14875 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14876 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14877 as_echo_n
='/usr/ucb/echo -n'
14879 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14880 as_echo_n_body
='eval
14884 expr "X$arg" : "X\\(.*\\)$as_nl";
14885 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14887 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14889 export as_echo_n_body
14890 as_echo_n
='sh -c $as_echo_n_body as_echo'
14892 export as_echo_body
14893 as_echo
='sh -c $as_echo_body as_echo'
14896 # The user is always right.
14897 if test "${PATH_SEPARATOR+set}" != set; then
14899 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14900 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14907 # We need space, tab and new line, in precisely that order. Quoting is
14908 # there to prevent editors from complaining about space-tab.
14909 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14910 # splitting by setting IFS to empty value.)
14913 # Find who we are. Look in the path if we contain no directory separator.
14915 *[\\/]* ) as_myself
=$0 ;;
14916 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14917 for as_dir
in $PATH
14920 test -z "$as_dir" && as_dir
=.
14921 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14927 # We did not find ourselves, most probably we were run as `sh COMMAND'
14928 # in which case we are not to be found in the path.
14929 if test "x$as_myself" = x
; then
14932 if test ! -f "$as_myself"; then
14933 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14937 # Unset variables that we do not need and which cause bugs (e.g. in
14938 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14939 # suppresses any "Segmentation fault" message there. '((' could
14940 # trigger a bug in pdksh 5.2.14.
14941 for as_var
in BASH_ENV ENV MAIL MAILPATH
14942 do eval test x\
${$as_var+set} = xset \
14943 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14956 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14959 # as_fn_error ERROR [LINENO LOG_FD]
14960 # ---------------------------------
14961 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14962 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14963 # script with status $?, using 1 if that was 0.
14966 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14968 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14969 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14971 $as_echo "$as_me: error: $1" >&2
14972 as_fn_exit
$as_status
14976 # as_fn_set_status STATUS
14977 # -----------------------
14978 # Set $? to STATUS, without forking.
14979 as_fn_set_status
()
14982 } # as_fn_set_status
14984 # as_fn_exit STATUS
14985 # -----------------
14986 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14990 as_fn_set_status
$1
14996 # Portably unset VAR.
14999 { eval $1=; unset $1;}
15001 as_unset
=as_fn_unset
15002 # as_fn_append VAR VALUE
15003 # ----------------------
15004 # Append the text in VALUE to the end of the definition contained in VAR. Take
15005 # advantage of any shell optimizations that allow amortized linear growth over
15006 # repeated appends, instead of the typical quadratic growth present in naive
15008 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15009 eval 'as_fn_append ()
15020 # as_fn_arith ARG...
15021 # ------------------
15022 # Perform arithmetic evaluation on the ARGs, and store the result in the
15023 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15024 # must be portable across $(()) and expr.
15025 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15026 eval 'as_fn_arith ()
15033 as_val
=`expr "$@" || test $? -eq 1`
15038 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15039 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15045 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15046 as_basename
=basename
15051 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15057 as_me
=`$as_basename -- "$0" ||
15058 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15059 X"$0" : 'X\(//\)$' \| \
15060 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15062 sed '/^.*\/\([^/][^/]*\)\/*$/{
15076 # Avoid depending upon Character Ranges.
15077 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15078 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15079 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15080 as_cr_digits
='0123456789'
15081 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15083 ECHO_C
= ECHO_N
= ECHO_T
=
15084 case `echo -n x` in #(((((
15086 case `echo 'xy\c'` in
15087 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15089 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15096 rm -f conf$$ conf$$.exe conf$$.
file
15097 if test -d conf$$.dir
; then
15098 rm -f conf$$.dir
/conf$$.
file
15101 mkdir conf$$.dir
2>/dev
/null
15103 if (echo >conf$$.
file) 2>/dev
/null
; then
15104 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15106 # ... but there are two gotchas:
15107 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15108 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15109 # In both cases, we have to default to `cp -p'.
15110 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15112 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15120 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15121 rmdir conf$$.dir
2>/dev
/null
15126 # Create "$as_dir" as a directory, including parents if necessary.
15131 -*) as_dir
=.
/$as_dir;;
15133 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15137 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15138 *) as_qdir
=$as_dir;;
15140 as_dirs
="'$as_qdir' $as_dirs"
15141 as_dir
=`$as_dirname -- "$as_dir" ||
15142 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15143 X"$as_dir" : 'X\(//\)[^/]' \| \
15144 X"$as_dir" : 'X\(//\)$' \| \
15145 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15146 $as_echo X"$as_dir" |
15147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15151 /^X\(\/\/\)[^/].*/{
15164 test -d "$as_dir" && break
15166 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15167 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15171 if mkdir
-p .
2>/dev
/null
; then
15172 as_mkdir_p
='mkdir -p "$as_dir"'
15174 test -d .
/-p && rmdir .
/-p
15178 if test -x / >/dev
/null
2>&1; then
15179 as_test_x
='test -x'
15181 if ls -dL / >/dev
/null
2>&1; then
15188 if test -d "$1"; then
15194 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15195 ???[sx]*):;;*)false;;esac;fi
15199 as_executable_p
=$as_test_x
15201 # Sed expression to map a string onto a valid CPP name.
15202 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15204 # Sed expression to map a string onto a valid variable name.
15205 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15209 ## ----------------------------------- ##
15210 ## Main body of $CONFIG_STATUS script. ##
15211 ## ----------------------------------- ##
15213 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15216 # Save the log message, to keep $0 and so on meaningful, and to
15217 # report actual input values of CONFIG_FILES etc. instead of their
15218 # values after options handling.
15220 This file was extended by $as_me, which was
15221 generated by GNU Autoconf 2.64. Invocation command line was
15223 CONFIG_FILES = $CONFIG_FILES
15224 CONFIG_HEADERS = $CONFIG_HEADERS
15225 CONFIG_LINKS = $CONFIG_LINKS
15226 CONFIG_COMMANDS = $CONFIG_COMMANDS
15229 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15234 case $ac_config_files in *"
15235 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15241 # Files that config.status was made for.
15242 config_files="$ac_config_files"
15246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15248 \`$as_me' instantiates files and other configuration actions
15249 from templates according to the current configuration. Unless the files
15250 and actions are specified as TAGs, all are instantiated by default.
15252 Usage: $0 [OPTION]... [TAG]...
15254 -h, --help print this help, then exit
15255 -V, --version print version number and configuration settings, then exit
15256 -q, --quiet, --silent
15257 do not print progress messages
15258 -d, --debug don't remove temporary files
15259 --recheck update $as_me by reconfiguring in the same conditions
15260 --file=FILE[:TEMPLATE]
15261 instantiate the configuration file FILE
15263 Configuration files:
15266 Report bugs to the package provider."
15269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15272 configured by $0, generated by GNU Autoconf 2.64,
15273 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15275 Copyright (C) 2009 Free Software Foundation, Inc.
15276 This config.status script is free software; the Free Software Foundation
15277 gives unlimited permission to copy, distribute and modify it."
15283 test -n "\$AWK" || AWK=awk
15286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15287 # The default lists apply if the user does not specify any file.
15293 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15294 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15305 # Handling of the options.
15306 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15308 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15309 $as_echo "$ac_cs_version"; exit ;;
15310 --debug |
--debu |
--deb |
--de |
--d |
-d )
15312 --file |
--fil |
--fi |
--f )
15315 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15317 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15318 ac_need_defaults
=false
;;
15319 --he |
--h |
--help |
--hel |
-h )
15320 $as_echo "$ac_cs_usage"; exit ;;
15321 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15322 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15325 # This is an error.
15326 -*) as_fn_error
"unrecognized option: \`$1'
15327 Try \`$0 --help' for more information." ;;
15329 *) as_fn_append ac_config_targets
" $1"
15330 ac_need_defaults
=false
;;
15336 ac_configure_extra_args
=
15338 if $ac_cs_silent; then
15340 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15345 if \$ac_cs_recheck; then
15346 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15348 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15349 CONFIG_SHELL='$SHELL'
15350 export CONFIG_SHELL
15355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15359 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15360 ## Running $as_me. ##
15366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15370 extrasub_build="$extrasub_build"
15371 extrasub_host="$extrasub_host"
15372 extrasub_target="$extrasub_target"
15376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15378 # Handling of arguments.
15379 for ac_config_target
in $ac_config_targets
15381 case $ac_config_target in
15382 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15384 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15389 # If the user did not use the arguments to specify the items to instantiate,
15390 # then the envvar interface is used. Set only those that are not.
15391 # We use the long form for the default assignment because of an extremely
15392 # bizarre bug on SunOS 4.1.3.
15393 if $ac_need_defaults; then
15394 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15397 # Have a temporary directory for convenience. Make it in the build tree
15398 # simply because there is no reason against having it here, and in addition,
15399 # creating and moving files from /tmp can sometimes cause problems.
15400 # Hook for its removal unless debugging.
15401 # Note that there is a small window in which the directory will not be cleaned:
15402 # after its creation but before its name has been assigned to `$tmp'.
15406 trap 'exit_status=$?
15407 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15409 trap 'as_fn_exit 1' 1 2 13 15
15411 # Create a (secure) tmp directory for tmp files.
15414 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15415 test -n "$tmp" && test -d "$tmp"
15418 tmp
=.
/conf$$
-$RANDOM
15419 (umask 077 && mkdir
"$tmp")
15420 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15422 # Set up the scripts for CONFIG_FILES section.
15423 # No need to generate them if there are no CONFIG_FILES.
15424 # This happens for instance with `./config.status config.h'.
15425 if test -n "$CONFIG_FILES"; then
15427 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15428 ac_cs_awk_getline
=:
15429 ac_cs_awk_pipe_init
=
15430 ac_cs_awk_read_file
='
15431 while ((getline aline < (F[key])) > 0)
15434 ac_cs_awk_pipe_fini
=
15436 ac_cs_awk_getline
=false
15437 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15438 ac_cs_awk_read_file
='
15440 print "cat " F[key] " &&"
15441 '$ac_cs_awk_pipe_init
15442 # The final `:' finishes the AND list.
15443 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15445 ac_cr
=`echo X | tr X '\015'`
15446 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15447 # But we know of no other shell where ac_cr would be empty at this
15448 # point, so we can use a bashism as a fallback.
15449 if test "x$ac_cr" = x
; then
15450 eval ac_cr
=\$
\'\\r
\'
15452 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15453 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15456 ac_cs_awk_cr
=$ac_cr
15459 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15462 # Create commands to substitute file output variables.
15464 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15465 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15466 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15469 } >conf$
$files.sh
&&
15470 . .
/conf$
$files.sh ||
15471 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15472 rm -f conf$
$files.sh
15475 echo "cat >conf$$subs.awk <<_ACEOF" &&
15476 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15478 } >conf$$subs.sh ||
15479 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15480 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15482 for ac_last_try in false false false false false :; do
15483 . ./conf$$subs.sh ||
15484 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15486 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15487 if test $ac_delim_n = $ac_delim_num; then
15489 elif $ac_last_try; then
15490 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15492 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15495 rm -f conf$$subs.sh
15497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15498 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15502 s/^/S["/; s
/!.
*/"]=/
15512 s/\(.\{148\}\).*/\1/
15514 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15519 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15526 s/\(.\{148\}\).*/\1/
15528 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15532 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15537 ' <conf$$subs.awk | sed '
15542 ' >>$CONFIG_STATUS || ac_write_fail=1
15543 rm -f conf$$subs.awk
15544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15546 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15547 for (key in S) S_is_set[key] = 1
15549 \$ac_cs_awk_pipe_init
15553 nfields = split(line, field, "@
")
15555 len = length(field[1])
15556 for (i = 2; i < nfields; i++) {
15558 keylen = length(key)
15559 if (S_is_set[key]) {
15561 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15562 len += length(value) + length(field[++i])
15567 if (nfields == 3 && !substed) {
15569 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15570 \$ac_cs_awk_read_file
15576 \$ac_cs_awk_pipe_fini
15579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15580 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15581 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15584 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15585 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15588 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15589 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15590 # trailing colons and then remove the whole line if VPATH becomes empty
15591 # (actually we leave an empty line to preserve line numbers).
15592 if test "x
$srcdir" = x.; then
15593 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15594 s/:*\$(srcdir):*/:/
15595 s/:*\${srcdir}:*/:/
15597 s/^\([^=]*=[ ]*\):*/\1/
15603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15604 fi # test -n "$CONFIG_FILES"
15607 eval set X " :F
$CONFIG_FILES "
15612 :[FHLC]) ac_mode=$ac_tag; continue;;
15614 case $ac_mode$ac_tag in
15616 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15617 :[FH]-) ac_tag=-:-;;
15618 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15635 -) ac_f="$tmp/stdin";;
15636 *) # Look for the file first in the build tree, then in the source tree
15637 # (if the path is not absolute). The absolute path cannot be DOS-style,
15638 # because $ac_f cannot contain `:'.
15642 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15644 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15646 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15647 as_fn_append ac_file_inputs " '$ac_f'"
15650 # Let's still pretend it is `configure' which instantiates (i.e., don't
15651 # use $as_me), people would be surprised to read:
15652 # /* config.h. Generated by config.status. */
15653 configure_input='Generated from '`
15654 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15656 if test x"$ac_file" != x-; then
15657 configure_input="$ac_file.
$configure_input"
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15659 $as_echo "$as_me: creating
$ac_file" >&6;}
15661 # Neutralize special characters interpreted by sed in replacement strings.
15662 case $configure_input in #(
15663 *\&* | *\|* | *\\* )
15664 ac_sed_conf_input=`$as_echo "$configure_input" |
15665 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15666 *) ac_sed_conf_input=$configure_input;;
15670 *:-:* | *:-) cat >"$tmp/stdin
" \
15671 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15676 ac_dir=`$as_dirname -- "$ac_file" ||
15677 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15678 X"$ac_file" : 'X\(//\)[^/]' \| \
15679 X"$ac_file" : 'X\(//\)$' \| \
15680 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15681 $as_echo X"$ac_file" |
15682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15686 /^X\(\/\/\)[^/].*/{
15699 as_dir="$ac_dir"; as_fn_mkdir_p
15703 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15705 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15706 # A "..
" for each directory in $ac_dir_suffix.
15707 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15708 case $ac_top_builddir_sub in
15709 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15710 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15713 ac_abs_top_builddir=$ac_pwd
15714 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15715 # for backward compatibility:
15716 ac_top_builddir=$ac_top_build_prefix
15719 .) # We are building in place.
15721 ac_top_srcdir=$ac_top_builddir_sub
15722 ac_abs_top_srcdir=$ac_pwd ;;
15723 [\\/]* | ?:[\\/]* ) # Absolute name.
15724 ac_srcdir=$srcdir$ac_dir_suffix;
15725 ac_top_srcdir=$srcdir
15726 ac_abs_top_srcdir=$srcdir ;;
15727 *) # Relative name.
15728 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15729 ac_top_srcdir=$ac_top_build_prefix$srcdir
15730 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15732 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15742 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15743 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15748 # If the template does not know about datarootdir, expand it.
15749 # FIXME: This hack should be removed a few years after 2.60.
15750 ac_datarootdir_hack=; ac_datarootdir_seen=
15761 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15762 *datarootdir*) ac_datarootdir_seen=yes;;
15763 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15765 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15768 ac_datarootdir_hack='
15769 s&@datadir@&$datadir&g
15770 s&@docdir@&$docdir&g
15771 s&@infodir@&$infodir&g
15772 s&@localedir@&$localedir&g
15773 s&@mandir@&$mandir&g
15774 s&\\\${datarootdir}&$datarootdir&g' ;;
15778 # Neutralize VPATH when `$srcdir' = `.'.
15779 # Shell code in configure.ac might set extrasub.
15780 # FIXME: do we really want to maintain this feature?
15781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15782 ac_sed_extra="$ac_vpsub
15785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15787 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15788 s|@configure_input@|
$ac_sed_conf_input|
;t t
15789 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15790 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15791 s
&@srcdir@
&$ac_srcdir&;t t
15792 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15793 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15794 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15795 s
&@builddir@
&$ac_builddir&;t t
15796 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15797 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15798 s
&@INSTALL@
&$ac_INSTALL&;t t
15799 $ac_datarootdir_hack
15801 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15802 if $ac_cs_awk_getline; then
15803 $AWK -f "$tmp/subs.
awk"
15805 $AWK -f "$tmp/subs.
awk" | $SHELL
15807 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15809 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15810 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15811 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15813 which seems to be undefined. Please make sure it is defined." >&5
15814 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15815 which seems to be undefined. Please make sure it is defined." >&2;}
15819 -) cat "$tmp/out" && rm -f "$tmp/out";;
15820 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15822 || as_fn_error "could not create $ac_file" "$LINENO" 5
15830 case $ac_file$ac_mode in
15831 "Makefile":F) sed "$extrasub_build" Makefile |
15832 sed "$extrasub_host" |
15833 sed "$extrasub_target" > mf$$
15834 mv -f mf$$ Makefile ;;
15842 ac_clean_files=$ac_clean_files_save
15844 test $ac_write_fail = 0 ||
15845 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15848 # configure is writing to config.log, and then calls config.status.
15849 # config.status does its own redirection, appending to config.log.
15850 # Unfortunately, on DOS this fails, as config.log is still kept open
15851 # by configure, so config.status won't be able to
write to it
; its
15852 # output is simply discarded. So we exec the FD to /dev/null,
15853 # effectively closing config.log, so it can be properly (re)opened and
15854 # appended to by config.status. When coming back to configure, we
15855 # need to make the FD available again.
15856 if test "$no_create" != yes; then
15858 ac_config_status_args
=
15859 test "$silent" = yes &&
15860 ac_config_status_args
="$ac_config_status_args --quiet"
15862 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15864 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15865 # would make configure fail if this is the last instruction.
15866 $ac_cs_success || as_fn_exit $?
15868 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15870 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}