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* | 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, bootstrap it.
7061 if echo " ${target_configdirs} " |
grep " libmpx " > /dev
/null
2>&1; then
7062 bootstrap_target_libs
=${bootstrap_target_libs}target-libmpx
,
7065 # Determine whether gdb needs tk/tcl or not.
7066 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7067 # and in that case we want gdb to be built without tk. Ugh!
7068 # In fact I believe gdb is the *only* package directly dependent on tk,
7069 # so we should be able to put the 'maybe's in unconditionally and
7070 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7071 # 100% sure that that's safe though.
7073 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7074 case "$enable_gdbtk" in
7078 GDB_TK
="${gdb_tk}" ;;
7080 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7081 # distro. Eventually someone will fix this and move Insight, nee
7082 # gdbtk to a separate directory.
7083 if test -d ${srcdir}/gdb
/gdbtk
; then
7090 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7091 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7093 # Strip out unwanted targets.
7095 # While at that, we remove Makefiles if we were started for recursive
7096 # configuration, so that the top-level Makefile reconfigures them,
7097 # like we used to do when configure itself was recursive.
7099 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7100 # but now we're fixing up the Makefile ourselves with the additional
7101 # commands passed to AC_CONFIG_FILES. Use separate variables
7102 # extrasub-{build,host,target} not because there is any reason to split
7103 # the substitutions up that way, but only to remain below the limit of
7104 # 99 commands in a script, for HP-UX sed.
7105 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7107 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7108 yes:yes:*\ gold\
*:*,c
++,*) ;;
7109 yes:yes:*\ gold\
*:*)
7110 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7115 for module
in ${build_configdirs} ; do
7116 if test -z "${no_recursion}" \
7117 && test -f ${build_subdir}/${module}/Makefile
; then
7118 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7119 rm -f ${build_subdir}/${module}/Makefile
7121 extrasub_build
="$extrasub_build
7122 /^@if build-$module\$/d
7123 /^@endif build-$module\$/d
7124 /^@if build-$module-$bootstrap_suffix\$/d
7125 /^@endif build-$module-$bootstrap_suffix\$/d"
7128 for module
in ${configdirs} ; do
7129 if test -z "${no_recursion}"; then
7130 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7131 if test -f ${file}; then
7132 echo 1>&2 "*** removing ${file} to force reconfigure"
7137 case ${module},${bootstrap_fixincludes} in
7138 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7139 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7141 extrasub_host
="$extrasub_host
7143 /^@endif $module\$/d
7144 /^@if $module-$host_bootstrap_suffix\$/d
7145 /^@endif $module-$host_bootstrap_suffix\$/d"
7148 for module
in ${target_configdirs} ; do
7149 if test -z "${no_recursion}" \
7150 && test -f ${target_subdir}/${module}/Makefile
; then
7151 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7152 rm -f ${target_subdir}/${module}/Makefile
7155 # We only bootstrap target libraries listed in bootstrap_target_libs.
7156 case $bootstrap_target_libs in
7157 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7158 *) target_bootstrap_suffix
=no-bootstrap
;;
7161 extrasub_target
="$extrasub_target
7162 /^@if target-$module\$/d
7163 /^@endif target-$module\$/d
7164 /^@if target-$module-$target_bootstrap_suffix\$/d
7165 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7168 # Do the final fixup along with target modules.
7169 extrasub_target
="$extrasub_target
7170 /^@if /,/^@endif /d"
7172 # Create the serialization dependencies. This uses a temporary file.
7174 # Check whether --enable-serial-configure was given.
7175 if test "${enable_serial_configure+set}" = set; then :
7176 enableval
=$enable_serial_configure;
7180 case ${enable_serial_configure} in
7182 enable_serial_build_configure
=yes
7183 enable_serial_host_configure
=yes
7184 enable_serial_target_configure
=yes
7188 # These force 'configure's to be done one at a time, to avoid problems
7189 # with contention over a shared config.cache.
7191 echo '# serdep.tmp' > serdep.tmp
7193 test "x${enable_serial_build_configure}" = xyes
&&
7194 for item
in ${build_configdirs} ; do
7197 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7202 test "x${enable_serial_host_configure}" = xyes
&&
7203 for item
in ${configdirs} ; do
7206 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7211 test "x${enable_serial_target_configure}" = xyes
&&
7212 for item
in ${target_configdirs} ; do
7215 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7219 serialization_dependencies
=serdep.tmp
7222 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7223 # target, nonopt, and variable assignments. These are the ones we
7224 # might not want to pass down to subconfigures. The exception being
7225 # --cache-file=/dev/null, which is used to turn off the use of cache
7226 # files altogether, and which should be passed on to subconfigures.
7227 # Also strip program-prefix, program-suffix, and program-transform-name,
7228 # so that we can pass down a consistent program-transform-name.
7233 eval "set -- $ac_configure_args"
7236 if test X
"$skip_next" = X
"yes"; then
7240 if test X
"$keep_next" = X
"yes"; then
7243 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7245 baseargs
="$baseargs '$ac_arg'"
7246 tbaseargs
="$tbaseargs '$ac_arg'"
7251 # Handle separated arguments. Based on the logic generated by
7254 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7255 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7256 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7257 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7271 --with-* |
--without-*)
7272 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7276 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7279 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7288 mpc | mpfr | gmp | isl
)
7289 # If we're processing --with-$lib, --with-$lib-include or
7290 # --with-$lib-lib, for one of the libs above, and target is
7291 # different from host, don't pass the current argument to any
7292 # target library's configure.
7293 if test x
$is_cross_compiler = xyes
; then
7302 --cache-file=/dev
/null | \
7303 -cache-file=/dev
/null
)
7304 # Handled here to avoid the test to skip args below.
7305 baseargs
="$baseargs '$ac_arg'"
7306 tbaseargs
="$tbaseargs '$ac_arg'"
7307 # Assert: $separate_arg should always be no.
7308 keep_next
=$separate_arg
7324 -program-prefix* | \
7325 -program-suffix* | \
7326 -program-transform-name* )
7327 skip_next
=$separate_arg
7331 # An option. Add it.
7334 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7336 baseargs
="$baseargs '$ac_arg'"
7337 if test X
"$skip_targ" = Xno
; then
7338 tbaseargs
="$tbaseargs '$ac_arg'"
7340 keep_next
=$separate_arg
7343 # Either a variable assignment, or a nonopt (triplet). Don't
7344 # pass it down; let the Makefile handle this.
7349 # Remove the initial space we just introduced and, as these will be
7350 # expanded by make, quote '$'.
7351 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7353 # Add in --program-transform-name, after --program-prefix and
7354 # --program-suffix have been applied to it. Autoconf has already
7355 # doubled dollar signs and backslashes in program_transform_name; we want
7356 # the backslashes un-doubled, and then the entire thing wrapped in single
7357 # quotes, because this will be expanded first by make and then by the shell.
7358 # Also, because we want to override the logic in subdir configure scripts to
7359 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7360 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7361 ${program_transform_name}
7363 gcc_transform_name
=`cat conftestsed.out`
7364 rm -f conftestsed.out
7365 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7366 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7367 if test "$silent" = yes; then
7368 baseargs
="$baseargs --silent"
7369 tbaseargs
="$tbaseargs --silent"
7371 baseargs
="$baseargs --disable-option-checking"
7372 tbaseargs
="$tbaseargs --disable-option-checking"
7374 # Record and document user additions to sub configure arguments.
7379 # For the build-side libraries, we just need to pretend we're native,
7380 # and not use the same cache file. Multilibs are neither needed nor
7381 # desired. We can't even use the same cache file for all build-side
7382 # libraries, as they're compiled differently; some with C, some with
7383 # C++ or with different feature-enabling options.
7384 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7386 # For host modules, accept cache file option, or specification as blank.
7387 case "${cache_file}" in
7389 cache_file_option
="" ;;
7390 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7391 cache_file_option
="--cache-file=${cache_file}" ;;
7393 cache_file_option
="--cache-file=../${cache_file}" ;;
7396 # Host dirs don't like to share a cache file either, horribly enough.
7397 # This seems to be due to autoconf 2.5x stupidity.
7398 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7400 target_configargs
="$target_configargs ${tbaseargs}"
7402 # Passing a --with-cross-host argument lets the target libraries know
7403 # whether they are being built with a cross-compiler or being built
7404 # native. However, it would be better to use other mechanisms to make the
7405 # sorts of decisions they want to make on this basis. Please consider
7406 # this option to be deprecated. FIXME.
7407 if test x
${is_cross_compiler} = xyes
; then
7408 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7411 # Special user-friendly check for native x86_64-linux build, if
7412 # multilib is not explicitly enabled.
7413 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7414 x86_64-
*linux
*:yes:$build:$build:)
7415 # Make sure we have a development environment that handles 32-bit
7417 echo "int main () { return 0; }" > conftest.c
7418 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7419 if test $?
= 0 ; then
7420 if test -s conftest ||
test -s conftest.exe
; then
7425 if test x
${dev64} != xyes
; then
7426 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
7431 # Default to --enable-multilib.
7432 if test x
${enable_multilib} = x
; then
7433 target_configargs
="--enable-multilib ${target_configargs}"
7436 # Pass --with-newlib if appropriate. Note that target_configdirs has
7437 # changed from the earlier setting of with_newlib.
7438 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7439 target_configargs
="--with-newlib ${target_configargs}"
7442 # Different target subdirs use different values of certain variables
7443 # (notably CXX). Worse, multilibs use *lots* of different values.
7444 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7445 # it doesn't automatically accept command-line overrides of them.
7446 # This means it's not safe for target subdirs to share a cache file,
7447 # which is disgusting, but there you have it. Hopefully this can be
7448 # fixed in future. It's still worthwhile to use a cache file for each
7449 # directory. I think.
7451 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7452 # We need to pass --target, as newer autoconf's requires consistency
7453 # for target_alias and gcc doesn't manage it consistently.
7454 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7457 case " $target_configdirs " in
7459 case " $target_configargs " in
7460 *" --with-newlib "*)
7463 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7467 # If we're not building GCC, don't discard standard headers.
7468 if test -d ${srcdir}/gcc
; then
7469 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7471 if test "${build}" != "${host}"; then
7472 # On Canadian crosses, CC_FOR_TARGET will have already been set
7473 # by `configure', so we won't have an opportunity to add -Bgcc/
7474 # to it. This is right: we don't want to search that directory
7475 # for binaries, but we want the header files in there, so add
7477 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7479 # Someone might think of using the pre-installed headers on
7480 # Canadian crosses, in case the installed compiler is not fully
7481 # compatible with the compiler being built. In this case, it
7482 # would be better to flag an error than risking having
7483 # incompatible object files being constructed. We can't
7484 # guarantee that an error will be flagged, but let's hope the
7485 # compiler will do it, when presented with incompatible header
7490 case "${target}-${is_cross_compiler}" in
7491 i
[3456789]86-*-linux*-no)
7492 # Here host == target, so we don't need to build gcc,
7493 # so we don't want to discard standard headers.
7494 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7497 # If we're building newlib, use its generic headers last, but search
7498 # for any libc-related directories first (so make it the last -B
7500 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7502 # If we're building libgloss, find the startup file, simulator library
7503 # and linker script.
7504 case " $target_configdirs " in
7506 # Look for startup file, simulator library and maybe linker script.
7507 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7508 # Look for libnosys.a in case the target needs it.
7509 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7510 # Most targets have the linker script in the source directory.
7511 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7522 x86_64-
*mingw
* |
*-w64-mingw*)
7523 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7524 # however, use a symlink named 'mingw' in ${prefix} .
7525 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7528 # MinGW can't be handled as Cygwin above since it does not use newlib.
7529 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'
7533 # Allow the user to override the flags for
7534 # our build compiler if desired.
7535 if test x
"${build}" = x
"${host}" ; then
7536 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7537 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7538 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7541 # On Canadian crosses, we'll be searching the right directories for
7542 # the previously-installed cross compiler, so don't bother to add
7543 # flags for directories within the install tree of the compiler
7544 # being built; programs in there won't even run.
7545 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7546 # Search for pre-installed headers if nothing else fits.
7547 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7550 if test "x
${use_gnu_ld}" = x &&
7551 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7552 # Arrange for us to find uninstalled linker scripts.
7553 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7556 # Search for other target-specific linker scripts and such.
7559 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7563 # Makefile fragments.
7564 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7566 eval fragval=\$$frag
7567 if test $fragval != /dev/null; then
7568 eval $frag=${srcdir}/$fragval
7576 # Miscellanea: directories, flags, etc.
7585 # Build module lists & subconfigure args.
7589 # Host module lists & subconfigure args.
7594 # Target module lists & subconfigure args.
7615 # Generate default definitions for YACC, M4, LEX and other programs that run
7616 # on the build machine. These are used if the Makefile can't locate these
7617 # programs in objdir.
7618 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7620 for ac_prog in 'bison -y' byacc yacc
7622 # Extract the first word of "$ac_prog", so it can be a program name with args.
7623 set dummy $ac_prog; ac_word=$2
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7625 $as_echo_n "checking
for $ac_word...
" >&6; }
7626 if test "${ac_cv_prog_YACC+set}" = set; then :
7627 $as_echo_n "(cached
) " >&6
7629 if test -n "$YACC"; then
7630 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 test -z "$as_dir" && as_dir=.
7637 for ac_exec_ext in '' $ac_executable_extensions; do
7638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7639 ac_cv_prog_YACC="$ac_prog"
7640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7649 YACC=$ac_cv_prog_YACC
7650 if test -n "$YACC"; then
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7652 $as_echo "$YACC" >&6; }
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7655 $as_echo "no
" >&6; }
7659 test -n "$YACC" && break
7661 test -n "$YACC" || YACC="$MISSING bison
-y"
7663 case " $build_configdirs " in
7664 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7667 for ac_prog in bison
7669 # Extract the first word of "$ac_prog", so it can be a program name with args.
7670 set dummy $ac_prog; ac_word=$2
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7672 $as_echo_n "checking
for $ac_word...
" >&6; }
7673 if test "${ac_cv_prog_BISON+set}" = set; then :
7674 $as_echo_n "(cached
) " >&6
7676 if test -n "$BISON"; then
7677 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7683 test -z "$as_dir" && as_dir=.
7684 for ac_exec_ext in '' $ac_executable_extensions; do
7685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7686 ac_cv_prog_BISON="$ac_prog"
7687 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7696 BISON=$ac_cv_prog_BISON
7697 if test -n "$BISON"; then
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7699 $as_echo "$BISON" >&6; }
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7702 $as_echo "no
" >&6; }
7706 test -n "$BISON" && break
7708 test -n "$BISON" || BISON="$MISSING bison
"
7710 case " $build_configdirs " in
7711 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7714 for ac_prog in gm4 gnum4 m4
7716 # Extract the first word of "$ac_prog", so it can be a program name with args.
7717 set dummy $ac_prog; ac_word=$2
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7719 $as_echo_n "checking
for $ac_word...
" >&6; }
7720 if test "${ac_cv_prog_M4+set}" = set; then :
7721 $as_echo_n "(cached
) " >&6
7723 if test -n "$M4"; then
7724 ac_cv_prog_M4="$M4" # Let the user override the test.
7726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7730 test -z "$as_dir" && as_dir=.
7731 for ac_exec_ext in '' $ac_executable_extensions; do
7732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7733 ac_cv_prog_M4="$ac_prog"
7734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7744 if test -n "$M4"; then
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7746 $as_echo "$M4" >&6; }
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7749 $as_echo "no
" >&6; }
7753 test -n "$M4" && break
7755 test -n "$M4" || M4="$MISSING m4"
7757 case " $build_configdirs " in
7758 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7761 for ac_prog in flex lex
7763 # Extract the first word of "$ac_prog", so it can be a program name with args.
7764 set dummy $ac_prog; ac_word=$2
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7766 $as_echo_n "checking
for $ac_word...
" >&6; }
7767 if test "${ac_cv_prog_LEX+set}" = set; then :
7768 $as_echo_n "(cached
) " >&6
7770 if test -n "$LEX"; then
7771 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7777 test -z "$as_dir" && as_dir=.
7778 for ac_exec_ext in '' $ac_executable_extensions; do
7779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7780 ac_cv_prog_LEX="$ac_prog"
7781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7791 if test -n "$LEX"; then
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7793 $as_echo "$LEX" >&6; }
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7796 $as_echo "no
" >&6; }
7800 test -n "$LEX" && break
7802 test -n "$LEX" || LEX="$MISSING flex
"
7804 case " $build_configdirs " in
7805 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7806 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7811 # Extract the first word of "$ac_prog", so it can be a program name with args.
7812 set dummy $ac_prog; ac_word=$2
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7814 $as_echo_n "checking
for $ac_word...
" >&6; }
7815 if test "${ac_cv_prog_FLEX+set}" = set; then :
7816 $as_echo_n "(cached
) " >&6
7818 if test -n "$FLEX"; then
7819 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7825 test -z "$as_dir" && as_dir=.
7826 for ac_exec_ext in '' $ac_executable_extensions; do
7827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7828 ac_cv_prog_FLEX="$ac_prog"
7829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7838 FLEX=$ac_cv_prog_FLEX
7839 if test -n "$FLEX"; then
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7841 $as_echo "$FLEX" >&6; }
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7844 $as_echo "no
" >&6; }
7848 test -n "$FLEX" && break
7850 test -n "$FLEX" || FLEX="$MISSING flex
"
7852 case " $build_configdirs " in
7853 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7856 for ac_prog in makeinfo
7858 # Extract the first word of "$ac_prog", so it can be a program name with args.
7859 set dummy $ac_prog; ac_word=$2
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7861 $as_echo_n "checking
for $ac_word...
" >&6; }
7862 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7863 $as_echo_n "(cached
) " >&6
7865 if test -n "$MAKEINFO"; then
7866 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7872 test -z "$as_dir" && as_dir=.
7873 for ac_exec_ext in '' $ac_executable_extensions; do
7874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7875 ac_cv_prog_MAKEINFO="$ac_prog"
7876 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7885 MAKEINFO=$ac_cv_prog_MAKEINFO
7886 if test -n "$MAKEINFO"; then
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7888 $as_echo "$MAKEINFO" >&6; }
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7891 $as_echo "no
" >&6; }
7895 test -n "$MAKEINFO" && break
7897 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7899 case " $build_configdirs " in
7900 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7903 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7904 # higher, else we use the "missing
" dummy.
7905 if ${MAKEINFO} --version \
7906 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7909 MAKEINFO="$MISSING makeinfo
"
7915 # FIXME: expect and dejagnu may become build tools?
7917 for ac_prog in expect
7919 # Extract the first word of "$ac_prog", so it can be a program name with args.
7920 set dummy $ac_prog; ac_word=$2
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7922 $as_echo_n "checking
for $ac_word...
" >&6; }
7923 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7924 $as_echo_n "(cached
) " >&6
7926 if test -n "$EXPECT"; then
7927 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7933 test -z "$as_dir" && as_dir=.
7934 for ac_exec_ext in '' $ac_executable_extensions; do
7935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7936 ac_cv_prog_EXPECT="$ac_prog"
7937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7946 EXPECT=$ac_cv_prog_EXPECT
7947 if test -n "$EXPECT"; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7949 $as_echo "$EXPECT" >&6; }
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7952 $as_echo "no
" >&6; }
7956 test -n "$EXPECT" && break
7958 test -n "$EXPECT" || EXPECT="expect
"
7960 case " $configdirs " in
7962 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7966 for ac_prog in runtest
7968 # Extract the first word of "$ac_prog", so it can be a program name with args.
7969 set dummy $ac_prog; ac_word=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7971 $as_echo_n "checking
for $ac_word...
" >&6; }
7972 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7973 $as_echo_n "(cached
) " >&6
7975 if test -n "$RUNTEST"; then
7976 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7982 test -z "$as_dir" && as_dir=.
7983 for ac_exec_ext in '' $ac_executable_extensions; do
7984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7985 ac_cv_prog_RUNTEST="$ac_prog"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7995 RUNTEST=$ac_cv_prog_RUNTEST
7996 if test -n "$RUNTEST"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7998 $as_echo "$RUNTEST" >&6; }
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8001 $as_echo "no
" >&6; }
8005 test -n "$RUNTEST" && break
8007 test -n "$RUNTEST" || RUNTEST="runtest
"
8009 case " $configdirs " in
8011 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8018 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8019 ncn_target_tool_prefix=
8020 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8024 if test -n "$AR"; then
8026 elif test -n "$ac_cv_prog_AR"; then
8030 if test -n "$ac_cv_prog_AR"; then
8031 for ncn_progname in ar; do
8032 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8033 set dummy ${ncn_progname}; ac_word=$2
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8035 $as_echo_n "checking
for $ac_word...
" >&6; }
8036 if test "${ac_cv_prog_AR+set}" = set; then :
8037 $as_echo_n "(cached
) " >&6
8039 if test -n "$AR"; then
8040 ac_cv_prog_AR="$AR" # Let the user override the test.
8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 test -z "$as_dir" && as_dir=.
8047 for ac_exec_ext in '' $ac_executable_extensions; do
8048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8049 ac_cv_prog_AR="${ncn_progname}"
8050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8060 if test -n "$AR"; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8062 $as_echo "$AR" >&6; }
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8065 $as_echo "no
" >&6; }
8072 for ncn_progname in ar; do
8073 if test -n "$ncn_tool_prefix"; then
8074 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8075 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8077 $as_echo_n "checking
for $ac_word...
" >&6; }
8078 if test "${ac_cv_prog_AR+set}" = set; then :
8079 $as_echo_n "(cached
) " >&6
8081 if test -n "$AR"; then
8082 ac_cv_prog_AR="$AR" # Let the user override the test.
8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8088 test -z "$as_dir" && as_dir=.
8089 for ac_exec_ext in '' $ac_executable_extensions; do
8090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8091 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8102 if test -n "$AR"; then
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8104 $as_echo "$AR" >&6; }
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8107 $as_echo "no
" >&6; }
8112 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8113 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8114 set dummy ${ncn_progname}; ac_word=$2
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8116 $as_echo_n "checking
for $ac_word...
" >&6; }
8117 if test "${ac_cv_prog_AR+set}" = set; then :
8118 $as_echo_n "(cached
) " >&6
8120 if test -n "$AR"; then
8121 ac_cv_prog_AR="$AR" # Let the user override the test.
8123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8127 test -z "$as_dir" && as_dir=.
8128 for ac_exec_ext in '' $ac_executable_extensions; do
8129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8130 ac_cv_prog_AR="${ncn_progname}"
8131 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8141 if test -n "$AR"; then
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8143 $as_echo "$AR" >&6; }
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8146 $as_echo "no
" >&6; }
8151 test -n "$ac_cv_prog_AR" && break
8154 if test -z "$ac_cv_prog_AR" ; then
8156 if test $build = $host ; then
8159 AR="${ncn_tool_prefix}$2"
8165 if test -n "$AS"; then
8167 elif test -n "$ac_cv_prog_AS"; then
8171 if test -n "$ac_cv_prog_AS"; then
8172 for ncn_progname in as; do
8173 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8174 set dummy ${ncn_progname}; ac_word=$2
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8176 $as_echo_n "checking
for $ac_word...
" >&6; }
8177 if test "${ac_cv_prog_AS+set}" = set; then :
8178 $as_echo_n "(cached
) " >&6
8180 if test -n "$AS"; then
8181 ac_cv_prog_AS="$AS" # Let the user override the test.
8183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8187 test -z "$as_dir" && as_dir=.
8188 for ac_exec_ext in '' $ac_executable_extensions; do
8189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8190 ac_cv_prog_AS="${ncn_progname}"
8191 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8201 if test -n "$AS"; then
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8203 $as_echo "$AS" >&6; }
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8206 $as_echo "no
" >&6; }
8213 for ncn_progname in as; do
8214 if test -n "$ncn_tool_prefix"; then
8215 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8216 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8218 $as_echo_n "checking
for $ac_word...
" >&6; }
8219 if test "${ac_cv_prog_AS+set}" = set; then :
8220 $as_echo_n "(cached
) " >&6
8222 if test -n "$AS"; then
8223 ac_cv_prog_AS="$AS" # Let the user override the test.
8225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8229 test -z "$as_dir" && as_dir=.
8230 for ac_exec_ext in '' $ac_executable_extensions; do
8231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8232 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8233 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8243 if test -n "$AS"; then
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8245 $as_echo "$AS" >&6; }
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8248 $as_echo "no
" >&6; }
8253 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8254 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8255 set dummy ${ncn_progname}; ac_word=$2
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8257 $as_echo_n "checking
for $ac_word...
" >&6; }
8258 if test "${ac_cv_prog_AS+set}" = set; then :
8259 $as_echo_n "(cached
) " >&6
8261 if test -n "$AS"; then
8262 ac_cv_prog_AS="$AS" # Let the user override the test.
8264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8268 test -z "$as_dir" && as_dir=.
8269 for ac_exec_ext in '' $ac_executable_extensions; do
8270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8271 ac_cv_prog_AS="${ncn_progname}"
8272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8282 if test -n "$AS"; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8284 $as_echo "$AS" >&6; }
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8287 $as_echo "no
" >&6; }
8292 test -n "$ac_cv_prog_AS" && break
8295 if test -z "$ac_cv_prog_AS" ; then
8297 if test $build = $host ; then
8300 AS="${ncn_tool_prefix}$2"
8306 if test -n "$DLLTOOL"; then
8307 ac_cv_prog_DLLTOOL=$DLLTOOL
8308 elif test -n "$ac_cv_prog_DLLTOOL"; then
8309 DLLTOOL=$ac_cv_prog_DLLTOOL
8312 if test -n "$ac_cv_prog_DLLTOOL"; then
8313 for ncn_progname in dlltool; do
8314 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8315 set dummy ${ncn_progname}; ac_word=$2
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8317 $as_echo_n "checking
for $ac_word...
" >&6; }
8318 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8319 $as_echo_n "(cached
) " >&6
8321 if test -n "$DLLTOOL"; then
8322 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8328 test -z "$as_dir" && as_dir=.
8329 for ac_exec_ext in '' $ac_executable_extensions; do
8330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8331 ac_cv_prog_DLLTOOL="${ncn_progname}"
8332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8341 DLLTOOL=$ac_cv_prog_DLLTOOL
8342 if test -n "$DLLTOOL"; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8344 $as_echo "$DLLTOOL" >&6; }
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8347 $as_echo "no
" >&6; }
8354 for ncn_progname in dlltool; do
8355 if test -n "$ncn_tool_prefix"; then
8356 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8357 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8359 $as_echo_n "checking
for $ac_word...
" >&6; }
8360 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8361 $as_echo_n "(cached
) " >&6
8363 if test -n "$DLLTOOL"; then
8364 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8370 test -z "$as_dir" && as_dir=.
8371 for ac_exec_ext in '' $ac_executable_extensions; do
8372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8373 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8374 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8383 DLLTOOL=$ac_cv_prog_DLLTOOL
8384 if test -n "$DLLTOOL"; then
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8386 $as_echo "$DLLTOOL" >&6; }
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8389 $as_echo "no
" >&6; }
8394 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8395 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8396 set dummy ${ncn_progname}; ac_word=$2
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8398 $as_echo_n "checking
for $ac_word...
" >&6; }
8399 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8400 $as_echo_n "(cached
) " >&6
8402 if test -n "$DLLTOOL"; then
8403 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8409 test -z "$as_dir" && as_dir=.
8410 for ac_exec_ext in '' $ac_executable_extensions; do
8411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8412 ac_cv_prog_DLLTOOL="${ncn_progname}"
8413 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8422 DLLTOOL=$ac_cv_prog_DLLTOOL
8423 if test -n "$DLLTOOL"; then
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8425 $as_echo "$DLLTOOL" >&6; }
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8428 $as_echo "no
" >&6; }
8433 test -n "$ac_cv_prog_DLLTOOL" && break
8436 if test -z "$ac_cv_prog_DLLTOOL" ; then
8438 if test $build = $host ; then
8441 DLLTOOL="${ncn_tool_prefix}$2"
8447 if test -n "$LD"; then
8449 elif test -n "$ac_cv_prog_LD"; then
8453 if test -n "$ac_cv_prog_LD"; then
8454 for ncn_progname in ld; do
8455 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8456 set dummy ${ncn_progname}; ac_word=$2
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8458 $as_echo_n "checking
for $ac_word...
" >&6; }
8459 if test "${ac_cv_prog_LD+set}" = set; then :
8460 $as_echo_n "(cached
) " >&6
8462 if test -n "$LD"; then
8463 ac_cv_prog_LD="$LD" # Let the user override the test.
8465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8469 test -z "$as_dir" && as_dir=.
8470 for ac_exec_ext in '' $ac_executable_extensions; do
8471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8472 ac_cv_prog_LD="${ncn_progname}"
8473 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8483 if test -n "$LD"; then
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8485 $as_echo "$LD" >&6; }
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8488 $as_echo "no
" >&6; }
8495 for ncn_progname in ld; do
8496 if test -n "$ncn_tool_prefix"; then
8497 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8498 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8500 $as_echo_n "checking
for $ac_word...
" >&6; }
8501 if test "${ac_cv_prog_LD+set}" = set; then :
8502 $as_echo_n "(cached
) " >&6
8504 if test -n "$LD"; then
8505 ac_cv_prog_LD="$LD" # Let the user override the test.
8507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8511 test -z "$as_dir" && as_dir=.
8512 for ac_exec_ext in '' $ac_executable_extensions; do
8513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8514 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8515 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8525 if test -n "$LD"; then
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8527 $as_echo "$LD" >&6; }
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8530 $as_echo "no
" >&6; }
8535 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8536 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8537 set dummy ${ncn_progname}; ac_word=$2
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8539 $as_echo_n "checking
for $ac_word...
" >&6; }
8540 if test "${ac_cv_prog_LD+set}" = set; then :
8541 $as_echo_n "(cached
) " >&6
8543 if test -n "$LD"; then
8544 ac_cv_prog_LD="$LD" # Let the user override the test.
8546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8550 test -z "$as_dir" && as_dir=.
8551 for ac_exec_ext in '' $ac_executable_extensions; do
8552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8553 ac_cv_prog_LD="${ncn_progname}"
8554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8564 if test -n "$LD"; then
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8566 $as_echo "$LD" >&6; }
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8569 $as_echo "no
" >&6; }
8574 test -n "$ac_cv_prog_LD" && break
8577 if test -z "$ac_cv_prog_LD" ; then
8579 if test $build = $host ; then
8582 LD="${ncn_tool_prefix}$2"
8588 if test -n "$LIPO"; then
8589 ac_cv_prog_LIPO=$LIPO
8590 elif test -n "$ac_cv_prog_LIPO"; then
8591 LIPO=$ac_cv_prog_LIPO
8594 if test -n "$ac_cv_prog_LIPO"; then
8595 for ncn_progname in lipo; do
8596 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8597 set dummy ${ncn_progname}; ac_word=$2
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8599 $as_echo_n "checking
for $ac_word...
" >&6; }
8600 if test "${ac_cv_prog_LIPO+set}" = set; then :
8601 $as_echo_n "(cached
) " >&6
8603 if test -n "$LIPO"; then
8604 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8610 test -z "$as_dir" && as_dir=.
8611 for ac_exec_ext in '' $ac_executable_extensions; do
8612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8613 ac_cv_prog_LIPO="${ncn_progname}"
8614 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8623 LIPO=$ac_cv_prog_LIPO
8624 if test -n "$LIPO"; then
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8626 $as_echo "$LIPO" >&6; }
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8629 $as_echo "no
" >&6; }
8636 for ncn_progname in lipo; do
8637 if test -n "$ncn_tool_prefix"; then
8638 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8639 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8641 $as_echo_n "checking
for $ac_word...
" >&6; }
8642 if test "${ac_cv_prog_LIPO+set}" = set; then :
8643 $as_echo_n "(cached
) " >&6
8645 if test -n "$LIPO"; then
8646 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8652 test -z "$as_dir" && as_dir=.
8653 for ac_exec_ext in '' $ac_executable_extensions; do
8654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8655 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8656 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8665 LIPO=$ac_cv_prog_LIPO
8666 if test -n "$LIPO"; then
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8668 $as_echo "$LIPO" >&6; }
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8671 $as_echo "no
" >&6; }
8676 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8677 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8678 set dummy ${ncn_progname}; ac_word=$2
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8680 $as_echo_n "checking
for $ac_word...
" >&6; }
8681 if test "${ac_cv_prog_LIPO+set}" = set; then :
8682 $as_echo_n "(cached
) " >&6
8684 if test -n "$LIPO"; then
8685 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8691 test -z "$as_dir" && as_dir=.
8692 for ac_exec_ext in '' $ac_executable_extensions; do
8693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8694 ac_cv_prog_LIPO="${ncn_progname}"
8695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8704 LIPO=$ac_cv_prog_LIPO
8705 if test -n "$LIPO"; then
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8707 $as_echo "$LIPO" >&6; }
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8710 $as_echo "no
" >&6; }
8715 test -n "$ac_cv_prog_LIPO" && break
8718 if test -z "$ac_cv_prog_LIPO" ; then
8720 if test $build = $host ; then
8723 LIPO="${ncn_tool_prefix}$2"
8729 if test -n "$NM"; then
8731 elif test -n "$ac_cv_prog_NM"; then
8735 if test -n "$ac_cv_prog_NM"; then
8736 for ncn_progname in nm; do
8737 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8738 set dummy ${ncn_progname}; ac_word=$2
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8740 $as_echo_n "checking
for $ac_word...
" >&6; }
8741 if test "${ac_cv_prog_NM+set}" = set; then :
8742 $as_echo_n "(cached
) " >&6
8744 if test -n "$NM"; then
8745 ac_cv_prog_NM="$NM" # Let the user override the test.
8747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8751 test -z "$as_dir" && as_dir=.
8752 for ac_exec_ext in '' $ac_executable_extensions; do
8753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8754 ac_cv_prog_NM="${ncn_progname}"
8755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8765 if test -n "$NM"; then
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8767 $as_echo "$NM" >&6; }
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8770 $as_echo "no
" >&6; }
8777 for ncn_progname in nm; do
8778 if test -n "$ncn_tool_prefix"; then
8779 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8780 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8782 $as_echo_n "checking
for $ac_word...
" >&6; }
8783 if test "${ac_cv_prog_NM+set}" = set; then :
8784 $as_echo_n "(cached
) " >&6
8786 if test -n "$NM"; then
8787 ac_cv_prog_NM="$NM" # Let the user override the test.
8789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8793 test -z "$as_dir" && as_dir=.
8794 for ac_exec_ext in '' $ac_executable_extensions; do
8795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8796 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8797 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8807 if test -n "$NM"; then
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8809 $as_echo "$NM" >&6; }
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8812 $as_echo "no
" >&6; }
8817 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8818 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8819 set dummy ${ncn_progname}; ac_word=$2
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8821 $as_echo_n "checking
for $ac_word...
" >&6; }
8822 if test "${ac_cv_prog_NM+set}" = set; then :
8823 $as_echo_n "(cached
) " >&6
8825 if test -n "$NM"; then
8826 ac_cv_prog_NM="$NM" # Let the user override the test.
8828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8832 test -z "$as_dir" && as_dir=.
8833 for ac_exec_ext in '' $ac_executable_extensions; do
8834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8835 ac_cv_prog_NM="${ncn_progname}"
8836 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8846 if test -n "$NM"; then
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8848 $as_echo "$NM" >&6; }
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8851 $as_echo "no
" >&6; }
8856 test -n "$ac_cv_prog_NM" && break
8859 if test -z "$ac_cv_prog_NM" ; then
8861 if test $build = $host ; then
8864 NM="${ncn_tool_prefix}$2"
8870 if test -n "$RANLIB"; then
8871 ac_cv_prog_RANLIB=$RANLIB
8872 elif test -n "$ac_cv_prog_RANLIB"; then
8873 RANLIB=$ac_cv_prog_RANLIB
8876 if test -n "$ac_cv_prog_RANLIB"; then
8877 for ncn_progname in ranlib; do
8878 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8879 set dummy ${ncn_progname}; ac_word=$2
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8881 $as_echo_n "checking
for $ac_word...
" >&6; }
8882 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8883 $as_echo_n "(cached
) " >&6
8885 if test -n "$RANLIB"; then
8886 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8892 test -z "$as_dir" && as_dir=.
8893 for ac_exec_ext in '' $ac_executable_extensions; do
8894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8895 ac_cv_prog_RANLIB="${ncn_progname}"
8896 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8905 RANLIB=$ac_cv_prog_RANLIB
8906 if test -n "$RANLIB"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8908 $as_echo "$RANLIB" >&6; }
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8911 $as_echo "no
" >&6; }
8918 for ncn_progname in ranlib; do
8919 if test -n "$ncn_tool_prefix"; then
8920 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8921 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8923 $as_echo_n "checking
for $ac_word...
" >&6; }
8924 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8925 $as_echo_n "(cached
) " >&6
8927 if test -n "$RANLIB"; then
8928 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8934 test -z "$as_dir" && as_dir=.
8935 for ac_exec_ext in '' $ac_executable_extensions; do
8936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8937 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8938 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8947 RANLIB=$ac_cv_prog_RANLIB
8948 if test -n "$RANLIB"; then
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8950 $as_echo "$RANLIB" >&6; }
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8953 $as_echo "no
" >&6; }
8958 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8959 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8960 set dummy ${ncn_progname}; ac_word=$2
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8962 $as_echo_n "checking
for $ac_word...
" >&6; }
8963 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8964 $as_echo_n "(cached
) " >&6
8966 if test -n "$RANLIB"; then
8967 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8973 test -z "$as_dir" && as_dir=.
8974 for ac_exec_ext in '' $ac_executable_extensions; do
8975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8976 ac_cv_prog_RANLIB="${ncn_progname}"
8977 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8986 RANLIB=$ac_cv_prog_RANLIB
8987 if test -n "$RANLIB"; then
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8989 $as_echo "$RANLIB" >&6; }
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8992 $as_echo "no
" >&6; }
8997 test -n "$ac_cv_prog_RANLIB" && break
9000 if test -z "$ac_cv_prog_RANLIB" ; then
9006 if test -n "$STRIP"; then
9007 ac_cv_prog_STRIP=$STRIP
9008 elif test -n "$ac_cv_prog_STRIP"; then
9009 STRIP=$ac_cv_prog_STRIP
9012 if test -n "$ac_cv_prog_STRIP"; then
9013 for ncn_progname in strip; do
9014 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9015 set dummy ${ncn_progname}; ac_word=$2
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9017 $as_echo_n "checking
for $ac_word...
" >&6; }
9018 if test "${ac_cv_prog_STRIP+set}" = set; then :
9019 $as_echo_n "(cached
) " >&6
9021 if test -n "$STRIP"; then
9022 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9028 test -z "$as_dir" && as_dir=.
9029 for ac_exec_ext in '' $ac_executable_extensions; do
9030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9031 ac_cv_prog_STRIP="${ncn_progname}"
9032 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9041 STRIP=$ac_cv_prog_STRIP
9042 if test -n "$STRIP"; then
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9044 $as_echo "$STRIP" >&6; }
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9047 $as_echo "no
" >&6; }
9054 for ncn_progname in strip; do
9055 if test -n "$ncn_tool_prefix"; then
9056 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9057 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9059 $as_echo_n "checking
for $ac_word...
" >&6; }
9060 if test "${ac_cv_prog_STRIP+set}" = set; then :
9061 $as_echo_n "(cached
) " >&6
9063 if test -n "$STRIP"; then
9064 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9070 test -z "$as_dir" && as_dir=.
9071 for ac_exec_ext in '' $ac_executable_extensions; do
9072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9073 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9074 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9083 STRIP=$ac_cv_prog_STRIP
9084 if test -n "$STRIP"; then
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9086 $as_echo "$STRIP" >&6; }
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9089 $as_echo "no
" >&6; }
9094 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9095 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9096 set dummy ${ncn_progname}; ac_word=$2
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9098 $as_echo_n "checking
for $ac_word...
" >&6; }
9099 if test "${ac_cv_prog_STRIP+set}" = set; then :
9100 $as_echo_n "(cached
) " >&6
9102 if test -n "$STRIP"; then
9103 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9109 test -z "$as_dir" && as_dir=.
9110 for ac_exec_ext in '' $ac_executable_extensions; do
9111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9112 ac_cv_prog_STRIP="${ncn_progname}"
9113 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9122 STRIP=$ac_cv_prog_STRIP
9123 if test -n "$STRIP"; then
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9125 $as_echo "$STRIP" >&6; }
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9128 $as_echo "no
" >&6; }
9133 test -n "$ac_cv_prog_STRIP" && break
9136 if test -z "$ac_cv_prog_STRIP" ; then
9142 if test -n "$WINDRES"; then
9143 ac_cv_prog_WINDRES=$WINDRES
9144 elif test -n "$ac_cv_prog_WINDRES"; then
9145 WINDRES=$ac_cv_prog_WINDRES
9148 if test -n "$ac_cv_prog_WINDRES"; then
9149 for ncn_progname in windres; do
9150 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9151 set dummy ${ncn_progname}; ac_word=$2
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9153 $as_echo_n "checking
for $ac_word...
" >&6; }
9154 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9155 $as_echo_n "(cached
) " >&6
9157 if test -n "$WINDRES"; then
9158 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9164 test -z "$as_dir" && as_dir=.
9165 for ac_exec_ext in '' $ac_executable_extensions; do
9166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9167 ac_cv_prog_WINDRES="${ncn_progname}"
9168 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9177 WINDRES=$ac_cv_prog_WINDRES
9178 if test -n "$WINDRES"; then
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9180 $as_echo "$WINDRES" >&6; }
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9183 $as_echo "no
" >&6; }
9190 for ncn_progname in windres; do
9191 if test -n "$ncn_tool_prefix"; then
9192 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9193 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9195 $as_echo_n "checking
for $ac_word...
" >&6; }
9196 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9197 $as_echo_n "(cached
) " >&6
9199 if test -n "$WINDRES"; then
9200 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9206 test -z "$as_dir" && as_dir=.
9207 for ac_exec_ext in '' $ac_executable_extensions; do
9208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9209 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9210 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9219 WINDRES=$ac_cv_prog_WINDRES
9220 if test -n "$WINDRES"; then
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9222 $as_echo "$WINDRES" >&6; }
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9225 $as_echo "no
" >&6; }
9230 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9231 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9232 set dummy ${ncn_progname}; ac_word=$2
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9234 $as_echo_n "checking
for $ac_word...
" >&6; }
9235 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9236 $as_echo_n "(cached
) " >&6
9238 if test -n "$WINDRES"; then
9239 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9245 test -z "$as_dir" && as_dir=.
9246 for ac_exec_ext in '' $ac_executable_extensions; do
9247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9248 ac_cv_prog_WINDRES="${ncn_progname}"
9249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9258 WINDRES=$ac_cv_prog_WINDRES
9259 if test -n "$WINDRES"; then
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9261 $as_echo "$WINDRES" >&6; }
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9264 $as_echo "no
" >&6; }
9269 test -n "$ac_cv_prog_WINDRES" && break
9272 if test -z "$ac_cv_prog_WINDRES" ; then
9274 if test $build = $host ; then
9277 WINDRES="${ncn_tool_prefix}$2"
9283 if test -n "$WINDMC"; then
9284 ac_cv_prog_WINDMC=$WINDMC
9285 elif test -n "$ac_cv_prog_WINDMC"; then
9286 WINDMC=$ac_cv_prog_WINDMC
9289 if test -n "$ac_cv_prog_WINDMC"; then
9290 for ncn_progname in windmc; do
9291 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9292 set dummy ${ncn_progname}; ac_word=$2
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9294 $as_echo_n "checking
for $ac_word...
" >&6; }
9295 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9296 $as_echo_n "(cached
) " >&6
9298 if test -n "$WINDMC"; then
9299 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9305 test -z "$as_dir" && as_dir=.
9306 for ac_exec_ext in '' $ac_executable_extensions; do
9307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9308 ac_cv_prog_WINDMC="${ncn_progname}"
9309 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9318 WINDMC=$ac_cv_prog_WINDMC
9319 if test -n "$WINDMC"; then
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9321 $as_echo "$WINDMC" >&6; }
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9324 $as_echo "no
" >&6; }
9331 for ncn_progname in windmc; do
9332 if test -n "$ncn_tool_prefix"; then
9333 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9334 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9336 $as_echo_n "checking
for $ac_word...
" >&6; }
9337 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9338 $as_echo_n "(cached
) " >&6
9340 if test -n "$WINDMC"; then
9341 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9347 test -z "$as_dir" && as_dir=.
9348 for ac_exec_ext in '' $ac_executable_extensions; do
9349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9350 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9351 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9360 WINDMC=$ac_cv_prog_WINDMC
9361 if test -n "$WINDMC"; then
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9363 $as_echo "$WINDMC" >&6; }
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9366 $as_echo "no
" >&6; }
9371 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9372 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9373 set dummy ${ncn_progname}; ac_word=$2
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9375 $as_echo_n "checking
for $ac_word...
" >&6; }
9376 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9377 $as_echo_n "(cached
) " >&6
9379 if test -n "$WINDMC"; then
9380 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9386 test -z "$as_dir" && as_dir=.
9387 for ac_exec_ext in '' $ac_executable_extensions; do
9388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9389 ac_cv_prog_WINDMC="${ncn_progname}"
9390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9399 WINDMC=$ac_cv_prog_WINDMC
9400 if test -n "$WINDMC"; then
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9402 $as_echo "$WINDMC" >&6; }
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9405 $as_echo "no
" >&6; }
9410 test -n "$ac_cv_prog_WINDMC" && break
9413 if test -z "$ac_cv_prog_WINDMC" ; then
9415 if test $build = $host ; then
9418 WINDMC="${ncn_tool_prefix}$2"
9424 if test -n "$OBJCOPY"; then
9425 ac_cv_prog_OBJCOPY=$OBJCOPY
9426 elif test -n "$ac_cv_prog_OBJCOPY"; then
9427 OBJCOPY=$ac_cv_prog_OBJCOPY
9430 if test -n "$ac_cv_prog_OBJCOPY"; then
9431 for ncn_progname in objcopy; do
9432 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9433 set dummy ${ncn_progname}; ac_word=$2
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9435 $as_echo_n "checking
for $ac_word...
" >&6; }
9436 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9437 $as_echo_n "(cached
) " >&6
9439 if test -n "$OBJCOPY"; then
9440 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9446 test -z "$as_dir" && as_dir=.
9447 for ac_exec_ext in '' $ac_executable_extensions; do
9448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9449 ac_cv_prog_OBJCOPY="${ncn_progname}"
9450 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9459 OBJCOPY=$ac_cv_prog_OBJCOPY
9460 if test -n "$OBJCOPY"; then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9462 $as_echo "$OBJCOPY" >&6; }
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9465 $as_echo "no
" >&6; }
9472 for ncn_progname in objcopy; do
9473 if test -n "$ncn_tool_prefix"; then
9474 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9475 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9477 $as_echo_n "checking
for $ac_word...
" >&6; }
9478 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9479 $as_echo_n "(cached
) " >&6
9481 if test -n "$OBJCOPY"; then
9482 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9488 test -z "$as_dir" && as_dir=.
9489 for ac_exec_ext in '' $ac_executable_extensions; do
9490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9491 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9492 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9501 OBJCOPY=$ac_cv_prog_OBJCOPY
9502 if test -n "$OBJCOPY"; then
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9504 $as_echo "$OBJCOPY" >&6; }
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9507 $as_echo "no
" >&6; }
9512 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9513 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9514 set dummy ${ncn_progname}; ac_word=$2
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9516 $as_echo_n "checking
for $ac_word...
" >&6; }
9517 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9518 $as_echo_n "(cached
) " >&6
9520 if test -n "$OBJCOPY"; then
9521 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9527 test -z "$as_dir" && as_dir=.
9528 for ac_exec_ext in '' $ac_executable_extensions; do
9529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9530 ac_cv_prog_OBJCOPY="${ncn_progname}"
9531 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9540 OBJCOPY=$ac_cv_prog_OBJCOPY
9541 if test -n "$OBJCOPY"; then
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9543 $as_echo "$OBJCOPY" >&6; }
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9546 $as_echo "no
" >&6; }
9551 test -n "$ac_cv_prog_OBJCOPY" && break
9554 if test -z "$ac_cv_prog_OBJCOPY" ; then
9556 if test $build = $host ; then
9559 OBJCOPY="${ncn_tool_prefix}$2"
9565 if test -n "$OBJDUMP"; then
9566 ac_cv_prog_OBJDUMP=$OBJDUMP
9567 elif test -n "$ac_cv_prog_OBJDUMP"; then
9568 OBJDUMP=$ac_cv_prog_OBJDUMP
9571 if test -n "$ac_cv_prog_OBJDUMP"; then
9572 for ncn_progname in objdump; do
9573 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9574 set dummy ${ncn_progname}; ac_word=$2
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9576 $as_echo_n "checking
for $ac_word...
" >&6; }
9577 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9578 $as_echo_n "(cached
) " >&6
9580 if test -n "$OBJDUMP"; then
9581 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9587 test -z "$as_dir" && as_dir=.
9588 for ac_exec_ext in '' $ac_executable_extensions; do
9589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9590 ac_cv_prog_OBJDUMP="${ncn_progname}"
9591 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9600 OBJDUMP=$ac_cv_prog_OBJDUMP
9601 if test -n "$OBJDUMP"; then
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9603 $as_echo "$OBJDUMP" >&6; }
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9606 $as_echo "no
" >&6; }
9613 for ncn_progname in objdump; do
9614 if test -n "$ncn_tool_prefix"; then
9615 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9616 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9618 $as_echo_n "checking
for $ac_word...
" >&6; }
9619 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9620 $as_echo_n "(cached
) " >&6
9622 if test -n "$OBJDUMP"; then
9623 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9629 test -z "$as_dir" && as_dir=.
9630 for ac_exec_ext in '' $ac_executable_extensions; do
9631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9632 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9642 OBJDUMP=$ac_cv_prog_OBJDUMP
9643 if test -n "$OBJDUMP"; then
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9645 $as_echo "$OBJDUMP" >&6; }
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9648 $as_echo "no
" >&6; }
9653 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9654 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9655 set dummy ${ncn_progname}; ac_word=$2
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9657 $as_echo_n "checking
for $ac_word...
" >&6; }
9658 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9659 $as_echo_n "(cached
) " >&6
9661 if test -n "$OBJDUMP"; then
9662 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9668 test -z "$as_dir" && as_dir=.
9669 for ac_exec_ext in '' $ac_executable_extensions; do
9670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9671 ac_cv_prog_OBJDUMP="${ncn_progname}"
9672 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9681 OBJDUMP=$ac_cv_prog_OBJDUMP
9682 if test -n "$OBJDUMP"; then
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9684 $as_echo "$OBJDUMP" >&6; }
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9687 $as_echo "no
" >&6; }
9692 test -n "$ac_cv_prog_OBJDUMP" && break
9695 if test -z "$ac_cv_prog_OBJDUMP" ; then
9697 if test $build = $host ; then
9700 OBJDUMP="${ncn_tool_prefix}$2"
9706 if test -n "$READELF"; then
9707 ac_cv_prog_READELF=$READELF
9708 elif test -n "$ac_cv_prog_READELF"; then
9709 READELF=$ac_cv_prog_READELF
9712 if test -n "$ac_cv_prog_READELF"; then
9713 for ncn_progname in readelf; do
9714 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9715 set dummy ${ncn_progname}; ac_word=$2
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9717 $as_echo_n "checking
for $ac_word...
" >&6; }
9718 if test "${ac_cv_prog_READELF+set}" = set; then :
9719 $as_echo_n "(cached
) " >&6
9721 if test -n "$READELF"; then
9722 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9728 test -z "$as_dir" && as_dir=.
9729 for ac_exec_ext in '' $ac_executable_extensions; do
9730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9731 ac_cv_prog_READELF="${ncn_progname}"
9732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9741 READELF=$ac_cv_prog_READELF
9742 if test -n "$READELF"; then
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9744 $as_echo "$READELF" >&6; }
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9747 $as_echo "no
" >&6; }
9754 for ncn_progname in readelf; do
9755 if test -n "$ncn_tool_prefix"; then
9756 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9757 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9759 $as_echo_n "checking
for $ac_word...
" >&6; }
9760 if test "${ac_cv_prog_READELF+set}" = set; then :
9761 $as_echo_n "(cached
) " >&6
9763 if test -n "$READELF"; then
9764 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9770 test -z "$as_dir" && as_dir=.
9771 for ac_exec_ext in '' $ac_executable_extensions; do
9772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9773 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9783 READELF=$ac_cv_prog_READELF
9784 if test -n "$READELF"; then
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9786 $as_echo "$READELF" >&6; }
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9789 $as_echo "no
" >&6; }
9794 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9795 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9796 set dummy ${ncn_progname}; ac_word=$2
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9798 $as_echo_n "checking
for $ac_word...
" >&6; }
9799 if test "${ac_cv_prog_READELF+set}" = set; then :
9800 $as_echo_n "(cached
) " >&6
9802 if test -n "$READELF"; then
9803 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9809 test -z "$as_dir" && as_dir=.
9810 for ac_exec_ext in '' $ac_executable_extensions; do
9811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9812 ac_cv_prog_READELF="${ncn_progname}"
9813 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9822 READELF=$ac_cv_prog_READELF
9823 if test -n "$READELF"; then
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9825 $as_echo "$READELF" >&6; }
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9828 $as_echo "no
" >&6; }
9833 test -n "$ac_cv_prog_READELF" && break
9836 if test -z "$ac_cv_prog_READELF" ; then
9838 if test $build = $host ; then
9841 READELF="${ncn_tool_prefix}$2"
9852 # Check whether --with-build-time-tools was given.
9853 if test "${with_build_time_tools+set}" = set; then :
9854 withval=$with_build_time_tools; case x"$withval" in
9857 with_build_time_tools=
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9859 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9863 with_build_time_tools=
9869 if test -n "$CC_FOR_TARGET"; then
9870 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9871 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9872 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9875 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9876 for ncn_progname in cc gcc; do
9877 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9878 set dummy ${ncn_progname}; ac_word=$2
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9880 $as_echo_n "checking
for $ac_word...
" >&6; }
9881 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9882 $as_echo_n "(cached
) " >&6
9884 if test -n "$CC_FOR_TARGET"; then
9885 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9891 test -z "$as_dir" && as_dir=.
9892 for ac_exec_ext in '' $ac_executable_extensions; do
9893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9894 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9895 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9904 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9905 if test -n "$CC_FOR_TARGET"; then
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9907 $as_echo "$CC_FOR_TARGET" >&6; }
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9910 $as_echo "no
" >&6; }
9917 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9918 for ncn_progname in cc gcc; do
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9920 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9921 if test -x $with_build_time_tools/${ncn_progname}; then
9922 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9924 $as_echo "yes" >&6; }
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9928 $as_echo "no
" >&6; }
9933 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9934 for ncn_progname in cc gcc; do
9935 if test -n "$ncn_target_tool_prefix"; then
9936 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9937 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9939 $as_echo_n "checking
for $ac_word...
" >&6; }
9940 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9941 $as_echo_n "(cached
) " >&6
9943 if test -n "$CC_FOR_TARGET"; then
9944 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9950 test -z "$as_dir" && as_dir=.
9951 for ac_exec_ext in '' $ac_executable_extensions; do
9952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9953 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9963 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9964 if test -n "$CC_FOR_TARGET"; then
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9966 $as_echo "$CC_FOR_TARGET" >&6; }
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9969 $as_echo "no
" >&6; }
9974 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9975 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9976 set dummy ${ncn_progname}; ac_word=$2
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9978 $as_echo_n "checking
for $ac_word...
" >&6; }
9979 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9980 $as_echo_n "(cached
) " >&6
9982 if test -n "$CC_FOR_TARGET"; then
9983 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9989 test -z "$as_dir" && as_dir=.
9990 for ac_exec_ext in '' $ac_executable_extensions; do
9991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9992 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10002 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10003 if test -n "$CC_FOR_TARGET"; then
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10005 $as_echo "$CC_FOR_TARGET" >&6; }
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10008 $as_echo "no
" >&6; }
10013 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10017 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10019 if test $build = $target ; then
10022 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10025 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10030 if test -n "$CXX_FOR_TARGET"; then
10031 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10032 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10033 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10036 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10037 for ncn_progname in c++ g++ cxx gxx; do
10038 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10039 set dummy ${ncn_progname}; ac_word=$2
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10041 $as_echo_n "checking
for $ac_word...
" >&6; }
10042 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10043 $as_echo_n "(cached
) " >&6
10045 if test -n "$CXX_FOR_TARGET"; then
10046 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10049 for as_dir in $PATH
10052 test -z "$as_dir" && as_dir=.
10053 for ac_exec_ext in '' $ac_executable_extensions; do
10054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10055 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10056 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10065 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10066 if test -n "$CXX_FOR_TARGET"; then
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10068 $as_echo "$CXX_FOR_TARGET" >&6; }
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10071 $as_echo "no
" >&6; }
10078 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10079 for ncn_progname in c++ g++ cxx gxx; do
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10081 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10082 if test -x $with_build_time_tools/${ncn_progname}; then
10083 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10085 $as_echo "yes" >&6; }
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10089 $as_echo "no
" >&6; }
10094 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10095 for ncn_progname in c++ g++ cxx gxx; do
10096 if test -n "$ncn_target_tool_prefix"; then
10097 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10098 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10100 $as_echo_n "checking
for $ac_word...
" >&6; }
10101 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10102 $as_echo_n "(cached
) " >&6
10104 if test -n "$CXX_FOR_TARGET"; then
10105 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10108 for as_dir in $PATH
10111 test -z "$as_dir" && as_dir=.
10112 for ac_exec_ext in '' $ac_executable_extensions; do
10113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10114 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10124 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10125 if test -n "$CXX_FOR_TARGET"; then
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10127 $as_echo "$CXX_FOR_TARGET" >&6; }
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10130 $as_echo "no
" >&6; }
10135 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10136 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10137 set dummy ${ncn_progname}; ac_word=$2
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10139 $as_echo_n "checking
for $ac_word...
" >&6; }
10140 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10141 $as_echo_n "(cached
) " >&6
10143 if test -n "$CXX_FOR_TARGET"; then
10144 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10147 for as_dir in $PATH
10150 test -z "$as_dir" && as_dir=.
10151 for ac_exec_ext in '' $ac_executable_extensions; do
10152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10153 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10154 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10163 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10164 if test -n "$CXX_FOR_TARGET"; then
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10166 $as_echo "$CXX_FOR_TARGET" >&6; }
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10169 $as_echo "no
" >&6; }
10174 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10178 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10179 set dummy c++ g++ cxx gxx
10180 if test $build = $target ; then
10181 CXX_FOR_TARGET="$2"
10183 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10186 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10191 if test -n "$GCC_FOR_TARGET"; then
10192 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10193 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10194 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10197 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10198 for ncn_progname in gcc; do
10199 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10200 set dummy ${ncn_progname}; ac_word=$2
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10202 $as_echo_n "checking
for $ac_word...
" >&6; }
10203 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10204 $as_echo_n "(cached
) " >&6
10206 if test -n "$GCC_FOR_TARGET"; then
10207 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10210 for as_dir in $PATH
10213 test -z "$as_dir" && as_dir=.
10214 for ac_exec_ext in '' $ac_executable_extensions; do
10215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10216 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10217 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10226 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10227 if test -n "$GCC_FOR_TARGET"; then
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10229 $as_echo "$GCC_FOR_TARGET" >&6; }
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10232 $as_echo "no
" >&6; }
10239 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10240 for ncn_progname in gcc; do
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10242 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10243 if test -x $with_build_time_tools/${ncn_progname}; then
10244 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10246 $as_echo "yes" >&6; }
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10250 $as_echo "no
" >&6; }
10255 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10256 for ncn_progname in gcc; do
10257 if test -n "$ncn_target_tool_prefix"; then
10258 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10259 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10261 $as_echo_n "checking
for $ac_word...
" >&6; }
10262 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10263 $as_echo_n "(cached
) " >&6
10265 if test -n "$GCC_FOR_TARGET"; then
10266 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10269 for as_dir in $PATH
10272 test -z "$as_dir" && as_dir=.
10273 for ac_exec_ext in '' $ac_executable_extensions; do
10274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10275 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10276 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10285 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10286 if test -n "$GCC_FOR_TARGET"; then
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10288 $as_echo "$GCC_FOR_TARGET" >&6; }
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10291 $as_echo "no
" >&6; }
10296 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10297 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10298 set dummy ${ncn_progname}; ac_word=$2
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10300 $as_echo_n "checking
for $ac_word...
" >&6; }
10301 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10302 $as_echo_n "(cached
) " >&6
10304 if test -n "$GCC_FOR_TARGET"; then
10305 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10308 for as_dir in $PATH
10311 test -z "$as_dir" && as_dir=.
10312 for ac_exec_ext in '' $ac_executable_extensions; do
10313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10314 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10315 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10324 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10325 if test -n "$GCC_FOR_TARGET"; then
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10327 $as_echo "$GCC_FOR_TARGET" >&6; }
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10330 $as_echo "no
" >&6; }
10335 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10339 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10340 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10342 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10347 if test -n "$GFORTRAN_FOR_TARGET"; then
10348 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10349 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10350 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10353 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10354 for ncn_progname in gfortran; do
10355 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10356 set dummy ${ncn_progname}; ac_word=$2
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10358 $as_echo_n "checking
for $ac_word...
" >&6; }
10359 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10360 $as_echo_n "(cached
) " >&6
10362 if test -n "$GFORTRAN_FOR_TARGET"; then
10363 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10366 for as_dir in $PATH
10369 test -z "$as_dir" && as_dir=.
10370 for ac_exec_ext in '' $ac_executable_extensions; do
10371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10372 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10373 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10382 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10383 if test -n "$GFORTRAN_FOR_TARGET"; then
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10385 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10388 $as_echo "no
" >&6; }
10395 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10396 for ncn_progname in gfortran; do
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10398 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10399 if test -x $with_build_time_tools/${ncn_progname}; then
10400 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10402 $as_echo "yes" >&6; }
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10406 $as_echo "no
" >&6; }
10411 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10412 for ncn_progname in gfortran; do
10413 if test -n "$ncn_target_tool_prefix"; then
10414 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10415 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10417 $as_echo_n "checking
for $ac_word...
" >&6; }
10418 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10419 $as_echo_n "(cached
) " >&6
10421 if test -n "$GFORTRAN_FOR_TARGET"; then
10422 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10425 for as_dir in $PATH
10428 test -z "$as_dir" && as_dir=.
10429 for ac_exec_ext in '' $ac_executable_extensions; do
10430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10431 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10432 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10441 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10442 if test -n "$GFORTRAN_FOR_TARGET"; then
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10444 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10447 $as_echo "no
" >&6; }
10452 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10453 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10454 set dummy ${ncn_progname}; ac_word=$2
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10456 $as_echo_n "checking
for $ac_word...
" >&6; }
10457 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10458 $as_echo_n "(cached
) " >&6
10460 if test -n "$GFORTRAN_FOR_TARGET"; then
10461 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10464 for as_dir in $PATH
10467 test -z "$as_dir" && as_dir=.
10468 for ac_exec_ext in '' $ac_executable_extensions; do
10469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10470 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10471 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10480 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10481 if test -n "$GFORTRAN_FOR_TARGET"; then
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10483 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10486 $as_echo "no
" >&6; }
10491 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10495 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10497 if test $build = $target ; then
10498 GFORTRAN_FOR_TARGET="$2"
10500 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10503 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10508 if test -n "$GOC_FOR_TARGET"; then
10509 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10510 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10511 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10514 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10515 for ncn_progname in gccgo; do
10516 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10517 set dummy ${ncn_progname}; ac_word=$2
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10519 $as_echo_n "checking
for $ac_word...
" >&6; }
10520 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10521 $as_echo_n "(cached
) " >&6
10523 if test -n "$GOC_FOR_TARGET"; then
10524 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10527 for as_dir in $PATH
10530 test -z "$as_dir" && as_dir=.
10531 for ac_exec_ext in '' $ac_executable_extensions; do
10532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10533 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10534 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10543 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10544 if test -n "$GOC_FOR_TARGET"; then
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10546 $as_echo "$GOC_FOR_TARGET" >&6; }
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10549 $as_echo "no
" >&6; }
10556 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10557 for ncn_progname in gccgo; do
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10559 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10560 if test -x $with_build_time_tools/${ncn_progname}; then
10561 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10563 $as_echo "yes" >&6; }
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10567 $as_echo "no
" >&6; }
10572 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10573 for ncn_progname in gccgo; do
10574 if test -n "$ncn_target_tool_prefix"; then
10575 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10576 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10578 $as_echo_n "checking
for $ac_word...
" >&6; }
10579 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10580 $as_echo_n "(cached
) " >&6
10582 if test -n "$GOC_FOR_TARGET"; then
10583 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10586 for as_dir in $PATH
10589 test -z "$as_dir" && as_dir=.
10590 for ac_exec_ext in '' $ac_executable_extensions; do
10591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10592 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10602 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10603 if test -n "$GOC_FOR_TARGET"; then
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10605 $as_echo "$GOC_FOR_TARGET" >&6; }
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10608 $as_echo "no
" >&6; }
10613 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10614 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10615 set dummy ${ncn_progname}; ac_word=$2
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10617 $as_echo_n "checking
for $ac_word...
" >&6; }
10618 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10619 $as_echo_n "(cached
) " >&6
10621 if test -n "$GOC_FOR_TARGET"; then
10622 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10625 for as_dir in $PATH
10628 test -z "$as_dir" && as_dir=.
10629 for ac_exec_ext in '' $ac_executable_extensions; do
10630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10631 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10632 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10641 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10642 if test -n "$GOC_FOR_TARGET"; then
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10644 $as_echo "$GOC_FOR_TARGET" >&6; }
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10647 $as_echo "no
" >&6; }
10652 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10656 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10658 if test $build = $target ; then
10659 GOC_FOR_TARGET="$2"
10661 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10664 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10669 cat > conftest.c << \EOF
10674 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10675 have_gcc_for_target=yes
10677 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10678 have_gcc_for_target=no
10685 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10686 if test -n "$with_build_time_tools"; then
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10688 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10689 if test -x $with_build_time_tools/ar; then
10690 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10691 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10693 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10696 $as_echo "no
" >&6; }
10698 elif test $build != $host && test $have_gcc_for_target = yes; then
10699 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10700 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10701 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10704 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10705 # Extract the first word of "ar", so it can be a program name with args.
10706 set dummy ar; ac_word=$2
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10708 $as_echo_n "checking
for $ac_word...
" >&6; }
10709 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10710 $as_echo_n "(cached
) " >&6
10712 case $AR_FOR_TARGET in
10714 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10718 for as_dir in $gcc_cv_tool_dirs
10721 test -z "$as_dir" && as_dir=.
10722 for ac_exec_ext in '' $ac_executable_extensions; do
10723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10724 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10735 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10736 if test -n "$AR_FOR_TARGET"; then
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10738 $as_echo "$AR_FOR_TARGET" >&6; }
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10741 $as_echo "no
" >&6; }
10746 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10749 if test -n "$AR_FOR_TARGET"; then
10750 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10751 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10752 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10755 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10756 for ncn_progname in ar; do
10757 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10758 set dummy ${ncn_progname}; ac_word=$2
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10760 $as_echo_n "checking
for $ac_word...
" >&6; }
10761 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10762 $as_echo_n "(cached
) " >&6
10764 if test -n "$AR_FOR_TARGET"; then
10765 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10768 for as_dir in $PATH
10771 test -z "$as_dir" && as_dir=.
10772 for ac_exec_ext in '' $ac_executable_extensions; do
10773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10774 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10784 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10785 if test -n "$AR_FOR_TARGET"; then
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10787 $as_echo "$AR_FOR_TARGET" >&6; }
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10790 $as_echo "no
" >&6; }
10797 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10798 for ncn_progname in ar; do
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10800 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10801 if test -x $with_build_time_tools/${ncn_progname}; then
10802 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10804 $as_echo "yes" >&6; }
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10808 $as_echo "no
" >&6; }
10813 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10814 for ncn_progname in ar; do
10815 if test -n "$ncn_target_tool_prefix"; then
10816 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10817 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10819 $as_echo_n "checking
for $ac_word...
" >&6; }
10820 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10821 $as_echo_n "(cached
) " >&6
10823 if test -n "$AR_FOR_TARGET"; then
10824 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10827 for as_dir in $PATH
10830 test -z "$as_dir" && as_dir=.
10831 for ac_exec_ext in '' $ac_executable_extensions; do
10832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10833 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10834 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10843 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10844 if test -n "$AR_FOR_TARGET"; then
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10846 $as_echo "$AR_FOR_TARGET" >&6; }
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10849 $as_echo "no
" >&6; }
10854 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10855 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10856 set dummy ${ncn_progname}; ac_word=$2
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10858 $as_echo_n "checking
for $ac_word...
" >&6; }
10859 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10860 $as_echo_n "(cached
) " >&6
10862 if test -n "$AR_FOR_TARGET"; then
10863 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10866 for as_dir in $PATH
10869 test -z "$as_dir" && as_dir=.
10870 for ac_exec_ext in '' $ac_executable_extensions; do
10871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10872 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10882 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10883 if test -n "$AR_FOR_TARGET"; then
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10885 $as_echo "$AR_FOR_TARGET" >&6; }
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10888 $as_echo "no
" >&6; }
10893 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10897 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10899 if test $build = $target ; then
10902 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10905 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10909 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10915 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10916 if test -n "$with_build_time_tools"; then
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10918 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10919 if test -x $with_build_time_tools/as; then
10920 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10921 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10923 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10926 $as_echo "no
" >&6; }
10928 elif test $build != $host && test $have_gcc_for_target = yes; then
10929 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10930 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10931 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10934 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10935 # Extract the first word of "as
", so it can be a program name with args.
10936 set dummy as; ac_word=$2
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10938 $as_echo_n "checking
for $ac_word...
" >&6; }
10939 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10940 $as_echo_n "(cached
) " >&6
10942 case $AS_FOR_TARGET in
10944 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10948 for as_dir in $gcc_cv_tool_dirs
10951 test -z "$as_dir" && as_dir=.
10952 for ac_exec_ext in '' $ac_executable_extensions; do
10953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10954 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10965 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10966 if test -n "$AS_FOR_TARGET"; then
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10968 $as_echo "$AS_FOR_TARGET" >&6; }
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10971 $as_echo "no
" >&6; }
10976 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10979 if test -n "$AS_FOR_TARGET"; then
10980 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10981 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10982 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10985 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10986 for ncn_progname in as; do
10987 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10988 set dummy ${ncn_progname}; ac_word=$2
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10990 $as_echo_n "checking
for $ac_word...
" >&6; }
10991 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10992 $as_echo_n "(cached
) " >&6
10994 if test -n "$AS_FOR_TARGET"; then
10995 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10998 for as_dir in $PATH
11001 test -z "$as_dir" && as_dir=.
11002 for ac_exec_ext in '' $ac_executable_extensions; do
11003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11004 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11014 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11015 if test -n "$AS_FOR_TARGET"; then
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11017 $as_echo "$AS_FOR_TARGET" >&6; }
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11020 $as_echo "no
" >&6; }
11027 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11028 for ncn_progname in as; do
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11030 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11031 if test -x $with_build_time_tools/${ncn_progname}; then
11032 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11034 $as_echo "yes" >&6; }
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11038 $as_echo "no
" >&6; }
11043 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11044 for ncn_progname in as; do
11045 if test -n "$ncn_target_tool_prefix"; then
11046 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11047 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11049 $as_echo_n "checking
for $ac_word...
" >&6; }
11050 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11051 $as_echo_n "(cached
) " >&6
11053 if test -n "$AS_FOR_TARGET"; then
11054 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11057 for as_dir in $PATH
11060 test -z "$as_dir" && as_dir=.
11061 for ac_exec_ext in '' $ac_executable_extensions; do
11062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11063 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11073 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11074 if test -n "$AS_FOR_TARGET"; then
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11076 $as_echo "$AS_FOR_TARGET" >&6; }
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11079 $as_echo "no
" >&6; }
11084 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11085 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11086 set dummy ${ncn_progname}; ac_word=$2
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11088 $as_echo_n "checking
for $ac_word...
" >&6; }
11089 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11090 $as_echo_n "(cached
) " >&6
11092 if test -n "$AS_FOR_TARGET"; then
11093 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11096 for as_dir in $PATH
11099 test -z "$as_dir" && as_dir=.
11100 for ac_exec_ext in '' $ac_executable_extensions; do
11101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11102 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11112 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11113 if test -n "$AS_FOR_TARGET"; then
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11115 $as_echo "$AS_FOR_TARGET" >&6; }
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11118 $as_echo "no
" >&6; }
11123 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11127 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11129 if test $build = $target ; then
11132 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11135 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11139 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11145 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11146 if test -n "$with_build_time_tools"; then
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11148 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11149 if test -x $with_build_time_tools/dlltool; then
11150 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11151 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11153 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11156 $as_echo "no
" >&6; }
11158 elif test $build != $host && test $have_gcc_for_target = yes; then
11159 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11160 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11161 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11164 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11165 # Extract the first word of "dlltool
", so it can be a program name with args.
11166 set dummy dlltool; ac_word=$2
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11168 $as_echo_n "checking
for $ac_word...
" >&6; }
11169 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11170 $as_echo_n "(cached
) " >&6
11172 case $DLLTOOL_FOR_TARGET in
11174 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11178 for as_dir in $gcc_cv_tool_dirs
11181 test -z "$as_dir" && as_dir=.
11182 for ac_exec_ext in '' $ac_executable_extensions; do
11183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11184 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11195 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11196 if test -n "$DLLTOOL_FOR_TARGET"; then
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11198 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11201 $as_echo "no
" >&6; }
11206 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11209 if test -n "$DLLTOOL_FOR_TARGET"; then
11210 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11211 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11212 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11215 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11216 for ncn_progname in dlltool; do
11217 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11218 set dummy ${ncn_progname}; ac_word=$2
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11220 $as_echo_n "checking
for $ac_word...
" >&6; }
11221 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11222 $as_echo_n "(cached
) " >&6
11224 if test -n "$DLLTOOL_FOR_TARGET"; then
11225 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11228 for as_dir in $PATH
11231 test -z "$as_dir" && as_dir=.
11232 for ac_exec_ext in '' $ac_executable_extensions; do
11233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11234 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11244 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11245 if test -n "$DLLTOOL_FOR_TARGET"; then
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11247 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11250 $as_echo "no
" >&6; }
11257 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11258 for ncn_progname in dlltool; do
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11260 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11261 if test -x $with_build_time_tools/${ncn_progname}; then
11262 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11264 $as_echo "yes" >&6; }
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11268 $as_echo "no
" >&6; }
11273 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11274 for ncn_progname in dlltool; do
11275 if test -n "$ncn_target_tool_prefix"; then
11276 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11277 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11279 $as_echo_n "checking
for $ac_word...
" >&6; }
11280 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11281 $as_echo_n "(cached
) " >&6
11283 if test -n "$DLLTOOL_FOR_TARGET"; then
11284 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11287 for as_dir in $PATH
11290 test -z "$as_dir" && as_dir=.
11291 for ac_exec_ext in '' $ac_executable_extensions; do
11292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11293 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11294 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11303 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11304 if test -n "$DLLTOOL_FOR_TARGET"; then
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11306 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11309 $as_echo "no
" >&6; }
11314 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11315 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11316 set dummy ${ncn_progname}; ac_word=$2
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11318 $as_echo_n "checking
for $ac_word...
" >&6; }
11319 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11320 $as_echo_n "(cached
) " >&6
11322 if test -n "$DLLTOOL_FOR_TARGET"; then
11323 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11326 for as_dir in $PATH
11329 test -z "$as_dir" && as_dir=.
11330 for ac_exec_ext in '' $ac_executable_extensions; do
11331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11332 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11333 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11342 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11343 if test -n "$DLLTOOL_FOR_TARGET"; then
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11345 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11348 $as_echo "no
" >&6; }
11353 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11357 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11359 if test $build = $target ; then
11360 DLLTOOL_FOR_TARGET="$2"
11362 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11365 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11369 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11375 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11376 if test -n "$with_build_time_tools"; then
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11378 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11379 if test -x $with_build_time_tools/ld; then
11380 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11381 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11383 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11386 $as_echo "no
" >&6; }
11388 elif test $build != $host && test $have_gcc_for_target = yes; then
11389 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11390 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11391 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11394 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11395 # Extract the first word of "ld
", so it can be a program name with args.
11396 set dummy ld; ac_word=$2
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11398 $as_echo_n "checking
for $ac_word...
" >&6; }
11399 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11400 $as_echo_n "(cached
) " >&6
11402 case $LD_FOR_TARGET in
11404 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11408 for as_dir in $gcc_cv_tool_dirs
11411 test -z "$as_dir" && as_dir=.
11412 for ac_exec_ext in '' $ac_executable_extensions; do
11413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11414 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11425 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11426 if test -n "$LD_FOR_TARGET"; then
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11428 $as_echo "$LD_FOR_TARGET" >&6; }
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11431 $as_echo "no
" >&6; }
11436 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11439 if test -n "$LD_FOR_TARGET"; then
11440 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11441 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11442 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11445 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11446 for ncn_progname in ld; do
11447 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11448 set dummy ${ncn_progname}; ac_word=$2
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11450 $as_echo_n "checking
for $ac_word...
" >&6; }
11451 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11452 $as_echo_n "(cached
) " >&6
11454 if test -n "$LD_FOR_TARGET"; then
11455 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11458 for as_dir in $PATH
11461 test -z "$as_dir" && as_dir=.
11462 for ac_exec_ext in '' $ac_executable_extensions; do
11463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11464 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11465 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11474 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11475 if test -n "$LD_FOR_TARGET"; then
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11477 $as_echo "$LD_FOR_TARGET" >&6; }
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11480 $as_echo "no
" >&6; }
11487 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11488 for ncn_progname in ld; do
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11490 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11491 if test -x $with_build_time_tools/${ncn_progname}; then
11492 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11494 $as_echo "yes" >&6; }
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11498 $as_echo "no
" >&6; }
11503 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11504 for ncn_progname in ld; do
11505 if test -n "$ncn_target_tool_prefix"; then
11506 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11507 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11509 $as_echo_n "checking
for $ac_word...
" >&6; }
11510 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11511 $as_echo_n "(cached
) " >&6
11513 if test -n "$LD_FOR_TARGET"; then
11514 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11517 for as_dir in $PATH
11520 test -z "$as_dir" && as_dir=.
11521 for ac_exec_ext in '' $ac_executable_extensions; do
11522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11523 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11533 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11534 if test -n "$LD_FOR_TARGET"; then
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11536 $as_echo "$LD_FOR_TARGET" >&6; }
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11539 $as_echo "no
" >&6; }
11544 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11545 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11546 set dummy ${ncn_progname}; ac_word=$2
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11548 $as_echo_n "checking
for $ac_word...
" >&6; }
11549 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11550 $as_echo_n "(cached
) " >&6
11552 if test -n "$LD_FOR_TARGET"; then
11553 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11556 for as_dir in $PATH
11559 test -z "$as_dir" && as_dir=.
11560 for ac_exec_ext in '' $ac_executable_extensions; do
11561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11562 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11563 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11572 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11573 if test -n "$LD_FOR_TARGET"; then
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11575 $as_echo "$LD_FOR_TARGET" >&6; }
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11578 $as_echo "no
" >&6; }
11583 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11587 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11589 if test $build = $target ; then
11592 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11595 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11599 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11605 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11606 if test -n "$with_build_time_tools"; then
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11608 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11609 if test -x $with_build_time_tools/lipo; then
11610 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11611 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11613 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11616 $as_echo "no
" >&6; }
11618 elif test $build != $host && test $have_gcc_for_target = yes; then
11619 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11620 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11621 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11624 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11625 # Extract the first word of "lipo
", so it can be a program name with args.
11626 set dummy lipo; ac_word=$2
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11628 $as_echo_n "checking
for $ac_word...
" >&6; }
11629 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11630 $as_echo_n "(cached
) " >&6
11632 case $LIPO_FOR_TARGET in
11634 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11638 for as_dir in $gcc_cv_tool_dirs
11641 test -z "$as_dir" && as_dir=.
11642 for ac_exec_ext in '' $ac_executable_extensions; do
11643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11644 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11655 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11656 if test -n "$LIPO_FOR_TARGET"; then
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11658 $as_echo "$LIPO_FOR_TARGET" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11661 $as_echo "no
" >&6; }
11666 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11669 if test -n "$LIPO_FOR_TARGET"; then
11670 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11671 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11672 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11675 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11676 for ncn_progname in lipo; do
11677 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11678 set dummy ${ncn_progname}; ac_word=$2
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11680 $as_echo_n "checking
for $ac_word...
" >&6; }
11681 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11682 $as_echo_n "(cached
) " >&6
11684 if test -n "$LIPO_FOR_TARGET"; then
11685 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11688 for as_dir in $PATH
11691 test -z "$as_dir" && as_dir=.
11692 for ac_exec_ext in '' $ac_executable_extensions; do
11693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11694 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11704 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11705 if test -n "$LIPO_FOR_TARGET"; then
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11707 $as_echo "$LIPO_FOR_TARGET" >&6; }
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11710 $as_echo "no
" >&6; }
11717 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11718 for ncn_progname in lipo; do
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11720 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11721 if test -x $with_build_time_tools/${ncn_progname}; then
11722 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11724 $as_echo "yes" >&6; }
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11728 $as_echo "no
" >&6; }
11733 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11734 for ncn_progname in lipo; do
11735 if test -n "$ncn_target_tool_prefix"; then
11736 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11737 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11739 $as_echo_n "checking
for $ac_word...
" >&6; }
11740 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11741 $as_echo_n "(cached
) " >&6
11743 if test -n "$LIPO_FOR_TARGET"; then
11744 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11747 for as_dir in $PATH
11750 test -z "$as_dir" && as_dir=.
11751 for ac_exec_ext in '' $ac_executable_extensions; do
11752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11753 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11763 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11764 if test -n "$LIPO_FOR_TARGET"; then
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11766 $as_echo "$LIPO_FOR_TARGET" >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11769 $as_echo "no
" >&6; }
11774 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11775 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11776 set dummy ${ncn_progname}; ac_word=$2
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11778 $as_echo_n "checking
for $ac_word...
" >&6; }
11779 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11780 $as_echo_n "(cached
) " >&6
11782 if test -n "$LIPO_FOR_TARGET"; then
11783 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11786 for as_dir in $PATH
11789 test -z "$as_dir" && as_dir=.
11790 for ac_exec_ext in '' $ac_executable_extensions; do
11791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11792 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11793 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11802 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11803 if test -n "$LIPO_FOR_TARGET"; then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11805 $as_echo "$LIPO_FOR_TARGET" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11808 $as_echo "no
" >&6; }
11813 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11817 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11819 if test $build = $target ; then
11820 LIPO_FOR_TARGET="$2"
11822 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11825 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11829 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11835 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11836 if test -n "$with_build_time_tools"; then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11838 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11839 if test -x $with_build_time_tools/nm; then
11840 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11841 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11843 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11846 $as_echo "no
" >&6; }
11848 elif test $build != $host && test $have_gcc_for_target = yes; then
11849 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11850 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11851 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11854 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11855 # Extract the first word of "nm
", so it can be a program name with args.
11856 set dummy nm; ac_word=$2
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11858 $as_echo_n "checking
for $ac_word...
" >&6; }
11859 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11860 $as_echo_n "(cached
) " >&6
11862 case $NM_FOR_TARGET in
11864 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11868 for as_dir in $gcc_cv_tool_dirs
11871 test -z "$as_dir" && as_dir=.
11872 for ac_exec_ext in '' $ac_executable_extensions; do
11873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11874 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11885 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11886 if test -n "$NM_FOR_TARGET"; then
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11888 $as_echo "$NM_FOR_TARGET" >&6; }
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11891 $as_echo "no
" >&6; }
11896 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11899 if test -n "$NM_FOR_TARGET"; then
11900 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11901 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11902 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11905 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11906 for ncn_progname in nm; do
11907 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11908 set dummy ${ncn_progname}; ac_word=$2
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11910 $as_echo_n "checking
for $ac_word...
" >&6; }
11911 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11912 $as_echo_n "(cached
) " >&6
11914 if test -n "$NM_FOR_TARGET"; then
11915 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11918 for as_dir in $PATH
11921 test -z "$as_dir" && as_dir=.
11922 for ac_exec_ext in '' $ac_executable_extensions; do
11923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11924 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11925 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11934 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11935 if test -n "$NM_FOR_TARGET"; then
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11937 $as_echo "$NM_FOR_TARGET" >&6; }
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11940 $as_echo "no
" >&6; }
11947 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11948 for ncn_progname in nm; do
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11950 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11951 if test -x $with_build_time_tools/${ncn_progname}; then
11952 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11954 $as_echo "yes" >&6; }
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11958 $as_echo "no
" >&6; }
11963 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11964 for ncn_progname in nm; do
11965 if test -n "$ncn_target_tool_prefix"; then
11966 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11967 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11969 $as_echo_n "checking
for $ac_word...
" >&6; }
11970 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11971 $as_echo_n "(cached
) " >&6
11973 if test -n "$NM_FOR_TARGET"; then
11974 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11977 for as_dir in $PATH
11980 test -z "$as_dir" && as_dir=.
11981 for ac_exec_ext in '' $ac_executable_extensions; do
11982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11983 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11984 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11993 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11994 if test -n "$NM_FOR_TARGET"; then
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11996 $as_echo "$NM_FOR_TARGET" >&6; }
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11999 $as_echo "no
" >&6; }
12004 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12005 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12006 set dummy ${ncn_progname}; ac_word=$2
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12008 $as_echo_n "checking
for $ac_word...
" >&6; }
12009 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12010 $as_echo_n "(cached
) " >&6
12012 if test -n "$NM_FOR_TARGET"; then
12013 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12016 for as_dir in $PATH
12019 test -z "$as_dir" && as_dir=.
12020 for ac_exec_ext in '' $ac_executable_extensions; do
12021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12022 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12023 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12032 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12033 if test -n "$NM_FOR_TARGET"; then
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12035 $as_echo "$NM_FOR_TARGET" >&6; }
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12038 $as_echo "no
" >&6; }
12043 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12047 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12049 if test $build = $target ; then
12052 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12055 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12059 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12065 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12066 if test -n "$with_build_time_tools"; then
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12068 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12069 if test -x $with_build_time_tools/objcopy; then
12070 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12071 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12073 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12076 $as_echo "no
" >&6; }
12078 elif test $build != $host && test $have_gcc_for_target = yes; then
12079 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12080 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12081 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12084 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12085 # Extract the first word of "objcopy
", so it can be a program name with args.
12086 set dummy objcopy; ac_word=$2
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12088 $as_echo_n "checking
for $ac_word...
" >&6; }
12089 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
12090 $as_echo_n "(cached
) " >&6
12092 case $OBJCOPY_FOR_TARGET in
12094 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12098 for as_dir in $gcc_cv_tool_dirs
12101 test -z "$as_dir" && as_dir=.
12102 for ac_exec_ext in '' $ac_executable_extensions; do
12103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12104 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12115 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12116 if test -n "$OBJCOPY_FOR_TARGET"; then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12118 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12121 $as_echo "no
" >&6; }
12126 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12129 if test -n "$OBJCOPY_FOR_TARGET"; then
12130 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12131 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12132 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12135 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12136 for ncn_progname in objcopy; do
12137 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12138 set dummy ${ncn_progname}; ac_word=$2
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12140 $as_echo_n "checking
for $ac_word...
" >&6; }
12141 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12142 $as_echo_n "(cached
) " >&6
12144 if test -n "$OBJCOPY_FOR_TARGET"; then
12145 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12148 for as_dir in $PATH
12151 test -z "$as_dir" && as_dir=.
12152 for ac_exec_ext in '' $ac_executable_extensions; do
12153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12154 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12164 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12165 if test -n "$OBJCOPY_FOR_TARGET"; then
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12167 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12170 $as_echo "no
" >&6; }
12177 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12178 for ncn_progname in objcopy; do
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12180 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12181 if test -x $with_build_time_tools/${ncn_progname}; then
12182 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12184 $as_echo "yes" >&6; }
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12188 $as_echo "no
" >&6; }
12193 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12194 for ncn_progname in objcopy; do
12195 if test -n "$ncn_target_tool_prefix"; then
12196 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12197 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12199 $as_echo_n "checking
for $ac_word...
" >&6; }
12200 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12201 $as_echo_n "(cached
) " >&6
12203 if test -n "$OBJCOPY_FOR_TARGET"; then
12204 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12207 for as_dir in $PATH
12210 test -z "$as_dir" && as_dir=.
12211 for ac_exec_ext in '' $ac_executable_extensions; do
12212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12213 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12223 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12224 if test -n "$OBJCOPY_FOR_TARGET"; then
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12226 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12229 $as_echo "no
" >&6; }
12234 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12235 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12236 set dummy ${ncn_progname}; ac_word=$2
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12238 $as_echo_n "checking
for $ac_word...
" >&6; }
12239 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12240 $as_echo_n "(cached
) " >&6
12242 if test -n "$OBJCOPY_FOR_TARGET"; then
12243 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12246 for as_dir in $PATH
12249 test -z "$as_dir" && as_dir=.
12250 for ac_exec_ext in '' $ac_executable_extensions; do
12251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12252 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12262 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12263 if test -n "$OBJCOPY_FOR_TARGET"; then
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12265 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12268 $as_echo "no
" >&6; }
12273 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12277 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12279 if test $build = $target ; then
12280 OBJCOPY_FOR_TARGET="$2"
12282 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12285 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12289 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12295 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12296 if test -n "$with_build_time_tools"; then
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12298 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12299 if test -x $with_build_time_tools/objdump; then
12300 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12301 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12303 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12306 $as_echo "no
" >&6; }
12308 elif test $build != $host && test $have_gcc_for_target = yes; then
12309 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12310 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12311 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12314 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12315 # Extract the first word of "objdump
", so it can be a program name with args.
12316 set dummy objdump; ac_word=$2
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12318 $as_echo_n "checking
for $ac_word...
" >&6; }
12319 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12320 $as_echo_n "(cached
) " >&6
12322 case $OBJDUMP_FOR_TARGET in
12324 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12328 for as_dir in $gcc_cv_tool_dirs
12331 test -z "$as_dir" && as_dir=.
12332 for ac_exec_ext in '' $ac_executable_extensions; do
12333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12334 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12335 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12345 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12346 if test -n "$OBJDUMP_FOR_TARGET"; then
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12348 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12351 $as_echo "no
" >&6; }
12356 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12359 if test -n "$OBJDUMP_FOR_TARGET"; then
12360 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12361 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12362 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12365 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12366 for ncn_progname in objdump; do
12367 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12368 set dummy ${ncn_progname}; ac_word=$2
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12370 $as_echo_n "checking
for $ac_word...
" >&6; }
12371 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12372 $as_echo_n "(cached
) " >&6
12374 if test -n "$OBJDUMP_FOR_TARGET"; then
12375 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12378 for as_dir in $PATH
12381 test -z "$as_dir" && as_dir=.
12382 for ac_exec_ext in '' $ac_executable_extensions; do
12383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12384 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12394 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12395 if test -n "$OBJDUMP_FOR_TARGET"; then
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12397 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12400 $as_echo "no
" >&6; }
12407 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12408 for ncn_progname in objdump; do
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12410 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12411 if test -x $with_build_time_tools/${ncn_progname}; then
12412 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12414 $as_echo "yes" >&6; }
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12418 $as_echo "no
" >&6; }
12423 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12424 for ncn_progname in objdump; do
12425 if test -n "$ncn_target_tool_prefix"; then
12426 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12427 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12429 $as_echo_n "checking
for $ac_word...
" >&6; }
12430 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12431 $as_echo_n "(cached
) " >&6
12433 if test -n "$OBJDUMP_FOR_TARGET"; then
12434 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12437 for as_dir in $PATH
12440 test -z "$as_dir" && as_dir=.
12441 for ac_exec_ext in '' $ac_executable_extensions; do
12442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12443 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12444 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12453 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12454 if test -n "$OBJDUMP_FOR_TARGET"; then
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12456 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12459 $as_echo "no
" >&6; }
12464 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12465 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12466 set dummy ${ncn_progname}; ac_word=$2
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12468 $as_echo_n "checking
for $ac_word...
" >&6; }
12469 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12470 $as_echo_n "(cached
) " >&6
12472 if test -n "$OBJDUMP_FOR_TARGET"; then
12473 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12476 for as_dir in $PATH
12479 test -z "$as_dir" && as_dir=.
12480 for ac_exec_ext in '' $ac_executable_extensions; do
12481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12482 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12483 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12492 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12493 if test -n "$OBJDUMP_FOR_TARGET"; then
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12495 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12498 $as_echo "no
" >&6; }
12503 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12507 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12509 if test $build = $target ; then
12510 OBJDUMP_FOR_TARGET="$2"
12512 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12515 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12519 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12525 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12526 if test -n "$with_build_time_tools"; then
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12528 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12529 if test -x $with_build_time_tools/ranlib; then
12530 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12531 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12533 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12536 $as_echo "no
" >&6; }
12538 elif test $build != $host && test $have_gcc_for_target = yes; then
12539 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12540 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12541 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12544 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12545 # Extract the first word of "ranlib
", so it can be a program name with args.
12546 set dummy ranlib; ac_word=$2
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12548 $as_echo_n "checking
for $ac_word...
" >&6; }
12549 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12550 $as_echo_n "(cached
) " >&6
12552 case $RANLIB_FOR_TARGET in
12554 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12558 for as_dir in $gcc_cv_tool_dirs
12561 test -z "$as_dir" && as_dir=.
12562 for ac_exec_ext in '' $ac_executable_extensions; do
12563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12564 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12575 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12576 if test -n "$RANLIB_FOR_TARGET"; then
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12578 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12581 $as_echo "no
" >&6; }
12586 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12589 if test -n "$RANLIB_FOR_TARGET"; then
12590 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12591 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12592 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12595 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12596 for ncn_progname in ranlib; do
12597 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12598 set dummy ${ncn_progname}; ac_word=$2
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12600 $as_echo_n "checking
for $ac_word...
" >&6; }
12601 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12602 $as_echo_n "(cached
) " >&6
12604 if test -n "$RANLIB_FOR_TARGET"; then
12605 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12608 for as_dir in $PATH
12611 test -z "$as_dir" && as_dir=.
12612 for ac_exec_ext in '' $ac_executable_extensions; do
12613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12614 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12615 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12624 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12625 if test -n "$RANLIB_FOR_TARGET"; then
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12627 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12630 $as_echo "no
" >&6; }
12637 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12638 for ncn_progname in ranlib; do
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12640 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12641 if test -x $with_build_time_tools/${ncn_progname}; then
12642 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12644 $as_echo "yes" >&6; }
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12648 $as_echo "no
" >&6; }
12653 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12654 for ncn_progname in ranlib; do
12655 if test -n "$ncn_target_tool_prefix"; then
12656 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12657 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12659 $as_echo_n "checking
for $ac_word...
" >&6; }
12660 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12661 $as_echo_n "(cached
) " >&6
12663 if test -n "$RANLIB_FOR_TARGET"; then
12664 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12667 for as_dir in $PATH
12670 test -z "$as_dir" && as_dir=.
12671 for ac_exec_ext in '' $ac_executable_extensions; do
12672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12673 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12683 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12684 if test -n "$RANLIB_FOR_TARGET"; then
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12686 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12689 $as_echo "no
" >&6; }
12694 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12695 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12696 set dummy ${ncn_progname}; ac_word=$2
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12698 $as_echo_n "checking
for $ac_word...
" >&6; }
12699 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12700 $as_echo_n "(cached
) " >&6
12702 if test -n "$RANLIB_FOR_TARGET"; then
12703 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12706 for as_dir in $PATH
12709 test -z "$as_dir" && as_dir=.
12710 for ac_exec_ext in '' $ac_executable_extensions; do
12711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12712 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12713 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12722 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12723 if test -n "$RANLIB_FOR_TARGET"; then
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12725 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12728 $as_echo "no
" >&6; }
12733 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12737 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12739 if test $build = $target ; then
12740 RANLIB_FOR_TARGET="$2"
12742 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12745 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12749 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12755 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12756 if test -n "$with_build_time_tools"; then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12758 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12759 if test -x $with_build_time_tools/readelf; then
12760 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12761 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12763 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12766 $as_echo "no
" >&6; }
12768 elif test $build != $host && test $have_gcc_for_target = yes; then
12769 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12770 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12771 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12774 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12775 # Extract the first word of "readelf
", so it can be a program name with args.
12776 set dummy readelf; ac_word=$2
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12778 $as_echo_n "checking
for $ac_word...
" >&6; }
12779 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12780 $as_echo_n "(cached
) " >&6
12782 case $READELF_FOR_TARGET in
12784 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12788 for as_dir in $gcc_cv_tool_dirs
12791 test -z "$as_dir" && as_dir=.
12792 for ac_exec_ext in '' $ac_executable_extensions; do
12793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12794 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12805 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12806 if test -n "$READELF_FOR_TARGET"; then
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12808 $as_echo "$READELF_FOR_TARGET" >&6; }
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12811 $as_echo "no
" >&6; }
12816 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12819 if test -n "$READELF_FOR_TARGET"; then
12820 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12821 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12822 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12825 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12826 for ncn_progname in readelf; do
12827 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12828 set dummy ${ncn_progname}; ac_word=$2
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12830 $as_echo_n "checking
for $ac_word...
" >&6; }
12831 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12832 $as_echo_n "(cached
) " >&6
12834 if test -n "$READELF_FOR_TARGET"; then
12835 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12838 for as_dir in $PATH
12841 test -z "$as_dir" && as_dir=.
12842 for ac_exec_ext in '' $ac_executable_extensions; do
12843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12844 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12854 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12855 if test -n "$READELF_FOR_TARGET"; then
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12857 $as_echo "$READELF_FOR_TARGET" >&6; }
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12860 $as_echo "no
" >&6; }
12867 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12868 for ncn_progname in readelf; do
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12870 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12871 if test -x $with_build_time_tools/${ncn_progname}; then
12872 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12874 $as_echo "yes" >&6; }
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12878 $as_echo "no
" >&6; }
12883 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12884 for ncn_progname in readelf; do
12885 if test -n "$ncn_target_tool_prefix"; then
12886 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12887 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12889 $as_echo_n "checking
for $ac_word...
" >&6; }
12890 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12891 $as_echo_n "(cached
) " >&6
12893 if test -n "$READELF_FOR_TARGET"; then
12894 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12897 for as_dir in $PATH
12900 test -z "$as_dir" && as_dir=.
12901 for ac_exec_ext in '' $ac_executable_extensions; do
12902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12903 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12904 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12913 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12914 if test -n "$READELF_FOR_TARGET"; then
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12916 $as_echo "$READELF_FOR_TARGET" >&6; }
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12919 $as_echo "no
" >&6; }
12924 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12925 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12926 set dummy ${ncn_progname}; ac_word=$2
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12928 $as_echo_n "checking
for $ac_word...
" >&6; }
12929 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12930 $as_echo_n "(cached
) " >&6
12932 if test -n "$READELF_FOR_TARGET"; then
12933 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12936 for as_dir in $PATH
12939 test -z "$as_dir" && as_dir=.
12940 for ac_exec_ext in '' $ac_executable_extensions; do
12941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12942 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12952 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12953 if test -n "$READELF_FOR_TARGET"; then
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12955 $as_echo "$READELF_FOR_TARGET" >&6; }
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12958 $as_echo "no
" >&6; }
12963 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12967 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12969 if test $build = $target ; then
12970 READELF_FOR_TARGET="$2"
12972 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12975 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12979 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12985 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12986 if test -n "$with_build_time_tools"; then
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12988 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12989 if test -x $with_build_time_tools/strip; then
12990 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12991 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12993 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12996 $as_echo "no
" >&6; }
12998 elif test $build != $host && test $have_gcc_for_target = yes; then
12999 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13000 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13001 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13004 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13005 # Extract the first word of "strip
", so it can be a program name with args.
13006 set dummy strip; ac_word=$2
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13008 $as_echo_n "checking
for $ac_word...
" >&6; }
13009 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13010 $as_echo_n "(cached
) " >&6
13012 case $STRIP_FOR_TARGET in
13014 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13018 for as_dir in $gcc_cv_tool_dirs
13021 test -z "$as_dir" && as_dir=.
13022 for ac_exec_ext in '' $ac_executable_extensions; do
13023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13024 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13035 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13036 if test -n "$STRIP_FOR_TARGET"; then
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13038 $as_echo "$STRIP_FOR_TARGET" >&6; }
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13041 $as_echo "no
" >&6; }
13046 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13049 if test -n "$STRIP_FOR_TARGET"; then
13050 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13051 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13052 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13055 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13056 for ncn_progname in strip; do
13057 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13058 set dummy ${ncn_progname}; ac_word=$2
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13060 $as_echo_n "checking
for $ac_word...
" >&6; }
13061 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13062 $as_echo_n "(cached
) " >&6
13064 if test -n "$STRIP_FOR_TARGET"; then
13065 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13068 for as_dir in $PATH
13071 test -z "$as_dir" && as_dir=.
13072 for ac_exec_ext in '' $ac_executable_extensions; do
13073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13074 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13075 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13084 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13085 if test -n "$STRIP_FOR_TARGET"; then
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13087 $as_echo "$STRIP_FOR_TARGET" >&6; }
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13090 $as_echo "no
" >&6; }
13097 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13098 for ncn_progname in strip; do
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13100 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13101 if test -x $with_build_time_tools/${ncn_progname}; then
13102 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13104 $as_echo "yes" >&6; }
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13108 $as_echo "no
" >&6; }
13113 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13114 for ncn_progname in strip; do
13115 if test -n "$ncn_target_tool_prefix"; then
13116 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13117 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13119 $as_echo_n "checking
for $ac_word...
" >&6; }
13120 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13121 $as_echo_n "(cached
) " >&6
13123 if test -n "$STRIP_FOR_TARGET"; then
13124 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13127 for as_dir in $PATH
13130 test -z "$as_dir" && as_dir=.
13131 for ac_exec_ext in '' $ac_executable_extensions; do
13132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13133 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13143 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13144 if test -n "$STRIP_FOR_TARGET"; then
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13146 $as_echo "$STRIP_FOR_TARGET" >&6; }
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13149 $as_echo "no
" >&6; }
13154 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13155 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13156 set dummy ${ncn_progname}; ac_word=$2
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13158 $as_echo_n "checking
for $ac_word...
" >&6; }
13159 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13160 $as_echo_n "(cached
) " >&6
13162 if test -n "$STRIP_FOR_TARGET"; then
13163 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13166 for as_dir in $PATH
13169 test -z "$as_dir" && as_dir=.
13170 for ac_exec_ext in '' $ac_executable_extensions; do
13171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13172 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13173 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13182 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13183 if test -n "$STRIP_FOR_TARGET"; then
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13185 $as_echo "$STRIP_FOR_TARGET" >&6; }
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13188 $as_echo "no
" >&6; }
13193 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13197 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13199 if test $build = $target ; then
13200 STRIP_FOR_TARGET="$2"
13202 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13205 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13209 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13215 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13216 if test -n "$with_build_time_tools"; then
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13218 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13219 if test -x $with_build_time_tools/windres; then
13220 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13221 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13223 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13226 $as_echo "no
" >&6; }
13228 elif test $build != $host && test $have_gcc_for_target = yes; then
13229 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13230 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13231 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13234 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13235 # Extract the first word of "windres
", so it can be a program name with args.
13236 set dummy windres; ac_word=$2
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13238 $as_echo_n "checking
for $ac_word...
" >&6; }
13239 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13240 $as_echo_n "(cached
) " >&6
13242 case $WINDRES_FOR_TARGET in
13244 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13248 for as_dir in $gcc_cv_tool_dirs
13251 test -z "$as_dir" && as_dir=.
13252 for ac_exec_ext in '' $ac_executable_extensions; do
13253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13254 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13255 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13265 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13266 if test -n "$WINDRES_FOR_TARGET"; then
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13268 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13271 $as_echo "no
" >&6; }
13276 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13279 if test -n "$WINDRES_FOR_TARGET"; then
13280 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13281 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13282 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13285 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13286 for ncn_progname in windres; do
13287 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13288 set dummy ${ncn_progname}; ac_word=$2
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13290 $as_echo_n "checking
for $ac_word...
" >&6; }
13291 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13292 $as_echo_n "(cached
) " >&6
13294 if test -n "$WINDRES_FOR_TARGET"; then
13295 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13298 for as_dir in $PATH
13301 test -z "$as_dir" && as_dir=.
13302 for ac_exec_ext in '' $ac_executable_extensions; do
13303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13304 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13314 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13315 if test -n "$WINDRES_FOR_TARGET"; then
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13317 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13320 $as_echo "no
" >&6; }
13327 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13328 for ncn_progname in windres; do
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13330 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13331 if test -x $with_build_time_tools/${ncn_progname}; then
13332 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13334 $as_echo "yes" >&6; }
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13338 $as_echo "no
" >&6; }
13343 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13344 for ncn_progname in windres; do
13345 if test -n "$ncn_target_tool_prefix"; then
13346 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13347 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13349 $as_echo_n "checking
for $ac_word...
" >&6; }
13350 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13351 $as_echo_n "(cached
) " >&6
13353 if test -n "$WINDRES_FOR_TARGET"; then
13354 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13357 for as_dir in $PATH
13360 test -z "$as_dir" && as_dir=.
13361 for ac_exec_ext in '' $ac_executable_extensions; do
13362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13363 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13373 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13374 if test -n "$WINDRES_FOR_TARGET"; then
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13376 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13379 $as_echo "no
" >&6; }
13384 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13385 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13386 set dummy ${ncn_progname}; ac_word=$2
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13388 $as_echo_n "checking
for $ac_word...
" >&6; }
13389 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13390 $as_echo_n "(cached
) " >&6
13392 if test -n "$WINDRES_FOR_TARGET"; then
13393 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13396 for as_dir in $PATH
13399 test -z "$as_dir" && as_dir=.
13400 for ac_exec_ext in '' $ac_executable_extensions; do
13401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13402 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13403 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13412 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13413 if test -n "$WINDRES_FOR_TARGET"; then
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13415 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13418 $as_echo "no
" >&6; }
13423 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13427 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13429 if test $build = $target ; then
13430 WINDRES_FOR_TARGET="$2"
13432 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13435 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13439 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13445 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13446 if test -n "$with_build_time_tools"; then
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13448 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13449 if test -x $with_build_time_tools/windmc; then
13450 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13451 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13453 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13456 $as_echo "no
" >&6; }
13458 elif test $build != $host && test $have_gcc_for_target = yes; then
13459 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13460 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13461 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13464 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13465 # Extract the first word of "windmc
", so it can be a program name with args.
13466 set dummy windmc; ac_word=$2
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13468 $as_echo_n "checking
for $ac_word...
" >&6; }
13469 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13470 $as_echo_n "(cached
) " >&6
13472 case $WINDMC_FOR_TARGET in
13474 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13478 for as_dir in $gcc_cv_tool_dirs
13481 test -z "$as_dir" && as_dir=.
13482 for ac_exec_ext in '' $ac_executable_extensions; do
13483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13484 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13485 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13495 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13496 if test -n "$WINDMC_FOR_TARGET"; then
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13498 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13501 $as_echo "no
" >&6; }
13506 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13509 if test -n "$WINDMC_FOR_TARGET"; then
13510 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13511 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13512 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13515 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13516 for ncn_progname in windmc; do
13517 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13518 set dummy ${ncn_progname}; ac_word=$2
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13520 $as_echo_n "checking
for $ac_word...
" >&6; }
13521 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13522 $as_echo_n "(cached
) " >&6
13524 if test -n "$WINDMC_FOR_TARGET"; then
13525 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13528 for as_dir in $PATH
13531 test -z "$as_dir" && as_dir=.
13532 for ac_exec_ext in '' $ac_executable_extensions; do
13533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13534 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13535 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13544 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13545 if test -n "$WINDMC_FOR_TARGET"; then
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13547 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13550 $as_echo "no
" >&6; }
13557 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13558 for ncn_progname in windmc; do
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13560 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13561 if test -x $with_build_time_tools/${ncn_progname}; then
13562 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13564 $as_echo "yes" >&6; }
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13568 $as_echo "no
" >&6; }
13573 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13574 for ncn_progname in windmc; do
13575 if test -n "$ncn_target_tool_prefix"; then
13576 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13577 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13579 $as_echo_n "checking
for $ac_word...
" >&6; }
13580 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13581 $as_echo_n "(cached
) " >&6
13583 if test -n "$WINDMC_FOR_TARGET"; then
13584 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13587 for as_dir in $PATH
13590 test -z "$as_dir" && as_dir=.
13591 for ac_exec_ext in '' $ac_executable_extensions; do
13592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13593 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13603 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13604 if test -n "$WINDMC_FOR_TARGET"; then
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13606 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13609 $as_echo "no
" >&6; }
13614 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13615 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13616 set dummy ${ncn_progname}; ac_word=$2
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13618 $as_echo_n "checking
for $ac_word...
" >&6; }
13619 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13620 $as_echo_n "(cached
) " >&6
13622 if test -n "$WINDMC_FOR_TARGET"; then
13623 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13626 for as_dir in $PATH
13629 test -z "$as_dir" && as_dir=.
13630 for ac_exec_ext in '' $ac_executable_extensions; do
13631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13632 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13642 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13643 if test -n "$WINDMC_FOR_TARGET"; then
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13645 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13648 $as_echo "no
" >&6; }
13653 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13657 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13659 if test $build = $target ; then
13660 WINDMC_FOR_TARGET="$2"
13662 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13665 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13669 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13673 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13676 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13677 if test "x
${build}" != "x
${host}" ; then
13678 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13679 # We already found the complete path
13680 ac_dir=`dirname $AR_FOR_TARGET`
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13682 $as_echo "pre-installed
in $ac_dir" >&6; }
13684 # Canadian cross, just use what we found
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13686 $as_echo "pre-installed
" >&6; }
13690 case " ${configdirs} " in
13695 if test $ok = yes; then
13696 # An in-tree tool is available and we can use it
13697 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13699 $as_echo "just compiled
" >&6; }
13700 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13701 # We already found the complete path
13702 ac_dir=`dirname $AR_FOR_TARGET`
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13704 $as_echo "pre-installed
in $ac_dir" >&6; }
13705 elif test "x
$target" = "x
$host"; then
13706 # We can use an host tool
13707 AR_FOR_TARGET='$(AR)'
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13709 $as_echo "host tool
" >&6; }
13711 # We need a cross tool
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13713 $as_echo "pre-installed
" >&6; }
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13718 $as_echo_n "checking where to
find the target as...
" >&6; }
13719 if test "x
${build}" != "x
${host}" ; then
13720 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13721 # We already found the complete path
13722 ac_dir=`dirname $AS_FOR_TARGET`
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13724 $as_echo "pre-installed
in $ac_dir" >&6; }
13726 # Canadian cross, just use what we found
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13728 $as_echo "pre-installed
" >&6; }
13732 case " ${configdirs} " in
13737 if test $ok = yes; then
13738 # An in-tree tool is available and we can use it
13739 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13741 $as_echo "just compiled
" >&6; }
13742 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13743 # We already found the complete path
13744 ac_dir=`dirname $AS_FOR_TARGET`
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13746 $as_echo "pre-installed
in $ac_dir" >&6; }
13747 elif test "x
$target" = "x
$host"; then
13748 # We can use an host tool
13749 AS_FOR_TARGET='$(AS)'
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13751 $as_echo "host tool
" >&6; }
13753 # We need a cross tool
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13755 $as_echo "pre-installed
" >&6; }
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13760 $as_echo_n "checking where to
find the target cc...
" >&6; }
13761 if test "x
${build}" != "x
${host}" ; then
13762 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13763 # We already found the complete path
13764 ac_dir=`dirname $CC_FOR_TARGET`
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13766 $as_echo "pre-installed
in $ac_dir" >&6; }
13768 # Canadian cross, just use what we found
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13770 $as_echo "pre-installed
" >&6; }
13774 case " ${configdirs} " in
13779 if test $ok = yes; then
13780 # An in-tree tool is available and we can use it
13781 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13783 $as_echo "just compiled
" >&6; }
13784 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13785 # We already found the complete path
13786 ac_dir=`dirname $CC_FOR_TARGET`
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13788 $as_echo "pre-installed
in $ac_dir" >&6; }
13789 elif test "x
$target" = "x
$host"; then
13790 # We can use an host tool
13791 CC_FOR_TARGET='$(CC)'
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13793 $as_echo "host tool
" >&6; }
13795 # We need a cross tool
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13797 $as_echo "pre-installed
" >&6; }
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13802 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13803 if test "x
${build}" != "x
${host}" ; then
13804 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13805 # We already found the complete path
13806 ac_dir=`dirname $CXX_FOR_TARGET`
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13808 $as_echo "pre-installed
in $ac_dir" >&6; }
13810 # Canadian cross, just use what we found
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13812 $as_echo "pre-installed
" >&6; }
13816 case " ${configdirs} " in
13820 case ,${enable_languages}, in
13824 if test $ok = yes; then
13825 # An in-tree tool is available and we can use it
13826 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'
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13828 $as_echo "just compiled
" >&6; }
13829 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13830 # We already found the complete path
13831 ac_dir=`dirname $CXX_FOR_TARGET`
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13833 $as_echo "pre-installed
in $ac_dir" >&6; }
13834 elif test "x
$target" = "x
$host"; then
13835 # We can use an host tool
13836 CXX_FOR_TARGET='$(CXX)'
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13838 $as_echo "host tool
" >&6; }
13840 # We need a cross tool
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13842 $as_echo "pre-installed
" >&6; }
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13847 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13848 if test "x
${build}" != "x
${host}" ; then
13849 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13850 # We already found the complete path
13851 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13853 $as_echo "pre-installed
in $ac_dir" >&6; }
13855 # Canadian cross, just use what we found
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13857 $as_echo "pre-installed
" >&6; }
13861 case " ${configdirs} " in
13865 case ,${enable_languages}, in
13869 if test $ok = yes; then
13870 # An in-tree tool is available and we can use it
13871 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'
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13873 $as_echo "just compiled
" >&6; }
13874 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13875 # We already found the complete path
13876 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13878 $as_echo "pre-installed
in $ac_dir" >&6; }
13879 elif test "x
$target" = "x
$host"; then
13880 # We can use an host tool
13881 RAW_CXX_FOR_TARGET='$(CXX)'
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13883 $as_echo "host tool
" >&6; }
13885 # We need a cross tool
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13887 $as_echo "pre-installed
" >&6; }
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13892 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13893 if test "x
${build}" != "x
${host}" ; then
13894 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13895 # We already found the complete path
13896 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13898 $as_echo "pre-installed
in $ac_dir" >&6; }
13900 # Canadian cross, just use what we found
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13902 $as_echo "pre-installed
" >&6; }
13906 case " ${configdirs} " in
13911 if test $ok = yes; then
13912 # An in-tree tool is available and we can use it
13913 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13915 $as_echo "just compiled
" >&6; }
13916 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13917 # We already found the complete path
13918 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13920 $as_echo "pre-installed
in $ac_dir" >&6; }
13921 elif test "x
$target" = "x
$host"; then
13922 # We can use an host tool
13923 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13925 $as_echo "host tool
" >&6; }
13927 # We need a cross tool
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13929 $as_echo "pre-installed
" >&6; }
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13934 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13935 if test "x
${build}" != "x
${host}" ; then
13936 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13937 # We already found the complete path
13938 ac_dir=`dirname $GCC_FOR_TARGET`
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13940 $as_echo "pre-installed
in $ac_dir" >&6; }
13942 # Canadian cross, just use what we found
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13944 $as_echo "pre-installed
" >&6; }
13948 case " ${configdirs} " in
13953 if test $ok = yes; then
13954 # An in-tree tool is available and we can use it
13955 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13957 $as_echo "just compiled
" >&6; }
13958 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13959 # We already found the complete path
13960 ac_dir=`dirname $GCC_FOR_TARGET`
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13962 $as_echo "pre-installed
in $ac_dir" >&6; }
13963 elif test "x
$target" = "x
$host"; then
13964 # We can use an host tool
13965 GCC_FOR_TARGET='$()'
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13967 $as_echo "host tool
" >&6; }
13969 # We need a cross tool
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13971 $as_echo "pre-installed
" >&6; }
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13976 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13977 if test "x
${build}" != "x
${host}" ; then
13978 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13979 # We already found the complete path
13980 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13982 $as_echo "pre-installed
in $ac_dir" >&6; }
13984 # Canadian cross, just use what we found
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13986 $as_echo "pre-installed
" >&6; }
13990 case " ${configdirs} " in
13994 case ,${enable_languages}, in
13998 if test $ok = yes; then
13999 # An in-tree tool is available and we can use it
14000 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14002 $as_echo "just compiled
" >&6; }
14003 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14004 # We already found the complete path
14005 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14007 $as_echo "pre-installed
in $ac_dir" >&6; }
14008 elif test "x
$target" = "x
$host"; then
14009 # We can use an host tool
14010 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14012 $as_echo "host tool
" >&6; }
14014 # We need a cross tool
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14016 $as_echo "pre-installed
" >&6; }
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14021 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14022 if test "x
${build}" != "x
${host}" ; then
14023 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14024 # We already found the complete path
14025 ac_dir=`dirname $GOC_FOR_TARGET`
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14027 $as_echo "pre-installed
in $ac_dir" >&6; }
14029 # Canadian cross, just use what we found
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14031 $as_echo "pre-installed
" >&6; }
14035 case " ${configdirs} " in
14039 case ,${enable_languages}, in
14043 if test $ok = yes; then
14044 # An in-tree tool is available and we can use it
14045 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14047 $as_echo "just compiled
" >&6; }
14048 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14049 # We already found the complete path
14050 ac_dir=`dirname $GOC_FOR_TARGET`
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14052 $as_echo "pre-installed
in $ac_dir" >&6; }
14053 elif test "x
$target" = "x
$host"; then
14054 # We can use an host tool
14055 GOC_FOR_TARGET='$(GOC)'
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14057 $as_echo "host tool
" >&6; }
14059 # We need a cross tool
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14061 $as_echo "pre-installed
" >&6; }
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14066 $as_echo_n "checking where to
find the target ld...
" >&6; }
14067 if test "x
${build}" != "x
${host}" ; then
14068 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14069 # We already found the complete path
14070 ac_dir=`dirname $LD_FOR_TARGET`
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14072 $as_echo "pre-installed
in $ac_dir" >&6; }
14074 # Canadian cross, just use what we found
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14076 $as_echo "pre-installed
" >&6; }
14080 case " ${configdirs} " in
14085 if test $ok = yes; then
14086 # An in-tree tool is available and we can use it
14087 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14089 $as_echo "just compiled
" >&6; }
14090 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14091 # We already found the complete path
14092 ac_dir=`dirname $LD_FOR_TARGET`
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14094 $as_echo "pre-installed
in $ac_dir" >&6; }
14095 elif test "x
$target" = "x
$host"; then
14096 # We can use an host tool
14097 LD_FOR_TARGET='$(LD)'
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14099 $as_echo "host tool
" >&6; }
14101 # We need a cross tool
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14103 $as_echo "pre-installed
" >&6; }
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14108 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14109 if test "x
${build}" != "x
${host}" ; then
14110 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14111 # We already found the complete path
14112 ac_dir=`dirname $LIPO_FOR_TARGET`
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14114 $as_echo "pre-installed
in $ac_dir" >&6; }
14116 # Canadian cross, just use what we found
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14118 $as_echo "pre-installed
" >&6; }
14121 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14122 # We already found the complete path
14123 ac_dir=`dirname $LIPO_FOR_TARGET`
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14125 $as_echo "pre-installed
in $ac_dir" >&6; }
14126 elif test "x
$target" = "x
$host"; then
14127 # We can use an host tool
14128 LIPO_FOR_TARGET='$(LIPO)'
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14130 $as_echo "host tool
" >&6; }
14132 # We need a cross tool
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14134 $as_echo "pre-installed
" >&6; }
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14139 $as_echo_n "checking where to
find the target nm...
" >&6; }
14140 if test "x
${build}" != "x
${host}" ; then
14141 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14142 # We already found the complete path
14143 ac_dir=`dirname $NM_FOR_TARGET`
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14145 $as_echo "pre-installed
in $ac_dir" >&6; }
14147 # Canadian cross, just use what we found
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14149 $as_echo "pre-installed
" >&6; }
14153 case " ${configdirs} " in
14158 if test $ok = yes; then
14159 # An in-tree tool is available and we can use it
14160 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14162 $as_echo "just compiled
" >&6; }
14163 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14164 # We already found the complete path
14165 ac_dir=`dirname $NM_FOR_TARGET`
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14167 $as_echo "pre-installed
in $ac_dir" >&6; }
14168 elif test "x
$target" = "x
$host"; then
14169 # We can use an host tool
14170 NM_FOR_TARGET='$(NM)'
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14172 $as_echo "host tool
" >&6; }
14174 # We need a cross tool
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14176 $as_echo "pre-installed
" >&6; }
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14181 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14182 if test "x
${build}" != "x
${host}" ; then
14183 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14184 # We already found the complete path
14185 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14187 $as_echo "pre-installed
in $ac_dir" >&6; }
14189 # Canadian cross, just use what we found
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14191 $as_echo "pre-installed
" >&6; }
14195 case " ${configdirs} " in
14200 if test $ok = yes; then
14201 # An in-tree tool is available and we can use it
14202 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14204 $as_echo "just compiled
" >&6; }
14205 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14206 # We already found the complete path
14207 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14209 $as_echo "pre-installed
in $ac_dir" >&6; }
14210 elif test "x
$target" = "x
$host"; then
14211 # We can use an host tool
14212 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14214 $as_echo "host tool
" >&6; }
14216 # We need a cross tool
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14218 $as_echo "pre-installed
" >&6; }
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14223 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14224 if test "x
${build}" != "x
${host}" ; then
14225 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14226 # We already found the complete path
14227 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14229 $as_echo "pre-installed
in $ac_dir" >&6; }
14231 # Canadian cross, just use what we found
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14233 $as_echo "pre-installed
" >&6; }
14237 case " ${configdirs} " in
14242 if test $ok = yes; then
14243 # An in-tree tool is available and we can use it
14244 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14246 $as_echo "just compiled
" >&6; }
14247 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14248 # We already found the complete path
14249 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14251 $as_echo "pre-installed
in $ac_dir" >&6; }
14252 elif test "x
$target" = "x
$host"; then
14253 # We can use an host tool
14254 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14256 $as_echo "host tool
" >&6; }
14258 # We need a cross tool
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14260 $as_echo "pre-installed
" >&6; }
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14265 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14266 if test "x
${build}" != "x
${host}" ; then
14267 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14268 # We already found the complete path
14269 ac_dir=`dirname $RANLIB_FOR_TARGET`
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14271 $as_echo "pre-installed
in $ac_dir" >&6; }
14273 # Canadian cross, just use what we found
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14275 $as_echo "pre-installed
" >&6; }
14279 case " ${configdirs} " in
14284 if test $ok = yes; then
14285 # An in-tree tool is available and we can use it
14286 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14288 $as_echo "just compiled
" >&6; }
14289 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14290 # We already found the complete path
14291 ac_dir=`dirname $RANLIB_FOR_TARGET`
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14293 $as_echo "pre-installed
in $ac_dir" >&6; }
14294 elif test "x
$target" = "x
$host"; then
14295 # We can use an host tool
14296 RANLIB_FOR_TARGET='$(RANLIB)'
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14298 $as_echo "host tool
" >&6; }
14300 # We need a cross tool
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14302 $as_echo "pre-installed
" >&6; }
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14307 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14308 if test "x
${build}" != "x
${host}" ; then
14309 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14310 # We already found the complete path
14311 ac_dir=`dirname $READELF_FOR_TARGET`
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14313 $as_echo "pre-installed
in $ac_dir" >&6; }
14315 # Canadian cross, just use what we found
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14317 $as_echo "pre-installed
" >&6; }
14321 case " ${configdirs} " in
14326 if test $ok = yes; then
14327 # An in-tree tool is available and we can use it
14328 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14330 $as_echo "just compiled
" >&6; }
14331 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14332 # We already found the complete path
14333 ac_dir=`dirname $READELF_FOR_TARGET`
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14335 $as_echo "pre-installed
in $ac_dir" >&6; }
14336 elif test "x
$target" = "x
$host"; then
14337 # We can use an host tool
14338 READELF_FOR_TARGET='$(READELF)'
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14340 $as_echo "host tool
" >&6; }
14342 # We need a cross tool
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14344 $as_echo "pre-installed
" >&6; }
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14349 $as_echo_n "checking where to
find the target strip...
" >&6; }
14350 if test "x
${build}" != "x
${host}" ; then
14351 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14352 # We already found the complete path
14353 ac_dir=`dirname $STRIP_FOR_TARGET`
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14355 $as_echo "pre-installed
in $ac_dir" >&6; }
14357 # Canadian cross, just use what we found
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14359 $as_echo "pre-installed
" >&6; }
14363 case " ${configdirs} " in
14368 if test $ok = yes; then
14369 # An in-tree tool is available and we can use it
14370 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14372 $as_echo "just compiled
" >&6; }
14373 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14374 # We already found the complete path
14375 ac_dir=`dirname $STRIP_FOR_TARGET`
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14377 $as_echo "pre-installed
in $ac_dir" >&6; }
14378 elif test "x
$target" = "x
$host"; then
14379 # We can use an host tool
14380 STRIP_FOR_TARGET='$(STRIP)'
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14382 $as_echo "host tool
" >&6; }
14384 # We need a cross tool
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14386 $as_echo "pre-installed
" >&6; }
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14391 $as_echo_n "checking where to
find the target windres...
" >&6; }
14392 if test "x
${build}" != "x
${host}" ; then
14393 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14394 # We already found the complete path
14395 ac_dir=`dirname $WINDRES_FOR_TARGET`
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14397 $as_echo "pre-installed
in $ac_dir" >&6; }
14399 # Canadian cross, just use what we found
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14401 $as_echo "pre-installed
" >&6; }
14405 case " ${configdirs} " in
14410 if test $ok = yes; then
14411 # An in-tree tool is available and we can use it
14412 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14414 $as_echo "just compiled
" >&6; }
14415 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14416 # We already found the complete path
14417 ac_dir=`dirname $WINDRES_FOR_TARGET`
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14419 $as_echo "pre-installed
in $ac_dir" >&6; }
14420 elif test "x
$target" = "x
$host"; then
14421 # We can use an host tool
14422 WINDRES_FOR_TARGET='$(WINDRES)'
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14424 $as_echo "host tool
" >&6; }
14426 # We need a cross tool
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14428 $as_echo "pre-installed
" >&6; }
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14433 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14434 if test "x
${build}" != "x
${host}" ; then
14435 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14436 # We already found the complete path
14437 ac_dir=`dirname $WINDMC_FOR_TARGET`
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14439 $as_echo "pre-installed
in $ac_dir" >&6; }
14441 # Canadian cross, just use what we found
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14443 $as_echo "pre-installed
" >&6; }
14447 case " ${configdirs} " in
14452 if test $ok = yes; then
14453 # An in-tree tool is available and we can use it
14454 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14456 $as_echo "just compiled
" >&6; }
14457 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14458 # We already found the complete path
14459 ac_dir=`dirname $WINDMC_FOR_TARGET`
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14461 $as_echo "pre-installed
in $ac_dir" >&6; }
14462 elif test "x
$target" = "x
$host"; then
14463 # We can use an host tool
14464 WINDMC_FOR_TARGET='$(WINDMC)'
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14466 $as_echo "host tool
" >&6; }
14468 # We need a cross tool
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14470 $as_echo "pre-installed
" >&6; }
14478 # Certain tools may need extra flags.
14479 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14480 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14481 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14483 # When building target libraries, except in a Canadian cross, we use
14484 # the same toolchain as the compiler we just built.
14485 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14486 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14487 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14488 if test $host = $build; then
14489 case " $configdirs " in
14491 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14492 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14493 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14503 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14504 # Check whether --enable-maintainer-mode was given.
14505 if test "${enable_maintainer_mode+set}" = set; then :
14506 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14508 USE_MAINTAINER_MODE=no
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14512 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14515 if test "$USE_MAINTAINER_MODE" = yes; then
14516 MAINTAINER_MODE_TRUE=
14517 MAINTAINER_MODE_FALSE='#'
14519 MAINTAINER_MODE_TRUE='#'
14520 MAINTAINER_MODE_FALSE=
14522 MAINT=$MAINTAINER_MODE_TRUE
14524 # ---------------------
14525 # GCC bootstrap support
14526 # ---------------------
14528 # Stage specific cflags for build.
14533 yes) stage1_cflags="-g -Wa,-J" ;;
14534 *) stage1_cflags="-g -J" ;;
14540 # Enable --enable-checking in stage1 of the compiler.
14541 # Check whether --enable-stage1-checking was given.
14542 if test "${enable_stage1_checking+set}" = set; then :
14543 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14545 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14546 # For --disable-checking or implicit --enable-checking=release, avoid
14547 # setting --enable-checking=gc in the default stage1 checking for LTO
14548 # bootstraps. See PR62077.
14549 case $BUILD_CONFIG in
14551 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
14553 stage1_checking=--enable-checking=yes,types;;
14555 if test "x
$enable_checking" = x && \
14556 test -d ${srcdir}/gcc && \
14557 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14558 stage1_checking=--enable-checking=yes,types,extra
14561 stage1_checking=--enable-checking=$enable_checking,types
14567 # Enable -Werror in bootstrap stage2 and later.
14568 # Check whether --enable-werror was given.
14569 if test "${enable_werror+set}" = set; then :
14570 enableval=$enable_werror;
14572 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14579 case ${enable_werror} in
14580 yes) stage2_werror_flag="--enable-werror-always" ;;
14581 *) stage2_werror_flag="" ;;
14585 # Enable --enable-host-shared.
14586 # Check whether --enable-host-shared was given.
14587 if test "${enable_host_shared+set}" = set; then :
14588 enableval=$enable_host_shared; host_shared=$enableval
14595 # PR jit/64780: Require the user to explicitly specify
14596 # --enable-host-shared if the jit is enabled, hinting
14597 # that they might want to do a separate configure/build of
14598 # the jit, to avoid users from slowing down the rest of the
14599 # compiler by enabling the jit.
14600 if test ${host_shared} = "no
" ; then
14601 case "${enable_languages}" in
14604 Enabling language
\"jit
\" requires
--enable-host-shared.
14606 --enable-host-shared typically slows the rest of the compiler down by
14607 a few
%, so you must explicitly
enable it.
14609 If you want to build both the jit and the regular compiler
, it is often
14610 best to
do this via two separate configure
/builds
, in separate
14611 directories
, to avoid imposing the performance cost of
14612 --enable-host-shared on the regular compiler.
" "$LINENO" 5
14619 # Specify what files to not compare during bootstrap.
14621 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14623 hppa*64*-*-hpux*) ;;
14624 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14625 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14629 ac_config_files="$ac_config_files Makefile
"
14631 cat >confcache <<\_ACEOF
14632 # This file is a shell script that caches the results of configure
14633 # tests run on this system so they can be shared between configure
14634 # scripts and configure runs, see configure's option --config-cache.
14635 # It is not useful on other systems. If it contains results you don't
14636 # want to keep, you may remove or edit it.
14638 # config.status only pays attention to the cache file if you give it
14639 # the --recheck option to rerun configure.
14641 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14642 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14643 # following values.
14647 # The following way of writing the cache mishandles newlines in values,
14648 # but we know of no workaround that is simple, portable, and efficient.
14649 # So, we kill variables containing newlines.
14650 # Ultrix sh set writes to stderr and can't be redirected directly,
14651 # and sets the high bit in the cache file unless we assign to the vars.
14653 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14654 eval ac_val=\$$ac_var
14658 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14659 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14662 _ | IFS | as_nl) ;; #(
14663 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14664 *) { eval $ac_var=; unset $ac_var;} ;;
14670 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14671 *${as_nl}ac_space=\ *)
14672 # `set' does not quote correctly, so add quotes: double-quote
14673 # substitution turns \\\\ into \\, and sed turns \\ into \.
14676 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14679 # `set' quotes correctly as required by POSIX, so do not add quotes.
14680 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14689 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14691 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14693 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14694 if test -w "$cache_file"; then
14695 test "x
$cache_file" != "x
/dev
/null
" &&
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14697 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14698 cat confcache >$cache_file
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14701 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14706 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14707 # Let make expand exec_prefix.
14708 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14710 # Transform confdefs.h into DEFS.
14711 # Protect against shell expansion while executing Makefile rules.
14712 # Protect against Makefile macro expansion.
14714 # If the first sed substitution is executed (which looks for macros that
14715 # take arguments), then branch to the quote section. Otherwise,
14716 # look for a macro that doesn't take arguments.
14726 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14728 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14732 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14745 DEFS=`sed -n "$ac_script" confdefs.h`
14750 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14751 # 1. Remove the extension, and $U if already installed.
14752 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14753 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14754 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14755 # will be set to the directory where LIBOBJS objects are built.
14756 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14757 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14759 LIBOBJS=$ac_libobjs
14761 LTLIBOBJS=$ac_ltlibobjs
14765 : ${CONFIG_STATUS=./config.status}
14767 ac_clean_files_save=$ac_clean_files
14768 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14770 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14772 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14774 # Generated by $as_me.
14775 # Run this file to recreate the current configuration.
14776 # Compiler output produced by configure, useful for debugging
14777 # configure, is in config.log if it exists.
14780 ac_cs_recheck=false
14783 SHELL=\${CONFIG_SHELL-$SHELL}
14786 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14787 ## -------------------- ##
14788 ## M4sh Initialization. ##
14789 ## -------------------- ##
14791 # Be more Bourne compatible
14792 DUALCASE=1; export DUALCASE # for MKS sh
14793 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14796 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14797 # is contrary to our usage. Disable this feature.
14798 alias -g '${1+"$@"}'='"$@"'
14799 setopt NO_GLOB_SUBST
14801 case `(set -o) 2>/dev/null` in #(
14813 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14814 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14815 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14816 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14817 # Prefer a ksh shell builtin over an external printf program on Solaris,
14818 # but without wasting forks for bash or zsh.
14819 if test -z "$BASH_VERSION$ZSH_VERSION" \
14820 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14821 as_echo
='print -r --'
14822 as_echo_n
='print -rn --'
14823 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14824 as_echo
='printf %s\n'
14825 as_echo_n
='printf %s'
14827 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14828 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14829 as_echo_n
='/usr/ucb/echo -n'
14831 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14832 as_echo_n_body
='eval
14836 expr "X$arg" : "X\\(.*\\)$as_nl";
14837 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14839 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14841 export as_echo_n_body
14842 as_echo_n
='sh -c $as_echo_n_body as_echo'
14844 export as_echo_body
14845 as_echo
='sh -c $as_echo_body as_echo'
14848 # The user is always right.
14849 if test "${PATH_SEPARATOR+set}" != set; then
14851 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14852 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14859 # We need space, tab and new line, in precisely that order. Quoting is
14860 # there to prevent editors from complaining about space-tab.
14861 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14862 # splitting by setting IFS to empty value.)
14865 # Find who we are. Look in the path if we contain no directory separator.
14867 *[\\/]* ) as_myself
=$0 ;;
14868 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14869 for as_dir
in $PATH
14872 test -z "$as_dir" && as_dir
=.
14873 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14879 # We did not find ourselves, most probably we were run as `sh COMMAND'
14880 # in which case we are not to be found in the path.
14881 if test "x$as_myself" = x
; then
14884 if test ! -f "$as_myself"; then
14885 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14889 # Unset variables that we do not need and which cause bugs (e.g. in
14890 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14891 # suppresses any "Segmentation fault" message there. '((' could
14892 # trigger a bug in pdksh 5.2.14.
14893 for as_var
in BASH_ENV ENV MAIL MAILPATH
14894 do eval test x\
${$as_var+set} = xset \
14895 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14908 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14911 # as_fn_error ERROR [LINENO LOG_FD]
14912 # ---------------------------------
14913 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14914 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14915 # script with status $?, using 1 if that was 0.
14918 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14920 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14921 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14923 $as_echo "$as_me: error: $1" >&2
14924 as_fn_exit
$as_status
14928 # as_fn_set_status STATUS
14929 # -----------------------
14930 # Set $? to STATUS, without forking.
14931 as_fn_set_status
()
14934 } # as_fn_set_status
14936 # as_fn_exit STATUS
14937 # -----------------
14938 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14942 as_fn_set_status
$1
14948 # Portably unset VAR.
14951 { eval $1=; unset $1;}
14953 as_unset
=as_fn_unset
14954 # as_fn_append VAR VALUE
14955 # ----------------------
14956 # Append the text in VALUE to the end of the definition contained in VAR. Take
14957 # advantage of any shell optimizations that allow amortized linear growth over
14958 # repeated appends, instead of the typical quadratic growth present in naive
14960 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14961 eval 'as_fn_append ()
14972 # as_fn_arith ARG...
14973 # ------------------
14974 # Perform arithmetic evaluation on the ARGs, and store the result in the
14975 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14976 # must be portable across $(()) and expr.
14977 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14978 eval 'as_fn_arith ()
14985 as_val
=`expr "$@" || test $? -eq 1`
14990 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14991 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14997 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14998 as_basename
=basename
15003 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15009 as_me
=`$as_basename -- "$0" ||
15010 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15011 X"$0" : 'X\(//\)$' \| \
15012 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15014 sed '/^.*\/\([^/][^/]*\)\/*$/{
15028 # Avoid depending upon Character Ranges.
15029 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15030 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15031 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15032 as_cr_digits
='0123456789'
15033 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15035 ECHO_C
= ECHO_N
= ECHO_T
=
15036 case `echo -n x` in #(((((
15038 case `echo 'xy\c'` in
15039 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15041 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15048 rm -f conf$$ conf$$.exe conf$$.
file
15049 if test -d conf$$.dir
; then
15050 rm -f conf$$.dir
/conf$$.
file
15053 mkdir conf$$.dir
2>/dev
/null
15055 if (echo >conf$$.
file) 2>/dev
/null
; then
15056 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15058 # ... but there are two gotchas:
15059 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15060 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15061 # In both cases, we have to default to `cp -p'.
15062 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15064 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15072 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15073 rmdir conf$$.dir
2>/dev
/null
15078 # Create "$as_dir" as a directory, including parents if necessary.
15083 -*) as_dir
=.
/$as_dir;;
15085 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15089 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15090 *) as_qdir
=$as_dir;;
15092 as_dirs
="'$as_qdir' $as_dirs"
15093 as_dir
=`$as_dirname -- "$as_dir" ||
15094 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15095 X"$as_dir" : 'X\(//\)[^/]' \| \
15096 X"$as_dir" : 'X\(//\)$' \| \
15097 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15098 $as_echo X"$as_dir" |
15099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15103 /^X\(\/\/\)[^/].*/{
15116 test -d "$as_dir" && break
15118 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15119 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15123 if mkdir
-p .
2>/dev
/null
; then
15124 as_mkdir_p
='mkdir -p "$as_dir"'
15126 test -d .
/-p && rmdir .
/-p
15130 if test -x / >/dev
/null
2>&1; then
15131 as_test_x
='test -x'
15133 if ls -dL / >/dev
/null
2>&1; then
15140 if test -d "$1"; then
15146 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15147 ???[sx]*):;;*)false;;esac;fi
15151 as_executable_p
=$as_test_x
15153 # Sed expression to map a string onto a valid CPP name.
15154 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15156 # Sed expression to map a string onto a valid variable name.
15157 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15161 ## ----------------------------------- ##
15162 ## Main body of $CONFIG_STATUS script. ##
15163 ## ----------------------------------- ##
15165 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15168 # Save the log message, to keep $0 and so on meaningful, and to
15169 # report actual input values of CONFIG_FILES etc. instead of their
15170 # values after options handling.
15172 This file was extended by $as_me, which was
15173 generated by GNU Autoconf 2.64. Invocation command line was
15175 CONFIG_FILES = $CONFIG_FILES
15176 CONFIG_HEADERS = $CONFIG_HEADERS
15177 CONFIG_LINKS = $CONFIG_LINKS
15178 CONFIG_COMMANDS = $CONFIG_COMMANDS
15181 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15186 case $ac_config_files in *"
15187 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15193 # Files that config.status was made for.
15194 config_files="$ac_config_files"
15198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15200 \`$as_me' instantiates files and other configuration actions
15201 from templates according to the current configuration. Unless the files
15202 and actions are specified as TAGs, all are instantiated by default.
15204 Usage: $0 [OPTION]... [TAG]...
15206 -h, --help print this help, then exit
15207 -V, --version print version number and configuration settings, then exit
15208 -q, --quiet, --silent
15209 do not print progress messages
15210 -d, --debug don't remove temporary files
15211 --recheck update $as_me by reconfiguring in the same conditions
15212 --file=FILE[:TEMPLATE]
15213 instantiate the configuration file FILE
15215 Configuration files:
15218 Report bugs to the package provider."
15221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15224 configured by $0, generated by GNU Autoconf 2.64,
15225 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15227 Copyright (C) 2009 Free Software Foundation, Inc.
15228 This config.status script is free software; the Free Software Foundation
15229 gives unlimited permission to copy, distribute and modify it."
15235 test -n "\$AWK" || AWK=awk
15238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15239 # The default lists apply if the user does not specify any file.
15245 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15246 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15257 # Handling of the options.
15258 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15260 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15261 $as_echo "$ac_cs_version"; exit ;;
15262 --debug |
--debu |
--deb |
--de |
--d |
-d )
15264 --file |
--fil |
--fi |
--f )
15267 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15269 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15270 ac_need_defaults
=false
;;
15271 --he |
--h |
--help |
--hel |
-h )
15272 $as_echo "$ac_cs_usage"; exit ;;
15273 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15274 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15277 # This is an error.
15278 -*) as_fn_error
"unrecognized option: \`$1'
15279 Try \`$0 --help' for more information." ;;
15281 *) as_fn_append ac_config_targets
" $1"
15282 ac_need_defaults
=false
;;
15288 ac_configure_extra_args
=
15290 if $ac_cs_silent; then
15292 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15297 if \$ac_cs_recheck; then
15298 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15300 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15301 CONFIG_SHELL='$SHELL'
15302 export CONFIG_SHELL
15307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15311 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15312 ## Running $as_me. ##
15318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15322 extrasub_build="$extrasub_build"
15323 extrasub_host="$extrasub_host"
15324 extrasub_target="$extrasub_target"
15328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15330 # Handling of arguments.
15331 for ac_config_target
in $ac_config_targets
15333 case $ac_config_target in
15334 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15336 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15341 # If the user did not use the arguments to specify the items to instantiate,
15342 # then the envvar interface is used. Set only those that are not.
15343 # We use the long form for the default assignment because of an extremely
15344 # bizarre bug on SunOS 4.1.3.
15345 if $ac_need_defaults; then
15346 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15349 # Have a temporary directory for convenience. Make it in the build tree
15350 # simply because there is no reason against having it here, and in addition,
15351 # creating and moving files from /tmp can sometimes cause problems.
15352 # Hook for its removal unless debugging.
15353 # Note that there is a small window in which the directory will not be cleaned:
15354 # after its creation but before its name has been assigned to `$tmp'.
15358 trap 'exit_status=$?
15359 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15361 trap 'as_fn_exit 1' 1 2 13 15
15363 # Create a (secure) tmp directory for tmp files.
15366 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15367 test -n "$tmp" && test -d "$tmp"
15370 tmp
=.
/conf$$
-$RANDOM
15371 (umask 077 && mkdir
"$tmp")
15372 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15374 # Set up the scripts for CONFIG_FILES section.
15375 # No need to generate them if there are no CONFIG_FILES.
15376 # This happens for instance with `./config.status config.h'.
15377 if test -n "$CONFIG_FILES"; then
15379 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15380 ac_cs_awk_getline
=:
15381 ac_cs_awk_pipe_init
=
15382 ac_cs_awk_read_file
='
15383 while ((getline aline < (F[key])) > 0)
15386 ac_cs_awk_pipe_fini
=
15388 ac_cs_awk_getline
=false
15389 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15390 ac_cs_awk_read_file
='
15392 print "cat " F[key] " &&"
15393 '$ac_cs_awk_pipe_init
15394 # The final `:' finishes the AND list.
15395 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15397 ac_cr
=`echo X | tr X '\015'`
15398 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15399 # But we know of no other shell where ac_cr would be empty at this
15400 # point, so we can use a bashism as a fallback.
15401 if test "x$ac_cr" = x
; then
15402 eval ac_cr
=\$
\'\\r
\'
15404 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15405 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15408 ac_cs_awk_cr
=$ac_cr
15411 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15414 # Create commands to substitute file output variables.
15416 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15417 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15418 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15421 } >conf$
$files.sh
&&
15422 . .
/conf$
$files.sh ||
15423 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15424 rm -f conf$
$files.sh
15427 echo "cat >conf$$subs.awk <<_ACEOF" &&
15428 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15430 } >conf$$subs.sh ||
15431 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15432 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15434 for ac_last_try in false false false false false :; do
15435 . ./conf$$subs.sh ||
15436 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15438 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15439 if test $ac_delim_n = $ac_delim_num; then
15441 elif $ac_last_try; then
15442 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15444 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15447 rm -f conf$$subs.sh
15449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15450 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15454 s/^/S["/; s
/!.
*/"]=/
15464 s/\(.\{148\}\).*/\1/
15466 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15471 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15478 s/\(.\{148\}\).*/\1/
15480 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15484 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15489 ' <conf$$subs.awk | sed '
15494 ' >>$CONFIG_STATUS || ac_write_fail=1
15495 rm -f conf$$subs.awk
15496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15498 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15499 for (key in S) S_is_set[key] = 1
15501 \$ac_cs_awk_pipe_init
15505 nfields = split(line, field, "@
")
15507 len = length(field[1])
15508 for (i = 2; i < nfields; i++) {
15510 keylen = length(key)
15511 if (S_is_set[key]) {
15513 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15514 len += length(value) + length(field[++i])
15519 if (nfields == 3 && !substed) {
15521 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15522 \$ac_cs_awk_read_file
15528 \$ac_cs_awk_pipe_fini
15531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15532 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15533 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15536 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15537 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15540 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15541 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15542 # trailing colons and then remove the whole line if VPATH becomes empty
15543 # (actually we leave an empty line to preserve line numbers).
15544 if test "x
$srcdir" = x.; then
15545 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15546 s/:*\$(srcdir):*/:/
15547 s/:*\${srcdir}:*/:/
15549 s/^\([^=]*=[ ]*\):*/\1/
15555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15556 fi # test -n "$CONFIG_FILES"
15559 eval set X " :F
$CONFIG_FILES "
15564 :[FHLC]) ac_mode=$ac_tag; continue;;
15566 case $ac_mode$ac_tag in
15568 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15569 :[FH]-) ac_tag=-:-;;
15570 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15587 -) ac_f="$tmp/stdin";;
15588 *) # Look for the file first in the build tree, then in the source tree
15589 # (if the path is not absolute). The absolute path cannot be DOS-style,
15590 # because $ac_f cannot contain `:'.
15594 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15596 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15598 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15599 as_fn_append ac_file_inputs " '$ac_f'"
15602 # Let's still pretend it is `configure' which instantiates (i.e., don't
15603 # use $as_me), people would be surprised to read:
15604 # /* config.h. Generated by config.status. */
15605 configure_input='Generated from '`
15606 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15608 if test x"$ac_file" != x-; then
15609 configure_input="$ac_file.
$configure_input"
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15611 $as_echo "$as_me: creating
$ac_file" >&6;}
15613 # Neutralize special characters interpreted by sed in replacement strings.
15614 case $configure_input in #(
15615 *\&* | *\|* | *\\* )
15616 ac_sed_conf_input=`$as_echo "$configure_input" |
15617 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15618 *) ac_sed_conf_input=$configure_input;;
15622 *:-:* | *:-) cat >"$tmp/stdin
" \
15623 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15628 ac_dir=`$as_dirname -- "$ac_file" ||
15629 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15630 X"$ac_file" : 'X\(//\)[^/]' \| \
15631 X"$ac_file" : 'X\(//\)$' \| \
15632 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15633 $as_echo X"$ac_file" |
15634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15638 /^X\(\/\/\)[^/].*/{
15651 as_dir="$ac_dir"; as_fn_mkdir_p
15655 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15657 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15658 # A "..
" for each directory in $ac_dir_suffix.
15659 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15660 case $ac_top_builddir_sub in
15661 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15662 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15665 ac_abs_top_builddir=$ac_pwd
15666 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15667 # for backward compatibility:
15668 ac_top_builddir=$ac_top_build_prefix
15671 .) # We are building in place.
15673 ac_top_srcdir=$ac_top_builddir_sub
15674 ac_abs_top_srcdir=$ac_pwd ;;
15675 [\\/]* | ?:[\\/]* ) # Absolute name.
15676 ac_srcdir=$srcdir$ac_dir_suffix;
15677 ac_top_srcdir=$srcdir
15678 ac_abs_top_srcdir=$srcdir ;;
15679 *) # Relative name.
15680 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15681 ac_top_srcdir=$ac_top_build_prefix$srcdir
15682 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15684 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15694 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15695 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15700 # If the template does not know about datarootdir, expand it.
15701 # FIXME: This hack should be removed a few years after 2.60.
15702 ac_datarootdir_hack=; ac_datarootdir_seen=
15713 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15714 *datarootdir*) ac_datarootdir_seen=yes;;
15715 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15717 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15720 ac_datarootdir_hack='
15721 s&@datadir@&$datadir&g
15722 s&@docdir@&$docdir&g
15723 s&@infodir@&$infodir&g
15724 s&@localedir@&$localedir&g
15725 s&@mandir@&$mandir&g
15726 s&\\\${datarootdir}&$datarootdir&g' ;;
15730 # Neutralize VPATH when `$srcdir' = `.'.
15731 # Shell code in configure.ac might set extrasub.
15732 # FIXME: do we really want to maintain this feature?
15733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15734 ac_sed_extra="$ac_vpsub
15737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15739 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15740 s|@configure_input@|
$ac_sed_conf_input|
;t t
15741 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15742 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15743 s
&@srcdir@
&$ac_srcdir&;t t
15744 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15745 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15746 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15747 s
&@builddir@
&$ac_builddir&;t t
15748 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15749 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15750 s
&@INSTALL@
&$ac_INSTALL&;t t
15751 $ac_datarootdir_hack
15753 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15754 if $ac_cs_awk_getline; then
15755 $AWK -f "$tmp/subs.
awk"
15757 $AWK -f "$tmp/subs.
awk" | $SHELL
15759 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15761 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15762 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15763 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15765 which seems to be undefined. Please make sure it is defined." >&5
15766 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15767 which seems to be undefined. Please make sure it is defined." >&2;}
15771 -) cat "$tmp/out" && rm -f "$tmp/out";;
15772 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15774 || as_fn_error "could not create $ac_file" "$LINENO" 5
15782 case $ac_file$ac_mode in
15783 "Makefile":F) sed "$extrasub_build" Makefile |
15784 sed "$extrasub_host" |
15785 sed "$extrasub_target" > mf$$
15786 mv -f mf$$ Makefile ;;
15794 ac_clean_files=$ac_clean_files_save
15796 test $ac_write_fail = 0 ||
15797 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15800 # configure is writing to config.log, and then calls config.status.
15801 # config.status does its own redirection, appending to config.log.
15802 # Unfortunately, on DOS this fails, as config.log is still kept open
15803 # by configure, so config.status won't be able to
write to it
; its
15804 # output is simply discarded. So we exec the FD to /dev/null,
15805 # effectively closing config.log, so it can be properly (re)opened and
15806 # appended to by config.status. When coming back to configure, we
15807 # need to make the FD available again.
15808 if test "$no_create" != yes; then
15810 ac_config_status_args
=
15811 test "$silent" = yes &&
15812 ac_config_status_args
="$ac_config_status_args --quiet"
15814 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15816 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15817 # would make configure fail if this is the last instruction.
15818 $ac_cs_success || as_fn_exit $?
15820 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15822 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}