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; }
3309 # Disable libquadmath for some systems.
3312 noconfigdirs
="$noconfigdirs target-libquadmath"
3314 # libquadmath is unused on AIX and libquadmath build process use of
3315 # LD_LIBRARY_PATH can break AIX bootstrap.
3316 powerpc-
*-aix* | rs6000-
*-aix*)
3317 noconfigdirs
="$noconfigdirs target-libquadmath"
3321 # Disable libssp for some systems.
3324 # No hosted I/O support.
3325 noconfigdirs
="$noconfigdirs target-libssp"
3327 powerpc-
*-aix* | rs6000-
*-aix*)
3328 noconfigdirs
="$noconfigdirs target-libssp"
3331 # libssp uses a misaligned load to trigger a fault, but the RL78
3332 # doesn't fault for those - instead, it gives a build-time error
3333 # for explicit misaligned loads.
3334 noconfigdirs
="$noconfigdirs target-libssp"
3337 # No hosted I/O support.
3338 noconfigdirs
="$noconfigdirs target-libssp"
3342 # Disable libstdc++-v3 for some systems.
3343 # Allow user to override this if they pass --enable-libstdc++-v3
3344 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3347 # VxWorks uses the Dinkumware C++ library.
3348 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3351 # the C++ libraries don't build on top of CE's C libraries
3352 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3355 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3358 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3363 # Disable Fortran for some systems.
3366 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3367 unsupported_languages
="$unsupported_languages fortran"
3371 # Disable libffi for some systems.
3375 i
[3456789]86-*-darwin*)
3377 x86_64-
*-darwin[912]*)
3380 noconfigdirs
="$noconfigdirs target-libffi"
3383 noconfigdirs
="$noconfigdirs target-libffi"
3386 noconfigdirs
="$noconfigdirs target-libffi"
3389 noconfigdirs
="$noconfigdirs target-libffi"
3392 noconfigdirs
="$noconfigdirs target-libffi"
3395 noconfigdirs
="$noconfigdirs target-libffi"
3398 noconfigdirs
="$noconfigdirs target-libffi"
3400 aarch64
*-*-freebsd*)
3401 noconfigdirs
="$noconfigdirs target-libffi"
3404 noconfigdirs
="$noconfigdirs target-libffi"
3407 noconfigdirs
="$noconfigdirs target-libffi"
3410 noconfigdirs
="$noconfigdirs target-libffi"
3413 noconfigdirs
="$noconfigdirs target-libffi"
3415 cris-
*-* | crisv32-
*-*)
3419 *) # See PR46792 regarding target-libffi.
3420 noconfigdirs
="$noconfigdirs target-libffi";;
3424 noconfigdirs
="$noconfigdirs target-libffi"
3429 noconfigdirs
="$noconfigdirs target-libffi"
3432 noconfigdirs
="$noconfigdirs target-libffi"
3434 i
[3456789]86-w64-mingw*)
3435 noconfigdirs
="$noconfigdirs target-libffi"
3437 i
[3456789]86-*-mingw*)
3438 noconfigdirs
="$noconfigdirs target-libffi"
3441 noconfigdirs
="$noconfigdirs target-libffi"
3444 noconfigdirs
="$noconfigdirs target-libffi"
3447 # copied from rs6000-*-* entry
3448 noconfigdirs
="$noconfigdirs target-libffi"
3451 noconfigdirs
="$noconfigdirs target-libffi"
3454 noconfigdirs
="$noconfigdirs target-libffi"
3457 noconfigdirs
="$noconfigdirs target-libffi"
3461 # Disable the go frontend on systems where it is known to not work. Please keep
3462 # this in sync with contrib/config-list.mk.
3464 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3465 unsupported_languages
="$unsupported_languages go"
3469 # Disable libgo for some systems where it is known to not work.
3470 # For testing, you can easily override this with --enable-libgo.
3471 if test x
$enable_libgo = x
; then
3475 noconfigdirs
="$noconfigdirs target-libgo"
3477 *-*-cygwin* |
*-*-mingw*)
3478 noconfigdirs
="$noconfigdirs target-libgo"
3481 noconfigdirs
="$noconfigdirs target-libgo"
3486 # Disable the BRIG frontend and libhsail-rt on untested or known
3487 # broken systems. Currently it has been tested only on x86_64 Linux
3488 # of the upstream gcc targets. More targets shall be added after testing.
3493 unsupported_languages
="$unsupported_languages brig"
3494 # This implicitly disables also target-libhsail-rt as it won't
3495 # get added to the build without BRIG FE.
3499 # Default libgloss CPU subdirectory.
3500 libgloss_dir
="$target_cpu"
3503 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3507 libgloss_dir
=aarch64
3512 cris-
*-* | crisv32-
*-*)
3521 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3522 libgloss_dir
=m68hc11
3524 m68
*-*-* | fido-
*-*)
3538 # Disable newlib and libgloss for various target OSes.
3541 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3543 i
[3456789]86-*-linux*)
3544 # This section makes it possible to build newlib natively on linux.
3545 # If we are using a cross compiler then don't configure newlib.
3546 if test x
${is_cross_compiler} != xno
; then
3547 noconfigdirs
="$noconfigdirs target-newlib"
3549 noconfigdirs
="$noconfigdirs target-libgloss"
3550 # If we are not using a cross compiler, do configure newlib.
3551 # Note however, that newlib will only be configured in this situation
3552 # if the --with-newlib option has been given, because otherwise
3553 # 'target-newlib' will appear in skipdirs.
3555 i
[3456789]86-*-rdos*)
3556 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3558 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3559 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3562 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3565 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3568 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3571 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3574 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3577 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3579 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3580 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3583 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3586 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3589 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3592 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3595 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3598 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3601 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3609 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3610 noconfigdirs
="$noconfigdirs sim target-rda"
3613 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3614 noconfigdirs
="$noconfigdirs sim target-rda"
3617 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3618 noconfigdirs
="$noconfigdirs sim target-rda"
3620 i
[3456789]86-*-darwin*)
3621 noconfigdirs
="$noconfigdirs ld gprof"
3622 noconfigdirs
="$noconfigdirs sim target-rda"
3624 x86_64-
*-darwin[912]*)
3625 noconfigdirs
="$noconfigdirs ld gas gprof"
3626 noconfigdirs
="$noconfigdirs sim target-rda"
3629 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3630 noconfigdirs
="$noconfigdirs sim target-rda"
3635 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3636 && test -f /usr
/local
/include
/gmp.h
; then
3641 # Remove unsupported stuff on all kaOS configurations.
3642 noconfigdirs
="$noconfigdirs target-libgloss"
3649 noconfigdirs
="$noconfigdirs target-libgloss"
3652 noconfigdirs
="$noconfigdirs target-libgloss"
3653 # this is not caught below because this stanza matches earlier
3655 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3658 # The tpf target doesn't support gdb yet.
3660 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3663 noconfigdirs
="$noconfigdirs target-rda"
3668 # ld works, but does not support shared libraries.
3669 # gas doesn't generate exception information.
3670 noconfigdirs
="$noconfigdirs gas ld"
3673 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3676 # newlib is not 64 bit ready
3677 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3679 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3680 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3683 noconfigdirs
="$noconfigdirs sim"
3686 noconfigdirs
="$noconfigdirs target-libgloss"
3689 noconfigdirs
="$noconfigdirs ld target-libgloss"
3692 if test x
${with_avrlibc} != xno
; then
3693 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3696 c4x-
*-* | tic4x-
*-*)
3697 noconfigdirs
="$noconfigdirs target-libgloss"
3700 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3703 noconfigdirs
="$noconfigdirs target-libgloss"
3706 noconfigdirs
="$noconfigdirs gdb"
3709 noconfigdirs
="$noconfigdirs gdb"
3712 noconfigdirs
="$noconfigdirs target-rda gprof"
3715 noconfigdirs
="$noconfigdirs"
3718 noconfigdirs
="$noconfigdirs target-libgloss"
3721 noconfigdirs
="$noconfigdirs target-libgloss"
3723 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3726 noconfigdirs
="$noconfigdirs gdb"
3729 noconfigdirs
="$noconfigdirs gdb ld"
3737 hppa
*-*-openbsd* | \
3743 noconfigdirs
="$noconfigdirs ld"
3746 noconfigdirs
="$noconfigdirs gdb"
3749 # No gdb support yet.
3750 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3753 # No ld support yet.
3754 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3757 # No ld support yet.
3758 noconfigdirs
="$noconfigdirs libgui itcl ld"
3760 i
[3456789]86-w64-mingw*)
3762 i
[3456789]86-*-mingw*)
3763 target_configdirs
="$target_configdirs target-winsup"
3766 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3767 noconfigdirs
="$noconfigdirs target-libgloss"
3768 # always build newlib if winsup directory is present.
3769 if test -d "$srcdir/winsup/cygwin"; then
3770 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3771 elif test -d "$srcdir/newlib"; then
3772 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3776 noconfigdirs
="$noconfigdirs target-libgloss"
3778 i
[3456789]86-*-sco3.2v5
*)
3779 # The linker does not yet know about weak symbols in COFF,
3780 # and is not configured to handle mixed ELF and COFF.
3781 noconfigdirs
="$noconfigdirs ld target-libgloss"
3783 i
[3456789]86-*-sco*)
3784 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3786 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3787 noconfigdirs
="$noconfigdirs target-libgloss"
3789 i
[3456789]86-*-sysv4*)
3790 noconfigdirs
="$noconfigdirs target-libgloss"
3792 i
[3456789]86-*-beos*)
3793 noconfigdirs
="$noconfigdirs gdb"
3795 i
[3456789]86-*-rdos*)
3796 noconfigdirs
="$noconfigdirs gdb"
3799 noconfigdirs
="$noconfigdirs gdb"
3802 noconfigdirs
="$noconfigdirs sim"
3805 # copied from rs6000-*-* entry
3806 noconfigdirs
="$noconfigdirs gprof"
3808 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3809 target_configdirs
="$target_configdirs target-winsup"
3810 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3811 # always build newlib.
3812 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3814 # This is temporary until we can link against shared libraries
3815 powerpcle-
*-solaris*)
3816 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3819 noconfigdirs
="$noconfigdirs gdb"
3822 noconfigdirs
="$noconfigdirs gprof"
3825 noconfigdirs
="$noconfigdirs gprof"
3828 noconfigdirs
="$noconfigdirs gprof"
3831 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3834 noconfigdirs
="$noconfigdirs gprof"
3836 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3837 if test x
$with_newlib = xyes
; then
3838 noconfigdirs
="$noconfigdirs gprof"
3842 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3845 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3848 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3852 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3853 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3854 noconfigdirs
="$noconfigdirs ld gas gprof"
3857 noconfigdirs
="$noconfigdirs gprof"
3860 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3863 noconfigdirs
="$noconfigdirs gdb"
3870 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3874 if test x
${is_cross_compiler} = xno
; then
3879 noconfigdirs
="$noconfigdirs sim"
3881 tilepro
*-*-* | tilegx
*-*-*)
3882 noconfigdirs
="$noconfigdirs sim"
3885 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3888 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3892 # If we aren't building newlib, then don't build libgloss, since libgloss
3893 # depends upon some newlib header files.
3894 case "${noconfigdirs}" in
3895 *target-libgloss
*) ;;
3896 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3899 # Work in distributions that contain no compiler tools, like Autoconf.
3900 host_makefile_frag
=/dev
/null
3901 if test -d ${srcdir}/config
; then
3903 i
[3456789]86-*-msdosdjgpp*)
3904 host_makefile_frag
="config/mh-djgpp"
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3909 $as_echo_n "checking to see if cat works as expected... " >&6; }
3910 echo a
>cygwin-cat-check
3911 if test `cat cygwin-cat-check` = a
; then
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3914 $as_echo "yes" >&6; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918 $as_echo "no" >&6; }
3919 as_fn_error
"The cat command does not ignore carriage return characters.
3920 Please either mount the build directory in binary mode or run the following
3921 commands before running any configure script:
3927 host_makefile_frag
="config/mh-cygwin"
3930 host_makefile_frag
="config/mh-mingw"
3933 host_makefile_frag
="config/mh-alpha-linux"
3936 host_makefile_frag
="config/mh-pa-hpux10"
3939 host_makefile_frag
="config/mh-pa"
3942 host_makefile_frag
="config/mh-pa"
3945 host_makefile_frag
="config/mh-darwin"
3948 host_makefile_frag
="config/mh-ppc-aix"
3951 host_makefile_frag
="config/mh-ppc-aix"
3956 if test "${build}" != "${host}" ; then
3957 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3958 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3959 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3960 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3961 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3962 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3963 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3964 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3965 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3966 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3967 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3968 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3970 AR_FOR_BUILD
="\$(AR)"
3971 AS_FOR_BUILD
="\$(AS)"
3972 CC_FOR_BUILD
="\$(CC)"
3973 CXX_FOR_BUILD
="\$(CXX)"
3974 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3975 GOC_FOR_BUILD
="\$(GOC)"
3976 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3977 LD_FOR_BUILD
="\$(LD)"
3978 NM_FOR_BUILD
="\$(NM)"
3979 RANLIB_FOR_BUILD
="\$(RANLIB)"
3980 WINDRES_FOR_BUILD
="\$(WINDRES)"
3981 WINDMC_FOR_BUILD
="\$(WINDMC)"
3985 ac_cpp
='$CPP $CPPFLAGS'
3986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3989 if test -n "$ac_tool_prefix"; then
3990 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3991 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3993 $as_echo_n "checking for $ac_word... " >&6; }
3994 if test "${ac_cv_prog_CC+set}" = set; then :
3995 $as_echo_n "(cached) " >&6
3997 if test -n "$CC"; then
3998 ac_cv_prog_CC
="$CC" # Let the user override the test.
4000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4004 test -z "$as_dir" && as_dir
=.
4005 for ac_exec_ext
in '' $ac_executable_extensions; do
4006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4007 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 if test -n "$CC"; then
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4020 $as_echo "$CC" >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 $as_echo "no" >&6; }
4028 if test -z "$ac_cv_prog_CC"; then
4030 # Extract the first word of "gcc", so it can be a program name with args.
4031 set dummy gcc
; ac_word
=$2
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4033 $as_echo_n "checking for $ac_word... " >&6; }
4034 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4035 $as_echo_n "(cached) " >&6
4037 if test -n "$ac_ct_CC"; then
4038 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4044 test -z "$as_dir" && as_dir
=.
4045 for ac_exec_ext
in '' $ac_executable_extensions; do
4046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4047 ac_cv_prog_ac_ct_CC
="gcc"
4048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4057 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4058 if test -n "$ac_ct_CC"; then
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4060 $as_echo "$ac_ct_CC" >&6; }
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4063 $as_echo "no" >&6; }
4066 if test "x$ac_ct_CC" = x
; then
4069 case $cross_compiling:$ac_tool_warned in
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4073 ac_tool_warned
=yes ;;
4081 if test -z "$CC"; then
4082 if test -n "$ac_tool_prefix"; then
4083 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4084 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4086 $as_echo_n "checking for $ac_word... " >&6; }
4087 if test "${ac_cv_prog_CC+set}" = set; then :
4088 $as_echo_n "(cached) " >&6
4090 if test -n "$CC"; then
4091 ac_cv_prog_CC
="$CC" # Let the user override the test.
4093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir
=.
4098 for ac_exec_ext
in '' $ac_executable_extensions; do
4099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4100 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4111 if test -n "$CC"; then
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4113 $as_echo "$CC" >&6; }
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4116 $as_echo "no" >&6; }
4122 if test -z "$CC"; then
4123 # Extract the first word of "cc", so it can be a program name with args.
4124 set dummy cc
; ac_word
=$2
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4126 $as_echo_n "checking for $ac_word... " >&6; }
4127 if test "${ac_cv_prog_CC+set}" = set; then :
4128 $as_echo_n "(cached) " >&6
4130 if test -n "$CC"; then
4131 ac_cv_prog_CC
="$CC" # Let the user override the test.
4134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4138 test -z "$as_dir" && as_dir
=.
4139 for ac_exec_ext
in '' $ac_executable_extensions; do
4140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4141 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4142 ac_prog_rejected
=yes
4146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4153 if test $ac_prog_rejected = yes; then
4154 # We found a bogon in the path, so make sure we never use it.
4155 set dummy
$ac_cv_prog_CC
4157 if test $# != 0; then
4158 # We chose a different compiler from the bogus one.
4159 # However, it has the same basename, so the bogon will be chosen
4160 # first if we set CC to just the basename; use the full file name.
4162 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4168 if test -n "$CC"; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4170 $as_echo "$CC" >&6; }
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4173 $as_echo "no" >&6; }
4178 if test -z "$CC"; then
4179 if test -n "$ac_tool_prefix"; then
4180 for ac_prog
in cl.exe
4182 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4183 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4185 $as_echo_n "checking for $ac_word... " >&6; }
4186 if test "${ac_cv_prog_CC+set}" = set; then :
4187 $as_echo_n "(cached) " >&6
4189 if test -n "$CC"; then
4190 ac_cv_prog_CC
="$CC" # Let the user override the test.
4192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4196 test -z "$as_dir" && as_dir
=.
4197 for ac_exec_ext
in '' $ac_executable_extensions; do
4198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4199 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4210 if test -n "$CC"; then
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4212 $as_echo "$CC" >&6; }
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4215 $as_echo "no" >&6; }
4219 test -n "$CC" && break
4222 if test -z "$CC"; then
4224 for ac_prog
in cl.exe
4226 # Extract the first word of "$ac_prog", so it can be a program name with args.
4227 set dummy
$ac_prog; ac_word
=$2
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4229 $as_echo_n "checking for $ac_word... " >&6; }
4230 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4231 $as_echo_n "(cached) " >&6
4233 if test -n "$ac_ct_CC"; then
4234 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4240 test -z "$as_dir" && as_dir
=.
4241 for ac_exec_ext
in '' $ac_executable_extensions; do
4242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4243 ac_cv_prog_ac_ct_CC
="$ac_prog"
4244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4253 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4254 if test -n "$ac_ct_CC"; then
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4256 $as_echo "$ac_ct_CC" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259 $as_echo "no" >&6; }
4263 test -n "$ac_ct_CC" && break
4266 if test "x$ac_ct_CC" = x
; then
4269 case $cross_compiling:$ac_tool_warned in
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4273 ac_tool_warned
=yes ;;
4282 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4284 as_fn_error
"no acceptable C compiler found in \$PATH
4285 See \`config.log' for more details." "$LINENO" 5; }
4287 # Provide some information about the compiler.
4288 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4291 for ac_option
in --version -v -V -qversion; do
4292 { { ac_try
="$ac_compiler $ac_option >&5"
4294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4298 $as_echo "$ac_try_echo"; } >&5
4299 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4301 if test -s conftest.err; then
4303 ... rest of stderr output deleted ...
4304 10q' conftest.err >conftest.er1
4305 cat conftest.er1 >&5
4306 rm -f conftest.er1 conftest.err
4308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4309 test $ac_status = 0; }
4312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4313 /* end confdefs.h. */
4323 ac_clean_files_save=$ac_clean_files
4324 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4325 # Try to create an executable without -o first, disregard a.out.
4326 # It will help us diagnose broken compilers, and finding out an intuition
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4329 $as_echo_n "checking for C compiler default output file name... " >&6; }
4330 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4332 # The possible output files:
4333 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4336 for ac_file in $ac_files
4339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4340 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4345 if { { ac_try="$ac_link_default"
4347 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4348 *) ac_try_echo
=$ac_try;;
4350 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4351 $as_echo "$ac_try_echo"; } >&5
4352 (eval "$ac_link_default") 2>&5
4354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4355 test $ac_status = 0; }; then :
4356 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4357 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4358 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4359 # so that the user can short-circuit this test for compilers unknown to
4361 for ac_file
in $ac_files ''
4363 test -f "$ac_file" ||
continue
4365 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4368 # We found the default executable, but exeext='' is most
4372 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4374 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4376 # We set ac_cv_exeext here because the later test for it is not
4377 # safe: cross compilers may not add the suffix if given an `-o'
4378 # argument, so we may need to know it at that point already.
4379 # Even if this section looks crufty: it has the advantage of
4386 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4392 $as_echo "$ac_file" >&6; }
4393 if test -z "$ac_file"; then :
4394 $as_echo "$as_me: failed program was:" >&5
4395 sed 's/^/| /' conftest.
$ac_ext >&5
4397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4399 { as_fn_set_status
77
4400 as_fn_error
"C compiler cannot create executables
4401 See \`config.log' for more details." "$LINENO" 5; }; }
4403 ac_exeext
=$ac_cv_exeext
4405 # Check that the compiler produces executables we can run. If not, either
4406 # the compiler is broken, or we cross compile.
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4408 $as_echo_n "checking whether the C compiler works... " >&6; }
4409 # If not cross compiling, check that we can run a simple program.
4410 if test "$cross_compiling" != yes; then
4411 if { ac_try
='./$ac_file'
4412 { { case "(($ac_try" in
4413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4417 $as_echo "$ac_try_echo"; } >&5
4418 (eval "$ac_try") 2>&5
4420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4421 test $ac_status = 0; }; }; then
4424 if test "$cross_compiling" = maybe; then
4427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4429 as_fn_error "cannot run C compiled programs.
4430 If you meant to cross compile
, use \
`--host'.
4431 See \`config.log
' for more details." "$LINENO" 5; }
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4436 $as_echo "yes" >&6; }
4438 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4439 ac_clean_files=$ac_clean_files_save
4440 # Check that the compiler produces executables we can run. If not, either
4441 # the compiler is broken, or we cross compile.
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4443 $as_echo_n "checking whether we are cross compiling... " >&6; }
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4445 $as_echo "$cross_compiling" >&6; }
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4448 $as_echo_n "checking for suffix of executables... " >&6; }
4449 if { { ac_try="$ac_link"
4451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4452 *) ac_try_echo=$ac_try;;
4454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4455 $as_echo "$ac_try_echo"; } >&5
4456 (eval "$ac_link") 2>&5
4458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4459 test $ac_status = 0; }; then :
4460 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4461 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4462 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4464 for ac_file
in conftest.exe conftest conftest.
*; do
4465 test -f "$ac_file" ||
continue
4467 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4468 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4476 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4477 See \`config.log' for more details." "$LINENO" 5; }
4479 rm -f conftest
$ac_cv_exeext
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4481 $as_echo "$ac_cv_exeext" >&6; }
4483 rm -f conftest.
$ac_ext
4484 EXEEXT
=$ac_cv_exeext
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4487 $as_echo_n "checking for suffix of object files... " >&6; }
4488 if test "${ac_cv_objext+set}" = set; then :
4489 $as_echo_n "(cached) " >&6
4491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4502 rm -f conftest.o conftest.obj
4503 if { { ac_try
="$ac_compile"
4505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4506 *) ac_try_echo=$ac_try;;
4508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4509 $as_echo "$ac_try_echo"; } >&5
4510 (eval "$ac_compile") 2>&5
4512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4513 test $ac_status = 0; }; then :
4514 for ac_file in conftest.o conftest.obj conftest.*; do
4515 test -f "$ac_file" || continue;
4517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4518 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4523 $as_echo "$as_me: failed program was:" >&5
4524 sed 's/^/| /' conftest.$ac_ext >&5
4526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4528 as_fn_error "cannot compute suffix of object files
: cannot compile
4529 See \
`config.log' for more details." "$LINENO" 5; }
4531 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4534 $as_echo "$ac_cv_objext" >&6; }
4535 OBJEXT=$ac_cv_objext
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4538 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4539 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4540 $as_echo_n "(cached) " >&6
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4556 if ac_fn_c_try_compile "$LINENO"; then :
4561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4562 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4566 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4567 if test $ac_compiler_gnu = yes; then
4572 ac_test_CFLAGS=${CFLAGS+set}
4573 ac_save_CFLAGS=$CFLAGS
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4575 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4576 if test "${ac_cv_prog_cc_g+set}" = set; then :
4577 $as_echo_n "(cached) " >&6
4579 ac_save_c_werror_flag=$ac_c_werror_flag
4580 ac_c_werror_flag=yes
4583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h. */
4594 if ac_fn_c_try_compile "$LINENO"; then :
4598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4609 if ac_fn_c_try_compile "$LINENO"; then :
4612 ac_c_werror_flag=$ac_save_c_werror_flag
4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4625 if ac_fn_c_try_compile "$LINENO"; then :
4628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4633 ac_c_werror_flag=$ac_save_c_werror_flag
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4636 $as_echo "$ac_cv_prog_cc_g" >&6; }
4637 if test "$ac_test_CFLAGS" = set; then
4638 CFLAGS=$ac_save_CFLAGS
4639 elif test $ac_cv_prog_cc_g = yes; then
4640 if test "$GCC" = yes; then
4646 if test "$GCC" = yes; then
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4653 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4654 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4655 $as_echo_n "(cached) " >&6
4657 ac_cv_prog_cc_c89=no
4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4663 #include <sys/types.h>
4664 #include <sys/stat.h>
4665 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4666 struct buf { int x; };
4667 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4668 static char *e (p, i)
4674 static char *f (char * (*g) (char **, int), char **p, ...)
4679 s = g (p, va_arg (v,int));
4684 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4685 function prototypes and stuff, but not '\xHH' hex character constants.
4686 These don't provoke an error unfortunately, instead are silently treated
4687 as 'x'. The following induces an error, until -std is added to get
4688 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4689 array size at least. It's necessary to write '\x00'==0 to get something
4690 that's true only with -std. */
4691 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4693 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4694 inside strings and character constants. */
4696 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4698 int test (int i, double x);
4699 struct s1 {int (*f) (int a);};
4700 struct s2 {int (*f) (double a);};
4701 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4707 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4712 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4713 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4715 CC="$ac_save_CC $ac_arg"
4716 if ac_fn_c_try_compile "$LINENO"; then :
4717 ac_cv_prog_cc_c89=$ac_arg
4719 rm -f core conftest.err conftest.$ac_objext
4720 test "x$ac_cv_prog_cc_c89" != "xno" && break
4722 rm -f conftest.$ac_ext
4727 case "x$ac_cv_prog_cc_c89" in
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4730 $as_echo "none needed" >&6; } ;;
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4733 $as_echo "unsupported" >&6; } ;;
4735 CC="$CC $ac_cv_prog_cc_c89"
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4737 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4739 if test "x$ac_cv_prog_cc_c89" != xno; then :
4744 ac_cpp='$CPP $CPPFLAGS'
4745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4750 ac_cpp='$CXXCPP $CPPFLAGS'
4751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4754 if test -z "$CXX"; then
4755 if test -n "$CCC"; then
4758 if test -n "$ac_tool_prefix"; then
4759 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4761 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4762 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4764 $as_echo_n "checking for $ac_word... " >&6; }
4765 if test "${ac_cv_prog_CXX+set}" = set; then :
4766 $as_echo_n "(cached) " >&6
4768 if test -n "$CXX"; then
4769 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4775 test -z "$as_dir" && as_dir=.
4776 for ac_exec_ext in '' $ac_executable_extensions; do
4777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4778 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 if test -n "$CXX"; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4791 $as_echo "$CXX" >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794 $as_echo "no" >&6; }
4798 test -n "$CXX" && break
4801 if test -z "$CXX"; then
4803 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4805 # Extract the first word of "$ac_prog", so it can be a program name with args.
4806 set dummy $ac_prog; ac_word=$2
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4808 $as_echo_n "checking for $ac_word... " >&6; }
4809 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4810 $as_echo_n "(cached) " >&6
4812 if test -n "$ac_ct_CXX"; then
4813 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4819 test -z "$as_dir" && as_dir=.
4820 for ac_exec_ext in '' $ac_executable_extensions; do
4821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4822 ac_cv_prog_ac_ct_CXX="$ac_prog"
4823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4832 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4833 if test -n "$ac_ct_CXX"; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4835 $as_echo "$ac_ct_CXX" >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838 $as_echo "no" >&6; }
4842 test -n "$ac_ct_CXX" && break
4845 if test "x$ac_ct_CXX" = x; then
4848 case $cross_compiling:$ac_tool_warned in
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4852 ac_tool_warned=yes ;;
4860 # Provide some information about the compiler.
4861 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4864 for ac_option in --version -v -V -qversion; do
4865 { { ac_try="$ac_compiler $ac_option >&5"
4867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4868 *) ac_try_echo
=$ac_try;;
4870 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4871 $as_echo "$ac_try_echo"; } >&5
4872 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4874 if test -s conftest.err
; then
4876 ... rest of stderr output deleted ...
4877 10q' conftest.err
>conftest.er1
4878 cat conftest.er1
>&5
4879 rm -f conftest.er1 conftest.err
4881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4882 test $ac_status = 0; }
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4886 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4887 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4888 $as_echo_n "(cached) " >&6
4890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4891 /* end confdefs.h. */
4904 if ac_fn_cxx_try_compile
"$LINENO"; then :
4909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4910 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4914 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4915 if test $ac_compiler_gnu = yes; then
4920 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4921 ac_save_CXXFLAGS
=$CXXFLAGS
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4923 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4924 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4925 $as_echo_n "(cached) " >&6
4927 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4928 ac_cxx_werror_flag
=yes
4931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4932 /* end confdefs.h. */
4942 if ac_fn_cxx_try_compile
"$LINENO"; then :
4943 ac_cv_prog_cxx_g
=yes
4946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4947 /* end confdefs.h. */
4957 if ac_fn_cxx_try_compile
"$LINENO"; then :
4960 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4963 /* end confdefs.h. */
4973 if ac_fn_cxx_try_compile
"$LINENO"; then :
4974 ac_cv_prog_cxx_g
=yes
4976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4981 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4984 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4985 if test "$ac_test_CXXFLAGS" = set; then
4986 CXXFLAGS
=$ac_save_CXXFLAGS
4987 elif test $ac_cv_prog_cxx_g = yes; then
4988 if test "$GXX" = yes; then
4994 if test "$GXX" = yes; then
5001 ac_cpp
='$CPP $CPPFLAGS'
5002 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5003 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5004 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5007 # We must set the default linker to the linker used by gcc for the correct
5008 # operation of libtool. If LD is not defined and we are using gcc, try to
5009 # set the LD default to the ld used by gcc.
5010 if test -z "$LD"; then
5011 if test "$GCC" = yes; then
5014 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5016 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5018 case $gcc_prog_ld in
5019 # Accept absolute paths.
5020 [\\/]* |
[A-Za-z
]:[\\/]*)
5021 LD
="$gcc_prog_ld" ;;
5026 # Check whether -static-libstdc++ -static-libgcc is supported.
5028 if test "$GCC" = yes; then
5029 saved_LDFLAGS
="$LDFLAGS"
5031 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5033 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5035 ac_cpp
='$CXXCPP $CPPFLAGS'
5036 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5037 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5038 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5042 /* end confdefs.h. */
5044 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5045 #error -static-libstdc++ not implemented
5049 if ac_fn_cxx_try_link
"$LINENO"; then :
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5051 $as_echo "yes" >&6; }; have_static_libs
=yes
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5056 rm -f core conftest.err conftest.
$ac_objext \
5057 conftest
$ac_exeext conftest.
$ac_ext
5059 ac_cpp
='$CPP $CPPFLAGS'
5060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5065 LDFLAGS
="$saved_LDFLAGS"
5071 if test -n "$ac_tool_prefix"; then
5072 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5073 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5075 $as_echo_n "checking for $ac_word... " >&6; }
5076 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5077 $as_echo_n "(cached) " >&6
5079 if test -n "$GNATBIND"; then
5080 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5086 test -z "$as_dir" && as_dir
=.
5087 for ac_exec_ext
in '' $ac_executable_extensions; do
5088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5089 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 GNATBIND
=$ac_cv_prog_GNATBIND
5100 if test -n "$GNATBIND"; then
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5102 $as_echo "$GNATBIND" >&6; }
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 $as_echo "no" >&6; }
5110 if test -z "$ac_cv_prog_GNATBIND"; then
5111 ac_ct_GNATBIND
=$GNATBIND
5112 # Extract the first word of "gnatbind", so it can be a program name with args.
5113 set dummy gnatbind
; ac_word
=$2
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5115 $as_echo_n "checking for $ac_word... " >&6; }
5116 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5117 $as_echo_n "(cached) " >&6
5119 if test -n "$ac_ct_GNATBIND"; then
5120 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5126 test -z "$as_dir" && as_dir
=.
5127 for ac_exec_ext
in '' $ac_executable_extensions; do
5128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5129 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5140 if test -n "$ac_ct_GNATBIND"; then
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5142 $as_echo "$ac_ct_GNATBIND" >&6; }
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5145 $as_echo "no" >&6; }
5148 if test "x$ac_ct_GNATBIND" = x
; then
5151 case $cross_compiling:$ac_tool_warned in
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5155 ac_tool_warned
=yes ;;
5157 GNATBIND
=$ac_ct_GNATBIND
5160 GNATBIND
="$ac_cv_prog_GNATBIND"
5163 if test -n "$ac_tool_prefix"; then
5164 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5165 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5167 $as_echo_n "checking for $ac_word... " >&6; }
5168 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5169 $as_echo_n "(cached) " >&6
5171 if test -n "$GNATMAKE"; then
5172 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5178 test -z "$as_dir" && as_dir
=.
5179 for ac_exec_ext
in '' $ac_executable_extensions; do
5180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5181 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 GNATMAKE
=$ac_cv_prog_GNATMAKE
5192 if test -n "$GNATMAKE"; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5194 $as_echo "$GNATMAKE" >&6; }
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5197 $as_echo "no" >&6; }
5202 if test -z "$ac_cv_prog_GNATMAKE"; then
5203 ac_ct_GNATMAKE
=$GNATMAKE
5204 # Extract the first word of "gnatmake", so it can be a program name with args.
5205 set dummy gnatmake
; ac_word
=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5209 $as_echo_n "(cached) " >&6
5211 if test -n "$ac_ct_GNATMAKE"; then
5212 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5218 test -z "$as_dir" && as_dir
=.
5219 for ac_exec_ext
in '' $ac_executable_extensions; do
5220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5232 if test -n "$ac_ct_GNATMAKE"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5234 $as_echo "$ac_ct_GNATMAKE" >&6; }
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5240 if test "x$ac_ct_GNATMAKE" = x
; then
5243 case $cross_compiling:$ac_tool_warned in
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5247 ac_tool_warned
=yes ;;
5249 GNATMAKE
=$ac_ct_GNATMAKE
5252 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5256 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5257 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5258 $as_echo_n "(cached) " >&6
5260 cat >conftest.adb
<<EOF
5261 procedure conftest is begin null; end conftest;
5263 acx_cv_cc_gcc_supports_ada
=no
5264 # There is a bug in old released versions of GCC which causes the
5265 # driver to exit successfully when the appropriate language module
5266 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5267 # Therefore we must check for the error message as well as an
5268 # unsuccessful exit.
5269 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5270 # given a .adb file, but produce no object file. So we must check
5271 # if an object file was really produced to guard against this.
5272 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5273 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5274 acx_cv_cc_gcc_supports_ada
=yes
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5279 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5281 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5288 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5289 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5290 $as_echo_n "(cached) " >&6
5294 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5295 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5296 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5299 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5302 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5303 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5306 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5313 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5314 do_compare
="$gcc_cv_prog_cmp_skip"
5318 # Check whether --enable-bootstrap was given.
5319 if test "${enable_bootstrap+set}" = set; then :
5320 enableval
=$enable_bootstrap;
5322 enable_bootstrap
=default
5326 # Issue errors and warnings for invalid/strange bootstrap combinations.
5327 if test -r $srcdir/gcc
/configure
; then
5333 case "$have_compiler:$host:$target:$enable_bootstrap" in
5336 # Default behavior. Enable bootstrap if we have a compiler
5337 # and we are in a native configuration.
5338 yes:$build:$build:default
)
5339 enable_bootstrap
=yes ;;
5342 enable_bootstrap
=no
;;
5344 # We have a compiler and we are in a native configuration, bootstrap is ok
5345 yes:$build:$build:yes)
5348 # Other configurations, but we have a compiler. Assume the user knows
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5352 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5355 # No compiler: if they passed --enable-bootstrap explicitly, fail
5357 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5359 # Fail if wrong command line
5361 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5365 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5366 # C++98 compiler can still start the bootstrap.
5367 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5368 CXX
="$CXX -std=gnu++98"
5371 # Used for setting $lt_cv_objdir
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5373 $as_echo_n "checking for objdir... " >&6; }
5374 if test "${lt_cv_objdir+set}" = set; then :
5375 $as_echo_n "(cached) " >&6
5377 rm -f .libs
2>/dev
/null
5378 mkdir .libs
2>/dev
/null
5379 if test -d .libs
; then
5382 # MS-DOS does not allow filenames that begin with a dot.
5385 rmdir .libs
2>/dev
/null
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5388 $as_echo "$lt_cv_objdir" >&6; }
5389 objdir
=$lt_cv_objdir
5395 cat >>confdefs.h
<<_ACEOF
5396 #define LT_OBJDIR "$lt_cv_objdir/"
5401 # Check for GMP, MPFR and MPC
5402 gmplibs
="-lmpc -lmpfr -lgmp"
5406 # Specify a location for mpc
5407 # check for this first so it ends up on the link line before mpfr.
5409 # Check whether --with-mpc was given.
5410 if test "${with_mpc+set}" = set; then :
5415 # Check whether --with-mpc-include was given.
5416 if test "${with_mpc_include+set}" = set; then :
5417 withval
=$with_mpc_include;
5421 # Check whether --with-mpc-lib was given.
5422 if test "${with_mpc_lib+set}" = set; then :
5423 withval
=$with_mpc_lib;
5427 if test "x$with_mpc" != x
; then
5428 gmplibs
="-L$with_mpc/lib $gmplibs"
5429 gmpinc
="-I$with_mpc/include $gmpinc"
5431 if test "x$with_mpc_include" != x
; then
5432 gmpinc
="-I$with_mpc_include $gmpinc"
5434 if test "x$with_mpc_lib" != x
; then
5435 gmplibs
="-L$with_mpc_lib $gmplibs"
5437 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5438 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5439 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5440 # Do not test the mpc version. Assume that it is sufficient, since
5441 # it is in the source tree, and the library has not been built yet
5442 # but it would be included on the link line in the version check below
5443 # hence making the test fail.
5447 # Specify a location for mpfr
5448 # check for this first so it ends up on the link line before gmp.
5450 # Check whether --with-mpfr-dir was given.
5451 if test "${with_mpfr_dir+set}" = set; then :
5452 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5453 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5458 # Check whether --with-mpfr was given.
5459 if test "${with_mpfr+set}" = set; then :
5464 # Check whether --with-mpfr-include was given.
5465 if test "${with_mpfr_include+set}" = set; then :
5466 withval
=$with_mpfr_include;
5470 # Check whether --with-mpfr-lib was given.
5471 if test "${with_mpfr_lib+set}" = set; then :
5472 withval
=$with_mpfr_lib;
5476 if test "x$with_mpfr" != x
; then
5477 gmplibs
="-L$with_mpfr/lib $gmplibs"
5478 gmpinc
="-I$with_mpfr/include $gmpinc"
5480 if test "x$with_mpfr_include" != x
; then
5481 gmpinc
="-I$with_mpfr_include $gmpinc"
5483 if test "x$with_mpfr_lib" != x
; then
5484 gmplibs
="-L$with_mpfr_lib $gmplibs"
5486 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5487 # MPFR v3.1.0 moved the sources into a src sub-directory.
5488 if ! test -d ${srcdir}/mpfr
/src
; then
5489 as_fn_error
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5491 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5492 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5493 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5494 # Do not test the mpfr version. Assume that it is sufficient, since
5495 # it is in the source tree, and the library has not been built yet
5496 # but it would be included on the link line in the version check below
5497 # hence making the test fail.
5501 # Specify a location for gmp
5503 # Check whether --with-gmp-dir was given.
5504 if test "${with_gmp_dir+set}" = set; then :
5505 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5506 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5511 # Check whether --with-gmp was given.
5512 if test "${with_gmp+set}" = set; then :
5517 # Check whether --with-gmp-include was given.
5518 if test "${with_gmp_include+set}" = set; then :
5519 withval
=$with_gmp_include;
5523 # Check whether --with-gmp-lib was given.
5524 if test "${with_gmp_lib+set}" = set; then :
5525 withval
=$with_gmp_lib;
5530 if test "x$with_gmp" != x
; then
5531 gmplibs
="-L$with_gmp/lib $gmplibs"
5532 gmpinc
="-I$with_gmp/include $gmpinc"
5534 if test "x$with_gmp_include" != x
; then
5535 gmpinc
="-I$with_gmp_include $gmpinc"
5537 if test "x$with_gmp_lib" != x
; then
5538 gmplibs
="-L$with_gmp_lib $gmplibs"
5540 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5541 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5542 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5543 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5544 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5545 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5546 # Do not test the gmp version. Assume that it is sufficient, since
5547 # it is in the source tree, and the library has not been built yet
5548 # but it would be included on the link line in the version check below
5549 # hence making the test fail.
5553 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5555 saved_CFLAGS
="$CFLAGS"
5556 CFLAGS
="$CFLAGS $gmpinc"
5557 # Check for the recommended and required versions of GMP.
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5559 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5562 /* end confdefs.h. */
5568 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5569 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5570 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5578 if ac_fn_c_try_compile
"$LINENO"; then :
5579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5580 /* end confdefs.h. */
5586 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5587 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5588 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5596 if ac_fn_c_try_compile
"$LINENO"; then :
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5598 $as_echo "yes" >&6; }
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5601 $as_echo "buggy but acceptable" >&6; }
5603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5606 $as_echo "no" >&6; }; have_gmp
=no
5608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5610 # If we have GMP, check the MPFR version.
5611 if test x
"$have_gmp" = xyes
; then
5612 # Check for the recommended and required versions of MPFR.
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5614 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5616 /* end confdefs.h. */
5623 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5631 if ac_fn_c_try_compile
"$LINENO"; then :
5632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5640 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5648 if ac_fn_c_try_compile
"$LINENO"; then :
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5650 $as_echo "yes" >&6; }
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5653 $as_echo "buggy but acceptable" >&6; }
5655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }; have_gmp
=no
5660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5663 # Check for the MPC header version.
5664 if test x
"$have_gmp" = xyes
; then
5665 # Check for the recommended and required versions of MPC.
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5667 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5669 /* end confdefs.h. */
5675 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5683 if ac_fn_c_try_compile
"$LINENO"; then :
5684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5685 /* end confdefs.h. */
5691 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5699 if ac_fn_c_try_compile
"$LINENO"; then :
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5701 $as_echo "yes" >&6; }
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5704 $as_echo "buggy but acceptable" >&6; }
5706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5709 $as_echo "no" >&6; }; have_gmp
=no
5711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5714 # Now check the MPFR library.
5715 if test x
"$have_gmp" = xyes
; then
5717 LIBS
="$LIBS $gmplibs"
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5719 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h. */
5733 mpfr_atan2 (n, n, x, GMP_RNDN);
5734 mpfr_erfc (n, x, GMP_RNDN);
5735 mpfr_subnormalize (x, t, GMP_RNDN);
5739 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5740 mpc_cosh (c, c, MPC_RNDNN);
5741 mpc_pow (c, c, c, MPC_RNDNN);
5742 mpc_acosh (c, c, MPC_RNDNN);
5749 if ac_fn_c_try_link
"$LINENO"; then :
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5751 $as_echo "yes" >&6; }
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5754 $as_echo "no" >&6; }; have_gmp
=no
5756 rm -f core conftest.err conftest.
$ac_objext \
5757 conftest
$ac_exeext conftest.
$ac_ext
5761 CFLAGS
="$saved_CFLAGS"
5763 # The library versions listed in the error message below should match
5764 # the HARD-minimums enforced above.
5765 if test x
$have_gmp != xyes
; then
5766 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5767 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5768 their locations. Source code for these libraries can be found at
5769 their respective hosting sites as well as at
5770 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5771 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5772 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5773 make sure that you have installed both the libraries and the header
5774 files. They may be located in separate packages." "$LINENO" 5
5778 # Flags needed for both GMP, MPFR and/or MPC.
5786 # Libraries to use for stage1 or when not bootstrapping.
5788 # Check whether --with-stage1-libs was given.
5789 if test "${with_stage1_libs+set}" = set; then :
5790 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5793 stage1_libs
=$withval
5801 # Linker flags to use for stage1 or when not bootstrapping.
5803 # Check whether --with-stage1-ldflags was given.
5804 if test "${with_stage1_ldflags+set}" = set; then :
5805 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5808 stage1_ldflags
=$withval
5812 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5813 # if supported. But if the user explicitly specified the libraries to use,
5814 # trust that they are doing what they want.
5815 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5816 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5822 # Libraries to use for stage2 and later builds.
5824 # Check whether --with-boot-libs was given.
5825 if test "${with_boot_libs+set}" = set; then :
5826 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5829 poststage1_libs
=$withval
5837 # Linker flags to use for stage2 and later builds.
5839 # Check whether --with-boot-ldflags was given.
5840 if test "${with_boot_ldflags+set}" = set; then :
5841 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5844 poststage1_ldflags
=$withval
5848 # In stages 2 and 3, default to linking libstdc++ and libgcc
5849 # statically. But if the user explicitly specified the libraries to
5850 # use, trust that they are doing what they want.
5851 if test "$poststage1_libs" = ""; then
5852 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5858 # GCC GRAPHITE dependency isl.
5859 # Basic setup is inlined here, actual checks are in config/isl.m4
5862 # Check whether --with-isl was given.
5863 if test "${with_isl+set}" = set; then :
5868 # Treat --without-isl as a request to disable
5869 # GRAPHITE support and skip all following checks.
5870 if test "x$with_isl" != "xno"; then
5874 # Check whether --with-isl-include was given.
5875 if test "${with_isl_include+set}" = set; then :
5876 withval
=$with_isl_include;
5880 # Check whether --with-isl-lib was given.
5881 if test "${with_isl_lib+set}" = set; then :
5882 withval
=$with_isl_lib;
5886 # Check whether --enable-isl-version-check was given.
5887 if test "${enable_isl_version_check+set}" = set; then :
5888 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5890 ENABLE_ISL_CHECK
=yes
5894 # Initialize isllibs and islinc.
5903 isllibs
="-L$with_isl/lib"
5904 islinc
="-I$with_isl/include"
5907 if test "x${with_isl_include}" != x
; then
5908 islinc
="-I$with_isl_include"
5910 if test "x${with_isl_lib}" != x
; then
5911 isllibs
="-L$with_isl_lib"
5913 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5914 && test -d ${srcdir}/isl
; then
5915 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5916 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
5919 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
5922 isllibs
="${isllibs} -lisl"
5926 if test "${ENABLE_ISL_CHECK}" = yes ; then
5927 _isl_saved_CFLAGS
=$CFLAGS
5928 _isl_saved_LDFLAGS
=$LDFLAGS
5929 _isl_saved_LIBS
=$LIBS
5931 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5932 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
5933 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16, 0.15, or deprecated 0.14" >&5
5936 $as_echo_n "checking for isl 0.16, 0.15, or deprecated 0.14... " >&6; }
5937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5938 /* end confdefs.h. */
5939 #include <isl/ctx.h>
5943 isl_ctx_get_max_operations (isl_ctx_alloc ());
5948 if ac_fn_c_try_link
"$LINENO"; then :
5953 rm -f core conftest.err conftest.
$ac_objext \
5954 conftest
$ac_exeext conftest.
$ac_ext
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5956 $as_echo "$gcc_cv_isl" >&6; }
5958 if test "${gcc_cv_isl}" = no
; then
5959 { $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
5960 $as_echo "recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&6; }
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16 or 0.15" >&5
5964 $as_echo_n "checking for isl 0.16 or 0.15... " >&6; }
5965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5966 /* end confdefs.h. */
5967 #include <isl/schedule.h>
5971 isl_options_set_schedule_serialize_sccs (NULL, 0);
5976 if ac_fn_c_try_link
"$LINENO"; then :
5977 ac_has_isl_options_set_schedule_serialize_sccs
=yes
5979 ac_has_isl_options_set_schedule_serialize_sccs
=no
5981 rm -f core conftest.err conftest.
$ac_objext \
5982 conftest
$ac_exeext conftest.
$ac_ext
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_isl_options_set_schedule_serialize_sccs" >&5
5984 $as_echo "$ac_has_isl_options_set_schedule_serialize_sccs" >&6; }
5986 if test x
"$ac_has_isl_options_set_schedule_serialize_sccs" = x
"yes"; then
5991 CFLAGS
=$_isl_saved_CFLAGS
5992 LDFLAGS
=$_isl_saved_LDFLAGS
5993 LIBS
=$_isl_saved_LIBS
6001 if test "x${with_isl}" = xno
; then
6002 graphite_requested
=no
6003 elif test "x${with_isl}" != x \
6004 ||
test "x${with_isl_include}" != x \
6005 ||
test "x${with_isl_lib}" != x
; then
6006 graphite_requested
=yes
6008 graphite_requested
=no
6013 if test "${gcc_cv_isl}" = no
; then
6018 if test "${graphite_requested}" = yes \
6019 && test "x${isllibs}" = x \
6020 && test "x${islinc}" = x
; then
6022 as_fn_error
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6028 # If the isl check failed, disable builds of in-tree variant of isl
6029 if test "x$with_isl" = xno ||
6030 test "x$gcc_cv_isl" = xno
; then
6031 noconfigdirs
="$noconfigdirs isl"
6038 # Check for LTO support.
6039 # Check whether --enable-lto was given.
6040 if test "${enable_lto+set}" = set; then :
6041 enableval
=$enable_lto; enable_lto
=$enableval
6043 enable_lto
=yes; default_enable_lto
=yes
6052 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6053 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6054 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6063 if test $target_elf = yes; then :
6064 # ELF platforms build the lto-plugin always.
6065 build_lto_plugin
=yes
6068 if test x
"$default_enable_lto" = x
"yes" ; then
6070 *-apple-darwin9* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6071 # On other non-ELF platforms, LTO has yet to be validated.
6075 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6076 # It would also be nice to check the binutils support, but we don't
6077 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6078 # warn during gcc/ subconfigure; unless you're bootstrapping with
6079 # -flto it won't be needed until after installation anyway.
6081 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6082 *) if test x
"$enable_lto" = x
"yes"; then
6083 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6088 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6089 # Build it unless LTO was explicitly disabled.
6091 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6098 # Check whether --enable-linker-plugin-configure-flags was given.
6099 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6100 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6102 extra_linker_plugin_configure_flags
=
6106 # Check whether --enable-linker-plugin-flags was given.
6107 if test "${enable_linker_plugin_flags+set}" = set; then :
6108 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6110 extra_linker_plugin_flags
=
6116 # By default, C and C++ are the only stage 1 languages.
6117 stage1_languages
=,c
,
6119 # Target libraries that we bootstrap.
6120 bootstrap_target_libs
=,target-libgcc
,
6122 # Figure out what language subdirectories are present.
6123 # Look if the user specified --enable-languages="..."; if not, use
6124 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6126 # NB: embedded tabs in this IF block -- do not untabify
6127 if test -d ${srcdir}/gcc
; then
6128 if test x
"${enable_languages+set}" != xset
; then
6129 if test x
"${LANGUAGES+set}" = xset
; then
6130 enable_languages
="${LANGUAGES}"
6131 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6133 enable_languages
=all
6136 if test x
"${enable_languages}" = x ||
6137 test x
"${enable_languages}" = xyes
;
6139 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6143 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6145 # 'f95' is the old name for the 'fortran' language. We issue a warning
6146 # and make the substitution.
6147 case ,${enable_languages}, in
6149 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6150 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6154 # If bootstrapping, C++ must be enabled.
6155 case ",$enable_languages,:$enable_bootstrap" in
6158 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6159 enable_languages
="${enable_languages},c++"
6161 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6166 # First scan to see if an enabled language requires some other language.
6167 # We assume that a given config-lang.in will list all the language
6168 # front ends it requires, even if some are required indirectly.
6169 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6170 case ${lang_frag} in
6172 # The odd quoting in the next line works around
6173 # an apparent bug in bash 1.12 on linux.
6174 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6176 # From the config-lang.in, get $language, $lang_requires, and
6177 # $lang_requires_boot_languages.
6180 lang_requires_boot_languages
=
6182 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6183 case ,${enable_languages}, in
6187 echo " \`$other' language required by \`$language'; enabling" 1>&2
6188 enable_languages
="${enable_languages},${other}"
6192 for other
in ${lang_requires_boot_languages} ; do
6193 if test "$other" != "c"; then
6194 case ,${enable_stage1_languages}, in
6198 case ,${enable_languages}, in
6200 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6201 enable_stage1_languages
="$enable_stage1_languages,${other}"
6212 new_enable_languages
=,c
,
6214 # If LTO is enabled, add the LTO front end.
6215 if test "$enable_lto" = "yes" ; then
6216 case ,${enable_languages}, in
6218 *) enable_languages
="${enable_languages},lto" ;;
6220 if test "${build_lto_plugin}" = "yes" ; then
6221 configdirs
="$configdirs lto-plugin"
6225 # If we're building an offloading compiler, add the LTO front end.
6226 if test x
"$enable_as_accelerator_for" != x
; then
6227 case ,${enable_languages}, in
6229 *) enable_languages
="${enable_languages},lto" ;;
6233 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6234 potential_languages
=,c
,
6236 enabled_target_libs
=
6237 disabled_target_libs
=
6239 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6240 case ${lang_frag} in
6242 # The odd quoting in the next line works around
6243 # an apparent bug in bash 1.12 on linux.
6244 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6246 # From the config-lang.in, get $language, $target_libs,
6247 # $lang_dirs, $boot_language, and $build_by_default
6253 build_by_default
=yes
6255 if test x
${language} = x
; then
6256 echo "${lang_frag} doesn't set \$language." 1>&2
6260 if test "$language" = "c++"; then
6265 case ,${enable_languages}, in
6267 # Language was explicitly selected; include it
6268 # unless it is C, which is enabled by default.
6269 if test "$language" != "c"; then
6274 # 'all' was selected, select it if it is a default language
6275 if test "$language" != "c"; then
6276 add_this_lang
=${build_by_default}
6281 # Disable languages that need other directories if these aren't available.
6282 for i
in $subdir_requires; do
6283 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6284 case ,${enable_languages}, in
6286 # Specifically requested language; tell them.
6287 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6291 add_this_lang
=unsupported
6296 # Disable Ada if no preexisting GNAT is available.
6297 case ,${enable_languages},:${language}:${have_gnat} in
6298 *,${language},*:ada
:no
)
6299 # Specifically requested language; tell them.
6300 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6304 add_this_lang
=unsupported
6308 # Disable a language that is unsupported by the target.
6309 case " $unsupported_languages " in
6311 add_this_lang
=unsupported
6315 case $add_this_lang in
6317 # Remove language-dependent dirs.
6318 disabled_target_libs
="$disabled_target_libs $target_libs"
6319 noconfigdirs
="$noconfigdirs $lang_dirs"
6322 # Remove language-dependent dirs; still show language as supported.
6323 disabled_target_libs
="$disabled_target_libs $target_libs"
6324 noconfigdirs
="$noconfigdirs $lang_dirs"
6325 potential_languages
="${potential_languages}${language},"
6328 new_enable_languages
="${new_enable_languages}${language},"
6329 potential_languages
="${potential_languages}${language},"
6330 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6331 enabled_target_libs
="$enabled_target_libs $target_libs"
6332 case "${boot_language}:,$enable_stage1_languages," in
6333 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6334 # Add to (comma-separated) list of stage 1 languages.
6335 case ",$stage1_languages," in
6336 *,$language,* |
,yes, |
,all
,) ;;
6337 *) stage1_languages
="${stage1_languages}${language}," ;;
6339 # We need to bootstrap any supporting libraries.
6340 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6349 # Add target libraries which are only needed for disabled languages
6351 if test -n "$disabled_target_libs"; then
6352 for dir
in $disabled_target_libs; do
6353 case " $enabled_target_libs " in
6355 *) noconfigdirs
="$noconfigdirs $dir" ;;
6360 # Check whether --enable-stage1-languages was given.
6361 if test "${enable_stage1_languages+set}" = set; then :
6362 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6364 # Set it to something that will have no effect in the loop below
6365 enable_stage1_languages
=c
;;
6367 enable_stage1_languages
=`echo $new_enable_languages | \
6368 sed -e "s/^,//" -e "s/,$//" ` ;;
6370 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6371 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6374 # Add "good" languages from enable_stage1_languages to stage1_languages,
6375 # while "bad" languages go in missing_languages. Leave no duplicates.
6376 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6377 case $potential_languages in
6379 case $stage1_languages in
6381 *) stage1_languages
="$stage1_languages$i," ;;
6384 case $missing_languages in
6386 *) missing_languages
="$missing_languages$i," ;;
6393 # Remove leading/trailing commas that were added for simplicity
6394 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6395 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6396 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6397 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6399 if test "x$missing_languages" != x
; then
6401 The following requested languages could not be built: ${missing_languages}
6402 Supported languages are: ${potential_languages}" "$LINENO" 5
6404 if test "x$new_enable_languages" != "x$enable_languages"; then
6405 echo The following languages will be built
: ${new_enable_languages}
6406 enable_languages
="$new_enable_languages"
6410 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6413 # Handle --disable-<component> generically.
6414 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6415 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6416 varname
=`echo $dirname | sed -e s/+/_/g`
6417 if eval test x\
${enable_${varname}} "=" xno
; then
6418 noconfigdirs
="$noconfigdirs $dir"
6422 # Check for Boehm's garbage collector
6423 # Check whether --enable-objc-gc was given.
6424 if test "${enable_objc_gc+set}" = set; then :
6425 enableval
=$enable_objc_gc;
6429 # Check whether --with-target-bdw-gc was given.
6430 if test "${with_target_bdw_gc+set}" = set; then :
6431 withval
=$with_target_bdw_gc;
6435 # Check whether --with-target-bdw-gc-include was given.
6436 if test "${with_target_bdw_gc_include+set}" = set; then :
6437 withval
=$with_target_bdw_gc_include;
6441 # Check whether --with-target-bdw-gc-lib was given.
6442 if test "${with_target_bdw_gc_lib+set}" = set; then :
6443 withval
=$with_target_bdw_gc_lib;
6447 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6449 $as_echo_n "checking for bdw garbage collector... " >&6; }
6450 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6452 $as_echo "using bdw-gc in default locations" >&6; }
6454 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6455 as_fn_error
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6456 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6457 as_fn_error
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6460 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6465 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6466 case ,${enable_languages}, in
6468 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6469 case "${noconfigdirs}" in
6470 *target-libstdc
++-v3*)
6471 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6477 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6481 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6482 # $build_configdirs and $target_configdirs.
6483 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6486 for dir
in .
$skipdirs $noconfigdirs ; do
6487 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6488 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6489 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6490 if test -r $srcdir/$dirname/configure
; then
6491 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6494 notsupp
="$notsupp $dir"
6498 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6499 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6500 if test -r $srcdir/$dirname/configure
; then
6501 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6504 notsupp
="$notsupp $dir"
6508 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6509 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6510 if test -r $srcdir/$dirname/configure
; then
6511 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6514 notsupp
="$notsupp $dir"
6520 # Quietly strip out all directories which aren't configurable in this tree.
6521 # This relies on all configurable subdirectories being autoconfiscated, which
6523 build_configdirs_all
="$build_configdirs"
6525 for i
in ${build_configdirs_all} ; do
6526 j
=`echo $i | sed -e s/build-//g`
6527 if test -f ${srcdir}/$j/configure
; then
6528 build_configdirs
="${build_configdirs} $i"
6532 configdirs_all
="$configdirs"
6534 for i
in ${configdirs_all} ; do
6535 if test -f ${srcdir}/$i/configure
; then
6536 configdirs
="${configdirs} $i"
6540 target_configdirs_all
="$target_configdirs"
6542 for i
in ${target_configdirs_all} ; do
6543 j
=`echo $i | sed -e s/target-//g`
6544 if test -f ${srcdir}/$j/configure
; then
6545 target_configdirs
="${target_configdirs} $i"
6549 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6550 # so we have to add it after the preceding checks.
6551 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6553 case " $configdirs " in
6555 # If we can build libiberty, we can also build libiberty-linker-plugin.
6556 configdirs
="$configdirs libiberty-linker-plugin"
6557 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6558 --with-libiberty=../libiberty-linker-plugin";;
6560 as_fn_error
"libiberty missing" "$LINENO" 5;;
6564 # Sometimes we have special requirements for the host libiberty.
6565 extra_host_libiberty_configure_flags
=
6566 extra_host_zlib_configure_flags
=
6567 case " $configdirs " in
6568 *" lto-plugin "* |
*" libcc1 "*)
6569 # When these are to be built as shared libraries, the same applies to
6571 extra_host_libiberty_configure_flags
=--enable-shared
6574 # When bfd is to be built as a shared library, the same applies to
6576 if test "$enable_shared" = "yes"; then
6577 extra_host_zlib_configure_flags
=--enable-host-shared
6584 # Produce a warning message for the subdirs we can't configure.
6585 # This isn't especially interesting in the Cygnus tree, but in the individual
6586 # FSF releases, it's important to let people know when their machine isn't
6587 # supported by the one or two programs in a package.
6589 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6590 # If $appdirs is non-empty, at least one of those directories must still
6591 # be configured, or we error out. (E.g., if the gas release supports a
6592 # specified target in some subdirs but not the gas subdir, we shouldn't
6593 # pretend that all is well.)
6594 if test -n "$appdirs" ; then
6595 for dir
in $appdirs ; do
6596 if test -r $dir/Makefile.
in ; then
6597 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6601 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6607 if test -n "$appdirs" ; then
6608 echo "*** This configuration is not supported by this package." 1>&2
6612 # Okay, some application will build, or we don't care to check. Still
6613 # notify of subdirs not getting built.
6614 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6615 echo " ${notsupp}" 1>&2
6616 echo " (Any other directories should still work fine.)" 1>&2
6624 # To find our prefix, in gcc_cv_tool_prefix.
6626 # The user is always right.
6627 if test "${PATH_SEPARATOR+set}" != set; then
6628 echo "#! /bin/sh" >conf$$.sh
6629 echo "exit 0" >>conf$$.sh
6631 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6640 get_gcc_base_ver
="cat"
6642 # Check whether --with-gcc-major-version-only was given.
6643 if test "${with_gcc_major_version_only+set}" = set; then :
6644 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
6645 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
6655 if test "x$exec_prefix" = xNONE
; then
6656 if test "x$prefix" = xNONE
; then
6657 gcc_cv_tool_prefix
=$ac_default_prefix
6659 gcc_cv_tool_prefix
=$prefix
6662 gcc_cv_tool_prefix
=$exec_prefix
6665 # If there is no compiler in the tree, use the PATH only. In any
6666 # case, if there is no compiler in the tree nobody should use
6667 # AS_FOR_TARGET and LD_FOR_TARGET.
6668 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6669 if test x
$with_gcc_major_version_only = xyes
; then
6670 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
6672 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6674 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6675 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6676 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6677 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6678 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6679 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6684 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6685 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6693 # Check whether --with-build-sysroot was given.
6694 if test "${with_build_sysroot+set}" = set; then :
6695 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6696 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6699 SYSROOT_CFLAGS_FOR_TARGET
=
6705 # Check whether --with-debug-prefix-map was given.
6706 if test "${with_debug_prefix_map+set}" = set; then :
6707 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6708 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6709 for debug_map
in $withval; do
6710 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6714 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6719 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6720 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6721 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6722 # We want to ensure that TARGET libraries (which we know are built with
6723 # gcc) are built with "-O2 -g", so include those options when setting
6724 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6725 if test "x$CFLAGS_FOR_TARGET" = x
; then
6726 if test "x${is_cross_compiler}" = xyes
; then
6727 CFLAGS_FOR_TARGET
="-g -O2"
6729 CFLAGS_FOR_TARGET
=$CFLAGS
6732 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6735 *" -g "* |
*" -g3 "*) ;;
6736 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6742 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6743 if test "x${is_cross_compiler}" = xyes
; then
6744 CXXFLAGS_FOR_TARGET
="-g -O2"
6746 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6747 case " $CXXFLAGS " in
6749 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6751 case " $CXXFLAGS " in
6752 *" -g "* |
*" -g3 "*) ;;
6753 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6761 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6762 # the named directory are copied to $(tooldir)/sys-include.
6763 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6764 if test x
${is_cross_compiler} = xno
; then
6765 echo 1>&2 '***' --with-headers is only supported when cross compiling
6768 if test x
"${with_headers}" != xyes
; then
6769 x
=${gcc_cv_tool_prefix}
6770 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6774 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6775 # the name directories are copied to $(tooldir)/lib. Multiple directories
6777 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6778 if test x
${is_cross_compiler} = xno
; then
6779 echo 1>&2 '***' --with-libs is only supported when cross compiling
6782 if test x
"${with_libs}" != xyes
; then
6783 # Copy the libraries in reverse order, so that files in the first named
6784 # library override files in subsequent libraries.
6785 x
=${gcc_cv_tool_prefix}
6786 for l
in ${with_libs}; do
6787 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6792 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6794 # This is done by determining whether or not the appropriate directory
6795 # is available, and by checking whether or not specific configurations
6796 # have requested that this magic not happen.
6798 # The command line options always override the explicit settings in
6799 # configure.ac, and the settings in configure.ac override this magic.
6801 # If the default for a toolchain is to use GNU as and ld, and you don't
6802 # want to do that, then you should use the --without-gnu-as and
6803 # --without-gnu-ld options for the configure script. Similarly, if
6804 # the default is to use the included zlib and you don't want to do that,
6805 # you should use the --with-system-zlib option for the configure script.
6807 if test x
${use_gnu_as} = x
&&
6808 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6810 extra_host_args
="$extra_host_args --with-gnu-as"
6813 if test x
${use_gnu_ld} = x
&&
6814 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6816 extra_host_args
="$extra_host_args --with-gnu-ld"
6819 if test x
${use_included_zlib} = x
&&
6820 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6823 with_system_zlib
=yes
6824 extra_host_args
="$extra_host_args --with-system-zlib"
6827 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6828 # can detect this case.
6830 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6832 extra_host_args
="$extra_host_args --with-newlib"
6835 # Handle ${copy_dirs}
6836 set fnord
${copy_dirs}
6838 while test $# != 0 ; do
6839 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6842 echo Copying
$1 to
$2
6844 # Use the install script to create the directory and all required
6845 # parent directories.
6846 if test -d $2 ; then
6850 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6853 # Copy the directory, assuming we have tar.
6854 # FIXME: Should we use B in the second tar? Not all systems support it.
6855 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6857 # It is the responsibility of the user to correctly adjust all
6858 # symlinks. If somebody can figure out how to handle them correctly
6859 # here, feel free to add the code.
6866 # Determine a target-dependent exec_prefix that the installed
6867 # gcc will search in. Keep this list sorted by triplet, with
6868 # the *-*-osname triplets last.
6871 i
[34567]86-pc-msdosdjgpp*)
6872 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6877 md_exec_prefix
=/usr
/ccs
/bin
6881 extra_arflags_for_target
=
6882 extra_nmflags_for_target
=
6883 extra_ranlibflags_for_target
=
6884 target_makefile_frag
=/dev
/null
6887 target_makefile_frag
="config/mt-spu"
6889 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6890 target_makefile_frag
="config/mt-sde"
6892 mipsisa
*-*-elfoabi*)
6893 target_makefile_frag
="config/mt-mips-elfoabi"
6895 mips
*-*-*linux
* | mips
*-*-gnu*)
6896 target_makefile_frag
="config/mt-mips-gnu"
6899 target_makefile_frag
="config/mt-nios2-elf"
6901 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6902 target_makefile_frag
="config/mt-gnu"
6904 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6905 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6906 # commands to handle both 32-bit and 64-bit objects. These flags are
6907 # harmless if we're using GNU nm or ar.
6908 extra_arflags_for_target
=" -X32_64"
6909 extra_nmflags_for_target
=" -B -X32_64"
6913 alphaieee_frag
=/dev
/null
6916 # This just makes sure to use the -mieee option to build target libs.
6917 # This should probably be set individually by each library.
6918 alphaieee_frag
="config/mt-alphaieee"
6922 # If --enable-target-optspace always use -Os instead of -O2 to build
6923 # the target libraries, similarly if it is not specified, use -Os
6924 # on selected platforms.
6925 ospace_frag
=/dev
/null
6926 case "${enable_target_optspace}:${target}" in
6928 ospace_frag
="config/mt-ospace"
6931 ospace_frag
="config/mt-d30v"
6933 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
6934 ospace_frag
="config/mt-ospace"
6939 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6943 # Some systems (e.g., one of the i386-aix systems the gas testers are
6944 # using) don't handle "\$" correctly, so don't use it here.
6945 tooldir
='${exec_prefix}'/${target_noncanonical}
6946 build_tooldir
=${tooldir}
6948 # Create a .gdbinit file which runs the one in srcdir
6949 # and tells GDB to look there for source files.
6951 if test -r ${srcdir}/.gdbinit
; then
6954 *) cat > .
/.gdbinit
<<EOF
6958 source ${srcdir}/.gdbinit
6964 # Make sure that the compiler is able to generate an executable. If it
6965 # can't, we are probably in trouble. We don't care whether we can run the
6966 # executable--we might be using a cross compiler--we only care whether it
6967 # can be created. At this point the main configure script has set CC.
6969 echo "int main () { return 0; }" > conftest.c
6970 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6971 if test $?
= 0 ; then
6972 if test -s conftest ||
test -s conftest.exe
; then
6978 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6979 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6986 # Decide which environment variable is used to find dynamic libraries.
6988 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6989 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6990 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6991 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6994 # On systems where the dynamic library environment variable is PATH,
6995 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6996 # built executables to PATH.
6997 if test "$RPATH_ENVVAR" = PATH
; then
6998 GCC_SHLIB_SUBDIR
=/shlib
7003 # Adjust the toplevel makefile according to whether bootstrap was selected.
7004 case $enable_bootstrap in
7006 bootstrap_suffix
=bootstrap
7007 BUILD_CONFIG
=bootstrap-debug
7010 bootstrap_suffix
=no-bootstrap
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7016 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7019 # Check whether --with-build-config was given.
7020 if test "${with_build_config+set}" = set; then :
7021 withval
=$with_build_config; case $with_build_config in
7022 yes) with_build_config
= ;;
7023 no
) with_build_config
= BUILD_CONFIG
= ;;
7028 if test "x${with_build_config}" != x
; then
7029 BUILD_CONFIG
=$with_build_config
7031 case $BUILD_CONFIG in
7033 if echo "int f (void) { return 0; }" > conftest.c
&&
7034 ${CC} -c conftest.c
&&
7035 mv conftest.o conftest.o.g0
&&
7036 ${CC} -c -g conftest.c
&&
7037 mv conftest.o conftest.o.g
&&
7038 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7043 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7048 $as_echo "$BUILD_CONFIG" >&6; }
7051 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7053 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7054 # Check whether --enable-vtable-verify was given.
7055 if test "${enable_vtable_verify+set}" = set; then :
7056 enableval
=$enable_vtable_verify; case "$enableval" in
7057 yes) enable_vtable_verify
=yes ;;
7058 no
) enable_vtable_verify
=no
;;
7059 *) enable_vtable_verify
=no
;;
7062 enable_vtable_verify
=no
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7066 $as_echo "$enable_vtable_verify" >&6; }
7068 # Record target_configdirs and the configure arguments for target and
7069 # build configuration in Makefile.
7070 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7071 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7072 bootstrap_fixincludes
=no
7074 # If we are building libgomp, bootstrap it.
7075 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7076 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7079 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7080 # or bootstrap-ubsan, bootstrap it.
7081 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7082 case "$BUILD_CONFIG" in
7083 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7084 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7085 bootstrap_fixincludes
=yes
7090 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7091 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7092 test "$enable_vtable_verify" != no
; then
7093 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7096 # If we are building libmpx and $BUILD_CONFIG contains bootstrap-mpx,
7098 if echo " ${target_configdirs} " |
grep " libmpx " > /dev
/null
2>&1; then
7099 case "$BUILD_CONFIG" in
7101 bootstrap_target_libs
=${bootstrap_target_libs}target-libmpx
,
7106 # Determine whether gdb needs tk/tcl or not.
7107 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7108 # and in that case we want gdb to be built without tk. Ugh!
7109 # In fact I believe gdb is the *only* package directly dependent on tk,
7110 # so we should be able to put the 'maybe's in unconditionally and
7111 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7112 # 100% sure that that's safe though.
7114 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7115 case "$enable_gdbtk" in
7119 GDB_TK
="${gdb_tk}" ;;
7121 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7122 # distro. Eventually someone will fix this and move Insight, nee
7123 # gdbtk to a separate directory.
7124 if test -d ${srcdir}/gdb
/gdbtk
; then
7131 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7132 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7134 # Strip out unwanted targets.
7136 # While at that, we remove Makefiles if we were started for recursive
7137 # configuration, so that the top-level Makefile reconfigures them,
7138 # like we used to do when configure itself was recursive.
7140 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7141 # but now we're fixing up the Makefile ourselves with the additional
7142 # commands passed to AC_CONFIG_FILES. Use separate variables
7143 # extrasub-{build,host,target} not because there is any reason to split
7144 # the substitutions up that way, but only to remain below the limit of
7145 # 99 commands in a script, for HP-UX sed.
7146 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7148 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7149 yes:yes:*\ gold\
*:*,c
++,*) ;;
7150 yes:yes:*\ gold\
*:*)
7151 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7156 for module
in ${build_configdirs} ; do
7157 if test -z "${no_recursion}" \
7158 && test -f ${build_subdir}/${module}/Makefile
; then
7159 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7160 rm -f ${build_subdir}/${module}/Makefile
7162 extrasub_build
="$extrasub_build
7163 /^@if build-$module\$/d
7164 /^@endif build-$module\$/d
7165 /^@if build-$module-$bootstrap_suffix\$/d
7166 /^@endif build-$module-$bootstrap_suffix\$/d"
7169 for module
in ${configdirs} ; do
7170 if test -z "${no_recursion}"; then
7171 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7172 if test -f ${file}; then
7173 echo 1>&2 "*** removing ${file} to force reconfigure"
7178 case ${module},${bootstrap_fixincludes} in
7179 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7180 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7182 extrasub_host
="$extrasub_host
7184 /^@endif $module\$/d
7185 /^@if $module-$host_bootstrap_suffix\$/d
7186 /^@endif $module-$host_bootstrap_suffix\$/d"
7189 for module
in ${target_configdirs} ; do
7190 if test -z "${no_recursion}" \
7191 && test -f ${target_subdir}/${module}/Makefile
; then
7192 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7193 rm -f ${target_subdir}/${module}/Makefile
7196 # We only bootstrap target libraries listed in bootstrap_target_libs.
7197 case $bootstrap_target_libs in
7198 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7199 *) target_bootstrap_suffix
=no-bootstrap
;;
7202 extrasub_target
="$extrasub_target
7203 /^@if target-$module\$/d
7204 /^@endif target-$module\$/d
7205 /^@if target-$module-$target_bootstrap_suffix\$/d
7206 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7209 # Do the final fixup along with target modules.
7210 extrasub_target
="$extrasub_target
7211 /^@if /,/^@endif /d"
7213 # Create the serialization dependencies. This uses a temporary file.
7215 # Check whether --enable-serial-configure was given.
7216 if test "${enable_serial_configure+set}" = set; then :
7217 enableval
=$enable_serial_configure;
7221 case ${enable_serial_configure} in
7223 enable_serial_build_configure
=yes
7224 enable_serial_host_configure
=yes
7225 enable_serial_target_configure
=yes
7229 # These force 'configure's to be done one at a time, to avoid problems
7230 # with contention over a shared config.cache.
7232 echo '# serdep.tmp' > serdep.tmp
7234 test "x${enable_serial_build_configure}" = xyes
&&
7235 for item
in ${build_configdirs} ; do
7238 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7243 test "x${enable_serial_host_configure}" = xyes
&&
7244 for item
in ${configdirs} ; do
7247 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7252 test "x${enable_serial_target_configure}" = xyes
&&
7253 for item
in ${target_configdirs} ; do
7256 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7260 serialization_dependencies
=serdep.tmp
7263 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7264 # target, nonopt, and variable assignments. These are the ones we
7265 # might not want to pass down to subconfigures. The exception being
7266 # --cache-file=/dev/null, which is used to turn off the use of cache
7267 # files altogether, and which should be passed on to subconfigures.
7268 # Also strip program-prefix, program-suffix, and program-transform-name,
7269 # so that we can pass down a consistent program-transform-name.
7274 eval "set -- $ac_configure_args"
7277 if test X
"$skip_next" = X
"yes"; then
7281 if test X
"$keep_next" = X
"yes"; then
7284 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7286 baseargs
="$baseargs '$ac_arg'"
7287 tbaseargs
="$tbaseargs '$ac_arg'"
7292 # Handle separated arguments. Based on the logic generated by
7295 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7296 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7297 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7298 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7312 --with-* |
--without-*)
7313 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7317 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7320 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7329 mpc | mpfr | gmp | isl
)
7330 # If we're processing --with-$lib, --with-$lib-include or
7331 # --with-$lib-lib, for one of the libs above, and target is
7332 # different from host, don't pass the current argument to any
7333 # target library's configure.
7334 if test x
$is_cross_compiler = xyes
; then
7343 --cache-file=/dev
/null | \
7344 -cache-file=/dev
/null
)
7345 # Handled here to avoid the test to skip args below.
7346 baseargs
="$baseargs '$ac_arg'"
7347 tbaseargs
="$tbaseargs '$ac_arg'"
7348 # Assert: $separate_arg should always be no.
7349 keep_next
=$separate_arg
7365 -program-prefix* | \
7366 -program-suffix* | \
7367 -program-transform-name* )
7368 skip_next
=$separate_arg
7372 # An option. Add it.
7375 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7377 baseargs
="$baseargs '$ac_arg'"
7378 if test X
"$skip_targ" = Xno
; then
7379 tbaseargs
="$tbaseargs '$ac_arg'"
7381 keep_next
=$separate_arg
7384 # Either a variable assignment, or a nonopt (triplet). Don't
7385 # pass it down; let the Makefile handle this.
7390 # Remove the initial space we just introduced and, as these will be
7391 # expanded by make, quote '$'.
7392 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7394 # Add in --program-transform-name, after --program-prefix and
7395 # --program-suffix have been applied to it. Autoconf has already
7396 # doubled dollar signs and backslashes in program_transform_name; we want
7397 # the backslashes un-doubled, and then the entire thing wrapped in single
7398 # quotes, because this will be expanded first by make and then by the shell.
7399 # Also, because we want to override the logic in subdir configure scripts to
7400 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7401 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7402 ${program_transform_name}
7404 gcc_transform_name
=`cat conftestsed.out`
7405 rm -f conftestsed.out
7406 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7407 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7408 if test "$silent" = yes; then
7409 baseargs
="$baseargs --silent"
7410 tbaseargs
="$tbaseargs --silent"
7412 baseargs
="$baseargs --disable-option-checking"
7413 tbaseargs
="$tbaseargs --disable-option-checking"
7415 # Record and document user additions to sub configure arguments.
7420 # For the build-side libraries, we just need to pretend we're native,
7421 # and not use the same cache file. Multilibs are neither needed nor
7422 # desired. We can't even use the same cache file for all build-side
7423 # libraries, as they're compiled differently; some with C, some with
7424 # C++ or with different feature-enabling options.
7425 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7427 # For host modules, accept cache file option, or specification as blank.
7428 case "${cache_file}" in
7430 cache_file_option
="" ;;
7431 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7432 cache_file_option
="--cache-file=${cache_file}" ;;
7434 cache_file_option
="--cache-file=../${cache_file}" ;;
7437 # Host dirs don't like to share a cache file either, horribly enough.
7438 # This seems to be due to autoconf 2.5x stupidity.
7439 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7441 target_configargs
="$target_configargs ${tbaseargs}"
7443 # Passing a --with-cross-host argument lets the target libraries know
7444 # whether they are being built with a cross-compiler or being built
7445 # native. However, it would be better to use other mechanisms to make the
7446 # sorts of decisions they want to make on this basis. Please consider
7447 # this option to be deprecated. FIXME.
7448 if test x
${is_cross_compiler} = xyes
; then
7449 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7452 # Special user-friendly check for native x86_64-linux build, if
7453 # multilib is not explicitly enabled.
7454 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7455 x86_64-
*linux
*:yes:$build:$build:)
7456 # Make sure we have a development environment that handles 32-bit
7458 echo "int main () { return 0; }" > conftest.c
7459 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7460 if test $?
= 0 ; then
7461 if test -s conftest ||
test -s conftest.exe
; then
7466 if test x
${dev64} != xyes
; then
7467 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
7472 # Default to --enable-multilib.
7473 if test x
${enable_multilib} = x
; then
7474 target_configargs
="--enable-multilib ${target_configargs}"
7477 # Pass --with-newlib if appropriate. Note that target_configdirs has
7478 # changed from the earlier setting of with_newlib.
7479 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7480 target_configargs
="--with-newlib ${target_configargs}"
7483 # Different target subdirs use different values of certain variables
7484 # (notably CXX). Worse, multilibs use *lots* of different values.
7485 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7486 # it doesn't automatically accept command-line overrides of them.
7487 # This means it's not safe for target subdirs to share a cache file,
7488 # which is disgusting, but there you have it. Hopefully this can be
7489 # fixed in future. It's still worthwhile to use a cache file for each
7490 # directory. I think.
7492 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7493 # We need to pass --target, as newer autoconf's requires consistency
7494 # for target_alias and gcc doesn't manage it consistently.
7495 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7498 case " $target_configdirs " in
7500 case " $target_configargs " in
7501 *" --with-newlib "*)
7504 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7508 # If we're not building GCC, don't discard standard headers.
7509 if test -d ${srcdir}/gcc
; then
7510 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7512 if test "${build}" != "${host}"; then
7513 # On Canadian crosses, CC_FOR_TARGET will have already been set
7514 # by `configure', so we won't have an opportunity to add -Bgcc/
7515 # to it. This is right: we don't want to search that directory
7516 # for binaries, but we want the header files in there, so add
7518 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7520 # Someone might think of using the pre-installed headers on
7521 # Canadian crosses, in case the installed compiler is not fully
7522 # compatible with the compiler being built. In this case, it
7523 # would be better to flag an error than risking having
7524 # incompatible object files being constructed. We can't
7525 # guarantee that an error will be flagged, but let's hope the
7526 # compiler will do it, when presented with incompatible header
7531 case "${target}-${is_cross_compiler}" in
7532 i
[3456789]86-*-linux*-no)
7533 # Here host == target, so we don't need to build gcc,
7534 # so we don't want to discard standard headers.
7535 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7538 # If we're building newlib, use its generic headers last, but search
7539 # for any libc-related directories first (so make it the last -B
7541 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7543 # If we're building libgloss, find the startup file, simulator library
7544 # and linker script.
7545 case " $target_configdirs " in
7547 # Look for startup file, simulator library and maybe linker script.
7548 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7549 # Look for libnosys.a in case the target needs it.
7550 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7551 # Most targets have the linker script in the source directory.
7552 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7563 x86_64-
*mingw
* |
*-w64-mingw*)
7564 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7565 # however, use a symlink named 'mingw' in ${prefix} .
7566 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7569 # MinGW can't be handled as Cygwin above since it does not use newlib.
7570 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'
7574 # Allow the user to override the flags for
7575 # our build compiler if desired.
7576 if test x
"${build}" = x
"${host}" ; then
7577 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7578 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7579 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7582 # On Canadian crosses, we'll be searching the right directories for
7583 # the previously-installed cross compiler, so don't bother to add
7584 # flags for directories within the install tree of the compiler
7585 # being built; programs in there won't even run.
7586 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7587 # Search for pre-installed headers if nothing else fits.
7588 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7591 if test "x
${use_gnu_ld}" = x &&
7592 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7593 # Arrange for us to find uninstalled linker scripts.
7594 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7597 # Search for other target-specific linker scripts and such.
7600 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7604 # Makefile fragments.
7605 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7607 eval fragval=\$$frag
7608 if test $fragval != /dev/null; then
7609 eval $frag=${srcdir}/$fragval
7617 # Miscellanea: directories, flags, etc.
7626 # Build module lists & subconfigure args.
7630 # Host module lists & subconfigure args.
7635 # Target module lists & subconfigure args.
7656 # Generate default definitions for YACC, M4, LEX and other programs that run
7657 # on the build machine. These are used if the Makefile can't locate these
7658 # programs in objdir.
7659 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7661 for ac_prog in 'bison -y' byacc yacc
7663 # Extract the first word of "$ac_prog", so it can be a program name with args.
7664 set dummy $ac_prog; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7666 $as_echo_n "checking
for $ac_word...
" >&6; }
7667 if test "${ac_cv_prog_YACC+set}" = set; then :
7668 $as_echo_n "(cached
) " >&6
7670 if test -n "$YACC"; then
7671 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680 ac_cv_prog_YACC="$ac_prog"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7690 YACC=$ac_cv_prog_YACC
7691 if test -n "$YACC"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7693 $as_echo "$YACC" >&6; }
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7696 $as_echo "no
" >&6; }
7700 test -n "$YACC" && break
7702 test -n "$YACC" || YACC="$MISSING bison
-y"
7704 case " $build_configdirs " in
7705 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7708 for ac_prog in bison
7710 # Extract the first word of "$ac_prog", so it can be a program name with args.
7711 set dummy $ac_prog; ac_word=$2
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7713 $as_echo_n "checking
for $ac_word...
" >&6; }
7714 if test "${ac_cv_prog_BISON+set}" = set; then :
7715 $as_echo_n "(cached
) " >&6
7717 if test -n "$BISON"; then
7718 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724 test -z "$as_dir" && as_dir=.
7725 for ac_exec_ext in '' $ac_executable_extensions; do
7726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7727 ac_cv_prog_BISON="$ac_prog"
7728 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7737 BISON=$ac_cv_prog_BISON
7738 if test -n "$BISON"; then
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7740 $as_echo "$BISON" >&6; }
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7743 $as_echo "no
" >&6; }
7747 test -n "$BISON" && break
7749 test -n "$BISON" || BISON="$MISSING bison
"
7751 case " $build_configdirs " in
7752 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7755 for ac_prog in gm4 gnum4 m4
7757 # Extract the first word of "$ac_prog", so it can be a program name with args.
7758 set dummy $ac_prog; ac_word=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7760 $as_echo_n "checking
for $ac_word...
" >&6; }
7761 if test "${ac_cv_prog_M4+set}" = set; then :
7762 $as_echo_n "(cached
) " >&6
7764 if test -n "$M4"; then
7765 ac_cv_prog_M4="$M4" # Let the user override the test.
7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7771 test -z "$as_dir" && as_dir=.
7772 for ac_exec_ext in '' $ac_executable_extensions; do
7773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7774 ac_cv_prog_M4="$ac_prog"
7775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7785 if test -n "$M4"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7787 $as_echo "$M4" >&6; }
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7790 $as_echo "no
" >&6; }
7794 test -n "$M4" && break
7796 test -n "$M4" || M4="$MISSING m4"
7798 case " $build_configdirs " in
7799 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7802 for ac_prog in flex lex
7804 # Extract the first word of "$ac_prog", so it can be a program name with args.
7805 set dummy $ac_prog; ac_word=$2
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7807 $as_echo_n "checking
for $ac_word...
" >&6; }
7808 if test "${ac_cv_prog_LEX+set}" = set; then :
7809 $as_echo_n "(cached
) " >&6
7811 if test -n "$LEX"; then
7812 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7818 test -z "$as_dir" && as_dir=.
7819 for ac_exec_ext in '' $ac_executable_extensions; do
7820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7821 ac_cv_prog_LEX="$ac_prog"
7822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7832 if test -n "$LEX"; then
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7834 $as_echo "$LEX" >&6; }
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7837 $as_echo "no
" >&6; }
7841 test -n "$LEX" && break
7843 test -n "$LEX" || LEX="$MISSING flex
"
7845 case " $build_configdirs " in
7846 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7847 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7852 # Extract the first word of "$ac_prog", so it can be a program name with args.
7853 set dummy $ac_prog; ac_word=$2
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7855 $as_echo_n "checking
for $ac_word...
" >&6; }
7856 if test "${ac_cv_prog_FLEX+set}" = set; then :
7857 $as_echo_n "(cached
) " >&6
7859 if test -n "$FLEX"; then
7860 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7866 test -z "$as_dir" && as_dir=.
7867 for ac_exec_ext in '' $ac_executable_extensions; do
7868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7869 ac_cv_prog_FLEX="$ac_prog"
7870 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7879 FLEX=$ac_cv_prog_FLEX
7880 if test -n "$FLEX"; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7882 $as_echo "$FLEX" >&6; }
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7885 $as_echo "no
" >&6; }
7889 test -n "$FLEX" && break
7891 test -n "$FLEX" || FLEX="$MISSING flex
"
7893 case " $build_configdirs " in
7894 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7897 for ac_prog in makeinfo
7899 # Extract the first word of "$ac_prog", so it can be a program name with args.
7900 set dummy $ac_prog; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7902 $as_echo_n "checking
for $ac_word...
" >&6; }
7903 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7904 $as_echo_n "(cached
) " >&6
7906 if test -n "$MAKEINFO"; then
7907 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7913 test -z "$as_dir" && as_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7916 ac_cv_prog_MAKEINFO="$ac_prog"
7917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7926 MAKEINFO=$ac_cv_prog_MAKEINFO
7927 if test -n "$MAKEINFO"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7929 $as_echo "$MAKEINFO" >&6; }
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7932 $as_echo "no
" >&6; }
7936 test -n "$MAKEINFO" && break
7938 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7940 case " $build_configdirs " in
7941 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7944 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7945 # higher, else we use the "missing
" dummy.
7946 if ${MAKEINFO} --version \
7947 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7950 MAKEINFO="$MISSING makeinfo
"
7956 # FIXME: expect and dejagnu may become build tools?
7958 for ac_prog in expect
7960 # Extract the first word of "$ac_prog", so it can be a program name with args.
7961 set dummy $ac_prog; ac_word=$2
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7963 $as_echo_n "checking
for $ac_word...
" >&6; }
7964 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7965 $as_echo_n "(cached
) " >&6
7967 if test -n "$EXPECT"; then
7968 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7974 test -z "$as_dir" && as_dir=.
7975 for ac_exec_ext in '' $ac_executable_extensions; do
7976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7977 ac_cv_prog_EXPECT="$ac_prog"
7978 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7987 EXPECT=$ac_cv_prog_EXPECT
7988 if test -n "$EXPECT"; then
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7990 $as_echo "$EXPECT" >&6; }
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7993 $as_echo "no
" >&6; }
7997 test -n "$EXPECT" && break
7999 test -n "$EXPECT" || EXPECT="expect
"
8001 case " $configdirs " in
8003 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8007 for ac_prog in runtest
8009 # Extract the first word of "$ac_prog", so it can be a program name with args.
8010 set dummy $ac_prog; ac_word=$2
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8012 $as_echo_n "checking
for $ac_word...
" >&6; }
8013 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8014 $as_echo_n "(cached
) " >&6
8016 if test -n "$RUNTEST"; then
8017 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8023 test -z "$as_dir" && as_dir=.
8024 for ac_exec_ext in '' $ac_executable_extensions; do
8025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8026 ac_cv_prog_RUNTEST="$ac_prog"
8027 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8036 RUNTEST=$ac_cv_prog_RUNTEST
8037 if test -n "$RUNTEST"; then
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8039 $as_echo "$RUNTEST" >&6; }
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8042 $as_echo "no
" >&6; }
8046 test -n "$RUNTEST" && break
8048 test -n "$RUNTEST" || RUNTEST="runtest
"
8050 case " $configdirs " in
8052 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8059 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8060 ncn_target_tool_prefix=
8061 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8065 if test -n "$AR"; then
8067 elif test -n "$ac_cv_prog_AR"; then
8071 if test -n "$ac_cv_prog_AR"; then
8072 for ncn_progname in ar; do
8073 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8074 set dummy ${ncn_progname}; ac_word=$2
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8076 $as_echo_n "checking
for $ac_word...
" >&6; }
8077 if test "${ac_cv_prog_AR+set}" = set; then :
8078 $as_echo_n "(cached
) " >&6
8080 if test -n "$AR"; then
8081 ac_cv_prog_AR="$AR" # Let the user override the test.
8083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8087 test -z "$as_dir" && as_dir=.
8088 for ac_exec_ext in '' $ac_executable_extensions; do
8089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8090 ac_cv_prog_AR="${ncn_progname}"
8091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8101 if test -n "$AR"; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8103 $as_echo "$AR" >&6; }
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8106 $as_echo "no
" >&6; }
8113 for ncn_progname in ar; do
8114 if test -n "$ncn_tool_prefix"; then
8115 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8116 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8118 $as_echo_n "checking
for $ac_word...
" >&6; }
8119 if test "${ac_cv_prog_AR+set}" = set; then :
8120 $as_echo_n "(cached
) " >&6
8122 if test -n "$AR"; then
8123 ac_cv_prog_AR="$AR" # Let the user override the test.
8125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8129 test -z "$as_dir" && as_dir=.
8130 for ac_exec_ext in '' $ac_executable_extensions; do
8131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8132 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8133 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8143 if test -n "$AR"; then
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8145 $as_echo "$AR" >&6; }
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8148 $as_echo "no
" >&6; }
8153 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8154 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8155 set dummy ${ncn_progname}; ac_word=$2
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8157 $as_echo_n "checking
for $ac_word...
" >&6; }
8158 if test "${ac_cv_prog_AR+set}" = set; then :
8159 $as_echo_n "(cached
) " >&6
8161 if test -n "$AR"; then
8162 ac_cv_prog_AR="$AR" # Let the user override the test.
8164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8168 test -z "$as_dir" && as_dir=.
8169 for ac_exec_ext in '' $ac_executable_extensions; do
8170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8171 ac_cv_prog_AR="${ncn_progname}"
8172 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8182 if test -n "$AR"; then
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8184 $as_echo "$AR" >&6; }
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8187 $as_echo "no
" >&6; }
8192 test -n "$ac_cv_prog_AR" && break
8195 if test -z "$ac_cv_prog_AR" ; then
8197 if test $build = $host ; then
8200 AR="${ncn_tool_prefix}$2"
8206 if test -n "$AS"; then
8208 elif test -n "$ac_cv_prog_AS"; then
8212 if test -n "$ac_cv_prog_AS"; then
8213 for ncn_progname in as; do
8214 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8215 set dummy ${ncn_progname}; ac_word=$2
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8217 $as_echo_n "checking
for $ac_word...
" >&6; }
8218 if test "${ac_cv_prog_AS+set}" = set; then :
8219 $as_echo_n "(cached
) " >&6
8221 if test -n "$AS"; then
8222 ac_cv_prog_AS="$AS" # Let the user override the test.
8224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8228 test -z "$as_dir" && as_dir=.
8229 for ac_exec_ext in '' $ac_executable_extensions; do
8230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8231 ac_cv_prog_AS="${ncn_progname}"
8232 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8242 if test -n "$AS"; then
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8244 $as_echo "$AS" >&6; }
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8247 $as_echo "no
" >&6; }
8254 for ncn_progname in as; do
8255 if test -n "$ncn_tool_prefix"; then
8256 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8257 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8259 $as_echo_n "checking
for $ac_word...
" >&6; }
8260 if test "${ac_cv_prog_AS+set}" = set; then :
8261 $as_echo_n "(cached
) " >&6
8263 if test -n "$AS"; then
8264 ac_cv_prog_AS="$AS" # Let the user override the test.
8266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8270 test -z "$as_dir" && as_dir=.
8271 for ac_exec_ext in '' $ac_executable_extensions; do
8272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8273 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8274 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8284 if test -n "$AS"; then
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8286 $as_echo "$AS" >&6; }
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8289 $as_echo "no
" >&6; }
8294 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8295 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8296 set dummy ${ncn_progname}; ac_word=$2
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8298 $as_echo_n "checking
for $ac_word...
" >&6; }
8299 if test "${ac_cv_prog_AS+set}" = set; then :
8300 $as_echo_n "(cached
) " >&6
8302 if test -n "$AS"; then
8303 ac_cv_prog_AS="$AS" # Let the user override the test.
8305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8309 test -z "$as_dir" && as_dir=.
8310 for ac_exec_ext in '' $ac_executable_extensions; do
8311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8312 ac_cv_prog_AS="${ncn_progname}"
8313 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8323 if test -n "$AS"; then
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8325 $as_echo "$AS" >&6; }
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8328 $as_echo "no
" >&6; }
8333 test -n "$ac_cv_prog_AS" && break
8336 if test -z "$ac_cv_prog_AS" ; then
8338 if test $build = $host ; then
8341 AS="${ncn_tool_prefix}$2"
8347 if test -n "$DLLTOOL"; then
8348 ac_cv_prog_DLLTOOL=$DLLTOOL
8349 elif test -n "$ac_cv_prog_DLLTOOL"; then
8350 DLLTOOL=$ac_cv_prog_DLLTOOL
8353 if test -n "$ac_cv_prog_DLLTOOL"; then
8354 for ncn_progname in dlltool; do
8355 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8356 set dummy ${ncn_progname}; ac_word=$2
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8358 $as_echo_n "checking
for $ac_word...
" >&6; }
8359 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8360 $as_echo_n "(cached
) " >&6
8362 if test -n "$DLLTOOL"; then
8363 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8369 test -z "$as_dir" && as_dir=.
8370 for ac_exec_ext in '' $ac_executable_extensions; do
8371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8372 ac_cv_prog_DLLTOOL="${ncn_progname}"
8373 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8382 DLLTOOL=$ac_cv_prog_DLLTOOL
8383 if test -n "$DLLTOOL"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8385 $as_echo "$DLLTOOL" >&6; }
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8388 $as_echo "no
" >&6; }
8395 for ncn_progname in dlltool; do
8396 if test -n "$ncn_tool_prefix"; then
8397 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8398 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8400 $as_echo_n "checking
for $ac_word...
" >&6; }
8401 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8402 $as_echo_n "(cached
) " >&6
8404 if test -n "$DLLTOOL"; then
8405 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8411 test -z "$as_dir" && as_dir=.
8412 for ac_exec_ext in '' $ac_executable_extensions; do
8413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8414 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8424 DLLTOOL=$ac_cv_prog_DLLTOOL
8425 if test -n "$DLLTOOL"; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8427 $as_echo "$DLLTOOL" >&6; }
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8430 $as_echo "no
" >&6; }
8435 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8436 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8437 set dummy ${ncn_progname}; ac_word=$2
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8439 $as_echo_n "checking
for $ac_word...
" >&6; }
8440 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8441 $as_echo_n "(cached
) " >&6
8443 if test -n "$DLLTOOL"; then
8444 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8450 test -z "$as_dir" && as_dir=.
8451 for ac_exec_ext in '' $ac_executable_extensions; do
8452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8453 ac_cv_prog_DLLTOOL="${ncn_progname}"
8454 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8463 DLLTOOL=$ac_cv_prog_DLLTOOL
8464 if test -n "$DLLTOOL"; then
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8466 $as_echo "$DLLTOOL" >&6; }
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8469 $as_echo "no
" >&6; }
8474 test -n "$ac_cv_prog_DLLTOOL" && break
8477 if test -z "$ac_cv_prog_DLLTOOL" ; then
8479 if test $build = $host ; then
8482 DLLTOOL="${ncn_tool_prefix}$2"
8488 if test -n "$LD"; then
8490 elif test -n "$ac_cv_prog_LD"; then
8494 if test -n "$ac_cv_prog_LD"; then
8495 for ncn_progname in ld; do
8496 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8497 set dummy ${ncn_progname}; ac_word=$2
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8499 $as_echo_n "checking
for $ac_word...
" >&6; }
8500 if test "${ac_cv_prog_LD+set}" = set; then :
8501 $as_echo_n "(cached
) " >&6
8503 if test -n "$LD"; then
8504 ac_cv_prog_LD="$LD" # Let the user override the test.
8506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8510 test -z "$as_dir" && as_dir=.
8511 for ac_exec_ext in '' $ac_executable_extensions; do
8512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8513 ac_cv_prog_LD="${ncn_progname}"
8514 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8524 if test -n "$LD"; then
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8526 $as_echo "$LD" >&6; }
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8529 $as_echo "no
" >&6; }
8536 for ncn_progname in ld; do
8537 if test -n "$ncn_tool_prefix"; then
8538 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8539 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8541 $as_echo_n "checking
for $ac_word...
" >&6; }
8542 if test "${ac_cv_prog_LD+set}" = set; then :
8543 $as_echo_n "(cached
) " >&6
8545 if test -n "$LD"; then
8546 ac_cv_prog_LD="$LD" # Let the user override the test.
8548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8552 test -z "$as_dir" && as_dir=.
8553 for ac_exec_ext in '' $ac_executable_extensions; do
8554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8555 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8556 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8566 if test -n "$LD"; then
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8568 $as_echo "$LD" >&6; }
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8571 $as_echo "no
" >&6; }
8576 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8577 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8578 set dummy ${ncn_progname}; ac_word=$2
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8580 $as_echo_n "checking
for $ac_word...
" >&6; }
8581 if test "${ac_cv_prog_LD+set}" = set; then :
8582 $as_echo_n "(cached
) " >&6
8584 if test -n "$LD"; then
8585 ac_cv_prog_LD="$LD" # Let the user override the test.
8587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8591 test -z "$as_dir" && as_dir=.
8592 for ac_exec_ext in '' $ac_executable_extensions; do
8593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8594 ac_cv_prog_LD="${ncn_progname}"
8595 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8605 if test -n "$LD"; then
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8607 $as_echo "$LD" >&6; }
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8610 $as_echo "no
" >&6; }
8615 test -n "$ac_cv_prog_LD" && break
8618 if test -z "$ac_cv_prog_LD" ; then
8620 if test $build = $host ; then
8623 LD="${ncn_tool_prefix}$2"
8629 if test -n "$LIPO"; then
8630 ac_cv_prog_LIPO=$LIPO
8631 elif test -n "$ac_cv_prog_LIPO"; then
8632 LIPO=$ac_cv_prog_LIPO
8635 if test -n "$ac_cv_prog_LIPO"; then
8636 for ncn_progname in lipo; do
8637 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8638 set dummy ${ncn_progname}; ac_word=$2
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8640 $as_echo_n "checking
for $ac_word...
" >&6; }
8641 if test "${ac_cv_prog_LIPO+set}" = set; then :
8642 $as_echo_n "(cached
) " >&6
8644 if test -n "$LIPO"; then
8645 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8651 test -z "$as_dir" && as_dir=.
8652 for ac_exec_ext in '' $ac_executable_extensions; do
8653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8654 ac_cv_prog_LIPO="${ncn_progname}"
8655 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8664 LIPO=$ac_cv_prog_LIPO
8665 if test -n "$LIPO"; then
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8667 $as_echo "$LIPO" >&6; }
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8670 $as_echo "no
" >&6; }
8677 for ncn_progname in lipo; do
8678 if test -n "$ncn_tool_prefix"; then
8679 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8680 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8682 $as_echo_n "checking
for $ac_word...
" >&6; }
8683 if test "${ac_cv_prog_LIPO+set}" = set; then :
8684 $as_echo_n "(cached
) " >&6
8686 if test -n "$LIPO"; then
8687 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8693 test -z "$as_dir" && as_dir=.
8694 for ac_exec_ext in '' $ac_executable_extensions; do
8695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8696 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8706 LIPO=$ac_cv_prog_LIPO
8707 if test -n "$LIPO"; then
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8709 $as_echo "$LIPO" >&6; }
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8712 $as_echo "no
" >&6; }
8717 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8718 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8719 set dummy ${ncn_progname}; ac_word=$2
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8721 $as_echo_n "checking
for $ac_word...
" >&6; }
8722 if test "${ac_cv_prog_LIPO+set}" = set; then :
8723 $as_echo_n "(cached
) " >&6
8725 if test -n "$LIPO"; then
8726 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8732 test -z "$as_dir" && as_dir=.
8733 for ac_exec_ext in '' $ac_executable_extensions; do
8734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8735 ac_cv_prog_LIPO="${ncn_progname}"
8736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8745 LIPO=$ac_cv_prog_LIPO
8746 if test -n "$LIPO"; then
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8748 $as_echo "$LIPO" >&6; }
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8751 $as_echo "no
" >&6; }
8756 test -n "$ac_cv_prog_LIPO" && break
8759 if test -z "$ac_cv_prog_LIPO" ; then
8761 if test $build = $host ; then
8764 LIPO="${ncn_tool_prefix}$2"
8770 if test -n "$NM"; then
8772 elif test -n "$ac_cv_prog_NM"; then
8776 if test -n "$ac_cv_prog_NM"; then
8777 for ncn_progname in nm; do
8778 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8779 set dummy ${ncn_progname}; ac_word=$2
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8781 $as_echo_n "checking
for $ac_word...
" >&6; }
8782 if test "${ac_cv_prog_NM+set}" = set; then :
8783 $as_echo_n "(cached
) " >&6
8785 if test -n "$NM"; then
8786 ac_cv_prog_NM="$NM" # Let the user override the test.
8788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8792 test -z "$as_dir" && as_dir=.
8793 for ac_exec_ext in '' $ac_executable_extensions; do
8794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8795 ac_cv_prog_NM="${ncn_progname}"
8796 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8806 if test -n "$NM"; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8808 $as_echo "$NM" >&6; }
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8811 $as_echo "no
" >&6; }
8818 for ncn_progname in nm; do
8819 if test -n "$ncn_tool_prefix"; then
8820 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8821 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8823 $as_echo_n "checking
for $ac_word...
" >&6; }
8824 if test "${ac_cv_prog_NM+set}" = set; then :
8825 $as_echo_n "(cached
) " >&6
8827 if test -n "$NM"; then
8828 ac_cv_prog_NM="$NM" # Let the user override the test.
8830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8834 test -z "$as_dir" && as_dir=.
8835 for ac_exec_ext in '' $ac_executable_extensions; do
8836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8837 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8838 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8848 if test -n "$NM"; then
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8850 $as_echo "$NM" >&6; }
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8853 $as_echo "no
" >&6; }
8858 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8859 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8860 set dummy ${ncn_progname}; ac_word=$2
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8862 $as_echo_n "checking
for $ac_word...
" >&6; }
8863 if test "${ac_cv_prog_NM+set}" = set; then :
8864 $as_echo_n "(cached
) " >&6
8866 if test -n "$NM"; then
8867 ac_cv_prog_NM="$NM" # Let the user override the test.
8869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8873 test -z "$as_dir" && as_dir=.
8874 for ac_exec_ext in '' $ac_executable_extensions; do
8875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8876 ac_cv_prog_NM="${ncn_progname}"
8877 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8887 if test -n "$NM"; then
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8889 $as_echo "$NM" >&6; }
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8892 $as_echo "no
" >&6; }
8897 test -n "$ac_cv_prog_NM" && break
8900 if test -z "$ac_cv_prog_NM" ; then
8902 if test $build = $host ; then
8905 NM="${ncn_tool_prefix}$2"
8911 if test -n "$RANLIB"; then
8912 ac_cv_prog_RANLIB=$RANLIB
8913 elif test -n "$ac_cv_prog_RANLIB"; then
8914 RANLIB=$ac_cv_prog_RANLIB
8917 if test -n "$ac_cv_prog_RANLIB"; then
8918 for ncn_progname in ranlib; do
8919 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8920 set dummy ${ncn_progname}; ac_word=$2
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8922 $as_echo_n "checking
for $ac_word...
" >&6; }
8923 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8924 $as_echo_n "(cached
) " >&6
8926 if test -n "$RANLIB"; then
8927 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8933 test -z "$as_dir" && as_dir=.
8934 for ac_exec_ext in '' $ac_executable_extensions; do
8935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8936 ac_cv_prog_RANLIB="${ncn_progname}"
8937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8946 RANLIB=$ac_cv_prog_RANLIB
8947 if test -n "$RANLIB"; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8949 $as_echo "$RANLIB" >&6; }
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8952 $as_echo "no
" >&6; }
8959 for ncn_progname in ranlib; do
8960 if test -n "$ncn_tool_prefix"; then
8961 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8962 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8964 $as_echo_n "checking
for $ac_word...
" >&6; }
8965 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8966 $as_echo_n "(cached
) " >&6
8968 if test -n "$RANLIB"; then
8969 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8975 test -z "$as_dir" && as_dir=.
8976 for ac_exec_ext in '' $ac_executable_extensions; do
8977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8978 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8979 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8988 RANLIB=$ac_cv_prog_RANLIB
8989 if test -n "$RANLIB"; then
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8991 $as_echo "$RANLIB" >&6; }
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8994 $as_echo "no
" >&6; }
8999 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9000 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9001 set dummy ${ncn_progname}; ac_word=$2
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9003 $as_echo_n "checking
for $ac_word...
" >&6; }
9004 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9005 $as_echo_n "(cached
) " >&6
9007 if test -n "$RANLIB"; then
9008 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9014 test -z "$as_dir" && as_dir=.
9015 for ac_exec_ext in '' $ac_executable_extensions; do
9016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9017 ac_cv_prog_RANLIB="${ncn_progname}"
9018 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9027 RANLIB=$ac_cv_prog_RANLIB
9028 if test -n "$RANLIB"; then
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9030 $as_echo "$RANLIB" >&6; }
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9033 $as_echo "no
" >&6; }
9038 test -n "$ac_cv_prog_RANLIB" && break
9041 if test -z "$ac_cv_prog_RANLIB" ; then
9047 if test -n "$STRIP"; then
9048 ac_cv_prog_STRIP=$STRIP
9049 elif test -n "$ac_cv_prog_STRIP"; then
9050 STRIP=$ac_cv_prog_STRIP
9053 if test -n "$ac_cv_prog_STRIP"; then
9054 for ncn_progname in strip; do
9055 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9056 set dummy ${ncn_progname}; ac_word=$2
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9058 $as_echo_n "checking
for $ac_word...
" >&6; }
9059 if test "${ac_cv_prog_STRIP+set}" = set; then :
9060 $as_echo_n "(cached
) " >&6
9062 if test -n "$STRIP"; then
9063 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9069 test -z "$as_dir" && as_dir=.
9070 for ac_exec_ext in '' $ac_executable_extensions; do
9071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9072 ac_cv_prog_STRIP="${ncn_progname}"
9073 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9082 STRIP=$ac_cv_prog_STRIP
9083 if test -n "$STRIP"; then
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9085 $as_echo "$STRIP" >&6; }
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9088 $as_echo "no
" >&6; }
9095 for ncn_progname in strip; do
9096 if test -n "$ncn_tool_prefix"; then
9097 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9098 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9100 $as_echo_n "checking
for $ac_word...
" >&6; }
9101 if test "${ac_cv_prog_STRIP+set}" = set; then :
9102 $as_echo_n "(cached
) " >&6
9104 if test -n "$STRIP"; then
9105 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9111 test -z "$as_dir" && as_dir=.
9112 for ac_exec_ext in '' $ac_executable_extensions; do
9113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9114 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9124 STRIP=$ac_cv_prog_STRIP
9125 if test -n "$STRIP"; then
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9127 $as_echo "$STRIP" >&6; }
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9130 $as_echo "no
" >&6; }
9135 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9136 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9137 set dummy ${ncn_progname}; ac_word=$2
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9139 $as_echo_n "checking
for $ac_word...
" >&6; }
9140 if test "${ac_cv_prog_STRIP+set}" = set; then :
9141 $as_echo_n "(cached
) " >&6
9143 if test -n "$STRIP"; then
9144 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9150 test -z "$as_dir" && as_dir=.
9151 for ac_exec_ext in '' $ac_executable_extensions; do
9152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9153 ac_cv_prog_STRIP="${ncn_progname}"
9154 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9163 STRIP=$ac_cv_prog_STRIP
9164 if test -n "$STRIP"; then
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9166 $as_echo "$STRIP" >&6; }
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9169 $as_echo "no
" >&6; }
9174 test -n "$ac_cv_prog_STRIP" && break
9177 if test -z "$ac_cv_prog_STRIP" ; then
9183 if test -n "$WINDRES"; then
9184 ac_cv_prog_WINDRES=$WINDRES
9185 elif test -n "$ac_cv_prog_WINDRES"; then
9186 WINDRES=$ac_cv_prog_WINDRES
9189 if test -n "$ac_cv_prog_WINDRES"; then
9190 for ncn_progname in windres; do
9191 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9192 set dummy ${ncn_progname}; ac_word=$2
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9194 $as_echo_n "checking
for $ac_word...
" >&6; }
9195 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9196 $as_echo_n "(cached
) " >&6
9198 if test -n "$WINDRES"; then
9199 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9205 test -z "$as_dir" && as_dir=.
9206 for ac_exec_ext in '' $ac_executable_extensions; do
9207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9208 ac_cv_prog_WINDRES="${ncn_progname}"
9209 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9218 WINDRES=$ac_cv_prog_WINDRES
9219 if test -n "$WINDRES"; then
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9221 $as_echo "$WINDRES" >&6; }
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9224 $as_echo "no
" >&6; }
9231 for ncn_progname in windres; do
9232 if test -n "$ncn_tool_prefix"; then
9233 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9234 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9236 $as_echo_n "checking
for $ac_word...
" >&6; }
9237 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9238 $as_echo_n "(cached
) " >&6
9240 if test -n "$WINDRES"; then
9241 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9247 test -z "$as_dir" && as_dir=.
9248 for ac_exec_ext in '' $ac_executable_extensions; do
9249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9250 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9251 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9260 WINDRES=$ac_cv_prog_WINDRES
9261 if test -n "$WINDRES"; then
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9263 $as_echo "$WINDRES" >&6; }
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9266 $as_echo "no
" >&6; }
9271 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9272 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9273 set dummy ${ncn_progname}; ac_word=$2
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9275 $as_echo_n "checking
for $ac_word...
" >&6; }
9276 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9277 $as_echo_n "(cached
) " >&6
9279 if test -n "$WINDRES"; then
9280 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9286 test -z "$as_dir" && as_dir=.
9287 for ac_exec_ext in '' $ac_executable_extensions; do
9288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9289 ac_cv_prog_WINDRES="${ncn_progname}"
9290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9299 WINDRES=$ac_cv_prog_WINDRES
9300 if test -n "$WINDRES"; then
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9302 $as_echo "$WINDRES" >&6; }
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9305 $as_echo "no
" >&6; }
9310 test -n "$ac_cv_prog_WINDRES" && break
9313 if test -z "$ac_cv_prog_WINDRES" ; then
9315 if test $build = $host ; then
9318 WINDRES="${ncn_tool_prefix}$2"
9324 if test -n "$WINDMC"; then
9325 ac_cv_prog_WINDMC=$WINDMC
9326 elif test -n "$ac_cv_prog_WINDMC"; then
9327 WINDMC=$ac_cv_prog_WINDMC
9330 if test -n "$ac_cv_prog_WINDMC"; then
9331 for ncn_progname in windmc; do
9332 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9333 set dummy ${ncn_progname}; ac_word=$2
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9335 $as_echo_n "checking
for $ac_word...
" >&6; }
9336 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9337 $as_echo_n "(cached
) " >&6
9339 if test -n "$WINDMC"; then
9340 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9346 test -z "$as_dir" && as_dir=.
9347 for ac_exec_ext in '' $ac_executable_extensions; do
9348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9349 ac_cv_prog_WINDMC="${ncn_progname}"
9350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9359 WINDMC=$ac_cv_prog_WINDMC
9360 if test -n "$WINDMC"; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9362 $as_echo "$WINDMC" >&6; }
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9365 $as_echo "no
" >&6; }
9372 for ncn_progname in windmc; do
9373 if test -n "$ncn_tool_prefix"; then
9374 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9375 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9377 $as_echo_n "checking
for $ac_word...
" >&6; }
9378 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9379 $as_echo_n "(cached
) " >&6
9381 if test -n "$WINDMC"; then
9382 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9388 test -z "$as_dir" && as_dir=.
9389 for ac_exec_ext in '' $ac_executable_extensions; do
9390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9391 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9392 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9401 WINDMC=$ac_cv_prog_WINDMC
9402 if test -n "$WINDMC"; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9404 $as_echo "$WINDMC" >&6; }
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9407 $as_echo "no
" >&6; }
9412 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9413 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9414 set dummy ${ncn_progname}; ac_word=$2
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9416 $as_echo_n "checking
for $ac_word...
" >&6; }
9417 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9418 $as_echo_n "(cached
) " >&6
9420 if test -n "$WINDMC"; then
9421 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9427 test -z "$as_dir" && as_dir=.
9428 for ac_exec_ext in '' $ac_executable_extensions; do
9429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9430 ac_cv_prog_WINDMC="${ncn_progname}"
9431 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9440 WINDMC=$ac_cv_prog_WINDMC
9441 if test -n "$WINDMC"; then
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9443 $as_echo "$WINDMC" >&6; }
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9446 $as_echo "no
" >&6; }
9451 test -n "$ac_cv_prog_WINDMC" && break
9454 if test -z "$ac_cv_prog_WINDMC" ; then
9456 if test $build = $host ; then
9459 WINDMC="${ncn_tool_prefix}$2"
9465 if test -n "$OBJCOPY"; then
9466 ac_cv_prog_OBJCOPY=$OBJCOPY
9467 elif test -n "$ac_cv_prog_OBJCOPY"; then
9468 OBJCOPY=$ac_cv_prog_OBJCOPY
9471 if test -n "$ac_cv_prog_OBJCOPY"; then
9472 for ncn_progname in objcopy; do
9473 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9474 set dummy ${ncn_progname}; ac_word=$2
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9476 $as_echo_n "checking
for $ac_word...
" >&6; }
9477 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9478 $as_echo_n "(cached
) " >&6
9480 if test -n "$OBJCOPY"; then
9481 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9487 test -z "$as_dir" && as_dir=.
9488 for ac_exec_ext in '' $ac_executable_extensions; do
9489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9490 ac_cv_prog_OBJCOPY="${ncn_progname}"
9491 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9500 OBJCOPY=$ac_cv_prog_OBJCOPY
9501 if test -n "$OBJCOPY"; then
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9503 $as_echo "$OBJCOPY" >&6; }
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9506 $as_echo "no
" >&6; }
9513 for ncn_progname in objcopy; do
9514 if test -n "$ncn_tool_prefix"; then
9515 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9516 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9518 $as_echo_n "checking
for $ac_word...
" >&6; }
9519 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9520 $as_echo_n "(cached
) " >&6
9522 if test -n "$OBJCOPY"; then
9523 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9529 test -z "$as_dir" && as_dir=.
9530 for ac_exec_ext in '' $ac_executable_extensions; do
9531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9532 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9542 OBJCOPY=$ac_cv_prog_OBJCOPY
9543 if test -n "$OBJCOPY"; then
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9545 $as_echo "$OBJCOPY" >&6; }
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9548 $as_echo "no
" >&6; }
9553 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9554 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9555 set dummy ${ncn_progname}; ac_word=$2
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9557 $as_echo_n "checking
for $ac_word...
" >&6; }
9558 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9559 $as_echo_n "(cached
) " >&6
9561 if test -n "$OBJCOPY"; then
9562 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9568 test -z "$as_dir" && as_dir=.
9569 for ac_exec_ext in '' $ac_executable_extensions; do
9570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9571 ac_cv_prog_OBJCOPY="${ncn_progname}"
9572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9581 OBJCOPY=$ac_cv_prog_OBJCOPY
9582 if test -n "$OBJCOPY"; then
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9584 $as_echo "$OBJCOPY" >&6; }
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9587 $as_echo "no
" >&6; }
9592 test -n "$ac_cv_prog_OBJCOPY" && break
9595 if test -z "$ac_cv_prog_OBJCOPY" ; then
9597 if test $build = $host ; then
9600 OBJCOPY="${ncn_tool_prefix}$2"
9606 if test -n "$OBJDUMP"; then
9607 ac_cv_prog_OBJDUMP=$OBJDUMP
9608 elif test -n "$ac_cv_prog_OBJDUMP"; then
9609 OBJDUMP=$ac_cv_prog_OBJDUMP
9612 if test -n "$ac_cv_prog_OBJDUMP"; then
9613 for ncn_progname in objdump; do
9614 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9615 set dummy ${ncn_progname}; ac_word=$2
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9617 $as_echo_n "checking
for $ac_word...
" >&6; }
9618 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9619 $as_echo_n "(cached
) " >&6
9621 if test -n "$OBJDUMP"; then
9622 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9628 test -z "$as_dir" && as_dir=.
9629 for ac_exec_ext in '' $ac_executable_extensions; do
9630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9631 ac_cv_prog_OBJDUMP="${ncn_progname}"
9632 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9641 OBJDUMP=$ac_cv_prog_OBJDUMP
9642 if test -n "$OBJDUMP"; then
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9644 $as_echo "$OBJDUMP" >&6; }
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9647 $as_echo "no
" >&6; }
9654 for ncn_progname in objdump; do
9655 if test -n "$ncn_tool_prefix"; then
9656 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9657 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9659 $as_echo_n "checking
for $ac_word...
" >&6; }
9660 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9661 $as_echo_n "(cached
) " >&6
9663 if test -n "$OBJDUMP"; then
9664 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9670 test -z "$as_dir" && as_dir=.
9671 for ac_exec_ext in '' $ac_executable_extensions; do
9672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9673 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9683 OBJDUMP=$ac_cv_prog_OBJDUMP
9684 if test -n "$OBJDUMP"; then
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9686 $as_echo "$OBJDUMP" >&6; }
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9689 $as_echo "no
" >&6; }
9694 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9695 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9696 set dummy ${ncn_progname}; ac_word=$2
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9698 $as_echo_n "checking
for $ac_word...
" >&6; }
9699 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9700 $as_echo_n "(cached
) " >&6
9702 if test -n "$OBJDUMP"; then
9703 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9709 test -z "$as_dir" && as_dir=.
9710 for ac_exec_ext in '' $ac_executable_extensions; do
9711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9712 ac_cv_prog_OBJDUMP="${ncn_progname}"
9713 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9722 OBJDUMP=$ac_cv_prog_OBJDUMP
9723 if test -n "$OBJDUMP"; then
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9725 $as_echo "$OBJDUMP" >&6; }
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9728 $as_echo "no
" >&6; }
9733 test -n "$ac_cv_prog_OBJDUMP" && break
9736 if test -z "$ac_cv_prog_OBJDUMP" ; then
9738 if test $build = $host ; then
9741 OBJDUMP="${ncn_tool_prefix}$2"
9747 if test -n "$READELF"; then
9748 ac_cv_prog_READELF=$READELF
9749 elif test -n "$ac_cv_prog_READELF"; then
9750 READELF=$ac_cv_prog_READELF
9753 if test -n "$ac_cv_prog_READELF"; then
9754 for ncn_progname in readelf; do
9755 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9756 set dummy ${ncn_progname}; ac_word=$2
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9758 $as_echo_n "checking
for $ac_word...
" >&6; }
9759 if test "${ac_cv_prog_READELF+set}" = set; then :
9760 $as_echo_n "(cached
) " >&6
9762 if test -n "$READELF"; then
9763 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9769 test -z "$as_dir" && as_dir=.
9770 for ac_exec_ext in '' $ac_executable_extensions; do
9771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9772 ac_cv_prog_READELF="${ncn_progname}"
9773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9782 READELF=$ac_cv_prog_READELF
9783 if test -n "$READELF"; then
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9785 $as_echo "$READELF" >&6; }
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9788 $as_echo "no
" >&6; }
9795 for ncn_progname in readelf; do
9796 if test -n "$ncn_tool_prefix"; then
9797 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9798 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9800 $as_echo_n "checking
for $ac_word...
" >&6; }
9801 if test "${ac_cv_prog_READELF+set}" = set; then :
9802 $as_echo_n "(cached
) " >&6
9804 if test -n "$READELF"; then
9805 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9811 test -z "$as_dir" && as_dir=.
9812 for ac_exec_ext in '' $ac_executable_extensions; do
9813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9814 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9815 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9824 READELF=$ac_cv_prog_READELF
9825 if test -n "$READELF"; then
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9827 $as_echo "$READELF" >&6; }
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9830 $as_echo "no
" >&6; }
9835 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9836 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9837 set dummy ${ncn_progname}; ac_word=$2
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9839 $as_echo_n "checking
for $ac_word...
" >&6; }
9840 if test "${ac_cv_prog_READELF+set}" = set; then :
9841 $as_echo_n "(cached
) " >&6
9843 if test -n "$READELF"; then
9844 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9850 test -z "$as_dir" && as_dir=.
9851 for ac_exec_ext in '' $ac_executable_extensions; do
9852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9853 ac_cv_prog_READELF="${ncn_progname}"
9854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9863 READELF=$ac_cv_prog_READELF
9864 if test -n "$READELF"; then
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9866 $as_echo "$READELF" >&6; }
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9869 $as_echo "no
" >&6; }
9874 test -n "$ac_cv_prog_READELF" && break
9877 if test -z "$ac_cv_prog_READELF" ; then
9879 if test $build = $host ; then
9882 READELF="${ncn_tool_prefix}$2"
9893 # Check whether --with-build-time-tools was given.
9894 if test "${with_build_time_tools+set}" = set; then :
9895 withval=$with_build_time_tools; case x"$withval" in
9898 with_build_time_tools=
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9900 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9904 with_build_time_tools=
9910 if test -n "$CC_FOR_TARGET"; then
9911 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9912 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9913 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9916 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9917 for ncn_progname in cc gcc; do
9918 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9919 set dummy ${ncn_progname}; ac_word=$2
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9921 $as_echo_n "checking
for $ac_word...
" >&6; }
9922 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9923 $as_echo_n "(cached
) " >&6
9925 if test -n "$CC_FOR_TARGET"; then
9926 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9932 test -z "$as_dir" && as_dir=.
9933 for ac_exec_ext in '' $ac_executable_extensions; do
9934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9935 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9936 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9945 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9946 if test -n "$CC_FOR_TARGET"; then
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9948 $as_echo "$CC_FOR_TARGET" >&6; }
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9951 $as_echo "no
" >&6; }
9958 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9959 for ncn_progname in cc gcc; do
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9961 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9962 if test -x $with_build_time_tools/${ncn_progname}; then
9963 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9965 $as_echo "yes" >&6; }
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9969 $as_echo "no
" >&6; }
9974 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9975 for ncn_progname in cc gcc; do
9976 if test -n "$ncn_target_tool_prefix"; then
9977 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9978 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9980 $as_echo_n "checking
for $ac_word...
" >&6; }
9981 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9982 $as_echo_n "(cached
) " >&6
9984 if test -n "$CC_FOR_TARGET"; then
9985 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9991 test -z "$as_dir" && as_dir=.
9992 for ac_exec_ext in '' $ac_executable_extensions; do
9993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9994 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9995 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10004 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10005 if test -n "$CC_FOR_TARGET"; then
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10007 $as_echo "$CC_FOR_TARGET" >&6; }
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10010 $as_echo "no
" >&6; }
10015 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10016 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10017 set dummy ${ncn_progname}; ac_word=$2
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10019 $as_echo_n "checking
for $ac_word...
" >&6; }
10020 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10021 $as_echo_n "(cached
) " >&6
10023 if test -n "$CC_FOR_TARGET"; then
10024 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10027 for as_dir in $PATH
10030 test -z "$as_dir" && as_dir=.
10031 for ac_exec_ext in '' $ac_executable_extensions; do
10032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10033 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10043 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10044 if test -n "$CC_FOR_TARGET"; then
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10046 $as_echo "$CC_FOR_TARGET" >&6; }
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10049 $as_echo "no
" >&6; }
10054 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10058 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10060 if test $build = $target ; then
10063 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10066 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10071 if test -n "$CXX_FOR_TARGET"; then
10072 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10073 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10074 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10077 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10078 for ncn_progname in c++ g++ cxx gxx; do
10079 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10080 set dummy ${ncn_progname}; ac_word=$2
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10082 $as_echo_n "checking
for $ac_word...
" >&6; }
10083 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10084 $as_echo_n "(cached
) " >&6
10086 if test -n "$CXX_FOR_TARGET"; then
10087 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10090 for as_dir in $PATH
10093 test -z "$as_dir" && as_dir=.
10094 for ac_exec_ext in '' $ac_executable_extensions; do
10095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10096 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10097 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10106 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10107 if test -n "$CXX_FOR_TARGET"; then
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10109 $as_echo "$CXX_FOR_TARGET" >&6; }
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10112 $as_echo "no
" >&6; }
10119 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10120 for ncn_progname in c++ g++ cxx gxx; do
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10122 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10123 if test -x $with_build_time_tools/${ncn_progname}; then
10124 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10126 $as_echo "yes" >&6; }
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10130 $as_echo "no
" >&6; }
10135 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10136 for ncn_progname in c++ g++ cxx gxx; do
10137 if test -n "$ncn_target_tool_prefix"; then
10138 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10139 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10141 $as_echo_n "checking
for $ac_word...
" >&6; }
10142 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10143 $as_echo_n "(cached
) " >&6
10145 if test -n "$CXX_FOR_TARGET"; then
10146 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10149 for as_dir in $PATH
10152 test -z "$as_dir" && as_dir=.
10153 for ac_exec_ext in '' $ac_executable_extensions; do
10154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10155 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10156 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10165 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10166 if test -n "$CXX_FOR_TARGET"; then
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10168 $as_echo "$CXX_FOR_TARGET" >&6; }
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10171 $as_echo "no
" >&6; }
10176 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10177 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10178 set dummy ${ncn_progname}; ac_word=$2
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10180 $as_echo_n "checking
for $ac_word...
" >&6; }
10181 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10182 $as_echo_n "(cached
) " >&6
10184 if test -n "$CXX_FOR_TARGET"; then
10185 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10188 for as_dir in $PATH
10191 test -z "$as_dir" && as_dir=.
10192 for ac_exec_ext in '' $ac_executable_extensions; do
10193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10194 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10195 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10204 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10205 if test -n "$CXX_FOR_TARGET"; then
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10207 $as_echo "$CXX_FOR_TARGET" >&6; }
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10210 $as_echo "no
" >&6; }
10215 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10219 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10220 set dummy c++ g++ cxx gxx
10221 if test $build = $target ; then
10222 CXX_FOR_TARGET="$2"
10224 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10227 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10232 if test -n "$GCC_FOR_TARGET"; then
10233 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10234 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10235 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10238 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10239 for ncn_progname in gcc; do
10240 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10241 set dummy ${ncn_progname}; ac_word=$2
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10243 $as_echo_n "checking
for $ac_word...
" >&6; }
10244 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10245 $as_echo_n "(cached
) " >&6
10247 if test -n "$GCC_FOR_TARGET"; then
10248 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10251 for as_dir in $PATH
10254 test -z "$as_dir" && as_dir=.
10255 for ac_exec_ext in '' $ac_executable_extensions; do
10256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10257 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10267 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10268 if test -n "$GCC_FOR_TARGET"; then
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10270 $as_echo "$GCC_FOR_TARGET" >&6; }
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10273 $as_echo "no
" >&6; }
10280 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10281 for ncn_progname in gcc; do
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10283 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10284 if test -x $with_build_time_tools/${ncn_progname}; then
10285 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10287 $as_echo "yes" >&6; }
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10291 $as_echo "no
" >&6; }
10296 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10297 for ncn_progname in gcc; do
10298 if test -n "$ncn_target_tool_prefix"; then
10299 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10300 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10302 $as_echo_n "checking
for $ac_word...
" >&6; }
10303 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10304 $as_echo_n "(cached
) " >&6
10306 if test -n "$GCC_FOR_TARGET"; then
10307 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10310 for as_dir in $PATH
10313 test -z "$as_dir" && as_dir=.
10314 for ac_exec_ext in '' $ac_executable_extensions; do
10315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10316 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10317 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10326 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10327 if test -n "$GCC_FOR_TARGET"; then
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10329 $as_echo "$GCC_FOR_TARGET" >&6; }
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10332 $as_echo "no
" >&6; }
10337 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10338 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10339 set dummy ${ncn_progname}; ac_word=$2
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10341 $as_echo_n "checking
for $ac_word...
" >&6; }
10342 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10343 $as_echo_n "(cached
) " >&6
10345 if test -n "$GCC_FOR_TARGET"; then
10346 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10349 for as_dir in $PATH
10352 test -z "$as_dir" && as_dir=.
10353 for ac_exec_ext in '' $ac_executable_extensions; do
10354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10355 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10356 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10365 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10366 if test -n "$GCC_FOR_TARGET"; then
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10368 $as_echo "$GCC_FOR_TARGET" >&6; }
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10371 $as_echo "no
" >&6; }
10376 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10380 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10381 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10383 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10388 if test -n "$GFORTRAN_FOR_TARGET"; then
10389 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10390 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10391 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10394 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10395 for ncn_progname in gfortran; do
10396 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10397 set dummy ${ncn_progname}; ac_word=$2
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10399 $as_echo_n "checking
for $ac_word...
" >&6; }
10400 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10401 $as_echo_n "(cached
) " >&6
10403 if test -n "$GFORTRAN_FOR_TARGET"; then
10404 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10407 for as_dir in $PATH
10410 test -z "$as_dir" && as_dir=.
10411 for ac_exec_ext in '' $ac_executable_extensions; do
10412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10413 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10414 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10423 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10424 if test -n "$GFORTRAN_FOR_TARGET"; then
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10426 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10429 $as_echo "no
" >&6; }
10436 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10437 for ncn_progname in gfortran; do
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10439 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10440 if test -x $with_build_time_tools/${ncn_progname}; then
10441 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10443 $as_echo "yes" >&6; }
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10447 $as_echo "no
" >&6; }
10452 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10453 for ncn_progname in gfortran; do
10454 if test -n "$ncn_target_tool_prefix"; then
10455 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10456 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10458 $as_echo_n "checking
for $ac_word...
" >&6; }
10459 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10460 $as_echo_n "(cached
) " >&6
10462 if test -n "$GFORTRAN_FOR_TARGET"; then
10463 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10466 for as_dir in $PATH
10469 test -z "$as_dir" && as_dir=.
10470 for ac_exec_ext in '' $ac_executable_extensions; do
10471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10472 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10473 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10482 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10483 if test -n "$GFORTRAN_FOR_TARGET"; then
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10485 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10488 $as_echo "no
" >&6; }
10493 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10494 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10495 set dummy ${ncn_progname}; ac_word=$2
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10497 $as_echo_n "checking
for $ac_word...
" >&6; }
10498 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10499 $as_echo_n "(cached
) " >&6
10501 if test -n "$GFORTRAN_FOR_TARGET"; then
10502 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10505 for as_dir in $PATH
10508 test -z "$as_dir" && as_dir=.
10509 for ac_exec_ext in '' $ac_executable_extensions; do
10510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10511 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10512 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10521 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10522 if test -n "$GFORTRAN_FOR_TARGET"; then
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10524 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10527 $as_echo "no
" >&6; }
10532 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10536 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10538 if test $build = $target ; then
10539 GFORTRAN_FOR_TARGET="$2"
10541 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10544 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10549 if test -n "$GOC_FOR_TARGET"; then
10550 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10551 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10552 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10555 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10556 for ncn_progname in gccgo; do
10557 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10558 set dummy ${ncn_progname}; ac_word=$2
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10560 $as_echo_n "checking
for $ac_word...
" >&6; }
10561 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10562 $as_echo_n "(cached
) " >&6
10564 if test -n "$GOC_FOR_TARGET"; then
10565 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10568 for as_dir in $PATH
10571 test -z "$as_dir" && as_dir=.
10572 for ac_exec_ext in '' $ac_executable_extensions; do
10573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10574 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10575 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10584 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10585 if test -n "$GOC_FOR_TARGET"; then
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10587 $as_echo "$GOC_FOR_TARGET" >&6; }
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10590 $as_echo "no
" >&6; }
10597 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10598 for ncn_progname in gccgo; do
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10600 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10601 if test -x $with_build_time_tools/${ncn_progname}; then
10602 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10604 $as_echo "yes" >&6; }
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10608 $as_echo "no
" >&6; }
10613 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10614 for ncn_progname in gccgo; do
10615 if test -n "$ncn_target_tool_prefix"; then
10616 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10617 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10619 $as_echo_n "checking
for $ac_word...
" >&6; }
10620 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10621 $as_echo_n "(cached
) " >&6
10623 if test -n "$GOC_FOR_TARGET"; then
10624 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10627 for as_dir in $PATH
10630 test -z "$as_dir" && as_dir=.
10631 for ac_exec_ext in '' $ac_executable_extensions; do
10632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10633 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10643 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10644 if test -n "$GOC_FOR_TARGET"; then
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10646 $as_echo "$GOC_FOR_TARGET" >&6; }
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10649 $as_echo "no
" >&6; }
10654 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10655 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10656 set dummy ${ncn_progname}; ac_word=$2
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10658 $as_echo_n "checking
for $ac_word...
" >&6; }
10659 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10660 $as_echo_n "(cached
) " >&6
10662 if test -n "$GOC_FOR_TARGET"; then
10663 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10666 for as_dir in $PATH
10669 test -z "$as_dir" && as_dir=.
10670 for ac_exec_ext in '' $ac_executable_extensions; do
10671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10672 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10673 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10682 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10683 if test -n "$GOC_FOR_TARGET"; then
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10685 $as_echo "$GOC_FOR_TARGET" >&6; }
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10688 $as_echo "no
" >&6; }
10693 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10697 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10699 if test $build = $target ; then
10700 GOC_FOR_TARGET="$2"
10702 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10705 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10710 cat > conftest.c << \EOF
10715 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10716 have_gcc_for_target=yes
10718 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10719 have_gcc_for_target=no
10726 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10727 if test -n "$with_build_time_tools"; then
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10729 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10730 if test -x $with_build_time_tools/ar; then
10731 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10732 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10734 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10737 $as_echo "no
" >&6; }
10739 elif test $build != $host && test $have_gcc_for_target = yes; then
10740 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10741 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10742 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10745 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10746 # Extract the first word of "ar", so it can be a program name with args.
10747 set dummy ar; ac_word=$2
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10749 $as_echo_n "checking
for $ac_word...
" >&6; }
10750 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10751 $as_echo_n "(cached
) " >&6
10753 case $AR_FOR_TARGET in
10755 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10759 for as_dir in $gcc_cv_tool_dirs
10762 test -z "$as_dir" && as_dir=.
10763 for ac_exec_ext in '' $ac_executable_extensions; do
10764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10765 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10776 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10777 if test -n "$AR_FOR_TARGET"; then
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10779 $as_echo "$AR_FOR_TARGET" >&6; }
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10782 $as_echo "no
" >&6; }
10787 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10790 if test -n "$AR_FOR_TARGET"; then
10791 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10792 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10793 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10796 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10797 for ncn_progname in ar; do
10798 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10799 set dummy ${ncn_progname}; ac_word=$2
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10801 $as_echo_n "checking
for $ac_word...
" >&6; }
10802 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10803 $as_echo_n "(cached
) " >&6
10805 if test -n "$AR_FOR_TARGET"; then
10806 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10809 for as_dir in $PATH
10812 test -z "$as_dir" && as_dir=.
10813 for ac_exec_ext in '' $ac_executable_extensions; do
10814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10815 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10816 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10825 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10826 if test -n "$AR_FOR_TARGET"; then
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10828 $as_echo "$AR_FOR_TARGET" >&6; }
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10831 $as_echo "no
" >&6; }
10838 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10839 for ncn_progname in ar; do
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10841 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10842 if test -x $with_build_time_tools/${ncn_progname}; then
10843 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10845 $as_echo "yes" >&6; }
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10849 $as_echo "no
" >&6; }
10854 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10855 for ncn_progname in ar; do
10856 if test -n "$ncn_target_tool_prefix"; then
10857 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10858 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10860 $as_echo_n "checking
for $ac_word...
" >&6; }
10861 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10862 $as_echo_n "(cached
) " >&6
10864 if test -n "$AR_FOR_TARGET"; then
10865 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10868 for as_dir in $PATH
10871 test -z "$as_dir" && as_dir=.
10872 for ac_exec_ext in '' $ac_executable_extensions; do
10873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10874 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10884 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10885 if test -n "$AR_FOR_TARGET"; then
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10887 $as_echo "$AR_FOR_TARGET" >&6; }
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10890 $as_echo "no
" >&6; }
10895 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10896 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10897 set dummy ${ncn_progname}; ac_word=$2
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10899 $as_echo_n "checking
for $ac_word...
" >&6; }
10900 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10901 $as_echo_n "(cached
) " >&6
10903 if test -n "$AR_FOR_TARGET"; then
10904 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10907 for as_dir in $PATH
10910 test -z "$as_dir" && as_dir=.
10911 for ac_exec_ext in '' $ac_executable_extensions; do
10912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10913 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10914 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10923 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10924 if test -n "$AR_FOR_TARGET"; then
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10926 $as_echo "$AR_FOR_TARGET" >&6; }
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10929 $as_echo "no
" >&6; }
10934 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10938 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10940 if test $build = $target ; then
10943 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10946 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10950 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10956 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10957 if test -n "$with_build_time_tools"; then
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10959 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10960 if test -x $with_build_time_tools/as; then
10961 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10962 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10964 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10967 $as_echo "no
" >&6; }
10969 elif test $build != $host && test $have_gcc_for_target = yes; then
10970 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10971 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10972 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10975 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10976 # Extract the first word of "as
", so it can be a program name with args.
10977 set dummy as; ac_word=$2
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10979 $as_echo_n "checking
for $ac_word...
" >&6; }
10980 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10981 $as_echo_n "(cached
) " >&6
10983 case $AS_FOR_TARGET in
10985 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10989 for as_dir in $gcc_cv_tool_dirs
10992 test -z "$as_dir" && as_dir=.
10993 for ac_exec_ext in '' $ac_executable_extensions; do
10994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10995 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10996 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11006 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11007 if test -n "$AS_FOR_TARGET"; then
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11009 $as_echo "$AS_FOR_TARGET" >&6; }
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11012 $as_echo "no
" >&6; }
11017 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11020 if test -n "$AS_FOR_TARGET"; then
11021 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11022 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11023 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11026 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11027 for ncn_progname in as; do
11028 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11029 set dummy ${ncn_progname}; ac_word=$2
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11031 $as_echo_n "checking
for $ac_word...
" >&6; }
11032 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11033 $as_echo_n "(cached
) " >&6
11035 if test -n "$AS_FOR_TARGET"; then
11036 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11039 for as_dir in $PATH
11042 test -z "$as_dir" && as_dir=.
11043 for ac_exec_ext in '' $ac_executable_extensions; do
11044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11045 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11055 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11056 if test -n "$AS_FOR_TARGET"; then
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11058 $as_echo "$AS_FOR_TARGET" >&6; }
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11061 $as_echo "no
" >&6; }
11068 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11069 for ncn_progname in as; do
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11071 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11072 if test -x $with_build_time_tools/${ncn_progname}; then
11073 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11075 $as_echo "yes" >&6; }
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11079 $as_echo "no
" >&6; }
11084 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11085 for ncn_progname in as; do
11086 if test -n "$ncn_target_tool_prefix"; then
11087 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11088 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11090 $as_echo_n "checking
for $ac_word...
" >&6; }
11091 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11092 $as_echo_n "(cached
) " >&6
11094 if test -n "$AS_FOR_TARGET"; then
11095 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11098 for as_dir in $PATH
11101 test -z "$as_dir" && as_dir=.
11102 for ac_exec_ext in '' $ac_executable_extensions; do
11103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11104 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11114 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11115 if test -n "$AS_FOR_TARGET"; then
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11117 $as_echo "$AS_FOR_TARGET" >&6; }
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11120 $as_echo "no
" >&6; }
11125 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11126 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11127 set dummy ${ncn_progname}; ac_word=$2
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11129 $as_echo_n "checking
for $ac_word...
" >&6; }
11130 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11131 $as_echo_n "(cached
) " >&6
11133 if test -n "$AS_FOR_TARGET"; then
11134 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11137 for as_dir in $PATH
11140 test -z "$as_dir" && as_dir=.
11141 for ac_exec_ext in '' $ac_executable_extensions; do
11142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11143 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11153 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11154 if test -n "$AS_FOR_TARGET"; then
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11156 $as_echo "$AS_FOR_TARGET" >&6; }
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11159 $as_echo "no
" >&6; }
11164 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11168 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11170 if test $build = $target ; then
11173 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11176 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11180 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11186 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11187 if test -n "$with_build_time_tools"; then
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11189 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11190 if test -x $with_build_time_tools/dlltool; then
11191 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11192 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11194 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11197 $as_echo "no
" >&6; }
11199 elif test $build != $host && test $have_gcc_for_target = yes; then
11200 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11201 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11202 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11205 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11206 # Extract the first word of "dlltool
", so it can be a program name with args.
11207 set dummy dlltool; ac_word=$2
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11209 $as_echo_n "checking
for $ac_word...
" >&6; }
11210 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11211 $as_echo_n "(cached
) " >&6
11213 case $DLLTOOL_FOR_TARGET in
11215 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11219 for as_dir in $gcc_cv_tool_dirs
11222 test -z "$as_dir" && as_dir=.
11223 for ac_exec_ext in '' $ac_executable_extensions; do
11224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11225 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11236 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11237 if test -n "$DLLTOOL_FOR_TARGET"; then
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11239 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11242 $as_echo "no
" >&6; }
11247 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11250 if test -n "$DLLTOOL_FOR_TARGET"; then
11251 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11252 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11253 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11256 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11257 for ncn_progname in dlltool; do
11258 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11259 set dummy ${ncn_progname}; ac_word=$2
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11261 $as_echo_n "checking
for $ac_word...
" >&6; }
11262 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11263 $as_echo_n "(cached
) " >&6
11265 if test -n "$DLLTOOL_FOR_TARGET"; then
11266 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11269 for as_dir in $PATH
11272 test -z "$as_dir" && as_dir=.
11273 for ac_exec_ext in '' $ac_executable_extensions; do
11274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11275 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11276 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11285 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11286 if test -n "$DLLTOOL_FOR_TARGET"; then
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11288 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11291 $as_echo "no
" >&6; }
11298 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11299 for ncn_progname in dlltool; do
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11301 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11302 if test -x $with_build_time_tools/${ncn_progname}; then
11303 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11305 $as_echo "yes" >&6; }
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11309 $as_echo "no
" >&6; }
11314 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11315 for ncn_progname in dlltool; do
11316 if test -n "$ncn_target_tool_prefix"; then
11317 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11318 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11320 $as_echo_n "checking
for $ac_word...
" >&6; }
11321 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11322 $as_echo_n "(cached
) " >&6
11324 if test -n "$DLLTOOL_FOR_TARGET"; then
11325 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11328 for as_dir in $PATH
11331 test -z "$as_dir" && as_dir=.
11332 for ac_exec_ext in '' $ac_executable_extensions; do
11333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11334 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11335 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11344 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11345 if test -n "$DLLTOOL_FOR_TARGET"; then
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11347 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11350 $as_echo "no
" >&6; }
11355 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11356 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11357 set dummy ${ncn_progname}; ac_word=$2
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11359 $as_echo_n "checking
for $ac_word...
" >&6; }
11360 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11361 $as_echo_n "(cached
) " >&6
11363 if test -n "$DLLTOOL_FOR_TARGET"; then
11364 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11367 for as_dir in $PATH
11370 test -z "$as_dir" && as_dir=.
11371 for ac_exec_ext in '' $ac_executable_extensions; do
11372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11373 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11374 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11383 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11384 if test -n "$DLLTOOL_FOR_TARGET"; then
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11386 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11389 $as_echo "no
" >&6; }
11394 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11398 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11400 if test $build = $target ; then
11401 DLLTOOL_FOR_TARGET="$2"
11403 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11406 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11410 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11416 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11417 if test -n "$with_build_time_tools"; then
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11419 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11420 if test -x $with_build_time_tools/ld; then
11421 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11422 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11424 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11427 $as_echo "no
" >&6; }
11429 elif test $build != $host && test $have_gcc_for_target = yes; then
11430 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11431 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11432 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11435 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11436 # Extract the first word of "ld
", so it can be a program name with args.
11437 set dummy ld; ac_word=$2
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11439 $as_echo_n "checking
for $ac_word...
" >&6; }
11440 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11441 $as_echo_n "(cached
) " >&6
11443 case $LD_FOR_TARGET in
11445 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11449 for as_dir in $gcc_cv_tool_dirs
11452 test -z "$as_dir" && as_dir=.
11453 for ac_exec_ext in '' $ac_executable_extensions; do
11454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11455 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11456 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11466 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11467 if test -n "$LD_FOR_TARGET"; then
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11469 $as_echo "$LD_FOR_TARGET" >&6; }
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11472 $as_echo "no
" >&6; }
11477 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11480 if test -n "$LD_FOR_TARGET"; then
11481 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11482 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11483 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11486 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11487 for ncn_progname in ld; do
11488 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11489 set dummy ${ncn_progname}; ac_word=$2
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11491 $as_echo_n "checking
for $ac_word...
" >&6; }
11492 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11493 $as_echo_n "(cached
) " >&6
11495 if test -n "$LD_FOR_TARGET"; then
11496 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11499 for as_dir in $PATH
11502 test -z "$as_dir" && as_dir=.
11503 for ac_exec_ext in '' $ac_executable_extensions; do
11504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11505 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11506 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11515 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11516 if test -n "$LD_FOR_TARGET"; then
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11518 $as_echo "$LD_FOR_TARGET" >&6; }
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11521 $as_echo "no
" >&6; }
11528 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11529 for ncn_progname in ld; do
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11531 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11532 if test -x $with_build_time_tools/${ncn_progname}; then
11533 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11535 $as_echo "yes" >&6; }
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11539 $as_echo "no
" >&6; }
11544 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11545 for ncn_progname in ld; do
11546 if test -n "$ncn_target_tool_prefix"; then
11547 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11548 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11550 $as_echo_n "checking
for $ac_word...
" >&6; }
11551 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11552 $as_echo_n "(cached
) " >&6
11554 if test -n "$LD_FOR_TARGET"; then
11555 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11558 for as_dir in $PATH
11561 test -z "$as_dir" && as_dir=.
11562 for ac_exec_ext in '' $ac_executable_extensions; do
11563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11564 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11574 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11575 if test -n "$LD_FOR_TARGET"; then
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11577 $as_echo "$LD_FOR_TARGET" >&6; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11580 $as_echo "no
" >&6; }
11585 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11586 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11587 set dummy ${ncn_progname}; ac_word=$2
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11589 $as_echo_n "checking
for $ac_word...
" >&6; }
11590 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11591 $as_echo_n "(cached
) " >&6
11593 if test -n "$LD_FOR_TARGET"; then
11594 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11597 for as_dir in $PATH
11600 test -z "$as_dir" && as_dir=.
11601 for ac_exec_ext in '' $ac_executable_extensions; do
11602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11603 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11613 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11614 if test -n "$LD_FOR_TARGET"; then
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11616 $as_echo "$LD_FOR_TARGET" >&6; }
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11619 $as_echo "no
" >&6; }
11624 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11628 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11630 if test $build = $target ; then
11633 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11636 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11640 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11646 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11647 if test -n "$with_build_time_tools"; then
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11649 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11650 if test -x $with_build_time_tools/lipo; then
11651 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11652 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11654 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11657 $as_echo "no
" >&6; }
11659 elif test $build != $host && test $have_gcc_for_target = yes; then
11660 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11661 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11662 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11665 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11666 # Extract the first word of "lipo
", so it can be a program name with args.
11667 set dummy lipo; ac_word=$2
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11669 $as_echo_n "checking
for $ac_word...
" >&6; }
11670 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11671 $as_echo_n "(cached
) " >&6
11673 case $LIPO_FOR_TARGET in
11675 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11679 for as_dir in $gcc_cv_tool_dirs
11682 test -z "$as_dir" && as_dir=.
11683 for ac_exec_ext in '' $ac_executable_extensions; do
11684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11685 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11696 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11697 if test -n "$LIPO_FOR_TARGET"; then
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11699 $as_echo "$LIPO_FOR_TARGET" >&6; }
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11702 $as_echo "no
" >&6; }
11707 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11710 if test -n "$LIPO_FOR_TARGET"; then
11711 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11712 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11713 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11716 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11717 for ncn_progname in lipo; do
11718 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11719 set dummy ${ncn_progname}; ac_word=$2
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11721 $as_echo_n "checking
for $ac_word...
" >&6; }
11722 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11723 $as_echo_n "(cached
) " >&6
11725 if test -n "$LIPO_FOR_TARGET"; then
11726 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11729 for as_dir in $PATH
11732 test -z "$as_dir" && as_dir=.
11733 for ac_exec_ext in '' $ac_executable_extensions; do
11734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11735 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11745 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11746 if test -n "$LIPO_FOR_TARGET"; then
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11748 $as_echo "$LIPO_FOR_TARGET" >&6; }
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11751 $as_echo "no
" >&6; }
11758 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11759 for ncn_progname in lipo; do
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11761 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11762 if test -x $with_build_time_tools/${ncn_progname}; then
11763 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11765 $as_echo "yes" >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11769 $as_echo "no
" >&6; }
11774 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11775 for ncn_progname in lipo; do
11776 if test -n "$ncn_target_tool_prefix"; then
11777 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11778 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11780 $as_echo_n "checking
for $ac_word...
" >&6; }
11781 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11782 $as_echo_n "(cached
) " >&6
11784 if test -n "$LIPO_FOR_TARGET"; then
11785 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11788 for as_dir in $PATH
11791 test -z "$as_dir" && as_dir=.
11792 for ac_exec_ext in '' $ac_executable_extensions; do
11793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11794 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11804 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11805 if test -n "$LIPO_FOR_TARGET"; then
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11807 $as_echo "$LIPO_FOR_TARGET" >&6; }
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11810 $as_echo "no
" >&6; }
11815 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11816 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11817 set dummy ${ncn_progname}; ac_word=$2
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11819 $as_echo_n "checking
for $ac_word...
" >&6; }
11820 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11821 $as_echo_n "(cached
) " >&6
11823 if test -n "$LIPO_FOR_TARGET"; then
11824 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11827 for as_dir in $PATH
11830 test -z "$as_dir" && as_dir=.
11831 for ac_exec_ext in '' $ac_executable_extensions; do
11832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11833 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11834 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11843 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11844 if test -n "$LIPO_FOR_TARGET"; then
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11846 $as_echo "$LIPO_FOR_TARGET" >&6; }
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11849 $as_echo "no
" >&6; }
11854 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11858 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11860 if test $build = $target ; then
11861 LIPO_FOR_TARGET="$2"
11863 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11866 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11870 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11876 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11877 if test -n "$with_build_time_tools"; then
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11879 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11880 if test -x $with_build_time_tools/nm; then
11881 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11882 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11884 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11887 $as_echo "no
" >&6; }
11889 elif test $build != $host && test $have_gcc_for_target = yes; then
11890 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11891 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11892 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11895 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11896 # Extract the first word of "nm
", so it can be a program name with args.
11897 set dummy nm; ac_word=$2
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11899 $as_echo_n "checking
for $ac_word...
" >&6; }
11900 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11901 $as_echo_n "(cached
) " >&6
11903 case $NM_FOR_TARGET in
11905 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11909 for as_dir in $gcc_cv_tool_dirs
11912 test -z "$as_dir" && as_dir=.
11913 for ac_exec_ext in '' $ac_executable_extensions; do
11914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11915 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11926 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11927 if test -n "$NM_FOR_TARGET"; then
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11929 $as_echo "$NM_FOR_TARGET" >&6; }
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11932 $as_echo "no
" >&6; }
11937 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11940 if test -n "$NM_FOR_TARGET"; then
11941 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11942 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11943 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11946 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11947 for ncn_progname in nm; do
11948 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11949 set dummy ${ncn_progname}; ac_word=$2
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11951 $as_echo_n "checking
for $ac_word...
" >&6; }
11952 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11953 $as_echo_n "(cached
) " >&6
11955 if test -n "$NM_FOR_TARGET"; then
11956 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11959 for as_dir in $PATH
11962 test -z "$as_dir" && as_dir=.
11963 for ac_exec_ext in '' $ac_executable_extensions; do
11964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11965 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11966 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11975 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11976 if test -n "$NM_FOR_TARGET"; then
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11978 $as_echo "$NM_FOR_TARGET" >&6; }
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11981 $as_echo "no
" >&6; }
11988 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11989 for ncn_progname in nm; do
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11991 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11992 if test -x $with_build_time_tools/${ncn_progname}; then
11993 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11995 $as_echo "yes" >&6; }
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11999 $as_echo "no
" >&6; }
12004 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12005 for ncn_progname in nm; do
12006 if test -n "$ncn_target_tool_prefix"; then
12007 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12008 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12010 $as_echo_n "checking
for $ac_word...
" >&6; }
12011 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12012 $as_echo_n "(cached
) " >&6
12014 if test -n "$NM_FOR_TARGET"; then
12015 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12018 for as_dir in $PATH
12021 test -z "$as_dir" && as_dir=.
12022 for ac_exec_ext in '' $ac_executable_extensions; do
12023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12024 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12034 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12035 if test -n "$NM_FOR_TARGET"; then
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12037 $as_echo "$NM_FOR_TARGET" >&6; }
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12040 $as_echo "no
" >&6; }
12045 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12046 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12047 set dummy ${ncn_progname}; ac_word=$2
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12049 $as_echo_n "checking
for $ac_word...
" >&6; }
12050 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12051 $as_echo_n "(cached
) " >&6
12053 if test -n "$NM_FOR_TARGET"; then
12054 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12057 for as_dir in $PATH
12060 test -z "$as_dir" && as_dir=.
12061 for ac_exec_ext in '' $ac_executable_extensions; do
12062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12063 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12073 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12074 if test -n "$NM_FOR_TARGET"; then
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12076 $as_echo "$NM_FOR_TARGET" >&6; }
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12079 $as_echo "no
" >&6; }
12084 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12088 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12090 if test $build = $target ; then
12093 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12096 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12100 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12106 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12107 if test -n "$with_build_time_tools"; then
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12109 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12110 if test -x $with_build_time_tools/objcopy; then
12111 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12112 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12114 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12117 $as_echo "no
" >&6; }
12119 elif test $build != $host && test $have_gcc_for_target = yes; then
12120 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12121 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12122 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12125 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12126 # Extract the first word of "objcopy
", so it can be a program name with args.
12127 set dummy objcopy; ac_word=$2
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12129 $as_echo_n "checking
for $ac_word...
" >&6; }
12130 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
12131 $as_echo_n "(cached
) " >&6
12133 case $OBJCOPY_FOR_TARGET in
12135 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12139 for as_dir in $gcc_cv_tool_dirs
12142 test -z "$as_dir" && as_dir=.
12143 for ac_exec_ext in '' $ac_executable_extensions; do
12144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12145 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12146 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12156 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12157 if test -n "$OBJCOPY_FOR_TARGET"; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12159 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12162 $as_echo "no
" >&6; }
12167 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12170 if test -n "$OBJCOPY_FOR_TARGET"; then
12171 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12172 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12173 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12176 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12177 for ncn_progname in objcopy; do
12178 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12179 set dummy ${ncn_progname}; ac_word=$2
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12181 $as_echo_n "checking
for $ac_word...
" >&6; }
12182 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12183 $as_echo_n "(cached
) " >&6
12185 if test -n "$OBJCOPY_FOR_TARGET"; then
12186 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12189 for as_dir in $PATH
12192 test -z "$as_dir" && as_dir=.
12193 for ac_exec_ext in '' $ac_executable_extensions; do
12194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12195 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12205 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12206 if test -n "$OBJCOPY_FOR_TARGET"; then
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12208 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12211 $as_echo "no
" >&6; }
12218 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12219 for ncn_progname in objcopy; do
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12221 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12222 if test -x $with_build_time_tools/${ncn_progname}; then
12223 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12225 $as_echo "yes" >&6; }
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12229 $as_echo "no
" >&6; }
12234 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12235 for ncn_progname in objcopy; do
12236 if test -n "$ncn_target_tool_prefix"; then
12237 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12238 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12240 $as_echo_n "checking
for $ac_word...
" >&6; }
12241 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12242 $as_echo_n "(cached
) " >&6
12244 if test -n "$OBJCOPY_FOR_TARGET"; then
12245 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12248 for as_dir in $PATH
12251 test -z "$as_dir" && as_dir=.
12252 for ac_exec_ext in '' $ac_executable_extensions; do
12253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12254 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12255 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12264 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12265 if test -n "$OBJCOPY_FOR_TARGET"; then
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12267 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12270 $as_echo "no
" >&6; }
12275 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12276 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12277 set dummy ${ncn_progname}; ac_word=$2
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12279 $as_echo_n "checking
for $ac_word...
" >&6; }
12280 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12281 $as_echo_n "(cached
) " >&6
12283 if test -n "$OBJCOPY_FOR_TARGET"; then
12284 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12287 for as_dir in $PATH
12290 test -z "$as_dir" && as_dir=.
12291 for ac_exec_ext in '' $ac_executable_extensions; do
12292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12293 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12294 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12303 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12304 if test -n "$OBJCOPY_FOR_TARGET"; then
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12306 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12309 $as_echo "no
" >&6; }
12314 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12318 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12320 if test $build = $target ; then
12321 OBJCOPY_FOR_TARGET="$2"
12323 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12326 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12330 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12336 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12337 if test -n "$with_build_time_tools"; then
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12339 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12340 if test -x $with_build_time_tools/objdump; then
12341 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12342 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12344 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12347 $as_echo "no
" >&6; }
12349 elif test $build != $host && test $have_gcc_for_target = yes; then
12350 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12351 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12352 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12355 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12356 # Extract the first word of "objdump
", so it can be a program name with args.
12357 set dummy objdump; ac_word=$2
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12359 $as_echo_n "checking
for $ac_word...
" >&6; }
12360 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12361 $as_echo_n "(cached
) " >&6
12363 case $OBJDUMP_FOR_TARGET in
12365 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12369 for as_dir in $gcc_cv_tool_dirs
12372 test -z "$as_dir" && as_dir=.
12373 for ac_exec_ext in '' $ac_executable_extensions; do
12374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12375 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12376 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12386 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12387 if test -n "$OBJDUMP_FOR_TARGET"; then
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12389 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12392 $as_echo "no
" >&6; }
12397 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12400 if test -n "$OBJDUMP_FOR_TARGET"; then
12401 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12402 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12403 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12406 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12407 for ncn_progname in objdump; do
12408 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12409 set dummy ${ncn_progname}; ac_word=$2
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12411 $as_echo_n "checking
for $ac_word...
" >&6; }
12412 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12413 $as_echo_n "(cached
) " >&6
12415 if test -n "$OBJDUMP_FOR_TARGET"; then
12416 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12419 for as_dir in $PATH
12422 test -z "$as_dir" && as_dir=.
12423 for ac_exec_ext in '' $ac_executable_extensions; do
12424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12425 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12426 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12435 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12436 if test -n "$OBJDUMP_FOR_TARGET"; then
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12438 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12441 $as_echo "no
" >&6; }
12448 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12449 for ncn_progname in objdump; do
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12451 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12452 if test -x $with_build_time_tools/${ncn_progname}; then
12453 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12455 $as_echo "yes" >&6; }
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12459 $as_echo "no
" >&6; }
12464 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12465 for ncn_progname in objdump; do
12466 if test -n "$ncn_target_tool_prefix"; then
12467 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12468 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12470 $as_echo_n "checking
for $ac_word...
" >&6; }
12471 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12472 $as_echo_n "(cached
) " >&6
12474 if test -n "$OBJDUMP_FOR_TARGET"; then
12475 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12478 for as_dir in $PATH
12481 test -z "$as_dir" && as_dir=.
12482 for ac_exec_ext in '' $ac_executable_extensions; do
12483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12484 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12485 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12494 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12495 if test -n "$OBJDUMP_FOR_TARGET"; then
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12497 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12500 $as_echo "no
" >&6; }
12505 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12506 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12507 set dummy ${ncn_progname}; ac_word=$2
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12509 $as_echo_n "checking
for $ac_word...
" >&6; }
12510 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12511 $as_echo_n "(cached
) " >&6
12513 if test -n "$OBJDUMP_FOR_TARGET"; then
12514 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12517 for as_dir in $PATH
12520 test -z "$as_dir" && as_dir=.
12521 for ac_exec_ext in '' $ac_executable_extensions; do
12522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12523 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12533 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12534 if test -n "$OBJDUMP_FOR_TARGET"; then
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12536 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12539 $as_echo "no
" >&6; }
12544 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12548 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12550 if test $build = $target ; then
12551 OBJDUMP_FOR_TARGET="$2"
12553 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12556 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12560 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12566 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12567 if test -n "$with_build_time_tools"; then
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12569 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12570 if test -x $with_build_time_tools/ranlib; then
12571 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12572 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12574 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12577 $as_echo "no
" >&6; }
12579 elif test $build != $host && test $have_gcc_for_target = yes; then
12580 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12581 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12582 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12585 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12586 # Extract the first word of "ranlib
", so it can be a program name with args.
12587 set dummy ranlib; ac_word=$2
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12589 $as_echo_n "checking
for $ac_word...
" >&6; }
12590 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12591 $as_echo_n "(cached
) " >&6
12593 case $RANLIB_FOR_TARGET in
12595 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12599 for as_dir in $gcc_cv_tool_dirs
12602 test -z "$as_dir" && as_dir=.
12603 for ac_exec_ext in '' $ac_executable_extensions; do
12604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12605 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12606 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12616 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12617 if test -n "$RANLIB_FOR_TARGET"; then
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12619 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12622 $as_echo "no
" >&6; }
12627 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12630 if test -n "$RANLIB_FOR_TARGET"; then
12631 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12632 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12633 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12636 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12637 for ncn_progname in ranlib; do
12638 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12639 set dummy ${ncn_progname}; ac_word=$2
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12641 $as_echo_n "checking
for $ac_word...
" >&6; }
12642 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12643 $as_echo_n "(cached
) " >&6
12645 if test -n "$RANLIB_FOR_TARGET"; then
12646 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12649 for as_dir in $PATH
12652 test -z "$as_dir" && as_dir=.
12653 for ac_exec_ext in '' $ac_executable_extensions; do
12654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12655 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12656 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12665 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12666 if test -n "$RANLIB_FOR_TARGET"; then
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12668 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12671 $as_echo "no
" >&6; }
12678 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12679 for ncn_progname in ranlib; do
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12681 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12682 if test -x $with_build_time_tools/${ncn_progname}; then
12683 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12685 $as_echo "yes" >&6; }
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12689 $as_echo "no
" >&6; }
12694 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12695 for ncn_progname in ranlib; do
12696 if test -n "$ncn_target_tool_prefix"; then
12697 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12698 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12700 $as_echo_n "checking
for $ac_word...
" >&6; }
12701 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12702 $as_echo_n "(cached
) " >&6
12704 if test -n "$RANLIB_FOR_TARGET"; then
12705 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12708 for as_dir in $PATH
12711 test -z "$as_dir" && as_dir=.
12712 for ac_exec_ext in '' $ac_executable_extensions; do
12713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12714 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12724 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12725 if test -n "$RANLIB_FOR_TARGET"; then
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12727 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12730 $as_echo "no
" >&6; }
12735 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12736 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12737 set dummy ${ncn_progname}; ac_word=$2
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12739 $as_echo_n "checking
for $ac_word...
" >&6; }
12740 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12741 $as_echo_n "(cached
) " >&6
12743 if test -n "$RANLIB_FOR_TARGET"; then
12744 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12747 for as_dir in $PATH
12750 test -z "$as_dir" && as_dir=.
12751 for ac_exec_ext in '' $ac_executable_extensions; do
12752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12753 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12763 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12764 if test -n "$RANLIB_FOR_TARGET"; then
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12766 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12769 $as_echo "no
" >&6; }
12774 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12778 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12780 if test $build = $target ; then
12781 RANLIB_FOR_TARGET="$2"
12783 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12786 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12790 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12796 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12797 if test -n "$with_build_time_tools"; then
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12799 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12800 if test -x $with_build_time_tools/readelf; then
12801 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12802 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12804 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12807 $as_echo "no
" >&6; }
12809 elif test $build != $host && test $have_gcc_for_target = yes; then
12810 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12811 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12812 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12815 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12816 # Extract the first word of "readelf
", so it can be a program name with args.
12817 set dummy readelf; ac_word=$2
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12819 $as_echo_n "checking
for $ac_word...
" >&6; }
12820 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12821 $as_echo_n "(cached
) " >&6
12823 case $READELF_FOR_TARGET in
12825 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12829 for as_dir in $gcc_cv_tool_dirs
12832 test -z "$as_dir" && as_dir=.
12833 for ac_exec_ext in '' $ac_executable_extensions; do
12834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12835 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12836 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12846 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12847 if test -n "$READELF_FOR_TARGET"; then
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12849 $as_echo "$READELF_FOR_TARGET" >&6; }
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12852 $as_echo "no
" >&6; }
12857 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12860 if test -n "$READELF_FOR_TARGET"; then
12861 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12862 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12863 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12866 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12867 for ncn_progname in readelf; do
12868 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12869 set dummy ${ncn_progname}; ac_word=$2
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12871 $as_echo_n "checking
for $ac_word...
" >&6; }
12872 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12873 $as_echo_n "(cached
) " >&6
12875 if test -n "$READELF_FOR_TARGET"; then
12876 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12879 for as_dir in $PATH
12882 test -z "$as_dir" && as_dir=.
12883 for ac_exec_ext in '' $ac_executable_extensions; do
12884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12885 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12886 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12895 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12896 if test -n "$READELF_FOR_TARGET"; then
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12898 $as_echo "$READELF_FOR_TARGET" >&6; }
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12901 $as_echo "no
" >&6; }
12908 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12909 for ncn_progname in readelf; do
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12911 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12912 if test -x $with_build_time_tools/${ncn_progname}; then
12913 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12915 $as_echo "yes" >&6; }
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12919 $as_echo "no
" >&6; }
12924 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12925 for ncn_progname in readelf; do
12926 if test -n "$ncn_target_tool_prefix"; then
12927 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12928 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12930 $as_echo_n "checking
for $ac_word...
" >&6; }
12931 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12932 $as_echo_n "(cached
) " >&6
12934 if test -n "$READELF_FOR_TARGET"; then
12935 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12938 for as_dir in $PATH
12941 test -z "$as_dir" && as_dir=.
12942 for ac_exec_ext in '' $ac_executable_extensions; do
12943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12944 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12954 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12955 if test -n "$READELF_FOR_TARGET"; then
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12957 $as_echo "$READELF_FOR_TARGET" >&6; }
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12960 $as_echo "no
" >&6; }
12965 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12966 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12967 set dummy ${ncn_progname}; ac_word=$2
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12969 $as_echo_n "checking
for $ac_word...
" >&6; }
12970 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12971 $as_echo_n "(cached
) " >&6
12973 if test -n "$READELF_FOR_TARGET"; then
12974 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12977 for as_dir in $PATH
12980 test -z "$as_dir" && as_dir=.
12981 for ac_exec_ext in '' $ac_executable_extensions; do
12982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12983 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12984 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12993 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12994 if test -n "$READELF_FOR_TARGET"; then
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12996 $as_echo "$READELF_FOR_TARGET" >&6; }
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12999 $as_echo "no
" >&6; }
13004 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13008 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13010 if test $build = $target ; then
13011 READELF_FOR_TARGET="$2"
13013 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13016 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13020 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13026 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13027 if test -n "$with_build_time_tools"; then
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13029 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13030 if test -x $with_build_time_tools/strip; then
13031 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13032 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13034 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13037 $as_echo "no
" >&6; }
13039 elif test $build != $host && test $have_gcc_for_target = yes; then
13040 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13041 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13042 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13045 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13046 # Extract the first word of "strip
", so it can be a program name with args.
13047 set dummy strip; ac_word=$2
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13049 $as_echo_n "checking
for $ac_word...
" >&6; }
13050 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13051 $as_echo_n "(cached
) " >&6
13053 case $STRIP_FOR_TARGET in
13055 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13059 for as_dir in $gcc_cv_tool_dirs
13062 test -z "$as_dir" && as_dir=.
13063 for ac_exec_ext in '' $ac_executable_extensions; do
13064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13065 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13066 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13076 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13077 if test -n "$STRIP_FOR_TARGET"; then
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13079 $as_echo "$STRIP_FOR_TARGET" >&6; }
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13082 $as_echo "no
" >&6; }
13087 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13090 if test -n "$STRIP_FOR_TARGET"; then
13091 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13092 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13093 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13096 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13097 for ncn_progname in strip; do
13098 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13099 set dummy ${ncn_progname}; ac_word=$2
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13101 $as_echo_n "checking
for $ac_word...
" >&6; }
13102 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13103 $as_echo_n "(cached
) " >&6
13105 if test -n "$STRIP_FOR_TARGET"; then
13106 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13109 for as_dir in $PATH
13112 test -z "$as_dir" && as_dir=.
13113 for ac_exec_ext in '' $ac_executable_extensions; do
13114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13115 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13125 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13126 if test -n "$STRIP_FOR_TARGET"; then
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13128 $as_echo "$STRIP_FOR_TARGET" >&6; }
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13131 $as_echo "no
" >&6; }
13138 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13139 for ncn_progname in strip; do
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13141 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13142 if test -x $with_build_time_tools/${ncn_progname}; then
13143 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13145 $as_echo "yes" >&6; }
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13149 $as_echo "no
" >&6; }
13154 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13155 for ncn_progname in strip; do
13156 if test -n "$ncn_target_tool_prefix"; then
13157 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13158 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13160 $as_echo_n "checking
for $ac_word...
" >&6; }
13161 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13162 $as_echo_n "(cached
) " >&6
13164 if test -n "$STRIP_FOR_TARGET"; then
13165 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13168 for as_dir in $PATH
13171 test -z "$as_dir" && as_dir=.
13172 for ac_exec_ext in '' $ac_executable_extensions; do
13173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13174 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13175 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13184 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13185 if test -n "$STRIP_FOR_TARGET"; then
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13187 $as_echo "$STRIP_FOR_TARGET" >&6; }
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13190 $as_echo "no
" >&6; }
13195 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13196 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13197 set dummy ${ncn_progname}; ac_word=$2
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13199 $as_echo_n "checking
for $ac_word...
" >&6; }
13200 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13201 $as_echo_n "(cached
) " >&6
13203 if test -n "$STRIP_FOR_TARGET"; then
13204 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13207 for as_dir in $PATH
13210 test -z "$as_dir" && as_dir=.
13211 for ac_exec_ext in '' $ac_executable_extensions; do
13212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13213 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13223 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13224 if test -n "$STRIP_FOR_TARGET"; then
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13226 $as_echo "$STRIP_FOR_TARGET" >&6; }
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13229 $as_echo "no
" >&6; }
13234 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13238 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13240 if test $build = $target ; then
13241 STRIP_FOR_TARGET="$2"
13243 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13246 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13250 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13256 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13257 if test -n "$with_build_time_tools"; then
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13259 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13260 if test -x $with_build_time_tools/windres; then
13261 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13262 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13264 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13267 $as_echo "no
" >&6; }
13269 elif test $build != $host && test $have_gcc_for_target = yes; then
13270 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13271 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13272 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13275 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13276 # Extract the first word of "windres
", so it can be a program name with args.
13277 set dummy windres; ac_word=$2
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13279 $as_echo_n "checking
for $ac_word...
" >&6; }
13280 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13281 $as_echo_n "(cached
) " >&6
13283 case $WINDRES_FOR_TARGET in
13285 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13289 for as_dir in $gcc_cv_tool_dirs
13292 test -z "$as_dir" && as_dir=.
13293 for ac_exec_ext in '' $ac_executable_extensions; do
13294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13295 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13296 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13306 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13307 if test -n "$WINDRES_FOR_TARGET"; then
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13309 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13312 $as_echo "no
" >&6; }
13317 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13320 if test -n "$WINDRES_FOR_TARGET"; then
13321 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13322 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13323 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13326 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13327 for ncn_progname in windres; do
13328 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13329 set dummy ${ncn_progname}; ac_word=$2
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13331 $as_echo_n "checking
for $ac_word...
" >&6; }
13332 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13333 $as_echo_n "(cached
) " >&6
13335 if test -n "$WINDRES_FOR_TARGET"; then
13336 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13339 for as_dir in $PATH
13342 test -z "$as_dir" && as_dir=.
13343 for ac_exec_ext in '' $ac_executable_extensions; do
13344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13345 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13346 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13355 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13356 if test -n "$WINDRES_FOR_TARGET"; then
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13358 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13361 $as_echo "no
" >&6; }
13368 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13369 for ncn_progname in windres; do
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13371 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13372 if test -x $with_build_time_tools/${ncn_progname}; then
13373 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13375 $as_echo "yes" >&6; }
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13379 $as_echo "no
" >&6; }
13384 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13385 for ncn_progname in windres; do
13386 if test -n "$ncn_target_tool_prefix"; then
13387 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13388 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13390 $as_echo_n "checking
for $ac_word...
" >&6; }
13391 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13392 $as_echo_n "(cached
) " >&6
13394 if test -n "$WINDRES_FOR_TARGET"; then
13395 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13398 for as_dir in $PATH
13401 test -z "$as_dir" && as_dir=.
13402 for ac_exec_ext in '' $ac_executable_extensions; do
13403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13404 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13405 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13414 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13415 if test -n "$WINDRES_FOR_TARGET"; then
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13417 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13420 $as_echo "no
" >&6; }
13425 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13426 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13427 set dummy ${ncn_progname}; ac_word=$2
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13429 $as_echo_n "checking
for $ac_word...
" >&6; }
13430 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13431 $as_echo_n "(cached
) " >&6
13433 if test -n "$WINDRES_FOR_TARGET"; then
13434 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13437 for as_dir in $PATH
13440 test -z "$as_dir" && as_dir=.
13441 for ac_exec_ext in '' $ac_executable_extensions; do
13442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13443 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13444 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13453 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13454 if test -n "$WINDRES_FOR_TARGET"; then
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13456 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13459 $as_echo "no
" >&6; }
13464 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13468 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13470 if test $build = $target ; then
13471 WINDRES_FOR_TARGET="$2"
13473 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13476 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13480 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13486 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13487 if test -n "$with_build_time_tools"; then
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13489 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13490 if test -x $with_build_time_tools/windmc; then
13491 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13492 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13494 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13497 $as_echo "no
" >&6; }
13499 elif test $build != $host && test $have_gcc_for_target = yes; then
13500 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13501 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13502 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13505 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13506 # Extract the first word of "windmc
", so it can be a program name with args.
13507 set dummy windmc; ac_word=$2
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13509 $as_echo_n "checking
for $ac_word...
" >&6; }
13510 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13511 $as_echo_n "(cached
) " >&6
13513 case $WINDMC_FOR_TARGET in
13515 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13519 for as_dir in $gcc_cv_tool_dirs
13522 test -z "$as_dir" && as_dir=.
13523 for ac_exec_ext in '' $ac_executable_extensions; do
13524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13525 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13526 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13536 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13537 if test -n "$WINDMC_FOR_TARGET"; then
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13539 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13542 $as_echo "no
" >&6; }
13547 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13550 if test -n "$WINDMC_FOR_TARGET"; then
13551 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13552 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13553 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13556 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13557 for ncn_progname in windmc; do
13558 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13559 set dummy ${ncn_progname}; ac_word=$2
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13561 $as_echo_n "checking
for $ac_word...
" >&6; }
13562 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13563 $as_echo_n "(cached
) " >&6
13565 if test -n "$WINDMC_FOR_TARGET"; then
13566 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13569 for as_dir in $PATH
13572 test -z "$as_dir" && as_dir=.
13573 for ac_exec_ext in '' $ac_executable_extensions; do
13574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13575 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13576 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13585 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13586 if test -n "$WINDMC_FOR_TARGET"; then
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13588 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13591 $as_echo "no
" >&6; }
13598 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13599 for ncn_progname in windmc; do
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13601 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13602 if test -x $with_build_time_tools/${ncn_progname}; then
13603 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13605 $as_echo "yes" >&6; }
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13609 $as_echo "no
" >&6; }
13614 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13615 for ncn_progname in windmc; do
13616 if test -n "$ncn_target_tool_prefix"; then
13617 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13618 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13620 $as_echo_n "checking
for $ac_word...
" >&6; }
13621 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13622 $as_echo_n "(cached
) " >&6
13624 if test -n "$WINDMC_FOR_TARGET"; then
13625 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13628 for as_dir in $PATH
13631 test -z "$as_dir" && as_dir=.
13632 for ac_exec_ext in '' $ac_executable_extensions; do
13633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13634 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13635 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13644 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13645 if test -n "$WINDMC_FOR_TARGET"; then
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13647 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13650 $as_echo "no
" >&6; }
13655 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13656 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13657 set dummy ${ncn_progname}; ac_word=$2
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13659 $as_echo_n "checking
for $ac_word...
" >&6; }
13660 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13661 $as_echo_n "(cached
) " >&6
13663 if test -n "$WINDMC_FOR_TARGET"; then
13664 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13667 for as_dir in $PATH
13670 test -z "$as_dir" && as_dir=.
13671 for ac_exec_ext in '' $ac_executable_extensions; do
13672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13673 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13683 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13684 if test -n "$WINDMC_FOR_TARGET"; then
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13686 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13689 $as_echo "no
" >&6; }
13694 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13698 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13700 if test $build = $target ; then
13701 WINDMC_FOR_TARGET="$2"
13703 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13706 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13710 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13714 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13717 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13718 if test "x
${build}" != "x
${host}" ; then
13719 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13720 # We already found the complete path
13721 ac_dir=`dirname $AR_FOR_TARGET`
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13723 $as_echo "pre-installed
in $ac_dir" >&6; }
13725 # Canadian cross, just use what we found
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13727 $as_echo "pre-installed
" >&6; }
13731 case " ${configdirs} " in
13736 if test $ok = yes; then
13737 # An in-tree tool is available and we can use it
13738 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13740 $as_echo "just compiled
" >&6; }
13741 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13742 # We already found the complete path
13743 ac_dir=`dirname $AR_FOR_TARGET`
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13745 $as_echo "pre-installed
in $ac_dir" >&6; }
13746 elif test "x
$target" = "x
$host"; then
13747 # We can use an host tool
13748 AR_FOR_TARGET='$(AR)'
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13750 $as_echo "host tool
" >&6; }
13752 # We need a cross tool
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13754 $as_echo "pre-installed
" >&6; }
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13759 $as_echo_n "checking where to
find the target as...
" >&6; }
13760 if test "x
${build}" != "x
${host}" ; then
13761 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13762 # We already found the complete path
13763 ac_dir=`dirname $AS_FOR_TARGET`
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13765 $as_echo "pre-installed
in $ac_dir" >&6; }
13767 # Canadian cross, just use what we found
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13769 $as_echo "pre-installed
" >&6; }
13773 case " ${configdirs} " in
13778 if test $ok = yes; then
13779 # An in-tree tool is available and we can use it
13780 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13782 $as_echo "just compiled
" >&6; }
13783 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13784 # We already found the complete path
13785 ac_dir=`dirname $AS_FOR_TARGET`
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13787 $as_echo "pre-installed
in $ac_dir" >&6; }
13788 elif test "x
$target" = "x
$host"; then
13789 # We can use an host tool
13790 AS_FOR_TARGET='$(AS)'
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13792 $as_echo "host tool
" >&6; }
13794 # We need a cross tool
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13796 $as_echo "pre-installed
" >&6; }
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13801 $as_echo_n "checking where to
find the target cc...
" >&6; }
13802 if test "x
${build}" != "x
${host}" ; then
13803 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13804 # We already found the complete path
13805 ac_dir=`dirname $CC_FOR_TARGET`
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13807 $as_echo "pre-installed
in $ac_dir" >&6; }
13809 # Canadian cross, just use what we found
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13811 $as_echo "pre-installed
" >&6; }
13815 case " ${configdirs} " in
13820 if test $ok = yes; then
13821 # An in-tree tool is available and we can use it
13822 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13824 $as_echo "just compiled
" >&6; }
13825 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13826 # We already found the complete path
13827 ac_dir=`dirname $CC_FOR_TARGET`
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13829 $as_echo "pre-installed
in $ac_dir" >&6; }
13830 elif test "x
$target" = "x
$host"; then
13831 # We can use an host tool
13832 CC_FOR_TARGET='$(CC)'
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13834 $as_echo "host tool
" >&6; }
13836 # We need a cross tool
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13838 $as_echo "pre-installed
" >&6; }
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13843 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13844 if test "x
${build}" != "x
${host}" ; then
13845 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13846 # We already found the complete path
13847 ac_dir=`dirname $CXX_FOR_TARGET`
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13849 $as_echo "pre-installed
in $ac_dir" >&6; }
13851 # Canadian cross, just use what we found
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13853 $as_echo "pre-installed
" >&6; }
13857 case " ${configdirs} " in
13861 case ,${enable_languages}, in
13865 if test $ok = yes; then
13866 # An in-tree tool is available and we can use it
13867 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'
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13869 $as_echo "just compiled
" >&6; }
13870 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13871 # We already found the complete path
13872 ac_dir=`dirname $CXX_FOR_TARGET`
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13874 $as_echo "pre-installed
in $ac_dir" >&6; }
13875 elif test "x
$target" = "x
$host"; then
13876 # We can use an host tool
13877 CXX_FOR_TARGET='$(CXX)'
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13879 $as_echo "host tool
" >&6; }
13881 # We need a cross tool
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13883 $as_echo "pre-installed
" >&6; }
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13888 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13889 if test "x
${build}" != "x
${host}" ; then
13890 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13891 # We already found the complete path
13892 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13894 $as_echo "pre-installed
in $ac_dir" >&6; }
13896 # Canadian cross, just use what we found
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13898 $as_echo "pre-installed
" >&6; }
13902 case " ${configdirs} " in
13906 case ,${enable_languages}, in
13910 if test $ok = yes; then
13911 # An in-tree tool is available and we can use it
13912 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'
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13914 $as_echo "just compiled
" >&6; }
13915 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13916 # We already found the complete path
13917 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13919 $as_echo "pre-installed
in $ac_dir" >&6; }
13920 elif test "x
$target" = "x
$host"; then
13921 # We can use an host tool
13922 RAW_CXX_FOR_TARGET='$(CXX)'
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13924 $as_echo "host tool
" >&6; }
13926 # We need a cross tool
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13928 $as_echo "pre-installed
" >&6; }
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13933 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13934 if test "x
${build}" != "x
${host}" ; then
13935 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13936 # We already found the complete path
13937 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13939 $as_echo "pre-installed
in $ac_dir" >&6; }
13941 # Canadian cross, just use what we found
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13943 $as_echo "pre-installed
" >&6; }
13947 case " ${configdirs} " in
13952 if test $ok = yes; then
13953 # An in-tree tool is available and we can use it
13954 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13956 $as_echo "just compiled
" >&6; }
13957 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13958 # We already found the complete path
13959 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13961 $as_echo "pre-installed
in $ac_dir" >&6; }
13962 elif test "x
$target" = "x
$host"; then
13963 # We can use an host tool
13964 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13966 $as_echo "host tool
" >&6; }
13968 # We need a cross tool
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13970 $as_echo "pre-installed
" >&6; }
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13975 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13976 if test "x
${build}" != "x
${host}" ; then
13977 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13978 # We already found the complete path
13979 ac_dir=`dirname $GCC_FOR_TARGET`
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13981 $as_echo "pre-installed
in $ac_dir" >&6; }
13983 # Canadian cross, just use what we found
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13985 $as_echo "pre-installed
" >&6; }
13989 case " ${configdirs} " in
13994 if test $ok = yes; then
13995 # An in-tree tool is available and we can use it
13996 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13998 $as_echo "just compiled
" >&6; }
13999 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14000 # We already found the complete path
14001 ac_dir=`dirname $GCC_FOR_TARGET`
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14003 $as_echo "pre-installed
in $ac_dir" >&6; }
14004 elif test "x
$target" = "x
$host"; then
14005 # We can use an host tool
14006 GCC_FOR_TARGET='$()'
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14008 $as_echo "host tool
" >&6; }
14010 # We need a cross tool
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14012 $as_echo "pre-installed
" >&6; }
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14017 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14018 if test "x
${build}" != "x
${host}" ; then
14019 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14020 # We already found the complete path
14021 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14023 $as_echo "pre-installed
in $ac_dir" >&6; }
14025 # Canadian cross, just use what we found
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14027 $as_echo "pre-installed
" >&6; }
14031 case " ${configdirs} " in
14035 case ,${enable_languages}, in
14039 if test $ok = yes; then
14040 # An in-tree tool is available and we can use it
14041 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14043 $as_echo "just compiled
" >&6; }
14044 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14045 # We already found the complete path
14046 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14048 $as_echo "pre-installed
in $ac_dir" >&6; }
14049 elif test "x
$target" = "x
$host"; then
14050 # We can use an host tool
14051 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14053 $as_echo "host tool
" >&6; }
14055 # We need a cross tool
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14057 $as_echo "pre-installed
" >&6; }
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14062 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14063 if test "x
${build}" != "x
${host}" ; then
14064 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14065 # We already found the complete path
14066 ac_dir=`dirname $GOC_FOR_TARGET`
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14068 $as_echo "pre-installed
in $ac_dir" >&6; }
14070 # Canadian cross, just use what we found
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14072 $as_echo "pre-installed
" >&6; }
14076 case " ${configdirs} " in
14080 case ,${enable_languages}, in
14084 if test $ok = yes; then
14085 # An in-tree tool is available and we can use it
14086 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14088 $as_echo "just compiled
" >&6; }
14089 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14090 # We already found the complete path
14091 ac_dir=`dirname $GOC_FOR_TARGET`
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14093 $as_echo "pre-installed
in $ac_dir" >&6; }
14094 elif test "x
$target" = "x
$host"; then
14095 # We can use an host tool
14096 GOC_FOR_TARGET='$(GOC)'
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14098 $as_echo "host tool
" >&6; }
14100 # We need a cross tool
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14102 $as_echo "pre-installed
" >&6; }
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14107 $as_echo_n "checking where to
find the target ld...
" >&6; }
14108 if test "x
${build}" != "x
${host}" ; then
14109 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14110 # We already found the complete path
14111 ac_dir=`dirname $LD_FOR_TARGET`
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14113 $as_echo "pre-installed
in $ac_dir" >&6; }
14115 # Canadian cross, just use what we found
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14117 $as_echo "pre-installed
" >&6; }
14121 case " ${configdirs} " in
14126 if test $ok = yes; then
14127 # An in-tree tool is available and we can use it
14128 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14130 $as_echo "just compiled
" >&6; }
14131 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14132 # We already found the complete path
14133 ac_dir=`dirname $LD_FOR_TARGET`
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14135 $as_echo "pre-installed
in $ac_dir" >&6; }
14136 elif test "x
$target" = "x
$host"; then
14137 # We can use an host tool
14138 LD_FOR_TARGET='$(LD)'
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14140 $as_echo "host tool
" >&6; }
14142 # We need a cross tool
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14144 $as_echo "pre-installed
" >&6; }
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14149 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14150 if test "x
${build}" != "x
${host}" ; then
14151 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14152 # We already found the complete path
14153 ac_dir=`dirname $LIPO_FOR_TARGET`
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14155 $as_echo "pre-installed
in $ac_dir" >&6; }
14157 # Canadian cross, just use what we found
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14159 $as_echo "pre-installed
" >&6; }
14162 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14163 # We already found the complete path
14164 ac_dir=`dirname $LIPO_FOR_TARGET`
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14166 $as_echo "pre-installed
in $ac_dir" >&6; }
14167 elif test "x
$target" = "x
$host"; then
14168 # We can use an host tool
14169 LIPO_FOR_TARGET='$(LIPO)'
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14171 $as_echo "host tool
" >&6; }
14173 # We need a cross tool
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14175 $as_echo "pre-installed
" >&6; }
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14180 $as_echo_n "checking where to
find the target nm...
" >&6; }
14181 if test "x
${build}" != "x
${host}" ; then
14182 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14183 # We already found the complete path
14184 ac_dir=`dirname $NM_FOR_TARGET`
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14186 $as_echo "pre-installed
in $ac_dir" >&6; }
14188 # Canadian cross, just use what we found
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14190 $as_echo "pre-installed
" >&6; }
14194 case " ${configdirs} " in
14199 if test $ok = yes; then
14200 # An in-tree tool is available and we can use it
14201 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14203 $as_echo "just compiled
" >&6; }
14204 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14205 # We already found the complete path
14206 ac_dir=`dirname $NM_FOR_TARGET`
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14208 $as_echo "pre-installed
in $ac_dir" >&6; }
14209 elif test "x
$target" = "x
$host"; then
14210 # We can use an host tool
14211 NM_FOR_TARGET='$(NM)'
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14213 $as_echo "host tool
" >&6; }
14215 # We need a cross tool
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14217 $as_echo "pre-installed
" >&6; }
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14222 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14223 if test "x
${build}" != "x
${host}" ; then
14224 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14225 # We already found the complete path
14226 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14228 $as_echo "pre-installed
in $ac_dir" >&6; }
14230 # Canadian cross, just use what we found
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14232 $as_echo "pre-installed
" >&6; }
14236 case " ${configdirs} " in
14241 if test $ok = yes; then
14242 # An in-tree tool is available and we can use it
14243 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14245 $as_echo "just compiled
" >&6; }
14246 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14247 # We already found the complete path
14248 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14250 $as_echo "pre-installed
in $ac_dir" >&6; }
14251 elif test "x
$target" = "x
$host"; then
14252 # We can use an host tool
14253 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14255 $as_echo "host tool
" >&6; }
14257 # We need a cross tool
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14259 $as_echo "pre-installed
" >&6; }
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14264 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14265 if test "x
${build}" != "x
${host}" ; then
14266 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14267 # We already found the complete path
14268 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14270 $as_echo "pre-installed
in $ac_dir" >&6; }
14272 # Canadian cross, just use what we found
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14274 $as_echo "pre-installed
" >&6; }
14278 case " ${configdirs} " in
14283 if test $ok = yes; then
14284 # An in-tree tool is available and we can use it
14285 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14287 $as_echo "just compiled
" >&6; }
14288 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14289 # We already found the complete path
14290 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14292 $as_echo "pre-installed
in $ac_dir" >&6; }
14293 elif test "x
$target" = "x
$host"; then
14294 # We can use an host tool
14295 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14297 $as_echo "host tool
" >&6; }
14299 # We need a cross tool
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14301 $as_echo "pre-installed
" >&6; }
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14306 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14307 if test "x
${build}" != "x
${host}" ; then
14308 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14309 # We already found the complete path
14310 ac_dir=`dirname $RANLIB_FOR_TARGET`
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14312 $as_echo "pre-installed
in $ac_dir" >&6; }
14314 # Canadian cross, just use what we found
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14316 $as_echo "pre-installed
" >&6; }
14320 case " ${configdirs} " in
14325 if test $ok = yes; then
14326 # An in-tree tool is available and we can use it
14327 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14329 $as_echo "just compiled
" >&6; }
14330 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14331 # We already found the complete path
14332 ac_dir=`dirname $RANLIB_FOR_TARGET`
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14334 $as_echo "pre-installed
in $ac_dir" >&6; }
14335 elif test "x
$target" = "x
$host"; then
14336 # We can use an host tool
14337 RANLIB_FOR_TARGET='$(RANLIB)'
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14339 $as_echo "host tool
" >&6; }
14341 # We need a cross tool
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14343 $as_echo "pre-installed
" >&6; }
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14348 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14349 if test "x
${build}" != "x
${host}" ; then
14350 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14351 # We already found the complete path
14352 ac_dir=`dirname $READELF_FOR_TARGET`
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14354 $as_echo "pre-installed
in $ac_dir" >&6; }
14356 # Canadian cross, just use what we found
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14358 $as_echo "pre-installed
" >&6; }
14362 case " ${configdirs} " in
14367 if test $ok = yes; then
14368 # An in-tree tool is available and we can use it
14369 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14371 $as_echo "just compiled
" >&6; }
14372 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14373 # We already found the complete path
14374 ac_dir=`dirname $READELF_FOR_TARGET`
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14376 $as_echo "pre-installed
in $ac_dir" >&6; }
14377 elif test "x
$target" = "x
$host"; then
14378 # We can use an host tool
14379 READELF_FOR_TARGET='$(READELF)'
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14381 $as_echo "host tool
" >&6; }
14383 # We need a cross tool
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14385 $as_echo "pre-installed
" >&6; }
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14390 $as_echo_n "checking where to
find the target strip...
" >&6; }
14391 if test "x
${build}" != "x
${host}" ; then
14392 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14393 # We already found the complete path
14394 ac_dir=`dirname $STRIP_FOR_TARGET`
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14396 $as_echo "pre-installed
in $ac_dir" >&6; }
14398 # Canadian cross, just use what we found
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14400 $as_echo "pre-installed
" >&6; }
14404 case " ${configdirs} " in
14409 if test $ok = yes; then
14410 # An in-tree tool is available and we can use it
14411 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14413 $as_echo "just compiled
" >&6; }
14414 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14415 # We already found the complete path
14416 ac_dir=`dirname $STRIP_FOR_TARGET`
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14418 $as_echo "pre-installed
in $ac_dir" >&6; }
14419 elif test "x
$target" = "x
$host"; then
14420 # We can use an host tool
14421 STRIP_FOR_TARGET='$(STRIP)'
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14423 $as_echo "host tool
" >&6; }
14425 # We need a cross tool
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14427 $as_echo "pre-installed
" >&6; }
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14432 $as_echo_n "checking where to
find the target windres...
" >&6; }
14433 if test "x
${build}" != "x
${host}" ; then
14434 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14435 # We already found the complete path
14436 ac_dir=`dirname $WINDRES_FOR_TARGET`
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14438 $as_echo "pre-installed
in $ac_dir" >&6; }
14440 # Canadian cross, just use what we found
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14442 $as_echo "pre-installed
" >&6; }
14446 case " ${configdirs} " in
14451 if test $ok = yes; then
14452 # An in-tree tool is available and we can use it
14453 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14455 $as_echo "just compiled
" >&6; }
14456 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14457 # We already found the complete path
14458 ac_dir=`dirname $WINDRES_FOR_TARGET`
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14460 $as_echo "pre-installed
in $ac_dir" >&6; }
14461 elif test "x
$target" = "x
$host"; then
14462 # We can use an host tool
14463 WINDRES_FOR_TARGET='$(WINDRES)'
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14465 $as_echo "host tool
" >&6; }
14467 # We need a cross tool
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14469 $as_echo "pre-installed
" >&6; }
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14474 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14475 if test "x
${build}" != "x
${host}" ; then
14476 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14477 # We already found the complete path
14478 ac_dir=`dirname $WINDMC_FOR_TARGET`
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14480 $as_echo "pre-installed
in $ac_dir" >&6; }
14482 # Canadian cross, just use what we found
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14484 $as_echo "pre-installed
" >&6; }
14488 case " ${configdirs} " in
14493 if test $ok = yes; then
14494 # An in-tree tool is available and we can use it
14495 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14497 $as_echo "just compiled
" >&6; }
14498 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14499 # We already found the complete path
14500 ac_dir=`dirname $WINDMC_FOR_TARGET`
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14502 $as_echo "pre-installed
in $ac_dir" >&6; }
14503 elif test "x
$target" = "x
$host"; then
14504 # We can use an host tool
14505 WINDMC_FOR_TARGET='$(WINDMC)'
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14507 $as_echo "host tool
" >&6; }
14509 # We need a cross tool
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14511 $as_echo "pre-installed
" >&6; }
14519 # Certain tools may need extra flags.
14520 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14521 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14522 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14524 # When building target libraries, except in a Canadian cross, we use
14525 # the same toolchain as the compiler we just built.
14526 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14527 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14528 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14529 if test $host = $build; then
14530 case " $configdirs " in
14532 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14533 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14534 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14544 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14545 # Check whether --enable-maintainer-mode was given.
14546 if test "${enable_maintainer_mode+set}" = set; then :
14547 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14549 USE_MAINTAINER_MODE=no
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14553 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14556 if test "$USE_MAINTAINER_MODE" = yes; then
14557 MAINTAINER_MODE_TRUE=
14558 MAINTAINER_MODE_FALSE='#'
14560 MAINTAINER_MODE_TRUE='#'
14561 MAINTAINER_MODE_FALSE=
14563 MAINT=$MAINTAINER_MODE_TRUE
14565 # ---------------------
14566 # GCC bootstrap support
14567 # ---------------------
14569 # Stage specific cflags for build.
14574 yes) stage1_cflags="-g -Wa,-J" ;;
14575 *) stage1_cflags="-g -J" ;;
14581 # Enable --enable-checking in stage1 of the compiler.
14582 # Check whether --enable-stage1-checking was given.
14583 if test "${enable_stage1_checking+set}" = set; then :
14584 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14586 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14587 # For --disable-checking or implicit --enable-checking=release, avoid
14588 # setting --enable-checking=gc in the default stage1 checking for LTO
14589 # bootstraps. See PR62077.
14590 case $BUILD_CONFIG in
14592 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
14594 stage1_checking=--enable-checking=yes,types;;
14596 if test "x
$enable_checking" = x && \
14597 test -d ${srcdir}/gcc && \
14598 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14599 stage1_checking=--enable-checking=yes,types,extra
14602 stage1_checking=--enable-checking=$enable_checking,types
14608 # Enable -Werror in bootstrap stage2 and later.
14609 # Check whether --enable-werror was given.
14610 if test "${enable_werror+set}" = set; then :
14611 enableval=$enable_werror;
14613 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14620 case ${enable_werror} in
14621 yes) stage2_werror_flag="--enable-werror-always" ;;
14622 *) stage2_werror_flag="" ;;
14626 # Enable --enable-host-shared.
14627 # Check whether --enable-host-shared was given.
14628 if test "${enable_host_shared+set}" = set; then :
14629 enableval=$enable_host_shared; host_shared=$enableval
14636 # PR jit/64780: Require the user to explicitly specify
14637 # --enable-host-shared if the jit is enabled, hinting
14638 # that they might want to do a separate configure/build of
14639 # the jit, to avoid users from slowing down the rest of the
14640 # compiler by enabling the jit.
14641 if test ${host_shared} = "no
" ; then
14642 case "${enable_languages}" in
14645 Enabling language
\"jit
\" requires
--enable-host-shared.
14647 --enable-host-shared typically slows the rest of the compiler down by
14648 a few
%, so you must explicitly
enable it.
14650 If you want to build both the jit and the regular compiler
, it is often
14651 best to
do this via two separate configure
/builds
, in separate
14652 directories
, to avoid imposing the performance cost of
14653 --enable-host-shared on the regular compiler.
" "$LINENO" 5
14660 # Specify what files to not compare during bootstrap.
14662 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14664 hppa*64*-*-hpux*) ;;
14665 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14666 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14670 ac_config_files="$ac_config_files Makefile
"
14672 cat >confcache <<\_ACEOF
14673 # This file is a shell script that caches the results of configure
14674 # tests run on this system so they can be shared between configure
14675 # scripts and configure runs, see configure's option --config-cache.
14676 # It is not useful on other systems. If it contains results you don't
14677 # want to keep, you may remove or edit it.
14679 # config.status only pays attention to the cache file if you give it
14680 # the --recheck option to rerun configure.
14682 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14683 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14684 # following values.
14688 # The following way of writing the cache mishandles newlines in values,
14689 # but we know of no workaround that is simple, portable, and efficient.
14690 # So, we kill variables containing newlines.
14691 # Ultrix sh set writes to stderr and can't be redirected directly,
14692 # and sets the high bit in the cache file unless we assign to the vars.
14694 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14695 eval ac_val=\$$ac_var
14699 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14700 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14703 _ | IFS | as_nl) ;; #(
14704 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14705 *) { eval $ac_var=; unset $ac_var;} ;;
14711 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14712 *${as_nl}ac_space=\ *)
14713 # `set' does not quote correctly, so add quotes: double-quote
14714 # substitution turns \\\\ into \\, and sed turns \\ into \.
14717 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14720 # `set' quotes correctly as required by POSIX, so do not add quotes.
14721 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14730 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14732 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14734 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14735 if test -w "$cache_file"; then
14736 test "x
$cache_file" != "x
/dev
/null
" &&
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14738 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14739 cat confcache >$cache_file
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14742 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14747 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14748 # Let make expand exec_prefix.
14749 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14751 # Transform confdefs.h into DEFS.
14752 # Protect against shell expansion while executing Makefile rules.
14753 # Protect against Makefile macro expansion.
14755 # If the first sed substitution is executed (which looks for macros that
14756 # take arguments), then branch to the quote section. Otherwise,
14757 # look for a macro that doesn't take arguments.
14767 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14769 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14773 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14786 DEFS=`sed -n "$ac_script" confdefs.h`
14791 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14792 # 1. Remove the extension, and $U if already installed.
14793 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14794 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14795 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14796 # will be set to the directory where LIBOBJS objects are built.
14797 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14798 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14800 LIBOBJS=$ac_libobjs
14802 LTLIBOBJS=$ac_ltlibobjs
14806 : ${CONFIG_STATUS=./config.status}
14808 ac_clean_files_save=$ac_clean_files
14809 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14811 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14813 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14815 # Generated by $as_me.
14816 # Run this file to recreate the current configuration.
14817 # Compiler output produced by configure, useful for debugging
14818 # configure, is in config.log if it exists.
14821 ac_cs_recheck=false
14824 SHELL=\${CONFIG_SHELL-$SHELL}
14827 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14828 ## -------------------- ##
14829 ## M4sh Initialization. ##
14830 ## -------------------- ##
14832 # Be more Bourne compatible
14833 DUALCASE=1; export DUALCASE # for MKS sh
14834 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14837 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14838 # is contrary to our usage. Disable this feature.
14839 alias -g '${1+"$@"}'='"$@"'
14840 setopt NO_GLOB_SUBST
14842 case `(set -o) 2>/dev/null` in #(
14854 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14855 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14856 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14857 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14858 # Prefer a ksh shell builtin over an external printf program on Solaris,
14859 # but without wasting forks for bash or zsh.
14860 if test -z "$BASH_VERSION$ZSH_VERSION" \
14861 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14862 as_echo
='print -r --'
14863 as_echo_n
='print -rn --'
14864 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14865 as_echo
='printf %s\n'
14866 as_echo_n
='printf %s'
14868 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14869 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14870 as_echo_n
='/usr/ucb/echo -n'
14872 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14873 as_echo_n_body
='eval
14877 expr "X$arg" : "X\\(.*\\)$as_nl";
14878 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14880 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14882 export as_echo_n_body
14883 as_echo_n
='sh -c $as_echo_n_body as_echo'
14885 export as_echo_body
14886 as_echo
='sh -c $as_echo_body as_echo'
14889 # The user is always right.
14890 if test "${PATH_SEPARATOR+set}" != set; then
14892 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14893 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14900 # We need space, tab and new line, in precisely that order. Quoting is
14901 # there to prevent editors from complaining about space-tab.
14902 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14903 # splitting by setting IFS to empty value.)
14906 # Find who we are. Look in the path if we contain no directory separator.
14908 *[\\/]* ) as_myself
=$0 ;;
14909 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14910 for as_dir
in $PATH
14913 test -z "$as_dir" && as_dir
=.
14914 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14920 # We did not find ourselves, most probably we were run as `sh COMMAND'
14921 # in which case we are not to be found in the path.
14922 if test "x$as_myself" = x
; then
14925 if test ! -f "$as_myself"; then
14926 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14930 # Unset variables that we do not need and which cause bugs (e.g. in
14931 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14932 # suppresses any "Segmentation fault" message there. '((' could
14933 # trigger a bug in pdksh 5.2.14.
14934 for as_var
in BASH_ENV ENV MAIL MAILPATH
14935 do eval test x\
${$as_var+set} = xset \
14936 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14949 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14952 # as_fn_error ERROR [LINENO LOG_FD]
14953 # ---------------------------------
14954 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14955 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14956 # script with status $?, using 1 if that was 0.
14959 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14961 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14962 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14964 $as_echo "$as_me: error: $1" >&2
14965 as_fn_exit
$as_status
14969 # as_fn_set_status STATUS
14970 # -----------------------
14971 # Set $? to STATUS, without forking.
14972 as_fn_set_status
()
14975 } # as_fn_set_status
14977 # as_fn_exit STATUS
14978 # -----------------
14979 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14983 as_fn_set_status
$1
14989 # Portably unset VAR.
14992 { eval $1=; unset $1;}
14994 as_unset
=as_fn_unset
14995 # as_fn_append VAR VALUE
14996 # ----------------------
14997 # Append the text in VALUE to the end of the definition contained in VAR. Take
14998 # advantage of any shell optimizations that allow amortized linear growth over
14999 # repeated appends, instead of the typical quadratic growth present in naive
15001 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15002 eval 'as_fn_append ()
15013 # as_fn_arith ARG...
15014 # ------------------
15015 # Perform arithmetic evaluation on the ARGs, and store the result in the
15016 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15017 # must be portable across $(()) and expr.
15018 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15019 eval 'as_fn_arith ()
15026 as_val
=`expr "$@" || test $? -eq 1`
15031 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15032 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15038 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15039 as_basename
=basename
15044 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15050 as_me
=`$as_basename -- "$0" ||
15051 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15052 X"$0" : 'X\(//\)$' \| \
15053 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15055 sed '/^.*\/\([^/][^/]*\)\/*$/{
15069 # Avoid depending upon Character Ranges.
15070 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15071 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15072 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15073 as_cr_digits
='0123456789'
15074 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15076 ECHO_C
= ECHO_N
= ECHO_T
=
15077 case `echo -n x` in #(((((
15079 case `echo 'xy\c'` in
15080 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15082 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15089 rm -f conf$$ conf$$.exe conf$$.
file
15090 if test -d conf$$.dir
; then
15091 rm -f conf$$.dir
/conf$$.
file
15094 mkdir conf$$.dir
2>/dev
/null
15096 if (echo >conf$$.
file) 2>/dev
/null
; then
15097 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15099 # ... but there are two gotchas:
15100 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15101 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15102 # In both cases, we have to default to `cp -p'.
15103 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15105 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15113 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15114 rmdir conf$$.dir
2>/dev
/null
15119 # Create "$as_dir" as a directory, including parents if necessary.
15124 -*) as_dir
=.
/$as_dir;;
15126 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15130 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15131 *) as_qdir
=$as_dir;;
15133 as_dirs
="'$as_qdir' $as_dirs"
15134 as_dir
=`$as_dirname -- "$as_dir" ||
15135 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15136 X"$as_dir" : 'X\(//\)[^/]' \| \
15137 X"$as_dir" : 'X\(//\)$' \| \
15138 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15139 $as_echo X"$as_dir" |
15140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15144 /^X\(\/\/\)[^/].*/{
15157 test -d "$as_dir" && break
15159 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15160 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15164 if mkdir
-p .
2>/dev
/null
; then
15165 as_mkdir_p
='mkdir -p "$as_dir"'
15167 test -d .
/-p && rmdir .
/-p
15171 if test -x / >/dev
/null
2>&1; then
15172 as_test_x
='test -x'
15174 if ls -dL / >/dev
/null
2>&1; then
15181 if test -d "$1"; then
15187 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15188 ???[sx]*):;;*)false;;esac;fi
15192 as_executable_p
=$as_test_x
15194 # Sed expression to map a string onto a valid CPP name.
15195 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15197 # Sed expression to map a string onto a valid variable name.
15198 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15202 ## ----------------------------------- ##
15203 ## Main body of $CONFIG_STATUS script. ##
15204 ## ----------------------------------- ##
15206 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15209 # Save the log message, to keep $0 and so on meaningful, and to
15210 # report actual input values of CONFIG_FILES etc. instead of their
15211 # values after options handling.
15213 This file was extended by $as_me, which was
15214 generated by GNU Autoconf 2.64. Invocation command line was
15216 CONFIG_FILES = $CONFIG_FILES
15217 CONFIG_HEADERS = $CONFIG_HEADERS
15218 CONFIG_LINKS = $CONFIG_LINKS
15219 CONFIG_COMMANDS = $CONFIG_COMMANDS
15222 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15227 case $ac_config_files in *"
15228 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15234 # Files that config.status was made for.
15235 config_files="$ac_config_files"
15239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15241 \`$as_me' instantiates files and other configuration actions
15242 from templates according to the current configuration. Unless the files
15243 and actions are specified as TAGs, all are instantiated by default.
15245 Usage: $0 [OPTION]... [TAG]...
15247 -h, --help print this help, then exit
15248 -V, --version print version number and configuration settings, then exit
15249 -q, --quiet, --silent
15250 do not print progress messages
15251 -d, --debug don't remove temporary files
15252 --recheck update $as_me by reconfiguring in the same conditions
15253 --file=FILE[:TEMPLATE]
15254 instantiate the configuration file FILE
15256 Configuration files:
15259 Report bugs to the package provider."
15262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15265 configured by $0, generated by GNU Autoconf 2.64,
15266 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15268 Copyright (C) 2009 Free Software Foundation, Inc.
15269 This config.status script is free software; the Free Software Foundation
15270 gives unlimited permission to copy, distribute and modify it."
15276 test -n "\$AWK" || AWK=awk
15279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15280 # The default lists apply if the user does not specify any file.
15286 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15287 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15298 # Handling of the options.
15299 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15301 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15302 $as_echo "$ac_cs_version"; exit ;;
15303 --debug |
--debu |
--deb |
--de |
--d |
-d )
15305 --file |
--fil |
--fi |
--f )
15308 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15310 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15311 ac_need_defaults
=false
;;
15312 --he |
--h |
--help |
--hel |
-h )
15313 $as_echo "$ac_cs_usage"; exit ;;
15314 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15315 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15318 # This is an error.
15319 -*) as_fn_error
"unrecognized option: \`$1'
15320 Try \`$0 --help' for more information." ;;
15322 *) as_fn_append ac_config_targets
" $1"
15323 ac_need_defaults
=false
;;
15329 ac_configure_extra_args
=
15331 if $ac_cs_silent; then
15333 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15338 if \$ac_cs_recheck; then
15339 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15341 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15342 CONFIG_SHELL='$SHELL'
15343 export CONFIG_SHELL
15348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15352 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15353 ## Running $as_me. ##
15359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15363 extrasub_build="$extrasub_build"
15364 extrasub_host="$extrasub_host"
15365 extrasub_target="$extrasub_target"
15369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15371 # Handling of arguments.
15372 for ac_config_target
in $ac_config_targets
15374 case $ac_config_target in
15375 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15377 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15382 # If the user did not use the arguments to specify the items to instantiate,
15383 # then the envvar interface is used. Set only those that are not.
15384 # We use the long form for the default assignment because of an extremely
15385 # bizarre bug on SunOS 4.1.3.
15386 if $ac_need_defaults; then
15387 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15390 # Have a temporary directory for convenience. Make it in the build tree
15391 # simply because there is no reason against having it here, and in addition,
15392 # creating and moving files from /tmp can sometimes cause problems.
15393 # Hook for its removal unless debugging.
15394 # Note that there is a small window in which the directory will not be cleaned:
15395 # after its creation but before its name has been assigned to `$tmp'.
15399 trap 'exit_status=$?
15400 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15402 trap 'as_fn_exit 1' 1 2 13 15
15404 # Create a (secure) tmp directory for tmp files.
15407 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15408 test -n "$tmp" && test -d "$tmp"
15411 tmp
=.
/conf$$
-$RANDOM
15412 (umask 077 && mkdir
"$tmp")
15413 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15415 # Set up the scripts for CONFIG_FILES section.
15416 # No need to generate them if there are no CONFIG_FILES.
15417 # This happens for instance with `./config.status config.h'.
15418 if test -n "$CONFIG_FILES"; then
15420 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15421 ac_cs_awk_getline
=:
15422 ac_cs_awk_pipe_init
=
15423 ac_cs_awk_read_file
='
15424 while ((getline aline < (F[key])) > 0)
15427 ac_cs_awk_pipe_fini
=
15429 ac_cs_awk_getline
=false
15430 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15431 ac_cs_awk_read_file
='
15433 print "cat " F[key] " &&"
15434 '$ac_cs_awk_pipe_init
15435 # The final `:' finishes the AND list.
15436 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15438 ac_cr
=`echo X | tr X '\015'`
15439 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15440 # But we know of no other shell where ac_cr would be empty at this
15441 # point, so we can use a bashism as a fallback.
15442 if test "x$ac_cr" = x
; then
15443 eval ac_cr
=\$
\'\\r
\'
15445 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15446 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15449 ac_cs_awk_cr
=$ac_cr
15452 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15455 # Create commands to substitute file output variables.
15457 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15458 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15459 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15462 } >conf$
$files.sh
&&
15463 . .
/conf$
$files.sh ||
15464 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15465 rm -f conf$
$files.sh
15468 echo "cat >conf$$subs.awk <<_ACEOF" &&
15469 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15471 } >conf$$subs.sh ||
15472 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15473 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15475 for ac_last_try in false false false false false :; do
15476 . ./conf$$subs.sh ||
15477 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15479 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15480 if test $ac_delim_n = $ac_delim_num; then
15482 elif $ac_last_try; then
15483 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15485 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15488 rm -f conf$$subs.sh
15490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15491 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15495 s/^/S["/; s
/!.
*/"]=/
15505 s/\(.\{148\}\).*/\1/
15507 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15512 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15519 s/\(.\{148\}\).*/\1/
15521 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15525 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15530 ' <conf$$subs.awk | sed '
15535 ' >>$CONFIG_STATUS || ac_write_fail=1
15536 rm -f conf$$subs.awk
15537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15539 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15540 for (key in S) S_is_set[key] = 1
15542 \$ac_cs_awk_pipe_init
15546 nfields = split(line, field, "@
")
15548 len = length(field[1])
15549 for (i = 2; i < nfields; i++) {
15551 keylen = length(key)
15552 if (S_is_set[key]) {
15554 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15555 len += length(value) + length(field[++i])
15560 if (nfields == 3 && !substed) {
15562 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15563 \$ac_cs_awk_read_file
15569 \$ac_cs_awk_pipe_fini
15572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15573 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15574 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15577 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15578 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15581 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15582 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15583 # trailing colons and then remove the whole line if VPATH becomes empty
15584 # (actually we leave an empty line to preserve line numbers).
15585 if test "x
$srcdir" = x.; then
15586 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15587 s/:*\$(srcdir):*/:/
15588 s/:*\${srcdir}:*/:/
15590 s/^\([^=]*=[ ]*\):*/\1/
15596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15597 fi # test -n "$CONFIG_FILES"
15600 eval set X " :F
$CONFIG_FILES "
15605 :[FHLC]) ac_mode=$ac_tag; continue;;
15607 case $ac_mode$ac_tag in
15609 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15610 :[FH]-) ac_tag=-:-;;
15611 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15628 -) ac_f="$tmp/stdin";;
15629 *) # Look for the file first in the build tree, then in the source tree
15630 # (if the path is not absolute). The absolute path cannot be DOS-style,
15631 # because $ac_f cannot contain `:'.
15635 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15637 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15639 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15640 as_fn_append ac_file_inputs " '$ac_f'"
15643 # Let's still pretend it is `configure' which instantiates (i.e., don't
15644 # use $as_me), people would be surprised to read:
15645 # /* config.h. Generated by config.status. */
15646 configure_input='Generated from '`
15647 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15649 if test x"$ac_file" != x-; then
15650 configure_input="$ac_file.
$configure_input"
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15652 $as_echo "$as_me: creating
$ac_file" >&6;}
15654 # Neutralize special characters interpreted by sed in replacement strings.
15655 case $configure_input in #(
15656 *\&* | *\|* | *\\* )
15657 ac_sed_conf_input=`$as_echo "$configure_input" |
15658 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15659 *) ac_sed_conf_input=$configure_input;;
15663 *:-:* | *:-) cat >"$tmp/stdin
" \
15664 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15669 ac_dir=`$as_dirname -- "$ac_file" ||
15670 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15671 X"$ac_file" : 'X\(//\)[^/]' \| \
15672 X"$ac_file" : 'X\(//\)$' \| \
15673 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15674 $as_echo X"$ac_file" |
15675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15679 /^X\(\/\/\)[^/].*/{
15692 as_dir="$ac_dir"; as_fn_mkdir_p
15696 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15698 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15699 # A "..
" for each directory in $ac_dir_suffix.
15700 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15701 case $ac_top_builddir_sub in
15702 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15703 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15706 ac_abs_top_builddir=$ac_pwd
15707 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15708 # for backward compatibility:
15709 ac_top_builddir=$ac_top_build_prefix
15712 .) # We are building in place.
15714 ac_top_srcdir=$ac_top_builddir_sub
15715 ac_abs_top_srcdir=$ac_pwd ;;
15716 [\\/]* | ?:[\\/]* ) # Absolute name.
15717 ac_srcdir=$srcdir$ac_dir_suffix;
15718 ac_top_srcdir=$srcdir
15719 ac_abs_top_srcdir=$srcdir ;;
15720 *) # Relative name.
15721 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15722 ac_top_srcdir=$ac_top_build_prefix$srcdir
15723 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15725 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15735 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15736 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15741 # If the template does not know about datarootdir, expand it.
15742 # FIXME: This hack should be removed a few years after 2.60.
15743 ac_datarootdir_hack=; ac_datarootdir_seen=
15754 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15755 *datarootdir*) ac_datarootdir_seen=yes;;
15756 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15758 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15761 ac_datarootdir_hack='
15762 s&@datadir@&$datadir&g
15763 s&@docdir@&$docdir&g
15764 s&@infodir@&$infodir&g
15765 s&@localedir@&$localedir&g
15766 s&@mandir@&$mandir&g
15767 s&\\\${datarootdir}&$datarootdir&g' ;;
15771 # Neutralize VPATH when `$srcdir' = `.'.
15772 # Shell code in configure.ac might set extrasub.
15773 # FIXME: do we really want to maintain this feature?
15774 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15775 ac_sed_extra="$ac_vpsub
15778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15780 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15781 s|@configure_input@|
$ac_sed_conf_input|
;t t
15782 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15783 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15784 s
&@srcdir@
&$ac_srcdir&;t t
15785 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15786 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15787 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15788 s
&@builddir@
&$ac_builddir&;t t
15789 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15790 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15791 s
&@INSTALL@
&$ac_INSTALL&;t t
15792 $ac_datarootdir_hack
15794 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15795 if $ac_cs_awk_getline; then
15796 $AWK -f "$tmp/subs.
awk"
15798 $AWK -f "$tmp/subs.
awk" | $SHELL
15800 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15802 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15803 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15804 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15806 which seems to be undefined. Please make sure it is defined." >&5
15807 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15808 which seems to be undefined. Please make sure it is defined." >&2;}
15812 -) cat "$tmp/out" && rm -f "$tmp/out";;
15813 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15815 || as_fn_error "could not create $ac_file" "$LINENO" 5
15823 case $ac_file$ac_mode in
15824 "Makefile":F) sed "$extrasub_build" Makefile |
15825 sed "$extrasub_host" |
15826 sed "$extrasub_target" > mf$$
15827 mv -f mf$$ Makefile ;;
15835 ac_clean_files=$ac_clean_files_save
15837 test $ac_write_fail = 0 ||
15838 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15841 # configure is writing to config.log, and then calls config.status.
15842 # config.status does its own redirection, appending to config.log.
15843 # Unfortunately, on DOS this fails, as config.log is still kept open
15844 # by configure, so config.status won't be able to
write to it
; its
15845 # output is simply discarded. So we exec the FD to /dev/null,
15846 # effectively closing config.log, so it can be properly (re)opened and
15847 # appended to by config.status. When coming back to configure, we
15848 # need to make the FD available again.
15849 if test "$no_create" != yes; then
15851 ac_config_status_args
=
15852 test "$silent" = yes &&
15853 ac_config_status_args
="$ac_config_status_args --quiet"
15855 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15857 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15858 # would make configure fail if this is the last instruction.
15859 $ac_cs_success || as_fn_exit $?
15861 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15863 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}