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
644 extra_host_zlib_configure_flags
645 extra_host_libiberty_configure_flags
647 extra_linker_plugin_flags
648 extra_linker_plugin_configure_flags
656 extra_isl_gmp_configure_flags
657 extra_mpc_mpfr_configure_flags
658 extra_mpc_gmp_configure_flags
659 extra_mpfr_configure_flags
675 extra_liboffloadmic_configure_flags
702 TOPLEVEL_CONFIGURE_ARGUMENTS
730 program_transform_name
741 ac_subst_files
='serialization_dependencies
747 enable_option_checking
750 enable_as_accelerator_for
751 enable_offload_targets
754 enable_compressed_debug_sections
756 enable_libquadmath_support
780 enable_isl_version_check
782 enable_linker_plugin_configure_flags
783 enable_linker_plugin_flags
784 enable_stage1_languages
787 with_target_bdw_gc_include
788 with_target_bdw_gc_lib
790 with_debug_prefix_map
793 enable_serial_configure
794 with_build_time_tools
795 enable_maintainer_mode
796 enable_stage1_checking
800 ac_precious_vars
='build_alias
847 # Initialize some variables set by options.
849 ac_init_version
=false
850 ac_unrecognized_opts
=
852 # The variables have the same names as the options, with
853 # dashes changed to underlines.
861 program_transform_name
=s
,x
,x
,
869 # Installation directory options.
870 # These are left unexpanded so users can "make install exec_prefix=/foo"
871 # and all the variables that are supposed to be based on exec_prefix
872 # by default will actually change.
873 # Use braces instead of parens because sh, perl, etc. also accept them.
874 # (The list follows the same order as the GNU Coding Standards.)
875 bindir
='${exec_prefix}/bin'
876 sbindir
='${exec_prefix}/sbin'
877 libexecdir
='${exec_prefix}/libexec'
878 datarootdir
='${prefix}/share'
879 datadir
='${datarootdir}'
880 sysconfdir
='${prefix}/etc'
881 sharedstatedir
='${prefix}/com'
882 localstatedir
='${prefix}/var'
883 includedir
='${prefix}/include'
884 oldincludedir
='/usr/include'
885 docdir
='${datarootdir}/doc/${PACKAGE}'
886 infodir
='${datarootdir}/info'
891 libdir
='${exec_prefix}/lib'
892 localedir
='${datarootdir}/locale'
893 mandir
='${datarootdir}/man'
899 # If the previous option needs an argument, assign it.
900 if test -n "$ac_prev"; then
901 eval $ac_prev=\
$ac_option
907 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
911 # Accept the important Cygnus configure options, so we can diagnose typos.
913 case $ac_dashdash$ac_option in
917 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
919 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
922 -build |
--build |
--buil |
--bui |
--bu)
923 ac_prev
=build_alias
;;
924 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
925 build_alias
=$ac_optarg ;;
927 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
928 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
929 ac_prev
=cache_file
;;
930 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
931 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
932 cache_file
=$ac_optarg ;;
935 cache_file
=config.cache
;;
937 -datadir |
--datadir |
--datadi |
--datad)
939 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
940 datadir
=$ac_optarg ;;
942 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
943 |
--dataroo |
--dataro |
--datar)
944 ac_prev
=datarootdir
;;
945 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
946 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
947 datarootdir
=$ac_optarg ;;
949 -disable-* |
--disable-*)
950 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
953 as_fn_error
"invalid feature name: $ac_useropt"
954 ac_useropt_orig
=$ac_useropt
955 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961 ac_unrecognized_sep
=', ';;
963 eval enable_
$ac_useropt=no
;;
965 -docdir |
--docdir |
--docdi |
--doc |
--do)
967 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
970 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
972 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
975 -enable-* |
--enable-*)
976 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
979 as_fn_error
"invalid feature name: $ac_useropt"
980 ac_useropt_orig
=$ac_useropt
981 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in
986 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
987 ac_unrecognized_sep
=', ';;
989 eval enable_
$ac_useropt=\
$ac_optarg ;;
991 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
992 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
993 |
--exec |
--exe |
--ex)
994 ac_prev
=exec_prefix
;;
995 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
996 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
997 |
--exec=* |
--exe=* |
--ex=*)
998 exec_prefix
=$ac_optarg ;;
1000 -gas |
--gas |
--ga |
--g)
1001 # Obsolete; use --with-gas.
1004 -help |
--help |
--hel |
--he |
-h)
1005 ac_init_help
=long
;;
1006 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1007 ac_init_help
=recursive
;;
1008 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1009 ac_init_help
=short
;;
1011 -host |
--host |
--hos |
--ho)
1012 ac_prev
=host_alias
;;
1013 -host=* |
--host=* |
--hos=* |
--ho=*)
1014 host_alias
=$ac_optarg ;;
1016 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1018 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1020 htmldir
=$ac_optarg ;;
1022 -includedir |
--includedir |
--includedi |
--included |
--include \
1023 |
--includ |
--inclu |
--incl |
--inc)
1024 ac_prev
=includedir
;;
1025 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1026 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1027 includedir
=$ac_optarg ;;
1029 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1031 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1032 infodir
=$ac_optarg ;;
1034 -libdir |
--libdir |
--libdi |
--libd)
1036 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1037 libdir
=$ac_optarg ;;
1039 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1040 |
--libexe |
--libex |
--libe)
1041 ac_prev
=libexecdir
;;
1042 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1043 |
--libexe=* |
--libex=* |
--libe=*)
1044 libexecdir
=$ac_optarg ;;
1046 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1047 ac_prev
=localedir
;;
1048 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1049 localedir
=$ac_optarg ;;
1051 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1052 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1053 ac_prev
=localstatedir
;;
1054 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1055 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1056 localstatedir
=$ac_optarg ;;
1058 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1060 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1061 mandir
=$ac_optarg ;;
1063 -nfp |
--nfp |
--nf)
1064 # Obsolete; use --without-fp.
1067 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1068 |
--no-cr |
--no-c |
-n)
1071 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1072 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1075 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1076 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1077 |
--oldin |
--oldi |
--old |
--ol |
--o)
1078 ac_prev
=oldincludedir
;;
1079 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1080 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1081 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1082 oldincludedir
=$ac_optarg ;;
1084 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1086 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1087 prefix
=$ac_optarg ;;
1089 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1090 |
--program-pre |
--program-pr |
--program-p)
1091 ac_prev
=program_prefix
;;
1092 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1093 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1094 program_prefix
=$ac_optarg ;;
1096 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1097 |
--program-suf |
--program-su |
--program-s)
1098 ac_prev
=program_suffix
;;
1099 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1100 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1101 program_suffix
=$ac_optarg ;;
1103 -program-transform-name |
--program-transform-name \
1104 |
--program-transform-nam |
--program-transform-na \
1105 |
--program-transform-n |
--program-transform- \
1106 |
--program-transform |
--program-transfor \
1107 |
--program-transfo |
--program-transf \
1108 |
--program-trans |
--program-tran \
1109 |
--progr-tra |
--program-tr |
--program-t)
1110 ac_prev
=program_transform_name
;;
1111 -program-transform-name=* |
--program-transform-name=* \
1112 |
--program-transform-nam=* |
--program-transform-na=* \
1113 |
--program-transform-n=* |
--program-transform-=* \
1114 |
--program-transform=* |
--program-transfor=* \
1115 |
--program-transfo=* |
--program-transf=* \
1116 |
--program-trans=* |
--program-tran=* \
1117 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1118 program_transform_name
=$ac_optarg ;;
1120 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1122 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1123 pdfdir
=$ac_optarg ;;
1125 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1127 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1130 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1131 |
-silent |
--silent |
--silen |
--sile |
--sil)
1134 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1136 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1138 sbindir
=$ac_optarg ;;
1140 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1141 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1142 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1144 ac_prev
=sharedstatedir
;;
1145 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1146 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1147 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1149 sharedstatedir
=$ac_optarg ;;
1151 -site |
--site |
--sit)
1153 -site=* |
--site=* |
--sit=*)
1156 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1158 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1159 srcdir
=$ac_optarg ;;
1161 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1162 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1163 ac_prev
=sysconfdir
;;
1164 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1165 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1166 sysconfdir
=$ac_optarg ;;
1168 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1169 ac_prev
=target_alias
;;
1170 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1171 target_alias
=$ac_optarg ;;
1173 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1176 -version |
--version |
--versio |
--versi |
--vers |
-V)
1177 ac_init_version
=: ;;
1180 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1183 as_fn_error
"invalid package name: $ac_useropt"
1184 ac_useropt_orig
=$ac_useropt
1185 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1190 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1191 ac_unrecognized_sep
=', ';;
1193 eval with_
$ac_useropt=\
$ac_optarg ;;
1195 -without-* |
--without-*)
1196 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1199 as_fn_error
"invalid package name: $ac_useropt"
1200 ac_useropt_orig
=$ac_useropt
1201 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1206 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1207 ac_unrecognized_sep
=', ';;
1209 eval with_
$ac_useropt=no
;;
1212 # Obsolete; use --with-x.
1215 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1216 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1217 ac_prev
=x_includes
;;
1218 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1219 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1220 x_includes
=$ac_optarg ;;
1222 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1223 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1224 ac_prev
=x_libraries
;;
1225 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1226 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1227 x_libraries
=$ac_optarg ;;
1229 -*) as_fn_error
"unrecognized option: \`$ac_option'
1230 Try \`$0 --help' for more information."
1234 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1235 # Reject names that are not valid shell variable names.
1236 case $ac_envvar in #(
1237 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1238 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1240 eval $ac_envvar=\
$ac_optarg
1241 export $ac_envvar ;;
1244 # FIXME: should be removed in autoconf 3.0.
1245 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1246 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1247 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1248 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1254 if test -n "$ac_prev"; then
1255 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1256 as_fn_error
"missing argument to $ac_option"
1259 if test -n "$ac_unrecognized_opts"; then
1260 case $enable_option_checking in
1262 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1267 # Check all directory arguments for consistency.
1268 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1269 datadir sysconfdir sharedstatedir localstatedir includedir \
1270 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1271 libdir localedir mandir
1273 eval ac_val
=\$
$ac_var
1274 # Remove trailing slashes.
1277 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1278 eval $ac_var=\
$ac_val;;
1280 # Be sure to have absolute directory names.
1282 [\\/$
]* | ?
:[\\/]* ) continue;;
1283 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1285 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1288 # There might be people who depend on the old broken behavior: `$host'
1289 # used to hold the argument of --host etc.
1290 # FIXME: To remove some day.
1293 target
=$target_alias
1295 # FIXME: To remove some day.
1296 if test "x$host_alias" != x
; then
1297 if test "x$build_alias" = x
; then
1298 cross_compiling
=maybe
1299 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1300 If a cross compiler is detected then cross compile mode will be used." >&2
1301 elif test "x$build_alias" != "x$host_alias"; then
1307 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1309 test "$silent" = yes && exec 6>/dev
/null
1312 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di
=`ls -di .` &&
1314 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1315 as_fn_error
"working directory cannot be determined"
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317 as_fn_error
"pwd does not report name of working directory"
1320 # Find the source files, if location was not specified.
1321 if test -z "$srcdir"; then
1322 ac_srcdir_defaulted
=yes
1323 # Try the directory containing this script, then the parent directory.
1324 ac_confdir
=`$as_dirname -- "$as_myself" ||
1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1326 X"$as_myself" : 'X\(//\)[^/]' \| \
1327 X"$as_myself" : 'X\(//\)$' \| \
1328 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1329 $as_echo X"$as_myself" |
1330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1352 ac_srcdir_defaulted
=no
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1356 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1358 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1366 # Remove unnecessary trailing slashes from srcdir.
1367 # Double slashes in file names in object file debugging info
1368 # mess up M-x gdb in Emacs.
1370 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1374 as_fn_error
"path to source, $srcdir, contains spaces"
1377 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1379 for ac_var
in $ac_precious_vars; do
1380 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1381 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1382 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1383 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1387 # Report the --help message.
1389 if test "$ac_init_help" = "long"; then
1390 # Omit some internal or obsolete options to make the list less imposing.
1391 # This message is too long to be a string in the A/UX 3.1 sh.
1393 \`configure' configures this package to adapt to many kinds of systems.
1395 Usage: $0 [OPTION]... [VAR=VALUE]...
1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1398 VAR=VALUE. See below for descriptions of some of the useful variables.
1400 Defaults for the options are specified in brackets.
1403 -h, --help display this help and exit
1404 --help=short display options specific to this package
1405 --help=recursive display the short help of all the included packages
1406 -V, --version display version information and exit
1407 -q, --quiet, --silent do not print \`checking...' messages
1408 --cache-file=FILE cache test results in FILE [disabled]
1409 -C, --config-cache alias for \`--cache-file=config.cache'
1410 -n, --no-create do not create output files
1411 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1413 Installation directories:
1414 --prefix=PREFIX install architecture-independent files in PREFIX
1415 [$ac_default_prefix]
1416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1419 By default, \`make install' will install all the files in
1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1422 for instance \`--prefix=\$HOME'.
1424 For better control, use the options below.
1426 Fine tuning of the installation directories:
1427 --bindir=DIR user executables [EPREFIX/bin]
1428 --sbindir=DIR system admin executables [EPREFIX/sbin]
1429 --libexecdir=DIR program executables [EPREFIX/libexec]
1430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1432 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1433 --libdir=DIR object code libraries [EPREFIX/lib]
1434 --includedir=DIR C header files [PREFIX/include]
1435 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1438 --infodir=DIR info documentation [DATAROOTDIR/info]
1439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1440 --mandir=DIR man documentation [DATAROOTDIR/man]
1441 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1442 --htmldir=DIR html documentation [DOCDIR]
1443 --dvidir=DIR dvi documentation [DOCDIR]
1444 --pdfdir=DIR pdf documentation [DOCDIR]
1445 --psdir=DIR ps documentation [DOCDIR]
1451 --program-prefix=PREFIX prepend PREFIX to installed program names
1452 --program-suffix=SUFFIX append SUFFIX to installed program names
1453 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1456 --build=BUILD configure
for building on BUILD
[guessed
]
1457 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1458 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1462 if test -n "$ac_init_help"; then
1467 --disable-option-checking ignore unrecognized
--enable/--with options
1468 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1469 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1470 --enable-as-accelerator-for=ARG
1471 build as offload target compiler. Specify offload
1473 --enable-offload-targets=LIST
1474 enable offloading to devices from comma-separated
1475 LIST of TARGET
[=DIR
]. Use optional path to
find
1476 offload target compiler during the build
1477 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1478 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1479 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1480 Enable compressed debug sections
for gas
, gold or ld
1482 --disable-libquadmath do not build libquadmath directory
1483 --disable-libquadmath-support
1484 disable libquadmath support
for Fortran
1485 --enable-libada build libada directory
1486 --enable-libssp build libssp directory
1487 --disable-libstdcxx do not build libstdc
++-v3 directory
1488 --enable-liboffloadmic=ARG
1489 build liboffloadmic
[ARG
={no
,host,target
}]
1490 --enable-bootstrap enable bootstrapping
[yes if native build
]
1491 --disable-isl-version-check
1492 disable check
for isl version
1493 --enable-lto enable link
time optimization support
1494 --enable-linker-plugin-configure-flags=FLAGS
1495 additional flags
for configuring linker plugins
1497 --enable-linker-plugin-flags=FLAGS
1498 additional flags
for configuring and building linker
1500 --enable-stage1-languages[=all
]
1501 choose additional languages to build during stage1.
1502 Mostly useful
for compiler development
1503 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1505 --enable-vtable-verify Enable vtable verification feature
1506 --enable-serial-[{host,target,build}-]configure
1507 force sequential configuration of sub-packages for
1508 the host, target or build machine, or all
1510 --enable-maintainer-mode
1511 enable make rules and dependencies not useful (and
1512 sometimes confusing) to the casual installer
1513 --enable-stage1-checking[=all]
1514 choose additional checking for stage1 of the
1516 --enable-werror enable -Werror in bootstrap stage2 and later
1517 --enable-host-shared build host code as shared libraries
1520 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1521 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1522 --with-build-libsubdir=DIR Directory where to find libraries for build system
1523 --with-system-zlib use installed libz
1524 --with-mpc=PATH specify prefix directory for installed MPC package.
1525 Equivalent to --with-mpc-include=PATH/include plus
1526 --with-mpc-lib=PATH/lib
1527 --with-mpc-include=PATH specify directory for installed MPC include files
1528 --with-mpc-lib=PATH specify directory for the installed MPC library
1529 --with-mpfr-dir=PATH this option has been REMOVED
1530 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1531 Equivalent to --with-mpfr-include=PATH/include plus
1532 --with-mpfr-lib=PATH/lib
1533 --with-mpfr-include=PATH
1534 specify directory for installed MPFR include files
1535 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1536 --with-gmp-dir=PATH this option has been REMOVED
1537 --with-gmp=PATH specify prefix directory for the installed GMP
1538 package. Equivalent to
1539 --with-gmp-include=PATH/include plus
1540 --with-gmp-lib=PATH/lib
1541 --with-gmp-include=PATH specify directory for installed GMP include files
1542 --with-gmp-lib=PATH specify directory for the installed GMP library
1543 --with-stage1-libs=LIBS libraries for stage1
1544 --with-stage1-ldflags=FLAGS
1545 linker flags for stage1
1546 --with-boot-libs=LIBS libraries for stage2 and later
1547 --with-boot-ldflags=FLAGS
1548 linker flags for stage2 and later
1549 --with-isl=PATH Specify prefix directory for the installed isl
1550 package. Equivalent to
1551 --with-isl-include=PATH/include plus
1552 --with-isl-lib=PATH/lib
1553 --with-isl-include=PATH Specify directory for installed isl include files
1554 --with-isl-lib=PATH Specify the directory for the installed isl library
1555 --with-target-bdw-gc=PATHLIST
1556 specify prefix directory for installed bdw-gc
1557 package. Equivalent to
1558 --with-target-bdw-gc-include=PATH/include plus
1559 --with-target-bdw-gc-lib=PATH/lib
1560 --with-target-bdw-gc-include=PATHLIST
1561 specify directories for installed bdw-gc include
1563 --with-target-bdw-gc-lib=PATHLIST
1564 specify directories for installed bdw-gc library
1565 --with-build-sysroot=SYSROOT
1566 use sysroot as the system root during the build
1567 --with-debug-prefix-map='A
=B C
=D ...
'
1568 map A to B, C to D ... in debug information
1569 --with-build-config='NAME NAME2...
'
1570 use config/NAME.mk build configuration
1571 --with-build-time-tools=PATH
1572 use given path to find target tools during the build
1574 Some influential environment variables:
1575 CC C compiler command
1576 CFLAGS C compiler flags
1577 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1578 nonstandard directory <lib dir>
1579 LIBS libraries to pass to the linker, e.g. -l<library>
1580 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1581 you have headers in a nonstandard directory <include dir>
1582 CXX C++ compiler command
1583 CXXFLAGS C++ compiler flags
1585 additional configure arguments for build directories
1587 additional configure arguments for host directories
1589 additional configure arguments for target directories
1592 DLLTOOL DLLTOOL for the host
1594 LIPO LIPO for the host
1596 RANLIB RANLIB for the host
1597 STRIP STRIP for the host
1598 WINDRES WINDRES for the host
1599 WINDMC WINDMC for the host
1600 OBJCOPY OBJCOPY for the host
1601 OBJDUMP OBJDUMP for the host
1602 READELF READELF for the host
1610 GFORTRAN for the target
1618 DLLTOOL for the target
1626 OBJCOPY for the target
1628 OBJDUMP for the target
1630 RANLIB for the target
1632 READELF for the target
1634 STRIP for the target
1636 WINDRES for the target
1638 WINDMC for the target
1640 Use these variables to override the choices made by `configure' or to
help
1641 it to
find libraries and programs with nonstandard names
/locations.
1643 Report bugs to the package provider.
1648 if test "$ac_init_help" = "recursive"; then
1649 # If there are subdirs, report their specific --help.
1650 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1651 test -d "$ac_dir" ||
1652 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1657 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1659 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1660 # A ".." for each directory in $ac_dir_suffix.
1661 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1662 case $ac_top_builddir_sub in
1663 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1664 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1667 ac_abs_top_builddir
=$ac_pwd
1668 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1669 # for backward compatibility:
1670 ac_top_builddir
=$ac_top_build_prefix
1673 .
) # We are building in place.
1675 ac_top_srcdir
=$ac_top_builddir_sub
1676 ac_abs_top_srcdir
=$ac_pwd ;;
1677 [\\/]* | ?
:[\\/]* ) # Absolute name.
1678 ac_srcdir
=$srcdir$ac_dir_suffix;
1679 ac_top_srcdir
=$srcdir
1680 ac_abs_top_srcdir
=$srcdir ;;
1682 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1683 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1684 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1686 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1688 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1689 # Check for guested configure.
1690 if test -f "$ac_srcdir/configure.gnu"; then
1692 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1693 elif test -f "$ac_srcdir/configure"; then
1695 $SHELL "$ac_srcdir/configure" --help=recursive
1697 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1699 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1703 test -n "$ac_init_help" && exit $ac_status
1704 if $ac_init_version; then
1707 generated by GNU Autoconf
2.64
1709 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1710 This configure
script is free software
; the Free Software Foundation
1711 gives unlimited permission to copy
, distribute and modify it.
1716 ## ------------------------ ##
1717 ## Autoconf initialization. ##
1718 ## ------------------------ ##
1720 # ac_fn_c_try_compile LINENO
1721 # --------------------------
1722 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1723 ac_fn_c_try_compile
()
1725 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1726 rm -f conftest.
$ac_objext
1727 if { { ac_try
="$ac_compile"
1729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_compile") 2>conftest.err
1736 if test -s conftest.err; then
1737 grep -v '^ *+' conftest.err >conftest.er1
1738 cat conftest.er1 >&5
1739 mv -f conftest.er1 conftest.err
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } && {
1743 test -z "$ac_c_werror_flag" ||
1744 test ! -s conftest.err
1745 } && test -s conftest.$ac_objext; then :
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1753 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1756 } # ac_fn_c_try_compile
1758 # ac_fn_cxx_try_compile LINENO
1759 # ----------------------------
1760 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1761 ac_fn_cxx_try_compile ()
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 rm -f conftest.$ac_objext
1765 if { { ac_try="$ac_compile"
1767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1768 *) ac_try_echo
=$ac_try;;
1770 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_compile") 2>conftest.err
1774 if test -s conftest.err
; then
1775 grep -v '^ *+' conftest.err
>conftest.er1
1776 cat conftest.er1
>&5
1777 mv -f conftest.er1 conftest.err
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; } && {
1781 test -z "$ac_cxx_werror_flag" ||
1782 test ! -s conftest.err
1783 } && test -s conftest.
$ac_objext; then :
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.
$ac_ext >&5
1791 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1794 } # ac_fn_cxx_try_compile
1796 # ac_fn_cxx_try_link LINENO
1797 # -------------------------
1798 # Try to link conftest.$ac_ext, and return whether this succeeded.
1799 ac_fn_cxx_try_link
()
1801 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1802 rm -f conftest.
$ac_objext conftest
$ac_exeext
1803 if { { ac_try
="$ac_link"
1805 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1806 *) ac_try_echo=$ac_try;;
1808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_link") 2>conftest.err
1812 if test -s conftest.err; then
1813 grep -v '^ *+' conftest.err >conftest.er1
1814 cat conftest.er1 >&5
1815 mv -f conftest.er1 conftest.err
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; } && {
1819 test -z "$ac_cxx_werror_flag" ||
1820 test ! -s conftest.err
1821 } && test -s conftest$ac_exeext && {
1822 test "$cross_compiling" = yes ||
1823 $as_test_x conftest$ac_exeext
1827 $as_echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.$ac_ext >&5
1832 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1833 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1834 # interfere with the next link command; also delete a directory that is
1835 # left behind by Apple's compiler. We do this before executing the actions.
1836 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1837 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1840 } # ac_fn_cxx_try_link
1842 # ac_fn_c_try_link LINENO
1843 # -----------------------
1844 # Try to link conftest.$ac_ext, and return whether this succeeded.
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 rm -f conftest.$ac_objext conftest$ac_exeext
1849 if { { ac_try="$ac_link"
1851 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1852 *) ac_try_echo
=$ac_try;;
1854 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1855 $as_echo "$ac_try_echo"; } >&5
1856 (eval "$ac_link") 2>conftest.err
1858 if test -s conftest.err
; then
1859 grep -v '^ *+' conftest.err
>conftest.er1
1860 cat conftest.er1
>&5
1861 mv -f conftest.er1 conftest.err
1863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1864 test $ac_status = 0; } && {
1865 test -z "$ac_c_werror_flag" ||
1866 test ! -s conftest.err
1867 } && test -s conftest
$ac_exeext && {
1868 test "$cross_compiling" = yes ||
1869 $as_test_x conftest
$ac_exeext
1873 $as_echo "$as_me: failed program was:" >&5
1874 sed 's/^/| /' conftest.
$ac_ext >&5
1878 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1879 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1880 # interfere with the next link command; also delete a directory that is
1881 # left behind by Apple's compiler. We do this before executing the actions.
1882 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1883 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1886 } # ac_fn_c_try_link
1887 cat >config.log
<<_ACEOF
1888 This file contains any messages produced by compilers while
1889 running configure, to aid debugging if configure makes a mistake.
1891 It was created by $as_me, which was
1892 generated by GNU Autoconf 2.64. Invocation command line was
1904 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1905 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1906 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1907 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1908 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1910 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1911 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1913 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1914 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1915 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1916 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1917 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1918 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1919 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1927 test -z "$as_dir" && as_dir
=.
1928 $as_echo "PATH: $as_dir"
1944 # Keep a trace of the command line.
1945 # Strip out --no-create and --no-recursion so they do not pile up.
1946 # Strip out --silent because we don't want to record it for future runs.
1947 # Also quote any args containing shell meta-characters.
1948 # Make two passes to allow for proper duplicate-argument suppression.
1952 ac_must_keep_next
=false
1958 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1959 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1960 |
-silent |
--silent |
--silen |
--sile |
--sil)
1963 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1966 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1968 as_fn_append ac_configure_args1
" '$ac_arg'"
1969 if test $ac_must_keep_next = true
; then
1970 ac_must_keep_next
=false
# Got value, back to normal.
1973 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1974 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1975 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1976 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1977 case "$ac_configure_args0 " in
1978 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1981 -* ) ac_must_keep_next
=true
;;
1984 as_fn_append ac_configure_args
" '$ac_arg'"
1989 { ac_configure_args0
=; unset ac_configure_args0
;}
1990 { ac_configure_args1
=; unset ac_configure_args1
;}
1992 # When interrupted or exit'd, cleanup temporary files, and complete
1993 # config.log. We remove comments because anyway the quotes in there
1994 # would cause problems or look ugly.
1995 # WARNING: Use '\'' to represent an apostrophe within the trap.
1996 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1997 trap 'exit_status=$?
1998 # Save into config.log some information that might help in debugging.
2003 ## ---------------- ##
2004 ## Cache variables. ##
2005 ## ---------------- ##
2008 # The following way of writing the cache mishandles newlines in values,
2010 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2011 eval ac_val=\$$ac_var
2015 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2016 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2019 _ | IFS | as_nl) ;; #(
2020 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2021 *) { eval $ac_var=; unset $ac_var;} ;;
2026 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2027 *${as_nl}ac_space=\ *)
2029 "s/'\''/'\''\\\\'\'''\''/g;
2030 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2033 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2041 ## ----------------- ##
2042 ## Output variables. ##
2043 ## ----------------- ##
2046 for ac_var in $ac_subst_vars
2048 eval ac_val=\$$ac_var
2050 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2052 $as_echo "$ac_var='\''$ac_val'\''"
2056 if test -n "$ac_subst_files"; then
2058 ## ------------------- ##
2059 ## File substitutions. ##
2060 ## ------------------- ##
2063 for ac_var
in $ac_subst_files
2065 eval ac_val
=\$
$ac_var
2067 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2069 $as_echo "$ac_var='\''$ac_val'\''"
2074 if test -s confdefs.h; then
2084 test "$ac_signal" != 0 &&
2085 $as_echo "$as_me: caught signal $ac_signal"
2086 $as_echo "$as_me: exit $exit_status"
2088 rm -f core *.core core.conftest.* &&
2089 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2092 for ac_signal
in 1 2 13 15; do
2093 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2097 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2098 rm -f -r conftest
* confdefs.h
2100 $as_echo "/* confdefs.h */" > confdefs.h
2102 # Predefined preprocessor variables.
2104 cat >>confdefs.h
<<_ACEOF
2105 #define PACKAGE_NAME "$PACKAGE_NAME"
2108 cat >>confdefs.h
<<_ACEOF
2109 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2112 cat >>confdefs.h
<<_ACEOF
2113 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2116 cat >>confdefs.h
<<_ACEOF
2117 #define PACKAGE_STRING "$PACKAGE_STRING"
2120 cat >>confdefs.h
<<_ACEOF
2121 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2124 cat >>confdefs.h
<<_ACEOF
2125 #define PACKAGE_URL "$PACKAGE_URL"
2129 # Let the site file select an alternate cache file if it wants to.
2130 # Prefer an explicitly selected file to automatically selected ones.
2133 if test -n "$CONFIG_SITE"; then
2134 ac_site_file1
=$CONFIG_SITE
2135 elif test "x$prefix" != xNONE
; then
2136 ac_site_file1
=$prefix/share
/config.site
2137 ac_site_file2
=$prefix/etc
/config.site
2139 ac_site_file1
=$ac_default_prefix/share
/config.site
2140 ac_site_file2
=$ac_default_prefix/etc
/config.site
2142 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2144 test "x$ac_site_file" = xNONE
&& continue
2145 if test -r "$ac_site_file"; then
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2147 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2148 sed 's/^/| /' "$ac_site_file" >&5
2153 if test -r "$cache_file"; then
2154 # Some versions of bash will fail to source /dev/null (special
2155 # files actually), so we avoid doing that.
2156 if test -f "$cache_file"; then
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2158 $as_echo "$as_me: loading cache $cache_file" >&6;}
2160 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2161 *) .
"./$cache_file";;
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2166 $as_echo "$as_me: creating cache $cache_file" >&6;}
2170 # Check that the precious variables saved in the cache have kept the same
2172 ac_cache_corrupted
=false
2173 for ac_var
in $ac_precious_vars; do
2174 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2175 eval ac_new_set
=\
$ac_env_${ac_var}_set
2176 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2177 eval ac_new_val
=\
$ac_env_${ac_var}_value
2178 case $ac_old_set,$ac_new_set in
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2181 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2182 ac_cache_corrupted
=: ;;
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2185 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2186 ac_cache_corrupted
=: ;;
2189 if test "x$ac_old_val" != "x$ac_new_val"; then
2190 # differences in whitespace do not lead to failure.
2191 ac_old_val_w
=`echo x $ac_old_val`
2192 ac_new_val_w
=`echo x $ac_new_val`
2193 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2195 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2196 ac_cache_corrupted
=:
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2199 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2200 eval $ac_var=\
$ac_old_val
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2203 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2205 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2208 # Pass precious variables to config.status.
2209 if test "$ac_new_set" = set; then
2211 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2212 *) ac_arg
=$ac_var=$ac_new_val ;;
2214 case " $ac_configure_args " in
2215 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2216 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2220 if $ac_cache_corrupted; then
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2224 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2225 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2227 ## -------------------- ##
2228 ## Main body of script. ##
2229 ## -------------------- ##
2232 ac_cpp
='$CPP $CPPFLAGS'
2233 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2234 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2235 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2246 # if PWD already has a value, it is probably wrong.
2247 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2249 # Export original configure arguments for use by sub-configures.
2250 # Quote arguments with shell meta charatcers.
2251 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2252 set -- "$progname" "$@"
2256 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2257 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2258 # if the argument is of the form -foo=baz, quote the baz part only
2259 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2262 # Add the quoted argument to the list.
2263 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2265 if test "$silent" = yes; then
2266 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2268 # Remove the initial space we just introduced and, as these will be
2269 # expanded by make, quote '$'.
2270 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2273 # Find the build, host, and target systems.
2275 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2276 for ac_t
in install-sh
install.sh shtool
; do
2277 if test -f "$ac_dir/$ac_t"; then
2279 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2284 if test -z "$ac_aux_dir"; then
2285 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2288 # These three variables are undocumented and unsupported,
2289 # and are intended to be withdrawn in a future Autoconf release.
2290 # They can cause serious problems if a builder's source tree is in a directory
2291 # whose full name contains unusual characters.
2292 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2293 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2294 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2297 # Make sure we can run config.sub.
2298 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2299 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2302 $as_echo_n "checking build system type... " >&6; }
2303 if test "${ac_cv_build+set}" = set; then :
2304 $as_echo_n "(cached) " >&6
2306 ac_build_alias
=$build_alias
2307 test "x$ac_build_alias" = x
&&
2308 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2309 test "x$ac_build_alias" = x
&&
2310 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2311 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2312 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2316 $as_echo "$ac_cv_build" >&6; }
2317 case $ac_cv_build in
2319 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2322 ac_save_IFS
=$IFS; IFS
='-'
2328 # Remember, the first character of IFS is used to create $*,
2329 # except with old shells:
2332 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2335 case ${build_alias} in
2336 "") build_noncanonical
=${build} ;;
2337 *) build_noncanonical
=${build_alias} ;;
2342 case ${host_alias} in
2343 "") host_noncanonical
=${build_noncanonical} ;;
2344 *) host_noncanonical
=${host_alias} ;;
2349 case ${target_alias} in
2350 "") target_noncanonical
=${host_noncanonical} ;;
2351 *) target_noncanonical
=${target_alias} ;;
2357 test "$host_noncanonical" = "$target_noncanonical" &&
2358 test "$program_prefix$program_suffix$program_transform_name" = \
2360 program_transform_name
=s
,y
,y
,
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2363 $as_echo_n "checking host system type... " >&6; }
2364 if test "${ac_cv_host+set}" = set; then :
2365 $as_echo_n "(cached) " >&6
2367 if test "x$host_alias" = x
; then
2368 ac_cv_host
=$ac_cv_build
2370 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2371 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2376 $as_echo "$ac_cv_host" >&6; }
2379 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2382 ac_save_IFS
=$IFS; IFS
='-'
2388 # Remember, the first character of IFS is used to create $*,
2389 # except with old shells:
2392 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2396 $as_echo_n "checking target system type... " >&6; }
2397 if test "${ac_cv_target+set}" = set; then :
2398 $as_echo_n "(cached) " >&6
2400 if test "x$target_alias" = x
; then
2401 ac_cv_target
=$ac_cv_host
2403 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2404 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2409 $as_echo "$ac_cv_target" >&6; }
2410 case $ac_cv_target in
2412 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2414 target
=$ac_cv_target
2415 ac_save_IFS
=$IFS; IFS
='-'
2421 # Remember, the first character of IFS is used to create $*,
2422 # except with old shells:
2425 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2428 # The aliases save the names the user supplied, while $host etc.
2429 # will get canonicalized.
2430 test -n "$target_alias" &&
2431 test "$program_prefix$program_suffix$program_transform_name" = \
2433 program_prefix
=${target_alias}-
2435 test "$program_prefix" != NONE
&&
2436 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2437 # Use a double $ so make ignores it.
2438 test "$program_suffix" != NONE
&&
2439 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2440 # Double any \ or $.
2441 # By default was `s,x,x', remove it if useless.
2442 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2443 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2447 # Get 'install' or 'install-sh' and its variants.
2448 # Find a good install program. We prefer a C program (faster),
2449 # so one script is as good as another. But avoid the broken or
2450 # incompatible versions:
2451 # SysV /etc/install, /usr/sbin/install
2452 # SunOS /usr/etc/install
2453 # IRIX /sbin/install
2455 # AmigaOS /C/install, which installs bootblocks on floppy discs
2456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2459 # OS/2's system install, which has a completely different semantic
2460 # ./install, which can be erroneously created by make from ./install.sh.
2461 # Reject install programs that cannot install multiple files.
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2463 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2464 if test -z "$INSTALL"; then
2465 if test "${ac_cv_path_install+set}" = set; then :
2466 $as_echo_n "(cached) " >&6
2468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir
=.
2473 # Account for people who put trailing slashes in PATH elements.
2474 case $as_dir/ in #((
2475 .
/ | .
// |
/[cC
]/* | \
2476 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2477 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2480 # OSF1 and SCO ODT 3.0 have their own names for install.
2481 # Don't use installbsd from OSF since it installs stuff as root
2483 for ac_prog
in ginstall scoinst
install; do
2484 for ac_exec_ext
in '' $ac_executable_extensions; do
2485 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2486 if test $ac_prog = install &&
2487 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2488 # AIX install. It has an incompatible calling convention.
2490 elif test $ac_prog = install &&
2491 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2492 # program-specific install script used by HP pwplus--don't use.
2495 rm -rf conftest.one conftest.two conftest.dir
2496 echo one
> conftest.one
2497 echo two
> conftest.two
2499 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2500 test -s conftest.one
&& test -s conftest.two
&&
2501 test -s conftest.dir
/conftest.one
&&
2502 test -s conftest.dir
/conftest.two
2504 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2517 rm -rf conftest.one conftest.two conftest.dir
2520 if test "${ac_cv_path_install+set}" = set; then
2521 INSTALL
=$ac_cv_path_install
2523 # As a last resort, use the slow shell script. Don't cache a
2524 # value for INSTALL within a source directory, because that will
2525 # break other packages using the cache if that directory is
2526 # removed, or if the value is a relative name.
2527 INSTALL
=$ac_install_sh
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2531 $as_echo "$INSTALL" >&6; }
2533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2534 # It thinks the first close brace ends the variable substitution.
2535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2539 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2542 $as_echo_n "checking whether ln works... " >&6; }
2543 if test "${acx_cv_prog_LN+set}" = set; then :
2544 $as_echo_n "(cached) " >&6
2546 rm -f conftestdata_t
2547 echo >conftestdata_f
2548 if ln conftestdata_f conftestdata_t
2>/dev
/null
2554 rm -f conftestdata_f conftestdata_t
2557 if test $acx_cv_prog_LN = no
; then
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2560 $as_echo "no, using $LN" >&6; }
2562 LN
="$acx_cv_prog_LN"
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2564 $as_echo "yes" >&6; }
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2568 $as_echo_n "checking whether ln -s works... " >&6; }
2570 if test "$LN_S" = "ln -s"; then
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2572 $as_echo "yes" >&6; }
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2575 $as_echo "no, using $LN_S" >&6; }
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2579 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2580 if test "${ac_cv_path_SED+set}" = set; then :
2581 $as_echo_n "(cached) " >&6
2583 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2584 for ac_i
in 1 2 3 4 5 6 7; do
2585 ac_script
="$ac_script$as_nl$ac_script"
2587 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2588 { ac_script
=; unset ac_script
;}
2589 if test -z "$SED"; then
2590 ac_path_SED_found
=false
2591 # Loop through the user's path and test for each of PROGNAME-LIST
2592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2596 test -z "$as_dir" && as_dir
=.
2597 for ac_prog
in sed gsed
; do
2598 for ac_exec_ext
in '' $ac_executable_extensions; do
2599 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2600 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2601 # Check for GNU ac_path_SED and select it if it is found.
2602 # Check for GNU $ac_path_SED
2603 case `"$ac_path_SED" --version 2>&1` in
2605 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2608 $as_echo_n 0123456789 >"conftest.in"
2611 cat "conftest.in" "conftest.in" >"conftest.tmp"
2612 mv "conftest.tmp" "conftest.in"
2613 cp "conftest.in" "conftest.nl"
2614 $as_echo '' >> "conftest.nl"
2615 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2616 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2617 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2618 if test $ac_count -gt ${ac_path_SED_max-0}; then
2619 # Best one so far, save it but keep looking for a better one
2620 ac_cv_path_SED
="$ac_path_SED"
2621 ac_path_SED_max
=$ac_count
2623 # 10*(2^10) chars as input seems more than enough
2624 test $ac_count -gt 10 && break
2626 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2629 $ac_path_SED_found && break 3
2634 if test -z "$ac_cv_path_SED"; then
2635 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2643 $as_echo "$ac_cv_path_SED" >&6; }
2644 SED
="$ac_cv_path_SED"
2647 for ac_prog
in gawk mawk nawk
awk
2649 # Extract the first word of "$ac_prog", so it can be a program name with args.
2650 set dummy
$ac_prog; ac_word
=$2
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2652 $as_echo_n "checking for $ac_word... " >&6; }
2653 if test "${ac_cv_prog_AWK+set}" = set; then :
2654 $as_echo_n "(cached) " >&6
2656 if test -n "$AWK"; then
2657 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2663 test -z "$as_dir" && as_dir
=.
2664 for ac_exec_ext
in '' $ac_executable_extensions; do
2665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2666 ac_cv_prog_AWK
="$ac_prog"
2667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2677 if test -n "$AWK"; then
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2679 $as_echo "$AWK" >&6; }
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2682 $as_echo "no" >&6; }
2686 test -n "$AWK" && break
2690 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2692 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2694 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2695 INSTALL
="${srcpwd}/install-sh -c"
2698 # Set srcdir to "." if that's what it is.
2699 # This is important for multilib support.
2701 if test "${pwd}" = "${srcpwd}" ; then
2709 ### To add a new directory to the tree, first choose whether it is a target
2710 ### or a host dependent tool. Then put it into the appropriate list
2711 ### (library or tools, host or target), doing a dependency sort.
2713 # Subdirs will be configured in the order listed in build_configdirs,
2714 # configdirs, or target_configdirs; see the serialization section below.
2716 # Dependency sorting is only needed when *configuration* must be done in
2717 # a particular order. In all cases a dependency should be specified in
2718 # the Makefile, whether or not it's implicitly specified here.
2720 # Double entries in build_configdirs, configdirs, or target_configdirs may
2721 # cause circular dependencies and break everything horribly.
2723 # these library is used by various programs built for the build
2726 build_libs
="build-libiberty build-libcpp"
2728 # these tools are built for the build environment
2729 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2731 # these libraries are used by various programs built for the host environment
2733 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2735 # these tools are built for the host environment
2736 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2737 # know that we are building the simulator.
2738 # binutils, gas and ld appear in that order because it makes sense to run
2739 # "make check" in that particular order.
2740 # If --enable-gold is used, "gold" may replace "ld".
2741 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"
2743 # these libraries are built for the target environment, and are built after
2744 # the host libraries and the host tools (which may be a cross compiler)
2745 # Note that libiberty is not a target library.
2746 target_libraries
="target-libgcc \
2747 target-libbacktrace \
2752 target-liboffloadmic \
2755 target-libstdc++-v3 \
2756 target-libsanitizer \
2760 target-libquadmath \
2761 target-libgfortran \
2767 # these tools are built using the target libraries, and are intended to
2768 # run only in the target environment
2770 # note: any program that *uses* libraries that are in the "target_libraries"
2771 # list belongs in this list.
2773 target_tools
="target-rda"
2775 ################################################################################
2777 ## All tools belong in one of the four categories, and are assigned above
2778 ## We assign ${configdirs} this way to remove all embedded newlines. This
2779 ## is important because configure will choke if they ever get through.
2780 ## ${configdirs} is directories we build using the host tools.
2781 ## ${target_configdirs} is directories we build using the target tools.
2782 configdirs
=`echo ${host_libs} ${host_tools}`
2783 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2784 build_configdirs
=`echo ${build_libs} ${build_tools}`
2788 ################################################################################
2790 srcname
="gnu development package"
2792 # This gets set non-empty for some net releases of packages.
2795 # Define is_cross_compiler to save on calls to 'test'.
2797 if test x
"${host}" = x
"${target}" ; then
2798 is_cross_compiler
=no
2800 is_cross_compiler
=yes
2803 # Find the build and target subdir names.
2805 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2806 # have matching libraries, they should use host libraries: Makefile.tpl
2807 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2808 # However, they still use the build modules, because the corresponding
2809 # host modules (e.g. bison) are only built for the host when bootstrap
2811 # - build_subdir is where we find build modules, and never changes.
2812 # - build_libsubdir is where we find build libraries, and can be overridden.
2814 # Prefix 'build-' so this never conflicts with target_subdir.
2815 build_subdir
="build-${build_noncanonical}"
2817 # Check whether --with-build-libsubdir was given.
2818 if test "${with_build_libsubdir+set}" = set; then :
2819 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2821 build_libsubdir
="$build_subdir"
2824 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2825 if ( test $srcdir = .
&& test -d gcc
) \
2826 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2827 host_subdir
="host-${host_noncanonical}"
2832 target_subdir
=${target_noncanonical}
2834 # Be sure to cover against remnants of an in-tree build.
2835 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2836 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2837 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2840 # Skipdirs are removed silently.
2842 # Noconfigdirs are removed loudly.
2846 # Make sure we don't let GNU ld be added if we didn't want it.
2847 if test x
$with_gnu_ld = xno
; then
2849 noconfigdirs
="$noconfigdirs ld gold"
2853 # Make sure we don't let GNU as be added if we didn't want it.
2854 if test x
$with_gnu_as = xno
; then
2856 noconfigdirs
="$noconfigdirs gas"
2861 # Check whether --with-system-zlib was given.
2862 if test "${with_system_zlib+set}" = set; then :
2863 withval
=$with_system_zlib;
2866 # Make sure we don't let ZLIB be added if we didn't want it.
2867 if test x
$with_system_zlib = xyes
; then
2868 use_included_zlib
=no
2869 noconfigdirs
="$noconfigdirs zlib"
2872 # some tools are so dependent upon X11 that if we're not building with X,
2873 # it's not even worth trying to configure, much less build, that tool.
2876 yes |
"") ;; # the default value for this tree is that X11 is available
2878 skipdirs
="${skipdirs} tk itcl libgui"
2879 # We won't be able to build gdbtk without X.
2882 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2885 # Some are only suitable for cross toolchains.
2886 # Remove these if host=target.
2887 cross_only
="target-libgloss target-newlib target-opcodes"
2889 case $is_cross_compiler in
2890 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2893 # If both --with-headers and --with-libs are specified, default to
2895 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2896 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2897 if test x
"${with_newlib}" = x
; then
2902 # Recognize --with-newlib/--without-newlib.
2903 case ${with_newlib} in
2904 no
) skipdirs
="${skipdirs} target-newlib" ;;
2905 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2908 # Check whether --enable-as-accelerator-for was given.
2909 if test "${enable_as_accelerator_for+set}" = set; then :
2910 enableval
=$enable_as_accelerator_for;
2914 # Check whether --enable-offload-targets was given.
2915 if test "${enable_offload_targets+set}" = set; then :
2916 enableval
=$enable_offload_targets;
2917 if test x
"$enable_offload_targets" = x
; then
2918 as_fn_error
"no offload targets specified" "$LINENO" 5
2922 enable_offload_targets
=
2926 # Handle --enable-gold, --enable-ld.
2927 # --disable-gold [--enable-ld]
2928 # Build only ld. Default option.
2929 # --enable-gold [--enable-ld]
2930 # Build both gold and ld. Install gold as "ld.gold", install ld
2931 # as "ld.bfd" and "ld".
2932 # --enable-gold=default [--enable-ld]
2933 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2934 # install ld as "ld.bfd".
2935 # --enable-gold[=default] --disable-ld
2936 # Build only gold, which is then installed as both "ld.gold" and "ld".
2937 # --enable-gold --enable-ld=default
2938 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2940 # In other words, ld is default
2941 # --enable-gold=default --enable-ld=default
2945 # Check whether --enable-gold was given.
2946 if test "${enable_gold+set}" = set; then :
2947 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2952 case "${ENABLE_GOLD}" in
2954 # Check for ELF target.
2957 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2958 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2959 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2960 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2962 *-*-linux*aout
* |
*-*-linux*oldld
*)
2970 if test "$is_elf" = "yes"; then
2971 # Check for target supported by gold.
2973 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
2974 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
2975 configdirs
="$configdirs gold"
2976 if test x
${ENABLE_GOLD} = xdefault
; then
2987 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2991 # Check whether --enable-ld was given.
2992 if test "${enable_ld+set}" = set; then :
2993 enableval
=$enable_ld; ENABLE_LD
=$enableval
2999 case "${ENABLE_LD}" in
3001 if test x
${default_ld} != x
; then
3002 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
3008 if test x
${ENABLE_GOLD} != xyes
; then
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3010 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3012 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3015 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3020 # Decide the default method for compressing debug sections.
3021 # Provide a configure time option to override our default.
3022 # Check whether --enable-compressed_debug_sections was given.
3023 if test "${enable_compressed_debug_sections+set}" = set; then :
3024 enableval
=$enable_compressed_debug_sections;
3025 if test x
"$enable_compressed_debug_sections" = xyes
; then
3026 as_fn_error
"no program with compressed debug sections specified" "$LINENO" 5
3030 enable_compressed_debug_sections
=
3034 # Configure extra directories which are host specific
3038 configdirs
="$configdirs libtermcap" ;;
3041 # A target can indicate whether a language isn't supported for some reason.
3042 # Only spaces may be used in this macro; not newlines or tabs.
3043 unsupported_languages
=
3045 # Remove more programs from consideration, based on the host or
3046 # target this usually means that a port of the program doesn't
3050 i
[3456789]86-*-msdosdjgpp*)
3051 noconfigdirs
="$noconfigdirs tcl tk itcl"
3056 # Check whether --enable-libquadmath was given.
3057 if test "${enable_libquadmath+set}" = set; then :
3058 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3060 ENABLE_LIBQUADMATH
=yes
3063 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3064 noconfigdirs
="$noconfigdirs target-libquadmath"
3068 # Check whether --enable-libquadmath-support was given.
3069 if test "${enable_libquadmath_support+set}" = set; then :
3070 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3072 ENABLE_LIBQUADMATH_SUPPORT
=yes
3075 enable_libquadmath_support
=
3076 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3077 enable_libquadmath_support
=no
3081 # Check whether --enable-libada was given.
3082 if test "${enable_libada+set}" = set; then :
3083 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3088 if test "${ENABLE_LIBADA}" != "yes" ; then
3089 noconfigdirs
="$noconfigdirs gnattools"
3092 # Check whether --enable-libssp was given.
3093 if test "${enable_libssp+set}" = set; then :
3094 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3100 # Check whether --enable-libstdcxx was given.
3101 if test "${enable_libstdcxx+set}" = set; then :
3102 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3104 ENABLE_LIBSTDCXX
=default
3107 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3108 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3111 # If this is accelerator compiler and its target is intelmic we enable
3112 # target liboffloadmic by default. If this is compiler with offloading
3113 # for intelmic we enable host liboffloadmic by default. Otherwise
3114 # liboffloadmic is disabled by default.
3115 # Check whether --enable-liboffloadmic was given.
3116 if test "${enable_liboffloadmic+set}" = set; then :
3117 enableval
=$enable_liboffloadmic; case "$enableval" in
3119 enable_liboffloadmic
=$enableval ;;
3121 as_fn_error
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3124 if test x
"$enable_as_accelerator_for" != x
; then
3126 *-intelmic-* |
*-intelmicemul-*)
3127 enable_liboffloadmic
=target
3128 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3131 enable_liboffloadmic
=no
3135 case "${enable_offload_targets}" in
3136 *-intelmic-* |
*-intelmicemul-*)
3137 enable_liboffloadmic
=host
3138 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3141 enable_liboffloadmic
=no
3149 # Enable libgomp by default on hosted POSIX systems, and a few others.
3150 if test x
$enable_libgomp = x
; then
3152 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3154 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3156 *-*-solaris2* |
*-*-hpux11*)
3158 *-*-darwin* |
*-*-aix*)
3163 noconfigdirs
="$noconfigdirs target-libgomp"
3168 # Disable libatomic on unsupported systems.
3169 if test -d ${srcdir}/libatomic
; then
3170 if test x
$enable_libatomic = x
; then
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3172 $as_echo_n "checking for libatomic support... " >&6; }
3173 if (srcdir
=${srcdir}/libatomic
; \
3174 .
${srcdir}/configure.tgt
; \
3175 test -n "$UNSUPPORTED")
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3179 noconfigdirs
="$noconfigdirs target-libatomic"
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3182 $as_echo "yes" >&6; }
3187 # Disable libcilkrts on unsupported systems.
3188 if test -d ${srcdir}/libcilkrts
; then
3189 if test x
$enable_libcilkrts = x
; then
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3191 $as_echo_n "checking for libcilkrts support... " >&6; }
3192 if (srcdir
=${srcdir}/libcilkrts
; \
3193 .
${srcdir}/configure.tgt
; \
3194 test -n "$UNSUPPORTED")
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3197 $as_echo "no" >&6; }
3198 noconfigdirs
="$noconfigdirs target-libcilkrts"
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3201 $as_echo "yes" >&6; }
3206 # Disable liboffloadmic on unsupported systems.
3207 if test -d ${srcdir}/liboffloadmic
; then
3208 if test x
$enable_liboffloadmic != xno
; then
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3210 $as_echo_n "checking for liboffloadmic support... " >&6; }
3211 if (srcdir
=${srcdir}/liboffloadmic
; \
3212 .
${srcdir}/configure.tgt
; \
3213 test -n "$UNSUPPORTED")
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216 $as_echo "no" >&6; }
3217 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220 $as_echo "yes" >&6; }
3225 # Disable libitm on unsupported systems.
3226 if test -d ${srcdir}/libitm
; then
3227 if test x
$enable_libitm = x
; then
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3229 $as_echo_n "checking for libitm support... " >&6; }
3230 if (srcdir
=${srcdir}/libitm
; \
3231 .
${srcdir}/configure.tgt
; \
3232 test -n "$UNSUPPORTED")
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3235 $as_echo "no" >&6; }
3236 noconfigdirs
="$noconfigdirs target-libitm"
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3239 $as_echo "yes" >&6; }
3244 # Disable libsanitizer on unsupported systems.
3245 if test -d ${srcdir}/libsanitizer
; then
3246 if test x
$enable_libsanitizer = x
; then
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3248 $as_echo_n "checking for libsanitizer support... " >&6; }
3249 if (srcdir
=${srcdir}/libsanitizer
; \
3250 .
${srcdir}/configure.tgt
; \
3251 test -n "$UNSUPPORTED")
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3255 noconfigdirs
="$noconfigdirs target-libsanitizer"
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3258 $as_echo "yes" >&6; }
3263 # Disable libvtv on unsupported systems.
3264 if test -d ${srcdir}/libvtv
; then
3265 if test x
$enable_libvtv = x
; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3267 $as_echo_n "checking for libvtv support... " >&6; }
3268 if (srcdir
=${srcdir}/libvtv
; \
3269 .
${srcdir}/configure.tgt
; \
3270 test "$VTV_SUPPORTED" != "yes")
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3273 $as_echo "no" >&6; }
3274 noconfigdirs
="$noconfigdirs target-libvtv"
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3277 $as_echo "yes" >&6; }
3283 # Enable libmpx on supported systems by request.
3284 if test -d ${srcdir}/libmpx
; then
3285 if test x
$enable_libmpx = x
; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpx support" >&5
3287 $as_echo_n "checking for libmpx support... " >&6; }
3288 if (srcdir
=${srcdir}/libmpx
; \
3289 .
${srcdir}/configure.tgt
; \
3290 test "$LIBMPX_SUPPORTED" != "yes")
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293 $as_echo "no" >&6; }
3294 noconfigdirs
="$noconfigdirs target-libmpx"
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3297 $as_echo "yes" >&6; }
3304 # Disable libquadmath for some systems.
3307 noconfigdirs
="$noconfigdirs target-libquadmath"
3309 # libquadmath is unused on AIX and libquadmath build process use of
3310 # LD_LIBRARY_PATH can break AIX bootstrap.
3311 powerpc-
*-aix* | rs6000-
*-aix*)
3312 noconfigdirs
="$noconfigdirs target-libquadmath"
3316 # Disable libssp for some systems.
3319 # No hosted I/O support.
3320 noconfigdirs
="$noconfigdirs target-libssp"
3322 powerpc-
*-aix* | rs6000-
*-aix*)
3323 noconfigdirs
="$noconfigdirs target-libssp"
3326 # libssp uses a misaligned load to trigger a fault, but the RL78
3327 # doesn't fault for those - instead, it gives a build-time error
3328 # for explicit misaligned loads.
3329 noconfigdirs
="$noconfigdirs target-libssp"
3332 # No hosted I/O support.
3333 noconfigdirs
="$noconfigdirs target-libssp"
3337 # Disable libstdc++-v3 for some systems.
3338 # Allow user to override this if they pass --enable-libstdc++-v3
3339 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3342 # VxWorks uses the Dinkumware C++ library.
3343 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3346 # the C++ libraries don't build on top of CE's C libraries
3347 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3350 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3353 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3358 # Disable Fortran for some systems.
3361 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3362 unsupported_languages
="$unsupported_languages fortran"
3366 # Disable libffi for some systems.
3370 i
[3456789]86-*-darwin*)
3372 x86_64-
*-darwin[912]*)
3375 noconfigdirs
="$noconfigdirs target-libffi"
3378 noconfigdirs
="$noconfigdirs target-libffi"
3381 noconfigdirs
="$noconfigdirs target-libffi"
3384 noconfigdirs
="$noconfigdirs target-libffi"
3387 noconfigdirs
="$noconfigdirs target-libffi"
3390 noconfigdirs
="$noconfigdirs target-libffi"
3393 noconfigdirs
="$noconfigdirs target-libffi"
3395 aarch64
*-*-freebsd*)
3396 noconfigdirs
="$noconfigdirs target-libffi"
3399 noconfigdirs
="$noconfigdirs target-libffi"
3402 noconfigdirs
="$noconfigdirs target-libffi"
3405 noconfigdirs
="$noconfigdirs target-libffi"
3408 noconfigdirs
="$noconfigdirs target-libffi"
3410 cris-
*-* | crisv32-
*-*)
3414 *) # See PR46792 regarding target-libffi.
3415 noconfigdirs
="$noconfigdirs target-libffi";;
3419 noconfigdirs
="$noconfigdirs target-libffi"
3424 noconfigdirs
="$noconfigdirs target-libffi"
3427 noconfigdirs
="$noconfigdirs target-libffi"
3429 i
[3456789]86-w64-mingw*)
3430 noconfigdirs
="$noconfigdirs target-libffi"
3432 i
[3456789]86-*-mingw*)
3433 noconfigdirs
="$noconfigdirs target-libffi"
3436 noconfigdirs
="$noconfigdirs target-libffi"
3439 noconfigdirs
="$noconfigdirs target-libffi"
3442 # copied from rs6000-*-* entry
3443 noconfigdirs
="$noconfigdirs target-libffi"
3446 noconfigdirs
="$noconfigdirs target-libffi"
3449 noconfigdirs
="$noconfigdirs target-libffi"
3452 noconfigdirs
="$noconfigdirs target-libffi"
3456 # Disable the go frontend on systems where it is known to not work. Please keep
3457 # this in sync with contrib/config-list.mk.
3459 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3460 unsupported_languages
="$unsupported_languages go"
3464 # Disable libgo for some systems where it is known to not work.
3465 # For testing, you can easily override this with --enable-libgo.
3466 if test x
$enable_libgo = x
; then
3470 noconfigdirs
="$noconfigdirs target-libgo"
3472 *-*-cygwin* |
*-*-mingw*)
3473 noconfigdirs
="$noconfigdirs target-libgo"
3476 noconfigdirs
="$noconfigdirs target-libgo"
3481 # Default libgloss CPU subdirectory.
3482 libgloss_dir
="$target_cpu"
3485 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3489 libgloss_dir
=aarch64
3494 cris-
*-* | crisv32-
*-*)
3503 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3504 libgloss_dir
=m68hc11
3506 m68
*-*-* | fido-
*-*)
3520 # Disable newlib and libgloss for various target OSes.
3523 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3525 i
[3456789]86-*-linux*)
3526 # This section makes it possible to build newlib natively on linux.
3527 # If we are using a cross compiler then don't configure newlib.
3528 if test x
${is_cross_compiler} != xno
; then
3529 noconfigdirs
="$noconfigdirs target-newlib"
3531 noconfigdirs
="$noconfigdirs target-libgloss"
3532 # If we are not using a cross compiler, do configure newlib.
3533 # Note however, that newlib will only be configured in this situation
3534 # if the --with-newlib option has been given, because otherwise
3535 # 'target-newlib' will appear in skipdirs.
3537 i
[3456789]86-*-rdos*)
3538 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3540 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3541 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3544 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3547 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3550 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3553 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3556 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3559 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3561 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
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"
3580 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3583 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3591 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3592 noconfigdirs
="$noconfigdirs sim target-rda"
3595 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3596 noconfigdirs
="$noconfigdirs sim target-rda"
3599 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3600 noconfigdirs
="$noconfigdirs sim target-rda"
3602 i
[3456789]86-*-darwin*)
3603 noconfigdirs
="$noconfigdirs ld gprof"
3604 noconfigdirs
="$noconfigdirs sim target-rda"
3606 x86_64-
*-darwin[912]*)
3607 noconfigdirs
="$noconfigdirs ld gas gprof"
3608 noconfigdirs
="$noconfigdirs sim target-rda"
3611 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3612 noconfigdirs
="$noconfigdirs sim target-rda"
3617 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3618 && test -f /usr
/local
/include
/gmp.h
; then
3623 # Remove unsupported stuff on all kaOS configurations.
3624 noconfigdirs
="$noconfigdirs target-libgloss"
3631 noconfigdirs
="$noconfigdirs target-libgloss"
3634 noconfigdirs
="$noconfigdirs target-libgloss"
3635 # this is not caught below because this stanza matches earlier
3637 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3640 # The tpf target doesn't support gdb yet.
3642 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3645 noconfigdirs
="$noconfigdirs target-rda"
3650 # ld works, but does not support shared libraries.
3651 # gas doesn't generate exception information.
3652 noconfigdirs
="$noconfigdirs gas ld"
3655 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3658 # newlib is not 64 bit ready
3659 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3661 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3662 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3665 noconfigdirs
="$noconfigdirs sim"
3668 noconfigdirs
="$noconfigdirs target-libgloss"
3671 noconfigdirs
="$noconfigdirs ld target-libgloss"
3674 if test x
${with_avrlibc} != xno
; then
3675 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3678 c4x-
*-* | tic4x-
*-*)
3679 noconfigdirs
="$noconfigdirs target-libgloss"
3682 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3685 noconfigdirs
="$noconfigdirs target-libgloss"
3688 noconfigdirs
="$noconfigdirs gdb"
3691 noconfigdirs
="$noconfigdirs gdb"
3694 noconfigdirs
="$noconfigdirs target-rda gprof"
3697 noconfigdirs
="$noconfigdirs"
3700 noconfigdirs
="$noconfigdirs target-libgloss"
3703 noconfigdirs
="$noconfigdirs target-libgloss"
3705 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3708 noconfigdirs
="$noconfigdirs gdb"
3711 noconfigdirs
="$noconfigdirs gdb ld"
3719 hppa
*-*-openbsd* | \
3725 noconfigdirs
="$noconfigdirs ld"
3728 noconfigdirs
="$noconfigdirs gdb"
3731 # No gdb support yet.
3732 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3735 # No ld support yet.
3736 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3739 # No ld support yet.
3740 noconfigdirs
="$noconfigdirs libgui itcl ld"
3742 i
[3456789]86-w64-mingw*)
3744 i
[3456789]86-*-mingw*)
3745 target_configdirs
="$target_configdirs target-winsup"
3748 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3749 noconfigdirs
="$noconfigdirs target-libgloss"
3750 # always build newlib if winsup directory is present.
3751 if test -d "$srcdir/winsup/cygwin"; then
3752 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3753 elif test -d "$srcdir/newlib"; then
3754 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3758 noconfigdirs
="$noconfigdirs target-libgloss"
3760 i
[3456789]86-*-sco3.2v5
*)
3761 # The linker does not yet know about weak symbols in COFF,
3762 # and is not configured to handle mixed ELF and COFF.
3763 noconfigdirs
="$noconfigdirs ld target-libgloss"
3765 i
[3456789]86-*-sco*)
3766 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3768 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3769 noconfigdirs
="$noconfigdirs target-libgloss"
3771 i
[3456789]86-*-sysv4*)
3772 noconfigdirs
="$noconfigdirs target-libgloss"
3774 i
[3456789]86-*-beos*)
3775 noconfigdirs
="$noconfigdirs gdb"
3777 i
[3456789]86-*-rdos*)
3778 noconfigdirs
="$noconfigdirs gdb"
3781 noconfigdirs
="$noconfigdirs gdb"
3784 noconfigdirs
="$noconfigdirs sim"
3787 # copied from rs6000-*-* entry
3788 noconfigdirs
="$noconfigdirs gprof"
3790 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3791 target_configdirs
="$target_configdirs target-winsup"
3792 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3793 # always build newlib.
3794 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3796 # This is temporary until we can link against shared libraries
3797 powerpcle-
*-solaris*)
3798 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3801 noconfigdirs
="$noconfigdirs gdb"
3804 noconfigdirs
="$noconfigdirs gprof"
3807 noconfigdirs
="$noconfigdirs gprof"
3810 noconfigdirs
="$noconfigdirs gprof"
3813 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3816 noconfigdirs
="$noconfigdirs gprof"
3818 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3819 if test x
$with_newlib = xyes
; then
3820 noconfigdirs
="$noconfigdirs gprof"
3824 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3827 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3830 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3834 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3835 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3836 noconfigdirs
="$noconfigdirs ld gas gprof"
3839 noconfigdirs
="$noconfigdirs gprof"
3842 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3845 noconfigdirs
="$noconfigdirs gdb"
3852 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3856 if test x
${is_cross_compiler} = xno
; then
3861 noconfigdirs
="$noconfigdirs sim"
3863 tilepro
*-*-* | tilegx
*-*-*)
3864 noconfigdirs
="$noconfigdirs sim"
3867 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3870 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3874 # If we aren't building newlib, then don't build libgloss, since libgloss
3875 # depends upon some newlib header files.
3876 case "${noconfigdirs}" in
3877 *target-libgloss
*) ;;
3878 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3881 # Work in distributions that contain no compiler tools, like Autoconf.
3882 host_makefile_frag
=/dev
/null
3883 if test -d ${srcdir}/config
; then
3885 i
[3456789]86-*-msdosdjgpp*)
3886 host_makefile_frag
="config/mh-djgpp"
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3891 $as_echo_n "checking to see if cat works as expected... " >&6; }
3892 echo a
>cygwin-cat-check
3893 if test `cat cygwin-cat-check` = a
; then
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3896 $as_echo "yes" >&6; }
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3900 $as_echo "no" >&6; }
3901 as_fn_error
"The cat command does not ignore carriage return characters.
3902 Please either mount the build directory in binary mode or run the following
3903 commands before running any configure script:
3909 host_makefile_frag
="config/mh-cygwin"
3912 host_makefile_frag
="config/mh-mingw"
3915 host_makefile_frag
="config/mh-alpha-linux"
3918 host_makefile_frag
="config/mh-pa-hpux10"
3921 host_makefile_frag
="config/mh-pa"
3924 host_makefile_frag
="config/mh-pa"
3927 host_makefile_frag
="config/mh-darwin"
3930 host_makefile_frag
="config/mh-ppc-aix"
3933 host_makefile_frag
="config/mh-ppc-aix"
3938 if test "${build}" != "${host}" ; then
3939 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3940 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3941 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3942 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3943 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3944 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3945 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3946 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3947 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3948 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3949 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3950 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3952 AR_FOR_BUILD
="\$(AR)"
3953 AS_FOR_BUILD
="\$(AS)"
3954 CC_FOR_BUILD
="\$(CC)"
3955 CXX_FOR_BUILD
="\$(CXX)"
3956 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3957 GOC_FOR_BUILD
="\$(GOC)"
3958 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3959 LD_FOR_BUILD
="\$(LD)"
3960 NM_FOR_BUILD
="\$(NM)"
3961 RANLIB_FOR_BUILD
="\$(RANLIB)"
3962 WINDRES_FOR_BUILD
="\$(WINDRES)"
3963 WINDMC_FOR_BUILD
="\$(WINDMC)"
3967 ac_cpp
='$CPP $CPPFLAGS'
3968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3971 if test -n "$ac_tool_prefix"; then
3972 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3973 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3975 $as_echo_n "checking for $ac_word... " >&6; }
3976 if test "${ac_cv_prog_CC+set}" = set; then :
3977 $as_echo_n "(cached) " >&6
3979 if test -n "$CC"; then
3980 ac_cv_prog_CC
="$CC" # Let the user override the test.
3982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3986 test -z "$as_dir" && as_dir
=.
3987 for ac_exec_ext
in '' $ac_executable_extensions; do
3988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3989 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 if test -n "$CC"; then
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4002 $as_echo "$CC" >&6; }
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4010 if test -z "$ac_cv_prog_CC"; then
4012 # Extract the first word of "gcc", so it can be a program name with args.
4013 set dummy gcc
; ac_word
=$2
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4015 $as_echo_n "checking for $ac_word... " >&6; }
4016 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4017 $as_echo_n "(cached) " >&6
4019 if test -n "$ac_ct_CC"; then
4020 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4026 test -z "$as_dir" && as_dir
=.
4027 for ac_exec_ext
in '' $ac_executable_extensions; do
4028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4029 ac_cv_prog_ac_ct_CC
="gcc"
4030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4039 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4040 if test -n "$ac_ct_CC"; then
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4042 $as_echo "$ac_ct_CC" >&6; }
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4045 $as_echo "no" >&6; }
4048 if test "x$ac_ct_CC" = x
; then
4051 case $cross_compiling:$ac_tool_warned in
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4055 ac_tool_warned
=yes ;;
4063 if test -z "$CC"; then
4064 if test -n "$ac_tool_prefix"; then
4065 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4066 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4068 $as_echo_n "checking for $ac_word... " >&6; }
4069 if test "${ac_cv_prog_CC+set}" = set; then :
4070 $as_echo_n "(cached) " >&6
4072 if test -n "$CC"; then
4073 ac_cv_prog_CC
="$CC" # Let the user override the test.
4075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4079 test -z "$as_dir" && as_dir
=.
4080 for ac_exec_ext
in '' $ac_executable_extensions; do
4081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4082 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4093 if test -n "$CC"; then
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4095 $as_echo "$CC" >&6; }
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4098 $as_echo "no" >&6; }
4104 if test -z "$CC"; then
4105 # Extract the first word of "cc", so it can be a program name with args.
4106 set dummy cc
; ac_word
=$2
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4108 $as_echo_n "checking for $ac_word... " >&6; }
4109 if test "${ac_cv_prog_CC+set}" = set; then :
4110 $as_echo_n "(cached) " >&6
4112 if test -n "$CC"; then
4113 ac_cv_prog_CC
="$CC" # Let the user override the test.
4116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4120 test -z "$as_dir" && as_dir
=.
4121 for ac_exec_ext
in '' $ac_executable_extensions; do
4122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4123 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4124 ac_prog_rejected
=yes
4128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4135 if test $ac_prog_rejected = yes; then
4136 # We found a bogon in the path, so make sure we never use it.
4137 set dummy
$ac_cv_prog_CC
4139 if test $# != 0; then
4140 # We chose a different compiler from the bogus one.
4141 # However, it has the same basename, so the bogon will be chosen
4142 # first if we set CC to just the basename; use the full file name.
4144 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4150 if test -n "$CC"; then
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4152 $as_echo "$CC" >&6; }
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4155 $as_echo "no" >&6; }
4160 if test -z "$CC"; then
4161 if test -n "$ac_tool_prefix"; then
4162 for ac_prog
in cl.exe
4164 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4165 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4167 $as_echo_n "checking for $ac_word... " >&6; }
4168 if test "${ac_cv_prog_CC+set}" = set; then :
4169 $as_echo_n "(cached) " >&6
4171 if test -n "$CC"; then
4172 ac_cv_prog_CC
="$CC" # Let the user override the test.
4174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4178 test -z "$as_dir" && as_dir
=.
4179 for ac_exec_ext
in '' $ac_executable_extensions; do
4180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4181 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4192 if test -n "$CC"; then
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4194 $as_echo "$CC" >&6; }
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4197 $as_echo "no" >&6; }
4201 test -n "$CC" && break
4204 if test -z "$CC"; then
4206 for ac_prog
in cl.exe
4208 # Extract the first word of "$ac_prog", so it can be a program name with args.
4209 set dummy
$ac_prog; ac_word
=$2
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4211 $as_echo_n "checking for $ac_word... " >&6; }
4212 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4213 $as_echo_n "(cached) " >&6
4215 if test -n "$ac_ct_CC"; then
4216 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4222 test -z "$as_dir" && as_dir
=.
4223 for ac_exec_ext
in '' $ac_executable_extensions; do
4224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4225 ac_cv_prog_ac_ct_CC
="$ac_prog"
4226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4235 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4236 if test -n "$ac_ct_CC"; then
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4238 $as_echo "$ac_ct_CC" >&6; }
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4241 $as_echo "no" >&6; }
4245 test -n "$ac_ct_CC" && break
4248 if test "x$ac_ct_CC" = x
; then
4251 case $cross_compiling:$ac_tool_warned in
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4255 ac_tool_warned
=yes ;;
4264 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4266 as_fn_error
"no acceptable C compiler found in \$PATH
4267 See \`config.log' for more details." "$LINENO" 5; }
4269 # Provide some information about the compiler.
4270 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4273 for ac_option
in --version -v -V -qversion; do
4274 { { ac_try
="$ac_compiler $ac_option >&5"
4276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4277 *) ac_try_echo=$ac_try;;
4279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4280 $as_echo "$ac_try_echo"; } >&5
4281 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4283 if test -s conftest.err; then
4285 ... rest of stderr output deleted ...
4286 10q' conftest.err >conftest.er1
4287 cat conftest.er1 >&5
4288 rm -f conftest.er1 conftest.err
4290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4291 test $ac_status = 0; }
4294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4295 /* end confdefs.h. */
4305 ac_clean_files_save=$ac_clean_files
4306 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4307 # Try to create an executable without -o first, disregard a.out.
4308 # It will help us diagnose broken compilers, and finding out an intuition
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4311 $as_echo_n "checking for C compiler default output file name... " >&6; }
4312 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4314 # The possible output files:
4315 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4318 for ac_file in $ac_files
4321 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4322 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4327 if { { ac_try="$ac_link_default"
4329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4330 *) ac_try_echo
=$ac_try;;
4332 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4333 $as_echo "$ac_try_echo"; } >&5
4334 (eval "$ac_link_default") 2>&5
4336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4337 test $ac_status = 0; }; then :
4338 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4339 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4340 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4341 # so that the user can short-circuit this test for compilers unknown to
4343 for ac_file
in $ac_files ''
4345 test -f "$ac_file" ||
continue
4347 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4350 # We found the default executable, but exeext='' is most
4354 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4356 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4358 # We set ac_cv_exeext here because the later test for it is not
4359 # safe: cross compilers may not add the suffix if given an `-o'
4360 # argument, so we may need to know it at that point already.
4361 # Even if this section looks crufty: it has the advantage of
4368 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4374 $as_echo "$ac_file" >&6; }
4375 if test -z "$ac_file"; then :
4376 $as_echo "$as_me: failed program was:" >&5
4377 sed 's/^/| /' conftest.
$ac_ext >&5
4379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4381 { as_fn_set_status
77
4382 as_fn_error
"C compiler cannot create executables
4383 See \`config.log' for more details." "$LINENO" 5; }; }
4385 ac_exeext
=$ac_cv_exeext
4387 # Check that the compiler produces executables we can run. If not, either
4388 # the compiler is broken, or we cross compile.
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4390 $as_echo_n "checking whether the C compiler works... " >&6; }
4391 # If not cross compiling, check that we can run a simple program.
4392 if test "$cross_compiling" != yes; then
4393 if { ac_try
='./$ac_file'
4394 { { case "(($ac_try" in
4395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4396 *) ac_try_echo=$ac_try;;
4398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4399 $as_echo "$ac_try_echo"; } >&5
4400 (eval "$ac_try") 2>&5
4402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4403 test $ac_status = 0; }; }; then
4406 if test "$cross_compiling" = maybe; then
4409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4411 as_fn_error "cannot run C compiled programs.
4412 If you meant to cross compile
, use \
`--host'.
4413 See \`config.log
' for more details." "$LINENO" 5; }
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4418 $as_echo "yes" >&6; }
4420 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4421 ac_clean_files=$ac_clean_files_save
4422 # Check that the compiler produces executables we can run. If not, either
4423 # the compiler is broken, or we cross compile.
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4425 $as_echo_n "checking whether we are cross compiling... " >&6; }
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4427 $as_echo "$cross_compiling" >&6; }
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4430 $as_echo_n "checking for suffix of executables... " >&6; }
4431 if { { ac_try="$ac_link"
4433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4434 *) ac_try_echo=$ac_try;;
4436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4437 $as_echo "$ac_try_echo"; } >&5
4438 (eval "$ac_link") 2>&5
4440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4441 test $ac_status = 0; }; then :
4442 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4443 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4444 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4446 for ac_file
in conftest.exe conftest conftest.
*; do
4447 test -f "$ac_file" ||
continue
4449 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4450 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4458 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4459 See \`config.log' for more details." "$LINENO" 5; }
4461 rm -f conftest
$ac_cv_exeext
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4463 $as_echo "$ac_cv_exeext" >&6; }
4465 rm -f conftest.
$ac_ext
4466 EXEEXT
=$ac_cv_exeext
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4469 $as_echo_n "checking for suffix of object files... " >&6; }
4470 if test "${ac_cv_objext+set}" = set; then :
4471 $as_echo_n "(cached) " >&6
4473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4484 rm -f conftest.o conftest.obj
4485 if { { ac_try
="$ac_compile"
4487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4488 *) ac_try_echo=$ac_try;;
4490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4491 $as_echo "$ac_try_echo"; } >&5
4492 (eval "$ac_compile") 2>&5
4494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4495 test $ac_status = 0; }; then :
4496 for ac_file in conftest.o conftest.obj conftest.*; do
4497 test -f "$ac_file" || continue;
4499 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4500 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4505 $as_echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.$ac_ext >&5
4508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4510 as_fn_error "cannot compute suffix of object files
: cannot compile
4511 See \
`config.log' for more details." "$LINENO" 5; }
4513 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4516 $as_echo "$ac_cv_objext" >&6; }
4517 OBJEXT=$ac_cv_objext
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4520 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4521 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4522 $as_echo_n "(cached) " >&6
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4538 if ac_fn_c_try_compile "$LINENO"; then :
4543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4544 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4548 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4549 if test $ac_compiler_gnu = yes; then
4554 ac_test_CFLAGS=${CFLAGS+set}
4555 ac_save_CFLAGS=$CFLAGS
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4557 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4558 if test "${ac_cv_prog_cc_g+set}" = set; then :
4559 $as_echo_n "(cached) " >&6
4561 ac_save_c_werror_flag=$ac_c_werror_flag
4562 ac_c_werror_flag=yes
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4576 if ac_fn_c_try_compile "$LINENO"; then :
4580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4591 if ac_fn_c_try_compile "$LINENO"; then :
4594 ac_c_werror_flag=$ac_save_c_werror_flag
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4607 if ac_fn_c_try_compile "$LINENO"; then :
4610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 ac_c_werror_flag=$ac_save_c_werror_flag
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4618 $as_echo "$ac_cv_prog_cc_g" >&6; }
4619 if test "$ac_test_CFLAGS" = set; then
4620 CFLAGS=$ac_save_CFLAGS
4621 elif test $ac_cv_prog_cc_g = yes; then
4622 if test "$GCC" = yes; then
4628 if test "$GCC" = yes; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4635 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4636 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4637 $as_echo_n "(cached) " >&6
4639 ac_cv_prog_cc_c89=no
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4645 #include <sys/types.h>
4646 #include <sys/stat.h>
4647 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4648 struct buf { int x; };
4649 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4650 static char *e (p, i)
4656 static char *f (char * (*g) (char **, int), char **p, ...)
4661 s = g (p, va_arg (v,int));
4666 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4667 function prototypes and stuff, but not '\xHH' hex character constants.
4668 These don't provoke an error unfortunately, instead are silently treated
4669 as 'x'. The following induces an error, until -std is added to get
4670 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4671 array size at least. It's necessary to write '\x00'==0 to get something
4672 that's true only with -std. */
4673 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4675 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4676 inside strings and character constants. */
4678 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4680 int test (int i, double x);
4681 struct s1 {int (*f) (int a);};
4682 struct s2 {int (*f) (double a);};
4683 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4689 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4694 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4695 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4697 CC="$ac_save_CC $ac_arg"
4698 if ac_fn_c_try_compile "$LINENO"; then :
4699 ac_cv_prog_cc_c89=$ac_arg
4701 rm -f core conftest.err conftest.$ac_objext
4702 test "x$ac_cv_prog_cc_c89" != "xno" && break
4704 rm -f conftest.$ac_ext
4709 case "x$ac_cv_prog_cc_c89" in
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4712 $as_echo "none needed" >&6; } ;;
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4715 $as_echo "unsupported" >&6; } ;;
4717 CC="$CC $ac_cv_prog_cc_c89"
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4719 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4721 if test "x$ac_cv_prog_cc_c89" != xno; then :
4726 ac_cpp='$CPP $CPPFLAGS'
4727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4732 ac_cpp='$CXXCPP $CPPFLAGS'
4733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4736 if test -z "$CXX"; then
4737 if test -n "$CCC"; then
4740 if test -n "$ac_tool_prefix"; then
4741 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4743 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4744 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4746 $as_echo_n "checking for $ac_word... " >&6; }
4747 if test "${ac_cv_prog_CXX+set}" = set; then :
4748 $as_echo_n "(cached) " >&6
4750 if test -n "$CXX"; then
4751 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4757 test -z "$as_dir" && as_dir=.
4758 for ac_exec_ext in '' $ac_executable_extensions; do
4759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4760 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4771 if test -n "$CXX"; then
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4773 $as_echo "$CXX" >&6; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4780 test -n "$CXX" && break
4783 if test -z "$CXX"; then
4785 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4787 # Extract the first word of "$ac_prog", so it can be a program name with args.
4788 set dummy $ac_prog; ac_word=$2
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4790 $as_echo_n "checking for $ac_word... " >&6; }
4791 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4792 $as_echo_n "(cached) " >&6
4794 if test -n "$ac_ct_CXX"; then
4795 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4801 test -z "$as_dir" && as_dir=.
4802 for ac_exec_ext in '' $ac_executable_extensions; do
4803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4804 ac_cv_prog_ac_ct_CXX="$ac_prog"
4805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4814 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4815 if test -n "$ac_ct_CXX"; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4817 $as_echo "$ac_ct_CXX" >&6; }
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4824 test -n "$ac_ct_CXX" && break
4827 if test "x$ac_ct_CXX" = x; then
4830 case $cross_compiling:$ac_tool_warned in
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4834 ac_tool_warned=yes ;;
4842 # Provide some information about the compiler.
4843 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4846 for ac_option in --version -v -V -qversion; do
4847 { { ac_try="$ac_compiler $ac_option >&5"
4849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4850 *) ac_try_echo
=$ac_try;;
4852 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4853 $as_echo "$ac_try_echo"; } >&5
4854 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4856 if test -s conftest.err
; then
4858 ... rest of stderr output deleted ...
4859 10q' conftest.err
>conftest.er1
4860 cat conftest.er1
>&5
4861 rm -f conftest.er1 conftest.err
4863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4864 test $ac_status = 0; }
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4868 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4869 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4870 $as_echo_n "(cached) " >&6
4872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4873 /* end confdefs.h. */
4886 if ac_fn_cxx_try_compile
"$LINENO"; then :
4891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4892 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4896 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4897 if test $ac_compiler_gnu = yes; then
4902 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4903 ac_save_CXXFLAGS
=$CXXFLAGS
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4905 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4906 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4907 $as_echo_n "(cached) " >&6
4909 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4910 ac_cxx_werror_flag
=yes
4913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4924 if ac_fn_cxx_try_compile
"$LINENO"; then :
4925 ac_cv_prog_cxx_g
=yes
4928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h. */
4939 if ac_fn_cxx_try_compile
"$LINENO"; then :
4942 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4955 if ac_fn_cxx_try_compile
"$LINENO"; then :
4956 ac_cv_prog_cxx_g
=yes
4958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4963 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4966 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4967 if test "$ac_test_CXXFLAGS" = set; then
4968 CXXFLAGS
=$ac_save_CXXFLAGS
4969 elif test $ac_cv_prog_cxx_g = yes; then
4970 if test "$GXX" = yes; then
4976 if test "$GXX" = yes; then
4983 ac_cpp
='$CPP $CPPFLAGS'
4984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4989 # We must set the default linker to the linker used by gcc for the correct
4990 # operation of libtool. If LD is not defined and we are using gcc, try to
4991 # set the LD default to the ld used by gcc.
4992 if test -z "$LD"; then
4993 if test "$GCC" = yes; then
4996 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4998 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5000 case $gcc_prog_ld in
5001 # Accept absolute paths.
5002 [\\/]* |
[A-Za-z
]:[\\/]*)
5003 LD
="$gcc_prog_ld" ;;
5008 # Check whether -static-libstdc++ -static-libgcc is supported.
5010 if test "$GCC" = yes; then
5011 saved_LDFLAGS
="$LDFLAGS"
5013 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5015 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5017 ac_cpp
='$CXXCPP $CPPFLAGS'
5018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5024 /* end confdefs.h. */
5026 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5027 #error -static-libstdc++ not implemented
5031 if ac_fn_cxx_try_link
"$LINENO"; then :
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5033 $as_echo "yes" >&6; }; have_static_libs
=yes
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5036 $as_echo "no" >&6; }
5038 rm -f core conftest.err conftest.
$ac_objext \
5039 conftest
$ac_exeext conftest.
$ac_ext
5041 ac_cpp
='$CPP $CPPFLAGS'
5042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5047 LDFLAGS
="$saved_LDFLAGS"
5053 if test -n "$ac_tool_prefix"; then
5054 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5055 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 $as_echo_n "checking for $ac_word... " >&6; }
5058 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5059 $as_echo_n "(cached) " >&6
5061 if test -n "$GNATBIND"; then
5062 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5068 test -z "$as_dir" && as_dir
=.
5069 for ac_exec_ext
in '' $ac_executable_extensions; do
5070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5071 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5081 GNATBIND
=$ac_cv_prog_GNATBIND
5082 if test -n "$GNATBIND"; then
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5084 $as_echo "$GNATBIND" >&6; }
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5092 if test -z "$ac_cv_prog_GNATBIND"; then
5093 ac_ct_GNATBIND
=$GNATBIND
5094 # Extract the first word of "gnatbind", so it can be a program name with args.
5095 set dummy gnatbind
; ac_word
=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5099 $as_echo_n "(cached) " >&6
5101 if test -n "$ac_ct_GNATBIND"; then
5102 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5108 test -z "$as_dir" && as_dir
=.
5109 for ac_exec_ext
in '' $ac_executable_extensions; do
5110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5111 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5121 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5122 if test -n "$ac_ct_GNATBIND"; then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5124 $as_echo "$ac_ct_GNATBIND" >&6; }
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5130 if test "x$ac_ct_GNATBIND" = x
; then
5133 case $cross_compiling:$ac_tool_warned in
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5137 ac_tool_warned
=yes ;;
5139 GNATBIND
=$ac_ct_GNATBIND
5142 GNATBIND
="$ac_cv_prog_GNATBIND"
5145 if test -n "$ac_tool_prefix"; then
5146 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5147 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5151 $as_echo_n "(cached) " >&6
5153 if test -n "$GNATMAKE"; then
5154 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5160 test -z "$as_dir" && as_dir
=.
5161 for ac_exec_ext
in '' $ac_executable_extensions; do
5162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5163 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 GNATMAKE
=$ac_cv_prog_GNATMAKE
5174 if test -n "$GNATMAKE"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5176 $as_echo "$GNATMAKE" >&6; }
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5184 if test -z "$ac_cv_prog_GNATMAKE"; then
5185 ac_ct_GNATMAKE
=$GNATMAKE
5186 # Extract the first word of "gnatmake", so it can be a program name with args.
5187 set dummy gnatmake
; ac_word
=$2
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5189 $as_echo_n "checking for $ac_word... " >&6; }
5190 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5191 $as_echo_n "(cached) " >&6
5193 if test -n "$ac_ct_GNATMAKE"; then
5194 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5200 test -z "$as_dir" && as_dir
=.
5201 for ac_exec_ext
in '' $ac_executable_extensions; do
5202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5203 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5214 if test -n "$ac_ct_GNATMAKE"; then
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5216 $as_echo "$ac_ct_GNATMAKE" >&6; }
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5219 $as_echo "no" >&6; }
5222 if test "x$ac_ct_GNATMAKE" = x
; then
5225 case $cross_compiling:$ac_tool_warned in
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5229 ac_tool_warned
=yes ;;
5231 GNATMAKE
=$ac_ct_GNATMAKE
5234 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5238 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5239 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5240 $as_echo_n "(cached) " >&6
5242 cat >conftest.adb
<<EOF
5243 procedure conftest is begin null; end conftest;
5245 acx_cv_cc_gcc_supports_ada
=no
5246 # There is a bug in old released versions of GCC which causes the
5247 # driver to exit successfully when the appropriate language module
5248 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5249 # Therefore we must check for the error message as well as an
5250 # unsuccessful exit.
5251 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5252 # given a .adb file, but produce no object file. So we must check
5253 # if an object file was really produced to guard against this.
5254 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5255 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5256 acx_cv_cc_gcc_supports_ada
=yes
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5261 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5263 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5270 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5271 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5272 $as_echo_n "(cached) " >&6
5276 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5277 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5278 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5281 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5284 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5285 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5288 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5295 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5296 do_compare
="$gcc_cv_prog_cmp_skip"
5300 # Check whether --enable-bootstrap was given.
5301 if test "${enable_bootstrap+set}" = set; then :
5302 enableval
=$enable_bootstrap;
5304 enable_bootstrap
=default
5308 # Issue errors and warnings for invalid/strange bootstrap combinations.
5309 if test -r $srcdir/gcc
/configure
; then
5315 case "$have_compiler:$host:$target:$enable_bootstrap" in
5318 # Default behavior. Enable bootstrap if we have a compiler
5319 # and we are in a native configuration.
5320 yes:$build:$build:default
)
5321 enable_bootstrap
=yes ;;
5324 enable_bootstrap
=no
;;
5326 # We have a compiler and we are in a native configuration, bootstrap is ok
5327 yes:$build:$build:yes)
5330 # Other configurations, but we have a compiler. Assume the user knows
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5334 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5337 # No compiler: if they passed --enable-bootstrap explicitly, fail
5339 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5341 # Fail if wrong command line
5343 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5347 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5348 # C++98 compiler can still start the bootstrap.
5349 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5350 CXX
="$CXX -std=gnu++98"
5353 # Used for setting $lt_cv_objdir
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5355 $as_echo_n "checking for objdir... " >&6; }
5356 if test "${lt_cv_objdir+set}" = set; then :
5357 $as_echo_n "(cached) " >&6
5359 rm -f .libs
2>/dev
/null
5360 mkdir .libs
2>/dev
/null
5361 if test -d .libs
; then
5364 # MS-DOS does not allow filenames that begin with a dot.
5367 rmdir .libs
2>/dev
/null
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5370 $as_echo "$lt_cv_objdir" >&6; }
5371 objdir
=$lt_cv_objdir
5377 cat >>confdefs.h
<<_ACEOF
5378 #define LT_OBJDIR "$lt_cv_objdir/"
5383 # Check for GMP, MPFR and MPC
5384 gmplibs
="-lmpc -lmpfr -lgmp"
5388 # Specify a location for mpc
5389 # check for this first so it ends up on the link line before mpfr.
5391 # Check whether --with-mpc was given.
5392 if test "${with_mpc+set}" = set; then :
5397 # Check whether --with-mpc-include was given.
5398 if test "${with_mpc_include+set}" = set; then :
5399 withval
=$with_mpc_include;
5403 # Check whether --with-mpc-lib was given.
5404 if test "${with_mpc_lib+set}" = set; then :
5405 withval
=$with_mpc_lib;
5409 if test "x$with_mpc" != x
; then
5410 gmplibs
="-L$with_mpc/lib $gmplibs"
5411 gmpinc
="-I$with_mpc/include $gmpinc"
5413 if test "x$with_mpc_include" != x
; then
5414 gmpinc
="-I$with_mpc_include $gmpinc"
5416 if test "x$with_mpc_lib" != x
; then
5417 gmplibs
="-L$with_mpc_lib $gmplibs"
5419 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5420 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5421 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5422 # Do not test the mpc version. Assume that it is sufficient, since
5423 # it is in the source tree, and the library has not been built yet
5424 # but it would be included on the link line in the version check below
5425 # hence making the test fail.
5429 # Specify a location for mpfr
5430 # check for this first so it ends up on the link line before gmp.
5432 # Check whether --with-mpfr-dir was given.
5433 if test "${with_mpfr_dir+set}" = set; then :
5434 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5435 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5440 # Check whether --with-mpfr was given.
5441 if test "${with_mpfr+set}" = set; then :
5446 # Check whether --with-mpfr-include was given.
5447 if test "${with_mpfr_include+set}" = set; then :
5448 withval
=$with_mpfr_include;
5452 # Check whether --with-mpfr-lib was given.
5453 if test "${with_mpfr_lib+set}" = set; then :
5454 withval
=$with_mpfr_lib;
5458 if test "x$with_mpfr" != x
; then
5459 gmplibs
="-L$with_mpfr/lib $gmplibs"
5460 gmpinc
="-I$with_mpfr/include $gmpinc"
5462 if test "x$with_mpfr_include" != x
; then
5463 gmpinc
="-I$with_mpfr_include $gmpinc"
5465 if test "x$with_mpfr_lib" != x
; then
5466 gmplibs
="-L$with_mpfr_lib $gmplibs"
5468 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5469 # MPFR v3.1.0 moved the sources into a src sub-directory.
5470 if ! test -d ${srcdir}/mpfr
/src
; then
5471 as_fn_error
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5473 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5474 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5475 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5476 # Do not test the mpfr version. Assume that it is sufficient, since
5477 # it is in the source tree, and the library has not been built yet
5478 # but it would be included on the link line in the version check below
5479 # hence making the test fail.
5483 # Specify a location for gmp
5485 # Check whether --with-gmp-dir was given.
5486 if test "${with_gmp_dir+set}" = set; then :
5487 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5488 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5493 # Check whether --with-gmp was given.
5494 if test "${with_gmp+set}" = set; then :
5499 # Check whether --with-gmp-include was given.
5500 if test "${with_gmp_include+set}" = set; then :
5501 withval
=$with_gmp_include;
5505 # Check whether --with-gmp-lib was given.
5506 if test "${with_gmp_lib+set}" = set; then :
5507 withval
=$with_gmp_lib;
5512 if test "x$with_gmp" != x
; then
5513 gmplibs
="-L$with_gmp/lib $gmplibs"
5514 gmpinc
="-I$with_gmp/include $gmpinc"
5516 if test "x$with_gmp_include" != x
; then
5517 gmpinc
="-I$with_gmp_include $gmpinc"
5519 if test "x$with_gmp_lib" != x
; then
5520 gmplibs
="-L$with_gmp_lib $gmplibs"
5522 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5523 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5524 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5525 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5526 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5527 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5528 # Do not test the gmp version. Assume that it is sufficient, since
5529 # it is in the source tree, and the library has not been built yet
5530 # but it would be included on the link line in the version check below
5531 # hence making the test fail.
5535 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5537 saved_CFLAGS
="$CFLAGS"
5538 CFLAGS
="$CFLAGS $gmpinc"
5539 # Check for the recommended and required versions of GMP.
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5541 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5544 /* end confdefs.h. */
5550 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5551 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5552 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5560 if ac_fn_c_try_compile
"$LINENO"; then :
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,3,2)
5578 if ac_fn_c_try_compile
"$LINENO"; then :
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5580 $as_echo "yes" >&6; }
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5583 $as_echo "buggy but acceptable" >&6; }
5585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588 $as_echo "no" >&6; }; have_gmp
=no
5590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5592 # If we have GMP, check the MPFR version.
5593 if test x
"$have_gmp" = xyes
; then
5594 # Check for the recommended and required versions of MPFR.
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5596 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5598 /* end confdefs.h. */
5605 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5613 if ac_fn_c_try_compile
"$LINENO"; then :
5614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5615 /* end confdefs.h. */
5622 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5630 if ac_fn_c_try_compile
"$LINENO"; then :
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5632 $as_echo "yes" >&6; }
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5635 $as_echo "buggy but acceptable" >&6; }
5637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }; have_gmp
=no
5642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5645 # Check for the MPC header version.
5646 if test x
"$have_gmp" = xyes
; then
5647 # Check for the recommended and required versions of MPC.
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5649 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5651 /* end confdefs.h. */
5657 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5665 if ac_fn_c_try_compile
"$LINENO"; then :
5666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5667 /* end confdefs.h. */
5673 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5681 if ac_fn_c_try_compile
"$LINENO"; then :
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5683 $as_echo "yes" >&6; }
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5686 $as_echo "buggy but acceptable" >&6; }
5688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }; have_gmp
=no
5693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5696 # Now check the MPFR library.
5697 if test x
"$have_gmp" = xyes
; then
5699 LIBS
="$LIBS $gmplibs"
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5701 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5703 /* end confdefs.h. */
5715 mpfr_atan2 (n, n, x, GMP_RNDN);
5716 mpfr_erfc (n, x, GMP_RNDN);
5717 mpfr_subnormalize (x, t, GMP_RNDN);
5721 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5722 mpc_cosh (c, c, MPC_RNDNN);
5723 mpc_pow (c, c, c, MPC_RNDNN);
5724 mpc_acosh (c, c, MPC_RNDNN);
5731 if ac_fn_c_try_link
"$LINENO"; then :
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5733 $as_echo "yes" >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }; have_gmp
=no
5738 rm -f core conftest.err conftest.
$ac_objext \
5739 conftest
$ac_exeext conftest.
$ac_ext
5743 CFLAGS
="$saved_CFLAGS"
5745 # The library versions listed in the error message below should match
5746 # the HARD-minimums enforced above.
5747 if test x
$have_gmp != xyes
; then
5748 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5749 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5750 their locations. Source code for these libraries can be found at
5751 their respective hosting sites as well as at
5752 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5753 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5754 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5755 make sure that you have installed both the libraries and the header
5756 files. They may be located in separate packages." "$LINENO" 5
5760 # Flags needed for both GMP, MPFR and/or MPC.
5768 # Libraries to use for stage1 or when not bootstrapping.
5770 # Check whether --with-stage1-libs was given.
5771 if test "${with_stage1_libs+set}" = set; then :
5772 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5775 stage1_libs
=$withval
5783 # Linker flags to use for stage1 or when not bootstrapping.
5785 # Check whether --with-stage1-ldflags was given.
5786 if test "${with_stage1_ldflags+set}" = set; then :
5787 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5790 stage1_ldflags
=$withval
5794 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5795 # if supported. But if the user explicitly specified the libraries to use,
5796 # trust that they are doing what they want.
5797 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5798 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5804 # Libraries to use for stage2 and later builds.
5806 # Check whether --with-boot-libs was given.
5807 if test "${with_boot_libs+set}" = set; then :
5808 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5811 poststage1_libs
=$withval
5819 # Linker flags to use for stage2 and later builds.
5821 # Check whether --with-boot-ldflags was given.
5822 if test "${with_boot_ldflags+set}" = set; then :
5823 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5826 poststage1_ldflags
=$withval
5830 # In stages 2 and 3, default to linking libstdc++ and libgcc
5831 # statically. But if the user explicitly specified the libraries to
5832 # use, trust that they are doing what they want.
5833 if test "$poststage1_libs" = ""; then
5834 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5840 # GCC GRAPHITE dependency isl.
5841 # Basic setup is inlined here, actual checks are in config/isl.m4
5844 # Check whether --with-isl was given.
5845 if test "${with_isl+set}" = set; then :
5850 # Treat --without-isl as a request to disable
5851 # GRAPHITE support and skip all following checks.
5852 if test "x$with_isl" != "xno"; then
5856 # Check whether --with-isl-include was given.
5857 if test "${with_isl_include+set}" = set; then :
5858 withval
=$with_isl_include;
5862 # Check whether --with-isl-lib was given.
5863 if test "${with_isl_lib+set}" = set; then :
5864 withval
=$with_isl_lib;
5868 # Check whether --enable-isl-version-check was given.
5869 if test "${enable_isl_version_check+set}" = set; then :
5870 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5872 ENABLE_ISL_CHECK
=yes
5876 # Initialize isllibs and islinc.
5885 isllibs
="-L$with_isl/lib"
5886 islinc
="-I$with_isl/include"
5889 if test "x${with_isl_include}" != x
; then
5890 islinc
="-I$with_isl_include"
5892 if test "x${with_isl_lib}" != x
; then
5893 isllibs
="-L$with_isl_lib"
5895 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5896 && test -d ${srcdir}/isl
; then
5897 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5898 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
5901 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
5904 isllibs
="${isllibs} -lisl"
5908 if test "${ENABLE_ISL_CHECK}" = yes ; then
5909 _isl_saved_CFLAGS
=$CFLAGS
5910 _isl_saved_LDFLAGS
=$LDFLAGS
5911 _isl_saved_LIBS
=$LIBS
5913 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5914 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
5915 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16, 0.15, or deprecated 0.14" >&5
5918 $as_echo_n "checking for isl 0.16, 0.15, or deprecated 0.14... " >&6; }
5919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5920 /* end confdefs.h. */
5921 #include <isl/ctx.h>
5925 isl_ctx_get_max_operations (isl_ctx_alloc ());
5930 if ac_fn_c_try_link
"$LINENO"; then :
5935 rm -f core conftest.err conftest.
$ac_objext \
5936 conftest
$ac_exeext conftest.
$ac_ext
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5938 $as_echo "$gcc_cv_isl" >&6; }
5940 if test "${gcc_cv_isl}" = no
; then
5941 { $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
5942 $as_echo "recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated" >&6; }
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.16 or 0.15" >&5
5946 $as_echo_n "checking for isl 0.16 or 0.15... " >&6; }
5947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5948 /* end confdefs.h. */
5949 #include <isl/schedule.h>
5953 isl_options_set_schedule_serialize_sccs (NULL, 0);
5958 if ac_fn_c_try_link
"$LINENO"; then :
5959 ac_has_isl_options_set_schedule_serialize_sccs
=yes
5961 ac_has_isl_options_set_schedule_serialize_sccs
=no
5963 rm -f core conftest.err conftest.
$ac_objext \
5964 conftest
$ac_exeext conftest.
$ac_ext
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_isl_options_set_schedule_serialize_sccs" >&5
5966 $as_echo "$ac_has_isl_options_set_schedule_serialize_sccs" >&6; }
5968 if test x
"$ac_has_isl_options_set_schedule_serialize_sccs" = x
"yes"; then
5973 CFLAGS
=$_isl_saved_CFLAGS
5974 LDFLAGS
=$_isl_saved_LDFLAGS
5975 LIBS
=$_isl_saved_LIBS
5983 if test "x${with_isl}" = xno
; then
5984 graphite_requested
=no
5985 elif test "x${with_isl}" != x \
5986 ||
test "x${with_isl_include}" != x \
5987 ||
test "x${with_isl_lib}" != x
; then
5988 graphite_requested
=yes
5990 graphite_requested
=no
5995 if test "${gcc_cv_isl}" = no
; then
6000 if test "${graphite_requested}" = yes \
6001 && test "x${isllibs}" = x \
6002 && test "x${islinc}" = x
; then
6004 as_fn_error
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6010 # If the isl check failed, disable builds of in-tree variant of isl
6011 if test "x$with_isl" = xno ||
6012 test "x$gcc_cv_isl" = xno
; then
6013 noconfigdirs
="$noconfigdirs isl"
6020 # Check for LTO support.
6021 # Check whether --enable-lto was given.
6022 if test "${enable_lto+set}" = set; then :
6023 enableval
=$enable_lto; enable_lto
=$enableval
6025 enable_lto
=yes; default_enable_lto
=yes
6034 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6035 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6036 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6045 if test $target_elf = yes; then :
6046 # ELF platforms build the lto-plugin always.
6047 build_lto_plugin
=yes
6050 if test x
"$default_enable_lto" = x
"yes" ; then
6052 *-apple-darwin9* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6053 # On other non-ELF platforms, LTO has yet to be validated.
6057 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6058 # It would also be nice to check the binutils support, but we don't
6059 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6060 # warn during gcc/ subconfigure; unless you're bootstrapping with
6061 # -flto it won't be needed until after installation anyway.
6063 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6064 *) if test x
"$enable_lto" = x
"yes"; then
6065 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6070 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6071 # Build it unless LTO was explicitly disabled.
6073 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6080 # Check whether --enable-linker-plugin-configure-flags was given.
6081 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6082 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6084 extra_linker_plugin_configure_flags
=
6088 # Check whether --enable-linker-plugin-flags was given.
6089 if test "${enable_linker_plugin_flags+set}" = set; then :
6090 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6092 extra_linker_plugin_flags
=
6098 # By default, C and C++ are the only stage 1 languages.
6099 stage1_languages
=,c
,
6101 # Target libraries that we bootstrap.
6102 bootstrap_target_libs
=,target-libgcc
,
6104 # Figure out what language subdirectories are present.
6105 # Look if the user specified --enable-languages="..."; if not, use
6106 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6108 # NB: embedded tabs in this IF block -- do not untabify
6109 if test -d ${srcdir}/gcc
; then
6110 if test x
"${enable_languages+set}" != xset
; then
6111 if test x
"${LANGUAGES+set}" = xset
; then
6112 enable_languages
="${LANGUAGES}"
6113 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6115 enable_languages
=all
6118 if test x
"${enable_languages}" = x ||
6119 test x
"${enable_languages}" = xyes
;
6121 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6125 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6127 # 'f95' is the old name for the 'fortran' language. We issue a warning
6128 # and make the substitution.
6129 case ,${enable_languages}, in
6131 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6132 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6136 # If bootstrapping, C++ must be enabled.
6137 case ",$enable_languages,:$enable_bootstrap" in
6140 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6141 enable_languages
="${enable_languages},c++"
6143 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6148 # First scan to see if an enabled language requires some other language.
6149 # We assume that a given config-lang.in will list all the language
6150 # front ends it requires, even if some are required indirectly.
6151 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6152 case ${lang_frag} in
6154 # The odd quoting in the next line works around
6155 # an apparent bug in bash 1.12 on linux.
6156 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6158 # From the config-lang.in, get $language, $lang_requires, and
6159 # $lang_requires_boot_languages.
6162 lang_requires_boot_languages
=
6164 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6165 case ,${enable_languages}, in
6169 echo " \`$other' language required by \`$language'; enabling" 1>&2
6170 enable_languages
="${enable_languages},${other}"
6174 for other
in ${lang_requires_boot_languages} ; do
6175 if test "$other" != "c"; then
6176 case ,${enable_stage1_languages}, in
6180 case ,${enable_languages}, in
6182 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6183 enable_stage1_languages
="$enable_stage1_languages,${other}"
6194 new_enable_languages
=,c
,
6196 # If LTO is enabled, add the LTO front end.
6197 if test "$enable_lto" = "yes" ; then
6198 case ,${enable_languages}, in
6200 *) enable_languages
="${enable_languages},lto" ;;
6202 if test "${build_lto_plugin}" = "yes" ; then
6203 configdirs
="$configdirs lto-plugin"
6207 # If we're building an offloading compiler, add the LTO front end.
6208 if test x
"$enable_as_accelerator_for" != x
; then
6209 case ,${enable_languages}, in
6211 *) enable_languages
="${enable_languages},lto" ;;
6215 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6216 potential_languages
=,c
,
6218 enabled_target_libs
=
6219 disabled_target_libs
=
6221 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6222 case ${lang_frag} in
6224 # The odd quoting in the next line works around
6225 # an apparent bug in bash 1.12 on linux.
6226 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6228 # From the config-lang.in, get $language, $target_libs,
6229 # $lang_dirs, $boot_language, and $build_by_default
6235 build_by_default
=yes
6237 if test x
${language} = x
; then
6238 echo "${lang_frag} doesn't set \$language." 1>&2
6242 if test "$language" = "c++"; then
6247 case ,${enable_languages}, in
6249 # Language was explicitly selected; include it
6250 # unless it is C, which is enabled by default.
6251 if test "$language" != "c"; then
6256 # 'all' was selected, select it if it is a default language
6257 if test "$language" != "c"; then
6258 add_this_lang
=${build_by_default}
6263 # Disable languages that need other directories if these aren't available.
6264 for i
in $subdir_requires; do
6265 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6266 case ,${enable_languages}, in
6268 # Specifically requested language; tell them.
6269 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6273 add_this_lang
=unsupported
6278 # Disable Ada if no preexisting GNAT is available.
6279 case ,${enable_languages},:${language}:${have_gnat} in
6280 *,${language},*:ada
:no
)
6281 # Specifically requested language; tell them.
6282 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6286 add_this_lang
=unsupported
6290 # Disable a language that is unsupported by the target.
6291 case " $unsupported_languages " in
6293 add_this_lang
=unsupported
6297 case $add_this_lang in
6299 # Remove language-dependent dirs.
6300 disabled_target_libs
="$disabled_target_libs $target_libs"
6301 noconfigdirs
="$noconfigdirs $lang_dirs"
6304 # Remove language-dependent dirs; still show language as supported.
6305 disabled_target_libs
="$disabled_target_libs $target_libs"
6306 noconfigdirs
="$noconfigdirs $lang_dirs"
6307 potential_languages
="${potential_languages}${language},"
6310 new_enable_languages
="${new_enable_languages}${language},"
6311 potential_languages
="${potential_languages}${language},"
6312 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6313 enabled_target_libs
="$enabled_target_libs $target_libs"
6314 case "${boot_language}:,$enable_stage1_languages," in
6315 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6316 # Add to (comma-separated) list of stage 1 languages.
6317 case ",$stage1_languages," in
6318 *,$language,* |
,yes, |
,all
,) ;;
6319 *) stage1_languages
="${stage1_languages}${language}," ;;
6321 # We need to bootstrap any supporting libraries.
6322 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6331 # Add target libraries which are only needed for disabled languages
6333 if test -n "$disabled_target_libs"; then
6334 for dir
in $disabled_target_libs; do
6335 case " $enabled_target_libs " in
6337 *) noconfigdirs
="$noconfigdirs $dir" ;;
6342 # Check whether --enable-stage1-languages was given.
6343 if test "${enable_stage1_languages+set}" = set; then :
6344 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6346 # Set it to something that will have no effect in the loop below
6347 enable_stage1_languages
=c
;;
6349 enable_stage1_languages
=`echo $new_enable_languages | \
6350 sed -e "s/^,//" -e "s/,$//" ` ;;
6352 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6353 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6356 # Add "good" languages from enable_stage1_languages to stage1_languages,
6357 # while "bad" languages go in missing_languages. Leave no duplicates.
6358 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6359 case $potential_languages in
6361 case $stage1_languages in
6363 *) stage1_languages
="$stage1_languages$i," ;;
6366 case $missing_languages in
6368 *) missing_languages
="$missing_languages$i," ;;
6375 # Remove leading/trailing commas that were added for simplicity
6376 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6377 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6378 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6379 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6381 if test "x$missing_languages" != x
; then
6383 The following requested languages could not be built: ${missing_languages}
6384 Supported languages are: ${potential_languages}" "$LINENO" 5
6386 if test "x$new_enable_languages" != "x$enable_languages"; then
6387 echo The following languages will be built
: ${new_enable_languages}
6388 enable_languages
="$new_enable_languages"
6392 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6395 # Handle --disable-<component> generically.
6396 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6397 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6398 varname
=`echo $dirname | sed -e s/+/_/g`
6399 if eval test x\
${enable_${varname}} "=" xno
; then
6400 noconfigdirs
="$noconfigdirs $dir"
6404 # Check for Boehm's garbage collector
6405 # Check whether --enable-objc-gc was given.
6406 if test "${enable_objc_gc+set}" = set; then :
6407 enableval
=$enable_objc_gc;
6411 # Check whether --with-target-bdw-gc was given.
6412 if test "${with_target_bdw_gc+set}" = set; then :
6413 withval
=$with_target_bdw_gc;
6417 # Check whether --with-target-bdw-gc-include was given.
6418 if test "${with_target_bdw_gc_include+set}" = set; then :
6419 withval
=$with_target_bdw_gc_include;
6423 # Check whether --with-target-bdw-gc-lib was given.
6424 if test "${with_target_bdw_gc_lib+set}" = set; then :
6425 withval
=$with_target_bdw_gc_lib;
6429 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6431 $as_echo_n "checking for bdw garbage collector... " >&6; }
6432 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6434 $as_echo "using bdw-gc in default locations" >&6; }
6436 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6437 as_fn_error
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6438 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6439 as_fn_error
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6442 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6447 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6448 case ,${enable_languages}, in
6450 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6451 case "${noconfigdirs}" in
6452 *target-libstdc
++-v3*)
6453 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6459 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6463 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6464 # $build_configdirs and $target_configdirs.
6465 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6468 for dir
in .
$skipdirs $noconfigdirs ; do
6469 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6470 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6471 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6472 if test -r $srcdir/$dirname/configure
; then
6473 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6476 notsupp
="$notsupp $dir"
6480 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6481 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6482 if test -r $srcdir/$dirname/configure
; then
6483 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6486 notsupp
="$notsupp $dir"
6490 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6491 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6492 if test -r $srcdir/$dirname/configure
; then
6493 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6496 notsupp
="$notsupp $dir"
6502 # Quietly strip out all directories which aren't configurable in this tree.
6503 # This relies on all configurable subdirectories being autoconfiscated, which
6505 build_configdirs_all
="$build_configdirs"
6507 for i
in ${build_configdirs_all} ; do
6508 j
=`echo $i | sed -e s/build-//g`
6509 if test -f ${srcdir}/$j/configure
; then
6510 build_configdirs
="${build_configdirs} $i"
6514 configdirs_all
="$configdirs"
6516 for i
in ${configdirs_all} ; do
6517 if test -f ${srcdir}/$i/configure
; then
6518 configdirs
="${configdirs} $i"
6522 target_configdirs_all
="$target_configdirs"
6524 for i
in ${target_configdirs_all} ; do
6525 j
=`echo $i | sed -e s/target-//g`
6526 if test -f ${srcdir}/$j/configure
; then
6527 target_configdirs
="${target_configdirs} $i"
6531 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6532 # so we have to add it after the preceding checks.
6533 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6535 case " $configdirs " in
6537 # If we can build libiberty, we can also build libiberty-linker-plugin.
6538 configdirs
="$configdirs libiberty-linker-plugin"
6539 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6540 --with-libiberty=../libiberty-linker-plugin";;
6542 as_fn_error
"libiberty missing" "$LINENO" 5;;
6546 # Sometimes we have special requirements for the host libiberty.
6547 extra_host_libiberty_configure_flags
=
6548 extra_host_zlib_configure_flags
=
6549 case " $configdirs " in
6550 *" lto-plugin "* |
*" libcc1 "*)
6551 # When these are to be built as shared libraries, the same applies to
6553 extra_host_libiberty_configure_flags
=--enable-shared
6556 # When bfd is to be built as a shared library, the same applies to
6558 if test "$enable_shared" = "yes"; then
6559 extra_host_zlib_configure_flags
=--enable-host-shared
6566 # Produce a warning message for the subdirs we can't configure.
6567 # This isn't especially interesting in the Cygnus tree, but in the individual
6568 # FSF releases, it's important to let people know when their machine isn't
6569 # supported by the one or two programs in a package.
6571 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6572 # If $appdirs is non-empty, at least one of those directories must still
6573 # be configured, or we error out. (E.g., if the gas release supports a
6574 # specified target in some subdirs but not the gas subdir, we shouldn't
6575 # pretend that all is well.)
6576 if test -n "$appdirs" ; then
6577 for dir
in $appdirs ; do
6578 if test -r $dir/Makefile.
in ; then
6579 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6583 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6589 if test -n "$appdirs" ; then
6590 echo "*** This configuration is not supported by this package." 1>&2
6594 # Okay, some application will build, or we don't care to check. Still
6595 # notify of subdirs not getting built.
6596 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6597 echo " ${notsupp}" 1>&2
6598 echo " (Any other directories should still work fine.)" 1>&2
6606 # To find our prefix, in gcc_cv_tool_prefix.
6608 # The user is always right.
6609 if test "${PATH_SEPARATOR+set}" != set; then
6610 echo "#! /bin/sh" >conf$$.sh
6611 echo "exit 0" >>conf$$.sh
6613 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6623 if test "x$exec_prefix" = xNONE
; then
6624 if test "x$prefix" = xNONE
; then
6625 gcc_cv_tool_prefix
=$ac_default_prefix
6627 gcc_cv_tool_prefix
=$prefix
6630 gcc_cv_tool_prefix
=$exec_prefix
6633 # If there is no compiler in the tree, use the PATH only. In any
6634 # case, if there is no compiler in the tree nobody should use
6635 # AS_FOR_TARGET and LD_FOR_TARGET.
6636 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6637 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6638 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6639 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6640 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6641 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6642 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6643 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6648 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6649 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6657 # Check whether --with-build-sysroot was given.
6658 if test "${with_build_sysroot+set}" = set; then :
6659 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6660 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6663 SYSROOT_CFLAGS_FOR_TARGET
=
6669 # Check whether --with-debug-prefix-map was given.
6670 if test "${with_debug_prefix_map+set}" = set; then :
6671 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6672 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6673 for debug_map
in $withval; do
6674 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6678 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6683 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6684 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6685 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6686 # We want to ensure that TARGET libraries (which we know are built with
6687 # gcc) are built with "-O2 -g", so include those options when setting
6688 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6689 if test "x$CFLAGS_FOR_TARGET" = x
; then
6690 if test "x${is_cross_compiler}" = xyes
; then
6691 CFLAGS_FOR_TARGET
="-g -O2"
6693 CFLAGS_FOR_TARGET
=$CFLAGS
6696 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6699 *" -g "* |
*" -g3 "*) ;;
6700 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6706 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6707 if test "x${is_cross_compiler}" = xyes
; then
6708 CXXFLAGS_FOR_TARGET
="-g -O2"
6710 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6711 case " $CXXFLAGS " in
6713 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6715 case " $CXXFLAGS " in
6716 *" -g "* |
*" -g3 "*) ;;
6717 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6725 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6726 # the named directory are copied to $(tooldir)/sys-include.
6727 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6728 if test x
${is_cross_compiler} = xno
; then
6729 echo 1>&2 '***' --with-headers is only supported when cross compiling
6732 if test x
"${with_headers}" != xyes
; then
6733 x
=${gcc_cv_tool_prefix}
6734 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6738 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6739 # the name directories are copied to $(tooldir)/lib. Multiple directories
6741 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6742 if test x
${is_cross_compiler} = xno
; then
6743 echo 1>&2 '***' --with-libs is only supported when cross compiling
6746 if test x
"${with_libs}" != xyes
; then
6747 # Copy the libraries in reverse order, so that files in the first named
6748 # library override files in subsequent libraries.
6749 x
=${gcc_cv_tool_prefix}
6750 for l
in ${with_libs}; do
6751 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6756 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6758 # This is done by determining whether or not the appropriate directory
6759 # is available, and by checking whether or not specific configurations
6760 # have requested that this magic not happen.
6762 # The command line options always override the explicit settings in
6763 # configure.ac, and the settings in configure.ac override this magic.
6765 # If the default for a toolchain is to use GNU as and ld, and you don't
6766 # want to do that, then you should use the --without-gnu-as and
6767 # --without-gnu-ld options for the configure script. Similarly, if
6768 # the default is to use the included zlib and you don't want to do that,
6769 # you should use the --with-system-zlib option for the configure script.
6771 if test x
${use_gnu_as} = x
&&
6772 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6774 extra_host_args
="$extra_host_args --with-gnu-as"
6777 if test x
${use_gnu_ld} = x
&&
6778 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6780 extra_host_args
="$extra_host_args --with-gnu-ld"
6783 if test x
${use_included_zlib} = x
&&
6784 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6787 with_system_zlib
=yes
6788 extra_host_args
="$extra_host_args --with-system-zlib"
6791 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6792 # can detect this case.
6794 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6796 extra_host_args
="$extra_host_args --with-newlib"
6799 # Handle ${copy_dirs}
6800 set fnord
${copy_dirs}
6802 while test $# != 0 ; do
6803 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6806 echo Copying
$1 to
$2
6808 # Use the install script to create the directory and all required
6809 # parent directories.
6810 if test -d $2 ; then
6814 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6817 # Copy the directory, assuming we have tar.
6818 # FIXME: Should we use B in the second tar? Not all systems support it.
6819 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6821 # It is the responsibility of the user to correctly adjust all
6822 # symlinks. If somebody can figure out how to handle them correctly
6823 # here, feel free to add the code.
6830 # Determine a target-dependent exec_prefix that the installed
6831 # gcc will search in. Keep this list sorted by triplet, with
6832 # the *-*-osname triplets last.
6835 i
[34567]86-pc-msdosdjgpp*)
6836 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6841 md_exec_prefix
=/usr
/ccs
/bin
6845 extra_arflags_for_target
=
6846 extra_nmflags_for_target
=
6847 extra_ranlibflags_for_target
=
6848 target_makefile_frag
=/dev
/null
6851 target_makefile_frag
="config/mt-spu"
6853 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6854 target_makefile_frag
="config/mt-sde"
6856 mipsisa
*-*-elfoabi*)
6857 target_makefile_frag
="config/mt-mips-elfoabi"
6859 mips
*-*-*linux
* | mips
*-*-gnu*)
6860 target_makefile_frag
="config/mt-mips-gnu"
6863 target_makefile_frag
="config/mt-nios2-elf"
6865 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6866 target_makefile_frag
="config/mt-gnu"
6868 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6869 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6870 # commands to handle both 32-bit and 64-bit objects. These flags are
6871 # harmless if we're using GNU nm or ar.
6872 extra_arflags_for_target
=" -X32_64"
6873 extra_nmflags_for_target
=" -B -X32_64"
6877 alphaieee_frag
=/dev
/null
6880 # This just makes sure to use the -mieee option to build target libs.
6881 # This should probably be set individually by each library.
6882 alphaieee_frag
="config/mt-alphaieee"
6886 # If --enable-target-optspace always use -Os instead of -O2 to build
6887 # the target libraries, similarly if it is not specified, use -Os
6888 # on selected platforms.
6889 ospace_frag
=/dev
/null
6890 case "${enable_target_optspace}:${target}" in
6892 ospace_frag
="config/mt-ospace"
6895 ospace_frag
="config/mt-d30v"
6897 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
6898 ospace_frag
="config/mt-ospace"
6903 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6907 # Some systems (e.g., one of the i386-aix systems the gas testers are
6908 # using) don't handle "\$" correctly, so don't use it here.
6909 tooldir
='${exec_prefix}'/${target_noncanonical}
6910 build_tooldir
=${tooldir}
6912 # Create a .gdbinit file which runs the one in srcdir
6913 # and tells GDB to look there for source files.
6915 if test -r ${srcdir}/.gdbinit
; then
6918 *) cat > .
/.gdbinit
<<EOF
6922 source ${srcdir}/.gdbinit
6928 # Make sure that the compiler is able to generate an executable. If it
6929 # can't, we are probably in trouble. We don't care whether we can run the
6930 # executable--we might be using a cross compiler--we only care whether it
6931 # can be created. At this point the main configure script has set CC.
6933 echo "int main () { return 0; }" > conftest.c
6934 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6935 if test $?
= 0 ; then
6936 if test -s conftest ||
test -s conftest.exe
; then
6942 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6943 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6950 # Decide which environment variable is used to find dynamic libraries.
6952 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6953 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6954 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6955 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6958 # On systems where the dynamic library environment variable is PATH,
6959 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6960 # built executables to PATH.
6961 if test "$RPATH_ENVVAR" = PATH
; then
6962 GCC_SHLIB_SUBDIR
=/shlib
6967 # Adjust the toplevel makefile according to whether bootstrap was selected.
6968 case $enable_bootstrap in
6970 bootstrap_suffix
=bootstrap
6971 BUILD_CONFIG
=bootstrap-debug
6974 bootstrap_suffix
=no-bootstrap
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6980 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6983 # Check whether --with-build-config was given.
6984 if test "${with_build_config+set}" = set; then :
6985 withval
=$with_build_config; case $with_build_config in
6986 yes) with_build_config
= ;;
6987 no
) with_build_config
= BUILD_CONFIG
= ;;
6992 if test "x${with_build_config}" != x
; then
6993 BUILD_CONFIG
=$with_build_config
6995 case $BUILD_CONFIG in
6997 if echo "int f (void) { return 0; }" > conftest.c
&&
6998 ${CC} -c conftest.c
&&
6999 mv conftest.o conftest.o.g0
&&
7000 ${CC} -c -g conftest.c
&&
7001 mv conftest.o conftest.o.g
&&
7002 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7007 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7012 $as_echo "$BUILD_CONFIG" >&6; }
7015 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7017 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7018 # Check whether --enable-vtable-verify was given.
7019 if test "${enable_vtable_verify+set}" = set; then :
7020 enableval
=$enable_vtable_verify; case "$enableval" in
7021 yes) enable_vtable_verify
=yes ;;
7022 no
) enable_vtable_verify
=no
;;
7023 *) enable_vtable_verify
=no
;;
7026 enable_vtable_verify
=no
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7030 $as_echo "$enable_vtable_verify" >&6; }
7032 # Record target_configdirs and the configure arguments for target and
7033 # build configuration in Makefile.
7034 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7035 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7036 bootstrap_fixincludes
=no
7038 # If we are building libgomp, bootstrap it.
7039 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7040 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7043 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7044 # or bootstrap-ubsan, bootstrap it.
7045 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7046 case "$BUILD_CONFIG" in
7047 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7048 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7049 bootstrap_fixincludes
=yes
7054 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7055 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7056 test "$enable_vtable_verify" != no
; then
7057 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7060 # If we are building libmpx and $BUILD_CONFIG contains bootstrap-mpx,
7062 if echo " ${target_configdirs} " |
grep " libmpx " > /dev
/null
2>&1; then
7063 case "$BUILD_CONFIG" in
7065 bootstrap_target_libs
=${bootstrap_target_libs}target-libmpx
,
7070 # Determine whether gdb needs tk/tcl or not.
7071 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7072 # and in that case we want gdb to be built without tk. Ugh!
7073 # In fact I believe gdb is the *only* package directly dependent on tk,
7074 # so we should be able to put the 'maybe's in unconditionally and
7075 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7076 # 100% sure that that's safe though.
7078 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7079 case "$enable_gdbtk" in
7083 GDB_TK
="${gdb_tk}" ;;
7085 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7086 # distro. Eventually someone will fix this and move Insight, nee
7087 # gdbtk to a separate directory.
7088 if test -d ${srcdir}/gdb
/gdbtk
; then
7095 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7096 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7098 # Strip out unwanted targets.
7100 # While at that, we remove Makefiles if we were started for recursive
7101 # configuration, so that the top-level Makefile reconfigures them,
7102 # like we used to do when configure itself was recursive.
7104 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7105 # but now we're fixing up the Makefile ourselves with the additional
7106 # commands passed to AC_CONFIG_FILES. Use separate variables
7107 # extrasub-{build,host,target} not because there is any reason to split
7108 # the substitutions up that way, but only to remain below the limit of
7109 # 99 commands in a script, for HP-UX sed.
7110 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7112 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7113 yes:yes:*\ gold\
*:*,c
++,*) ;;
7114 yes:yes:*\ gold\
*:*)
7115 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7120 for module
in ${build_configdirs} ; do
7121 if test -z "${no_recursion}" \
7122 && test -f ${build_subdir}/${module}/Makefile
; then
7123 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7124 rm -f ${build_subdir}/${module}/Makefile
7126 extrasub_build
="$extrasub_build
7127 /^@if build-$module\$/d
7128 /^@endif build-$module\$/d
7129 /^@if build-$module-$bootstrap_suffix\$/d
7130 /^@endif build-$module-$bootstrap_suffix\$/d"
7133 for module
in ${configdirs} ; do
7134 if test -z "${no_recursion}"; then
7135 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7136 if test -f ${file}; then
7137 echo 1>&2 "*** removing ${file} to force reconfigure"
7142 case ${module},${bootstrap_fixincludes} in
7143 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7144 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7146 extrasub_host
="$extrasub_host
7148 /^@endif $module\$/d
7149 /^@if $module-$host_bootstrap_suffix\$/d
7150 /^@endif $module-$host_bootstrap_suffix\$/d"
7153 for module
in ${target_configdirs} ; do
7154 if test -z "${no_recursion}" \
7155 && test -f ${target_subdir}/${module}/Makefile
; then
7156 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7157 rm -f ${target_subdir}/${module}/Makefile
7160 # We only bootstrap target libraries listed in bootstrap_target_libs.
7161 case $bootstrap_target_libs in
7162 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7163 *) target_bootstrap_suffix
=no-bootstrap
;;
7166 extrasub_target
="$extrasub_target
7167 /^@if target-$module\$/d
7168 /^@endif target-$module\$/d
7169 /^@if target-$module-$target_bootstrap_suffix\$/d
7170 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7173 # Do the final fixup along with target modules.
7174 extrasub_target
="$extrasub_target
7175 /^@if /,/^@endif /d"
7177 # Create the serialization dependencies. This uses a temporary file.
7179 # Check whether --enable-serial-configure was given.
7180 if test "${enable_serial_configure+set}" = set; then :
7181 enableval
=$enable_serial_configure;
7185 case ${enable_serial_configure} in
7187 enable_serial_build_configure
=yes
7188 enable_serial_host_configure
=yes
7189 enable_serial_target_configure
=yes
7193 # These force 'configure's to be done one at a time, to avoid problems
7194 # with contention over a shared config.cache.
7196 echo '# serdep.tmp' > serdep.tmp
7198 test "x${enable_serial_build_configure}" = xyes
&&
7199 for item
in ${build_configdirs} ; do
7202 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7207 test "x${enable_serial_host_configure}" = xyes
&&
7208 for item
in ${configdirs} ; do
7211 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7216 test "x${enable_serial_target_configure}" = xyes
&&
7217 for item
in ${target_configdirs} ; do
7220 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7224 serialization_dependencies
=serdep.tmp
7227 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7228 # target, nonopt, and variable assignments. These are the ones we
7229 # might not want to pass down to subconfigures. The exception being
7230 # --cache-file=/dev/null, which is used to turn off the use of cache
7231 # files altogether, and which should be passed on to subconfigures.
7232 # Also strip program-prefix, program-suffix, and program-transform-name,
7233 # so that we can pass down a consistent program-transform-name.
7238 eval "set -- $ac_configure_args"
7241 if test X
"$skip_next" = X
"yes"; then
7245 if test X
"$keep_next" = X
"yes"; then
7248 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7250 baseargs
="$baseargs '$ac_arg'"
7251 tbaseargs
="$tbaseargs '$ac_arg'"
7256 # Handle separated arguments. Based on the logic generated by
7259 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7260 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7261 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7262 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7276 --with-* |
--without-*)
7277 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7281 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7284 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7293 mpc | mpfr | gmp | isl
)
7294 # If we're processing --with-$lib, --with-$lib-include or
7295 # --with-$lib-lib, for one of the libs above, and target is
7296 # different from host, don't pass the current argument to any
7297 # target library's configure.
7298 if test x
$is_cross_compiler = xyes
; then
7307 --cache-file=/dev
/null | \
7308 -cache-file=/dev
/null
)
7309 # Handled here to avoid the test to skip args below.
7310 baseargs
="$baseargs '$ac_arg'"
7311 tbaseargs
="$tbaseargs '$ac_arg'"
7312 # Assert: $separate_arg should always be no.
7313 keep_next
=$separate_arg
7329 -program-prefix* | \
7330 -program-suffix* | \
7331 -program-transform-name* )
7332 skip_next
=$separate_arg
7336 # An option. Add it.
7339 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7341 baseargs
="$baseargs '$ac_arg'"
7342 if test X
"$skip_targ" = Xno
; then
7343 tbaseargs
="$tbaseargs '$ac_arg'"
7345 keep_next
=$separate_arg
7348 # Either a variable assignment, or a nonopt (triplet). Don't
7349 # pass it down; let the Makefile handle this.
7354 # Remove the initial space we just introduced and, as these will be
7355 # expanded by make, quote '$'.
7356 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7358 # Add in --program-transform-name, after --program-prefix and
7359 # --program-suffix have been applied to it. Autoconf has already
7360 # doubled dollar signs and backslashes in program_transform_name; we want
7361 # the backslashes un-doubled, and then the entire thing wrapped in single
7362 # quotes, because this will be expanded first by make and then by the shell.
7363 # Also, because we want to override the logic in subdir configure scripts to
7364 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7365 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7366 ${program_transform_name}
7368 gcc_transform_name
=`cat conftestsed.out`
7369 rm -f conftestsed.out
7370 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7371 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7372 if test "$silent" = yes; then
7373 baseargs
="$baseargs --silent"
7374 tbaseargs
="$tbaseargs --silent"
7376 baseargs
="$baseargs --disable-option-checking"
7377 tbaseargs
="$tbaseargs --disable-option-checking"
7379 # Record and document user additions to sub configure arguments.
7384 # For the build-side libraries, we just need to pretend we're native,
7385 # and not use the same cache file. Multilibs are neither needed nor
7386 # desired. We can't even use the same cache file for all build-side
7387 # libraries, as they're compiled differently; some with C, some with
7388 # C++ or with different feature-enabling options.
7389 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7391 # For host modules, accept cache file option, or specification as blank.
7392 case "${cache_file}" in
7394 cache_file_option
="" ;;
7395 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7396 cache_file_option
="--cache-file=${cache_file}" ;;
7398 cache_file_option
="--cache-file=../${cache_file}" ;;
7401 # Host dirs don't like to share a cache file either, horribly enough.
7402 # This seems to be due to autoconf 2.5x stupidity.
7403 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7405 target_configargs
="$target_configargs ${tbaseargs}"
7407 # Passing a --with-cross-host argument lets the target libraries know
7408 # whether they are being built with a cross-compiler or being built
7409 # native. However, it would be better to use other mechanisms to make the
7410 # sorts of decisions they want to make on this basis. Please consider
7411 # this option to be deprecated. FIXME.
7412 if test x
${is_cross_compiler} = xyes
; then
7413 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7416 # Special user-friendly check for native x86_64-linux build, if
7417 # multilib is not explicitly enabled.
7418 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7419 x86_64-
*linux
*:yes:$build:$build:)
7420 # Make sure we have a development environment that handles 32-bit
7422 echo "int main () { return 0; }" > conftest.c
7423 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7424 if test $?
= 0 ; then
7425 if test -s conftest ||
test -s conftest.exe
; then
7430 if test x
${dev64} != xyes
; then
7431 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
7436 # Default to --enable-multilib.
7437 if test x
${enable_multilib} = x
; then
7438 target_configargs
="--enable-multilib ${target_configargs}"
7441 # Pass --with-newlib if appropriate. Note that target_configdirs has
7442 # changed from the earlier setting of with_newlib.
7443 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7444 target_configargs
="--with-newlib ${target_configargs}"
7447 # Different target subdirs use different values of certain variables
7448 # (notably CXX). Worse, multilibs use *lots* of different values.
7449 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7450 # it doesn't automatically accept command-line overrides of them.
7451 # This means it's not safe for target subdirs to share a cache file,
7452 # which is disgusting, but there you have it. Hopefully this can be
7453 # fixed in future. It's still worthwhile to use a cache file for each
7454 # directory. I think.
7456 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7457 # We need to pass --target, as newer autoconf's requires consistency
7458 # for target_alias and gcc doesn't manage it consistently.
7459 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7462 case " $target_configdirs " in
7464 case " $target_configargs " in
7465 *" --with-newlib "*)
7468 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7472 # If we're not building GCC, don't discard standard headers.
7473 if test -d ${srcdir}/gcc
; then
7474 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7476 if test "${build}" != "${host}"; then
7477 # On Canadian crosses, CC_FOR_TARGET will have already been set
7478 # by `configure', so we won't have an opportunity to add -Bgcc/
7479 # to it. This is right: we don't want to search that directory
7480 # for binaries, but we want the header files in there, so add
7482 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7484 # Someone might think of using the pre-installed headers on
7485 # Canadian crosses, in case the installed compiler is not fully
7486 # compatible with the compiler being built. In this case, it
7487 # would be better to flag an error than risking having
7488 # incompatible object files being constructed. We can't
7489 # guarantee that an error will be flagged, but let's hope the
7490 # compiler will do it, when presented with incompatible header
7495 case "${target}-${is_cross_compiler}" in
7496 i
[3456789]86-*-linux*-no)
7497 # Here host == target, so we don't need to build gcc,
7498 # so we don't want to discard standard headers.
7499 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7502 # If we're building newlib, use its generic headers last, but search
7503 # for any libc-related directories first (so make it the last -B
7505 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7507 # If we're building libgloss, find the startup file, simulator library
7508 # and linker script.
7509 case " $target_configdirs " in
7511 # Look for startup file, simulator library and maybe linker script.
7512 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7513 # Look for libnosys.a in case the target needs it.
7514 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7515 # Most targets have the linker script in the source directory.
7516 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7527 x86_64-
*mingw
* |
*-w64-mingw*)
7528 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7529 # however, use a symlink named 'mingw' in ${prefix} .
7530 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7533 # MinGW can't be handled as Cygwin above since it does not use newlib.
7534 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'
7538 # Allow the user to override the flags for
7539 # our build compiler if desired.
7540 if test x
"${build}" = x
"${host}" ; then
7541 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7542 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7543 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7546 # On Canadian crosses, we'll be searching the right directories for
7547 # the previously-installed cross compiler, so don't bother to add
7548 # flags for directories within the install tree of the compiler
7549 # being built; programs in there won't even run.
7550 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7551 # Search for pre-installed headers if nothing else fits.
7552 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7555 if test "x
${use_gnu_ld}" = x &&
7556 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7557 # Arrange for us to find uninstalled linker scripts.
7558 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7561 # Search for other target-specific linker scripts and such.
7564 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7568 # Makefile fragments.
7569 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7571 eval fragval=\$$frag
7572 if test $fragval != /dev/null; then
7573 eval $frag=${srcdir}/$fragval
7581 # Miscellanea: directories, flags, etc.
7590 # Build module lists & subconfigure args.
7594 # Host module lists & subconfigure args.
7599 # Target module lists & subconfigure args.
7620 # Generate default definitions for YACC, M4, LEX and other programs that run
7621 # on the build machine. These are used if the Makefile can't locate these
7622 # programs in objdir.
7623 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7625 for ac_prog in 'bison -y' byacc yacc
7627 # Extract the first word of "$ac_prog", so it can be a program name with args.
7628 set dummy $ac_prog; ac_word=$2
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7630 $as_echo_n "checking
for $ac_word...
" >&6; }
7631 if test "${ac_cv_prog_YACC+set}" = set; then :
7632 $as_echo_n "(cached
) " >&6
7634 if test -n "$YACC"; then
7635 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7641 test -z "$as_dir" && as_dir=.
7642 for ac_exec_ext in '' $ac_executable_extensions; do
7643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7644 ac_cv_prog_YACC="$ac_prog"
7645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7654 YACC=$ac_cv_prog_YACC
7655 if test -n "$YACC"; then
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7657 $as_echo "$YACC" >&6; }
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7660 $as_echo "no
" >&6; }
7664 test -n "$YACC" && break
7666 test -n "$YACC" || YACC="$MISSING bison
-y"
7668 case " $build_configdirs " in
7669 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7672 for ac_prog in bison
7674 # Extract the first word of "$ac_prog", so it can be a program name with args.
7675 set dummy $ac_prog; ac_word=$2
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7677 $as_echo_n "checking
for $ac_word...
" >&6; }
7678 if test "${ac_cv_prog_BISON+set}" = set; then :
7679 $as_echo_n "(cached
) " >&6
7681 if test -n "$BISON"; then
7682 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7688 test -z "$as_dir" && as_dir=.
7689 for ac_exec_ext in '' $ac_executable_extensions; do
7690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7691 ac_cv_prog_BISON="$ac_prog"
7692 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7701 BISON=$ac_cv_prog_BISON
7702 if test -n "$BISON"; then
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7704 $as_echo "$BISON" >&6; }
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7707 $as_echo "no
" >&6; }
7711 test -n "$BISON" && break
7713 test -n "$BISON" || BISON="$MISSING bison
"
7715 case " $build_configdirs " in
7716 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7719 for ac_prog in gm4 gnum4 m4
7721 # Extract the first word of "$ac_prog", so it can be a program name with args.
7722 set dummy $ac_prog; ac_word=$2
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7724 $as_echo_n "checking
for $ac_word...
" >&6; }
7725 if test "${ac_cv_prog_M4+set}" = set; then :
7726 $as_echo_n "(cached
) " >&6
7728 if test -n "$M4"; then
7729 ac_cv_prog_M4="$M4" # Let the user override the test.
7731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7735 test -z "$as_dir" && as_dir=.
7736 for ac_exec_ext in '' $ac_executable_extensions; do
7737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7738 ac_cv_prog_M4="$ac_prog"
7739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7749 if test -n "$M4"; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7751 $as_echo "$M4" >&6; }
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7754 $as_echo "no
" >&6; }
7758 test -n "$M4" && break
7760 test -n "$M4" || M4="$MISSING m4"
7762 case " $build_configdirs " in
7763 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7766 for ac_prog in flex lex
7768 # Extract the first word of "$ac_prog", so it can be a program name with args.
7769 set dummy $ac_prog; ac_word=$2
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7771 $as_echo_n "checking
for $ac_word...
" >&6; }
7772 if test "${ac_cv_prog_LEX+set}" = set; then :
7773 $as_echo_n "(cached
) " >&6
7775 if test -n "$LEX"; then
7776 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7782 test -z "$as_dir" && as_dir=.
7783 for ac_exec_ext in '' $ac_executable_extensions; do
7784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7785 ac_cv_prog_LEX="$ac_prog"
7786 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7796 if test -n "$LEX"; then
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7798 $as_echo "$LEX" >&6; }
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7801 $as_echo "no
" >&6; }
7805 test -n "$LEX" && break
7807 test -n "$LEX" || LEX="$MISSING flex
"
7809 case " $build_configdirs " in
7810 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7811 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7816 # Extract the first word of "$ac_prog", so it can be a program name with args.
7817 set dummy $ac_prog; ac_word=$2
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7819 $as_echo_n "checking
for $ac_word...
" >&6; }
7820 if test "${ac_cv_prog_FLEX+set}" = set; then :
7821 $as_echo_n "(cached
) " >&6
7823 if test -n "$FLEX"; then
7824 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7830 test -z "$as_dir" && as_dir=.
7831 for ac_exec_ext in '' $ac_executable_extensions; do
7832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7833 ac_cv_prog_FLEX="$ac_prog"
7834 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7843 FLEX=$ac_cv_prog_FLEX
7844 if test -n "$FLEX"; then
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7846 $as_echo "$FLEX" >&6; }
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7849 $as_echo "no
" >&6; }
7853 test -n "$FLEX" && break
7855 test -n "$FLEX" || FLEX="$MISSING flex
"
7857 case " $build_configdirs " in
7858 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7861 for ac_prog in makeinfo
7863 # Extract the first word of "$ac_prog", so it can be a program name with args.
7864 set dummy $ac_prog; ac_word=$2
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7866 $as_echo_n "checking
for $ac_word...
" >&6; }
7867 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7868 $as_echo_n "(cached
) " >&6
7870 if test -n "$MAKEINFO"; then
7871 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7877 test -z "$as_dir" && as_dir=.
7878 for ac_exec_ext in '' $ac_executable_extensions; do
7879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7880 ac_cv_prog_MAKEINFO="$ac_prog"
7881 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7890 MAKEINFO=$ac_cv_prog_MAKEINFO
7891 if test -n "$MAKEINFO"; then
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7893 $as_echo "$MAKEINFO" >&6; }
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7896 $as_echo "no
" >&6; }
7900 test -n "$MAKEINFO" && break
7902 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7904 case " $build_configdirs " in
7905 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7908 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7909 # higher, else we use the "missing
" dummy.
7910 if ${MAKEINFO} --version \
7911 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7914 MAKEINFO="$MISSING makeinfo
"
7920 # FIXME: expect and dejagnu may become build tools?
7922 for ac_prog in expect
7924 # Extract the first word of "$ac_prog", so it can be a program name with args.
7925 set dummy $ac_prog; ac_word=$2
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7927 $as_echo_n "checking
for $ac_word...
" >&6; }
7928 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7929 $as_echo_n "(cached
) " >&6
7931 if test -n "$EXPECT"; then
7932 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7938 test -z "$as_dir" && as_dir=.
7939 for ac_exec_ext in '' $ac_executable_extensions; do
7940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7941 ac_cv_prog_EXPECT="$ac_prog"
7942 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7951 EXPECT=$ac_cv_prog_EXPECT
7952 if test -n "$EXPECT"; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7954 $as_echo "$EXPECT" >&6; }
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7957 $as_echo "no
" >&6; }
7961 test -n "$EXPECT" && break
7963 test -n "$EXPECT" || EXPECT="expect
"
7965 case " $configdirs " in
7967 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7971 for ac_prog in runtest
7973 # Extract the first word of "$ac_prog", so it can be a program name with args.
7974 set dummy $ac_prog; ac_word=$2
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7976 $as_echo_n "checking
for $ac_word...
" >&6; }
7977 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7978 $as_echo_n "(cached
) " >&6
7980 if test -n "$RUNTEST"; then
7981 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7990 ac_cv_prog_RUNTEST="$ac_prog"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8000 RUNTEST=$ac_cv_prog_RUNTEST
8001 if test -n "$RUNTEST"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8003 $as_echo "$RUNTEST" >&6; }
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8006 $as_echo "no
" >&6; }
8010 test -n "$RUNTEST" && break
8012 test -n "$RUNTEST" || RUNTEST="runtest
"
8014 case " $configdirs " in
8016 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8023 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8024 ncn_target_tool_prefix=
8025 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8029 if test -n "$AR"; then
8031 elif test -n "$ac_cv_prog_AR"; then
8035 if test -n "$ac_cv_prog_AR"; then
8036 for ncn_progname in ar; do
8037 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8038 set dummy ${ncn_progname}; ac_word=$2
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8040 $as_echo_n "checking
for $ac_word...
" >&6; }
8041 if test "${ac_cv_prog_AR+set}" = set; then :
8042 $as_echo_n "(cached
) " >&6
8044 if test -n "$AR"; then
8045 ac_cv_prog_AR="$AR" # Let the user override the test.
8047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8051 test -z "$as_dir" && as_dir=.
8052 for ac_exec_ext in '' $ac_executable_extensions; do
8053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8054 ac_cv_prog_AR="${ncn_progname}"
8055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8065 if test -n "$AR"; then
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8067 $as_echo "$AR" >&6; }
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8070 $as_echo "no
" >&6; }
8077 for ncn_progname in ar; do
8078 if test -n "$ncn_tool_prefix"; then
8079 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8080 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8082 $as_echo_n "checking
for $ac_word...
" >&6; }
8083 if test "${ac_cv_prog_AR+set}" = set; then :
8084 $as_echo_n "(cached
) " >&6
8086 if test -n "$AR"; then
8087 ac_cv_prog_AR="$AR" # Let the user override the test.
8089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8093 test -z "$as_dir" && as_dir=.
8094 for ac_exec_ext in '' $ac_executable_extensions; do
8095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8096 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8097 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8107 if test -n "$AR"; then
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8109 $as_echo "$AR" >&6; }
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8112 $as_echo "no
" >&6; }
8117 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8118 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8119 set dummy ${ncn_progname}; ac_word=$2
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8121 $as_echo_n "checking
for $ac_word...
" >&6; }
8122 if test "${ac_cv_prog_AR+set}" = set; then :
8123 $as_echo_n "(cached
) " >&6
8125 if test -n "$AR"; then
8126 ac_cv_prog_AR="$AR" # Let the user override the test.
8128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8132 test -z "$as_dir" && as_dir=.
8133 for ac_exec_ext in '' $ac_executable_extensions; do
8134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8135 ac_cv_prog_AR="${ncn_progname}"
8136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8146 if test -n "$AR"; then
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8148 $as_echo "$AR" >&6; }
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8151 $as_echo "no
" >&6; }
8156 test -n "$ac_cv_prog_AR" && break
8159 if test -z "$ac_cv_prog_AR" ; then
8161 if test $build = $host ; then
8164 AR="${ncn_tool_prefix}$2"
8170 if test -n "$AS"; then
8172 elif test -n "$ac_cv_prog_AS"; then
8176 if test -n "$ac_cv_prog_AS"; then
8177 for ncn_progname in as; do
8178 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8179 set dummy ${ncn_progname}; ac_word=$2
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8181 $as_echo_n "checking
for $ac_word...
" >&6; }
8182 if test "${ac_cv_prog_AS+set}" = set; then :
8183 $as_echo_n "(cached
) " >&6
8185 if test -n "$AS"; then
8186 ac_cv_prog_AS="$AS" # Let the user override the test.
8188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8192 test -z "$as_dir" && as_dir=.
8193 for ac_exec_ext in '' $ac_executable_extensions; do
8194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8195 ac_cv_prog_AS="${ncn_progname}"
8196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8206 if test -n "$AS"; then
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8208 $as_echo "$AS" >&6; }
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8211 $as_echo "no
" >&6; }
8218 for ncn_progname in as; do
8219 if test -n "$ncn_tool_prefix"; then
8220 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8221 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8223 $as_echo_n "checking
for $ac_word...
" >&6; }
8224 if test "${ac_cv_prog_AS+set}" = set; then :
8225 $as_echo_n "(cached
) " >&6
8227 if test -n "$AS"; then
8228 ac_cv_prog_AS="$AS" # Let the user override the test.
8230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8234 test -z "$as_dir" && as_dir=.
8235 for ac_exec_ext in '' $ac_executable_extensions; do
8236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8237 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8238 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8248 if test -n "$AS"; then
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8250 $as_echo "$AS" >&6; }
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8253 $as_echo "no
" >&6; }
8258 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8259 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8260 set dummy ${ncn_progname}; ac_word=$2
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8262 $as_echo_n "checking
for $ac_word...
" >&6; }
8263 if test "${ac_cv_prog_AS+set}" = set; then :
8264 $as_echo_n "(cached
) " >&6
8266 if test -n "$AS"; then
8267 ac_cv_prog_AS="$AS" # Let the user override the test.
8269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8273 test -z "$as_dir" && as_dir=.
8274 for ac_exec_ext in '' $ac_executable_extensions; do
8275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8276 ac_cv_prog_AS="${ncn_progname}"
8277 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8287 if test -n "$AS"; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8289 $as_echo "$AS" >&6; }
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8292 $as_echo "no
" >&6; }
8297 test -n "$ac_cv_prog_AS" && break
8300 if test -z "$ac_cv_prog_AS" ; then
8302 if test $build = $host ; then
8305 AS="${ncn_tool_prefix}$2"
8311 if test -n "$DLLTOOL"; then
8312 ac_cv_prog_DLLTOOL=$DLLTOOL
8313 elif test -n "$ac_cv_prog_DLLTOOL"; then
8314 DLLTOOL=$ac_cv_prog_DLLTOOL
8317 if test -n "$ac_cv_prog_DLLTOOL"; then
8318 for ncn_progname in dlltool; do
8319 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8320 set dummy ${ncn_progname}; ac_word=$2
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8322 $as_echo_n "checking
for $ac_word...
" >&6; }
8323 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8324 $as_echo_n "(cached
) " >&6
8326 if test -n "$DLLTOOL"; then
8327 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8333 test -z "$as_dir" && as_dir=.
8334 for ac_exec_ext in '' $ac_executable_extensions; do
8335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8336 ac_cv_prog_DLLTOOL="${ncn_progname}"
8337 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8346 DLLTOOL=$ac_cv_prog_DLLTOOL
8347 if test -n "$DLLTOOL"; then
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8349 $as_echo "$DLLTOOL" >&6; }
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8352 $as_echo "no
" >&6; }
8359 for ncn_progname in dlltool; do
8360 if test -n "$ncn_tool_prefix"; then
8361 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8362 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8364 $as_echo_n "checking
for $ac_word...
" >&6; }
8365 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8366 $as_echo_n "(cached
) " >&6
8368 if test -n "$DLLTOOL"; then
8369 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8375 test -z "$as_dir" && as_dir=.
8376 for ac_exec_ext in '' $ac_executable_extensions; do
8377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8378 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8379 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8388 DLLTOOL=$ac_cv_prog_DLLTOOL
8389 if test -n "$DLLTOOL"; then
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8391 $as_echo "$DLLTOOL" >&6; }
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8394 $as_echo "no
" >&6; }
8399 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8400 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8401 set dummy ${ncn_progname}; ac_word=$2
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8403 $as_echo_n "checking
for $ac_word...
" >&6; }
8404 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8405 $as_echo_n "(cached
) " >&6
8407 if test -n "$DLLTOOL"; then
8408 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8414 test -z "$as_dir" && as_dir=.
8415 for ac_exec_ext in '' $ac_executable_extensions; do
8416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8417 ac_cv_prog_DLLTOOL="${ncn_progname}"
8418 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8427 DLLTOOL=$ac_cv_prog_DLLTOOL
8428 if test -n "$DLLTOOL"; then
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8430 $as_echo "$DLLTOOL" >&6; }
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8433 $as_echo "no
" >&6; }
8438 test -n "$ac_cv_prog_DLLTOOL" && break
8441 if test -z "$ac_cv_prog_DLLTOOL" ; then
8443 if test $build = $host ; then
8446 DLLTOOL="${ncn_tool_prefix}$2"
8452 if test -n "$LD"; then
8454 elif test -n "$ac_cv_prog_LD"; then
8458 if test -n "$ac_cv_prog_LD"; then
8459 for ncn_progname in ld; do
8460 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8461 set dummy ${ncn_progname}; ac_word=$2
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8463 $as_echo_n "checking
for $ac_word...
" >&6; }
8464 if test "${ac_cv_prog_LD+set}" = set; then :
8465 $as_echo_n "(cached
) " >&6
8467 if test -n "$LD"; then
8468 ac_cv_prog_LD="$LD" # Let the user override the test.
8470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8474 test -z "$as_dir" && as_dir=.
8475 for ac_exec_ext in '' $ac_executable_extensions; do
8476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8477 ac_cv_prog_LD="${ncn_progname}"
8478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8488 if test -n "$LD"; then
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8490 $as_echo "$LD" >&6; }
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8493 $as_echo "no
" >&6; }
8500 for ncn_progname in ld; do
8501 if test -n "$ncn_tool_prefix"; then
8502 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8503 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8505 $as_echo_n "checking
for $ac_word...
" >&6; }
8506 if test "${ac_cv_prog_LD+set}" = set; then :
8507 $as_echo_n "(cached
) " >&6
8509 if test -n "$LD"; then
8510 ac_cv_prog_LD="$LD" # Let the user override the test.
8512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8516 test -z "$as_dir" && as_dir=.
8517 for ac_exec_ext in '' $ac_executable_extensions; do
8518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8519 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8520 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8530 if test -n "$LD"; then
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8532 $as_echo "$LD" >&6; }
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8535 $as_echo "no
" >&6; }
8540 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8541 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8542 set dummy ${ncn_progname}; ac_word=$2
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8544 $as_echo_n "checking
for $ac_word...
" >&6; }
8545 if test "${ac_cv_prog_LD+set}" = set; then :
8546 $as_echo_n "(cached
) " >&6
8548 if test -n "$LD"; then
8549 ac_cv_prog_LD="$LD" # Let the user override the test.
8551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8555 test -z "$as_dir" && as_dir=.
8556 for ac_exec_ext in '' $ac_executable_extensions; do
8557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8558 ac_cv_prog_LD="${ncn_progname}"
8559 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8569 if test -n "$LD"; then
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8571 $as_echo "$LD" >&6; }
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8574 $as_echo "no
" >&6; }
8579 test -n "$ac_cv_prog_LD" && break
8582 if test -z "$ac_cv_prog_LD" ; then
8584 if test $build = $host ; then
8587 LD="${ncn_tool_prefix}$2"
8593 if test -n "$LIPO"; then
8594 ac_cv_prog_LIPO=$LIPO
8595 elif test -n "$ac_cv_prog_LIPO"; then
8596 LIPO=$ac_cv_prog_LIPO
8599 if test -n "$ac_cv_prog_LIPO"; then
8600 for ncn_progname in lipo; do
8601 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8602 set dummy ${ncn_progname}; ac_word=$2
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8604 $as_echo_n "checking
for $ac_word...
" >&6; }
8605 if test "${ac_cv_prog_LIPO+set}" = set; then :
8606 $as_echo_n "(cached
) " >&6
8608 if test -n "$LIPO"; then
8609 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8615 test -z "$as_dir" && as_dir=.
8616 for ac_exec_ext in '' $ac_executable_extensions; do
8617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8618 ac_cv_prog_LIPO="${ncn_progname}"
8619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8628 LIPO=$ac_cv_prog_LIPO
8629 if test -n "$LIPO"; then
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8631 $as_echo "$LIPO" >&6; }
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8634 $as_echo "no
" >&6; }
8641 for ncn_progname in lipo; do
8642 if test -n "$ncn_tool_prefix"; then
8643 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8644 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8646 $as_echo_n "checking
for $ac_word...
" >&6; }
8647 if test "${ac_cv_prog_LIPO+set}" = set; then :
8648 $as_echo_n "(cached
) " >&6
8650 if test -n "$LIPO"; then
8651 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8657 test -z "$as_dir" && as_dir=.
8658 for ac_exec_ext in '' $ac_executable_extensions; do
8659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8660 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8661 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8670 LIPO=$ac_cv_prog_LIPO
8671 if test -n "$LIPO"; then
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8673 $as_echo "$LIPO" >&6; }
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8676 $as_echo "no
" >&6; }
8681 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8682 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8683 set dummy ${ncn_progname}; ac_word=$2
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8685 $as_echo_n "checking
for $ac_word...
" >&6; }
8686 if test "${ac_cv_prog_LIPO+set}" = set; then :
8687 $as_echo_n "(cached
) " >&6
8689 if test -n "$LIPO"; then
8690 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8696 test -z "$as_dir" && as_dir=.
8697 for ac_exec_ext in '' $ac_executable_extensions; do
8698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8699 ac_cv_prog_LIPO="${ncn_progname}"
8700 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8709 LIPO=$ac_cv_prog_LIPO
8710 if test -n "$LIPO"; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8712 $as_echo "$LIPO" >&6; }
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8715 $as_echo "no
" >&6; }
8720 test -n "$ac_cv_prog_LIPO" && break
8723 if test -z "$ac_cv_prog_LIPO" ; then
8725 if test $build = $host ; then
8728 LIPO="${ncn_tool_prefix}$2"
8734 if test -n "$NM"; then
8736 elif test -n "$ac_cv_prog_NM"; then
8740 if test -n "$ac_cv_prog_NM"; then
8741 for ncn_progname in nm; do
8742 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8743 set dummy ${ncn_progname}; ac_word=$2
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8745 $as_echo_n "checking
for $ac_word...
" >&6; }
8746 if test "${ac_cv_prog_NM+set}" = set; then :
8747 $as_echo_n "(cached
) " >&6
8749 if test -n "$NM"; then
8750 ac_cv_prog_NM="$NM" # Let the user override the test.
8752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8756 test -z "$as_dir" && as_dir=.
8757 for ac_exec_ext in '' $ac_executable_extensions; do
8758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8759 ac_cv_prog_NM="${ncn_progname}"
8760 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8770 if test -n "$NM"; then
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8772 $as_echo "$NM" >&6; }
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8775 $as_echo "no
" >&6; }
8782 for ncn_progname in nm; do
8783 if test -n "$ncn_tool_prefix"; then
8784 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8785 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8787 $as_echo_n "checking
for $ac_word...
" >&6; }
8788 if test "${ac_cv_prog_NM+set}" = set; then :
8789 $as_echo_n "(cached
) " >&6
8791 if test -n "$NM"; then
8792 ac_cv_prog_NM="$NM" # Let the user override the test.
8794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8798 test -z "$as_dir" && as_dir=.
8799 for ac_exec_ext in '' $ac_executable_extensions; do
8800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8801 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8802 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8812 if test -n "$NM"; then
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8814 $as_echo "$NM" >&6; }
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8817 $as_echo "no
" >&6; }
8822 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8823 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8824 set dummy ${ncn_progname}; ac_word=$2
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8826 $as_echo_n "checking
for $ac_word...
" >&6; }
8827 if test "${ac_cv_prog_NM+set}" = set; then :
8828 $as_echo_n "(cached
) " >&6
8830 if test -n "$NM"; then
8831 ac_cv_prog_NM="$NM" # Let the user override the test.
8833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8837 test -z "$as_dir" && as_dir=.
8838 for ac_exec_ext in '' $ac_executable_extensions; do
8839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8840 ac_cv_prog_NM="${ncn_progname}"
8841 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8851 if test -n "$NM"; then
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8853 $as_echo "$NM" >&6; }
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8856 $as_echo "no
" >&6; }
8861 test -n "$ac_cv_prog_NM" && break
8864 if test -z "$ac_cv_prog_NM" ; then
8866 if test $build = $host ; then
8869 NM="${ncn_tool_prefix}$2"
8875 if test -n "$RANLIB"; then
8876 ac_cv_prog_RANLIB=$RANLIB
8877 elif test -n "$ac_cv_prog_RANLIB"; then
8878 RANLIB=$ac_cv_prog_RANLIB
8881 if test -n "$ac_cv_prog_RANLIB"; then
8882 for ncn_progname in ranlib; do
8883 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8884 set dummy ${ncn_progname}; ac_word=$2
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8886 $as_echo_n "checking
for $ac_word...
" >&6; }
8887 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8888 $as_echo_n "(cached
) " >&6
8890 if test -n "$RANLIB"; then
8891 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8897 test -z "$as_dir" && as_dir=.
8898 for ac_exec_ext in '' $ac_executable_extensions; do
8899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8900 ac_cv_prog_RANLIB="${ncn_progname}"
8901 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8910 RANLIB=$ac_cv_prog_RANLIB
8911 if test -n "$RANLIB"; then
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8913 $as_echo "$RANLIB" >&6; }
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8916 $as_echo "no
" >&6; }
8923 for ncn_progname in ranlib; do
8924 if test -n "$ncn_tool_prefix"; then
8925 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8926 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8928 $as_echo_n "checking
for $ac_word...
" >&6; }
8929 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8930 $as_echo_n "(cached
) " >&6
8932 if test -n "$RANLIB"; then
8933 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8939 test -z "$as_dir" && as_dir=.
8940 for ac_exec_ext in '' $ac_executable_extensions; do
8941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8942 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8952 RANLIB=$ac_cv_prog_RANLIB
8953 if test -n "$RANLIB"; then
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8955 $as_echo "$RANLIB" >&6; }
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8958 $as_echo "no
" >&6; }
8963 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8964 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8965 set dummy ${ncn_progname}; ac_word=$2
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8967 $as_echo_n "checking
for $ac_word...
" >&6; }
8968 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8969 $as_echo_n "(cached
) " >&6
8971 if test -n "$RANLIB"; then
8972 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8978 test -z "$as_dir" && as_dir=.
8979 for ac_exec_ext in '' $ac_executable_extensions; do
8980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8981 ac_cv_prog_RANLIB="${ncn_progname}"
8982 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8991 RANLIB=$ac_cv_prog_RANLIB
8992 if test -n "$RANLIB"; then
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8994 $as_echo "$RANLIB" >&6; }
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8997 $as_echo "no
" >&6; }
9002 test -n "$ac_cv_prog_RANLIB" && break
9005 if test -z "$ac_cv_prog_RANLIB" ; then
9011 if test -n "$STRIP"; then
9012 ac_cv_prog_STRIP=$STRIP
9013 elif test -n "$ac_cv_prog_STRIP"; then
9014 STRIP=$ac_cv_prog_STRIP
9017 if test -n "$ac_cv_prog_STRIP"; then
9018 for ncn_progname in strip; do
9019 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9020 set dummy ${ncn_progname}; ac_word=$2
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9022 $as_echo_n "checking
for $ac_word...
" >&6; }
9023 if test "${ac_cv_prog_STRIP+set}" = set; then :
9024 $as_echo_n "(cached
) " >&6
9026 if test -n "$STRIP"; then
9027 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9033 test -z "$as_dir" && as_dir=.
9034 for ac_exec_ext in '' $ac_executable_extensions; do
9035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9036 ac_cv_prog_STRIP="${ncn_progname}"
9037 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9046 STRIP=$ac_cv_prog_STRIP
9047 if test -n "$STRIP"; then
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9049 $as_echo "$STRIP" >&6; }
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9052 $as_echo "no
" >&6; }
9059 for ncn_progname in strip; do
9060 if test -n "$ncn_tool_prefix"; then
9061 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9062 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9064 $as_echo_n "checking
for $ac_word...
" >&6; }
9065 if test "${ac_cv_prog_STRIP+set}" = set; then :
9066 $as_echo_n "(cached
) " >&6
9068 if test -n "$STRIP"; then
9069 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9075 test -z "$as_dir" && as_dir=.
9076 for ac_exec_ext in '' $ac_executable_extensions; do
9077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9078 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9079 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9088 STRIP=$ac_cv_prog_STRIP
9089 if test -n "$STRIP"; then
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9091 $as_echo "$STRIP" >&6; }
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9094 $as_echo "no
" >&6; }
9099 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9100 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9101 set dummy ${ncn_progname}; ac_word=$2
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9103 $as_echo_n "checking
for $ac_word...
" >&6; }
9104 if test "${ac_cv_prog_STRIP+set}" = set; then :
9105 $as_echo_n "(cached
) " >&6
9107 if test -n "$STRIP"; then
9108 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9114 test -z "$as_dir" && as_dir=.
9115 for ac_exec_ext in '' $ac_executable_extensions; do
9116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9117 ac_cv_prog_STRIP="${ncn_progname}"
9118 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9127 STRIP=$ac_cv_prog_STRIP
9128 if test -n "$STRIP"; then
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9130 $as_echo "$STRIP" >&6; }
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9133 $as_echo "no
" >&6; }
9138 test -n "$ac_cv_prog_STRIP" && break
9141 if test -z "$ac_cv_prog_STRIP" ; then
9147 if test -n "$WINDRES"; then
9148 ac_cv_prog_WINDRES=$WINDRES
9149 elif test -n "$ac_cv_prog_WINDRES"; then
9150 WINDRES=$ac_cv_prog_WINDRES
9153 if test -n "$ac_cv_prog_WINDRES"; then
9154 for ncn_progname in windres; do
9155 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9156 set dummy ${ncn_progname}; ac_word=$2
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9158 $as_echo_n "checking
for $ac_word...
" >&6; }
9159 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9160 $as_echo_n "(cached
) " >&6
9162 if test -n "$WINDRES"; then
9163 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9169 test -z "$as_dir" && as_dir=.
9170 for ac_exec_ext in '' $ac_executable_extensions; do
9171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9172 ac_cv_prog_WINDRES="${ncn_progname}"
9173 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9182 WINDRES=$ac_cv_prog_WINDRES
9183 if test -n "$WINDRES"; then
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9185 $as_echo "$WINDRES" >&6; }
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9188 $as_echo "no
" >&6; }
9195 for ncn_progname in windres; do
9196 if test -n "$ncn_tool_prefix"; then
9197 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9198 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9200 $as_echo_n "checking
for $ac_word...
" >&6; }
9201 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9202 $as_echo_n "(cached
) " >&6
9204 if test -n "$WINDRES"; then
9205 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9211 test -z "$as_dir" && as_dir=.
9212 for ac_exec_ext in '' $ac_executable_extensions; do
9213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9214 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9215 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9224 WINDRES=$ac_cv_prog_WINDRES
9225 if test -n "$WINDRES"; then
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9227 $as_echo "$WINDRES" >&6; }
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9230 $as_echo "no
" >&6; }
9235 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9236 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9237 set dummy ${ncn_progname}; ac_word=$2
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9239 $as_echo_n "checking
for $ac_word...
" >&6; }
9240 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9241 $as_echo_n "(cached
) " >&6
9243 if test -n "$WINDRES"; then
9244 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9250 test -z "$as_dir" && as_dir=.
9251 for ac_exec_ext in '' $ac_executable_extensions; do
9252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9253 ac_cv_prog_WINDRES="${ncn_progname}"
9254 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9263 WINDRES=$ac_cv_prog_WINDRES
9264 if test -n "$WINDRES"; then
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9266 $as_echo "$WINDRES" >&6; }
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9269 $as_echo "no
" >&6; }
9274 test -n "$ac_cv_prog_WINDRES" && break
9277 if test -z "$ac_cv_prog_WINDRES" ; then
9279 if test $build = $host ; then
9282 WINDRES="${ncn_tool_prefix}$2"
9288 if test -n "$WINDMC"; then
9289 ac_cv_prog_WINDMC=$WINDMC
9290 elif test -n "$ac_cv_prog_WINDMC"; then
9291 WINDMC=$ac_cv_prog_WINDMC
9294 if test -n "$ac_cv_prog_WINDMC"; then
9295 for ncn_progname in windmc; do
9296 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9297 set dummy ${ncn_progname}; ac_word=$2
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9299 $as_echo_n "checking
for $ac_word...
" >&6; }
9300 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9301 $as_echo_n "(cached
) " >&6
9303 if test -n "$WINDMC"; then
9304 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9310 test -z "$as_dir" && as_dir=.
9311 for ac_exec_ext in '' $ac_executable_extensions; do
9312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9313 ac_cv_prog_WINDMC="${ncn_progname}"
9314 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9323 WINDMC=$ac_cv_prog_WINDMC
9324 if test -n "$WINDMC"; then
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9326 $as_echo "$WINDMC" >&6; }
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9329 $as_echo "no
" >&6; }
9336 for ncn_progname in windmc; do
9337 if test -n "$ncn_tool_prefix"; then
9338 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9339 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9341 $as_echo_n "checking
for $ac_word...
" >&6; }
9342 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9343 $as_echo_n "(cached
) " >&6
9345 if test -n "$WINDMC"; then
9346 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9352 test -z "$as_dir" && as_dir=.
9353 for ac_exec_ext in '' $ac_executable_extensions; do
9354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9355 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9356 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9365 WINDMC=$ac_cv_prog_WINDMC
9366 if test -n "$WINDMC"; then
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9368 $as_echo "$WINDMC" >&6; }
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9371 $as_echo "no
" >&6; }
9376 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9377 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9378 set dummy ${ncn_progname}; ac_word=$2
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9380 $as_echo_n "checking
for $ac_word...
" >&6; }
9381 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9382 $as_echo_n "(cached
) " >&6
9384 if test -n "$WINDMC"; then
9385 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9391 test -z "$as_dir" && as_dir=.
9392 for ac_exec_ext in '' $ac_executable_extensions; do
9393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9394 ac_cv_prog_WINDMC="${ncn_progname}"
9395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9404 WINDMC=$ac_cv_prog_WINDMC
9405 if test -n "$WINDMC"; then
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9407 $as_echo "$WINDMC" >&6; }
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9410 $as_echo "no
" >&6; }
9415 test -n "$ac_cv_prog_WINDMC" && break
9418 if test -z "$ac_cv_prog_WINDMC" ; then
9420 if test $build = $host ; then
9423 WINDMC="${ncn_tool_prefix}$2"
9429 if test -n "$OBJCOPY"; then
9430 ac_cv_prog_OBJCOPY=$OBJCOPY
9431 elif test -n "$ac_cv_prog_OBJCOPY"; then
9432 OBJCOPY=$ac_cv_prog_OBJCOPY
9435 if test -n "$ac_cv_prog_OBJCOPY"; then
9436 for ncn_progname in objcopy; do
9437 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9438 set dummy ${ncn_progname}; ac_word=$2
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9440 $as_echo_n "checking
for $ac_word...
" >&6; }
9441 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9442 $as_echo_n "(cached
) " >&6
9444 if test -n "$OBJCOPY"; then
9445 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9451 test -z "$as_dir" && as_dir=.
9452 for ac_exec_ext in '' $ac_executable_extensions; do
9453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9454 ac_cv_prog_OBJCOPY="${ncn_progname}"
9455 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9464 OBJCOPY=$ac_cv_prog_OBJCOPY
9465 if test -n "$OBJCOPY"; then
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9467 $as_echo "$OBJCOPY" >&6; }
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9470 $as_echo "no
" >&6; }
9477 for ncn_progname in objcopy; do
9478 if test -n "$ncn_tool_prefix"; then
9479 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9480 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9482 $as_echo_n "checking
for $ac_word...
" >&6; }
9483 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9484 $as_echo_n "(cached
) " >&6
9486 if test -n "$OBJCOPY"; then
9487 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9493 test -z "$as_dir" && as_dir=.
9494 for ac_exec_ext in '' $ac_executable_extensions; do
9495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9496 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9497 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9506 OBJCOPY=$ac_cv_prog_OBJCOPY
9507 if test -n "$OBJCOPY"; then
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9509 $as_echo "$OBJCOPY" >&6; }
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9512 $as_echo "no
" >&6; }
9517 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9518 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9519 set dummy ${ncn_progname}; ac_word=$2
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9521 $as_echo_n "checking
for $ac_word...
" >&6; }
9522 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9523 $as_echo_n "(cached
) " >&6
9525 if test -n "$OBJCOPY"; then
9526 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9532 test -z "$as_dir" && as_dir=.
9533 for ac_exec_ext in '' $ac_executable_extensions; do
9534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9535 ac_cv_prog_OBJCOPY="${ncn_progname}"
9536 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9545 OBJCOPY=$ac_cv_prog_OBJCOPY
9546 if test -n "$OBJCOPY"; then
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9548 $as_echo "$OBJCOPY" >&6; }
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9551 $as_echo "no
" >&6; }
9556 test -n "$ac_cv_prog_OBJCOPY" && break
9559 if test -z "$ac_cv_prog_OBJCOPY" ; then
9561 if test $build = $host ; then
9564 OBJCOPY="${ncn_tool_prefix}$2"
9570 if test -n "$OBJDUMP"; then
9571 ac_cv_prog_OBJDUMP=$OBJDUMP
9572 elif test -n "$ac_cv_prog_OBJDUMP"; then
9573 OBJDUMP=$ac_cv_prog_OBJDUMP
9576 if test -n "$ac_cv_prog_OBJDUMP"; then
9577 for ncn_progname in objdump; do
9578 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9579 set dummy ${ncn_progname}; ac_word=$2
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9581 $as_echo_n "checking
for $ac_word...
" >&6; }
9582 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9583 $as_echo_n "(cached
) " >&6
9585 if test -n "$OBJDUMP"; then
9586 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9592 test -z "$as_dir" && as_dir=.
9593 for ac_exec_ext in '' $ac_executable_extensions; do
9594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9595 ac_cv_prog_OBJDUMP="${ncn_progname}"
9596 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9605 OBJDUMP=$ac_cv_prog_OBJDUMP
9606 if test -n "$OBJDUMP"; then
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9608 $as_echo "$OBJDUMP" >&6; }
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9611 $as_echo "no
" >&6; }
9618 for ncn_progname in objdump; do
9619 if test -n "$ncn_tool_prefix"; then
9620 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9621 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9623 $as_echo_n "checking
for $ac_word...
" >&6; }
9624 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9625 $as_echo_n "(cached
) " >&6
9627 if test -n "$OBJDUMP"; then
9628 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9634 test -z "$as_dir" && as_dir=.
9635 for ac_exec_ext in '' $ac_executable_extensions; do
9636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9637 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9638 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9647 OBJDUMP=$ac_cv_prog_OBJDUMP
9648 if test -n "$OBJDUMP"; then
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9650 $as_echo "$OBJDUMP" >&6; }
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9653 $as_echo "no
" >&6; }
9658 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9659 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9660 set dummy ${ncn_progname}; ac_word=$2
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9662 $as_echo_n "checking
for $ac_word...
" >&6; }
9663 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9664 $as_echo_n "(cached
) " >&6
9666 if test -n "$OBJDUMP"; then
9667 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9673 test -z "$as_dir" && as_dir=.
9674 for ac_exec_ext in '' $ac_executable_extensions; do
9675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9676 ac_cv_prog_OBJDUMP="${ncn_progname}"
9677 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9686 OBJDUMP=$ac_cv_prog_OBJDUMP
9687 if test -n "$OBJDUMP"; then
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9689 $as_echo "$OBJDUMP" >&6; }
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9692 $as_echo "no
" >&6; }
9697 test -n "$ac_cv_prog_OBJDUMP" && break
9700 if test -z "$ac_cv_prog_OBJDUMP" ; then
9702 if test $build = $host ; then
9705 OBJDUMP="${ncn_tool_prefix}$2"
9711 if test -n "$READELF"; then
9712 ac_cv_prog_READELF=$READELF
9713 elif test -n "$ac_cv_prog_READELF"; then
9714 READELF=$ac_cv_prog_READELF
9717 if test -n "$ac_cv_prog_READELF"; then
9718 for ncn_progname in readelf; do
9719 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9720 set dummy ${ncn_progname}; ac_word=$2
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9722 $as_echo_n "checking
for $ac_word...
" >&6; }
9723 if test "${ac_cv_prog_READELF+set}" = set; then :
9724 $as_echo_n "(cached
) " >&6
9726 if test -n "$READELF"; then
9727 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9733 test -z "$as_dir" && as_dir=.
9734 for ac_exec_ext in '' $ac_executable_extensions; do
9735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9736 ac_cv_prog_READELF="${ncn_progname}"
9737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9746 READELF=$ac_cv_prog_READELF
9747 if test -n "$READELF"; then
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9749 $as_echo "$READELF" >&6; }
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9752 $as_echo "no
" >&6; }
9759 for ncn_progname in readelf; do
9760 if test -n "$ncn_tool_prefix"; then
9761 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9762 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9764 $as_echo_n "checking
for $ac_word...
" >&6; }
9765 if test "${ac_cv_prog_READELF+set}" = set; then :
9766 $as_echo_n "(cached
) " >&6
9768 if test -n "$READELF"; then
9769 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9775 test -z "$as_dir" && as_dir=.
9776 for ac_exec_ext in '' $ac_executable_extensions; do
9777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9778 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9788 READELF=$ac_cv_prog_READELF
9789 if test -n "$READELF"; then
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9791 $as_echo "$READELF" >&6; }
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9794 $as_echo "no
" >&6; }
9799 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9800 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9801 set dummy ${ncn_progname}; ac_word=$2
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9803 $as_echo_n "checking
for $ac_word...
" >&6; }
9804 if test "${ac_cv_prog_READELF+set}" = set; then :
9805 $as_echo_n "(cached
) " >&6
9807 if test -n "$READELF"; then
9808 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9814 test -z "$as_dir" && as_dir=.
9815 for ac_exec_ext in '' $ac_executable_extensions; do
9816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9817 ac_cv_prog_READELF="${ncn_progname}"
9818 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9827 READELF=$ac_cv_prog_READELF
9828 if test -n "$READELF"; then
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9830 $as_echo "$READELF" >&6; }
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9833 $as_echo "no
" >&6; }
9838 test -n "$ac_cv_prog_READELF" && break
9841 if test -z "$ac_cv_prog_READELF" ; then
9843 if test $build = $host ; then
9846 READELF="${ncn_tool_prefix}$2"
9857 # Check whether --with-build-time-tools was given.
9858 if test "${with_build_time_tools+set}" = set; then :
9859 withval=$with_build_time_tools; case x"$withval" in
9862 with_build_time_tools=
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9864 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9868 with_build_time_tools=
9874 if test -n "$CC_FOR_TARGET"; then
9875 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9876 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9877 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9880 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9881 for ncn_progname in cc gcc; do
9882 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9883 set dummy ${ncn_progname}; ac_word=$2
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9885 $as_echo_n "checking
for $ac_word...
" >&6; }
9886 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9887 $as_echo_n "(cached
) " >&6
9889 if test -n "$CC_FOR_TARGET"; then
9890 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9896 test -z "$as_dir" && as_dir=.
9897 for ac_exec_ext in '' $ac_executable_extensions; do
9898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9899 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9900 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9909 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9910 if test -n "$CC_FOR_TARGET"; then
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9912 $as_echo "$CC_FOR_TARGET" >&6; }
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9915 $as_echo "no
" >&6; }
9922 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9923 for ncn_progname in cc gcc; do
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9925 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9926 if test -x $with_build_time_tools/${ncn_progname}; then
9927 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9929 $as_echo "yes" >&6; }
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9933 $as_echo "no
" >&6; }
9938 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9939 for ncn_progname in cc gcc; do
9940 if test -n "$ncn_target_tool_prefix"; then
9941 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9942 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9944 $as_echo_n "checking
for $ac_word...
" >&6; }
9945 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9946 $as_echo_n "(cached
) " >&6
9948 if test -n "$CC_FOR_TARGET"; then
9949 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9955 test -z "$as_dir" && as_dir=.
9956 for ac_exec_ext in '' $ac_executable_extensions; do
9957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9958 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9968 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9969 if test -n "$CC_FOR_TARGET"; then
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9971 $as_echo "$CC_FOR_TARGET" >&6; }
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9974 $as_echo "no
" >&6; }
9979 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9980 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9981 set dummy ${ncn_progname}; ac_word=$2
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9983 $as_echo_n "checking
for $ac_word...
" >&6; }
9984 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9985 $as_echo_n "(cached
) " >&6
9987 if test -n "$CC_FOR_TARGET"; then
9988 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9994 test -z "$as_dir" && as_dir=.
9995 for ac_exec_ext in '' $ac_executable_extensions; do
9996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9997 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9998 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10007 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10008 if test -n "$CC_FOR_TARGET"; then
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10010 $as_echo "$CC_FOR_TARGET" >&6; }
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10013 $as_echo "no
" >&6; }
10018 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10022 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10024 if test $build = $target ; then
10027 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10030 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10035 if test -n "$CXX_FOR_TARGET"; then
10036 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10037 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10038 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10041 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10042 for ncn_progname in c++ g++ cxx gxx; do
10043 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10044 set dummy ${ncn_progname}; ac_word=$2
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10046 $as_echo_n "checking
for $ac_word...
" >&6; }
10047 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10048 $as_echo_n "(cached
) " >&6
10050 if test -n "$CXX_FOR_TARGET"; then
10051 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10054 for as_dir in $PATH
10057 test -z "$as_dir" && as_dir=.
10058 for ac_exec_ext in '' $ac_executable_extensions; do
10059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10060 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10061 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10070 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10071 if test -n "$CXX_FOR_TARGET"; then
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10073 $as_echo "$CXX_FOR_TARGET" >&6; }
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10076 $as_echo "no
" >&6; }
10083 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10084 for ncn_progname in c++ g++ cxx gxx; do
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10086 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10087 if test -x $with_build_time_tools/${ncn_progname}; then
10088 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10090 $as_echo "yes" >&6; }
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10094 $as_echo "no
" >&6; }
10099 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10100 for ncn_progname in c++ g++ cxx gxx; do
10101 if test -n "$ncn_target_tool_prefix"; then
10102 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10103 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10105 $as_echo_n "checking
for $ac_word...
" >&6; }
10106 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10107 $as_echo_n "(cached
) " >&6
10109 if test -n "$CXX_FOR_TARGET"; then
10110 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10113 for as_dir in $PATH
10116 test -z "$as_dir" && as_dir=.
10117 for ac_exec_ext in '' $ac_executable_extensions; do
10118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10119 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10120 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10129 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10130 if test -n "$CXX_FOR_TARGET"; then
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10132 $as_echo "$CXX_FOR_TARGET" >&6; }
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10135 $as_echo "no
" >&6; }
10140 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10141 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10142 set dummy ${ncn_progname}; ac_word=$2
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10144 $as_echo_n "checking
for $ac_word...
" >&6; }
10145 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10146 $as_echo_n "(cached
) " >&6
10148 if test -n "$CXX_FOR_TARGET"; then
10149 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10152 for as_dir in $PATH
10155 test -z "$as_dir" && as_dir=.
10156 for ac_exec_ext in '' $ac_executable_extensions; do
10157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10158 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10159 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10168 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10169 if test -n "$CXX_FOR_TARGET"; then
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10171 $as_echo "$CXX_FOR_TARGET" >&6; }
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10174 $as_echo "no
" >&6; }
10179 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10183 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10184 set dummy c++ g++ cxx gxx
10185 if test $build = $target ; then
10186 CXX_FOR_TARGET="$2"
10188 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10191 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10196 if test -n "$GCC_FOR_TARGET"; then
10197 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10198 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10199 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10202 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10203 for ncn_progname in gcc; do
10204 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10205 set dummy ${ncn_progname}; ac_word=$2
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10207 $as_echo_n "checking
for $ac_word...
" >&6; }
10208 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10209 $as_echo_n "(cached
) " >&6
10211 if test -n "$GCC_FOR_TARGET"; then
10212 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10215 for as_dir in $PATH
10218 test -z "$as_dir" && as_dir=.
10219 for ac_exec_ext in '' $ac_executable_extensions; do
10220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10221 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10222 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10231 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10232 if test -n "$GCC_FOR_TARGET"; then
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10234 $as_echo "$GCC_FOR_TARGET" >&6; }
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10237 $as_echo "no
" >&6; }
10244 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10245 for ncn_progname in gcc; do
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10247 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10248 if test -x $with_build_time_tools/${ncn_progname}; then
10249 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10251 $as_echo "yes" >&6; }
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10255 $as_echo "no
" >&6; }
10260 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10261 for ncn_progname in gcc; do
10262 if test -n "$ncn_target_tool_prefix"; then
10263 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10264 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10266 $as_echo_n "checking
for $ac_word...
" >&6; }
10267 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10268 $as_echo_n "(cached
) " >&6
10270 if test -n "$GCC_FOR_TARGET"; then
10271 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10274 for as_dir in $PATH
10277 test -z "$as_dir" && as_dir=.
10278 for ac_exec_ext in '' $ac_executable_extensions; do
10279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10280 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10290 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10291 if test -n "$GCC_FOR_TARGET"; then
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10293 $as_echo "$GCC_FOR_TARGET" >&6; }
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10296 $as_echo "no
" >&6; }
10301 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10302 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10303 set dummy ${ncn_progname}; ac_word=$2
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10305 $as_echo_n "checking
for $ac_word...
" >&6; }
10306 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10307 $as_echo_n "(cached
) " >&6
10309 if test -n "$GCC_FOR_TARGET"; then
10310 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10313 for as_dir in $PATH
10316 test -z "$as_dir" && as_dir=.
10317 for ac_exec_ext in '' $ac_executable_extensions; do
10318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10319 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10329 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10330 if test -n "$GCC_FOR_TARGET"; then
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10332 $as_echo "$GCC_FOR_TARGET" >&6; }
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10335 $as_echo "no
" >&6; }
10340 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10344 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10345 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10347 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10352 if test -n "$GFORTRAN_FOR_TARGET"; then
10353 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10354 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10355 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10358 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10359 for ncn_progname in gfortran; do
10360 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10361 set dummy ${ncn_progname}; ac_word=$2
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10363 $as_echo_n "checking
for $ac_word...
" >&6; }
10364 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10365 $as_echo_n "(cached
) " >&6
10367 if test -n "$GFORTRAN_FOR_TARGET"; then
10368 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10371 for as_dir in $PATH
10374 test -z "$as_dir" && as_dir=.
10375 for ac_exec_ext in '' $ac_executable_extensions; do
10376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10377 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10378 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10387 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10388 if test -n "$GFORTRAN_FOR_TARGET"; then
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10390 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10393 $as_echo "no
" >&6; }
10400 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10401 for ncn_progname in gfortran; do
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10403 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10404 if test -x $with_build_time_tools/${ncn_progname}; then
10405 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10407 $as_echo "yes" >&6; }
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10411 $as_echo "no
" >&6; }
10416 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10417 for ncn_progname in gfortran; do
10418 if test -n "$ncn_target_tool_prefix"; then
10419 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10420 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10422 $as_echo_n "checking
for $ac_word...
" >&6; }
10423 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10424 $as_echo_n "(cached
) " >&6
10426 if test -n "$GFORTRAN_FOR_TARGET"; then
10427 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10430 for as_dir in $PATH
10433 test -z "$as_dir" && as_dir=.
10434 for ac_exec_ext in '' $ac_executable_extensions; do
10435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10436 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10446 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10447 if test -n "$GFORTRAN_FOR_TARGET"; then
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10449 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10452 $as_echo "no
" >&6; }
10457 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10458 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10459 set dummy ${ncn_progname}; ac_word=$2
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10461 $as_echo_n "checking
for $ac_word...
" >&6; }
10462 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10463 $as_echo_n "(cached
) " >&6
10465 if test -n "$GFORTRAN_FOR_TARGET"; then
10466 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10469 for as_dir in $PATH
10472 test -z "$as_dir" && as_dir=.
10473 for ac_exec_ext in '' $ac_executable_extensions; do
10474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10475 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10476 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10485 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10486 if test -n "$GFORTRAN_FOR_TARGET"; then
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10488 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10491 $as_echo "no
" >&6; }
10496 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10500 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10502 if test $build = $target ; then
10503 GFORTRAN_FOR_TARGET="$2"
10505 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10508 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10513 if test -n "$GOC_FOR_TARGET"; then
10514 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10515 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10516 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10519 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10520 for ncn_progname in gccgo; do
10521 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10522 set dummy ${ncn_progname}; ac_word=$2
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10524 $as_echo_n "checking
for $ac_word...
" >&6; }
10525 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10526 $as_echo_n "(cached
) " >&6
10528 if test -n "$GOC_FOR_TARGET"; then
10529 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10532 for as_dir in $PATH
10535 test -z "$as_dir" && as_dir=.
10536 for ac_exec_ext in '' $ac_executable_extensions; do
10537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10538 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10539 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10548 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10549 if test -n "$GOC_FOR_TARGET"; then
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10551 $as_echo "$GOC_FOR_TARGET" >&6; }
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10554 $as_echo "no
" >&6; }
10561 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10562 for ncn_progname in gccgo; do
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10564 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10565 if test -x $with_build_time_tools/${ncn_progname}; then
10566 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10568 $as_echo "yes" >&6; }
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10572 $as_echo "no
" >&6; }
10577 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10578 for ncn_progname in gccgo; do
10579 if test -n "$ncn_target_tool_prefix"; then
10580 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10581 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10583 $as_echo_n "checking
for $ac_word...
" >&6; }
10584 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10585 $as_echo_n "(cached
) " >&6
10587 if test -n "$GOC_FOR_TARGET"; then
10588 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10591 for as_dir in $PATH
10594 test -z "$as_dir" && as_dir=.
10595 for ac_exec_ext in '' $ac_executable_extensions; do
10596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10597 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10598 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10607 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10608 if test -n "$GOC_FOR_TARGET"; then
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10610 $as_echo "$GOC_FOR_TARGET" >&6; }
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10613 $as_echo "no
" >&6; }
10618 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10619 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10620 set dummy ${ncn_progname}; ac_word=$2
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10622 $as_echo_n "checking
for $ac_word...
" >&6; }
10623 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10624 $as_echo_n "(cached
) " >&6
10626 if test -n "$GOC_FOR_TARGET"; then
10627 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10630 for as_dir in $PATH
10633 test -z "$as_dir" && as_dir=.
10634 for ac_exec_ext in '' $ac_executable_extensions; do
10635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10636 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10637 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10646 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10647 if test -n "$GOC_FOR_TARGET"; then
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10649 $as_echo "$GOC_FOR_TARGET" >&6; }
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10652 $as_echo "no
" >&6; }
10657 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10661 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10663 if test $build = $target ; then
10664 GOC_FOR_TARGET="$2"
10666 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10669 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10674 cat > conftest.c << \EOF
10679 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10680 have_gcc_for_target=yes
10682 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10683 have_gcc_for_target=no
10690 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10691 if test -n "$with_build_time_tools"; then
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10693 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10694 if test -x $with_build_time_tools/ar; then
10695 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10696 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10698 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10701 $as_echo "no
" >&6; }
10703 elif test $build != $host && test $have_gcc_for_target = yes; then
10704 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10705 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10706 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10709 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10710 # Extract the first word of "ar", so it can be a program name with args.
10711 set dummy ar; ac_word=$2
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10713 $as_echo_n "checking
for $ac_word...
" >&6; }
10714 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10715 $as_echo_n "(cached
) " >&6
10717 case $AR_FOR_TARGET in
10719 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10723 for as_dir in $gcc_cv_tool_dirs
10726 test -z "$as_dir" && as_dir=.
10727 for ac_exec_ext in '' $ac_executable_extensions; do
10728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10729 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10730 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10740 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10741 if test -n "$AR_FOR_TARGET"; then
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10743 $as_echo "$AR_FOR_TARGET" >&6; }
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10746 $as_echo "no
" >&6; }
10751 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10754 if test -n "$AR_FOR_TARGET"; then
10755 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10756 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10757 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10760 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10761 for ncn_progname in ar; do
10762 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10763 set dummy ${ncn_progname}; ac_word=$2
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10765 $as_echo_n "checking
for $ac_word...
" >&6; }
10766 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10767 $as_echo_n "(cached
) " >&6
10769 if test -n "$AR_FOR_TARGET"; then
10770 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10773 for as_dir in $PATH
10776 test -z "$as_dir" && as_dir=.
10777 for ac_exec_ext in '' $ac_executable_extensions; do
10778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10779 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10789 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10790 if test -n "$AR_FOR_TARGET"; then
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10792 $as_echo "$AR_FOR_TARGET" >&6; }
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10795 $as_echo "no
" >&6; }
10802 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10803 for ncn_progname in ar; do
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10805 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10806 if test -x $with_build_time_tools/${ncn_progname}; then
10807 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10809 $as_echo "yes" >&6; }
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10813 $as_echo "no
" >&6; }
10818 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10819 for ncn_progname in ar; do
10820 if test -n "$ncn_target_tool_prefix"; then
10821 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10822 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10824 $as_echo_n "checking
for $ac_word...
" >&6; }
10825 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10826 $as_echo_n "(cached
) " >&6
10828 if test -n "$AR_FOR_TARGET"; then
10829 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10832 for as_dir in $PATH
10835 test -z "$as_dir" && as_dir=.
10836 for ac_exec_ext in '' $ac_executable_extensions; do
10837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10838 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10848 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10849 if test -n "$AR_FOR_TARGET"; then
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10851 $as_echo "$AR_FOR_TARGET" >&6; }
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10854 $as_echo "no
" >&6; }
10859 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10860 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10861 set dummy ${ncn_progname}; ac_word=$2
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10863 $as_echo_n "checking
for $ac_word...
" >&6; }
10864 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10865 $as_echo_n "(cached
) " >&6
10867 if test -n "$AR_FOR_TARGET"; then
10868 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10871 for as_dir in $PATH
10874 test -z "$as_dir" && as_dir=.
10875 for ac_exec_ext in '' $ac_executable_extensions; do
10876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10877 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10887 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10888 if test -n "$AR_FOR_TARGET"; then
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10890 $as_echo "$AR_FOR_TARGET" >&6; }
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10893 $as_echo "no
" >&6; }
10898 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10902 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10904 if test $build = $target ; then
10907 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10910 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10914 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10920 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10921 if test -n "$with_build_time_tools"; then
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10923 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10924 if test -x $with_build_time_tools/as; then
10925 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10926 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10928 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10931 $as_echo "no
" >&6; }
10933 elif test $build != $host && test $have_gcc_for_target = yes; then
10934 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10935 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10936 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10939 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10940 # Extract the first word of "as
", so it can be a program name with args.
10941 set dummy as; ac_word=$2
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10943 $as_echo_n "checking
for $ac_word...
" >&6; }
10944 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10945 $as_echo_n "(cached
) " >&6
10947 case $AS_FOR_TARGET in
10949 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10953 for as_dir in $gcc_cv_tool_dirs
10956 test -z "$as_dir" && as_dir=.
10957 for ac_exec_ext in '' $ac_executable_extensions; do
10958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10959 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10970 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10971 if test -n "$AS_FOR_TARGET"; then
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10973 $as_echo "$AS_FOR_TARGET" >&6; }
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10976 $as_echo "no
" >&6; }
10981 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10984 if test -n "$AS_FOR_TARGET"; then
10985 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10986 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10987 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10990 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10991 for ncn_progname in as; do
10992 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10993 set dummy ${ncn_progname}; ac_word=$2
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10995 $as_echo_n "checking
for $ac_word...
" >&6; }
10996 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10997 $as_echo_n "(cached
) " >&6
10999 if test -n "$AS_FOR_TARGET"; then
11000 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11003 for as_dir in $PATH
11006 test -z "$as_dir" && as_dir=.
11007 for ac_exec_ext in '' $ac_executable_extensions; do
11008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11009 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11010 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11019 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11020 if test -n "$AS_FOR_TARGET"; then
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11022 $as_echo "$AS_FOR_TARGET" >&6; }
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11025 $as_echo "no
" >&6; }
11032 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11033 for ncn_progname in as; do
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11035 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11036 if test -x $with_build_time_tools/${ncn_progname}; then
11037 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11039 $as_echo "yes" >&6; }
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11043 $as_echo "no
" >&6; }
11048 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11049 for ncn_progname in as; do
11050 if test -n "$ncn_target_tool_prefix"; then
11051 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11052 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11054 $as_echo_n "checking
for $ac_word...
" >&6; }
11055 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11056 $as_echo_n "(cached
) " >&6
11058 if test -n "$AS_FOR_TARGET"; then
11059 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11062 for as_dir in $PATH
11065 test -z "$as_dir" && as_dir=.
11066 for ac_exec_ext in '' $ac_executable_extensions; do
11067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11068 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11078 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11079 if test -n "$AS_FOR_TARGET"; then
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11081 $as_echo "$AS_FOR_TARGET" >&6; }
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11084 $as_echo "no
" >&6; }
11089 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11090 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11091 set dummy ${ncn_progname}; ac_word=$2
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11093 $as_echo_n "checking
for $ac_word...
" >&6; }
11094 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11095 $as_echo_n "(cached
) " >&6
11097 if test -n "$AS_FOR_TARGET"; then
11098 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11101 for as_dir in $PATH
11104 test -z "$as_dir" && as_dir=.
11105 for ac_exec_ext in '' $ac_executable_extensions; do
11106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11107 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11117 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11118 if test -n "$AS_FOR_TARGET"; then
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11120 $as_echo "$AS_FOR_TARGET" >&6; }
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11123 $as_echo "no
" >&6; }
11128 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11132 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11134 if test $build = $target ; then
11137 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11140 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11144 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11150 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11151 if test -n "$with_build_time_tools"; then
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11153 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11154 if test -x $with_build_time_tools/dlltool; then
11155 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11156 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11158 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11161 $as_echo "no
" >&6; }
11163 elif test $build != $host && test $have_gcc_for_target = yes; then
11164 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11165 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11166 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11169 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11170 # Extract the first word of "dlltool
", so it can be a program name with args.
11171 set dummy dlltool; ac_word=$2
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11173 $as_echo_n "checking
for $ac_word...
" >&6; }
11174 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11175 $as_echo_n "(cached
) " >&6
11177 case $DLLTOOL_FOR_TARGET in
11179 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11183 for as_dir in $gcc_cv_tool_dirs
11186 test -z "$as_dir" && as_dir=.
11187 for ac_exec_ext in '' $ac_executable_extensions; do
11188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11189 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11200 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11201 if test -n "$DLLTOOL_FOR_TARGET"; then
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11203 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11206 $as_echo "no
" >&6; }
11211 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11214 if test -n "$DLLTOOL_FOR_TARGET"; then
11215 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11216 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11217 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11220 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11221 for ncn_progname in dlltool; do
11222 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11223 set dummy ${ncn_progname}; ac_word=$2
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11225 $as_echo_n "checking
for $ac_word...
" >&6; }
11226 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11227 $as_echo_n "(cached
) " >&6
11229 if test -n "$DLLTOOL_FOR_TARGET"; then
11230 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11233 for as_dir in $PATH
11236 test -z "$as_dir" && as_dir=.
11237 for ac_exec_ext in '' $ac_executable_extensions; do
11238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11239 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11240 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11249 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11250 if test -n "$DLLTOOL_FOR_TARGET"; then
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11252 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11255 $as_echo "no
" >&6; }
11262 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11263 for ncn_progname in dlltool; do
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11265 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11266 if test -x $with_build_time_tools/${ncn_progname}; then
11267 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11269 $as_echo "yes" >&6; }
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11273 $as_echo "no
" >&6; }
11278 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11279 for ncn_progname in dlltool; do
11280 if test -n "$ncn_target_tool_prefix"; then
11281 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11282 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11284 $as_echo_n "checking
for $ac_word...
" >&6; }
11285 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11286 $as_echo_n "(cached
) " >&6
11288 if test -n "$DLLTOOL_FOR_TARGET"; then
11289 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11292 for as_dir in $PATH
11295 test -z "$as_dir" && as_dir=.
11296 for ac_exec_ext in '' $ac_executable_extensions; do
11297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11298 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11299 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11308 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11309 if test -n "$DLLTOOL_FOR_TARGET"; then
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11311 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11314 $as_echo "no
" >&6; }
11319 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11320 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11321 set dummy ${ncn_progname}; ac_word=$2
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11323 $as_echo_n "checking
for $ac_word...
" >&6; }
11324 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11325 $as_echo_n "(cached
) " >&6
11327 if test -n "$DLLTOOL_FOR_TARGET"; then
11328 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11331 for as_dir in $PATH
11334 test -z "$as_dir" && as_dir=.
11335 for ac_exec_ext in '' $ac_executable_extensions; do
11336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11337 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11338 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11347 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11348 if test -n "$DLLTOOL_FOR_TARGET"; then
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11350 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11353 $as_echo "no
" >&6; }
11358 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11362 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11364 if test $build = $target ; then
11365 DLLTOOL_FOR_TARGET="$2"
11367 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11370 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11374 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11380 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11381 if test -n "$with_build_time_tools"; then
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11383 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11384 if test -x $with_build_time_tools/ld; then
11385 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11386 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11388 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11391 $as_echo "no
" >&6; }
11393 elif test $build != $host && test $have_gcc_for_target = yes; then
11394 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11395 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11396 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11399 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11400 # Extract the first word of "ld
", so it can be a program name with args.
11401 set dummy ld; ac_word=$2
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11403 $as_echo_n "checking
for $ac_word...
" >&6; }
11404 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11405 $as_echo_n "(cached
) " >&6
11407 case $LD_FOR_TARGET in
11409 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11413 for as_dir in $gcc_cv_tool_dirs
11416 test -z "$as_dir" && as_dir=.
11417 for ac_exec_ext in '' $ac_executable_extensions; do
11418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11419 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11420 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11430 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11431 if test -n "$LD_FOR_TARGET"; then
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11433 $as_echo "$LD_FOR_TARGET" >&6; }
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11436 $as_echo "no
" >&6; }
11441 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11444 if test -n "$LD_FOR_TARGET"; then
11445 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11446 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11447 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11450 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11451 for ncn_progname in ld; do
11452 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11453 set dummy ${ncn_progname}; ac_word=$2
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11455 $as_echo_n "checking
for $ac_word...
" >&6; }
11456 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11457 $as_echo_n "(cached
) " >&6
11459 if test -n "$LD_FOR_TARGET"; then
11460 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11463 for as_dir in $PATH
11466 test -z "$as_dir" && as_dir=.
11467 for ac_exec_ext in '' $ac_executable_extensions; do
11468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11469 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11479 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11480 if test -n "$LD_FOR_TARGET"; then
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11482 $as_echo "$LD_FOR_TARGET" >&6; }
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11485 $as_echo "no
" >&6; }
11492 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11493 for ncn_progname in ld; do
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11495 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11496 if test -x $with_build_time_tools/${ncn_progname}; then
11497 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11499 $as_echo "yes" >&6; }
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11503 $as_echo "no
" >&6; }
11508 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11509 for ncn_progname in ld; do
11510 if test -n "$ncn_target_tool_prefix"; then
11511 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11512 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11514 $as_echo_n "checking
for $ac_word...
" >&6; }
11515 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11516 $as_echo_n "(cached
) " >&6
11518 if test -n "$LD_FOR_TARGET"; then
11519 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11522 for as_dir in $PATH
11525 test -z "$as_dir" && as_dir=.
11526 for ac_exec_ext in '' $ac_executable_extensions; do
11527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11528 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11538 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11539 if test -n "$LD_FOR_TARGET"; then
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11541 $as_echo "$LD_FOR_TARGET" >&6; }
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11544 $as_echo "no
" >&6; }
11549 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11550 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11551 set dummy ${ncn_progname}; ac_word=$2
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11553 $as_echo_n "checking
for $ac_word...
" >&6; }
11554 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11555 $as_echo_n "(cached
) " >&6
11557 if test -n "$LD_FOR_TARGET"; then
11558 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11561 for as_dir in $PATH
11564 test -z "$as_dir" && as_dir=.
11565 for ac_exec_ext in '' $ac_executable_extensions; do
11566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11567 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11568 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11577 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11578 if test -n "$LD_FOR_TARGET"; then
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11580 $as_echo "$LD_FOR_TARGET" >&6; }
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11583 $as_echo "no
" >&6; }
11588 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11592 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11594 if test $build = $target ; then
11597 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11600 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11604 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11610 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11611 if test -n "$with_build_time_tools"; then
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11613 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11614 if test -x $with_build_time_tools/lipo; then
11615 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11616 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11618 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11621 $as_echo "no
" >&6; }
11623 elif test $build != $host && test $have_gcc_for_target = yes; then
11624 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11625 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11626 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11629 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11630 # Extract the first word of "lipo
", so it can be a program name with args.
11631 set dummy lipo; ac_word=$2
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11633 $as_echo_n "checking
for $ac_word...
" >&6; }
11634 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11635 $as_echo_n "(cached
) " >&6
11637 case $LIPO_FOR_TARGET in
11639 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11643 for as_dir in $gcc_cv_tool_dirs
11646 test -z "$as_dir" && as_dir=.
11647 for ac_exec_ext in '' $ac_executable_extensions; do
11648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11649 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11650 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11660 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11661 if test -n "$LIPO_FOR_TARGET"; then
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11663 $as_echo "$LIPO_FOR_TARGET" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11666 $as_echo "no
" >&6; }
11671 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11674 if test -n "$LIPO_FOR_TARGET"; then
11675 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11676 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11677 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11680 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11681 for ncn_progname in lipo; do
11682 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11683 set dummy ${ncn_progname}; ac_word=$2
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11685 $as_echo_n "checking
for $ac_word...
" >&6; }
11686 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11687 $as_echo_n "(cached
) " >&6
11689 if test -n "$LIPO_FOR_TARGET"; then
11690 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11693 for as_dir in $PATH
11696 test -z "$as_dir" && as_dir=.
11697 for ac_exec_ext in '' $ac_executable_extensions; do
11698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11699 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11700 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11709 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11710 if test -n "$LIPO_FOR_TARGET"; then
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11712 $as_echo "$LIPO_FOR_TARGET" >&6; }
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11715 $as_echo "no
" >&6; }
11722 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11723 for ncn_progname in lipo; do
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11725 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11726 if test -x $with_build_time_tools/${ncn_progname}; then
11727 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11729 $as_echo "yes" >&6; }
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11733 $as_echo "no
" >&6; }
11738 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11739 for ncn_progname in lipo; do
11740 if test -n "$ncn_target_tool_prefix"; then
11741 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11742 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11744 $as_echo_n "checking
for $ac_word...
" >&6; }
11745 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11746 $as_echo_n "(cached
) " >&6
11748 if test -n "$LIPO_FOR_TARGET"; then
11749 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11752 for as_dir in $PATH
11755 test -z "$as_dir" && as_dir=.
11756 for ac_exec_ext in '' $ac_executable_extensions; do
11757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11758 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11759 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11768 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11769 if test -n "$LIPO_FOR_TARGET"; then
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11771 $as_echo "$LIPO_FOR_TARGET" >&6; }
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11774 $as_echo "no
" >&6; }
11779 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11780 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11781 set dummy ${ncn_progname}; ac_word=$2
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11783 $as_echo_n "checking
for $ac_word...
" >&6; }
11784 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11785 $as_echo_n "(cached
) " >&6
11787 if test -n "$LIPO_FOR_TARGET"; then
11788 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11791 for as_dir in $PATH
11794 test -z "$as_dir" && as_dir=.
11795 for ac_exec_ext in '' $ac_executable_extensions; do
11796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11797 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11807 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11808 if test -n "$LIPO_FOR_TARGET"; then
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11810 $as_echo "$LIPO_FOR_TARGET" >&6; }
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11813 $as_echo "no
" >&6; }
11818 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11822 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11824 if test $build = $target ; then
11825 LIPO_FOR_TARGET="$2"
11827 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11830 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11834 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11840 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11841 if test -n "$with_build_time_tools"; then
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11843 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11844 if test -x $with_build_time_tools/nm; then
11845 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11846 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11848 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11851 $as_echo "no
" >&6; }
11853 elif test $build != $host && test $have_gcc_for_target = yes; then
11854 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11855 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11856 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11859 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11860 # Extract the first word of "nm
", so it can be a program name with args.
11861 set dummy nm; ac_word=$2
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11863 $as_echo_n "checking
for $ac_word...
" >&6; }
11864 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11865 $as_echo_n "(cached
) " >&6
11867 case $NM_FOR_TARGET in
11869 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11873 for as_dir in $gcc_cv_tool_dirs
11876 test -z "$as_dir" && as_dir=.
11877 for ac_exec_ext in '' $ac_executable_extensions; do
11878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11879 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11880 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11890 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11891 if test -n "$NM_FOR_TARGET"; then
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11893 $as_echo "$NM_FOR_TARGET" >&6; }
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11896 $as_echo "no
" >&6; }
11901 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11904 if test -n "$NM_FOR_TARGET"; then
11905 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11906 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11907 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11910 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11911 for ncn_progname in nm; do
11912 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11913 set dummy ${ncn_progname}; ac_word=$2
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11915 $as_echo_n "checking
for $ac_word...
" >&6; }
11916 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11917 $as_echo_n "(cached
) " >&6
11919 if test -n "$NM_FOR_TARGET"; then
11920 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11923 for as_dir in $PATH
11926 test -z "$as_dir" && as_dir=.
11927 for ac_exec_ext in '' $ac_executable_extensions; do
11928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11929 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11939 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11940 if test -n "$NM_FOR_TARGET"; then
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11942 $as_echo "$NM_FOR_TARGET" >&6; }
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11945 $as_echo "no
" >&6; }
11952 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11953 for ncn_progname in nm; do
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11955 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11956 if test -x $with_build_time_tools/${ncn_progname}; then
11957 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11959 $as_echo "yes" >&6; }
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11963 $as_echo "no
" >&6; }
11968 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11969 for ncn_progname in nm; do
11970 if test -n "$ncn_target_tool_prefix"; then
11971 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11972 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11974 $as_echo_n "checking
for $ac_word...
" >&6; }
11975 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11976 $as_echo_n "(cached
) " >&6
11978 if test -n "$NM_FOR_TARGET"; then
11979 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11982 for as_dir in $PATH
11985 test -z "$as_dir" && as_dir=.
11986 for ac_exec_ext in '' $ac_executable_extensions; do
11987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11988 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11989 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11998 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11999 if test -n "$NM_FOR_TARGET"; then
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12001 $as_echo "$NM_FOR_TARGET" >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12004 $as_echo "no
" >&6; }
12009 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12010 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12011 set dummy ${ncn_progname}; ac_word=$2
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12013 $as_echo_n "checking
for $ac_word...
" >&6; }
12014 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12015 $as_echo_n "(cached
) " >&6
12017 if test -n "$NM_FOR_TARGET"; then
12018 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12021 for as_dir in $PATH
12024 test -z "$as_dir" && as_dir=.
12025 for ac_exec_ext in '' $ac_executable_extensions; do
12026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12027 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12028 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12037 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12038 if test -n "$NM_FOR_TARGET"; then
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12040 $as_echo "$NM_FOR_TARGET" >&6; }
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12043 $as_echo "no
" >&6; }
12048 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12052 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12054 if test $build = $target ; then
12057 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12060 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12064 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12070 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12071 if test -n "$with_build_time_tools"; then
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12073 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12074 if test -x $with_build_time_tools/objcopy; then
12075 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12076 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12078 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12081 $as_echo "no
" >&6; }
12083 elif test $build != $host && test $have_gcc_for_target = yes; then
12084 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12085 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12086 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12089 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12090 # Extract the first word of "objcopy
", so it can be a program name with args.
12091 set dummy objcopy; ac_word=$2
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12093 $as_echo_n "checking
for $ac_word...
" >&6; }
12094 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
12095 $as_echo_n "(cached
) " >&6
12097 case $OBJCOPY_FOR_TARGET in
12099 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12103 for as_dir in $gcc_cv_tool_dirs
12106 test -z "$as_dir" && as_dir=.
12107 for ac_exec_ext in '' $ac_executable_extensions; do
12108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12109 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12110 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12120 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12121 if test -n "$OBJCOPY_FOR_TARGET"; then
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12123 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12126 $as_echo "no
" >&6; }
12131 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12134 if test -n "$OBJCOPY_FOR_TARGET"; then
12135 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12136 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12137 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12140 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12141 for ncn_progname in objcopy; do
12142 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12143 set dummy ${ncn_progname}; ac_word=$2
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12145 $as_echo_n "checking
for $ac_word...
" >&6; }
12146 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12147 $as_echo_n "(cached
) " >&6
12149 if test -n "$OBJCOPY_FOR_TARGET"; then
12150 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12153 for as_dir in $PATH
12156 test -z "$as_dir" && as_dir=.
12157 for ac_exec_ext in '' $ac_executable_extensions; do
12158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12159 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12160 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12169 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12170 if test -n "$OBJCOPY_FOR_TARGET"; then
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12172 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12175 $as_echo "no
" >&6; }
12182 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12183 for ncn_progname in objcopy; do
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12185 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12186 if test -x $with_build_time_tools/${ncn_progname}; then
12187 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12189 $as_echo "yes" >&6; }
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12193 $as_echo "no
" >&6; }
12198 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12199 for ncn_progname in objcopy; do
12200 if test -n "$ncn_target_tool_prefix"; then
12201 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12202 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12204 $as_echo_n "checking
for $ac_word...
" >&6; }
12205 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12206 $as_echo_n "(cached
) " >&6
12208 if test -n "$OBJCOPY_FOR_TARGET"; then
12209 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12212 for as_dir in $PATH
12215 test -z "$as_dir" && as_dir=.
12216 for ac_exec_ext in '' $ac_executable_extensions; do
12217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12218 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12228 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12229 if test -n "$OBJCOPY_FOR_TARGET"; then
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12231 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12234 $as_echo "no
" >&6; }
12239 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12240 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12241 set dummy ${ncn_progname}; ac_word=$2
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12243 $as_echo_n "checking
for $ac_word...
" >&6; }
12244 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12245 $as_echo_n "(cached
) " >&6
12247 if test -n "$OBJCOPY_FOR_TARGET"; then
12248 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12251 for as_dir in $PATH
12254 test -z "$as_dir" && as_dir=.
12255 for ac_exec_ext in '' $ac_executable_extensions; do
12256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12257 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12267 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12268 if test -n "$OBJCOPY_FOR_TARGET"; then
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12270 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12273 $as_echo "no
" >&6; }
12278 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12282 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12284 if test $build = $target ; then
12285 OBJCOPY_FOR_TARGET="$2"
12287 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12290 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12294 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12300 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12301 if test -n "$with_build_time_tools"; then
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12303 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12304 if test -x $with_build_time_tools/objdump; then
12305 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12306 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12308 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12311 $as_echo "no
" >&6; }
12313 elif test $build != $host && test $have_gcc_for_target = yes; then
12314 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12315 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12316 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12319 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12320 # Extract the first word of "objdump
", so it can be a program name with args.
12321 set dummy objdump; ac_word=$2
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12323 $as_echo_n "checking
for $ac_word...
" >&6; }
12324 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12325 $as_echo_n "(cached
) " >&6
12327 case $OBJDUMP_FOR_TARGET in
12329 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12333 for as_dir in $gcc_cv_tool_dirs
12336 test -z "$as_dir" && as_dir=.
12337 for ac_exec_ext in '' $ac_executable_extensions; do
12338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12339 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12340 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12350 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12351 if test -n "$OBJDUMP_FOR_TARGET"; then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12353 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12356 $as_echo "no
" >&6; }
12361 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12364 if test -n "$OBJDUMP_FOR_TARGET"; then
12365 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12366 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12367 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12370 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12371 for ncn_progname in objdump; do
12372 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12373 set dummy ${ncn_progname}; ac_word=$2
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12375 $as_echo_n "checking
for $ac_word...
" >&6; }
12376 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12377 $as_echo_n "(cached
) " >&6
12379 if test -n "$OBJDUMP_FOR_TARGET"; then
12380 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12383 for as_dir in $PATH
12386 test -z "$as_dir" && as_dir=.
12387 for ac_exec_ext in '' $ac_executable_extensions; do
12388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12389 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12399 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12400 if test -n "$OBJDUMP_FOR_TARGET"; then
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12402 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12405 $as_echo "no
" >&6; }
12412 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12413 for ncn_progname in objdump; do
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12415 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12416 if test -x $with_build_time_tools/${ncn_progname}; then
12417 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12419 $as_echo "yes" >&6; }
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12423 $as_echo "no
" >&6; }
12428 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12429 for ncn_progname in objdump; do
12430 if test -n "$ncn_target_tool_prefix"; then
12431 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12432 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12434 $as_echo_n "checking
for $ac_word...
" >&6; }
12435 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12436 $as_echo_n "(cached
) " >&6
12438 if test -n "$OBJDUMP_FOR_TARGET"; then
12439 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12442 for as_dir in $PATH
12445 test -z "$as_dir" && as_dir=.
12446 for ac_exec_ext in '' $ac_executable_extensions; do
12447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12448 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12449 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12458 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12459 if test -n "$OBJDUMP_FOR_TARGET"; then
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12461 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12464 $as_echo "no
" >&6; }
12469 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12470 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12471 set dummy ${ncn_progname}; ac_word=$2
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12473 $as_echo_n "checking
for $ac_word...
" >&6; }
12474 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12475 $as_echo_n "(cached
) " >&6
12477 if test -n "$OBJDUMP_FOR_TARGET"; then
12478 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12481 for as_dir in $PATH
12484 test -z "$as_dir" && as_dir=.
12485 for ac_exec_ext in '' $ac_executable_extensions; do
12486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12487 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12488 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12497 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12498 if test -n "$OBJDUMP_FOR_TARGET"; then
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12500 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12503 $as_echo "no
" >&6; }
12508 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12512 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12514 if test $build = $target ; then
12515 OBJDUMP_FOR_TARGET="$2"
12517 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12520 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12524 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12530 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12531 if test -n "$with_build_time_tools"; then
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12533 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12534 if test -x $with_build_time_tools/ranlib; then
12535 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12536 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12538 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12541 $as_echo "no
" >&6; }
12543 elif test $build != $host && test $have_gcc_for_target = yes; then
12544 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12545 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12546 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12549 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12550 # Extract the first word of "ranlib
", so it can be a program name with args.
12551 set dummy ranlib; ac_word=$2
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12553 $as_echo_n "checking
for $ac_word...
" >&6; }
12554 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12555 $as_echo_n "(cached
) " >&6
12557 case $RANLIB_FOR_TARGET in
12559 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12563 for as_dir in $gcc_cv_tool_dirs
12566 test -z "$as_dir" && as_dir=.
12567 for ac_exec_ext in '' $ac_executable_extensions; do
12568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12569 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12570 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12580 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12581 if test -n "$RANLIB_FOR_TARGET"; then
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12583 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12586 $as_echo "no
" >&6; }
12591 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12594 if test -n "$RANLIB_FOR_TARGET"; then
12595 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12596 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12597 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12600 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12601 for ncn_progname in ranlib; do
12602 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12603 set dummy ${ncn_progname}; ac_word=$2
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12605 $as_echo_n "checking
for $ac_word...
" >&6; }
12606 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12607 $as_echo_n "(cached
) " >&6
12609 if test -n "$RANLIB_FOR_TARGET"; then
12610 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12613 for as_dir in $PATH
12616 test -z "$as_dir" && as_dir=.
12617 for ac_exec_ext in '' $ac_executable_extensions; do
12618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12619 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12620 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12629 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12630 if test -n "$RANLIB_FOR_TARGET"; then
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12632 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12635 $as_echo "no
" >&6; }
12642 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12643 for ncn_progname in ranlib; do
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12645 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12646 if test -x $with_build_time_tools/${ncn_progname}; then
12647 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12649 $as_echo "yes" >&6; }
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12653 $as_echo "no
" >&6; }
12658 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12659 for ncn_progname in ranlib; do
12660 if test -n "$ncn_target_tool_prefix"; then
12661 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12662 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12664 $as_echo_n "checking
for $ac_word...
" >&6; }
12665 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12666 $as_echo_n "(cached
) " >&6
12668 if test -n "$RANLIB_FOR_TARGET"; then
12669 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12672 for as_dir in $PATH
12675 test -z "$as_dir" && as_dir=.
12676 for ac_exec_ext in '' $ac_executable_extensions; do
12677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12678 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12679 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12688 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12689 if test -n "$RANLIB_FOR_TARGET"; then
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12691 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12694 $as_echo "no
" >&6; }
12699 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12700 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12701 set dummy ${ncn_progname}; ac_word=$2
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12703 $as_echo_n "checking
for $ac_word...
" >&6; }
12704 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12705 $as_echo_n "(cached
) " >&6
12707 if test -n "$RANLIB_FOR_TARGET"; then
12708 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12711 for as_dir in $PATH
12714 test -z "$as_dir" && as_dir=.
12715 for ac_exec_ext in '' $ac_executable_extensions; do
12716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12717 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12718 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12727 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12728 if test -n "$RANLIB_FOR_TARGET"; then
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12730 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12733 $as_echo "no
" >&6; }
12738 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12742 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12744 if test $build = $target ; then
12745 RANLIB_FOR_TARGET="$2"
12747 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12750 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12754 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12760 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12761 if test -n "$with_build_time_tools"; then
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12763 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12764 if test -x $with_build_time_tools/readelf; then
12765 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12766 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12768 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12771 $as_echo "no
" >&6; }
12773 elif test $build != $host && test $have_gcc_for_target = yes; then
12774 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12775 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12776 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12779 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12780 # Extract the first word of "readelf
", so it can be a program name with args.
12781 set dummy readelf; ac_word=$2
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12783 $as_echo_n "checking
for $ac_word...
" >&6; }
12784 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12785 $as_echo_n "(cached
) " >&6
12787 case $READELF_FOR_TARGET in
12789 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12793 for as_dir in $gcc_cv_tool_dirs
12796 test -z "$as_dir" && as_dir=.
12797 for ac_exec_ext in '' $ac_executable_extensions; do
12798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12799 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12810 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12811 if test -n "$READELF_FOR_TARGET"; then
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12813 $as_echo "$READELF_FOR_TARGET" >&6; }
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12816 $as_echo "no
" >&6; }
12821 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12824 if test -n "$READELF_FOR_TARGET"; then
12825 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12826 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12827 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12830 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12831 for ncn_progname in readelf; do
12832 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12833 set dummy ${ncn_progname}; ac_word=$2
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12835 $as_echo_n "checking
for $ac_word...
" >&6; }
12836 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12837 $as_echo_n "(cached
) " >&6
12839 if test -n "$READELF_FOR_TARGET"; then
12840 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12843 for as_dir in $PATH
12846 test -z "$as_dir" && as_dir=.
12847 for ac_exec_ext in '' $ac_executable_extensions; do
12848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12849 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12850 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12859 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12860 if test -n "$READELF_FOR_TARGET"; then
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12862 $as_echo "$READELF_FOR_TARGET" >&6; }
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12865 $as_echo "no
" >&6; }
12872 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12873 for ncn_progname in readelf; do
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12875 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12876 if test -x $with_build_time_tools/${ncn_progname}; then
12877 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12879 $as_echo "yes" >&6; }
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12883 $as_echo "no
" >&6; }
12888 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12889 for ncn_progname in readelf; do
12890 if test -n "$ncn_target_tool_prefix"; then
12891 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12892 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12894 $as_echo_n "checking
for $ac_word...
" >&6; }
12895 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12896 $as_echo_n "(cached
) " >&6
12898 if test -n "$READELF_FOR_TARGET"; then
12899 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12902 for as_dir in $PATH
12905 test -z "$as_dir" && as_dir=.
12906 for ac_exec_ext in '' $ac_executable_extensions; do
12907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12908 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12918 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12919 if test -n "$READELF_FOR_TARGET"; then
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12921 $as_echo "$READELF_FOR_TARGET" >&6; }
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12924 $as_echo "no
" >&6; }
12929 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12930 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12931 set dummy ${ncn_progname}; ac_word=$2
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12933 $as_echo_n "checking
for $ac_word...
" >&6; }
12934 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12935 $as_echo_n "(cached
) " >&6
12937 if test -n "$READELF_FOR_TARGET"; then
12938 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12941 for as_dir in $PATH
12944 test -z "$as_dir" && as_dir=.
12945 for ac_exec_ext in '' $ac_executable_extensions; do
12946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12947 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12957 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12958 if test -n "$READELF_FOR_TARGET"; then
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12960 $as_echo "$READELF_FOR_TARGET" >&6; }
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12963 $as_echo "no
" >&6; }
12968 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12972 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12974 if test $build = $target ; then
12975 READELF_FOR_TARGET="$2"
12977 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12980 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12984 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12990 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12991 if test -n "$with_build_time_tools"; then
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12993 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12994 if test -x $with_build_time_tools/strip; then
12995 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12996 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12998 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13001 $as_echo "no
" >&6; }
13003 elif test $build != $host && test $have_gcc_for_target = yes; then
13004 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13005 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13006 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13009 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13010 # Extract the first word of "strip
", so it can be a program name with args.
13011 set dummy strip; ac_word=$2
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13013 $as_echo_n "checking
for $ac_word...
" >&6; }
13014 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13015 $as_echo_n "(cached
) " >&6
13017 case $STRIP_FOR_TARGET in
13019 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13023 for as_dir in $gcc_cv_tool_dirs
13026 test -z "$as_dir" && as_dir=.
13027 for ac_exec_ext in '' $ac_executable_extensions; do
13028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13029 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13030 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13040 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13041 if test -n "$STRIP_FOR_TARGET"; then
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13043 $as_echo "$STRIP_FOR_TARGET" >&6; }
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13046 $as_echo "no
" >&6; }
13051 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13054 if test -n "$STRIP_FOR_TARGET"; then
13055 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13056 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13057 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13060 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13061 for ncn_progname in strip; do
13062 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13063 set dummy ${ncn_progname}; ac_word=$2
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13065 $as_echo_n "checking
for $ac_word...
" >&6; }
13066 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13067 $as_echo_n "(cached
) " >&6
13069 if test -n "$STRIP_FOR_TARGET"; then
13070 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13073 for as_dir in $PATH
13076 test -z "$as_dir" && as_dir=.
13077 for ac_exec_ext in '' $ac_executable_extensions; do
13078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13079 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13089 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13090 if test -n "$STRIP_FOR_TARGET"; then
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13092 $as_echo "$STRIP_FOR_TARGET" >&6; }
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13095 $as_echo "no
" >&6; }
13102 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13103 for ncn_progname in strip; do
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13105 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13106 if test -x $with_build_time_tools/${ncn_progname}; then
13107 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13109 $as_echo "yes" >&6; }
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13113 $as_echo "no
" >&6; }
13118 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13119 for ncn_progname in strip; do
13120 if test -n "$ncn_target_tool_prefix"; then
13121 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13122 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13124 $as_echo_n "checking
for $ac_word...
" >&6; }
13125 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13126 $as_echo_n "(cached
) " >&6
13128 if test -n "$STRIP_FOR_TARGET"; then
13129 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13132 for as_dir in $PATH
13135 test -z "$as_dir" && as_dir=.
13136 for ac_exec_ext in '' $ac_executable_extensions; do
13137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13138 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13148 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13149 if test -n "$STRIP_FOR_TARGET"; then
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13151 $as_echo "$STRIP_FOR_TARGET" >&6; }
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13154 $as_echo "no
" >&6; }
13159 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13160 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13161 set dummy ${ncn_progname}; ac_word=$2
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13163 $as_echo_n "checking
for $ac_word...
" >&6; }
13164 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13165 $as_echo_n "(cached
) " >&6
13167 if test -n "$STRIP_FOR_TARGET"; then
13168 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13171 for as_dir in $PATH
13174 test -z "$as_dir" && as_dir=.
13175 for ac_exec_ext in '' $ac_executable_extensions; do
13176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13177 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13178 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13187 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13188 if test -n "$STRIP_FOR_TARGET"; then
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13190 $as_echo "$STRIP_FOR_TARGET" >&6; }
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13193 $as_echo "no
" >&6; }
13198 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13202 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13204 if test $build = $target ; then
13205 STRIP_FOR_TARGET="$2"
13207 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13210 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13214 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13220 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13221 if test -n "$with_build_time_tools"; then
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13223 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13224 if test -x $with_build_time_tools/windres; then
13225 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13226 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13228 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13231 $as_echo "no
" >&6; }
13233 elif test $build != $host && test $have_gcc_for_target = yes; then
13234 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13235 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13236 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13239 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13240 # Extract the first word of "windres
", so it can be a program name with args.
13241 set dummy windres; ac_word=$2
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13243 $as_echo_n "checking
for $ac_word...
" >&6; }
13244 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13245 $as_echo_n "(cached
) " >&6
13247 case $WINDRES_FOR_TARGET in
13249 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13253 for as_dir in $gcc_cv_tool_dirs
13256 test -z "$as_dir" && as_dir=.
13257 for ac_exec_ext in '' $ac_executable_extensions; do
13258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13259 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13260 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13270 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13271 if test -n "$WINDRES_FOR_TARGET"; then
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13273 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13276 $as_echo "no
" >&6; }
13281 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13284 if test -n "$WINDRES_FOR_TARGET"; then
13285 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13286 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13287 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13290 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13291 for ncn_progname in windres; do
13292 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13293 set dummy ${ncn_progname}; ac_word=$2
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13295 $as_echo_n "checking
for $ac_word...
" >&6; }
13296 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13297 $as_echo_n "(cached
) " >&6
13299 if test -n "$WINDRES_FOR_TARGET"; then
13300 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13303 for as_dir in $PATH
13306 test -z "$as_dir" && as_dir=.
13307 for ac_exec_ext in '' $ac_executable_extensions; do
13308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13309 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13310 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13319 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13320 if test -n "$WINDRES_FOR_TARGET"; then
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13322 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13325 $as_echo "no
" >&6; }
13332 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13333 for ncn_progname in windres; do
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13335 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13336 if test -x $with_build_time_tools/${ncn_progname}; then
13337 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13339 $as_echo "yes" >&6; }
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13343 $as_echo "no
" >&6; }
13348 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13349 for ncn_progname in windres; do
13350 if test -n "$ncn_target_tool_prefix"; then
13351 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13352 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13354 $as_echo_n "checking
for $ac_word...
" >&6; }
13355 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13356 $as_echo_n "(cached
) " >&6
13358 if test -n "$WINDRES_FOR_TARGET"; then
13359 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13362 for as_dir in $PATH
13365 test -z "$as_dir" && as_dir=.
13366 for ac_exec_ext in '' $ac_executable_extensions; do
13367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13368 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13369 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13378 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13379 if test -n "$WINDRES_FOR_TARGET"; then
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13381 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13384 $as_echo "no
" >&6; }
13389 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13390 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13391 set dummy ${ncn_progname}; ac_word=$2
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13393 $as_echo_n "checking
for $ac_word...
" >&6; }
13394 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13395 $as_echo_n "(cached
) " >&6
13397 if test -n "$WINDRES_FOR_TARGET"; then
13398 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13401 for as_dir in $PATH
13404 test -z "$as_dir" && as_dir=.
13405 for ac_exec_ext in '' $ac_executable_extensions; do
13406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13407 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13408 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13417 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13418 if test -n "$WINDRES_FOR_TARGET"; then
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13420 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13423 $as_echo "no
" >&6; }
13428 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13432 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13434 if test $build = $target ; then
13435 WINDRES_FOR_TARGET="$2"
13437 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13440 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13444 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13450 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13451 if test -n "$with_build_time_tools"; then
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13453 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13454 if test -x $with_build_time_tools/windmc; then
13455 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13456 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13458 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13461 $as_echo "no
" >&6; }
13463 elif test $build != $host && test $have_gcc_for_target = yes; then
13464 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13465 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13466 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13469 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13470 # Extract the first word of "windmc
", so it can be a program name with args.
13471 set dummy windmc; ac_word=$2
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13473 $as_echo_n "checking
for $ac_word...
" >&6; }
13474 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13475 $as_echo_n "(cached
) " >&6
13477 case $WINDMC_FOR_TARGET in
13479 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13483 for as_dir in $gcc_cv_tool_dirs
13486 test -z "$as_dir" && as_dir=.
13487 for ac_exec_ext in '' $ac_executable_extensions; do
13488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13489 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13490 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13500 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13501 if test -n "$WINDMC_FOR_TARGET"; then
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13503 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13506 $as_echo "no
" >&6; }
13511 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13514 if test -n "$WINDMC_FOR_TARGET"; then
13515 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13516 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13517 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13520 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13521 for ncn_progname in windmc; do
13522 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13523 set dummy ${ncn_progname}; ac_word=$2
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13525 $as_echo_n "checking
for $ac_word...
" >&6; }
13526 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13527 $as_echo_n "(cached
) " >&6
13529 if test -n "$WINDMC_FOR_TARGET"; then
13530 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13533 for as_dir in $PATH
13536 test -z "$as_dir" && as_dir=.
13537 for ac_exec_ext in '' $ac_executable_extensions; do
13538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13539 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13540 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13549 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13550 if test -n "$WINDMC_FOR_TARGET"; then
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13552 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13555 $as_echo "no
" >&6; }
13562 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13563 for ncn_progname in windmc; do
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13565 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13566 if test -x $with_build_time_tools/${ncn_progname}; then
13567 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13569 $as_echo "yes" >&6; }
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13573 $as_echo "no
" >&6; }
13578 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13579 for ncn_progname in windmc; do
13580 if test -n "$ncn_target_tool_prefix"; then
13581 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13582 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13584 $as_echo_n "checking
for $ac_word...
" >&6; }
13585 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13586 $as_echo_n "(cached
) " >&6
13588 if test -n "$WINDMC_FOR_TARGET"; then
13589 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13592 for as_dir in $PATH
13595 test -z "$as_dir" && as_dir=.
13596 for ac_exec_ext in '' $ac_executable_extensions; do
13597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13598 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13599 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13608 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13609 if test -n "$WINDMC_FOR_TARGET"; then
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13611 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13614 $as_echo "no
" >&6; }
13619 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13620 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13621 set dummy ${ncn_progname}; ac_word=$2
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13623 $as_echo_n "checking
for $ac_word...
" >&6; }
13624 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13625 $as_echo_n "(cached
) " >&6
13627 if test -n "$WINDMC_FOR_TARGET"; then
13628 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13631 for as_dir in $PATH
13634 test -z "$as_dir" && as_dir=.
13635 for ac_exec_ext in '' $ac_executable_extensions; do
13636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13637 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13638 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13647 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13648 if test -n "$WINDMC_FOR_TARGET"; then
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13650 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13653 $as_echo "no
" >&6; }
13658 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13662 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13664 if test $build = $target ; then
13665 WINDMC_FOR_TARGET="$2"
13667 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13670 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13674 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13678 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13681 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13682 if test "x
${build}" != "x
${host}" ; then
13683 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13684 # We already found the complete path
13685 ac_dir=`dirname $AR_FOR_TARGET`
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13687 $as_echo "pre-installed
in $ac_dir" >&6; }
13689 # Canadian cross, just use what we found
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13691 $as_echo "pre-installed
" >&6; }
13695 case " ${configdirs} " in
13700 if test $ok = yes; then
13701 # An in-tree tool is available and we can use it
13702 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13704 $as_echo "just compiled
" >&6; }
13705 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13706 # We already found the complete path
13707 ac_dir=`dirname $AR_FOR_TARGET`
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13709 $as_echo "pre-installed
in $ac_dir" >&6; }
13710 elif test "x
$target" = "x
$host"; then
13711 # We can use an host tool
13712 AR_FOR_TARGET='$(AR)'
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13714 $as_echo "host tool
" >&6; }
13716 # We need a cross tool
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13718 $as_echo "pre-installed
" >&6; }
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13723 $as_echo_n "checking where to
find the target as...
" >&6; }
13724 if test "x
${build}" != "x
${host}" ; then
13725 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13726 # We already found the complete path
13727 ac_dir=`dirname $AS_FOR_TARGET`
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13729 $as_echo "pre-installed
in $ac_dir" >&6; }
13731 # Canadian cross, just use what we found
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13733 $as_echo "pre-installed
" >&6; }
13737 case " ${configdirs} " in
13742 if test $ok = yes; then
13743 # An in-tree tool is available and we can use it
13744 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13746 $as_echo "just compiled
" >&6; }
13747 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13748 # We already found the complete path
13749 ac_dir=`dirname $AS_FOR_TARGET`
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13751 $as_echo "pre-installed
in $ac_dir" >&6; }
13752 elif test "x
$target" = "x
$host"; then
13753 # We can use an host tool
13754 AS_FOR_TARGET='$(AS)'
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13756 $as_echo "host tool
" >&6; }
13758 # We need a cross tool
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13760 $as_echo "pre-installed
" >&6; }
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13765 $as_echo_n "checking where to
find the target cc...
" >&6; }
13766 if test "x
${build}" != "x
${host}" ; then
13767 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13768 # We already found the complete path
13769 ac_dir=`dirname $CC_FOR_TARGET`
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13771 $as_echo "pre-installed
in $ac_dir" >&6; }
13773 # Canadian cross, just use what we found
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13775 $as_echo "pre-installed
" >&6; }
13779 case " ${configdirs} " in
13784 if test $ok = yes; then
13785 # An in-tree tool is available and we can use it
13786 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13788 $as_echo "just compiled
" >&6; }
13789 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13790 # We already found the complete path
13791 ac_dir=`dirname $CC_FOR_TARGET`
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13793 $as_echo "pre-installed
in $ac_dir" >&6; }
13794 elif test "x
$target" = "x
$host"; then
13795 # We can use an host tool
13796 CC_FOR_TARGET='$(CC)'
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13798 $as_echo "host tool
" >&6; }
13800 # We need a cross tool
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13802 $as_echo "pre-installed
" >&6; }
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13807 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13808 if test "x
${build}" != "x
${host}" ; then
13809 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13810 # We already found the complete path
13811 ac_dir=`dirname $CXX_FOR_TARGET`
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13813 $as_echo "pre-installed
in $ac_dir" >&6; }
13815 # Canadian cross, just use what we found
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13817 $as_echo "pre-installed
" >&6; }
13821 case " ${configdirs} " in
13825 case ,${enable_languages}, in
13829 if test $ok = yes; then
13830 # An in-tree tool is available and we can use it
13831 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'
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13833 $as_echo "just compiled
" >&6; }
13834 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13835 # We already found the complete path
13836 ac_dir=`dirname $CXX_FOR_TARGET`
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13838 $as_echo "pre-installed
in $ac_dir" >&6; }
13839 elif test "x
$target" = "x
$host"; then
13840 # We can use an host tool
13841 CXX_FOR_TARGET='$(CXX)'
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13843 $as_echo "host tool
" >&6; }
13845 # We need a cross tool
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13847 $as_echo "pre-installed
" >&6; }
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13852 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13853 if test "x
${build}" != "x
${host}" ; then
13854 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13855 # We already found the complete path
13856 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13858 $as_echo "pre-installed
in $ac_dir" >&6; }
13860 # Canadian cross, just use what we found
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13862 $as_echo "pre-installed
" >&6; }
13866 case " ${configdirs} " in
13870 case ,${enable_languages}, in
13874 if test $ok = yes; then
13875 # An in-tree tool is available and we can use it
13876 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'
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13878 $as_echo "just compiled
" >&6; }
13879 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13880 # We already found the complete path
13881 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13883 $as_echo "pre-installed
in $ac_dir" >&6; }
13884 elif test "x
$target" = "x
$host"; then
13885 # We can use an host tool
13886 RAW_CXX_FOR_TARGET='$(CXX)'
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13888 $as_echo "host tool
" >&6; }
13890 # We need a cross tool
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13892 $as_echo "pre-installed
" >&6; }
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13897 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13898 if test "x
${build}" != "x
${host}" ; then
13899 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13900 # We already found the complete path
13901 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13903 $as_echo "pre-installed
in $ac_dir" >&6; }
13905 # Canadian cross, just use what we found
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13907 $as_echo "pre-installed
" >&6; }
13911 case " ${configdirs} " in
13916 if test $ok = yes; then
13917 # An in-tree tool is available and we can use it
13918 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13920 $as_echo "just compiled
" >&6; }
13921 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13922 # We already found the complete path
13923 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13925 $as_echo "pre-installed
in $ac_dir" >&6; }
13926 elif test "x
$target" = "x
$host"; then
13927 # We can use an host tool
13928 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13930 $as_echo "host tool
" >&6; }
13932 # We need a cross tool
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13934 $as_echo "pre-installed
" >&6; }
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13939 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13940 if test "x
${build}" != "x
${host}" ; then
13941 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13942 # We already found the complete path
13943 ac_dir=`dirname $GCC_FOR_TARGET`
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13945 $as_echo "pre-installed
in $ac_dir" >&6; }
13947 # Canadian cross, just use what we found
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13949 $as_echo "pre-installed
" >&6; }
13953 case " ${configdirs} " in
13958 if test $ok = yes; then
13959 # An in-tree tool is available and we can use it
13960 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13962 $as_echo "just compiled
" >&6; }
13963 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13964 # We already found the complete path
13965 ac_dir=`dirname $GCC_FOR_TARGET`
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13967 $as_echo "pre-installed
in $ac_dir" >&6; }
13968 elif test "x
$target" = "x
$host"; then
13969 # We can use an host tool
13970 GCC_FOR_TARGET='$()'
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13972 $as_echo "host tool
" >&6; }
13974 # We need a cross tool
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13976 $as_echo "pre-installed
" >&6; }
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13981 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13982 if test "x
${build}" != "x
${host}" ; then
13983 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13984 # We already found the complete path
13985 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13987 $as_echo "pre-installed
in $ac_dir" >&6; }
13989 # Canadian cross, just use what we found
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13991 $as_echo "pre-installed
" >&6; }
13995 case " ${configdirs} " in
13999 case ,${enable_languages}, in
14003 if test $ok = yes; then
14004 # An in-tree tool is available and we can use it
14005 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14007 $as_echo "just compiled
" >&6; }
14008 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14009 # We already found the complete path
14010 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14012 $as_echo "pre-installed
in $ac_dir" >&6; }
14013 elif test "x
$target" = "x
$host"; then
14014 # We can use an host tool
14015 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14017 $as_echo "host tool
" >&6; }
14019 # We need a cross tool
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14021 $as_echo "pre-installed
" >&6; }
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14026 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14027 if test "x
${build}" != "x
${host}" ; then
14028 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14029 # We already found the complete path
14030 ac_dir=`dirname $GOC_FOR_TARGET`
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14032 $as_echo "pre-installed
in $ac_dir" >&6; }
14034 # Canadian cross, just use what we found
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14036 $as_echo "pre-installed
" >&6; }
14040 case " ${configdirs} " in
14044 case ,${enable_languages}, in
14048 if test $ok = yes; then
14049 # An in-tree tool is available and we can use it
14050 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14052 $as_echo "just compiled
" >&6; }
14053 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14054 # We already found the complete path
14055 ac_dir=`dirname $GOC_FOR_TARGET`
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14057 $as_echo "pre-installed
in $ac_dir" >&6; }
14058 elif test "x
$target" = "x
$host"; then
14059 # We can use an host tool
14060 GOC_FOR_TARGET='$(GOC)'
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14062 $as_echo "host tool
" >&6; }
14064 # We need a cross tool
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14066 $as_echo "pre-installed
" >&6; }
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14071 $as_echo_n "checking where to
find the target ld...
" >&6; }
14072 if test "x
${build}" != "x
${host}" ; then
14073 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14074 # We already found the complete path
14075 ac_dir=`dirname $LD_FOR_TARGET`
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14077 $as_echo "pre-installed
in $ac_dir" >&6; }
14079 # Canadian cross, just use what we found
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14081 $as_echo "pre-installed
" >&6; }
14085 case " ${configdirs} " in
14090 if test $ok = yes; then
14091 # An in-tree tool is available and we can use it
14092 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14094 $as_echo "just compiled
" >&6; }
14095 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14096 # We already found the complete path
14097 ac_dir=`dirname $LD_FOR_TARGET`
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14099 $as_echo "pre-installed
in $ac_dir" >&6; }
14100 elif test "x
$target" = "x
$host"; then
14101 # We can use an host tool
14102 LD_FOR_TARGET='$(LD)'
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14104 $as_echo "host tool
" >&6; }
14106 # We need a cross tool
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14108 $as_echo "pre-installed
" >&6; }
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14113 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14114 if test "x
${build}" != "x
${host}" ; then
14115 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14116 # We already found the complete path
14117 ac_dir=`dirname $LIPO_FOR_TARGET`
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14119 $as_echo "pre-installed
in $ac_dir" >&6; }
14121 # Canadian cross, just use what we found
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14123 $as_echo "pre-installed
" >&6; }
14126 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14127 # We already found the complete path
14128 ac_dir=`dirname $LIPO_FOR_TARGET`
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14130 $as_echo "pre-installed
in $ac_dir" >&6; }
14131 elif test "x
$target" = "x
$host"; then
14132 # We can use an host tool
14133 LIPO_FOR_TARGET='$(LIPO)'
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14135 $as_echo "host tool
" >&6; }
14137 # We need a cross tool
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14139 $as_echo "pre-installed
" >&6; }
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14144 $as_echo_n "checking where to
find the target nm...
" >&6; }
14145 if test "x
${build}" != "x
${host}" ; then
14146 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14147 # We already found the complete path
14148 ac_dir=`dirname $NM_FOR_TARGET`
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14150 $as_echo "pre-installed
in $ac_dir" >&6; }
14152 # Canadian cross, just use what we found
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14154 $as_echo "pre-installed
" >&6; }
14158 case " ${configdirs} " in
14163 if test $ok = yes; then
14164 # An in-tree tool is available and we can use it
14165 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14167 $as_echo "just compiled
" >&6; }
14168 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14169 # We already found the complete path
14170 ac_dir=`dirname $NM_FOR_TARGET`
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14172 $as_echo "pre-installed
in $ac_dir" >&6; }
14173 elif test "x
$target" = "x
$host"; then
14174 # We can use an host tool
14175 NM_FOR_TARGET='$(NM)'
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14177 $as_echo "host tool
" >&6; }
14179 # We need a cross tool
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14181 $as_echo "pre-installed
" >&6; }
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14186 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14187 if test "x
${build}" != "x
${host}" ; then
14188 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14189 # We already found the complete path
14190 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14192 $as_echo "pre-installed
in $ac_dir" >&6; }
14194 # Canadian cross, just use what we found
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14196 $as_echo "pre-installed
" >&6; }
14200 case " ${configdirs} " in
14205 if test $ok = yes; then
14206 # An in-tree tool is available and we can use it
14207 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14209 $as_echo "just compiled
" >&6; }
14210 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14211 # We already found the complete path
14212 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14214 $as_echo "pre-installed
in $ac_dir" >&6; }
14215 elif test "x
$target" = "x
$host"; then
14216 # We can use an host tool
14217 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14219 $as_echo "host tool
" >&6; }
14221 # We need a cross tool
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14223 $as_echo "pre-installed
" >&6; }
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14228 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14229 if test "x
${build}" != "x
${host}" ; then
14230 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14231 # We already found the complete path
14232 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14234 $as_echo "pre-installed
in $ac_dir" >&6; }
14236 # Canadian cross, just use what we found
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14238 $as_echo "pre-installed
" >&6; }
14242 case " ${configdirs} " in
14247 if test $ok = yes; then
14248 # An in-tree tool is available and we can use it
14249 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14251 $as_echo "just compiled
" >&6; }
14252 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14253 # We already found the complete path
14254 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14256 $as_echo "pre-installed
in $ac_dir" >&6; }
14257 elif test "x
$target" = "x
$host"; then
14258 # We can use an host tool
14259 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14261 $as_echo "host tool
" >&6; }
14263 # We need a cross tool
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14265 $as_echo "pre-installed
" >&6; }
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14270 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14271 if test "x
${build}" != "x
${host}" ; then
14272 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14273 # We already found the complete path
14274 ac_dir=`dirname $RANLIB_FOR_TARGET`
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14276 $as_echo "pre-installed
in $ac_dir" >&6; }
14278 # Canadian cross, just use what we found
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14280 $as_echo "pre-installed
" >&6; }
14284 case " ${configdirs} " in
14289 if test $ok = yes; then
14290 # An in-tree tool is available and we can use it
14291 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14293 $as_echo "just compiled
" >&6; }
14294 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14295 # We already found the complete path
14296 ac_dir=`dirname $RANLIB_FOR_TARGET`
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14298 $as_echo "pre-installed
in $ac_dir" >&6; }
14299 elif test "x
$target" = "x
$host"; then
14300 # We can use an host tool
14301 RANLIB_FOR_TARGET='$(RANLIB)'
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14303 $as_echo "host tool
" >&6; }
14305 # We need a cross tool
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14307 $as_echo "pre-installed
" >&6; }
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14312 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14313 if test "x
${build}" != "x
${host}" ; then
14314 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14315 # We already found the complete path
14316 ac_dir=`dirname $READELF_FOR_TARGET`
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14318 $as_echo "pre-installed
in $ac_dir" >&6; }
14320 # Canadian cross, just use what we found
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14322 $as_echo "pre-installed
" >&6; }
14326 case " ${configdirs} " in
14331 if test $ok = yes; then
14332 # An in-tree tool is available and we can use it
14333 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14335 $as_echo "just compiled
" >&6; }
14336 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14337 # We already found the complete path
14338 ac_dir=`dirname $READELF_FOR_TARGET`
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14340 $as_echo "pre-installed
in $ac_dir" >&6; }
14341 elif test "x
$target" = "x
$host"; then
14342 # We can use an host tool
14343 READELF_FOR_TARGET='$(READELF)'
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14345 $as_echo "host tool
" >&6; }
14347 # We need a cross tool
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14349 $as_echo "pre-installed
" >&6; }
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14354 $as_echo_n "checking where to
find the target strip...
" >&6; }
14355 if test "x
${build}" != "x
${host}" ; then
14356 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14357 # We already found the complete path
14358 ac_dir=`dirname $STRIP_FOR_TARGET`
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14360 $as_echo "pre-installed
in $ac_dir" >&6; }
14362 # Canadian cross, just use what we found
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14364 $as_echo "pre-installed
" >&6; }
14368 case " ${configdirs} " in
14373 if test $ok = yes; then
14374 # An in-tree tool is available and we can use it
14375 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14377 $as_echo "just compiled
" >&6; }
14378 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14379 # We already found the complete path
14380 ac_dir=`dirname $STRIP_FOR_TARGET`
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14382 $as_echo "pre-installed
in $ac_dir" >&6; }
14383 elif test "x
$target" = "x
$host"; then
14384 # We can use an host tool
14385 STRIP_FOR_TARGET='$(STRIP)'
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14387 $as_echo "host tool
" >&6; }
14389 # We need a cross tool
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14391 $as_echo "pre-installed
" >&6; }
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14396 $as_echo_n "checking where to
find the target windres...
" >&6; }
14397 if test "x
${build}" != "x
${host}" ; then
14398 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14399 # We already found the complete path
14400 ac_dir=`dirname $WINDRES_FOR_TARGET`
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14402 $as_echo "pre-installed
in $ac_dir" >&6; }
14404 # Canadian cross, just use what we found
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14406 $as_echo "pre-installed
" >&6; }
14410 case " ${configdirs} " in
14415 if test $ok = yes; then
14416 # An in-tree tool is available and we can use it
14417 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14419 $as_echo "just compiled
" >&6; }
14420 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14421 # We already found the complete path
14422 ac_dir=`dirname $WINDRES_FOR_TARGET`
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14424 $as_echo "pre-installed
in $ac_dir" >&6; }
14425 elif test "x
$target" = "x
$host"; then
14426 # We can use an host tool
14427 WINDRES_FOR_TARGET='$(WINDRES)'
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14429 $as_echo "host tool
" >&6; }
14431 # We need a cross tool
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14433 $as_echo "pre-installed
" >&6; }
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14438 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14439 if test "x
${build}" != "x
${host}" ; then
14440 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14441 # We already found the complete path
14442 ac_dir=`dirname $WINDMC_FOR_TARGET`
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14444 $as_echo "pre-installed
in $ac_dir" >&6; }
14446 # Canadian cross, just use what we found
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14448 $as_echo "pre-installed
" >&6; }
14452 case " ${configdirs} " in
14457 if test $ok = yes; then
14458 # An in-tree tool is available and we can use it
14459 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14461 $as_echo "just compiled
" >&6; }
14462 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14463 # We already found the complete path
14464 ac_dir=`dirname $WINDMC_FOR_TARGET`
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14466 $as_echo "pre-installed
in $ac_dir" >&6; }
14467 elif test "x
$target" = "x
$host"; then
14468 # We can use an host tool
14469 WINDMC_FOR_TARGET='$(WINDMC)'
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14471 $as_echo "host tool
" >&6; }
14473 # We need a cross tool
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14475 $as_echo "pre-installed
" >&6; }
14483 # Certain tools may need extra flags.
14484 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14485 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14486 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14488 # When building target libraries, except in a Canadian cross, we use
14489 # the same toolchain as the compiler we just built.
14490 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14491 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14492 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14493 if test $host = $build; then
14494 case " $configdirs " in
14496 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14497 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14498 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14508 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14509 # Check whether --enable-maintainer-mode was given.
14510 if test "${enable_maintainer_mode+set}" = set; then :
14511 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14513 USE_MAINTAINER_MODE=no
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14517 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14520 if test "$USE_MAINTAINER_MODE" = yes; then
14521 MAINTAINER_MODE_TRUE=
14522 MAINTAINER_MODE_FALSE='#'
14524 MAINTAINER_MODE_TRUE='#'
14525 MAINTAINER_MODE_FALSE=
14527 MAINT=$MAINTAINER_MODE_TRUE
14529 # ---------------------
14530 # GCC bootstrap support
14531 # ---------------------
14533 # Stage specific cflags for build.
14538 yes) stage1_cflags="-g -Wa,-J" ;;
14539 *) stage1_cflags="-g -J" ;;
14545 # Enable --enable-checking in stage1 of the compiler.
14546 # Check whether --enable-stage1-checking was given.
14547 if test "${enable_stage1_checking+set}" = set; then :
14548 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14550 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14551 # For --disable-checking or implicit --enable-checking=release, avoid
14552 # setting --enable-checking=gc in the default stage1 checking for LTO
14553 # bootstraps. See PR62077.
14554 case $BUILD_CONFIG in
14556 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
14558 stage1_checking=--enable-checking=yes,types;;
14560 if test "x
$enable_checking" = x && \
14561 test -d ${srcdir}/gcc && \
14562 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14563 stage1_checking=--enable-checking=yes,types,extra
14566 stage1_checking=--enable-checking=$enable_checking,types
14572 # Enable -Werror in bootstrap stage2 and later.
14573 # Check whether --enable-werror was given.
14574 if test "${enable_werror+set}" = set; then :
14575 enableval=$enable_werror;
14577 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14584 case ${enable_werror} in
14585 yes) stage2_werror_flag="--enable-werror-always" ;;
14586 *) stage2_werror_flag="" ;;
14590 # Enable --enable-host-shared.
14591 # Check whether --enable-host-shared was given.
14592 if test "${enable_host_shared+set}" = set; then :
14593 enableval=$enable_host_shared; host_shared=$enableval
14600 # PR jit/64780: Require the user to explicitly specify
14601 # --enable-host-shared if the jit is enabled, hinting
14602 # that they might want to do a separate configure/build of
14603 # the jit, to avoid users from slowing down the rest of the
14604 # compiler by enabling the jit.
14605 if test ${host_shared} = "no
" ; then
14606 case "${enable_languages}" in
14609 Enabling language
\"jit
\" requires
--enable-host-shared.
14611 --enable-host-shared typically slows the rest of the compiler down by
14612 a few
%, so you must explicitly
enable it.
14614 If you want to build both the jit and the regular compiler
, it is often
14615 best to
do this via two separate configure
/builds
, in separate
14616 directories
, to avoid imposing the performance cost of
14617 --enable-host-shared on the regular compiler.
" "$LINENO" 5
14624 # Specify what files to not compare during bootstrap.
14626 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14628 hppa*64*-*-hpux*) ;;
14629 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14630 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14634 ac_config_files="$ac_config_files Makefile
"
14636 cat >confcache <<\_ACEOF
14637 # This file is a shell script that caches the results of configure
14638 # tests run on this system so they can be shared between configure
14639 # scripts and configure runs, see configure's option --config-cache.
14640 # It is not useful on other systems. If it contains results you don't
14641 # want to keep, you may remove or edit it.
14643 # config.status only pays attention to the cache file if you give it
14644 # the --recheck option to rerun configure.
14646 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14647 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14648 # following values.
14652 # The following way of writing the cache mishandles newlines in values,
14653 # but we know of no workaround that is simple, portable, and efficient.
14654 # So, we kill variables containing newlines.
14655 # Ultrix sh set writes to stderr and can't be redirected directly,
14656 # and sets the high bit in the cache file unless we assign to the vars.
14658 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14659 eval ac_val=\$$ac_var
14663 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14664 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14667 _ | IFS | as_nl) ;; #(
14668 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14669 *) { eval $ac_var=; unset $ac_var;} ;;
14675 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14676 *${as_nl}ac_space=\ *)
14677 # `set' does not quote correctly, so add quotes: double-quote
14678 # substitution turns \\\\ into \\, and sed turns \\ into \.
14681 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14684 # `set' quotes correctly as required by POSIX, so do not add quotes.
14685 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14694 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14696 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14698 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14699 if test -w "$cache_file"; then
14700 test "x
$cache_file" != "x
/dev
/null
" &&
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14702 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14703 cat confcache >$cache_file
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14706 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14711 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14712 # Let make expand exec_prefix.
14713 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14715 # Transform confdefs.h into DEFS.
14716 # Protect against shell expansion while executing Makefile rules.
14717 # Protect against Makefile macro expansion.
14719 # If the first sed substitution is executed (which looks for macros that
14720 # take arguments), then branch to the quote section. Otherwise,
14721 # look for a macro that doesn't take arguments.
14731 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14733 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14737 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14750 DEFS=`sed -n "$ac_script" confdefs.h`
14755 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14756 # 1. Remove the extension, and $U if already installed.
14757 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14758 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14759 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14760 # will be set to the directory where LIBOBJS objects are built.
14761 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14762 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14764 LIBOBJS=$ac_libobjs
14766 LTLIBOBJS=$ac_ltlibobjs
14770 : ${CONFIG_STATUS=./config.status}
14772 ac_clean_files_save=$ac_clean_files
14773 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14775 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14777 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14779 # Generated by $as_me.
14780 # Run this file to recreate the current configuration.
14781 # Compiler output produced by configure, useful for debugging
14782 # configure, is in config.log if it exists.
14785 ac_cs_recheck=false
14788 SHELL=\${CONFIG_SHELL-$SHELL}
14791 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14792 ## -------------------- ##
14793 ## M4sh Initialization. ##
14794 ## -------------------- ##
14796 # Be more Bourne compatible
14797 DUALCASE=1; export DUALCASE # for MKS sh
14798 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14801 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14802 # is contrary to our usage. Disable this feature.
14803 alias -g '${1+"$@"}'='"$@"'
14804 setopt NO_GLOB_SUBST
14806 case `(set -o) 2>/dev/null` in #(
14818 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14819 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14820 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14821 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14822 # Prefer a ksh shell builtin over an external printf program on Solaris,
14823 # but without wasting forks for bash or zsh.
14824 if test -z "$BASH_VERSION$ZSH_VERSION" \
14825 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14826 as_echo
='print -r --'
14827 as_echo_n
='print -rn --'
14828 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14829 as_echo
='printf %s\n'
14830 as_echo_n
='printf %s'
14832 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14833 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14834 as_echo_n
='/usr/ucb/echo -n'
14836 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14837 as_echo_n_body
='eval
14841 expr "X$arg" : "X\\(.*\\)$as_nl";
14842 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14844 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14846 export as_echo_n_body
14847 as_echo_n
='sh -c $as_echo_n_body as_echo'
14849 export as_echo_body
14850 as_echo
='sh -c $as_echo_body as_echo'
14853 # The user is always right.
14854 if test "${PATH_SEPARATOR+set}" != set; then
14856 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14857 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14864 # We need space, tab and new line, in precisely that order. Quoting is
14865 # there to prevent editors from complaining about space-tab.
14866 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14867 # splitting by setting IFS to empty value.)
14870 # Find who we are. Look in the path if we contain no directory separator.
14872 *[\\/]* ) as_myself
=$0 ;;
14873 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14874 for as_dir
in $PATH
14877 test -z "$as_dir" && as_dir
=.
14878 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14884 # We did not find ourselves, most probably we were run as `sh COMMAND'
14885 # in which case we are not to be found in the path.
14886 if test "x$as_myself" = x
; then
14889 if test ! -f "$as_myself"; then
14890 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14894 # Unset variables that we do not need and which cause bugs (e.g. in
14895 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14896 # suppresses any "Segmentation fault" message there. '((' could
14897 # trigger a bug in pdksh 5.2.14.
14898 for as_var
in BASH_ENV ENV MAIL MAILPATH
14899 do eval test x\
${$as_var+set} = xset \
14900 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14913 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14916 # as_fn_error ERROR [LINENO LOG_FD]
14917 # ---------------------------------
14918 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14919 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14920 # script with status $?, using 1 if that was 0.
14923 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14925 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14926 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14928 $as_echo "$as_me: error: $1" >&2
14929 as_fn_exit
$as_status
14933 # as_fn_set_status STATUS
14934 # -----------------------
14935 # Set $? to STATUS, without forking.
14936 as_fn_set_status
()
14939 } # as_fn_set_status
14941 # as_fn_exit STATUS
14942 # -----------------
14943 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14947 as_fn_set_status
$1
14953 # Portably unset VAR.
14956 { eval $1=; unset $1;}
14958 as_unset
=as_fn_unset
14959 # as_fn_append VAR VALUE
14960 # ----------------------
14961 # Append the text in VALUE to the end of the definition contained in VAR. Take
14962 # advantage of any shell optimizations that allow amortized linear growth over
14963 # repeated appends, instead of the typical quadratic growth present in naive
14965 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14966 eval 'as_fn_append ()
14977 # as_fn_arith ARG...
14978 # ------------------
14979 # Perform arithmetic evaluation on the ARGs, and store the result in the
14980 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14981 # must be portable across $(()) and expr.
14982 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14983 eval 'as_fn_arith ()
14990 as_val
=`expr "$@" || test $? -eq 1`
14995 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14996 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15002 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15003 as_basename
=basename
15008 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15014 as_me
=`$as_basename -- "$0" ||
15015 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15016 X"$0" : 'X\(//\)$' \| \
15017 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15019 sed '/^.*\/\([^/][^/]*\)\/*$/{
15033 # Avoid depending upon Character Ranges.
15034 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15035 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15036 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15037 as_cr_digits
='0123456789'
15038 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15040 ECHO_C
= ECHO_N
= ECHO_T
=
15041 case `echo -n x` in #(((((
15043 case `echo 'xy\c'` in
15044 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15046 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15053 rm -f conf$$ conf$$.exe conf$$.
file
15054 if test -d conf$$.dir
; then
15055 rm -f conf$$.dir
/conf$$.
file
15058 mkdir conf$$.dir
2>/dev
/null
15060 if (echo >conf$$.
file) 2>/dev
/null
; then
15061 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15063 # ... but there are two gotchas:
15064 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15065 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15066 # In both cases, we have to default to `cp -p'.
15067 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15069 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15077 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15078 rmdir conf$$.dir
2>/dev
/null
15083 # Create "$as_dir" as a directory, including parents if necessary.
15088 -*) as_dir
=.
/$as_dir;;
15090 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15094 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15095 *) as_qdir
=$as_dir;;
15097 as_dirs
="'$as_qdir' $as_dirs"
15098 as_dir
=`$as_dirname -- "$as_dir" ||
15099 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15100 X"$as_dir" : 'X\(//\)[^/]' \| \
15101 X"$as_dir" : 'X\(//\)$' \| \
15102 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15103 $as_echo X"$as_dir" |
15104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15108 /^X\(\/\/\)[^/].*/{
15121 test -d "$as_dir" && break
15123 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15124 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15128 if mkdir
-p .
2>/dev
/null
; then
15129 as_mkdir_p
='mkdir -p "$as_dir"'
15131 test -d .
/-p && rmdir .
/-p
15135 if test -x / >/dev
/null
2>&1; then
15136 as_test_x
='test -x'
15138 if ls -dL / >/dev
/null
2>&1; then
15145 if test -d "$1"; then
15151 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15152 ???[sx]*):;;*)false;;esac;fi
15156 as_executable_p
=$as_test_x
15158 # Sed expression to map a string onto a valid CPP name.
15159 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15161 # Sed expression to map a string onto a valid variable name.
15162 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15166 ## ----------------------------------- ##
15167 ## Main body of $CONFIG_STATUS script. ##
15168 ## ----------------------------------- ##
15170 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15173 # Save the log message, to keep $0 and so on meaningful, and to
15174 # report actual input values of CONFIG_FILES etc. instead of their
15175 # values after options handling.
15177 This file was extended by $as_me, which was
15178 generated by GNU Autoconf 2.64. Invocation command line was
15180 CONFIG_FILES = $CONFIG_FILES
15181 CONFIG_HEADERS = $CONFIG_HEADERS
15182 CONFIG_LINKS = $CONFIG_LINKS
15183 CONFIG_COMMANDS = $CONFIG_COMMANDS
15186 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15191 case $ac_config_files in *"
15192 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15198 # Files that config.status was made for.
15199 config_files="$ac_config_files"
15203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15205 \`$as_me' instantiates files and other configuration actions
15206 from templates according to the current configuration. Unless the files
15207 and actions are specified as TAGs, all are instantiated by default.
15209 Usage: $0 [OPTION]... [TAG]...
15211 -h, --help print this help, then exit
15212 -V, --version print version number and configuration settings, then exit
15213 -q, --quiet, --silent
15214 do not print progress messages
15215 -d, --debug don't remove temporary files
15216 --recheck update $as_me by reconfiguring in the same conditions
15217 --file=FILE[:TEMPLATE]
15218 instantiate the configuration file FILE
15220 Configuration files:
15223 Report bugs to the package provider."
15226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15229 configured by $0, generated by GNU Autoconf 2.64,
15230 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15232 Copyright (C) 2009 Free Software Foundation, Inc.
15233 This config.status script is free software; the Free Software Foundation
15234 gives unlimited permission to copy, distribute and modify it."
15240 test -n "\$AWK" || AWK=awk
15243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15244 # The default lists apply if the user does not specify any file.
15250 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15251 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15262 # Handling of the options.
15263 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15265 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15266 $as_echo "$ac_cs_version"; exit ;;
15267 --debug |
--debu |
--deb |
--de |
--d |
-d )
15269 --file |
--fil |
--fi |
--f )
15272 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15274 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15275 ac_need_defaults
=false
;;
15276 --he |
--h |
--help |
--hel |
-h )
15277 $as_echo "$ac_cs_usage"; exit ;;
15278 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15279 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15282 # This is an error.
15283 -*) as_fn_error
"unrecognized option: \`$1'
15284 Try \`$0 --help' for more information." ;;
15286 *) as_fn_append ac_config_targets
" $1"
15287 ac_need_defaults
=false
;;
15293 ac_configure_extra_args
=
15295 if $ac_cs_silent; then
15297 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15302 if \$ac_cs_recheck; then
15303 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15305 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15306 CONFIG_SHELL='$SHELL'
15307 export CONFIG_SHELL
15312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15316 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15317 ## Running $as_me. ##
15323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15327 extrasub_build="$extrasub_build"
15328 extrasub_host="$extrasub_host"
15329 extrasub_target="$extrasub_target"
15333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15335 # Handling of arguments.
15336 for ac_config_target
in $ac_config_targets
15338 case $ac_config_target in
15339 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15341 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15346 # If the user did not use the arguments to specify the items to instantiate,
15347 # then the envvar interface is used. Set only those that are not.
15348 # We use the long form for the default assignment because of an extremely
15349 # bizarre bug on SunOS 4.1.3.
15350 if $ac_need_defaults; then
15351 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15354 # Have a temporary directory for convenience. Make it in the build tree
15355 # simply because there is no reason against having it here, and in addition,
15356 # creating and moving files from /tmp can sometimes cause problems.
15357 # Hook for its removal unless debugging.
15358 # Note that there is a small window in which the directory will not be cleaned:
15359 # after its creation but before its name has been assigned to `$tmp'.
15363 trap 'exit_status=$?
15364 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15366 trap 'as_fn_exit 1' 1 2 13 15
15368 # Create a (secure) tmp directory for tmp files.
15371 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15372 test -n "$tmp" && test -d "$tmp"
15375 tmp
=.
/conf$$
-$RANDOM
15376 (umask 077 && mkdir
"$tmp")
15377 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15379 # Set up the scripts for CONFIG_FILES section.
15380 # No need to generate them if there are no CONFIG_FILES.
15381 # This happens for instance with `./config.status config.h'.
15382 if test -n "$CONFIG_FILES"; then
15384 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15385 ac_cs_awk_getline
=:
15386 ac_cs_awk_pipe_init
=
15387 ac_cs_awk_read_file
='
15388 while ((getline aline < (F[key])) > 0)
15391 ac_cs_awk_pipe_fini
=
15393 ac_cs_awk_getline
=false
15394 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15395 ac_cs_awk_read_file
='
15397 print "cat " F[key] " &&"
15398 '$ac_cs_awk_pipe_init
15399 # The final `:' finishes the AND list.
15400 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15402 ac_cr
=`echo X | tr X '\015'`
15403 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15404 # But we know of no other shell where ac_cr would be empty at this
15405 # point, so we can use a bashism as a fallback.
15406 if test "x$ac_cr" = x
; then
15407 eval ac_cr
=\$
\'\\r
\'
15409 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15410 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15413 ac_cs_awk_cr
=$ac_cr
15416 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15419 # Create commands to substitute file output variables.
15421 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15422 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15423 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15426 } >conf$
$files.sh
&&
15427 . .
/conf$
$files.sh ||
15428 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15429 rm -f conf$
$files.sh
15432 echo "cat >conf$$subs.awk <<_ACEOF" &&
15433 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15435 } >conf$$subs.sh ||
15436 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15437 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15439 for ac_last_try in false false false false false :; do
15440 . ./conf$$subs.sh ||
15441 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15443 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15444 if test $ac_delim_n = $ac_delim_num; then
15446 elif $ac_last_try; then
15447 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15449 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15452 rm -f conf$$subs.sh
15454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15455 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15459 s/^/S["/; s
/!.
*/"]=/
15469 s/\(.\{148\}\).*/\1/
15471 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15476 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15483 s/\(.\{148\}\).*/\1/
15485 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15489 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15494 ' <conf$$subs.awk | sed '
15499 ' >>$CONFIG_STATUS || ac_write_fail=1
15500 rm -f conf$$subs.awk
15501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15503 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15504 for (key in S) S_is_set[key] = 1
15506 \$ac_cs_awk_pipe_init
15510 nfields = split(line, field, "@
")
15512 len = length(field[1])
15513 for (i = 2; i < nfields; i++) {
15515 keylen = length(key)
15516 if (S_is_set[key]) {
15518 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15519 len += length(value) + length(field[++i])
15524 if (nfields == 3 && !substed) {
15526 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15527 \$ac_cs_awk_read_file
15533 \$ac_cs_awk_pipe_fini
15536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15537 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15538 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15541 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15542 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15545 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15546 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15547 # trailing colons and then remove the whole line if VPATH becomes empty
15548 # (actually we leave an empty line to preserve line numbers).
15549 if test "x
$srcdir" = x.; then
15550 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15551 s/:*\$(srcdir):*/:/
15552 s/:*\${srcdir}:*/:/
15554 s/^\([^=]*=[ ]*\):*/\1/
15560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15561 fi # test -n "$CONFIG_FILES"
15564 eval set X " :F
$CONFIG_FILES "
15569 :[FHLC]) ac_mode=$ac_tag; continue;;
15571 case $ac_mode$ac_tag in
15573 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15574 :[FH]-) ac_tag=-:-;;
15575 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15592 -) ac_f="$tmp/stdin";;
15593 *) # Look for the file first in the build tree, then in the source tree
15594 # (if the path is not absolute). The absolute path cannot be DOS-style,
15595 # because $ac_f cannot contain `:'.
15599 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15601 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15603 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15604 as_fn_append ac_file_inputs " '$ac_f'"
15607 # Let's still pretend it is `configure' which instantiates (i.e., don't
15608 # use $as_me), people would be surprised to read:
15609 # /* config.h. Generated by config.status. */
15610 configure_input='Generated from '`
15611 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15613 if test x"$ac_file" != x-; then
15614 configure_input="$ac_file.
$configure_input"
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15616 $as_echo "$as_me: creating
$ac_file" >&6;}
15618 # Neutralize special characters interpreted by sed in replacement strings.
15619 case $configure_input in #(
15620 *\&* | *\|* | *\\* )
15621 ac_sed_conf_input=`$as_echo "$configure_input" |
15622 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15623 *) ac_sed_conf_input=$configure_input;;
15627 *:-:* | *:-) cat >"$tmp/stdin
" \
15628 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15633 ac_dir=`$as_dirname -- "$ac_file" ||
15634 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15635 X"$ac_file" : 'X\(//\)[^/]' \| \
15636 X"$ac_file" : 'X\(//\)$' \| \
15637 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15638 $as_echo X"$ac_file" |
15639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15643 /^X\(\/\/\)[^/].*/{
15656 as_dir="$ac_dir"; as_fn_mkdir_p
15660 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15662 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15663 # A "..
" for each directory in $ac_dir_suffix.
15664 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15665 case $ac_top_builddir_sub in
15666 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15667 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15670 ac_abs_top_builddir=$ac_pwd
15671 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15672 # for backward compatibility:
15673 ac_top_builddir=$ac_top_build_prefix
15676 .) # We are building in place.
15678 ac_top_srcdir=$ac_top_builddir_sub
15679 ac_abs_top_srcdir=$ac_pwd ;;
15680 [\\/]* | ?:[\\/]* ) # Absolute name.
15681 ac_srcdir=$srcdir$ac_dir_suffix;
15682 ac_top_srcdir=$srcdir
15683 ac_abs_top_srcdir=$srcdir ;;
15684 *) # Relative name.
15685 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15686 ac_top_srcdir=$ac_top_build_prefix$srcdir
15687 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15689 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15699 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15700 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15705 # If the template does not know about datarootdir, expand it.
15706 # FIXME: This hack should be removed a few years after 2.60.
15707 ac_datarootdir_hack=; ac_datarootdir_seen=
15718 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15719 *datarootdir*) ac_datarootdir_seen=yes;;
15720 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15722 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15725 ac_datarootdir_hack='
15726 s&@datadir@&$datadir&g
15727 s&@docdir@&$docdir&g
15728 s&@infodir@&$infodir&g
15729 s&@localedir@&$localedir&g
15730 s&@mandir@&$mandir&g
15731 s&\\\${datarootdir}&$datarootdir&g' ;;
15735 # Neutralize VPATH when `$srcdir' = `.'.
15736 # Shell code in configure.ac might set extrasub.
15737 # FIXME: do we really want to maintain this feature?
15738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15739 ac_sed_extra="$ac_vpsub
15742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15744 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15745 s|@configure_input@|
$ac_sed_conf_input|
;t t
15746 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15747 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15748 s
&@srcdir@
&$ac_srcdir&;t t
15749 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15750 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15751 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15752 s
&@builddir@
&$ac_builddir&;t t
15753 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15754 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15755 s
&@INSTALL@
&$ac_INSTALL&;t t
15756 $ac_datarootdir_hack
15758 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15759 if $ac_cs_awk_getline; then
15760 $AWK -f "$tmp/subs.
awk"
15762 $AWK -f "$tmp/subs.
awk" | $SHELL
15764 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15766 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15767 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15768 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15770 which seems to be undefined. Please make sure it is defined." >&5
15771 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15772 which seems to be undefined. Please make sure it is defined." >&2;}
15776 -) cat "$tmp/out" && rm -f "$tmp/out";;
15777 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15779 || as_fn_error "could not create $ac_file" "$LINENO" 5
15787 case $ac_file$ac_mode in
15788 "Makefile":F) sed "$extrasub_build" Makefile |
15789 sed "$extrasub_host" |
15790 sed "$extrasub_target" > mf$$
15791 mv -f mf$$ Makefile ;;
15799 ac_clean_files=$ac_clean_files_save
15801 test $ac_write_fail = 0 ||
15802 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15805 # configure is writing to config.log, and then calls config.status.
15806 # config.status does its own redirection, appending to config.log.
15807 # Unfortunately, on DOS this fails, as config.log is still kept open
15808 # by configure, so config.status won't be able to
write to it
; its
15809 # output is simply discarded. So we exec the FD to /dev/null,
15810 # effectively closing config.log, so it can be properly (re)opened and
15811 # appended to by config.status. When coming back to configure, we
15812 # need to make the FD available again.
15813 if test "$no_create" != yes; then
15815 ac_config_status_args
=
15816 test "$silent" = yes &&
15817 ac_config_status_args
="$ac_config_status_args --quiet"
15819 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15821 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15822 # would make configure fail if this is the last instruction.
15823 $ac_cs_success || as_fn_exit $?
15825 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15827 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}