2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="move-if-change"
586 enable_option_checking
=no
587 ac_subst_vars
='LTLIBOBJS
594 MAINTAINER_MODE_FALSE
596 COMPILER_NM_FOR_TARGET
597 COMPILER_LD_FOR_TARGET
598 COMPILER_AS_FOR_TARGET
674 DEBUG_PREFIX_CFLAGS_FOR_TARGET
675 SYSROOT_CFLAGS_FOR_TARGET
677 extra_host_zlib_configure_flags
678 extra_host_libiberty_configure_flags
681 extra_linker_plugin_flags
682 extra_linker_plugin_configure_flags
689 extra_isl_gmp_configure_flags
690 extra_mpc_mpfr_configure_flags
691 extra_mpc_gmp_configure_flags
692 extra_mpfr_configure_flags
708 extra_liboffloadmic_configure_flags
735 TOPLEVEL_CONFIGURE_ARGUMENTS
763 program_transform_name
774 ac_subst_files
='serialization_dependencies
780 enable_option_checking
783 enable_as_accelerator_for
784 enable_offload_targets
787 enable_compressed_debug_sections
789 enable_libquadmath_support
807 with_static_standard_libraries
814 enable_isl_version_check
816 enable_linker_plugin_configure_flags
817 enable_linker_plugin_flags
819 enable_stage1_languages
822 with_target_bdw_gc_include
823 with_target_bdw_gc_lib
824 with_gcc_major_version_only
826 with_debug_prefix_map
829 enable_serial_configure
830 with_build_time_tools
831 enable_maintainer_mode
832 enable_stage1_checking
835 ac_precious_vars
='build_alias
882 # Initialize some variables set by options.
884 ac_init_version
=false
885 ac_unrecognized_opts
=
887 # The variables have the same names as the options, with
888 # dashes changed to underlines.
896 program_transform_name
=s
,x
,x
,
904 # Installation directory options.
905 # These are left unexpanded so users can "make install exec_prefix=/foo"
906 # and all the variables that are supposed to be based on exec_prefix
907 # by default will actually change.
908 # Use braces instead of parens because sh, perl, etc. also accept them.
909 # (The list follows the same order as the GNU Coding Standards.)
910 bindir
='${exec_prefix}/bin'
911 sbindir
='${exec_prefix}/sbin'
912 libexecdir
='${exec_prefix}/libexec'
913 datarootdir
='${prefix}/share'
914 datadir
='${datarootdir}'
915 sysconfdir
='${prefix}/etc'
916 sharedstatedir
='${prefix}/com'
917 localstatedir
='${prefix}/var'
918 includedir
='${prefix}/include'
919 oldincludedir
='/usr/include'
920 docdir
='${datarootdir}/doc/${PACKAGE}'
921 infodir
='${datarootdir}/info'
926 libdir
='${exec_prefix}/lib'
927 localedir
='${datarootdir}/locale'
928 mandir
='${datarootdir}/man'
934 # If the previous option needs an argument, assign it.
935 if test -n "$ac_prev"; then
936 eval $ac_prev=\
$ac_option
942 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
947 # Accept the important Cygnus configure options, so we can diagnose typos.
949 case $ac_dashdash$ac_option in
953 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
955 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
958 -build |
--build |
--buil |
--bui |
--bu)
959 ac_prev
=build_alias
;;
960 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
961 build_alias
=$ac_optarg ;;
963 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
964 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
965 ac_prev
=cache_file
;;
966 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
967 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
968 cache_file
=$ac_optarg ;;
971 cache_file
=config.cache
;;
973 -datadir |
--datadir |
--datadi |
--datad)
975 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
976 datadir
=$ac_optarg ;;
978 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
979 |
--dataroo |
--dataro |
--datar)
980 ac_prev
=datarootdir
;;
981 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
982 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
983 datarootdir
=$ac_optarg ;;
985 -disable-* |
--disable-*)
986 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
989 as_fn_error $?
"invalid feature name: $ac_useropt"
990 ac_useropt_orig
=$ac_useropt
991 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
996 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
997 ac_unrecognized_sep
=', ';;
999 eval enable_
$ac_useropt=no
;;
1001 -docdir |
--docdir |
--docdi |
--doc |
--do)
1003 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1004 docdir
=$ac_optarg ;;
1006 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1008 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1009 dvidir
=$ac_optarg ;;
1011 -enable-* |
--enable-*)
1012 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1015 as_fn_error $?
"invalid feature name: $ac_useropt"
1016 ac_useropt_orig
=$ac_useropt
1017 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1020 "enable_
$ac_useropt"
1022 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1023 ac_unrecognized_sep
=', ';;
1025 eval enable_
$ac_useropt=\
$ac_optarg ;;
1027 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1028 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1029 |
--exec |
--exe |
--ex)
1030 ac_prev
=exec_prefix
;;
1031 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1032 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1033 |
--exec=* |
--exe=* |
--ex=*)
1034 exec_prefix
=$ac_optarg ;;
1036 -gas |
--gas |
--ga |
--g)
1037 # Obsolete; use --with-gas.
1040 -help |
--help |
--hel |
--he |
-h)
1041 ac_init_help
=long
;;
1042 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1043 ac_init_help
=recursive
;;
1044 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1045 ac_init_help
=short
;;
1047 -host |
--host |
--hos |
--ho)
1048 ac_prev
=host_alias
;;
1049 -host=* |
--host=* |
--hos=* |
--ho=*)
1050 host_alias
=$ac_optarg ;;
1052 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1054 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1056 htmldir
=$ac_optarg ;;
1058 -includedir |
--includedir |
--includedi |
--included |
--include \
1059 |
--includ |
--inclu |
--incl |
--inc)
1060 ac_prev
=includedir
;;
1061 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1062 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1063 includedir
=$ac_optarg ;;
1065 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1067 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1068 infodir
=$ac_optarg ;;
1070 -libdir |
--libdir |
--libdi |
--libd)
1072 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1073 libdir
=$ac_optarg ;;
1075 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1076 |
--libexe |
--libex |
--libe)
1077 ac_prev
=libexecdir
;;
1078 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1079 |
--libexe=* |
--libex=* |
--libe=*)
1080 libexecdir
=$ac_optarg ;;
1082 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1083 ac_prev
=localedir
;;
1084 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1085 localedir
=$ac_optarg ;;
1087 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1088 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1089 ac_prev
=localstatedir
;;
1090 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1091 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1092 localstatedir
=$ac_optarg ;;
1094 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1096 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1097 mandir
=$ac_optarg ;;
1099 -nfp |
--nfp |
--nf)
1100 # Obsolete; use --without-fp.
1103 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1104 |
--no-cr |
--no-c |
-n)
1107 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1108 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1111 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1112 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1113 |
--oldin |
--oldi |
--old |
--ol |
--o)
1114 ac_prev
=oldincludedir
;;
1115 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1116 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1117 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1118 oldincludedir
=$ac_optarg ;;
1120 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1122 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1123 prefix
=$ac_optarg ;;
1125 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1126 |
--program-pre |
--program-pr |
--program-p)
1127 ac_prev
=program_prefix
;;
1128 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1129 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1130 program_prefix
=$ac_optarg ;;
1132 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1133 |
--program-suf |
--program-su |
--program-s)
1134 ac_prev
=program_suffix
;;
1135 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1136 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1137 program_suffix
=$ac_optarg ;;
1139 -program-transform-name |
--program-transform-name \
1140 |
--program-transform-nam |
--program-transform-na \
1141 |
--program-transform-n |
--program-transform- \
1142 |
--program-transform |
--program-transfor \
1143 |
--program-transfo |
--program-transf \
1144 |
--program-trans |
--program-tran \
1145 |
--progr-tra |
--program-tr |
--program-t)
1146 ac_prev
=program_transform_name
;;
1147 -program-transform-name=* |
--program-transform-name=* \
1148 |
--program-transform-nam=* |
--program-transform-na=* \
1149 |
--program-transform-n=* |
--program-transform-=* \
1150 |
--program-transform=* |
--program-transfor=* \
1151 |
--program-transfo=* |
--program-transf=* \
1152 |
--program-trans=* |
--program-tran=* \
1153 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1154 program_transform_name
=$ac_optarg ;;
1156 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1158 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1159 pdfdir
=$ac_optarg ;;
1161 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1163 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1166 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1167 |
-silent |
--silent |
--silen |
--sile |
--sil)
1170 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1172 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1174 sbindir
=$ac_optarg ;;
1176 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1177 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1178 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1180 ac_prev
=sharedstatedir
;;
1181 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1182 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1183 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1185 sharedstatedir
=$ac_optarg ;;
1187 -site |
--site |
--sit)
1189 -site=* |
--site=* |
--sit=*)
1192 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1194 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1195 srcdir
=$ac_optarg ;;
1197 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1198 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1199 ac_prev
=sysconfdir
;;
1200 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1201 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1202 sysconfdir
=$ac_optarg ;;
1204 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1205 ac_prev
=target_alias
;;
1206 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1207 target_alias
=$ac_optarg ;;
1209 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1212 -version |
--version |
--versio |
--versi |
--vers |
-V)
1213 ac_init_version
=: ;;
1216 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1217 # Reject names that are not valid shell variable names.
1218 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1219 as_fn_error $?
"invalid package name: $ac_useropt"
1220 ac_useropt_orig
=$ac_useropt
1221 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1222 case $ac_user_opts in
1226 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1227 ac_unrecognized_sep
=', ';;
1229 eval with_
$ac_useropt=\
$ac_optarg ;;
1231 -without-* |
--without-*)
1232 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1233 # Reject names that are not valid shell variable names.
1234 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1235 as_fn_error $?
"invalid package name: $ac_useropt"
1236 ac_useropt_orig
=$ac_useropt
1237 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1238 case $ac_user_opts in
1242 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1243 ac_unrecognized_sep
=', ';;
1245 eval with_
$ac_useropt=no
;;
1248 # Obsolete; use --with-x.
1251 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1252 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1253 ac_prev
=x_includes
;;
1254 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1255 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1256 x_includes
=$ac_optarg ;;
1258 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1259 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1260 ac_prev
=x_libraries
;;
1261 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1262 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1263 x_libraries
=$ac_optarg ;;
1265 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1266 Try \`$0 --help' for more information"
1270 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1271 # Reject names that are not valid shell variable names.
1272 case $ac_envvar in #(
1273 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1274 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1276 eval $ac_envvar=\
$ac_optarg
1277 export $ac_envvar ;;
1280 # FIXME: should be removed in autoconf 3.0.
1281 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1282 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1283 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1284 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1290 if test -n "$ac_prev"; then
1291 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1292 as_fn_error $?
"missing argument to $ac_option"
1295 if test -n "$ac_unrecognized_opts"; then
1296 case $enable_option_checking in
1298 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1299 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1303 # Check all directory arguments for consistency.
1304 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1305 datadir sysconfdir sharedstatedir localstatedir includedir \
1306 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1307 libdir localedir mandir
1309 eval ac_val
=\$
$ac_var
1310 # Remove trailing slashes.
1313 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1314 eval $ac_var=\
$ac_val;;
1316 # Be sure to have absolute directory names.
1318 [\\/$
]* | ?
:[\\/]* ) continue;;
1319 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1321 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1324 # There might be people who depend on the old broken behavior: `$host'
1325 # used to hold the argument of --host etc.
1326 # FIXME: To remove some day.
1329 target
=$target_alias
1331 # FIXME: To remove some day.
1332 if test "x$host_alias" != x
; then
1333 if test "x$build_alias" = x
; then
1334 cross_compiling
=maybe
1335 elif test "x$build_alias" != "x$host_alias"; then
1341 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1343 test "$silent" = yes && exec 6>/dev
/null
1346 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1347 ac_ls_di
=`ls -di .` &&
1348 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1349 as_fn_error $?
"working directory cannot be determined"
1350 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1351 as_fn_error $?
"pwd does not report name of working directory"
1354 # Find the source files, if location was not specified.
1355 if test -z "$srcdir"; then
1356 ac_srcdir_defaulted
=yes
1357 # Try the directory containing this script, then the parent directory.
1358 ac_confdir
=`$as_dirname -- "$as_myself" ||
1359 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1360 X"$as_myself" : 'X\(//\)[^/]' \| \
1361 X"$as_myself" : 'X\(//\)$' \| \
1362 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1363 $as_echo X"$as_myself" |
1364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1382 if test ! -r "$srcdir/$ac_unique_file"; then
1386 ac_srcdir_defaulted
=no
1388 if test ! -r "$srcdir/$ac_unique_file"; then
1389 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1390 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1392 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1394 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1396 # When building in place, set srcdir=.
1397 if test "$ac_abs_confdir" = "$ac_pwd"; then
1400 # Remove unnecessary trailing slashes from srcdir.
1401 # Double slashes in file names in object file debugging info
1402 # mess up M-x gdb in Emacs.
1404 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1408 as_fn_error $?
"path to source, $srcdir, contains spaces"
1411 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1413 for ac_var
in $ac_precious_vars; do
1414 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1415 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1416 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1417 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1421 # Report the --help message.
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1427 \`configure' configures this package to adapt to many kinds of systems.
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1434 Defaults for the options are specified in brackets.
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking ...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1458 For better control, use the options below.
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1485 --program-prefix=PREFIX prepend PREFIX to installed program names
1486 --program-suffix=SUFFIX append SUFFIX to installed program names
1487 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1490 --build=BUILD configure
for building on BUILD
[guessed
]
1491 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1492 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1496 if test -n "$ac_init_help"; then
1501 --disable-option-checking ignore unrecognized
--enable/--with options
1502 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1503 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1504 --enable-as-accelerator-for=ARG
1505 build as offload target compiler. Specify offload
1507 --enable-offload-targets=LIST
1508 enable offloading to devices from comma-separated
1509 LIST of TARGET
[=DIR
]. Use optional path to
find
1510 offload target compiler during the build
1511 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1512 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1513 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1514 Enable compressed debug sections
for gas
, gold or ld
1516 --disable-libquadmath do not build libquadmath directory
1517 --disable-libquadmath-support
1518 disable libquadmath support
for Fortran
1519 --enable-libada build libada directory
1520 --enable-libssp build libssp directory
1521 --disable-libstdcxx do not build libstdc
++-v3 directory
1522 --enable-liboffloadmic=ARG
1523 build liboffloadmic
[ARG
={no
,host,target
}]
1524 --enable-bootstrap enable bootstrapping
[yes if native build
]
1525 --disable-isl-version-check
1526 disable check
for isl version
1527 --enable-lto enable link
time optimization support
1528 --enable-linker-plugin-configure-flags=FLAGS
1529 additional flags
for configuring linker plugins
1531 --enable-linker-plugin-flags=FLAGS
1532 additional flags
for configuring and building linker
1534 --enable-host-shared build
host code as shared libraries
1535 --enable-stage1-languages[=all
]
1536 choose additional languages to build during stage1.
1537 Mostly useful
for compiler development
1538 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1540 --enable-vtable-verify Enable vtable verification feature
1541 --enable-serial-[{host,target,build}-]configure
1542 force sequential configuration of sub-packages for
1543 the host, target or build machine, or all
1545 --enable-maintainer-mode
1546 enable make rules and dependencies not useful (and
1547 sometimes confusing) to the casual installer
1548 --enable-stage1-checking[=all]
1549 choose additional checking for stage1 of the
1551 --enable-werror enable -Werror in bootstrap stage2 and later
1554 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1555 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1556 --with-build-libsubdir=DIR Directory where to find libraries for build system
1557 --with-system-zlib use installed libz
1558 --with-mpc=PATH specify prefix directory for installed MPC package.
1559 Equivalent to --with-mpc-include=PATH/include plus
1560 --with-mpc-lib=PATH/lib
1561 --with-mpc-include=PATH specify directory for installed MPC include files
1562 --with-mpc-lib=PATH specify directory for the installed MPC library
1563 --with-mpfr-dir=PATH this option has been REMOVED
1564 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1565 Equivalent to --with-mpfr-include=PATH/include plus
1566 --with-mpfr-lib=PATH/lib
1567 --with-mpfr-include=PATH
1568 specify directory for installed MPFR include files
1569 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1570 --with-gmp-dir=PATH this option has been REMOVED
1571 --with-gmp=PATH specify prefix directory for the installed GMP
1572 package. Equivalent to
1573 --with-gmp-include=PATH/include plus
1574 --with-gmp-lib=PATH/lib
1575 --with-gmp-include=PATH specify directory for installed GMP include files
1576 --with-gmp-lib=PATH specify directory for the installed GMP library
1577 --with-stage1-libs=LIBS libraries for stage1
1578 --with-static-standard-libraries
1579 use -static-libstdc++ and -static-libgcc
1581 --with-stage1-ldflags=FLAGS
1582 linker flags for stage1
1583 --with-boot-libs=LIBS libraries for stage2 and later
1584 --with-boot-ldflags=FLAGS
1585 linker flags for stage2 and later
1586 --with-isl=PATH Specify prefix directory for the installed isl
1587 package. Equivalent to
1588 --with-isl-include=PATH/include plus
1589 --with-isl-lib=PATH/lib
1590 --with-isl-include=PATH Specify directory for installed isl include files
1591 --with-isl-lib=PATH Specify the directory for the installed isl library
1592 --with-target-bdw-gc=PATHLIST
1593 specify prefix directory for installed bdw-gc
1594 package. Equivalent to
1595 --with-target-bdw-gc-include=PATH/include plus
1596 --with-target-bdw-gc-lib=PATH/lib
1597 --with-target-bdw-gc-include=PATHLIST
1598 specify directories for installed bdw-gc include
1600 --with-target-bdw-gc-lib=PATHLIST
1601 specify directories for installed bdw-gc library
1602 --with-gcc-major-version-only
1603 use only GCC major number in filesystem paths
1604 --with-build-sysroot=SYSROOT
1605 use sysroot as the system root during the build
1606 --with-debug-prefix-map='A
=B C
=D ...
'
1607 map A to B, C to D ... in debug information
1608 --with-build-config='NAME NAME2...
'
1609 use config/NAME.mk build configuration
1610 --with-build-time-tools=PATH
1611 use given path to find target tools during the build
1613 Some influential environment variables:
1614 CC C compiler command
1615 CFLAGS C compiler flags
1616 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1617 nonstandard directory <lib dir>
1618 LIBS libraries to pass to the linker, e.g. -l<library>
1619 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1620 you have headers in a nonstandard directory <include dir>
1621 CXX C++ compiler command
1622 CXXFLAGS C++ compiler flags
1624 additional configure arguments for build directories
1626 additional configure arguments for host directories
1628 additional configure arguments for target directories
1631 DLLTOOL DLLTOOL for the host
1633 LIPO LIPO for the host
1635 RANLIB RANLIB for the host
1636 STRIP STRIP for the host
1637 WINDRES WINDRES for the host
1638 WINDMC WINDMC for the host
1639 OBJCOPY OBJCOPY for the host
1640 OBJDUMP OBJDUMP for the host
1641 READELF READELF for the host
1649 GFORTRAN for the target
1657 DLLTOOL for the target
1665 OBJCOPY for the target
1667 OBJDUMP for the target
1669 RANLIB for the target
1671 READELF for the target
1673 STRIP for the target
1675 WINDRES for the target
1677 WINDMC for the target
1679 Use these variables to override the choices made by `configure' or to
help
1680 it to
find libraries and programs with nonstandard names
/locations.
1682 Report bugs to the package provider.
1687 if test "$ac_init_help" = "recursive"; then
1688 # If there are subdirs, report their specific --help.
1689 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1690 test -d "$ac_dir" ||
1691 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1696 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1698 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1699 # A ".." for each directory in $ac_dir_suffix.
1700 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1701 case $ac_top_builddir_sub in
1702 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1703 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1706 ac_abs_top_builddir
=$ac_pwd
1707 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1708 # for backward compatibility:
1709 ac_top_builddir
=$ac_top_build_prefix
1712 .
) # We are building in place.
1714 ac_top_srcdir
=$ac_top_builddir_sub
1715 ac_abs_top_srcdir
=$ac_pwd ;;
1716 [\\/]* | ?
:[\\/]* ) # Absolute name.
1717 ac_srcdir
=$srcdir$ac_dir_suffix;
1718 ac_top_srcdir
=$srcdir
1719 ac_abs_top_srcdir
=$srcdir ;;
1721 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1722 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1723 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1725 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1727 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1728 # Check for guested configure.
1729 if test -f "$ac_srcdir/configure.gnu"; then
1731 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1732 elif test -f "$ac_srcdir/configure"; then
1734 $SHELL "$ac_srcdir/configure" --help=recursive
1736 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1738 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1742 test -n "$ac_init_help" && exit $ac_status
1743 if $ac_init_version; then
1746 generated by GNU Autoconf
2.69
1748 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1749 This configure
script is free software
; the Free Software Foundation
1750 gives unlimited permission to copy
, distribute and modify it.
1755 ## ------------------------ ##
1756 ## Autoconf initialization. ##
1757 ## ------------------------ ##
1759 # ac_fn_c_try_compile LINENO
1760 # --------------------------
1761 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1762 ac_fn_c_try_compile
()
1764 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1765 rm -f conftest.
$ac_objext
1766 if { { ac_try
="$ac_compile"
1768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_compile") 2>conftest.err
1775 if test -s conftest.err; then
1776 grep -v '^ *+' conftest.err >conftest.er1
1777 cat conftest.er1 >&5
1778 mv -f conftest.er1 conftest.err
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } && {
1782 test -z "$ac_c_werror_flag" ||
1783 test ! -s conftest.err
1784 } && test -s conftest.$ac_objext; then :
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 as_fn_set_status $ac_retval
1795 } # ac_fn_c_try_compile
1797 # ac_fn_cxx_try_compile LINENO
1798 # ----------------------------
1799 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1800 ac_fn_cxx_try_compile ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 rm -f conftest.$ac_objext
1804 if { { ac_try="$ac_compile"
1806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1807 *) ac_try_echo
=$ac_try;;
1809 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_compile") 2>conftest.err
1813 if test -s conftest.err
; then
1814 grep -v '^ *+' conftest.err
>conftest.er1
1815 cat conftest.er1
>&5
1816 mv -f conftest.er1 conftest.err
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; } && {
1820 test -z "$ac_cxx_werror_flag" ||
1821 test ! -s conftest.err
1822 } && test -s conftest.
$ac_objext; then :
1825 $as_echo "$as_me: failed program was:" >&5
1826 sed 's/^/| /' conftest.
$ac_ext >&5
1830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831 as_fn_set_status
$ac_retval
1833 } # ac_fn_cxx_try_compile
1835 # ac_fn_cxx_try_link LINENO
1836 # -------------------------
1837 # Try to link conftest.$ac_ext, and return whether this succeeded.
1838 ac_fn_cxx_try_link
()
1840 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1841 rm -f conftest.
$ac_objext conftest
$ac_exeext
1842 if { { ac_try
="$ac_link"
1844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1845 *) ac_try_echo=$ac_try;;
1847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1848 $as_echo "$ac_try_echo"; } >&5
1849 (eval "$ac_link") 2>conftest.err
1851 if test -s conftest.err; then
1852 grep -v '^ *+' conftest.err >conftest.er1
1853 cat conftest.er1 >&5
1854 mv -f conftest.er1 conftest.err
1856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857 test $ac_status = 0; } && {
1858 test -z "$ac_cxx_werror_flag" ||
1859 test ! -s conftest.err
1860 } && test -s conftest$ac_exeext && {
1861 test "$cross_compiling" = yes ||
1862 test -x conftest$ac_exeext
1866 $as_echo "$as_me: failed program was:" >&5
1867 sed 's/^/| /' conftest.$ac_ext >&5
1871 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1872 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1873 # interfere with the next link command; also delete a directory that is
1874 # left behind by Apple's compiler. We do this before executing the actions.
1875 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 as_fn_set_status $ac_retval
1879 } # ac_fn_cxx_try_link
1881 # ac_fn_c_try_link LINENO
1882 # -----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded.
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 rm -f conftest.$ac_objext conftest$ac_exeext
1888 if { { ac_try="$ac_link"
1890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1891 *) ac_try_echo
=$ac_try;;
1893 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>conftest.err
1897 if test -s conftest.err
; then
1898 grep -v '^ *+' conftest.err
>conftest.er1
1899 cat conftest.er1
>&5
1900 mv -f conftest.er1 conftest.err
1902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903 test $ac_status = 0; } && {
1904 test -z "$ac_c_werror_flag" ||
1905 test ! -s conftest.err
1906 } && test -s conftest
$ac_exeext && {
1907 test "$cross_compiling" = yes ||
1908 test -x conftest
$ac_exeext
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.
$ac_ext >&5
1917 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1918 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1919 # interfere with the next link command; also delete a directory that is
1920 # left behind by Apple's compiler. We do this before executing the actions.
1921 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1923 as_fn_set_status
$ac_retval
1925 } # ac_fn_c_try_link
1926 cat >config.log
<<_ACEOF
1927 This file contains any messages produced by compilers while
1928 running configure, to aid debugging if configure makes a mistake.
1930 It was created by $as_me, which was
1931 generated by GNU Autoconf 2.69. Invocation command line was
1943 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1944 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1945 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1946 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1947 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1949 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1950 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1952 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1953 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1954 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1955 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1956 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1957 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1958 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1966 test -z "$as_dir" && as_dir
=.
1967 $as_echo "PATH: $as_dir"
1983 # Keep a trace of the command line.
1984 # Strip out --no-create and --no-recursion so they do not pile up.
1985 # Strip out --silent because we don't want to record it for future runs.
1986 # Also quote any args containing shell meta-characters.
1987 # Make two passes to allow for proper duplicate-argument suppression.
1991 ac_must_keep_next
=false
1997 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1998 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1999 |
-silent |
--silent |
--silen |
--sile |
--sil)
2002 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2005 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2007 as_fn_append ac_configure_args1
" '$ac_arg'"
2008 if test $ac_must_keep_next = true
; then
2009 ac_must_keep_next
=false
# Got value, back to normal.
2012 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2013 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2014 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2015 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2016 case "$ac_configure_args0 " in
2017 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2020 -* ) ac_must_keep_next
=true
;;
2023 as_fn_append ac_configure_args
" '$ac_arg'"
2028 { ac_configure_args0
=; unset ac_configure_args0
;}
2029 { ac_configure_args1
=; unset ac_configure_args1
;}
2031 # When interrupted or exit'd, cleanup temporary files, and complete
2032 # config.log. We remove comments because anyway the quotes in there
2033 # would cause problems or look ugly.
2034 # WARNING: Use '\'' to represent an apostrophe within the trap.
2035 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2036 trap 'exit_status=$?
2037 # Save into config.log some information that might help in debugging.
2041 $as_echo "## ---------------- ##
2042 ## Cache variables. ##
2043 ## ---------------- ##"
2045 # The following way of writing the cache mishandles newlines in values,
2047 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2048 eval ac_val=\$$ac_var
2052 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2053 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2056 _ | IFS | as_nl) ;; #(
2057 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2058 *) { eval $ac_var=; unset $ac_var;} ;;
2063 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2064 *${as_nl}ac_space=\ *)
2066 "s/'\''/'\''\\\\'\'''\''/g;
2067 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2077 $as_echo "## ----------------- ##
2078 ## Output variables. ##
2079 ## ----------------- ##"
2081 for ac_var in $ac_subst_vars
2083 eval ac_val=\$$ac_var
2085 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2087 $as_echo "$ac_var='\''$ac_val'\''"
2091 if test -n "$ac_subst_files"; then
2092 $as_echo "## ------------------- ##
2093 ## File substitutions. ##
2094 ## ------------------- ##"
2096 for ac_var
in $ac_subst_files
2098 eval ac_val
=\$
$ac_var
2100 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2102 $as_echo "$ac_var='\''$ac_val'\''"
2107 if test -s confdefs.h; then
2108 $as_echo "## ----------- ##
2115 test "$ac_signal" != 0 &&
2116 $as_echo "$as_me: caught signal $ac_signal"
2117 $as_echo "$as_me: exit $exit_status"
2119 rm -f core *.core core.conftest.* &&
2120 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2123 for ac_signal
in 1 2 13 15; do
2124 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2128 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2129 rm -f -r conftest
* confdefs.h
2131 $as_echo "/* confdefs.h */" > confdefs.h
2133 # Predefined preprocessor variables.
2135 cat >>confdefs.h
<<_ACEOF
2136 #define PACKAGE_NAME "$PACKAGE_NAME"
2139 cat >>confdefs.h
<<_ACEOF
2140 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2143 cat >>confdefs.h
<<_ACEOF
2144 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2147 cat >>confdefs.h
<<_ACEOF
2148 #define PACKAGE_STRING "$PACKAGE_STRING"
2151 cat >>confdefs.h
<<_ACEOF
2152 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2155 cat >>confdefs.h
<<_ACEOF
2156 #define PACKAGE_URL "$PACKAGE_URL"
2160 # Let the site file select an alternate cache file if it wants to.
2161 # Prefer an explicitly selected file to automatically selected ones.
2164 if test -n "$CONFIG_SITE"; then
2165 # We do not want a PATH search for config.site.
2166 case $CONFIG_SITE in #((
2167 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2168 */*) ac_site_file1
=$CONFIG_SITE;;
2169 *) ac_site_file1
=.
/$CONFIG_SITE;;
2171 elif test "x$prefix" != xNONE
; then
2172 ac_site_file1
=$prefix/share
/config.site
2173 ac_site_file2
=$prefix/etc
/config.site
2175 ac_site_file1
=$ac_default_prefix/share
/config.site
2176 ac_site_file2
=$ac_default_prefix/etc
/config.site
2178 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2180 test "x$ac_site_file" = xNONE
&& continue
2181 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2183 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2184 sed 's/^/| /' "$ac_site_file" >&5
2186 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2188 as_fn_error $?
"failed to load site script $ac_site_file
2189 See \`config.log' for more details" "$LINENO" 5; }
2193 if test -r "$cache_file"; then
2194 # Some versions of bash will fail to source /dev/null (special files
2195 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2196 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2198 $as_echo "$as_me: loading cache $cache_file" >&6;}
2200 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2201 *) .
"./$cache_file";;
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2206 $as_echo "$as_me: creating cache $cache_file" >&6;}
2210 # Check that the precious variables saved in the cache have kept the same
2212 ac_cache_corrupted
=false
2213 for ac_var
in $ac_precious_vars; do
2214 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2215 eval ac_new_set
=\
$ac_env_${ac_var}_set
2216 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2217 eval ac_new_val
=\
$ac_env_${ac_var}_value
2218 case $ac_old_set,$ac_new_set in
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2221 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2222 ac_cache_corrupted
=: ;;
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2225 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2226 ac_cache_corrupted
=: ;;
2229 if test "x$ac_old_val" != "x$ac_new_val"; then
2230 # differences in whitespace do not lead to failure.
2231 ac_old_val_w
=`echo x $ac_old_val`
2232 ac_new_val_w
=`echo x $ac_new_val`
2233 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2235 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2236 ac_cache_corrupted
=:
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2239 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2240 eval $ac_var=\
$ac_old_val
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2243 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2245 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2248 # Pass precious variables to config.status.
2249 if test "$ac_new_set" = set; then
2251 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2252 *) ac_arg
=$ac_var=$ac_new_val ;;
2254 case " $ac_configure_args " in
2255 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2256 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2260 if $ac_cache_corrupted; then
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2264 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2265 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2267 ## -------------------- ##
2268 ## Main body of script. ##
2269 ## -------------------- ##
2272 ac_cpp
='$CPP $CPPFLAGS'
2273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2285 # if PWD already has a value, it is probably wrong.
2286 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2288 # Export original configure arguments for use by sub-configures.
2289 # Quote arguments with shell meta charatcers.
2290 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2291 set -- "$progname" "$@"
2295 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2296 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2297 # if the argument is of the form -foo=baz, quote the baz part only
2298 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2301 # Add the quoted argument to the list.
2302 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2304 if test "$silent" = yes; then
2305 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2307 # Remove the initial space we just introduced and, as these will be
2308 # expanded by make, quote '$'.
2309 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2312 # Find the build, host, and target systems.
2314 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2315 if test -f "$ac_dir/install-sh"; then
2317 ac_install_sh
="$ac_aux_dir/install-sh -c"
2319 elif test -f "$ac_dir/install.sh"; then
2321 ac_install_sh
="$ac_aux_dir/install.sh -c"
2323 elif test -f "$ac_dir/shtool"; then
2325 ac_install_sh
="$ac_aux_dir/shtool install -c"
2329 if test -z "$ac_aux_dir"; then
2330 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2333 # These three variables are undocumented and unsupported,
2334 # and are intended to be withdrawn in a future Autoconf release.
2335 # They can cause serious problems if a builder's source tree is in a directory
2336 # whose full name contains unusual characters.
2337 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2338 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2339 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2342 # Make sure we can run config.sub.
2343 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2344 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2347 $as_echo_n "checking build system type... " >&6; }
2348 if ${ac_cv_build+:} false
; then :
2349 $as_echo_n "(cached) " >&6
2351 ac_build_alias
=$build_alias
2352 test "x$ac_build_alias" = x
&&
2353 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2354 test "x$ac_build_alias" = x
&&
2355 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2356 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2357 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2361 $as_echo "$ac_cv_build" >&6; }
2362 case $ac_cv_build in
2364 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2367 ac_save_IFS
=$IFS; IFS
='-'
2373 # Remember, the first character of IFS is used to create $*,
2374 # except with old shells:
2377 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2380 case ${build_alias} in
2381 "") build_noncanonical
=${build} ;;
2382 *) build_noncanonical
=${build_alias} ;;
2387 case ${host_alias} in
2388 "") host_noncanonical
=${build_noncanonical} ;;
2389 *) host_noncanonical
=${host_alias} ;;
2394 case ${target_alias} in
2395 "") target_noncanonical
=${host_noncanonical} ;;
2396 *) target_noncanonical
=${target_alias} ;;
2402 test "$host_noncanonical" = "$target_noncanonical" &&
2403 test "$program_prefix$program_suffix$program_transform_name" = \
2405 program_transform_name
=s
,y
,y
,
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2408 $as_echo_n "checking host system type... " >&6; }
2409 if ${ac_cv_host+:} false
; then :
2410 $as_echo_n "(cached) " >&6
2412 if test "x$host_alias" = x
; then
2413 ac_cv_host
=$ac_cv_build
2415 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2416 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2421 $as_echo "$ac_cv_host" >&6; }
2424 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2427 ac_save_IFS
=$IFS; IFS
='-'
2433 # Remember, the first character of IFS is used to create $*,
2434 # except with old shells:
2437 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2441 $as_echo_n "checking target system type... " >&6; }
2442 if ${ac_cv_target+:} false
; then :
2443 $as_echo_n "(cached) " >&6
2445 if test "x$target_alias" = x
; then
2446 ac_cv_target
=$ac_cv_host
2448 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2449 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2454 $as_echo "$ac_cv_target" >&6; }
2455 case $ac_cv_target in
2457 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2459 target
=$ac_cv_target
2460 ac_save_IFS
=$IFS; IFS
='-'
2466 # Remember, the first character of IFS is used to create $*,
2467 # except with old shells:
2470 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2473 # The aliases save the names the user supplied, while $host etc.
2474 # will get canonicalized.
2475 test -n "$target_alias" &&
2476 test "$program_prefix$program_suffix$program_transform_name" = \
2478 program_prefix
=${target_alias}-
2480 test "$program_prefix" != NONE
&&
2481 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2482 # Use a double $ so make ignores it.
2483 test "$program_suffix" != NONE
&&
2484 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2485 # Double any \ or $.
2486 # By default was `s,x,x', remove it if useless.
2487 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2488 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2492 # Get 'install' or 'install-sh' and its variants.
2493 # Find a good install program. We prefer a C program (faster),
2494 # so one script is as good as another. But avoid the broken or
2495 # incompatible versions:
2496 # SysV /etc/install, /usr/sbin/install
2497 # SunOS /usr/etc/install
2498 # IRIX /sbin/install
2500 # AmigaOS /C/install, which installs bootblocks on floppy discs
2501 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2502 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2503 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2504 # OS/2's system install, which has a completely different semantic
2505 # ./install, which can be erroneously created by make from ./install.sh.
2506 # Reject install programs that cannot install multiple files.
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2508 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2509 if test -z "$INSTALL"; then
2510 if ${ac_cv_path_install+:} false
; then :
2511 $as_echo_n "(cached) " >&6
2513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2517 test -z "$as_dir" && as_dir
=.
2518 # Account for people who put trailing slashes in PATH elements.
2519 case $as_dir/ in #((
2520 .
/ | .
// |
/[cC
]/* | \
2521 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2522 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2525 # OSF1 and SCO ODT 3.0 have their own names for install.
2526 # Don't use installbsd from OSF since it installs stuff as root
2528 for ac_prog
in ginstall scoinst
install; do
2529 for ac_exec_ext
in '' $ac_executable_extensions; do
2530 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2531 if test $ac_prog = install &&
2532 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2533 # AIX install. It has an incompatible calling convention.
2535 elif test $ac_prog = install &&
2536 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2537 # program-specific install script used by HP pwplus--don't use.
2540 rm -rf conftest.one conftest.two conftest.dir
2541 echo one
> conftest.one
2542 echo two
> conftest.two
2544 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2545 test -s conftest.one
&& test -s conftest.two
&&
2546 test -s conftest.dir
/conftest.one
&&
2547 test -s conftest.dir
/conftest.two
2549 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2562 rm -rf conftest.one conftest.two conftest.dir
2565 if test "${ac_cv_path_install+set}" = set; then
2566 INSTALL
=$ac_cv_path_install
2568 # As a last resort, use the slow shell script. Don't cache a
2569 # value for INSTALL within a source directory, because that will
2570 # break other packages using the cache if that directory is
2571 # removed, or if the value is a relative name.
2572 INSTALL
=$ac_install_sh
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2576 $as_echo "$INSTALL" >&6; }
2578 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2579 # It thinks the first close brace ends the variable substitution.
2580 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2582 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2584 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2587 $as_echo_n "checking whether ln works... " >&6; }
2588 if ${acx_cv_prog_LN+:} false
; then :
2589 $as_echo_n "(cached) " >&6
2591 rm -f conftestdata_t
2592 echo >conftestdata_f
2593 if ln conftestdata_f conftestdata_t
2>/dev
/null
2599 rm -f conftestdata_f conftestdata_t
2602 if test $acx_cv_prog_LN = no
; then
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2605 $as_echo "no, using $LN" >&6; }
2607 LN
="$acx_cv_prog_LN"
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2609 $as_echo "yes" >&6; }
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2613 $as_echo_n "checking whether ln -s works... " >&6; }
2615 if test "$LN_S" = "ln -s"; then
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2617 $as_echo "yes" >&6; }
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2620 $as_echo "no, using $LN_S" >&6; }
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2624 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2625 if ${ac_cv_path_SED+:} false
; then :
2626 $as_echo_n "(cached) " >&6
2628 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2629 for ac_i
in 1 2 3 4 5 6 7; do
2630 ac_script
="$ac_script$as_nl$ac_script"
2632 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2633 { ac_script
=; unset ac_script
;}
2634 if test -z "$SED"; then
2635 ac_path_SED_found
=false
2636 # Loop through the user's path and test for each of PROGNAME-LIST
2637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2641 test -z "$as_dir" && as_dir
=.
2642 for ac_prog
in sed gsed
; do
2643 for ac_exec_ext
in '' $ac_executable_extensions; do
2644 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2645 as_fn_executable_p
"$ac_path_SED" ||
continue
2646 # Check for GNU ac_path_SED and select it if it is found.
2647 # Check for GNU $ac_path_SED
2648 case `"$ac_path_SED" --version 2>&1` in
2650 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2653 $as_echo_n 0123456789 >"conftest.in"
2656 cat "conftest.in" "conftest.in" >"conftest.tmp"
2657 mv "conftest.tmp" "conftest.in"
2658 cp "conftest.in" "conftest.nl"
2659 $as_echo '' >> "conftest.nl"
2660 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2661 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2662 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2663 if test $ac_count -gt ${ac_path_SED_max-0}; then
2664 # Best one so far, save it but keep looking for a better one
2665 ac_cv_path_SED
="$ac_path_SED"
2666 ac_path_SED_max
=$ac_count
2668 # 10*(2^10) chars as input seems more than enough
2669 test $ac_count -gt 10 && break
2671 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2674 $ac_path_SED_found && break 3
2679 if test -z "$ac_cv_path_SED"; then
2680 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2688 $as_echo "$ac_cv_path_SED" >&6; }
2689 SED
="$ac_cv_path_SED"
2692 for ac_prog
in gawk mawk nawk
awk
2694 # Extract the first word of "$ac_prog", so it can be a program name with args.
2695 set dummy
$ac_prog; ac_word
=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_AWK+:} false
; then :
2699 $as_echo_n "(cached) " >&6
2701 if test -n "$AWK"; then
2702 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir
=.
2709 for ac_exec_ext
in '' $ac_executable_extensions; do
2710 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2711 ac_cv_prog_AWK
="$ac_prog"
2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 if test -n "$AWK"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2724 $as_echo "$AWK" >&6; }
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2731 test -n "$AWK" && break
2735 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2737 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2739 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2740 INSTALL
="${srcpwd}/install-sh -c"
2743 # Set srcdir to "." if that's what it is.
2744 # This is important for multilib support.
2746 if test "${pwd}" = "${srcpwd}" ; then
2754 ### To add a new directory to the tree, first choose whether it is a target
2755 ### or a host dependent tool. Then put it into the appropriate list
2756 ### (library or tools, host or target), doing a dependency sort.
2758 # Subdirs will be configured in the order listed in build_configdirs,
2759 # configdirs, or target_configdirs; see the serialization section below.
2761 # Dependency sorting is only needed when *configuration* must be done in
2762 # a particular order. In all cases a dependency should be specified in
2763 # the Makefile, whether or not it's implicitly specified here.
2765 # Double entries in build_configdirs, configdirs, or target_configdirs may
2766 # cause circular dependencies and break everything horribly.
2768 # these library is used by various programs built for the build
2771 build_libs
="build-libiberty build-libcpp"
2773 # these tools are built for the build environment
2774 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2776 # these libraries are used by various programs built for the host environment
2778 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
2780 # these tools are built for the host environment
2781 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2782 # know that we are building the simulator.
2783 # binutils, gas and ld appear in that order because it makes sense to run
2784 # "make check" in that particular order.
2785 # If --enable-gold is used, "gold" may replace "ld".
2786 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gdbserver gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
2788 # these libraries are built for the target environment, and are built after
2789 # the host libraries and the host tools (which may be a cross compiler)
2790 # Note that libiberty is not a target library.
2791 target_libraries
="target-libgcc \
2792 target-libbacktrace \
2796 target-liboffloadmic \
2797 target-libhsail-rt \
2800 target-libstdc++-v3 \
2801 target-libsanitizer \
2804 target-libquadmath \
2805 target-libgfortran \
2811 # these tools are built using the target libraries, and are intended to
2812 # run only in the target environment
2814 # note: any program that *uses* libraries that are in the "target_libraries"
2815 # list belongs in this list.
2817 target_tools
="target-rda"
2819 ################################################################################
2821 ## All tools belong in one of the four categories, and are assigned above
2822 ## We assign ${configdirs} this way to remove all embedded newlines. This
2823 ## is important because configure will choke if they ever get through.
2824 ## ${configdirs} is directories we build using the host tools.
2825 ## ${target_configdirs} is directories we build using the target tools.
2826 configdirs
=`echo ${host_libs} ${host_tools}`
2827 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2828 build_configdirs
=`echo ${build_libs} ${build_tools}`
2832 ################################################################################
2834 srcname
="gnu development package"
2836 # This gets set non-empty for some net releases of packages.
2839 # Define is_cross_compiler to save on calls to 'test'.
2841 if test x
"${host}" = x
"${target}" ; then
2842 is_cross_compiler
=no
2844 is_cross_compiler
=yes
2847 # Find the build and target subdir names.
2849 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2850 # have matching libraries, they should use host libraries: Makefile.tpl
2851 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2852 # However, they still use the build modules, because the corresponding
2853 # host modules (e.g. bison) are only built for the host when bootstrap
2855 # - build_subdir is where we find build modules, and never changes.
2856 # - build_libsubdir is where we find build libraries, and can be overridden.
2858 # Prefix 'build-' so this never conflicts with target_subdir.
2859 build_subdir
="build-${build_noncanonical}"
2861 # Check whether --with-build-libsubdir was given.
2862 if test "${with_build_libsubdir+set}" = set; then :
2863 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2865 build_libsubdir
="$build_subdir"
2868 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2869 if ( test $srcdir = .
&& test -d gcc
) \
2870 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2871 host_subdir
="host-${host_noncanonical}"
2876 target_subdir
=${target_noncanonical}
2878 # Be sure to cover against remnants of an in-tree build.
2879 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2880 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2881 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2884 # Skipdirs are removed silently.
2886 # Noconfigdirs are removed loudly.
2890 # Make sure we don't let GNU ld be added if we didn't want it.
2891 if test x
$with_gnu_ld = xno
; then
2893 noconfigdirs
="$noconfigdirs ld gold"
2897 # Make sure we don't let GNU as be added if we didn't want it.
2898 if test x
$with_gnu_as = xno
; then
2900 noconfigdirs
="$noconfigdirs gas"
2905 # Check whether --with-system-zlib was given.
2906 if test "${with_system_zlib+set}" = set; then :
2907 withval
=$with_system_zlib;
2910 # Make sure we don't let ZLIB be added if we didn't want it.
2911 if test x
$with_system_zlib = xyes
; then
2912 use_included_zlib
=no
2913 noconfigdirs
="$noconfigdirs zlib"
2916 # Don't compile the bundled readline/libreadline.a if --with-system-readline
2918 if test x
$with_system_readline = xyes
; then
2919 noconfigdirs
="$noconfigdirs readline"
2922 # some tools are so dependent upon X11 that if we're not building with X,
2923 # it's not even worth trying to configure, much less build, that tool.
2926 yes |
"") ;; # the default value for this tree is that X11 is available
2928 skipdirs
="${skipdirs} tk itcl libgui"
2929 # We won't be able to build gdbtk without X.
2932 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2935 # Some are only suitable for cross toolchains.
2936 # Remove these if host=target.
2937 cross_only
="target-libgloss target-newlib target-opcodes"
2939 case $is_cross_compiler in
2940 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2943 # If both --with-headers and --with-libs are specified, default to
2945 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2946 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2947 if test x
"${with_newlib}" = x
; then
2952 # Recognize --with-newlib/--without-newlib.
2953 case ${with_newlib} in
2954 no
) skipdirs
="${skipdirs} target-newlib" ;;
2955 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2958 # Check whether --enable-as-accelerator-for was given.
2959 if test "${enable_as_accelerator_for+set}" = set; then :
2960 enableval
=$enable_as_accelerator_for;
2964 # Check whether --enable-offload-targets was given.
2965 if test "${enable_offload_targets+set}" = set; then :
2966 enableval
=$enable_offload_targets;
2967 if test x
"$enable_offload_targets" = x
; then
2968 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2972 enable_offload_targets
=
2976 # Handle --enable-gold, --enable-ld.
2977 # --disable-gold [--enable-ld]
2978 # Build only ld. Default option.
2979 # --enable-gold [--enable-ld]
2980 # Build both gold and ld. Install gold as "ld.gold", install ld
2981 # as "ld.bfd" and "ld".
2982 # --enable-gold=default [--enable-ld]
2983 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2984 # install ld as "ld.bfd".
2985 # --enable-gold[=default] --disable-ld
2986 # Build only gold, which is then installed as both "ld.gold" and "ld".
2987 # --enable-gold --enable-ld=default
2988 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2990 # In other words, ld is default
2991 # --enable-gold=default --enable-ld=default
2995 # Check whether --enable-gold was given.
2996 if test "${enable_gold+set}" = set; then :
2997 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3002 case "${ENABLE_GOLD}" in
3004 # Check for ELF target.
3007 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3008 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3009 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3010 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3012 *-*-linux*aout
* |
*-*-linux*oldld
*)
3020 if test "$is_elf" = "yes"; then
3021 # Check for target supported by gold.
3023 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3024 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3025 configdirs
="$configdirs gold"
3026 if test x
${ENABLE_GOLD} = xdefault
; then
3037 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3041 # Check whether --enable-ld was given.
3042 if test "${enable_ld+set}" = set; then :
3043 enableval
=$enable_ld; ENABLE_LD
=$enableval
3049 case "${ENABLE_LD}" in
3051 if test x
${default_ld} != x
; then
3052 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3058 if test x
${ENABLE_GOLD} != xyes
; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3060 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3062 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3065 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3070 # Decide the default method for compressing debug sections.
3071 # Provide a configure time option to override our default.
3072 # Check whether --enable-compressed_debug_sections was given.
3073 if test "${enable_compressed_debug_sections+set}" = set; then :
3074 enableval
=$enable_compressed_debug_sections;
3075 if test x
"$enable_compressed_debug_sections" = xyes
; then
3076 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3080 enable_compressed_debug_sections
=
3084 # Configure extra directories which are host specific
3088 configdirs
="$configdirs libtermcap" ;;
3091 # A target can indicate whether a language isn't supported for some reason.
3092 # Only spaces may be used in this macro; not newlines or tabs.
3093 unsupported_languages
=
3095 # Remove more programs from consideration, based on the host or
3096 # target this usually means that a port of the program doesn't
3100 i
[3456789]86-*-msdosdjgpp*)
3101 noconfigdirs
="$noconfigdirs tcl tk itcl"
3106 # Check whether --enable-libquadmath was given.
3107 if test "${enable_libquadmath+set}" = set; then :
3108 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3110 ENABLE_LIBQUADMATH
=yes
3113 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3114 noconfigdirs
="$noconfigdirs target-libquadmath"
3118 # Check whether --enable-libquadmath-support was given.
3119 if test "${enable_libquadmath_support+set}" = set; then :
3120 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3122 ENABLE_LIBQUADMATH_SUPPORT
=yes
3125 enable_libquadmath_support
=
3126 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3127 enable_libquadmath_support
=no
3131 # Check whether --enable-libada was given.
3132 if test "${enable_libada+set}" = set; then :
3133 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3138 if test "${ENABLE_LIBADA}" != "yes" ; then
3139 noconfigdirs
="$noconfigdirs gnattools"
3142 # Check whether --enable-libssp was given.
3143 if test "${enable_libssp+set}" = set; then :
3144 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3150 # Check whether --enable-libstdcxx was given.
3151 if test "${enable_libstdcxx+set}" = set; then :
3152 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3154 ENABLE_LIBSTDCXX
=default
3157 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3158 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3161 # If this is accelerator compiler and its target is intelmic we enable
3162 # target liboffloadmic by default. If this is compiler with offloading
3163 # for intelmic we enable host liboffloadmic by default. Otherwise
3164 # liboffloadmic is disabled by default.
3165 # Check whether --enable-liboffloadmic was given.
3166 if test "${enable_liboffloadmic+set}" = set; then :
3167 enableval
=$enable_liboffloadmic; case "$enableval" in
3169 enable_liboffloadmic
=$enableval ;;
3171 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3174 if test x
"$enable_as_accelerator_for" != x
; then
3176 *-intelmic-* |
*-intelmicemul-*)
3177 enable_liboffloadmic
=target
3178 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3181 enable_liboffloadmic
=no
3185 case "${enable_offload_targets}" in
3186 *-intelmic-* |
*-intelmicemul-*)
3187 enable_liboffloadmic
=host
3188 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3191 enable_liboffloadmic
=no
3199 # Enable libgomp by default on hosted POSIX systems, and a few others.
3200 if test x
$enable_libgomp = x
; then
3202 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3204 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3206 *-*-solaris2* |
*-*-hpux11*)
3208 *-*-darwin* |
*-*-aix*)
3213 noconfigdirs
="$noconfigdirs target-libgomp"
3218 # Disable libatomic on unsupported systems.
3219 if test -d ${srcdir}/libatomic
; then
3220 if test x
$enable_libatomic = x
; then
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3222 $as_echo_n "checking for libatomic support... " >&6; }
3223 if (srcdir
=${srcdir}/libatomic
; \
3224 .
${srcdir}/configure.tgt
; \
3225 test -n "$UNSUPPORTED")
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
3229 noconfigdirs
="$noconfigdirs target-libatomic"
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3232 $as_echo "yes" >&6; }
3237 # Disable liboffloadmic on unsupported systems.
3238 if test -d ${srcdir}/liboffloadmic
; then
3239 if test x
$enable_liboffloadmic != xno
; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3241 $as_echo_n "checking for liboffloadmic support... " >&6; }
3242 if (srcdir
=${srcdir}/liboffloadmic
; \
3243 .
${srcdir}/configure.tgt
; \
3244 test -n "$UNSUPPORTED")
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3248 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3251 $as_echo "yes" >&6; }
3256 # Disable libitm on unsupported systems.
3257 if test -d ${srcdir}/libitm
; then
3258 if test x
$enable_libitm = x
; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3260 $as_echo_n "checking for libitm support... " >&6; }
3261 if (srcdir
=${srcdir}/libitm
; \
3262 .
${srcdir}/configure.tgt
; \
3263 test -n "$UNSUPPORTED")
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3266 $as_echo "no" >&6; }
3267 noconfigdirs
="$noconfigdirs target-libitm"
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3270 $as_echo "yes" >&6; }
3275 # Disable libsanitizer on unsupported systems.
3276 if test -d ${srcdir}/libsanitizer
; then
3277 if test x
$enable_libsanitizer = x
; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3279 $as_echo_n "checking for libsanitizer support... " >&6; }
3280 if (srcdir
=${srcdir}/libsanitizer
; \
3281 .
${srcdir}/configure.tgt
; \
3282 test -n "$UNSUPPORTED")
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3286 noconfigdirs
="$noconfigdirs target-libsanitizer"
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3289 $as_echo "yes" >&6; }
3294 # Disable libvtv on unsupported systems.
3295 if test -d ${srcdir}/libvtv
; then
3296 if test x
$enable_libvtv = x
; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3298 $as_echo_n "checking for libvtv support... " >&6; }
3299 if (srcdir
=${srcdir}/libvtv
; \
3300 .
${srcdir}/configure.tgt
; \
3301 test "$VTV_SUPPORTED" != "yes")
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3305 noconfigdirs
="$noconfigdirs target-libvtv"
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3308 $as_echo "yes" >&6; }
3314 # Disable libhsail-rt on unsupported systems.
3315 if test -d ${srcdir}/libhsail-rt
; then
3316 if test x
$enable_libhsail_rt = x
; then
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
3318 $as_echo_n "checking for libhsail-rt support... " >&6; }
3319 if (srcdir
=${srcdir}/libhsail-rt
; \
3320 .
${srcdir}/configure.tgt
; \
3321 test -n "$UNSUPPORTED")
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324 $as_echo "no" >&6; }
3325 unsupported_languages
="$unsupported_languages brig"
3326 # This implicitly disables also target-libhsail-rt as it won't
3327 # get added to the build without BRIG FE.
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3330 $as_echo "yes" >&6; }
3336 # Disable libquadmath for some systems.
3339 noconfigdirs
="$noconfigdirs target-libquadmath"
3341 # libquadmath is unused on AIX and libquadmath build process use of
3342 # LD_LIBRARY_PATH can break AIX bootstrap.
3343 powerpc-
*-aix* | rs6000-
*-aix*)
3344 noconfigdirs
="$noconfigdirs target-libquadmath"
3348 # Disable libssp for some systems.
3351 # No hosted I/O support.
3352 noconfigdirs
="$noconfigdirs target-libssp"
3354 powerpc-
*-aix* | rs6000-
*-aix*)
3355 noconfigdirs
="$noconfigdirs target-libssp"
3358 # libssp uses a misaligned load to trigger a fault, but the RL78
3359 # doesn't fault for those - instead, it gives a build-time error
3360 # for explicit misaligned loads.
3361 noconfigdirs
="$noconfigdirs target-libssp"
3364 # No hosted I/O support.
3365 noconfigdirs
="$noconfigdirs target-libssp"
3369 # Disable libstdc++-v3 for some systems.
3370 # Allow user to override this if they pass --enable-libstdc++-v3
3371 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3374 # VxWorks uses the Dinkumware C++ library.
3375 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3378 # the C++ libraries don't build on top of CE's C libraries
3379 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3382 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3385 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3390 # Disable Fortran for some systems.
3393 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3394 unsupported_languages
="$unsupported_languages fortran"
3398 # Disable libffi for some systems.
3402 i
[3456789]86-*-darwin*)
3404 x86_64-
*-darwin[912]*)
3407 noconfigdirs
="$noconfigdirs target-libffi"
3410 noconfigdirs
="$noconfigdirs target-libffi"
3413 noconfigdirs
="$noconfigdirs target-libffi"
3416 noconfigdirs
="$noconfigdirs target-libffi"
3419 noconfigdirs
="$noconfigdirs target-libffi"
3422 noconfigdirs
="$noconfigdirs target-libffi"
3425 noconfigdirs
="$noconfigdirs target-libffi"
3427 aarch64
*-*-freebsd*)
3428 noconfigdirs
="$noconfigdirs target-libffi"
3431 noconfigdirs
="$noconfigdirs target-libffi"
3434 noconfigdirs
="$noconfigdirs target-libffi"
3437 noconfigdirs
="$noconfigdirs target-libffi"
3440 noconfigdirs
="$noconfigdirs target-libffi"
3442 cris-
*-* | crisv32-
*-*)
3446 *) # See PR46792 regarding target-libffi.
3447 noconfigdirs
="$noconfigdirs target-libffi";;
3451 noconfigdirs
="$noconfigdirs target-libffi"
3456 noconfigdirs
="$noconfigdirs target-libffi"
3459 noconfigdirs
="$noconfigdirs target-libffi"
3461 i
[3456789]86-w64-mingw*)
3462 noconfigdirs
="$noconfigdirs target-libffi"
3464 i
[3456789]86-*-mingw*)
3465 noconfigdirs
="$noconfigdirs target-libffi"
3468 noconfigdirs
="$noconfigdirs target-libffi"
3471 noconfigdirs
="$noconfigdirs target-libffi"
3478 noconfigdirs
="$noconfigdirs target-libffi"
3481 noconfigdirs
="$noconfigdirs target-libffi"
3485 # Disable the go frontend on systems where it is known to not work. Please keep
3486 # this in sync with contrib/config-list.mk.
3488 *-*-darwin* |
*-*-cygwin* |
*-*-mingw*)
3489 unsupported_languages
="$unsupported_languages go"
3493 # Only allow gdbserver on some systems.
3494 if test -d ${srcdir}/gdbserver
; then
3495 if test x
$enable_gdbserver = x
; then
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
3497 $as_echo_n "checking for gdbserver support... " >&6; }
3498 if (srcdir
=${srcdir}/gdbserver
; \
3499 .
${srcdir}/configure.srv
; \
3500 test -n "$UNSUPPORTED")
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3503 $as_echo "no" >&6; }
3504 noconfigdirs
="$noconfigdirs gdbserver"
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3507 $as_echo "yes" >&6; }
3512 # Disable libgo for some systems where it is known to not work.
3513 # For testing, you can easily override this with --enable-libgo.
3514 if test x
$enable_libgo = x
; then
3518 noconfigdirs
="$noconfigdirs target-libgo"
3520 *-*-cygwin* |
*-*-mingw*)
3521 noconfigdirs
="$noconfigdirs target-libgo"
3526 # Default libgloss CPU subdirectory.
3527 libgloss_dir
="$target_cpu"
3530 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3534 libgloss_dir
=aarch64
3539 cris-
*-* | crisv32-
*-*)
3548 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3549 libgloss_dir
=m68hc11
3551 m68
*-*-* | fido-
*-*)
3565 # Disable newlib and libgloss for various target OSes.
3568 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3570 i
[3456789]86-*-linux*)
3571 # This section makes it possible to build newlib natively on linux.
3572 # If we are using a cross compiler then don't configure newlib.
3573 if test x
${is_cross_compiler} != xno
; then
3574 noconfigdirs
="$noconfigdirs target-newlib"
3576 noconfigdirs
="$noconfigdirs target-libgloss"
3577 # If we are not using a cross compiler, do configure newlib.
3578 # Note however, that newlib will only be configured in this situation
3579 # if the --with-newlib option has been given, because otherwise
3580 # 'target-newlib' will appear in skipdirs.
3582 i
[3456789]86-*-rdos*)
3583 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3585 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3586 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3589 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3592 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3595 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3598 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3601 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3604 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3606 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3607 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3610 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3613 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3616 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3619 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3622 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3625 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3628 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3636 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3637 noconfigdirs
="$noconfigdirs sim target-rda"
3640 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3641 noconfigdirs
="$noconfigdirs sim target-rda"
3644 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3645 noconfigdirs
="$noconfigdirs sim target-rda"
3647 i
[3456789]86-*-darwin*)
3648 noconfigdirs
="$noconfigdirs ld gprof"
3649 noconfigdirs
="$noconfigdirs sim target-rda"
3651 x86_64-
*-darwin[912]*)
3652 noconfigdirs
="$noconfigdirs ld gas gprof"
3653 noconfigdirs
="$noconfigdirs sim target-rda"
3656 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3657 noconfigdirs
="$noconfigdirs sim target-rda"
3662 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3663 && test -f /usr
/local
/include
/gmp.h
; then
3668 # Remove unsupported stuff on all kaOS configurations.
3669 noconfigdirs
="$noconfigdirs target-libgloss"
3676 noconfigdirs
="$noconfigdirs target-libgloss"
3679 noconfigdirs
="$noconfigdirs target-libgloss"
3681 # The tpf target doesn't support gdb yet.
3683 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3686 noconfigdirs
="$noconfigdirs target-rda"
3691 # ld works, but does not support shared libraries.
3692 # gas doesn't generate exception information.
3693 noconfigdirs
="$noconfigdirs gas ld"
3696 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3699 # newlib is not 64 bit ready
3700 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3702 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3703 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3706 noconfigdirs
="$noconfigdirs sim"
3709 noconfigdirs
="$noconfigdirs target-libgloss"
3712 noconfigdirs
="$noconfigdirs ld target-libgloss"
3715 if test x
${with_avrlibc} != xno
; then
3716 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3719 c4x-
*-* | tic4x-
*-*)
3720 noconfigdirs
="$noconfigdirs target-libgloss"
3723 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3726 noconfigdirs
="$noconfigdirs target-libgloss"
3729 noconfigdirs
="$noconfigdirs gdb"
3732 noconfigdirs
="$noconfigdirs gdb"
3735 noconfigdirs
="$noconfigdirs target-rda gprof"
3738 noconfigdirs
="$noconfigdirs"
3741 noconfigdirs
="$noconfigdirs target-libgloss"
3744 noconfigdirs
="$noconfigdirs target-libgloss"
3746 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3749 noconfigdirs
="$noconfigdirs gdb"
3752 noconfigdirs
="$noconfigdirs gdb ld"
3760 hppa
*-*-openbsd* | \
3766 noconfigdirs
="$noconfigdirs ld"
3769 noconfigdirs
="$noconfigdirs gdb"
3772 # No gdb support yet.
3773 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3776 # No ld support yet.
3777 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3780 # No ld support yet.
3781 noconfigdirs
="$noconfigdirs libgui itcl ld"
3783 i
[3456789]86-w64-mingw*)
3785 i
[3456789]86-*-mingw*)
3786 target_configdirs
="$target_configdirs target-winsup"
3789 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3790 noconfigdirs
="$noconfigdirs target-libgloss"
3791 # always build newlib if winsup directory is present.
3792 if test -d "$srcdir/winsup/cygwin"; then
3793 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3794 elif test -d "$srcdir/newlib"; then
3795 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3799 noconfigdirs
="$noconfigdirs target-libgloss"
3801 i
[3456789]86-*-sco3.2v5
*)
3802 # The linker does not yet know about weak symbols in COFF,
3803 # and is not configured to handle mixed ELF and COFF.
3804 noconfigdirs
="$noconfigdirs ld target-libgloss"
3806 i
[3456789]86-*-sco*)
3807 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3809 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3810 noconfigdirs
="$noconfigdirs target-libgloss"
3812 i
[3456789]86-*-sysv4*)
3813 noconfigdirs
="$noconfigdirs target-libgloss"
3815 i
[3456789]86-*-beos*)
3816 noconfigdirs
="$noconfigdirs gdb"
3818 i
[3456789]86-*-rdos*)
3819 noconfigdirs
="$noconfigdirs gdb"
3822 noconfigdirs
="$noconfigdirs gdb"
3825 noconfigdirs
="$noconfigdirs sim"
3828 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3829 noconfigdirs
="$noconfigdirs $target_libraries"
3832 noconfigdirs
="$noconfigdirs gdb gprof"
3835 # copied from rs6000-*-* entry
3836 noconfigdirs
="$noconfigdirs gprof"
3838 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3839 target_configdirs
="$target_configdirs target-winsup"
3840 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3841 # always build newlib.
3842 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3844 # This is temporary until we can link against shared libraries
3845 powerpcle-
*-solaris*)
3846 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3849 noconfigdirs
="$noconfigdirs gdb"
3852 noconfigdirs
="$noconfigdirs gprof"
3855 noconfigdirs
="$noconfigdirs gprof"
3858 noconfigdirs
="$noconfigdirs gprof"
3861 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3864 noconfigdirs
="$noconfigdirs gprof"
3866 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3867 if test x
$with_newlib = xyes
; then
3868 noconfigdirs
="$noconfigdirs gprof"
3872 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3875 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3878 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3882 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3883 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3884 noconfigdirs
="$noconfigdirs ld gas gprof"
3887 noconfigdirs
="$noconfigdirs gprof"
3890 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3897 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3901 if test x
${is_cross_compiler} = xno
; then
3906 noconfigdirs
="$noconfigdirs sim"
3908 tilepro
*-*-* | tilegx
*-*-*)
3909 noconfigdirs
="$noconfigdirs sim"
3912 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3915 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3918 noconfigdirs
="$noconfigdirs ld"
3922 # If we aren't building newlib, then don't build libgloss, since libgloss
3923 # depends upon some newlib header files.
3924 case "${noconfigdirs}" in
3925 *target-libgloss
*) ;;
3926 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3929 # Work in distributions that contain no compiler tools, like Autoconf.
3930 host_makefile_frag
=/dev
/null
3931 if test -d ${srcdir}/config
; then
3933 i
[3456789]86-*-msdosdjgpp*)
3934 host_makefile_frag
="config/mh-djgpp"
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3939 $as_echo_n "checking to see if cat works as expected... " >&6; }
3940 echo a
>cygwin-cat-check
3941 if test `cat cygwin-cat-check` = a
; then
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3944 $as_echo "yes" >&6; }
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 $as_echo "no" >&6; }
3949 as_fn_error $?
"The cat command does not ignore carriage return characters.
3950 Please either mount the build directory in binary mode or run the following
3951 commands before running any configure script:
3957 host_makefile_frag
="config/mh-cygwin"
3960 host_makefile_frag
="config/mh-mingw"
3963 host_makefile_frag
="config/mh-alpha-linux"
3966 host_makefile_frag
="config/mh-pa-hpux10"
3969 host_makefile_frag
="config/mh-pa"
3972 host_makefile_frag
="config/mh-pa"
3975 host_makefile_frag
="config/mh-darwin"
3978 host_makefile_frag
="config/mh-ppc-aix"
3981 host_makefile_frag
="config/mh-ppc-aix"
3986 if test "${build}" != "${host}" ; then
3987 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3988 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3989 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3990 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3991 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3992 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3993 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3994 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3995 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3996 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3997 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3998 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4000 AR_FOR_BUILD
="\$(AR)"
4001 AS_FOR_BUILD
="\$(AS)"
4002 CC_FOR_BUILD
="\$(CC)"
4003 CXX_FOR_BUILD
="\$(CXX)"
4004 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4005 GOC_FOR_BUILD
="\$(GOC)"
4006 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4007 LD_FOR_BUILD
="\$(LD)"
4008 NM_FOR_BUILD
="\$(NM)"
4009 RANLIB_FOR_BUILD
="\$(RANLIB)"
4010 WINDRES_FOR_BUILD
="\$(WINDRES)"
4011 WINDMC_FOR_BUILD
="\$(WINDMC)"
4015 ac_cpp
='$CPP $CPPFLAGS'
4016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4019 if test -n "$ac_tool_prefix"; then
4020 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4021 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4023 $as_echo_n "checking for $ac_word... " >&6; }
4024 if ${ac_cv_prog_CC+:} false
; then :
4025 $as_echo_n "(cached) " >&6
4027 if test -n "$CC"; then
4028 ac_cv_prog_CC
="$CC" # Let the user override the test.
4030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4034 test -z "$as_dir" && as_dir
=.
4035 for ac_exec_ext
in '' $ac_executable_extensions; do
4036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4037 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4048 if test -n "$CC"; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4050 $as_echo "$CC" >&6; }
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053 $as_echo "no" >&6; }
4058 if test -z "$ac_cv_prog_CC"; then
4060 # Extract the first word of "gcc", so it can be a program name with args.
4061 set dummy gcc
; ac_word
=$2
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4063 $as_echo_n "checking for $ac_word... " >&6; }
4064 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4065 $as_echo_n "(cached) " >&6
4067 if test -n "$ac_ct_CC"; then
4068 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4074 test -z "$as_dir" && as_dir
=.
4075 for ac_exec_ext
in '' $ac_executable_extensions; do
4076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4077 ac_cv_prog_ac_ct_CC
="gcc"
4078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4087 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4088 if test -n "$ac_ct_CC"; then
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4090 $as_echo "$ac_ct_CC" >&6; }
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4093 $as_echo "no" >&6; }
4096 if test "x$ac_ct_CC" = x
; then
4099 case $cross_compiling:$ac_tool_warned in
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4103 ac_tool_warned
=yes ;;
4111 if test -z "$CC"; then
4112 if test -n "$ac_tool_prefix"; then
4113 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4114 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4116 $as_echo_n "checking for $ac_word... " >&6; }
4117 if ${ac_cv_prog_CC+:} false
; then :
4118 $as_echo_n "(cached) " >&6
4120 if test -n "$CC"; then
4121 ac_cv_prog_CC
="$CC" # Let the user override the test.
4123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4127 test -z "$as_dir" && as_dir
=.
4128 for ac_exec_ext
in '' $ac_executable_extensions; do
4129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4130 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 if test -n "$CC"; then
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4143 $as_echo "$CC" >&6; }
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4146 $as_echo "no" >&6; }
4152 if test -z "$CC"; then
4153 # Extract the first word of "cc", so it can be a program name with args.
4154 set dummy cc
; ac_word
=$2
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4156 $as_echo_n "checking for $ac_word... " >&6; }
4157 if ${ac_cv_prog_CC+:} false
; then :
4158 $as_echo_n "(cached) " >&6
4160 if test -n "$CC"; then
4161 ac_cv_prog_CC
="$CC" # Let the user override the test.
4164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4168 test -z "$as_dir" && as_dir
=.
4169 for ac_exec_ext
in '' $ac_executable_extensions; do
4170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4171 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4172 ac_prog_rejected
=yes
4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4183 if test $ac_prog_rejected = yes; then
4184 # We found a bogon in the path, so make sure we never use it.
4185 set dummy
$ac_cv_prog_CC
4187 if test $# != 0; then
4188 # We chose a different compiler from the bogus one.
4189 # However, it has the same basename, so the bogon will be chosen
4190 # first if we set CC to just the basename; use the full file name.
4192 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4198 if test -n "$CC"; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4200 $as_echo "$CC" >&6; }
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203 $as_echo "no" >&6; }
4208 if test -z "$CC"; then
4209 if test -n "$ac_tool_prefix"; then
4210 for ac_prog
in cl.exe
4212 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4213 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4215 $as_echo_n "checking for $ac_word... " >&6; }
4216 if ${ac_cv_prog_CC+:} false
; then :
4217 $as_echo_n "(cached) " >&6
4219 if test -n "$CC"; then
4220 ac_cv_prog_CC
="$CC" # Let the user override the test.
4222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4226 test -z "$as_dir" && as_dir
=.
4227 for ac_exec_ext
in '' $ac_executable_extensions; do
4228 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4229 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4240 if test -n "$CC"; then
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4242 $as_echo "$CC" >&6; }
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4245 $as_echo "no" >&6; }
4249 test -n "$CC" && break
4252 if test -z "$CC"; then
4254 for ac_prog
in cl.exe
4256 # Extract the first word of "$ac_prog", so it can be a program name with args.
4257 set dummy
$ac_prog; ac_word
=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4261 $as_echo_n "(cached) " >&6
4263 if test -n "$ac_ct_CC"; then
4264 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir
=.
4271 for ac_exec_ext
in '' $ac_executable_extensions; do
4272 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4273 ac_cv_prog_ac_ct_CC
="$ac_prog"
4274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4284 if test -n "$ac_ct_CC"; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4286 $as_echo "$ac_ct_CC" >&6; }
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4289 $as_echo "no" >&6; }
4293 test -n "$ac_ct_CC" && break
4296 if test "x$ac_ct_CC" = x
; then
4299 case $cross_compiling:$ac_tool_warned in
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4303 ac_tool_warned
=yes ;;
4312 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4314 as_fn_error $?
"no acceptable C compiler found in \$PATH
4315 See \`config.log' for more details" "$LINENO" 5; }
4317 # Provide some information about the compiler.
4318 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4321 for ac_option
in --version -v -V -qversion; do
4322 { { ac_try
="$ac_compiler $ac_option >&5"
4324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4325 *) ac_try_echo=$ac_try;;
4327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4328 $as_echo "$ac_try_echo"; } >&5
4329 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4331 if test -s conftest.err; then
4333 ... rest of stderr output deleted ...
4334 10q' conftest.err >conftest.er1
4335 cat conftest.er1 >&5
4337 rm -f conftest.er1 conftest.err
4338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4339 test $ac_status = 0; }
4342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4343 /* end confdefs.h. */
4353 ac_clean_files_save=$ac_clean_files
4354 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4355 # Try to create an executable without -o first, disregard a.out.
4356 # It will help us diagnose broken compilers, and finding out an intuition
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4359 $as_echo_n "checking whether the C compiler works... " >&6; }
4360 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4362 # The possible output files:
4363 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4366 for ac_file in $ac_files
4369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4370 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4375 if { { ac_try="$ac_link_default"
4377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4378 *) ac_try_echo
=$ac_try;;
4380 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4381 $as_echo "$ac_try_echo"; } >&5
4382 (eval "$ac_link_default") 2>&5
4384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4385 test $ac_status = 0; }; then :
4386 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4387 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4388 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4389 # so that the user can short-circuit this test for compilers unknown to
4391 for ac_file
in $ac_files ''
4393 test -f "$ac_file" ||
continue
4395 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4398 # We found the default executable, but exeext='' is most
4402 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4404 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4406 # We set ac_cv_exeext here because the later test for it is not
4407 # safe: cross compilers may not add the suffix if given an `-o'
4408 # argument, so we may need to know it at that point already.
4409 # Even if this section looks crufty: it has the advantage of
4416 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4421 if test -z "$ac_file"; then :
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4424 $as_echo "$as_me: failed program was:" >&5
4425 sed 's/^/| /' conftest.
$ac_ext >&5
4427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4429 as_fn_error
77 "C compiler cannot create executables
4430 See \`config.log' for more details" "$LINENO" 5; }
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4433 $as_echo "yes" >&6; }
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4436 $as_echo_n "checking for C compiler default output file name... " >&6; }
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4438 $as_echo "$ac_file" >&6; }
4439 ac_exeext
=$ac_cv_exeext
4441 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4442 ac_clean_files
=$ac_clean_files_save
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4444 $as_echo_n "checking for suffix of executables... " >&6; }
4445 if { { ac_try
="$ac_link"
4447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4448 *) ac_try_echo=$ac_try;;
4450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4451 $as_echo "$ac_try_echo"; } >&5
4452 (eval "$ac_link") 2>&5
4454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4455 test $ac_status = 0; }; then :
4456 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4457 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4458 # work properly (i.e., refer to `conftest.exe'), while it won't with
4460 for ac_file
in conftest.exe conftest conftest.
*; do
4461 test -f "$ac_file" ||
continue
4463 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4464 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4472 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4473 See \`config.log' for more details" "$LINENO" 5; }
4475 rm -f conftest conftest
$ac_cv_exeext
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4477 $as_echo "$ac_cv_exeext" >&6; }
4479 rm -f conftest.
$ac_ext
4480 EXEEXT
=$ac_cv_exeext
4482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4483 /* end confdefs.h. */
4488 FILE *f = fopen ("conftest.out", "w");
4489 return ferror (f) || fclose (f) != 0;
4495 ac_clean_files
="$ac_clean_files conftest.out"
4496 # Check that the compiler produces executables we can run. If not, either
4497 # the compiler is broken, or we cross compile.
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4499 $as_echo_n "checking whether we are cross compiling... " >&6; }
4500 if test "$cross_compiling" != yes; then
4501 { { ac_try
="$ac_link"
4503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4504 *) ac_try_echo=$ac_try;;
4506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4507 $as_echo "$ac_try_echo"; } >&5
4508 (eval "$ac_link") 2>&5
4510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4511 test $ac_status = 0; }
4512 if { ac_try='./conftest$ac_cv_exeext'
4513 { { case "(($ac_try" in
4514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4515 *) ac_try_echo
=$ac_try;;
4517 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4518 $as_echo "$ac_try_echo"; } >&5
4519 (eval "$ac_try") 2>&5
4521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4522 test $ac_status = 0; }; }; then
4525 if test "$cross_compiling" = maybe
; then
4528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4530 as_fn_error $?
"cannot run C compiled programs.
4531 If you meant to cross compile, use \`--host'.
4532 See \`config.log' for more details" "$LINENO" 5; }
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4537 $as_echo "$cross_compiling" >&6; }
4539 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4540 ac_clean_files
=$ac_clean_files_save
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4542 $as_echo_n "checking for suffix of object files... " >&6; }
4543 if ${ac_cv_objext+:} false
; then :
4544 $as_echo_n "(cached) " >&6
4546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4557 rm -f conftest.o conftest.obj
4558 if { { ac_try
="$ac_compile"
4560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4561 *) ac_try_echo=$ac_try;;
4563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4564 $as_echo "$ac_try_echo"; } >&5
4565 (eval "$ac_compile") 2>&5
4567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4568 test $ac_status = 0; }; then :
4569 for ac_file in conftest.o conftest.obj conftest.*; do
4570 test -f "$ac_file" || continue;
4572 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4573 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4578 $as_echo "$as_me: failed program was:" >&5
4579 sed 's/^/| /' conftest.$ac_ext >&5
4581 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4583 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4584 See \
`config.log' for more details" "$LINENO" 5; }
4586 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4589 $as_echo "$ac_cv_objext" >&6; }
4590 OBJEXT=$ac_cv_objext
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4593 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4594 if ${ac_cv_c_compiler_gnu+:} false; then :
4595 $as_echo_n "(cached) " >&6
4597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4598 /* end confdefs.h. */
4611 if ac_fn_c_try_compile "$LINENO"; then :
4616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4617 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4621 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4622 if test $ac_compiler_gnu = yes; then
4627 ac_test_CFLAGS=${CFLAGS+set}
4628 ac_save_CFLAGS=$CFLAGS
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4630 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4631 if ${ac_cv_prog_cc_g+:} false; then :
4632 $as_echo_n "(cached) " >&6
4634 ac_save_c_werror_flag=$ac_c_werror_flag
4635 ac_c_werror_flag=yes
4638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4639 /* end confdefs.h. */
4649 if ac_fn_c_try_compile "$LINENO"; then :
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4664 if ac_fn_c_try_compile "$LINENO"; then :
4667 ac_c_werror_flag=$ac_save_c_werror_flag
4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4680 if ac_fn_c_try_compile "$LINENO"; then :
4683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4688 ac_c_werror_flag=$ac_save_c_werror_flag
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4691 $as_echo "$ac_cv_prog_cc_g" >&6; }
4692 if test "$ac_test_CFLAGS" = set; then
4693 CFLAGS=$ac_save_CFLAGS
4694 elif test $ac_cv_prog_cc_g = yes; then
4695 if test "$GCC" = yes; then
4701 if test "$GCC" = yes; then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4708 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4709 if ${ac_cv_prog_cc_c89+:} false; then :
4710 $as_echo_n "(cached) " >&6
4712 ac_cv_prog_cc_c89=no
4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715 /* end confdefs.h. */
4719 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4720 struct buf { int x; };
4721 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4722 static char *e (p, i)
4728 static char *f (char * (*g) (char **, int), char **p, ...)
4733 s = g (p, va_arg (v,int));
4738 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4739 function prototypes and stuff, but not '\xHH' hex character constants.
4740 These don't provoke an error unfortunately, instead are silently treated
4741 as 'x'. The following induces an error, until -std is added to get
4742 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4743 array size at least. It's necessary to write '\x00'==0 to get something
4744 that's true only with -std. */
4745 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4747 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4748 inside strings and character constants. */
4750 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4752 int test (int i, double x);
4753 struct s1 {int (*f) (int a);};
4754 struct s2 {int (*f) (double a);};
4755 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4761 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4766 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4767 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4769 CC="$ac_save_CC $ac_arg"
4770 if ac_fn_c_try_compile "$LINENO"; then :
4771 ac_cv_prog_cc_c89=$ac_arg
4773 rm -f core conftest.err conftest.$ac_objext
4774 test "x$ac_cv_prog_cc_c89" != "xno" && break
4776 rm -f conftest.$ac_ext
4781 case "x$ac_cv_prog_cc_c89" in
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4784 $as_echo "none needed" >&6; } ;;
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4787 $as_echo "unsupported" >&6; } ;;
4789 CC="$CC $ac_cv_prog_cc_c89"
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4791 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4793 if test "x$ac_cv_prog_cc_c89" != xno; then :
4798 ac_cpp='$CPP $CPPFLAGS'
4799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4804 ac_cpp='$CXXCPP $CPPFLAGS'
4805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4808 if test -z "$CXX"; then
4809 if test -n "$CCC"; then
4812 if test -n "$ac_tool_prefix"; then
4813 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4816 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if ${ac_cv_prog_CXX+:} false; then :
4820 $as_echo_n "(cached) " >&6
4822 if test -n "$CXX"; then
4823 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 test -z "$as_dir" && as_dir=.
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4832 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 if test -n "$CXX"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4845 $as_echo "$CXX" >&6; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4852 test -n "$CXX" && break
4855 if test -z "$CXX"; then
4857 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4859 # Extract the first word of "$ac_prog", so it can be a program name with args.
4860 set dummy $ac_prog; ac_word=$2
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4862 $as_echo_n "checking for $ac_word... " >&6; }
4863 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4864 $as_echo_n "(cached) " >&6
4866 if test -n "$ac_ct_CXX"; then
4867 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873 test -z "$as_dir" && as_dir=.
4874 for ac_exec_ext in '' $ac_executable_extensions; do
4875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4876 ac_cv_prog_ac_ct_CXX="$ac_prog"
4877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4886 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4887 if test -n "$ac_ct_CXX"; then
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4889 $as_echo "$ac_ct_CXX" >&6; }
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4892 $as_echo "no" >&6; }
4896 test -n "$ac_ct_CXX" && break
4899 if test "x$ac_ct_CXX" = x; then
4902 case $cross_compiling:$ac_tool_warned in
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4906 ac_tool_warned=yes ;;
4914 # Provide some information about the compiler.
4915 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4918 for ac_option in --version -v -V -qversion; do
4919 { { ac_try="$ac_compiler $ac_option >&5"
4921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4922 *) ac_try_echo
=$ac_try;;
4924 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4925 $as_echo "$ac_try_echo"; } >&5
4926 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4928 if test -s conftest.err
; then
4930 ... rest of stderr output deleted ...
4931 10q' conftest.err
>conftest.er1
4932 cat conftest.er1
>&5
4934 rm -f conftest.er1 conftest.err
4935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4936 test $ac_status = 0; }
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4940 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4941 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4942 $as_echo_n "(cached) " >&6
4944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4958 if ac_fn_cxx_try_compile
"$LINENO"; then :
4963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4964 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4968 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4969 if test $ac_compiler_gnu = yes; then
4974 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4975 ac_save_CXXFLAGS
=$CXXFLAGS
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4977 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4978 if ${ac_cv_prog_cxx_g+:} false
; then :
4979 $as_echo_n "(cached) " >&6
4981 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4982 ac_cxx_werror_flag
=yes
4985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4986 /* end confdefs.h. */
4996 if ac_fn_cxx_try_compile
"$LINENO"; then :
4997 ac_cv_prog_cxx_g
=yes
5000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5011 if ac_fn_cxx_try_compile
"$LINENO"; then :
5014 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5017 /* end confdefs.h. */
5027 if ac_fn_cxx_try_compile
"$LINENO"; then :
5028 ac_cv_prog_cxx_g
=yes
5030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5035 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5038 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5039 if test "$ac_test_CXXFLAGS" = set; then
5040 CXXFLAGS
=$ac_save_CXXFLAGS
5041 elif test $ac_cv_prog_cxx_g = yes; then
5042 if test "$GXX" = yes; then
5048 if test "$GXX" = yes; then
5055 ac_cpp
='$CPP $CPPFLAGS'
5056 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5057 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5061 # We must set the default linker to the linker used by gcc for the correct
5062 # operation of libtool. If LD is not defined and we are using gcc, try to
5063 # set the LD default to the ld used by gcc.
5064 if test -z "$LD"; then
5065 if test "$GCC" = yes; then
5068 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5070 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5072 case $gcc_prog_ld in
5073 # Accept absolute paths.
5074 [\\/]* |
[A-Za-z
]:[\\/]*)
5075 LD
="$gcc_prog_ld" ;;
5080 # Check whether -static-libstdc++ -static-libgcc is supported.
5082 if test "$GCC" = yes; then
5083 saved_LDFLAGS
="$LDFLAGS"
5085 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5087 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5089 ac_cpp
='$CXXCPP $CPPFLAGS'
5090 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5091 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5092 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5096 /* end confdefs.h. */
5098 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5099 #error -static-libstdc++ not implemented
5103 if ac_fn_cxx_try_link
"$LINENO"; then :
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5105 $as_echo "yes" >&6; }; have_static_libs
=yes
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5110 rm -f core conftest.err conftest.
$ac_objext \
5111 conftest
$ac_exeext conftest.
$ac_ext
5113 ac_cpp
='$CPP $CPPFLAGS'
5114 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5115 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5116 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5119 LDFLAGS
="$saved_LDFLAGS"
5125 if test -n "$ac_tool_prefix"; then
5126 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5127 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5129 $as_echo_n "checking for $ac_word... " >&6; }
5130 if ${ac_cv_prog_GNATBIND+:} false
; then :
5131 $as_echo_n "(cached) " >&6
5133 if test -n "$GNATBIND"; then
5134 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5140 test -z "$as_dir" && as_dir
=.
5141 for ac_exec_ext
in '' $ac_executable_extensions; do
5142 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5143 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 GNATBIND
=$ac_cv_prog_GNATBIND
5154 if test -n "$GNATBIND"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5156 $as_echo "$GNATBIND" >&6; }
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5164 if test -z "$ac_cv_prog_GNATBIND"; then
5165 ac_ct_GNATBIND
=$GNATBIND
5166 # Extract the first word of "gnatbind", so it can be a program name with args.
5167 set dummy gnatbind
; ac_word
=$2
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169 $as_echo_n "checking for $ac_word... " >&6; }
5170 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5171 $as_echo_n "(cached) " >&6
5173 if test -n "$ac_ct_GNATBIND"; then
5174 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5180 test -z "$as_dir" && as_dir
=.
5181 for ac_exec_ext
in '' $ac_executable_extensions; do
5182 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5183 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5194 if test -n "$ac_ct_GNATBIND"; then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5196 $as_echo "$ac_ct_GNATBIND" >&6; }
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 $as_echo "no" >&6; }
5202 if test "x$ac_ct_GNATBIND" = x
; then
5205 case $cross_compiling:$ac_tool_warned in
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5209 ac_tool_warned
=yes ;;
5211 GNATBIND
=$ac_ct_GNATBIND
5214 GNATBIND
="$ac_cv_prog_GNATBIND"
5217 if test -n "$ac_tool_prefix"; then
5218 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5219 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5223 $as_echo_n "(cached) " >&6
5225 if test -n "$GNATMAKE"; then
5226 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5232 test -z "$as_dir" && as_dir
=.
5233 for ac_exec_ext
in '' $ac_executable_extensions; do
5234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5235 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 GNATMAKE
=$ac_cv_prog_GNATMAKE
5246 if test -n "$GNATMAKE"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5248 $as_echo "$GNATMAKE" >&6; }
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5256 if test -z "$ac_cv_prog_GNATMAKE"; then
5257 ac_ct_GNATMAKE
=$GNATMAKE
5258 # Extract the first word of "gnatmake", so it can be a program name with args.
5259 set dummy gnatmake
; ac_word
=$2
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261 $as_echo_n "checking for $ac_word... " >&6; }
5262 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5263 $as_echo_n "(cached) " >&6
5265 if test -n "$ac_ct_GNATMAKE"; then
5266 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5272 test -z "$as_dir" && as_dir
=.
5273 for ac_exec_ext
in '' $ac_executable_extensions; do
5274 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5285 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5286 if test -n "$ac_ct_GNATMAKE"; then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5288 $as_echo "$ac_ct_GNATMAKE" >&6; }
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5294 if test "x$ac_ct_GNATMAKE" = x
; then
5297 case $cross_compiling:$ac_tool_warned in
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5301 ac_tool_warned
=yes ;;
5303 GNATMAKE
=$ac_ct_GNATMAKE
5306 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5310 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5311 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5312 $as_echo_n "(cached) " >&6
5314 cat >conftest.adb
<<EOF
5315 procedure conftest is begin null; end conftest;
5317 acx_cv_cc_gcc_supports_ada
=no
5318 # There is a bug in old released versions of GCC which causes the
5319 # driver to exit successfully when the appropriate language module
5320 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5321 # Therefore we must check for the error message as well as an
5322 # unsuccessful exit.
5323 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5324 # given a .adb file, but produce no object file. So we must check
5325 # if an object file was really produced to guard against this.
5326 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5327 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5328 acx_cv_cc_gcc_supports_ada
=yes
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5333 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5335 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5342 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5343 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5344 $as_echo_n "(cached) " >&6
5348 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5349 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5350 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5353 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5356 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5357 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5360 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5367 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5368 do_compare
="$gcc_cv_prog_cmp_skip"
5372 # Check whether --enable-bootstrap was given.
5373 if test "${enable_bootstrap+set}" = set; then :
5374 enableval
=$enable_bootstrap;
5376 enable_bootstrap
=default
5380 # Issue errors and warnings for invalid/strange bootstrap combinations.
5381 if test -r $srcdir/gcc
/configure
; then
5387 case "$have_compiler:$host:$target:$enable_bootstrap" in
5390 # Default behavior. Enable bootstrap if we have a compiler
5391 # and we are in a native configuration.
5392 yes:$build:$build:default
)
5393 enable_bootstrap
=yes ;;
5396 enable_bootstrap
=no
;;
5398 # We have a compiler and we are in a native configuration, bootstrap is ok
5399 yes:$build:$build:yes)
5402 # Other configurations, but we have a compiler. Assume the user knows
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5406 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5409 # No compiler: if they passed --enable-bootstrap explicitly, fail
5411 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5413 # Fail if wrong command line
5415 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5419 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5420 # C++98 compiler can still start the bootstrap.
5421 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5422 CXX
="$CXX -std=gnu++98"
5425 # Used for setting $lt_cv_objdir
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5427 $as_echo_n "checking for objdir... " >&6; }
5428 if ${lt_cv_objdir+:} false
; then :
5429 $as_echo_n "(cached) " >&6
5431 rm -f .libs
2>/dev
/null
5432 mkdir .libs
2>/dev
/null
5433 if test -d .libs
; then
5436 # MS-DOS does not allow filenames that begin with a dot.
5439 rmdir .libs
2>/dev
/null
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5442 $as_echo "$lt_cv_objdir" >&6; }
5443 objdir
=$lt_cv_objdir
5449 cat >>confdefs.h
<<_ACEOF
5450 #define LT_OBJDIR "$lt_cv_objdir/"
5455 # Check for GMP, MPFR and MPC
5456 gmplibs
="-lmpc -lmpfr -lgmp"
5460 # Specify a location for mpc
5461 # check for this first so it ends up on the link line before mpfr.
5463 # Check whether --with-mpc was given.
5464 if test "${with_mpc+set}" = set; then :
5469 # Check whether --with-mpc-include was given.
5470 if test "${with_mpc_include+set}" = set; then :
5471 withval
=$with_mpc_include;
5475 # Check whether --with-mpc-lib was given.
5476 if test "${with_mpc_lib+set}" = set; then :
5477 withval
=$with_mpc_lib;
5481 if test "x$with_mpc" != x
; then
5482 gmplibs
="-L$with_mpc/lib $gmplibs"
5483 gmpinc
="-I$with_mpc/include $gmpinc"
5485 if test "x$with_mpc_include" != x
; then
5486 gmpinc
="-I$with_mpc_include $gmpinc"
5488 if test "x$with_mpc_lib" != x
; then
5489 gmplibs
="-L$with_mpc_lib $gmplibs"
5491 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5492 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5493 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5494 # Do not test the mpc version. Assume that it is sufficient, since
5495 # it is in the source tree, and the library has not been built yet
5496 # but it would be included on the link line in the version check below
5497 # hence making the test fail.
5501 # Specify a location for mpfr
5502 # check for this first so it ends up on the link line before gmp.
5504 # Check whether --with-mpfr-dir was given.
5505 if test "${with_mpfr_dir+set}" = set; then :
5506 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
5507 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5512 # Check whether --with-mpfr was given.
5513 if test "${with_mpfr+set}" = set; then :
5518 # Check whether --with-mpfr-include was given.
5519 if test "${with_mpfr_include+set}" = set; then :
5520 withval
=$with_mpfr_include;
5524 # Check whether --with-mpfr-lib was given.
5525 if test "${with_mpfr_lib+set}" = set; then :
5526 withval
=$with_mpfr_lib;
5530 if test "x$with_mpfr" != x
; then
5531 gmplibs
="-L$with_mpfr/lib $gmplibs"
5532 gmpinc
="-I$with_mpfr/include $gmpinc"
5534 if test "x$with_mpfr_include" != x
; then
5535 gmpinc
="-I$with_mpfr_include $gmpinc"
5537 if test "x$with_mpfr_lib" != x
; then
5538 gmplibs
="-L$with_mpfr_lib $gmplibs"
5540 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5541 # MPFR v3.1.0 moved the sources into a src sub-directory.
5542 if ! test -d ${srcdir}/mpfr
/src
; then
5543 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5545 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5546 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5547 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5548 # Do not test the mpfr version. Assume that it is sufficient, since
5549 # it is in the source tree, and the library has not been built yet
5550 # but it would be included on the link line in the version check below
5551 # hence making the test fail.
5555 # Specify a location for gmp
5557 # Check whether --with-gmp-dir was given.
5558 if test "${with_gmp_dir+set}" = set; then :
5559 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
5560 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5565 # Check whether --with-gmp was given.
5566 if test "${with_gmp+set}" = set; then :
5571 # Check whether --with-gmp-include was given.
5572 if test "${with_gmp_include+set}" = set; then :
5573 withval
=$with_gmp_include;
5577 # Check whether --with-gmp-lib was given.
5578 if test "${with_gmp_lib+set}" = set; then :
5579 withval
=$with_gmp_lib;
5584 if test "x$with_gmp" != x
; then
5585 gmplibs
="-L$with_gmp/lib $gmplibs"
5586 gmpinc
="-I$with_gmp/include $gmpinc"
5588 if test "x$with_gmp_include" != x
; then
5589 gmpinc
="-I$with_gmp_include $gmpinc"
5591 if test "x$with_gmp_lib" != x
; then
5592 gmplibs
="-L$with_gmp_lib $gmplibs"
5594 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5595 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5596 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5597 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5598 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5599 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5600 # Do not test the gmp version. Assume that it is sufficient, since
5601 # it is in the source tree, and the library has not been built yet
5602 # but it would be included on the link line in the version check below
5603 # hence making the test fail.
5607 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5609 saved_CFLAGS
="$CFLAGS"
5610 CFLAGS
="$CFLAGS $gmpinc"
5611 # Check for the recommended and required versions of GMP.
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5613 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5616 /* end confdefs.h. */
5622 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5623 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5624 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5632 if ac_fn_c_try_compile
"$LINENO"; then :
5633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5634 /* end confdefs.h. */
5640 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5641 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5642 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5650 if ac_fn_c_try_compile
"$LINENO"; then :
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5652 $as_echo "yes" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5655 $as_echo "buggy but acceptable" >&6; }
5657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5660 $as_echo "no" >&6; }; have_gmp
=no
5662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5664 # If we have GMP, check the MPFR version.
5665 if test x
"$have_gmp" = xyes
; then
5666 # Check for the recommended and required versions of MPFR.
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5668 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h. */
5677 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5685 if ac_fn_c_try_compile
"$LINENO"; then :
5686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5687 /* end confdefs.h. */
5694 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5702 if ac_fn_c_try_compile
"$LINENO"; then :
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5704 $as_echo "yes" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5707 $as_echo "buggy but acceptable" >&6; }
5709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }; have_gmp
=no
5714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5717 # Check for the MPC header version.
5718 if test x
"$have_gmp" = xyes
; then
5719 # Check for the recommended and required versions of MPC.
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5721 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5723 /* end confdefs.h. */
5729 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5737 if ac_fn_c_try_compile
"$LINENO"; then :
5738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5739 /* end confdefs.h. */
5745 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5753 if ac_fn_c_try_compile
"$LINENO"; then :
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5755 $as_echo "yes" >&6; }
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5758 $as_echo "buggy but acceptable" >&6; }
5760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763 $as_echo "no" >&6; }; have_gmp
=no
5765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5768 # Now check the MPFR library.
5769 if test x
"$have_gmp" = xyes
; then
5771 LIBS
="$LIBS $gmplibs"
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5773 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5775 /* end confdefs.h. */
5787 mpfr_atan2 (n, n, x, GMP_RNDN);
5788 mpfr_erfc (n, x, GMP_RNDN);
5789 mpfr_subnormalize (x, t, GMP_RNDN);
5793 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5794 mpc_cosh (c, c, MPC_RNDNN);
5795 mpc_pow (c, c, c, MPC_RNDNN);
5796 mpc_acosh (c, c, MPC_RNDNN);
5803 if ac_fn_c_try_link
"$LINENO"; then :
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5805 $as_echo "yes" >&6; }
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808 $as_echo "no" >&6; }; have_gmp
=no
5810 rm -f core conftest.err conftest.
$ac_objext \
5811 conftest
$ac_exeext conftest.
$ac_ext
5815 CFLAGS
="$saved_CFLAGS"
5817 # The library versions listed in the error message below should match
5818 # the HARD-minimums enforced above.
5819 if test x
$have_gmp != xyes
; then
5820 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5821 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5822 their locations. Source code for these libraries can be found at
5823 their respective hosting sites as well as at
5824 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5825 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5826 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5827 make sure that you have installed both the libraries and the header
5828 files. They may be located in separate packages." "$LINENO" 5
5832 # Flags needed for both GMP, MPFR and/or MPC.
5840 # Libraries to use for stage1 or when not bootstrapping.
5842 # Check whether --with-stage1-libs was given.
5843 if test "${with_stage1_libs+set}" = set; then :
5844 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5847 stage1_libs
=$withval
5855 # Whether or not to use -static-libstdc++ and -static-libgcc. The
5856 # default is yes if gcc is being built; no otherwise. The reason for
5857 # this default is that gdb is sometimes linked against GNU Source
5858 # Highlight, which is a shared library that uses C++ exceptions. In
5859 # this case, -static-libstdc++ will cause crashes.
5861 # Check whether --with-static-standard-libraries was given.
5862 if test "${with_static_standard_libraries+set}" = set; then :
5863 withval
=$with_static_standard_libraries;
5865 with_static_standard_libraries
=auto
5868 if test "$with_static_standard_libraries" = auto
; then
5869 with_static_standard_libraries
=$have_compiler
5872 # Linker flags to use for stage1 or when not bootstrapping.
5874 # Check whether --with-stage1-ldflags was given.
5875 if test "${with_stage1_ldflags+set}" = set; then :
5876 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5879 stage1_ldflags
=$withval
5883 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5884 # if supported. But if the user explicitly specified the libraries to use,
5885 # trust that they are doing what they want.
5886 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
5887 -a "$have_static_libs" = yes; then
5888 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5894 # Libraries to use for stage2 and later builds.
5896 # Check whether --with-boot-libs was given.
5897 if test "${with_boot_libs+set}" = set; then :
5898 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5901 poststage1_libs
=$withval
5909 # Linker flags to use for stage2 and later builds.
5911 # Check whether --with-boot-ldflags was given.
5912 if test "${with_boot_ldflags+set}" = set; then :
5913 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5916 poststage1_ldflags
=$withval
5920 # In stages 2 and 3, default to linking libstdc++ and libgcc
5921 # statically. But if the user explicitly specified the libraries to
5922 # use, trust that they are doing what they want.
5923 if test "$poststage1_libs" = ""; then
5924 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5930 # GCC GRAPHITE dependency isl.
5931 # Basic setup is inlined here, actual checks are in config/isl.m4
5934 # Check whether --with-isl was given.
5935 if test "${with_isl+set}" = set; then :
5940 # Treat --without-isl as a request to disable
5941 # GRAPHITE support and skip all following checks.
5942 if test "x$with_isl" != "xno"; then
5946 # Check whether --with-isl-include was given.
5947 if test "${with_isl_include+set}" = set; then :
5948 withval
=$with_isl_include;
5952 # Check whether --with-isl-lib was given.
5953 if test "${with_isl_lib+set}" = set; then :
5954 withval
=$with_isl_lib;
5958 # Check whether --enable-isl-version-check was given.
5959 if test "${enable_isl_version_check+set}" = set; then :
5960 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5962 ENABLE_ISL_CHECK
=yes
5966 # Initialize isllibs and islinc.
5975 isllibs
="-L$with_isl/lib"
5976 islinc
="-I$with_isl/include"
5979 if test "x${with_isl_include}" != x
; then
5980 islinc
="-I$with_isl_include"
5982 if test "x${with_isl_lib}" != x
; then
5983 isllibs
="-L$with_isl_lib"
5985 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5986 && test -d ${srcdir}/isl
; then
5987 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5988 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
5991 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
5994 isllibs
="${isllibs} -lisl"
5998 if test "${ENABLE_ISL_CHECK}" = yes ; then
5999 _isl_saved_CFLAGS
=$CFLAGS
6000 _isl_saved_LDFLAGS
=$LDFLAGS
6001 _isl_saved_LIBS
=$LIBS
6003 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6004 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
6005 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
6008 $as_echo_n "checking for isl 0.15 or later... " >&6; }
6009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h. */
6011 #include <isl/schedule.h>
6015 isl_options_set_schedule_serialize_sccs (NULL, 0);
6020 if ac_fn_c_try_link
"$LINENO"; then :
6025 rm -f core conftest.err conftest.
$ac_objext \
6026 conftest
$ac_exeext conftest.
$ac_ext
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6028 $as_echo "$gcc_cv_isl" >&6; }
6030 if test "${gcc_cv_isl}" = no
; then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
6032 $as_echo "required isl version is 0.15 or later" >&6; }
6035 CFLAGS
=$_isl_saved_CFLAGS
6036 LDFLAGS
=$_isl_saved_LDFLAGS
6037 LIBS
=$_isl_saved_LIBS
6045 if test "x${with_isl}" = xno
; then
6046 graphite_requested
=no
6047 elif test "x${with_isl}" != x \
6048 ||
test "x${with_isl_include}" != x \
6049 ||
test "x${with_isl_lib}" != x
; then
6050 graphite_requested
=yes
6052 graphite_requested
=no
6057 if test "${gcc_cv_isl}" = no
; then
6062 if test "${graphite_requested}" = yes \
6063 && test "x${isllibs}" = x \
6064 && test "x${islinc}" = x
; then
6066 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6072 # If the isl check failed, disable builds of in-tree variant of isl
6073 if test "x$with_isl" = xno ||
6074 test "x$gcc_cv_isl" = xno
; then
6075 noconfigdirs
="$noconfigdirs isl"
6082 # Check for LTO support.
6083 # Check whether --enable-lto was given.
6084 if test "${enable_lto+set}" = set; then :
6085 enableval
=$enable_lto; enable_lto
=$enableval
6087 enable_lto
=yes; default_enable_lto
=yes
6096 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6097 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6098 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6107 if test $target_elf = yes; then :
6108 # ELF platforms build the lto-plugin always.
6109 build_lto_plugin
=yes
6112 if test x
"$default_enable_lto" = x
"yes" ; then
6114 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6115 # On other non-ELF platforms, LTO has yet to be validated.
6119 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6120 # It would also be nice to check the binutils support, but we don't
6121 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6122 # warn during gcc/ subconfigure; unless you're bootstrapping with
6123 # -flto it won't be needed until after installation anyway.
6125 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6126 *) if test x
"$enable_lto" = x
"yes"; then
6127 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
6132 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6133 # Build it unless LTO was explicitly disabled.
6135 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6142 # Check whether --enable-linker-plugin-configure-flags was given.
6143 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6144 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6146 extra_linker_plugin_configure_flags
=
6150 # Check whether --enable-linker-plugin-flags was given.
6151 if test "${enable_linker_plugin_flags+set}" = set; then :
6152 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6154 extra_linker_plugin_flags
=
6159 # Enable --enable-host-shared.
6160 # Checked early to determine whether jit is an 'all' language
6161 # Check whether --enable-host-shared was given.
6162 if test "${enable_host_shared+set}" = set; then :
6163 enableval
=$enable_host_shared; host_shared
=$enableval
6170 # By default, C and C++ are the only stage 1 languages.
6171 stage1_languages
=,c
,
6173 # Target libraries that we bootstrap.
6174 bootstrap_target_libs
=,target-libgcc
,
6176 # Figure out what language subdirectories are present.
6177 # Look if the user specified --enable-languages="..."; if not, use
6178 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6180 # NB: embedded tabs in this IF block -- do not untabify
6181 if test -d ${srcdir}/gcc
; then
6182 if test x
"${enable_languages+set}" != xset
; then
6183 if test x
"${LANGUAGES+set}" = xset
; then
6184 enable_languages
="${LANGUAGES}"
6185 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6187 enable_languages
=default
6190 if test x
"${enable_languages}" = x ||
6191 test x
"${enable_languages}" = xyes
;
6193 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6197 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6199 # 'f95' is the old name for the 'fortran' language. We issue a warning
6200 # and make the substitution.
6201 case ,${enable_languages}, in
6203 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6204 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6208 # If bootstrapping, C++ must be enabled.
6209 case ",$enable_languages,:$enable_bootstrap" in
6212 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6213 enable_languages
="${enable_languages},c++"
6215 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
6220 # First scan to see if an enabled language requires some other language.
6221 # We assume that a given config-lang.in will list all the language
6222 # front ends it requires, even if some are required indirectly.
6223 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6224 case ${lang_frag} in
6226 # The odd quoting in the next line works around
6227 # an apparent bug in bash 1.12 on linux.
6228 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6230 # From the config-lang.in, get $language, $lang_requires, and
6231 # $lang_requires_boot_languages.
6234 lang_requires_boot_languages
=
6235 # set srcdir during sourcing lang_frag to the gcc dir.
6236 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
6237 # polutes this shell
6238 saved_srcdir
=${srcdir}
6239 srcdir
=${srcdir}/gcc .
${lang_frag}
6240 srcdir
=${saved_srcdir}
6241 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6242 case ,${enable_languages}, in
6247 echo " \`$other' language required by \`$language'; enabling" 1>&2
6248 enable_languages
="${enable_languages},${other}"
6252 for other
in ${lang_requires_boot_languages} ; do
6253 if test "$other" != "c"; then
6254 case ,${enable_stage1_languages}, in
6259 case ,${enable_languages}, in
6261 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6262 enable_stage1_languages
="$enable_stage1_languages,${other}"
6273 new_enable_languages
=,c
,
6275 # If LTO is enabled, add the LTO front end.
6276 if test "$enable_lto" = "yes" ; then
6277 case ,${enable_languages}, in
6279 *) enable_languages
="${enable_languages},lto" ;;
6281 if test "${build_lto_plugin}" = "yes" ; then
6282 configdirs
="$configdirs lto-plugin"
6286 # If we're building an offloading compiler, add the LTO front end.
6287 if test x
"$enable_as_accelerator_for" != x
; then
6288 case ,${enable_languages}, in
6290 *) enable_languages
="${enable_languages},lto" ;;
6294 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
6295 potential_languages
=,c
,
6297 enabled_target_libs
=
6298 disabled_target_libs
=
6300 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6301 case ${lang_frag} in
6303 # The odd quoting in the next line works around
6304 # an apparent bug in bash 1.12 on linux.
6305 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6307 # From the config-lang.in, get $language, $target_libs,
6308 # $lang_dirs, $boot_language, and $build_by_default
6314 build_by_default
=yes
6315 # set srcdir during sourcing. See above about save & restore
6316 saved_srcdir
=${srcdir}
6317 srcdir
=${srcdir}/gcc .
${lang_frag}
6318 srcdir
=${saved_srcdir}
6319 if test x
${language} = x
; then
6320 echo "${lang_frag} doesn't set \$language." 1>&2
6324 if test "$language" = "c++"; then
6329 # C is always enabled, so no need to add it again
6330 if test "$language" != "c"; then
6331 case ,${enable_languages}, in
6333 # Language was explicitly selected; include it
6337 # All languages are enabled
6341 # 'default' was selected, select it if it is a default language
6342 add_this_lang
=${build_by_default}
6347 # Disable languages that need other directories if these aren't available.
6348 for i
in $subdir_requires; do
6349 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6350 case ${add_this_lang} in
6352 # Specifically requested language; tell them.
6353 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
6357 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
6358 add_this_lang
=unsupported
6362 add_this_lang
=unsupported
6367 # Disable Ada if no preexisting GNAT is available.
6368 case ${add_this_lang}:${language}:${have_gnat} in
6370 # Specifically requested language; tell them.
6371 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
6375 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
6376 add_this_lang
=unsupported
6380 add_this_lang
=unsupported
6384 # Disable jit if -enable-host-shared not specified
6385 case ${add_this_lang}:${language}:${host_shared} in
6387 # PR jit/64780: explicitly specify --enable-host-shared
6389 Enabling language \"jit\" requires --enable-host-shared.
6391 --enable-host-shared typically slows the rest of the compiler down by
6392 a few %, so you must explicitly enable it.
6394 If you want to build both the jit and the regular compiler, it is often
6395 best to do this via two separate configure/builds, in separate
6396 directories, to avoid imposing the performance cost of
6397 --enable-host-shared on the regular compiler." "$LINENO" 5
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
6401 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
6402 add_this_lang
=unsupported
6406 add_this_lang
=unsupported
6410 # Disable a language that is unsupported by the target.
6411 case "${add_this_lang}: $unsupported_languages " in
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
6416 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
6417 add_this_lang
=unsupported
6421 case $add_this_lang in
6423 # Remove language-dependent dirs.
6424 disabled_target_libs
="$disabled_target_libs $target_libs"
6425 noconfigdirs
="$noconfigdirs $lang_dirs"
6428 # Remove language-dependent dirs; still show language as supported.
6429 disabled_target_libs
="$disabled_target_libs $target_libs"
6430 noconfigdirs
="$noconfigdirs $lang_dirs"
6431 potential_languages
="${potential_languages}${language},"
6434 new_enable_languages
="${new_enable_languages}${language},"
6435 potential_languages
="${potential_languages}${language},"
6436 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6437 enabled_target_libs
="$enabled_target_libs $target_libs"
6438 case "${boot_language}:,$enable_stage1_languages," in
6439 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6440 # Add to (comma-separated) list of stage 1 languages.
6441 case ",$stage1_languages," in
6442 *,$language,* |
,yes, |
,all
,) ;;
6443 *) stage1_languages
="${stage1_languages}${language}," ;;
6445 # We need to bootstrap any supporting libraries.
6446 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6455 # Add target libraries which are only needed for disabled languages
6457 if test -n "$disabled_target_libs"; then
6458 for dir
in $disabled_target_libs; do
6459 case " $enabled_target_libs " in
6461 *) noconfigdirs
="$noconfigdirs $dir" ;;
6466 # Check whether --enable-stage1-languages was given.
6467 if test "${enable_stage1_languages+set}" = set; then :
6468 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6470 # Set it to something that will have no effect in the loop below
6471 enable_stage1_languages
=c
;;
6473 enable_stage1_languages
=`echo $new_enable_languages | \
6474 sed -e "s/^,//" -e "s/,$//" ` ;;
6476 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6477 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6480 # Add "good" languages from enable_stage1_languages to stage1_languages,
6481 # while "bad" languages go in missing_languages. Leave no duplicates.
6482 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6483 case $potential_languages in
6485 case $stage1_languages in
6487 *) stage1_languages
="$stage1_languages$i," ;;
6490 case $missing_languages in
6492 *) missing_languages
="$missing_languages$i," ;;
6499 # Remove leading/trailing commas that were added for simplicity
6500 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6501 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6502 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6503 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6505 if test "x$missing_languages" != x
; then
6507 The following requested languages could not be built: ${missing_languages}
6508 Supported languages are: ${potential_languages}" "$LINENO" 5
6510 if test "x$new_enable_languages" != "x$enable_languages"; then
6511 echo The following languages will be built
: ${new_enable_languages}
6512 enable_languages
="$new_enable_languages"
6516 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6519 # Handle --disable-<component> generically.
6520 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6521 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6522 varname
=`echo $dirname | sed -e s/+/_/g`
6523 if eval test x\
${enable_${varname}} "=" xno
; then
6524 noconfigdirs
="$noconfigdirs $dir"
6528 # Check for Boehm's garbage collector
6529 # Check whether --enable-objc-gc was given.
6530 if test "${enable_objc_gc+set}" = set; then :
6531 enableval
=$enable_objc_gc;
6535 # Check whether --with-target-bdw-gc was given.
6536 if test "${with_target_bdw_gc+set}" = set; then :
6537 withval
=$with_target_bdw_gc;
6541 # Check whether --with-target-bdw-gc-include was given.
6542 if test "${with_target_bdw_gc_include+set}" = set; then :
6543 withval
=$with_target_bdw_gc_include;
6547 # Check whether --with-target-bdw-gc-lib was given.
6548 if test "${with_target_bdw_gc_lib+set}" = set; then :
6549 withval
=$with_target_bdw_gc_lib;
6553 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6555 $as_echo_n "checking for bdw garbage collector... " >&6; }
6556 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6558 $as_echo "using bdw-gc in default locations" >&6; }
6560 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6561 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6562 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6563 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6566 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6571 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6572 case ,${enable_languages}, in
6574 # Disable libitm, libsanitizer if we're not building libstdc++
6575 case "${noconfigdirs}" in
6576 *target-libstdc
++-v3*)
6577 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
6583 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6587 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6588 # $build_configdirs and $target_configdirs.
6589 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6592 for dir
in .
$skipdirs $noconfigdirs ; do
6593 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6594 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6595 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6596 if test -r $srcdir/$dirname/configure
; then
6597 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6600 notsupp
="$notsupp $dir"
6604 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6605 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6606 if test -r $srcdir/$dirname/configure
; then
6607 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6610 notsupp
="$notsupp $dir"
6614 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6615 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6616 if test -r $srcdir/$dirname/configure
; then
6617 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6620 notsupp
="$notsupp $dir"
6626 # Quietly strip out all directories which aren't configurable in this tree.
6627 # This relies on all configurable subdirectories being autoconfiscated, which
6629 build_configdirs_all
="$build_configdirs"
6631 for i
in ${build_configdirs_all} ; do
6632 j
=`echo $i | sed -e s/build-//g`
6633 if test -f ${srcdir}/$j/configure
; then
6634 build_configdirs
="${build_configdirs} $i"
6638 configdirs_all
="$configdirs"
6640 for i
in ${configdirs_all} ; do
6641 if test -f ${srcdir}/$i/configure
; then
6642 configdirs
="${configdirs} $i"
6646 target_configdirs_all
="$target_configdirs"
6648 for i
in ${target_configdirs_all} ; do
6649 j
=`echo $i | sed -e s/target-//g`
6650 if test -f ${srcdir}/$j/configure
; then
6651 target_configdirs
="${target_configdirs} $i"
6655 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6656 # so we have to add it after the preceding checks.
6657 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6659 case " $configdirs " in
6661 # If we can build libiberty, we can also build libiberty-linker-plugin.
6662 configdirs
="$configdirs libiberty-linker-plugin"
6663 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6664 --with-libiberty=../libiberty-linker-plugin";;
6666 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
6670 # Sometimes we have special requirements for the host libiberty.
6671 extra_host_libiberty_configure_flags
=
6672 extra_host_zlib_configure_flags
=
6673 case " $configdirs " in
6674 *" lto-plugin "* |
*" libcc1 "*)
6675 # When these are to be built as shared libraries, the same applies to
6677 extra_host_libiberty_configure_flags
=--enable-shared
6680 # When bfd is to be built as a shared library, the same applies to
6682 if test "$enable_shared" = "yes"; then
6683 extra_host_zlib_configure_flags
=--enable-host-shared
6690 # Produce a warning message for the subdirs we can't configure.
6691 # This isn't especially interesting in the Cygnus tree, but in the individual
6692 # FSF releases, it's important to let people know when their machine isn't
6693 # supported by the one or two programs in a package.
6695 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6696 # If $appdirs is non-empty, at least one of those directories must still
6697 # be configured, or we error out. (E.g., if the gas release supports a
6698 # specified target in some subdirs but not the gas subdir, we shouldn't
6699 # pretend that all is well.)
6700 if test -n "$appdirs" ; then
6701 for dir
in $appdirs ; do
6702 if test -r $dir/Makefile.
in ; then
6703 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6707 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6713 if test -n "$appdirs" ; then
6714 echo "*** This configuration is not supported by this package." 1>&2
6718 # Okay, some application will build, or we don't care to check. Still
6719 # notify of subdirs not getting built.
6720 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6721 echo " ${notsupp}" 1>&2
6722 echo " (Any other directories should still work fine.)" 1>&2
6730 # To find our prefix, in gcc_cv_tool_prefix.
6732 # The user is always right.
6733 if test "${PATH_SEPARATOR+set}" != set; then
6734 echo "#! /bin/sh" >conf$$.sh
6735 echo "exit 0" >>conf$$.sh
6737 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6746 get_gcc_base_ver
="cat"
6748 # Check whether --with-gcc-major-version-only was given.
6749 if test "${with_gcc_major_version_only+set}" = set; then :
6750 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
6751 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
6761 if test "x$exec_prefix" = xNONE
; then
6762 if test "x$prefix" = xNONE
; then
6763 gcc_cv_tool_prefix
=$ac_default_prefix
6765 gcc_cv_tool_prefix
=$prefix
6768 gcc_cv_tool_prefix
=$exec_prefix
6771 # If there is no compiler in the tree, use the PATH only. In any
6772 # case, if there is no compiler in the tree nobody should use
6773 # AS_FOR_TARGET and LD_FOR_TARGET.
6774 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6775 if test x
$with_gcc_major_version_only = xyes
; then
6776 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
6778 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6780 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6781 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6782 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6783 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6784 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6785 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6790 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6791 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6799 # Check whether --with-build-sysroot was given.
6800 if test "${with_build_sysroot+set}" = set; then :
6801 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6802 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6805 SYSROOT_CFLAGS_FOR_TARGET
=
6811 # Check whether --with-debug-prefix-map was given.
6812 if test "${with_debug_prefix_map+set}" = set; then :
6813 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6814 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6815 for debug_map
in $withval; do
6816 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6820 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6825 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6826 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6827 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6828 # We want to ensure that TARGET libraries (which we know are built with
6829 # gcc) are built with "-O2 -g", so include those options when setting
6830 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6831 if test "x$CFLAGS_FOR_TARGET" = x
; then
6832 if test "x${is_cross_compiler}" = xyes
; then
6833 CFLAGS_FOR_TARGET
="-g -O2"
6835 CFLAGS_FOR_TARGET
=$CFLAGS
6838 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6841 *" -g "* |
*" -g3 "*) ;;
6842 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6848 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6849 if test "x${is_cross_compiler}" = xyes
; then
6850 CXXFLAGS_FOR_TARGET
="-g -O2"
6852 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6853 case " $CXXFLAGS " in
6855 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6857 case " $CXXFLAGS " in
6858 *" -g "* |
*" -g3 "*) ;;
6859 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6867 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6868 # the named directory are copied to $(tooldir)/sys-include.
6869 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6870 if test x
${is_cross_compiler} = xno
; then
6871 echo 1>&2 '***' --with-headers is only supported when cross compiling
6874 if test x
"${with_headers}" != xyes
; then
6875 x
=${gcc_cv_tool_prefix}
6876 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6880 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6881 # the name directories are copied to $(tooldir)/lib. Multiple directories
6883 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6884 if test x
${is_cross_compiler} = xno
; then
6885 echo 1>&2 '***' --with-libs is only supported when cross compiling
6888 if test x
"${with_libs}" != xyes
; then
6889 # Copy the libraries in reverse order, so that files in the first named
6890 # library override files in subsequent libraries.
6891 x
=${gcc_cv_tool_prefix}
6892 for l
in ${with_libs}; do
6893 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6898 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6900 # This is done by determining whether or not the appropriate directory
6901 # is available, and by checking whether or not specific configurations
6902 # have requested that this magic not happen.
6904 # The command line options always override the explicit settings in
6905 # configure.ac, and the settings in configure.ac override this magic.
6907 # If the default for a toolchain is to use GNU as and ld, and you don't
6908 # want to do that, then you should use the --without-gnu-as and
6909 # --without-gnu-ld options for the configure script. Similarly, if
6910 # the default is to use the included zlib and you don't want to do that,
6911 # you should use the --with-system-zlib option for the configure script.
6913 if test x
${use_gnu_as} = x
&&
6914 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6916 extra_host_args
="$extra_host_args --with-gnu-as"
6919 if test x
${use_gnu_ld} = x
&&
6920 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6922 extra_host_args
="$extra_host_args --with-gnu-ld"
6925 if test x
${use_included_zlib} = x
&&
6926 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6929 with_system_zlib
=yes
6930 extra_host_args
="$extra_host_args --with-system-zlib"
6933 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6934 # can detect this case.
6936 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6938 extra_host_args
="$extra_host_args --with-newlib"
6941 # Handle ${copy_dirs}
6942 set fnord
${copy_dirs}
6944 while test $# != 0 ; do
6945 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6948 echo Copying
$1 to
$2
6950 # Use the install script to create the directory and all required
6951 # parent directories.
6952 if test -d $2 ; then
6956 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6959 # Copy the directory, assuming we have tar.
6960 # FIXME: Should we use B in the second tar? Not all systems support it.
6961 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6963 # It is the responsibility of the user to correctly adjust all
6964 # symlinks. If somebody can figure out how to handle them correctly
6965 # here, feel free to add the code.
6972 # Determine a target-dependent exec_prefix that the installed
6973 # gcc will search in. Keep this list sorted by triplet, with
6974 # the *-*-osname triplets last.
6977 i
[34567]86-pc-msdosdjgpp*)
6978 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6983 md_exec_prefix
=/usr
/ccs
/bin
6987 extra_arflags_for_target
=
6988 extra_nmflags_for_target
=
6989 extra_ranlibflags_for_target
=
6990 target_makefile_frag
=/dev
/null
6993 target_makefile_frag
="config/mt-spu"
6995 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6996 target_makefile_frag
="config/mt-sde"
6998 mipsisa
*-*-elfoabi*)
6999 target_makefile_frag
="config/mt-mips-elfoabi"
7001 mips
*-*-*linux
* | mips
*-*-gnu*)
7002 target_makefile_frag
="config/mt-mips-gnu"
7005 target_makefile_frag
="config/mt-nios2-elf"
7008 target_makefile_frag
="config/mt-android"
7010 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7011 target_makefile_frag
="config/mt-gnu"
7013 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7014 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7015 # commands to handle both 32-bit and 64-bit objects. These flags are
7016 # harmless if we're using GNU nm or ar.
7017 extra_arflags_for_target
=" -X32_64"
7018 extra_nmflags_for_target
=" -B -X32_64"
7022 alphaieee_frag
=/dev
/null
7025 # This just makes sure to use the -mieee option to build target libs.
7026 # This should probably be set individually by each library.
7027 alphaieee_frag
="config/mt-alphaieee"
7031 # If --enable-target-optspace always use -Os instead of -O2 to build
7032 # the target libraries, similarly if it is not specified, use -Os
7033 # on selected platforms.
7034 ospace_frag
=/dev
/null
7035 case "${enable_target_optspace}:${target}" in
7037 ospace_frag
="config/mt-ospace"
7040 ospace_frag
="config/mt-d30v"
7042 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
7043 ospace_frag
="config/mt-ospace"
7048 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7052 # Some systems (e.g., one of the i386-aix systems the gas testers are
7053 # using) don't handle "\$" correctly, so don't use it here.
7054 tooldir
='${exec_prefix}'/${target_noncanonical}
7055 build_tooldir
=${tooldir}
7057 # Create a .gdbinit file which runs the one in srcdir
7058 # and tells GDB to look there for source files.
7060 if test -r ${srcdir}/.gdbinit
; then
7063 *) cat > .
/.gdbinit
<<EOF
7067 source ${srcdir}/.gdbinit
7073 # Make sure that the compiler is able to generate an executable. If it
7074 # can't, we are probably in trouble. We don't care whether we can run the
7075 # executable--we might be using a cross compiler--we only care whether it
7076 # can be created. At this point the main configure script has set CC.
7078 echo "int main () { return 0; }" > conftest.c
7079 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7080 if test $?
= 0 ; then
7081 if test -s conftest ||
test -s conftest.exe
; then
7087 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7088 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7095 # Decide which environment variable is used to find dynamic libraries.
7097 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7098 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7099 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7100 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7103 # On systems where the dynamic library environment variable is PATH,
7104 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7105 # built executables to PATH.
7106 if test "$RPATH_ENVVAR" = PATH
; then
7107 GCC_SHLIB_SUBDIR
=/shlib
7112 # Adjust the toplevel makefile according to whether bootstrap was selected.
7113 case $enable_bootstrap in
7115 bootstrap_suffix
=bootstrap
7116 BUILD_CONFIG
=bootstrap-debug
7119 bootstrap_suffix
=no-bootstrap
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7125 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7128 # Check whether --with-build-config was given.
7129 if test "${with_build_config+set}" = set; then :
7130 withval
=$with_build_config; case $with_build_config in
7131 yes) with_build_config
= ;;
7132 no
) with_build_config
= BUILD_CONFIG
= ;;
7137 if test "x${with_build_config}" != x
; then
7138 BUILD_CONFIG
=$with_build_config
7140 case $BUILD_CONFIG in
7142 if echo "int f (void) { return 0; }" > conftest.c
&&
7143 ${CC} -c conftest.c
&&
7144 mv conftest.o conftest.o.g0
&&
7145 ${CC} -c -g conftest.c
&&
7146 mv conftest.o conftest.o.g
&&
7147 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7152 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7157 $as_echo "$BUILD_CONFIG" >&6; }
7160 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7162 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7163 # Check whether --enable-vtable-verify was given.
7164 if test "${enable_vtable_verify+set}" = set; then :
7165 enableval
=$enable_vtable_verify; case "$enableval" in
7166 yes) enable_vtable_verify
=yes ;;
7167 no
) enable_vtable_verify
=no
;;
7168 *) enable_vtable_verify
=no
;;
7171 enable_vtable_verify
=no
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7175 $as_echo "$enable_vtable_verify" >&6; }
7177 # Record target_configdirs and the configure arguments for target and
7178 # build configuration in Makefile.
7179 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7180 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7181 bootstrap_fixincludes
=no
7183 # If we are building libgomp, bootstrap it.
7184 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7185 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7188 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7189 # or bootstrap-ubsan, bootstrap it.
7190 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7191 case "$BUILD_CONFIG" in
7192 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7193 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7194 bootstrap_fixincludes
=yes
7199 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7200 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7201 test "$enable_vtable_verify" != no
; then
7202 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7205 # Determine whether gdb needs tk/tcl or not.
7206 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7207 # and in that case we want gdb to be built without tk. Ugh!
7208 # In fact I believe gdb is the *only* package directly dependent on tk,
7209 # so we should be able to put the 'maybe's in unconditionally and
7210 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7211 # 100% sure that that's safe though.
7213 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7214 case "$enable_gdbtk" in
7218 GDB_TK
="${gdb_tk}" ;;
7220 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7221 # distro. Eventually someone will fix this and move Insight, nee
7222 # gdbtk to a separate directory.
7223 if test -d ${srcdir}/gdb
/gdbtk
; then
7230 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7231 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7233 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
7234 # else does, only include them if one of these is built. The Makefile
7235 # provides the ordering, so it's enough here to add to the list.
7236 case " ${configdirs} " in
7238 configdirs
="${configdirs} gnulib gdbsupport"
7241 configdirs
="${configdirs} gnulib gdbsupport"
7245 # Strip out unwanted targets.
7247 # While at that, we remove Makefiles if we were started for recursive
7248 # configuration, so that the top-level Makefile reconfigures them,
7249 # like we used to do when configure itself was recursive.
7251 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7252 # but now we're fixing up the Makefile ourselves with the additional
7253 # commands passed to AC_CONFIG_FILES. Use separate variables
7254 # extrasub-{build,host,target} not because there is any reason to split
7255 # the substitutions up that way, but only to remain below the limit of
7256 # 99 commands in a script, for HP-UX sed.
7258 # Do not nest @if/@endif or @unless/@endunless pairs, because
7259 # configure will not warn you at all.
7261 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7262 yes:yes:*\ gold\
*:*,c
++,*) ;;
7263 yes:yes:*\ gold\
*:*)
7264 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7269 for module
in ${build_configdirs} ; do
7270 if test -z "${no_recursion}" \
7271 && test -f ${build_subdir}/${module}/Makefile
; then
7272 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7273 rm -f ${build_subdir}/${module}/Makefile
7275 extrasub_build
="$extrasub_build
7276 /^@if build-$module\$/d
7277 /^@endif build-$module\$/d
7278 /^@unless build-$module\$/,/^@endunless build-$module\$/d
7279 /^@if build-$module-$bootstrap_suffix\$/d
7280 /^@endif build-$module-$bootstrap_suffix\$/d
7281 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
7284 for module
in ${configdirs} ; do
7285 if test -z "${no_recursion}"; then
7286 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7287 if test -f ${file}; then
7288 echo 1>&2 "*** removing ${file} to force reconfigure"
7293 case ${module},${bootstrap_fixincludes} in
7294 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7295 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7297 extrasub_host
="$extrasub_host
7299 /^@endif $module\$/d
7300 /^@unless $module\$/,/^@endunless $module\$/d
7301 /^@if $module-$host_bootstrap_suffix\$/d
7302 /^@endif $module-$host_bootstrap_suffix\$/d
7303 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
7306 for module
in ${target_configdirs} ; do
7307 if test -z "${no_recursion}" \
7308 && test -f ${target_subdir}/${module}/Makefile
; then
7309 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7310 rm -f ${target_subdir}/${module}/Makefile
7313 # We only bootstrap target libraries listed in bootstrap_target_libs.
7314 case $bootstrap_target_libs in
7315 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7316 *) target_bootstrap_suffix
=no-bootstrap
;;
7319 extrasub_target
="$extrasub_target
7320 /^@if target-$module\$/d
7321 /^@endif target-$module\$/d
7322 /^@unless target-$module\$/,/^@endunless target-$module\$/d
7323 /^@if target-$module-$target_bootstrap_suffix\$/d
7324 /^@endif target-$module-$target_bootstrap_suffix\$/d
7325 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
7328 # Do the final fixup along with target modules.
7329 extrasub_target
="$extrasub_target
7334 # Create the serialization dependencies. This uses a temporary file.
7336 # Check whether --enable-serial-configure was given.
7337 if test "${enable_serial_configure+set}" = set; then :
7338 enableval
=$enable_serial_configure;
7342 case ${enable_serial_configure} in
7344 enable_serial_build_configure
=yes
7345 enable_serial_host_configure
=yes
7346 enable_serial_target_configure
=yes
7350 # These force 'configure's to be done one at a time, to avoid problems
7351 # with contention over a shared config.cache.
7353 echo '# serdep.tmp' > serdep.tmp
7355 test "x${enable_serial_build_configure}" = xyes
&&
7356 for item
in ${build_configdirs} ; do
7359 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7364 test "x${enable_serial_host_configure}" = xyes
&&
7365 for item
in ${configdirs} ; do
7368 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7373 test "x${enable_serial_target_configure}" = xyes
&&
7374 for item
in ${target_configdirs} ; do
7377 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7381 serialization_dependencies
=serdep.tmp
7384 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7385 # target, nonopt, and variable assignments. These are the ones we
7386 # might not want to pass down to subconfigures. The exception being
7387 # --cache-file=/dev/null, which is used to turn off the use of cache
7388 # files altogether, and which should be passed on to subconfigures.
7389 # Also strip program-prefix, program-suffix, and program-transform-name,
7390 # so that we can pass down a consistent program-transform-name.
7395 eval "set -- $ac_configure_args"
7398 if test X
"$skip_next" = X
"yes"; then
7402 if test X
"$keep_next" = X
"yes"; then
7405 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7407 baseargs
="$baseargs '$ac_arg'"
7408 tbaseargs
="$tbaseargs '$ac_arg'"
7413 # Handle separated arguments. Based on the logic generated by
7416 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7417 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7418 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7419 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7433 --with-* |
--without-*)
7434 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7438 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7441 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7450 mpc | mpfr | gmp | isl
)
7451 # If we're processing --with-$lib, --with-$lib-include or
7452 # --with-$lib-lib, for one of the libs above, and target is
7453 # different from host, don't pass the current argument to any
7454 # target library's configure.
7455 if test x
$is_cross_compiler = xyes
; then
7464 --cache-file=/dev
/null | \
7465 -cache-file=/dev
/null
)
7466 # Handled here to avoid the test to skip args below.
7467 baseargs
="$baseargs '$ac_arg'"
7468 tbaseargs
="$tbaseargs '$ac_arg'"
7469 # Assert: $separate_arg should always be no.
7470 keep_next
=$separate_arg
7486 -program-prefix* | \
7487 -program-suffix* | \
7488 -program-transform-name* )
7489 skip_next
=$separate_arg
7493 # An option. Add it.
7496 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7498 baseargs
="$baseargs '$ac_arg'"
7499 if test X
"$skip_targ" = Xno
; then
7500 tbaseargs
="$tbaseargs '$ac_arg'"
7502 keep_next
=$separate_arg
7505 # Either a variable assignment, or a nonopt (triplet). Don't
7506 # pass it down; let the Makefile handle this.
7511 # Remove the initial space we just introduced and, as these will be
7512 # expanded by make, quote '$'.
7513 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7515 # Add in --program-transform-name, after --program-prefix and
7516 # --program-suffix have been applied to it. Autoconf has already
7517 # doubled dollar signs and backslashes in program_transform_name; we want
7518 # the backslashes un-doubled, and then the entire thing wrapped in single
7519 # quotes, because this will be expanded first by make and then by the shell.
7520 # Also, because we want to override the logic in subdir configure scripts to
7521 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7522 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7523 ${program_transform_name}
7525 gcc_transform_name
=`cat conftestsed.out`
7526 rm -f conftestsed.out
7527 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7528 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7529 if test "$silent" = yes; then
7530 baseargs
="$baseargs --silent"
7531 tbaseargs
="$tbaseargs --silent"
7533 baseargs
="$baseargs --disable-option-checking"
7534 tbaseargs
="$tbaseargs --disable-option-checking"
7536 # Record and document user additions to sub configure arguments.
7541 # For the build-side libraries, we just need to pretend we're native,
7542 # and not use the same cache file. Multilibs are neither needed nor
7543 # desired. We can't even use the same cache file for all build-side
7544 # libraries, as they're compiled differently; some with C, some with
7545 # C++ or with different feature-enabling options.
7546 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7548 # For host modules, accept cache file option, or specification as blank.
7549 case "${cache_file}" in
7551 cache_file_option
="" ;;
7552 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7553 cache_file_option
="--cache-file=${cache_file}" ;;
7555 cache_file_option
="--cache-file=../${cache_file}" ;;
7558 # Host dirs don't like to share a cache file either, horribly enough.
7559 # This seems to be due to autoconf 2.5x stupidity.
7560 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7562 target_configargs
="$target_configargs ${tbaseargs}"
7564 # Passing a --with-cross-host argument lets the target libraries know
7565 # whether they are being built with a cross-compiler or being built
7566 # native. However, it would be better to use other mechanisms to make the
7567 # sorts of decisions they want to make on this basis. Please consider
7568 # this option to be deprecated. FIXME.
7569 if test x
${is_cross_compiler} = xyes
; then
7570 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7573 # Special user-friendly check for native x86_64-linux build, if
7574 # multilib is not explicitly enabled.
7575 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7576 x86_64-
*linux
*:yes:$build:$build:)
7577 # Make sure we have a development environment that handles 32-bit
7579 echo "int main () { return 0; }" > conftest.c
7580 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7581 if test $?
= 0 ; then
7582 if test -s conftest ||
test -s conftest.exe
; then
7587 if test x
${dev64} != xyes
; then
7588 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
7593 # Default to --enable-multilib.
7594 if test x
${enable_multilib} = x
; then
7595 target_configargs
="--enable-multilib ${target_configargs}"
7598 # Pass --with-newlib if appropriate. Note that target_configdirs has
7599 # changed from the earlier setting of with_newlib.
7600 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7601 target_configargs
="--with-newlib ${target_configargs}"
7604 # Different target subdirs use different values of certain variables
7605 # (notably CXX). Worse, multilibs use *lots* of different values.
7606 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7607 # it doesn't automatically accept command-line overrides of them.
7608 # This means it's not safe for target subdirs to share a cache file,
7609 # which is disgusting, but there you have it. Hopefully this can be
7610 # fixed in future. It's still worthwhile to use a cache file for each
7611 # directory. I think.
7613 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7614 # We need to pass --target, as newer autoconf's requires consistency
7615 # for target_alias and gcc doesn't manage it consistently.
7616 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7619 case " $target_configdirs " in
7621 case " $target_configargs " in
7622 *" --with-newlib "*)
7625 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7629 # If we're not building GCC, don't discard standard headers.
7630 if test -d ${srcdir}/gcc
; then
7631 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7633 if test "${build}" != "${host}"; then
7634 # On Canadian crosses, CC_FOR_TARGET will have already been set
7635 # by `configure', so we won't have an opportunity to add -Bgcc/
7636 # to it. This is right: we don't want to search that directory
7637 # for binaries, but we want the header files in there, so add
7639 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7641 # Someone might think of using the pre-installed headers on
7642 # Canadian crosses, in case the installed compiler is not fully
7643 # compatible with the compiler being built. In this case, it
7644 # would be better to flag an error than risking having
7645 # incompatible object files being constructed. We can't
7646 # guarantee that an error will be flagged, but let's hope the
7647 # compiler will do it, when presented with incompatible header
7652 case "${target}-${is_cross_compiler}" in
7653 i
[3456789]86-*-linux*-no)
7654 # Here host == target, so we don't need to build gcc,
7655 # so we don't want to discard standard headers.
7656 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7659 # If we're building newlib, use its generic headers last, but search
7660 # for any libc-related directories first (so make it the last -B
7662 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7664 # If we're building libgloss, find the startup file, simulator library
7665 # and linker script.
7666 case " $target_configdirs " in
7668 # Look for startup file, simulator library and maybe linker script.
7669 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7670 # Look for libnosys.a in case the target needs it.
7671 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7672 # Most targets have the linker script in the source directory.
7673 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7684 x86_64-
*mingw
* |
*-w64-mingw*)
7685 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7686 # however, use a symlink named 'mingw' in ${prefix} .
7687 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7690 # MinGW can't be handled as Cygwin above since it does not use newlib.
7691 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'
7695 # Allow the user to override the flags for
7696 # our build compiler if desired.
7697 if test x
"${build}" = x
"${host}" ; then
7698 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7699 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7700 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7703 # On Canadian crosses, we'll be searching the right directories for
7704 # the previously-installed cross compiler, so don't bother to add
7705 # flags for directories within the install tree of the compiler
7706 # being built; programs in there won't even run.
7707 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7708 # Search for pre-installed headers if nothing else fits.
7709 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7712 if test "x
${use_gnu_ld}" = x &&
7713 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7714 # Arrange for us to find uninstalled linker scripts.
7715 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7718 # Search for other target-specific linker scripts and such.
7721 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7725 # Makefile fragments.
7726 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7728 eval fragval=\$$frag
7729 if test $fragval != /dev/null; then
7730 eval $frag=${srcdir}/$fragval
7738 # Miscellanea: directories, flags, etc.
7747 # Build module lists & subconfigure args.
7751 # Host module lists & subconfigure args.
7756 # Target module lists & subconfigure args.
7777 # Generate default definitions for YACC, M4, LEX and other programs that run
7778 # on the build machine. These are used if the Makefile can't locate these
7779 # programs in objdir.
7780 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7782 for ac_prog in 'bison -y' byacc yacc
7784 # Extract the first word of "$ac_prog", so it can be a program name with args.
7785 set dummy $ac_prog; ac_word=$2
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7787 $as_echo_n "checking
for $ac_word...
" >&6; }
7788 if ${ac_cv_prog_YACC+:} false; then :
7789 $as_echo_n "(cached
) " >&6
7791 if test -n "$YACC"; then
7792 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7798 test -z "$as_dir" && as_dir=.
7799 for ac_exec_ext in '' $ac_executable_extensions; do
7800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7801 ac_cv_prog_YACC="$ac_prog"
7802 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7811 YACC=$ac_cv_prog_YACC
7812 if test -n "$YACC"; then
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7814 $as_echo "$YACC" >&6; }
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7817 $as_echo "no
" >&6; }
7821 test -n "$YACC" && break
7823 test -n "$YACC" || YACC="$MISSING bison
-y"
7825 case " $build_configdirs " in
7826 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7829 for ac_prog in bison
7831 # Extract the first word of "$ac_prog", so it can be a program name with args.
7832 set dummy $ac_prog; ac_word=$2
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7834 $as_echo_n "checking
for $ac_word...
" >&6; }
7835 if ${ac_cv_prog_BISON+:} false; then :
7836 $as_echo_n "(cached
) " >&6
7838 if test -n "$BISON"; then
7839 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7845 test -z "$as_dir" && as_dir=.
7846 for ac_exec_ext in '' $ac_executable_extensions; do
7847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7848 ac_cv_prog_BISON="$ac_prog"
7849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7858 BISON=$ac_cv_prog_BISON
7859 if test -n "$BISON"; then
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7861 $as_echo "$BISON" >&6; }
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7864 $as_echo "no
" >&6; }
7868 test -n "$BISON" && break
7870 test -n "$BISON" || BISON="$MISSING bison
"
7872 case " $build_configdirs " in
7873 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7876 for ac_prog in gm4 gnum4 m4
7878 # Extract the first word of "$ac_prog", so it can be a program name with args.
7879 set dummy $ac_prog; ac_word=$2
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7881 $as_echo_n "checking
for $ac_word...
" >&6; }
7882 if ${ac_cv_prog_M4+:} false; then :
7883 $as_echo_n "(cached
) " >&6
7885 if test -n "$M4"; then
7886 ac_cv_prog_M4="$M4" # Let the user override the test.
7888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7892 test -z "$as_dir" && as_dir=.
7893 for ac_exec_ext in '' $ac_executable_extensions; do
7894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7895 ac_cv_prog_M4="$ac_prog"
7896 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7906 if test -n "$M4"; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7908 $as_echo "$M4" >&6; }
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7911 $as_echo "no
" >&6; }
7915 test -n "$M4" && break
7917 test -n "$M4" || M4="$MISSING m4"
7919 case " $build_configdirs " in
7920 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7923 for ac_prog in flex lex
7925 # Extract the first word of "$ac_prog", so it can be a program name with args.
7926 set dummy $ac_prog; ac_word=$2
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7928 $as_echo_n "checking
for $ac_word...
" >&6; }
7929 if ${ac_cv_prog_LEX+:} false; then :
7930 $as_echo_n "(cached
) " >&6
7932 if test -n "$LEX"; then
7933 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7939 test -z "$as_dir" && as_dir=.
7940 for ac_exec_ext in '' $ac_executable_extensions; do
7941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7942 ac_cv_prog_LEX="$ac_prog"
7943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7953 if test -n "$LEX"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7955 $as_echo "$LEX" >&6; }
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7958 $as_echo "no
" >&6; }
7962 test -n "$LEX" && break
7964 test -n "$LEX" || LEX="$MISSING flex
"
7966 case " $build_configdirs " in
7967 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7968 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7973 # Extract the first word of "$ac_prog", so it can be a program name with args.
7974 set dummy $ac_prog; ac_word=$2
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7976 $as_echo_n "checking
for $ac_word...
" >&6; }
7977 if ${ac_cv_prog_FLEX+:} false; then :
7978 $as_echo_n "(cached
) " >&6
7980 if test -n "$FLEX"; then
7981 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7990 ac_cv_prog_FLEX="$ac_prog"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8000 FLEX=$ac_cv_prog_FLEX
8001 if test -n "$FLEX"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
8003 $as_echo "$FLEX" >&6; }
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8006 $as_echo "no
" >&6; }
8010 test -n "$FLEX" && break
8012 test -n "$FLEX" || FLEX="$MISSING flex
"
8014 case " $build_configdirs " in
8015 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8018 for ac_prog in makeinfo
8020 # Extract the first word of "$ac_prog", so it can be a program name with args.
8021 set dummy $ac_prog; ac_word=$2
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8023 $as_echo_n "checking
for $ac_word...
" >&6; }
8024 if ${ac_cv_prog_MAKEINFO+:} false; then :
8025 $as_echo_n "(cached
) " >&6
8027 if test -n "$MAKEINFO"; then
8028 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8034 test -z "$as_dir" && as_dir=.
8035 for ac_exec_ext in '' $ac_executable_extensions; do
8036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8037 ac_cv_prog_MAKEINFO="$ac_prog"
8038 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8047 MAKEINFO=$ac_cv_prog_MAKEINFO
8048 if test -n "$MAKEINFO"; then
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8050 $as_echo "$MAKEINFO" >&6; }
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8053 $as_echo "no
" >&6; }
8057 test -n "$MAKEINFO" && break
8059 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8061 case " $build_configdirs " in
8062 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8065 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8066 # higher, else we use the "missing
" dummy.
8067 if ${MAKEINFO} --version \
8068 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8071 MAKEINFO="$MISSING makeinfo
"
8077 # FIXME: expect and dejagnu may become build tools?
8079 for ac_prog in expect
8081 # Extract the first word of "$ac_prog", so it can be a program name with args.
8082 set dummy $ac_prog; ac_word=$2
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8084 $as_echo_n "checking
for $ac_word...
" >&6; }
8085 if ${ac_cv_prog_EXPECT+:} false; then :
8086 $as_echo_n "(cached
) " >&6
8088 if test -n "$EXPECT"; then
8089 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8095 test -z "$as_dir" && as_dir=.
8096 for ac_exec_ext in '' $ac_executable_extensions; do
8097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8098 ac_cv_prog_EXPECT="$ac_prog"
8099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8108 EXPECT=$ac_cv_prog_EXPECT
8109 if test -n "$EXPECT"; then
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8111 $as_echo "$EXPECT" >&6; }
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8114 $as_echo "no
" >&6; }
8118 test -n "$EXPECT" && break
8120 test -n "$EXPECT" || EXPECT="expect
"
8122 case " $configdirs " in
8124 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8128 for ac_prog in runtest
8130 # Extract the first word of "$ac_prog", so it can be a program name with args.
8131 set dummy $ac_prog; ac_word=$2
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8133 $as_echo_n "checking
for $ac_word...
" >&6; }
8134 if ${ac_cv_prog_RUNTEST+:} false; then :
8135 $as_echo_n "(cached
) " >&6
8137 if test -n "$RUNTEST"; then
8138 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144 test -z "$as_dir" && as_dir=.
8145 for ac_exec_ext in '' $ac_executable_extensions; do
8146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8147 ac_cv_prog_RUNTEST="$ac_prog"
8148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8157 RUNTEST=$ac_cv_prog_RUNTEST
8158 if test -n "$RUNTEST"; then
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8160 $as_echo "$RUNTEST" >&6; }
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8163 $as_echo "no
" >&6; }
8167 test -n "$RUNTEST" && break
8169 test -n "$RUNTEST" || RUNTEST="runtest
"
8171 case " $configdirs " in
8173 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8180 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8181 ncn_target_tool_prefix=
8182 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8186 if test -n "$AR"; then
8188 elif test -n "$ac_cv_prog_AR"; then
8192 if test -n "$ac_cv_prog_AR"; then
8193 for ncn_progname in ar; do
8194 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8195 set dummy ${ncn_progname}; ac_word=$2
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8197 $as_echo_n "checking
for $ac_word...
" >&6; }
8198 if ${ac_cv_prog_AR+:} false; then :
8199 $as_echo_n "(cached
) " >&6
8201 if test -n "$AR"; then
8202 ac_cv_prog_AR="$AR" # Let the user override the test.
8204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8208 test -z "$as_dir" && as_dir=.
8209 for ac_exec_ext in '' $ac_executable_extensions; do
8210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8211 ac_cv_prog_AR="${ncn_progname}"
8212 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8222 if test -n "$AR"; then
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8224 $as_echo "$AR" >&6; }
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8227 $as_echo "no
" >&6; }
8234 for ncn_progname in ar; do
8235 if test -n "$ncn_tool_prefix"; then
8236 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8237 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8239 $as_echo_n "checking
for $ac_word...
" >&6; }
8240 if ${ac_cv_prog_AR+:} false; then :
8241 $as_echo_n "(cached
) " >&6
8243 if test -n "$AR"; then
8244 ac_cv_prog_AR="$AR" # Let the user override the test.
8246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8250 test -z "$as_dir" && as_dir=.
8251 for ac_exec_ext in '' $ac_executable_extensions; do
8252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8253 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8254 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8264 if test -n "$AR"; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8266 $as_echo "$AR" >&6; }
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8269 $as_echo "no
" >&6; }
8274 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8275 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8276 set dummy ${ncn_progname}; ac_word=$2
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8278 $as_echo_n "checking
for $ac_word...
" >&6; }
8279 if ${ac_cv_prog_AR+:} false; then :
8280 $as_echo_n "(cached
) " >&6
8282 if test -n "$AR"; then
8283 ac_cv_prog_AR="$AR" # Let the user override the test.
8285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8289 test -z "$as_dir" && as_dir=.
8290 for ac_exec_ext in '' $ac_executable_extensions; do
8291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8292 ac_cv_prog_AR="${ncn_progname}"
8293 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8303 if test -n "$AR"; then
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8305 $as_echo "$AR" >&6; }
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8308 $as_echo "no
" >&6; }
8313 test -n "$ac_cv_prog_AR" && break
8316 if test -z "$ac_cv_prog_AR" ; then
8318 if test $build = $host ; then
8321 AR="${ncn_tool_prefix}$2"
8327 if test -n "$AS"; then
8329 elif test -n "$ac_cv_prog_AS"; then
8333 if test -n "$ac_cv_prog_AS"; then
8334 for ncn_progname in as; do
8335 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8336 set dummy ${ncn_progname}; ac_word=$2
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8338 $as_echo_n "checking
for $ac_word...
" >&6; }
8339 if ${ac_cv_prog_AS+:} false; then :
8340 $as_echo_n "(cached
) " >&6
8342 if test -n "$AS"; then
8343 ac_cv_prog_AS="$AS" # Let the user override the test.
8345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8349 test -z "$as_dir" && as_dir=.
8350 for ac_exec_ext in '' $ac_executable_extensions; do
8351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8352 ac_cv_prog_AS="${ncn_progname}"
8353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8363 if test -n "$AS"; then
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8365 $as_echo "$AS" >&6; }
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8368 $as_echo "no
" >&6; }
8375 for ncn_progname in as; do
8376 if test -n "$ncn_tool_prefix"; then
8377 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8378 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8380 $as_echo_n "checking
for $ac_word...
" >&6; }
8381 if ${ac_cv_prog_AS+:} false; then :
8382 $as_echo_n "(cached
) " >&6
8384 if test -n "$AS"; then
8385 ac_cv_prog_AS="$AS" # Let the user override the test.
8387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8391 test -z "$as_dir" && as_dir=.
8392 for ac_exec_ext in '' $ac_executable_extensions; do
8393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8394 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8405 if test -n "$AS"; then
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8407 $as_echo "$AS" >&6; }
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8410 $as_echo "no
" >&6; }
8415 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8416 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8417 set dummy ${ncn_progname}; ac_word=$2
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8419 $as_echo_n "checking
for $ac_word...
" >&6; }
8420 if ${ac_cv_prog_AS+:} false; then :
8421 $as_echo_n "(cached
) " >&6
8423 if test -n "$AS"; then
8424 ac_cv_prog_AS="$AS" # Let the user override the test.
8426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8430 test -z "$as_dir" && as_dir=.
8431 for ac_exec_ext in '' $ac_executable_extensions; do
8432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8433 ac_cv_prog_AS="${ncn_progname}"
8434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8444 if test -n "$AS"; then
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8446 $as_echo "$AS" >&6; }
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8449 $as_echo "no
" >&6; }
8454 test -n "$ac_cv_prog_AS" && break
8457 if test -z "$ac_cv_prog_AS" ; then
8459 if test $build = $host ; then
8462 AS="${ncn_tool_prefix}$2"
8468 if test -n "$DLLTOOL"; then
8469 ac_cv_prog_DLLTOOL=$DLLTOOL
8470 elif test -n "$ac_cv_prog_DLLTOOL"; then
8471 DLLTOOL=$ac_cv_prog_DLLTOOL
8474 if test -n "$ac_cv_prog_DLLTOOL"; then
8475 for ncn_progname in dlltool; do
8476 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8477 set dummy ${ncn_progname}; ac_word=$2
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8479 $as_echo_n "checking
for $ac_word...
" >&6; }
8480 if ${ac_cv_prog_DLLTOOL+:} false; then :
8481 $as_echo_n "(cached
) " >&6
8483 if test -n "$DLLTOOL"; then
8484 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8490 test -z "$as_dir" && as_dir=.
8491 for ac_exec_ext in '' $ac_executable_extensions; do
8492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8493 ac_cv_prog_DLLTOOL="${ncn_progname}"
8494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8503 DLLTOOL=$ac_cv_prog_DLLTOOL
8504 if test -n "$DLLTOOL"; then
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8506 $as_echo "$DLLTOOL" >&6; }
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8509 $as_echo "no
" >&6; }
8516 for ncn_progname in dlltool; do
8517 if test -n "$ncn_tool_prefix"; then
8518 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8519 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8521 $as_echo_n "checking
for $ac_word...
" >&6; }
8522 if ${ac_cv_prog_DLLTOOL+:} false; then :
8523 $as_echo_n "(cached
) " >&6
8525 if test -n "$DLLTOOL"; then
8526 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8532 test -z "$as_dir" && as_dir=.
8533 for ac_exec_ext in '' $ac_executable_extensions; do
8534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8535 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8536 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8545 DLLTOOL=$ac_cv_prog_DLLTOOL
8546 if test -n "$DLLTOOL"; then
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8548 $as_echo "$DLLTOOL" >&6; }
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8551 $as_echo "no
" >&6; }
8556 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8557 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8558 set dummy ${ncn_progname}; ac_word=$2
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8560 $as_echo_n "checking
for $ac_word...
" >&6; }
8561 if ${ac_cv_prog_DLLTOOL+:} false; then :
8562 $as_echo_n "(cached
) " >&6
8564 if test -n "$DLLTOOL"; then
8565 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8571 test -z "$as_dir" && as_dir=.
8572 for ac_exec_ext in '' $ac_executable_extensions; do
8573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8574 ac_cv_prog_DLLTOOL="${ncn_progname}"
8575 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8584 DLLTOOL=$ac_cv_prog_DLLTOOL
8585 if test -n "$DLLTOOL"; then
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8587 $as_echo "$DLLTOOL" >&6; }
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8590 $as_echo "no
" >&6; }
8595 test -n "$ac_cv_prog_DLLTOOL" && break
8598 if test -z "$ac_cv_prog_DLLTOOL" ; then
8600 if test $build = $host ; then
8603 DLLTOOL="${ncn_tool_prefix}$2"
8609 if test -n "$LD"; then
8611 elif test -n "$ac_cv_prog_LD"; then
8615 if test -n "$ac_cv_prog_LD"; then
8616 for ncn_progname in ld; do
8617 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8618 set dummy ${ncn_progname}; ac_word=$2
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8620 $as_echo_n "checking
for $ac_word...
" >&6; }
8621 if ${ac_cv_prog_LD+:} false; then :
8622 $as_echo_n "(cached
) " >&6
8624 if test -n "$LD"; then
8625 ac_cv_prog_LD="$LD" # Let the user override the test.
8627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8631 test -z "$as_dir" && as_dir=.
8632 for ac_exec_ext in '' $ac_executable_extensions; do
8633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8634 ac_cv_prog_LD="${ncn_progname}"
8635 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8645 if test -n "$LD"; then
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8647 $as_echo "$LD" >&6; }
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8650 $as_echo "no
" >&6; }
8657 for ncn_progname in ld; do
8658 if test -n "$ncn_tool_prefix"; then
8659 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8660 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8662 $as_echo_n "checking
for $ac_word...
" >&6; }
8663 if ${ac_cv_prog_LD+:} false; then :
8664 $as_echo_n "(cached
) " >&6
8666 if test -n "$LD"; then
8667 ac_cv_prog_LD="$LD" # Let the user override the test.
8669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8673 test -z "$as_dir" && as_dir=.
8674 for ac_exec_ext in '' $ac_executable_extensions; do
8675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8676 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8677 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8687 if test -n "$LD"; then
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8689 $as_echo "$LD" >&6; }
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8692 $as_echo "no
" >&6; }
8697 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8698 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8699 set dummy ${ncn_progname}; ac_word=$2
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8701 $as_echo_n "checking
for $ac_word...
" >&6; }
8702 if ${ac_cv_prog_LD+:} false; then :
8703 $as_echo_n "(cached
) " >&6
8705 if test -n "$LD"; then
8706 ac_cv_prog_LD="$LD" # Let the user override the test.
8708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8712 test -z "$as_dir" && as_dir=.
8713 for ac_exec_ext in '' $ac_executable_extensions; do
8714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8715 ac_cv_prog_LD="${ncn_progname}"
8716 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8726 if test -n "$LD"; then
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8728 $as_echo "$LD" >&6; }
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8731 $as_echo "no
" >&6; }
8736 test -n "$ac_cv_prog_LD" && break
8739 if test -z "$ac_cv_prog_LD" ; then
8741 if test $build = $host ; then
8744 LD="${ncn_tool_prefix}$2"
8750 if test -n "$LIPO"; then
8751 ac_cv_prog_LIPO=$LIPO
8752 elif test -n "$ac_cv_prog_LIPO"; then
8753 LIPO=$ac_cv_prog_LIPO
8756 if test -n "$ac_cv_prog_LIPO"; then
8757 for ncn_progname in lipo; do
8758 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8759 set dummy ${ncn_progname}; ac_word=$2
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8761 $as_echo_n "checking
for $ac_word...
" >&6; }
8762 if ${ac_cv_prog_LIPO+:} false; then :
8763 $as_echo_n "(cached
) " >&6
8765 if test -n "$LIPO"; then
8766 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8772 test -z "$as_dir" && as_dir=.
8773 for ac_exec_ext in '' $ac_executable_extensions; do
8774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8775 ac_cv_prog_LIPO="${ncn_progname}"
8776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8785 LIPO=$ac_cv_prog_LIPO
8786 if test -n "$LIPO"; then
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8788 $as_echo "$LIPO" >&6; }
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8791 $as_echo "no
" >&6; }
8798 for ncn_progname in lipo; do
8799 if test -n "$ncn_tool_prefix"; then
8800 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8801 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8803 $as_echo_n "checking
for $ac_word...
" >&6; }
8804 if ${ac_cv_prog_LIPO+:} false; then :
8805 $as_echo_n "(cached
) " >&6
8807 if test -n "$LIPO"; then
8808 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8814 test -z "$as_dir" && as_dir=.
8815 for ac_exec_ext in '' $ac_executable_extensions; do
8816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8817 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8818 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8827 LIPO=$ac_cv_prog_LIPO
8828 if test -n "$LIPO"; then
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8830 $as_echo "$LIPO" >&6; }
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8833 $as_echo "no
" >&6; }
8838 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8839 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8840 set dummy ${ncn_progname}; ac_word=$2
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8842 $as_echo_n "checking
for $ac_word...
" >&6; }
8843 if ${ac_cv_prog_LIPO+:} false; then :
8844 $as_echo_n "(cached
) " >&6
8846 if test -n "$LIPO"; then
8847 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8853 test -z "$as_dir" && as_dir=.
8854 for ac_exec_ext in '' $ac_executable_extensions; do
8855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8856 ac_cv_prog_LIPO="${ncn_progname}"
8857 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8866 LIPO=$ac_cv_prog_LIPO
8867 if test -n "$LIPO"; then
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8869 $as_echo "$LIPO" >&6; }
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8872 $as_echo "no
" >&6; }
8877 test -n "$ac_cv_prog_LIPO" && break
8880 if test -z "$ac_cv_prog_LIPO" ; then
8882 if test $build = $host ; then
8885 LIPO="${ncn_tool_prefix}$2"
8891 if test -n "$NM"; then
8893 elif test -n "$ac_cv_prog_NM"; then
8897 if test -n "$ac_cv_prog_NM"; then
8898 for ncn_progname in nm; do
8899 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8900 set dummy ${ncn_progname}; ac_word=$2
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8902 $as_echo_n "checking
for $ac_word...
" >&6; }
8903 if ${ac_cv_prog_NM+:} false; then :
8904 $as_echo_n "(cached
) " >&6
8906 if test -n "$NM"; then
8907 ac_cv_prog_NM="$NM" # Let the user override the test.
8909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8913 test -z "$as_dir" && as_dir=.
8914 for ac_exec_ext in '' $ac_executable_extensions; do
8915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8916 ac_cv_prog_NM="${ncn_progname}"
8917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8927 if test -n "$NM"; then
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8929 $as_echo "$NM" >&6; }
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8932 $as_echo "no
" >&6; }
8939 for ncn_progname in nm; do
8940 if test -n "$ncn_tool_prefix"; then
8941 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8942 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8944 $as_echo_n "checking
for $ac_word...
" >&6; }
8945 if ${ac_cv_prog_NM+:} false; then :
8946 $as_echo_n "(cached
) " >&6
8948 if test -n "$NM"; then
8949 ac_cv_prog_NM="$NM" # Let the user override the test.
8951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8955 test -z "$as_dir" && as_dir=.
8956 for ac_exec_ext in '' $ac_executable_extensions; do
8957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8958 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8969 if test -n "$NM"; then
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8971 $as_echo "$NM" >&6; }
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8974 $as_echo "no
" >&6; }
8979 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8980 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8981 set dummy ${ncn_progname}; ac_word=$2
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8983 $as_echo_n "checking
for $ac_word...
" >&6; }
8984 if ${ac_cv_prog_NM+:} false; then :
8985 $as_echo_n "(cached
) " >&6
8987 if test -n "$NM"; then
8988 ac_cv_prog_NM="$NM" # Let the user override the test.
8990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8994 test -z "$as_dir" && as_dir=.
8995 for ac_exec_ext in '' $ac_executable_extensions; do
8996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8997 ac_cv_prog_NM="${ncn_progname}"
8998 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9008 if test -n "$NM"; then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9010 $as_echo "$NM" >&6; }
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9013 $as_echo "no
" >&6; }
9018 test -n "$ac_cv_prog_NM" && break
9021 if test -z "$ac_cv_prog_NM" ; then
9023 if test $build = $host ; then
9026 NM="${ncn_tool_prefix}$2"
9032 if test -n "$RANLIB"; then
9033 ac_cv_prog_RANLIB=$RANLIB
9034 elif test -n "$ac_cv_prog_RANLIB"; then
9035 RANLIB=$ac_cv_prog_RANLIB
9038 if test -n "$ac_cv_prog_RANLIB"; then
9039 for ncn_progname in ranlib; do
9040 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9041 set dummy ${ncn_progname}; ac_word=$2
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9043 $as_echo_n "checking
for $ac_word...
" >&6; }
9044 if ${ac_cv_prog_RANLIB+:} false; then :
9045 $as_echo_n "(cached
) " >&6
9047 if test -n "$RANLIB"; then
9048 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9054 test -z "$as_dir" && as_dir=.
9055 for ac_exec_ext in '' $ac_executable_extensions; do
9056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9057 ac_cv_prog_RANLIB="${ncn_progname}"
9058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9067 RANLIB=$ac_cv_prog_RANLIB
9068 if test -n "$RANLIB"; then
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9070 $as_echo "$RANLIB" >&6; }
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9073 $as_echo "no
" >&6; }
9080 for ncn_progname in ranlib; do
9081 if test -n "$ncn_tool_prefix"; then
9082 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9083 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9085 $as_echo_n "checking
for $ac_word...
" >&6; }
9086 if ${ac_cv_prog_RANLIB+:} false; then :
9087 $as_echo_n "(cached
) " >&6
9089 if test -n "$RANLIB"; then
9090 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9096 test -z "$as_dir" && as_dir=.
9097 for ac_exec_ext in '' $ac_executable_extensions; do
9098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9099 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9100 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9109 RANLIB=$ac_cv_prog_RANLIB
9110 if test -n "$RANLIB"; then
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9112 $as_echo "$RANLIB" >&6; }
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9115 $as_echo "no
" >&6; }
9120 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9121 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9122 set dummy ${ncn_progname}; ac_word=$2
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9124 $as_echo_n "checking
for $ac_word...
" >&6; }
9125 if ${ac_cv_prog_RANLIB+:} false; then :
9126 $as_echo_n "(cached
) " >&6
9128 if test -n "$RANLIB"; then
9129 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9135 test -z "$as_dir" && as_dir=.
9136 for ac_exec_ext in '' $ac_executable_extensions; do
9137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9138 ac_cv_prog_RANLIB="${ncn_progname}"
9139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9148 RANLIB=$ac_cv_prog_RANLIB
9149 if test -n "$RANLIB"; then
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9151 $as_echo "$RANLIB" >&6; }
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9154 $as_echo "no
" >&6; }
9159 test -n "$ac_cv_prog_RANLIB" && break
9162 if test -z "$ac_cv_prog_RANLIB" ; then
9168 if test -n "$STRIP"; then
9169 ac_cv_prog_STRIP=$STRIP
9170 elif test -n "$ac_cv_prog_STRIP"; then
9171 STRIP=$ac_cv_prog_STRIP
9174 if test -n "$ac_cv_prog_STRIP"; then
9175 for ncn_progname in strip; do
9176 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9177 set dummy ${ncn_progname}; ac_word=$2
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9179 $as_echo_n "checking
for $ac_word...
" >&6; }
9180 if ${ac_cv_prog_STRIP+:} false; then :
9181 $as_echo_n "(cached
) " >&6
9183 if test -n "$STRIP"; then
9184 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9190 test -z "$as_dir" && as_dir=.
9191 for ac_exec_ext in '' $ac_executable_extensions; do
9192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9193 ac_cv_prog_STRIP="${ncn_progname}"
9194 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9203 STRIP=$ac_cv_prog_STRIP
9204 if test -n "$STRIP"; then
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9206 $as_echo "$STRIP" >&6; }
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9209 $as_echo "no
" >&6; }
9216 for ncn_progname in strip; do
9217 if test -n "$ncn_tool_prefix"; then
9218 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9219 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9221 $as_echo_n "checking
for $ac_word...
" >&6; }
9222 if ${ac_cv_prog_STRIP+:} false; then :
9223 $as_echo_n "(cached
) " >&6
9225 if test -n "$STRIP"; then
9226 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9232 test -z "$as_dir" && as_dir=.
9233 for ac_exec_ext in '' $ac_executable_extensions; do
9234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9235 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9236 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9245 STRIP=$ac_cv_prog_STRIP
9246 if test -n "$STRIP"; then
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9248 $as_echo "$STRIP" >&6; }
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9251 $as_echo "no
" >&6; }
9256 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9257 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9258 set dummy ${ncn_progname}; ac_word=$2
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9260 $as_echo_n "checking
for $ac_word...
" >&6; }
9261 if ${ac_cv_prog_STRIP+:} false; then :
9262 $as_echo_n "(cached
) " >&6
9264 if test -n "$STRIP"; then
9265 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9271 test -z "$as_dir" && as_dir=.
9272 for ac_exec_ext in '' $ac_executable_extensions; do
9273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9274 ac_cv_prog_STRIP="${ncn_progname}"
9275 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9284 STRIP=$ac_cv_prog_STRIP
9285 if test -n "$STRIP"; then
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9287 $as_echo "$STRIP" >&6; }
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9290 $as_echo "no
" >&6; }
9295 test -n "$ac_cv_prog_STRIP" && break
9298 if test -z "$ac_cv_prog_STRIP" ; then
9304 if test -n "$WINDRES"; then
9305 ac_cv_prog_WINDRES=$WINDRES
9306 elif test -n "$ac_cv_prog_WINDRES"; then
9307 WINDRES=$ac_cv_prog_WINDRES
9310 if test -n "$ac_cv_prog_WINDRES"; then
9311 for ncn_progname in windres; do
9312 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9313 set dummy ${ncn_progname}; ac_word=$2
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9315 $as_echo_n "checking
for $ac_word...
" >&6; }
9316 if ${ac_cv_prog_WINDRES+:} false; then :
9317 $as_echo_n "(cached
) " >&6
9319 if test -n "$WINDRES"; then
9320 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9326 test -z "$as_dir" && as_dir=.
9327 for ac_exec_ext in '' $ac_executable_extensions; do
9328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9329 ac_cv_prog_WINDRES="${ncn_progname}"
9330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9339 WINDRES=$ac_cv_prog_WINDRES
9340 if test -n "$WINDRES"; then
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9342 $as_echo "$WINDRES" >&6; }
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9345 $as_echo "no
" >&6; }
9352 for ncn_progname in windres; do
9353 if test -n "$ncn_tool_prefix"; then
9354 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9355 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9357 $as_echo_n "checking
for $ac_word...
" >&6; }
9358 if ${ac_cv_prog_WINDRES+:} false; then :
9359 $as_echo_n "(cached
) " >&6
9361 if test -n "$WINDRES"; then
9362 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9368 test -z "$as_dir" && as_dir=.
9369 for ac_exec_ext in '' $ac_executable_extensions; do
9370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9371 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9381 WINDRES=$ac_cv_prog_WINDRES
9382 if test -n "$WINDRES"; then
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9384 $as_echo "$WINDRES" >&6; }
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9387 $as_echo "no
" >&6; }
9392 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9393 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9394 set dummy ${ncn_progname}; ac_word=$2
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9396 $as_echo_n "checking
for $ac_word...
" >&6; }
9397 if ${ac_cv_prog_WINDRES+:} false; then :
9398 $as_echo_n "(cached
) " >&6
9400 if test -n "$WINDRES"; then
9401 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9407 test -z "$as_dir" && as_dir=.
9408 for ac_exec_ext in '' $ac_executable_extensions; do
9409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9410 ac_cv_prog_WINDRES="${ncn_progname}"
9411 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9420 WINDRES=$ac_cv_prog_WINDRES
9421 if test -n "$WINDRES"; then
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9423 $as_echo "$WINDRES" >&6; }
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9426 $as_echo "no
" >&6; }
9431 test -n "$ac_cv_prog_WINDRES" && break
9434 if test -z "$ac_cv_prog_WINDRES" ; then
9436 if test $build = $host ; then
9439 WINDRES="${ncn_tool_prefix}$2"
9445 if test -n "$WINDMC"; then
9446 ac_cv_prog_WINDMC=$WINDMC
9447 elif test -n "$ac_cv_prog_WINDMC"; then
9448 WINDMC=$ac_cv_prog_WINDMC
9451 if test -n "$ac_cv_prog_WINDMC"; then
9452 for ncn_progname in windmc; do
9453 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9454 set dummy ${ncn_progname}; ac_word=$2
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9456 $as_echo_n "checking
for $ac_word...
" >&6; }
9457 if ${ac_cv_prog_WINDMC+:} false; then :
9458 $as_echo_n "(cached
) " >&6
9460 if test -n "$WINDMC"; then
9461 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9467 test -z "$as_dir" && as_dir=.
9468 for ac_exec_ext in '' $ac_executable_extensions; do
9469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9470 ac_cv_prog_WINDMC="${ncn_progname}"
9471 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9480 WINDMC=$ac_cv_prog_WINDMC
9481 if test -n "$WINDMC"; then
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9483 $as_echo "$WINDMC" >&6; }
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9486 $as_echo "no
" >&6; }
9493 for ncn_progname in windmc; do
9494 if test -n "$ncn_tool_prefix"; then
9495 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9496 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9498 $as_echo_n "checking
for $ac_word...
" >&6; }
9499 if ${ac_cv_prog_WINDMC+:} false; then :
9500 $as_echo_n "(cached
) " >&6
9502 if test -n "$WINDMC"; then
9503 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9509 test -z "$as_dir" && as_dir=.
9510 for ac_exec_ext in '' $ac_executable_extensions; do
9511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9512 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9513 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9522 WINDMC=$ac_cv_prog_WINDMC
9523 if test -n "$WINDMC"; then
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9525 $as_echo "$WINDMC" >&6; }
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9528 $as_echo "no
" >&6; }
9533 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9534 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9535 set dummy ${ncn_progname}; ac_word=$2
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9537 $as_echo_n "checking
for $ac_word...
" >&6; }
9538 if ${ac_cv_prog_WINDMC+:} false; then :
9539 $as_echo_n "(cached
) " >&6
9541 if test -n "$WINDMC"; then
9542 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9548 test -z "$as_dir" && as_dir=.
9549 for ac_exec_ext in '' $ac_executable_extensions; do
9550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9551 ac_cv_prog_WINDMC="${ncn_progname}"
9552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9561 WINDMC=$ac_cv_prog_WINDMC
9562 if test -n "$WINDMC"; then
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9564 $as_echo "$WINDMC" >&6; }
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9567 $as_echo "no
" >&6; }
9572 test -n "$ac_cv_prog_WINDMC" && break
9575 if test -z "$ac_cv_prog_WINDMC" ; then
9577 if test $build = $host ; then
9580 WINDMC="${ncn_tool_prefix}$2"
9586 if test -n "$OBJCOPY"; then
9587 ac_cv_prog_OBJCOPY=$OBJCOPY
9588 elif test -n "$ac_cv_prog_OBJCOPY"; then
9589 OBJCOPY=$ac_cv_prog_OBJCOPY
9592 if test -n "$ac_cv_prog_OBJCOPY"; then
9593 for ncn_progname in objcopy; do
9594 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9595 set dummy ${ncn_progname}; ac_word=$2
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9597 $as_echo_n "checking
for $ac_word...
" >&6; }
9598 if ${ac_cv_prog_OBJCOPY+:} false; then :
9599 $as_echo_n "(cached
) " >&6
9601 if test -n "$OBJCOPY"; then
9602 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9608 test -z "$as_dir" && as_dir=.
9609 for ac_exec_ext in '' $ac_executable_extensions; do
9610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9611 ac_cv_prog_OBJCOPY="${ncn_progname}"
9612 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9621 OBJCOPY=$ac_cv_prog_OBJCOPY
9622 if test -n "$OBJCOPY"; then
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9624 $as_echo "$OBJCOPY" >&6; }
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9627 $as_echo "no
" >&6; }
9634 for ncn_progname in objcopy; do
9635 if test -n "$ncn_tool_prefix"; then
9636 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9637 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9639 $as_echo_n "checking
for $ac_word...
" >&6; }
9640 if ${ac_cv_prog_OBJCOPY+:} false; then :
9641 $as_echo_n "(cached
) " >&6
9643 if test -n "$OBJCOPY"; then
9644 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9650 test -z "$as_dir" && as_dir=.
9651 for ac_exec_ext in '' $ac_executable_extensions; do
9652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9653 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9654 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9663 OBJCOPY=$ac_cv_prog_OBJCOPY
9664 if test -n "$OBJCOPY"; then
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9666 $as_echo "$OBJCOPY" >&6; }
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9669 $as_echo "no
" >&6; }
9674 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9675 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9676 set dummy ${ncn_progname}; ac_word=$2
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9678 $as_echo_n "checking
for $ac_word...
" >&6; }
9679 if ${ac_cv_prog_OBJCOPY+:} false; then :
9680 $as_echo_n "(cached
) " >&6
9682 if test -n "$OBJCOPY"; then
9683 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9689 test -z "$as_dir" && as_dir=.
9690 for ac_exec_ext in '' $ac_executable_extensions; do
9691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9692 ac_cv_prog_OBJCOPY="${ncn_progname}"
9693 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9702 OBJCOPY=$ac_cv_prog_OBJCOPY
9703 if test -n "$OBJCOPY"; then
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9705 $as_echo "$OBJCOPY" >&6; }
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9708 $as_echo "no
" >&6; }
9713 test -n "$ac_cv_prog_OBJCOPY" && break
9716 if test -z "$ac_cv_prog_OBJCOPY" ; then
9718 if test $build = $host ; then
9721 OBJCOPY="${ncn_tool_prefix}$2"
9727 if test -n "$OBJDUMP"; then
9728 ac_cv_prog_OBJDUMP=$OBJDUMP
9729 elif test -n "$ac_cv_prog_OBJDUMP"; then
9730 OBJDUMP=$ac_cv_prog_OBJDUMP
9733 if test -n "$ac_cv_prog_OBJDUMP"; then
9734 for ncn_progname in objdump; do
9735 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9736 set dummy ${ncn_progname}; ac_word=$2
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9738 $as_echo_n "checking
for $ac_word...
" >&6; }
9739 if ${ac_cv_prog_OBJDUMP+:} false; then :
9740 $as_echo_n "(cached
) " >&6
9742 if test -n "$OBJDUMP"; then
9743 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9749 test -z "$as_dir" && as_dir=.
9750 for ac_exec_ext in '' $ac_executable_extensions; do
9751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9752 ac_cv_prog_OBJDUMP="${ncn_progname}"
9753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9762 OBJDUMP=$ac_cv_prog_OBJDUMP
9763 if test -n "$OBJDUMP"; then
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9765 $as_echo "$OBJDUMP" >&6; }
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9768 $as_echo "no
" >&6; }
9775 for ncn_progname in objdump; do
9776 if test -n "$ncn_tool_prefix"; then
9777 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9778 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9780 $as_echo_n "checking
for $ac_word...
" >&6; }
9781 if ${ac_cv_prog_OBJDUMP+:} false; then :
9782 $as_echo_n "(cached
) " >&6
9784 if test -n "$OBJDUMP"; then
9785 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9791 test -z "$as_dir" && as_dir=.
9792 for ac_exec_ext in '' $ac_executable_extensions; do
9793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9794 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9804 OBJDUMP=$ac_cv_prog_OBJDUMP
9805 if test -n "$OBJDUMP"; then
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9807 $as_echo "$OBJDUMP" >&6; }
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9810 $as_echo "no
" >&6; }
9815 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9816 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9817 set dummy ${ncn_progname}; ac_word=$2
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9819 $as_echo_n "checking
for $ac_word...
" >&6; }
9820 if ${ac_cv_prog_OBJDUMP+:} false; then :
9821 $as_echo_n "(cached
) " >&6
9823 if test -n "$OBJDUMP"; then
9824 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9830 test -z "$as_dir" && as_dir=.
9831 for ac_exec_ext in '' $ac_executable_extensions; do
9832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9833 ac_cv_prog_OBJDUMP="${ncn_progname}"
9834 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9843 OBJDUMP=$ac_cv_prog_OBJDUMP
9844 if test -n "$OBJDUMP"; then
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9846 $as_echo "$OBJDUMP" >&6; }
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9849 $as_echo "no
" >&6; }
9854 test -n "$ac_cv_prog_OBJDUMP" && break
9857 if test -z "$ac_cv_prog_OBJDUMP" ; then
9859 if test $build = $host ; then
9862 OBJDUMP="${ncn_tool_prefix}$2"
9868 if test -n "$READELF"; then
9869 ac_cv_prog_READELF=$READELF
9870 elif test -n "$ac_cv_prog_READELF"; then
9871 READELF=$ac_cv_prog_READELF
9874 if test -n "$ac_cv_prog_READELF"; then
9875 for ncn_progname in readelf; do
9876 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9877 set dummy ${ncn_progname}; ac_word=$2
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9879 $as_echo_n "checking
for $ac_word...
" >&6; }
9880 if ${ac_cv_prog_READELF+:} false; then :
9881 $as_echo_n "(cached
) " >&6
9883 if test -n "$READELF"; then
9884 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9890 test -z "$as_dir" && as_dir=.
9891 for ac_exec_ext in '' $ac_executable_extensions; do
9892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9893 ac_cv_prog_READELF="${ncn_progname}"
9894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9903 READELF=$ac_cv_prog_READELF
9904 if test -n "$READELF"; then
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9906 $as_echo "$READELF" >&6; }
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9909 $as_echo "no
" >&6; }
9916 for ncn_progname in readelf; do
9917 if test -n "$ncn_tool_prefix"; then
9918 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9919 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9921 $as_echo_n "checking
for $ac_word...
" >&6; }
9922 if ${ac_cv_prog_READELF+:} false; then :
9923 $as_echo_n "(cached
) " >&6
9925 if test -n "$READELF"; then
9926 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9932 test -z "$as_dir" && as_dir=.
9933 for ac_exec_ext in '' $ac_executable_extensions; do
9934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9935 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9936 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9945 READELF=$ac_cv_prog_READELF
9946 if test -n "$READELF"; then
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9948 $as_echo "$READELF" >&6; }
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9951 $as_echo "no
" >&6; }
9956 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9957 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9958 set dummy ${ncn_progname}; ac_word=$2
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9960 $as_echo_n "checking
for $ac_word...
" >&6; }
9961 if ${ac_cv_prog_READELF+:} false; then :
9962 $as_echo_n "(cached
) " >&6
9964 if test -n "$READELF"; then
9965 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9971 test -z "$as_dir" && as_dir=.
9972 for ac_exec_ext in '' $ac_executable_extensions; do
9973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9974 ac_cv_prog_READELF="${ncn_progname}"
9975 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9984 READELF=$ac_cv_prog_READELF
9985 if test -n "$READELF"; then
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9987 $as_echo "$READELF" >&6; }
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9990 $as_echo "no
" >&6; }
9995 test -n "$ac_cv_prog_READELF" && break
9998 if test -z "$ac_cv_prog_READELF" ; then
10000 if test $build = $host ; then
10003 READELF="${ncn_tool_prefix}$2"
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -plugin option
" >&5
10013 $as_echo_n "checking
for -plugin option...
" >&6; }
10015 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
10017 for plugin in $plugin_names; do
10018 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
10019 if test x$plugin_so = x$plugin; then
10020 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
10022 if test x$plugin_so != x$plugin; then
10023 plugin_option="--plugin $plugin_so"
10027 if test -n "$plugin_option"; then
10028 PLUGIN_OPTION="$plugin_option"
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $plugin_option" >&5
10030 $as_echo "$plugin_option" >&6; }
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10033 $as_echo "no
" >&6; }
10037 RANLIB_PLUGIN_OPTION=
10038 if test -n "$PLUGIN_OPTION"; then
10039 if $AR --help 2>&1 | grep -q "\
--plugin"; then
10040 AR_PLUGIN_OPTION="$PLUGIN_OPTION"
10042 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
10043 RANLIB_PLUGIN_OPTION="$PLUGIN_OPTION"
10051 # Check whether --with-build-time-tools was given.
10052 if test "${with_build_time_tools+set}" = set; then :
10053 withval=$with_build_time_tools; case x"$withval" in
10056 with_build_time_tools=
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10058 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10062 with_build_time_tools=
10068 if test -n "$CC_FOR_TARGET"; then
10069 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10070 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10071 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10074 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10075 for ncn_progname in cc gcc; do
10076 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10077 set dummy ${ncn_progname}; ac_word=$2
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10079 $as_echo_n "checking
for $ac_word...
" >&6; }
10080 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10081 $as_echo_n "(cached
) " >&6
10083 if test -n "$CC_FOR_TARGET"; then
10084 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10087 for as_dir in $PATH
10090 test -z "$as_dir" && as_dir=.
10091 for ac_exec_ext in '' $ac_executable_extensions; do
10092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10093 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10103 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10104 if test -n "$CC_FOR_TARGET"; then
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10106 $as_echo "$CC_FOR_TARGET" >&6; }
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10109 $as_echo "no
" >&6; }
10116 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10117 for ncn_progname in cc gcc; do
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10119 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10120 if test -x $with_build_time_tools/${ncn_progname}; then
10121 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10123 $as_echo "yes" >&6; }
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10127 $as_echo "no
" >&6; }
10132 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10133 for ncn_progname in cc gcc; do
10134 if test -n "$ncn_target_tool_prefix"; then
10135 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10136 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10138 $as_echo_n "checking
for $ac_word...
" >&6; }
10139 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10140 $as_echo_n "(cached
) " >&6
10142 if test -n "$CC_FOR_TARGET"; then
10143 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10146 for as_dir in $PATH
10149 test -z "$as_dir" && as_dir=.
10150 for ac_exec_ext in '' $ac_executable_extensions; do
10151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10152 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10153 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10162 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10163 if test -n "$CC_FOR_TARGET"; then
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10165 $as_echo "$CC_FOR_TARGET" >&6; }
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10168 $as_echo "no
" >&6; }
10173 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10174 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10175 set dummy ${ncn_progname}; ac_word=$2
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10177 $as_echo_n "checking
for $ac_word...
" >&6; }
10178 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10179 $as_echo_n "(cached
) " >&6
10181 if test -n "$CC_FOR_TARGET"; then
10182 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10185 for as_dir in $PATH
10188 test -z "$as_dir" && as_dir=.
10189 for ac_exec_ext in '' $ac_executable_extensions; do
10190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10191 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10192 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10201 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10202 if test -n "$CC_FOR_TARGET"; then
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10204 $as_echo "$CC_FOR_TARGET" >&6; }
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10207 $as_echo "no
" >&6; }
10212 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10216 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10218 if test $build = $target ; then
10221 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10224 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10229 if test -n "$CXX_FOR_TARGET"; then
10230 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10231 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10232 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10235 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10236 for ncn_progname in c++ g++ cxx gxx; do
10237 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10238 set dummy ${ncn_progname}; ac_word=$2
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10240 $as_echo_n "checking
for $ac_word...
" >&6; }
10241 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10242 $as_echo_n "(cached
) " >&6
10244 if test -n "$CXX_FOR_TARGET"; then
10245 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10248 for as_dir in $PATH
10251 test -z "$as_dir" && as_dir=.
10252 for ac_exec_ext in '' $ac_executable_extensions; do
10253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10254 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10255 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10264 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10265 if test -n "$CXX_FOR_TARGET"; then
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10267 $as_echo "$CXX_FOR_TARGET" >&6; }
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10270 $as_echo "no
" >&6; }
10277 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10278 for ncn_progname in c++ g++ cxx gxx; do
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10280 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10281 if test -x $with_build_time_tools/${ncn_progname}; then
10282 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10284 $as_echo "yes" >&6; }
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10288 $as_echo "no
" >&6; }
10293 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10294 for ncn_progname in c++ g++ cxx gxx; do
10295 if test -n "$ncn_target_tool_prefix"; then
10296 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10297 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10299 $as_echo_n "checking
for $ac_word...
" >&6; }
10300 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10301 $as_echo_n "(cached
) " >&6
10303 if test -n "$CXX_FOR_TARGET"; then
10304 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10307 for as_dir in $PATH
10310 test -z "$as_dir" && as_dir=.
10311 for ac_exec_ext in '' $ac_executable_extensions; do
10312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10313 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10314 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10323 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10324 if test -n "$CXX_FOR_TARGET"; then
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10326 $as_echo "$CXX_FOR_TARGET" >&6; }
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10329 $as_echo "no
" >&6; }
10334 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10335 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10336 set dummy ${ncn_progname}; ac_word=$2
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10338 $as_echo_n "checking
for $ac_word...
" >&6; }
10339 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10340 $as_echo_n "(cached
) " >&6
10342 if test -n "$CXX_FOR_TARGET"; then
10343 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10346 for as_dir in $PATH
10349 test -z "$as_dir" && as_dir=.
10350 for ac_exec_ext in '' $ac_executable_extensions; do
10351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10352 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10362 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10363 if test -n "$CXX_FOR_TARGET"; then
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10365 $as_echo "$CXX_FOR_TARGET" >&6; }
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10368 $as_echo "no
" >&6; }
10373 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10377 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10378 set dummy c++ g++ cxx gxx
10379 if test $build = $target ; then
10380 CXX_FOR_TARGET="$2"
10382 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10385 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10390 if test -n "$GCC_FOR_TARGET"; then
10391 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10392 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10393 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10396 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10397 for ncn_progname in gcc; do
10398 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10399 set dummy ${ncn_progname}; ac_word=$2
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10401 $as_echo_n "checking
for $ac_word...
" >&6; }
10402 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10403 $as_echo_n "(cached
) " >&6
10405 if test -n "$GCC_FOR_TARGET"; then
10406 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10409 for as_dir in $PATH
10412 test -z "$as_dir" && as_dir=.
10413 for ac_exec_ext in '' $ac_executable_extensions; do
10414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10415 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10416 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10425 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10426 if test -n "$GCC_FOR_TARGET"; then
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10428 $as_echo "$GCC_FOR_TARGET" >&6; }
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10431 $as_echo "no
" >&6; }
10438 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10439 for ncn_progname in gcc; do
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10441 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10442 if test -x $with_build_time_tools/${ncn_progname}; then
10443 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10445 $as_echo "yes" >&6; }
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10449 $as_echo "no
" >&6; }
10454 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10455 for ncn_progname in gcc; do
10456 if test -n "$ncn_target_tool_prefix"; then
10457 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10458 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10460 $as_echo_n "checking
for $ac_word...
" >&6; }
10461 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10462 $as_echo_n "(cached
) " >&6
10464 if test -n "$GCC_FOR_TARGET"; then
10465 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10468 for as_dir in $PATH
10471 test -z "$as_dir" && as_dir=.
10472 for ac_exec_ext in '' $ac_executable_extensions; do
10473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10474 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10475 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10484 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10485 if test -n "$GCC_FOR_TARGET"; then
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10487 $as_echo "$GCC_FOR_TARGET" >&6; }
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10490 $as_echo "no
" >&6; }
10495 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10496 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10497 set dummy ${ncn_progname}; ac_word=$2
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10499 $as_echo_n "checking
for $ac_word...
" >&6; }
10500 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10501 $as_echo_n "(cached
) " >&6
10503 if test -n "$GCC_FOR_TARGET"; then
10504 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10507 for as_dir in $PATH
10510 test -z "$as_dir" && as_dir=.
10511 for ac_exec_ext in '' $ac_executable_extensions; do
10512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10513 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10514 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10523 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10524 if test -n "$GCC_FOR_TARGET"; then
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10526 $as_echo "$GCC_FOR_TARGET" >&6; }
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10529 $as_echo "no
" >&6; }
10534 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10538 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10539 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10541 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10546 if test -n "$GFORTRAN_FOR_TARGET"; then
10547 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10548 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10549 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10552 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10553 for ncn_progname in gfortran; do
10554 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10555 set dummy ${ncn_progname}; ac_word=$2
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10557 $as_echo_n "checking
for $ac_word...
" >&6; }
10558 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10559 $as_echo_n "(cached
) " >&6
10561 if test -n "$GFORTRAN_FOR_TARGET"; then
10562 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10565 for as_dir in $PATH
10568 test -z "$as_dir" && as_dir=.
10569 for ac_exec_ext in '' $ac_executable_extensions; do
10570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10571 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10581 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10582 if test -n "$GFORTRAN_FOR_TARGET"; then
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10584 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10587 $as_echo "no
" >&6; }
10594 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10595 for ncn_progname in gfortran; do
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10597 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10598 if test -x $with_build_time_tools/${ncn_progname}; then
10599 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10601 $as_echo "yes" >&6; }
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10605 $as_echo "no
" >&6; }
10610 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10611 for ncn_progname in gfortran; do
10612 if test -n "$ncn_target_tool_prefix"; then
10613 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10614 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10616 $as_echo_n "checking
for $ac_word...
" >&6; }
10617 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10618 $as_echo_n "(cached
) " >&6
10620 if test -n "$GFORTRAN_FOR_TARGET"; then
10621 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10624 for as_dir in $PATH
10627 test -z "$as_dir" && as_dir=.
10628 for ac_exec_ext in '' $ac_executable_extensions; do
10629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10630 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10631 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10640 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10641 if test -n "$GFORTRAN_FOR_TARGET"; then
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10643 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10646 $as_echo "no
" >&6; }
10651 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10652 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10653 set dummy ${ncn_progname}; ac_word=$2
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10655 $as_echo_n "checking
for $ac_word...
" >&6; }
10656 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10657 $as_echo_n "(cached
) " >&6
10659 if test -n "$GFORTRAN_FOR_TARGET"; then
10660 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10663 for as_dir in $PATH
10666 test -z "$as_dir" && as_dir=.
10667 for ac_exec_ext in '' $ac_executable_extensions; do
10668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10669 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10679 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10680 if test -n "$GFORTRAN_FOR_TARGET"; then
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10682 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10685 $as_echo "no
" >&6; }
10690 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10694 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10696 if test $build = $target ; then
10697 GFORTRAN_FOR_TARGET="$2"
10699 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10702 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10707 if test -n "$GOC_FOR_TARGET"; then
10708 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10709 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10710 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10713 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10714 for ncn_progname in gccgo; do
10715 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10716 set dummy ${ncn_progname}; ac_word=$2
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10718 $as_echo_n "checking
for $ac_word...
" >&6; }
10719 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10720 $as_echo_n "(cached
) " >&6
10722 if test -n "$GOC_FOR_TARGET"; then
10723 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10726 for as_dir in $PATH
10729 test -z "$as_dir" && as_dir=.
10730 for ac_exec_ext in '' $ac_executable_extensions; do
10731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10732 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10733 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10742 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10743 if test -n "$GOC_FOR_TARGET"; then
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10745 $as_echo "$GOC_FOR_TARGET" >&6; }
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10748 $as_echo "no
" >&6; }
10755 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10756 for ncn_progname in gccgo; do
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10758 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10759 if test -x $with_build_time_tools/${ncn_progname}; then
10760 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10762 $as_echo "yes" >&6; }
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10766 $as_echo "no
" >&6; }
10771 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10772 for ncn_progname in gccgo; do
10773 if test -n "$ncn_target_tool_prefix"; then
10774 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10775 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10777 $as_echo_n "checking
for $ac_word...
" >&6; }
10778 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10779 $as_echo_n "(cached
) " >&6
10781 if test -n "$GOC_FOR_TARGET"; then
10782 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10785 for as_dir in $PATH
10788 test -z "$as_dir" && as_dir=.
10789 for ac_exec_ext in '' $ac_executable_extensions; do
10790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10791 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10801 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10802 if test -n "$GOC_FOR_TARGET"; then
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10804 $as_echo "$GOC_FOR_TARGET" >&6; }
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10807 $as_echo "no
" >&6; }
10812 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10813 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10814 set dummy ${ncn_progname}; ac_word=$2
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10816 $as_echo_n "checking
for $ac_word...
" >&6; }
10817 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10818 $as_echo_n "(cached
) " >&6
10820 if test -n "$GOC_FOR_TARGET"; then
10821 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10824 for as_dir in $PATH
10827 test -z "$as_dir" && as_dir=.
10828 for ac_exec_ext in '' $ac_executable_extensions; do
10829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10830 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10831 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10840 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10841 if test -n "$GOC_FOR_TARGET"; then
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10843 $as_echo "$GOC_FOR_TARGET" >&6; }
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10846 $as_echo "no
" >&6; }
10851 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10855 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10857 if test $build = $target ; then
10858 GOC_FOR_TARGET="$2"
10860 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10863 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10868 cat > conftest.c << \EOF
10873 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10874 have_gcc_for_target=yes
10876 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10877 have_gcc_for_target=no
10884 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10885 if test -n "$with_build_time_tools"; then
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10887 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10888 if test -x $with_build_time_tools/ar; then
10889 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10890 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10892 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10895 $as_echo "no
" >&6; }
10897 elif test $build != $host && test $have_gcc_for_target = yes; then
10898 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10899 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10900 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10903 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10904 # Extract the first word of "ar", so it can be a program name with args.
10905 set dummy ar; ac_word=$2
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10907 $as_echo_n "checking
for $ac_word...
" >&6; }
10908 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
10909 $as_echo_n "(cached
) " >&6
10911 case $AR_FOR_TARGET in
10913 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10917 for as_dir in $gcc_cv_tool_dirs
10920 test -z "$as_dir" && as_dir=.
10921 for ac_exec_ext in '' $ac_executable_extensions; do
10922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10923 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10924 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10934 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10935 if test -n "$AR_FOR_TARGET"; then
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10937 $as_echo "$AR_FOR_TARGET" >&6; }
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10940 $as_echo "no
" >&6; }
10945 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10948 if test -n "$AR_FOR_TARGET"; then
10949 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10950 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10951 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10954 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10955 for ncn_progname in ar; do
10956 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10957 set dummy ${ncn_progname}; ac_word=$2
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10959 $as_echo_n "checking
for $ac_word...
" >&6; }
10960 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
10961 $as_echo_n "(cached
) " >&6
10963 if test -n "$AR_FOR_TARGET"; then
10964 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10967 for as_dir in $PATH
10970 test -z "$as_dir" && as_dir=.
10971 for ac_exec_ext in '' $ac_executable_extensions; do
10972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10973 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10974 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10983 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10984 if test -n "$AR_FOR_TARGET"; then
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10986 $as_echo "$AR_FOR_TARGET" >&6; }
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10989 $as_echo "no
" >&6; }
10996 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10997 for ncn_progname in ar; do
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10999 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11000 if test -x $with_build_time_tools/${ncn_progname}; then
11001 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11003 $as_echo "yes" >&6; }
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11007 $as_echo "no
" >&6; }
11012 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11013 for ncn_progname in ar; do
11014 if test -n "$ncn_target_tool_prefix"; then
11015 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11016 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11018 $as_echo_n "checking
for $ac_word...
" >&6; }
11019 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11020 $as_echo_n "(cached
) " >&6
11022 if test -n "$AR_FOR_TARGET"; then
11023 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11026 for as_dir in $PATH
11029 test -z "$as_dir" && as_dir=.
11030 for ac_exec_ext in '' $ac_executable_extensions; do
11031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11032 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11042 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11043 if test -n "$AR_FOR_TARGET"; then
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11045 $as_echo "$AR_FOR_TARGET" >&6; }
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11048 $as_echo "no
" >&6; }
11053 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11054 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11055 set dummy ${ncn_progname}; ac_word=$2
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11057 $as_echo_n "checking
for $ac_word...
" >&6; }
11058 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11059 $as_echo_n "(cached
) " >&6
11061 if test -n "$AR_FOR_TARGET"; then
11062 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11065 for as_dir in $PATH
11068 test -z "$as_dir" && as_dir=.
11069 for ac_exec_ext in '' $ac_executable_extensions; do
11070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11071 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11072 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11081 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11082 if test -n "$AR_FOR_TARGET"; then
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11084 $as_echo "$AR_FOR_TARGET" >&6; }
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11087 $as_echo "no
" >&6; }
11092 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11096 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11098 if test $build = $target ; then
11101 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11104 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11108 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11114 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11115 if test -n "$with_build_time_tools"; then
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11117 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11118 if test -x $with_build_time_tools/as; then
11119 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11120 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11122 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11125 $as_echo "no
" >&6; }
11127 elif test $build != $host && test $have_gcc_for_target = yes; then
11128 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11129 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11130 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11133 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11134 # Extract the first word of "as
", so it can be a program name with args.
11135 set dummy as; ac_word=$2
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11137 $as_echo_n "checking
for $ac_word...
" >&6; }
11138 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
11139 $as_echo_n "(cached
) " >&6
11141 case $AS_FOR_TARGET in
11143 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11147 for as_dir in $gcc_cv_tool_dirs
11150 test -z "$as_dir" && as_dir=.
11151 for ac_exec_ext in '' $ac_executable_extensions; do
11152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11153 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11154 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11164 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11165 if test -n "$AS_FOR_TARGET"; then
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11167 $as_echo "$AS_FOR_TARGET" >&6; }
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11170 $as_echo "no
" >&6; }
11175 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11178 if test -n "$AS_FOR_TARGET"; then
11179 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11180 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11181 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11184 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11185 for ncn_progname in as; do
11186 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11187 set dummy ${ncn_progname}; ac_word=$2
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11189 $as_echo_n "checking
for $ac_word...
" >&6; }
11190 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11191 $as_echo_n "(cached
) " >&6
11193 if test -n "$AS_FOR_TARGET"; then
11194 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11197 for as_dir in $PATH
11200 test -z "$as_dir" && as_dir=.
11201 for ac_exec_ext in '' $ac_executable_extensions; do
11202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11203 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11204 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11213 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11214 if test -n "$AS_FOR_TARGET"; then
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11216 $as_echo "$AS_FOR_TARGET" >&6; }
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11219 $as_echo "no
" >&6; }
11226 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11227 for ncn_progname in as; do
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11229 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11230 if test -x $with_build_time_tools/${ncn_progname}; then
11231 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11233 $as_echo "yes" >&6; }
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11237 $as_echo "no
" >&6; }
11242 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11243 for ncn_progname in as; do
11244 if test -n "$ncn_target_tool_prefix"; then
11245 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11246 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11248 $as_echo_n "checking
for $ac_word...
" >&6; }
11249 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11250 $as_echo_n "(cached
) " >&6
11252 if test -n "$AS_FOR_TARGET"; then
11253 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11256 for as_dir in $PATH
11259 test -z "$as_dir" && as_dir=.
11260 for ac_exec_ext in '' $ac_executable_extensions; do
11261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11262 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11272 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11273 if test -n "$AS_FOR_TARGET"; then
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11275 $as_echo "$AS_FOR_TARGET" >&6; }
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11278 $as_echo "no
" >&6; }
11283 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11284 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11285 set dummy ${ncn_progname}; ac_word=$2
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11287 $as_echo_n "checking
for $ac_word...
" >&6; }
11288 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11289 $as_echo_n "(cached
) " >&6
11291 if test -n "$AS_FOR_TARGET"; then
11292 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11295 for as_dir in $PATH
11298 test -z "$as_dir" && as_dir=.
11299 for ac_exec_ext in '' $ac_executable_extensions; do
11300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11301 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11302 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11311 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11312 if test -n "$AS_FOR_TARGET"; then
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11314 $as_echo "$AS_FOR_TARGET" >&6; }
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11317 $as_echo "no
" >&6; }
11322 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11326 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11328 if test $build = $target ; then
11331 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11334 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11338 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11344 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11345 if test -n "$with_build_time_tools"; then
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11347 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11348 if test -x $with_build_time_tools/dlltool; then
11349 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11350 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11352 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11355 $as_echo "no
" >&6; }
11357 elif test $build != $host && test $have_gcc_for_target = yes; then
11358 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11359 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11360 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11363 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11364 # Extract the first word of "dlltool
", so it can be a program name with args.
11365 set dummy dlltool; ac_word=$2
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11367 $as_echo_n "checking
for $ac_word...
" >&6; }
11368 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
11369 $as_echo_n "(cached
) " >&6
11371 case $DLLTOOL_FOR_TARGET in
11373 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11377 for as_dir in $gcc_cv_tool_dirs
11380 test -z "$as_dir" && as_dir=.
11381 for ac_exec_ext in '' $ac_executable_extensions; do
11382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11383 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11384 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11394 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11395 if test -n "$DLLTOOL_FOR_TARGET"; then
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11397 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11400 $as_echo "no
" >&6; }
11405 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11408 if test -n "$DLLTOOL_FOR_TARGET"; then
11409 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11410 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11411 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11414 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11415 for ncn_progname in dlltool; do
11416 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11417 set dummy ${ncn_progname}; ac_word=$2
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11419 $as_echo_n "checking
for $ac_word...
" >&6; }
11420 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11421 $as_echo_n "(cached
) " >&6
11423 if test -n "$DLLTOOL_FOR_TARGET"; then
11424 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11427 for as_dir in $PATH
11430 test -z "$as_dir" && as_dir=.
11431 for ac_exec_ext in '' $ac_executable_extensions; do
11432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11433 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11443 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11444 if test -n "$DLLTOOL_FOR_TARGET"; then
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11446 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11449 $as_echo "no
" >&6; }
11456 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11457 for ncn_progname in dlltool; do
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11459 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11460 if test -x $with_build_time_tools/${ncn_progname}; then
11461 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11463 $as_echo "yes" >&6; }
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11467 $as_echo "no
" >&6; }
11472 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11473 for ncn_progname in dlltool; do
11474 if test -n "$ncn_target_tool_prefix"; then
11475 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11476 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11478 $as_echo_n "checking
for $ac_word...
" >&6; }
11479 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11480 $as_echo_n "(cached
) " >&6
11482 if test -n "$DLLTOOL_FOR_TARGET"; then
11483 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11486 for as_dir in $PATH
11489 test -z "$as_dir" && as_dir=.
11490 for ac_exec_ext in '' $ac_executable_extensions; do
11491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11492 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11493 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11502 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11503 if test -n "$DLLTOOL_FOR_TARGET"; then
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11505 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11508 $as_echo "no
" >&6; }
11513 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11514 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11515 set dummy ${ncn_progname}; ac_word=$2
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11517 $as_echo_n "checking
for $ac_word...
" >&6; }
11518 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11519 $as_echo_n "(cached
) " >&6
11521 if test -n "$DLLTOOL_FOR_TARGET"; then
11522 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11525 for as_dir in $PATH
11528 test -z "$as_dir" && as_dir=.
11529 for ac_exec_ext in '' $ac_executable_extensions; do
11530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11531 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11541 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11542 if test -n "$DLLTOOL_FOR_TARGET"; then
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11544 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11547 $as_echo "no
" >&6; }
11552 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11556 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11558 if test $build = $target ; then
11559 DLLTOOL_FOR_TARGET="$2"
11561 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11564 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11568 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11574 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11575 if test -n "$with_build_time_tools"; then
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11577 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11578 if test -x $with_build_time_tools/ld; then
11579 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11580 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11582 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11585 $as_echo "no
" >&6; }
11587 elif test $build != $host && test $have_gcc_for_target = yes; then
11588 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11589 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11590 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11593 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11594 # Extract the first word of "ld
", so it can be a program name with args.
11595 set dummy ld; ac_word=$2
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11597 $as_echo_n "checking
for $ac_word...
" >&6; }
11598 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
11599 $as_echo_n "(cached
) " >&6
11601 case $LD_FOR_TARGET in
11603 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11607 for as_dir in $gcc_cv_tool_dirs
11610 test -z "$as_dir" && as_dir=.
11611 for ac_exec_ext in '' $ac_executable_extensions; do
11612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11613 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11614 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11624 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11625 if test -n "$LD_FOR_TARGET"; then
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11627 $as_echo "$LD_FOR_TARGET" >&6; }
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11630 $as_echo "no
" >&6; }
11635 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11638 if test -n "$LD_FOR_TARGET"; then
11639 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11640 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11641 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11644 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11645 for ncn_progname in ld; do
11646 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11647 set dummy ${ncn_progname}; ac_word=$2
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11649 $as_echo_n "checking
for $ac_word...
" >&6; }
11650 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11651 $as_echo_n "(cached
) " >&6
11653 if test -n "$LD_FOR_TARGET"; then
11654 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11657 for as_dir in $PATH
11660 test -z "$as_dir" && as_dir=.
11661 for ac_exec_ext in '' $ac_executable_extensions; do
11662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11663 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11664 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11673 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11674 if test -n "$LD_FOR_TARGET"; then
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11676 $as_echo "$LD_FOR_TARGET" >&6; }
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11679 $as_echo "no
" >&6; }
11686 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11687 for ncn_progname in ld; do
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11689 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11690 if test -x $with_build_time_tools/${ncn_progname}; then
11691 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11693 $as_echo "yes" >&6; }
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11697 $as_echo "no
" >&6; }
11702 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11703 for ncn_progname in ld; do
11704 if test -n "$ncn_target_tool_prefix"; then
11705 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11706 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11708 $as_echo_n "checking
for $ac_word...
" >&6; }
11709 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11710 $as_echo_n "(cached
) " >&6
11712 if test -n "$LD_FOR_TARGET"; then
11713 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11716 for as_dir in $PATH
11719 test -z "$as_dir" && as_dir=.
11720 for ac_exec_ext in '' $ac_executable_extensions; do
11721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11722 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11723 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11732 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11733 if test -n "$LD_FOR_TARGET"; then
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11735 $as_echo "$LD_FOR_TARGET" >&6; }
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11738 $as_echo "no
" >&6; }
11743 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11744 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11745 set dummy ${ncn_progname}; ac_word=$2
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11747 $as_echo_n "checking
for $ac_word...
" >&6; }
11748 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11749 $as_echo_n "(cached
) " >&6
11751 if test -n "$LD_FOR_TARGET"; then
11752 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11755 for as_dir in $PATH
11758 test -z "$as_dir" && as_dir=.
11759 for ac_exec_ext in '' $ac_executable_extensions; do
11760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11761 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11762 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11771 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11772 if test -n "$LD_FOR_TARGET"; then
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11774 $as_echo "$LD_FOR_TARGET" >&6; }
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11777 $as_echo "no
" >&6; }
11782 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11786 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11788 if test $build = $target ; then
11791 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11794 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11798 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11804 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11805 if test -n "$with_build_time_tools"; then
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11807 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11808 if test -x $with_build_time_tools/lipo; then
11809 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11810 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11812 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11815 $as_echo "no
" >&6; }
11817 elif test $build != $host && test $have_gcc_for_target = yes; then
11818 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11819 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11820 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11823 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11824 # Extract the first word of "lipo
", so it can be a program name with args.
11825 set dummy lipo; ac_word=$2
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11827 $as_echo_n "checking
for $ac_word...
" >&6; }
11828 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
11829 $as_echo_n "(cached
) " >&6
11831 case $LIPO_FOR_TARGET in
11833 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11837 for as_dir in $gcc_cv_tool_dirs
11840 test -z "$as_dir" && as_dir=.
11841 for ac_exec_ext in '' $ac_executable_extensions; do
11842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11843 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11844 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11854 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11855 if test -n "$LIPO_FOR_TARGET"; then
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11857 $as_echo "$LIPO_FOR_TARGET" >&6; }
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11860 $as_echo "no
" >&6; }
11865 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11868 if test -n "$LIPO_FOR_TARGET"; then
11869 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11870 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11871 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11874 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11875 for ncn_progname in lipo; do
11876 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11877 set dummy ${ncn_progname}; ac_word=$2
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11879 $as_echo_n "checking
for $ac_word...
" >&6; }
11880 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
11881 $as_echo_n "(cached
) " >&6
11883 if test -n "$LIPO_FOR_TARGET"; then
11884 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11887 for as_dir in $PATH
11890 test -z "$as_dir" && as_dir=.
11891 for ac_exec_ext in '' $ac_executable_extensions; do
11892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11893 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11903 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11904 if test -n "$LIPO_FOR_TARGET"; then
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11906 $as_echo "$LIPO_FOR_TARGET" >&6; }
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11909 $as_echo "no
" >&6; }
11916 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11917 for ncn_progname in lipo; do
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11919 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11920 if test -x $with_build_time_tools/${ncn_progname}; then
11921 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11923 $as_echo "yes" >&6; }
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11927 $as_echo "no
" >&6; }
11932 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11933 for ncn_progname in lipo; do
11934 if test -n "$ncn_target_tool_prefix"; then
11935 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11936 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11938 $as_echo_n "checking
for $ac_word...
" >&6; }
11939 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
11940 $as_echo_n "(cached
) " >&6
11942 if test -n "$LIPO_FOR_TARGET"; then
11943 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11946 for as_dir in $PATH
11949 test -z "$as_dir" && as_dir=.
11950 for ac_exec_ext in '' $ac_executable_extensions; do
11951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11952 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11962 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11963 if test -n "$LIPO_FOR_TARGET"; then
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11965 $as_echo "$LIPO_FOR_TARGET" >&6; }
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11968 $as_echo "no
" >&6; }
11973 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11974 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11975 set dummy ${ncn_progname}; ac_word=$2
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11977 $as_echo_n "checking
for $ac_word...
" >&6; }
11978 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
11979 $as_echo_n "(cached
) " >&6
11981 if test -n "$LIPO_FOR_TARGET"; then
11982 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11985 for as_dir in $PATH
11988 test -z "$as_dir" && as_dir=.
11989 for ac_exec_ext in '' $ac_executable_extensions; do
11990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11991 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12001 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12002 if test -n "$LIPO_FOR_TARGET"; then
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12004 $as_echo "$LIPO_FOR_TARGET" >&6; }
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12007 $as_echo "no
" >&6; }
12012 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12016 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12018 if test $build = $target ; then
12019 LIPO_FOR_TARGET="$2"
12021 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12024 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12028 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12034 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12035 if test -n "$with_build_time_tools"; then
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12037 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12038 if test -x $with_build_time_tools/nm; then
12039 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12040 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12042 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12045 $as_echo "no
" >&6; }
12047 elif test $build != $host && test $have_gcc_for_target = yes; then
12048 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12049 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12050 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12053 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12054 # Extract the first word of "nm
", so it can be a program name with args.
12055 set dummy nm; ac_word=$2
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12057 $as_echo_n "checking
for $ac_word...
" >&6; }
12058 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
12059 $as_echo_n "(cached
) " >&6
12061 case $NM_FOR_TARGET in
12063 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12067 for as_dir in $gcc_cv_tool_dirs
12070 test -z "$as_dir" && as_dir=.
12071 for ac_exec_ext in '' $ac_executable_extensions; do
12072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12073 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12074 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12084 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12085 if test -n "$NM_FOR_TARGET"; then
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12087 $as_echo "$NM_FOR_TARGET" >&6; }
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12090 $as_echo "no
" >&6; }
12095 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12098 if test -n "$NM_FOR_TARGET"; then
12099 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12100 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12101 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12104 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12105 for ncn_progname in nm; do
12106 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12107 set dummy ${ncn_progname}; ac_word=$2
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12109 $as_echo_n "checking
for $ac_word...
" >&6; }
12110 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12111 $as_echo_n "(cached
) " >&6
12113 if test -n "$NM_FOR_TARGET"; then
12114 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12117 for as_dir in $PATH
12120 test -z "$as_dir" && as_dir=.
12121 for ac_exec_ext in '' $ac_executable_extensions; do
12122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12123 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12124 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12133 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12134 if test -n "$NM_FOR_TARGET"; then
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12136 $as_echo "$NM_FOR_TARGET" >&6; }
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12139 $as_echo "no
" >&6; }
12146 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12147 for ncn_progname in nm; do
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12149 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12150 if test -x $with_build_time_tools/${ncn_progname}; then
12151 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12153 $as_echo "yes" >&6; }
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12157 $as_echo "no
" >&6; }
12162 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12163 for ncn_progname in nm; do
12164 if test -n "$ncn_target_tool_prefix"; then
12165 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12166 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12168 $as_echo_n "checking
for $ac_word...
" >&6; }
12169 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12170 $as_echo_n "(cached
) " >&6
12172 if test -n "$NM_FOR_TARGET"; then
12173 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12176 for as_dir in $PATH
12179 test -z "$as_dir" && as_dir=.
12180 for ac_exec_ext in '' $ac_executable_extensions; do
12181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12182 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12183 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12192 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12193 if test -n "$NM_FOR_TARGET"; then
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12195 $as_echo "$NM_FOR_TARGET" >&6; }
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12198 $as_echo "no
" >&6; }
12203 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12204 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12205 set dummy ${ncn_progname}; ac_word=$2
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12207 $as_echo_n "checking
for $ac_word...
" >&6; }
12208 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12209 $as_echo_n "(cached
) " >&6
12211 if test -n "$NM_FOR_TARGET"; then
12212 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12215 for as_dir in $PATH
12218 test -z "$as_dir" && as_dir=.
12219 for ac_exec_ext in '' $ac_executable_extensions; do
12220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12221 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12222 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12231 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12232 if test -n "$NM_FOR_TARGET"; then
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12234 $as_echo "$NM_FOR_TARGET" >&6; }
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12237 $as_echo "no
" >&6; }
12242 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12246 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12248 if test $build = $target ; then
12251 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12254 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12258 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12264 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12265 if test -n "$with_build_time_tools"; then
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12267 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12268 if test -x $with_build_time_tools/objcopy; then
12269 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12270 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12272 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12275 $as_echo "no
" >&6; }
12277 elif test $build != $host && test $have_gcc_for_target = yes; then
12278 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12279 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12280 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12283 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12284 # Extract the first word of "objcopy
", so it can be a program name with args.
12285 set dummy objcopy; ac_word=$2
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12287 $as_echo_n "checking
for $ac_word...
" >&6; }
12288 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
12289 $as_echo_n "(cached
) " >&6
12291 case $OBJCOPY_FOR_TARGET in
12293 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12297 for as_dir in $gcc_cv_tool_dirs
12300 test -z "$as_dir" && as_dir=.
12301 for ac_exec_ext in '' $ac_executable_extensions; do
12302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12303 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12304 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12314 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12315 if test -n "$OBJCOPY_FOR_TARGET"; then
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12317 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12320 $as_echo "no
" >&6; }
12325 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12328 if test -n "$OBJCOPY_FOR_TARGET"; then
12329 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12330 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12331 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12334 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12335 for ncn_progname in objcopy; do
12336 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12337 set dummy ${ncn_progname}; ac_word=$2
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12339 $as_echo_n "checking
for $ac_word...
" >&6; }
12340 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12341 $as_echo_n "(cached
) " >&6
12343 if test -n "$OBJCOPY_FOR_TARGET"; then
12344 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12347 for as_dir in $PATH
12350 test -z "$as_dir" && as_dir=.
12351 for ac_exec_ext in '' $ac_executable_extensions; do
12352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12353 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12354 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12363 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12364 if test -n "$OBJCOPY_FOR_TARGET"; then
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12366 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12369 $as_echo "no
" >&6; }
12376 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12377 for ncn_progname in objcopy; do
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12379 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12380 if test -x $with_build_time_tools/${ncn_progname}; then
12381 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12383 $as_echo "yes" >&6; }
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12387 $as_echo "no
" >&6; }
12392 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12393 for ncn_progname in objcopy; do
12394 if test -n "$ncn_target_tool_prefix"; then
12395 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12396 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12398 $as_echo_n "checking
for $ac_word...
" >&6; }
12399 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12400 $as_echo_n "(cached
) " >&6
12402 if test -n "$OBJCOPY_FOR_TARGET"; then
12403 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12406 for as_dir in $PATH
12409 test -z "$as_dir" && as_dir=.
12410 for ac_exec_ext in '' $ac_executable_extensions; do
12411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12412 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12413 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12422 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12423 if test -n "$OBJCOPY_FOR_TARGET"; then
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12425 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12428 $as_echo "no
" >&6; }
12433 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12434 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12435 set dummy ${ncn_progname}; ac_word=$2
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12437 $as_echo_n "checking
for $ac_word...
" >&6; }
12438 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12439 $as_echo_n "(cached
) " >&6
12441 if test -n "$OBJCOPY_FOR_TARGET"; then
12442 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12445 for as_dir in $PATH
12448 test -z "$as_dir" && as_dir=.
12449 for ac_exec_ext in '' $ac_executable_extensions; do
12450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12451 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12461 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12462 if test -n "$OBJCOPY_FOR_TARGET"; then
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12464 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12467 $as_echo "no
" >&6; }
12472 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12476 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12478 if test $build = $target ; then
12479 OBJCOPY_FOR_TARGET="$2"
12481 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12484 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12488 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12494 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12495 if test -n "$with_build_time_tools"; then
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12497 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12498 if test -x $with_build_time_tools/objdump; then
12499 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12500 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12502 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12505 $as_echo "no
" >&6; }
12507 elif test $build != $host && test $have_gcc_for_target = yes; then
12508 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12509 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12510 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12513 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12514 # Extract the first word of "objdump
", so it can be a program name with args.
12515 set dummy objdump; ac_word=$2
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12517 $as_echo_n "checking
for $ac_word...
" >&6; }
12518 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
12519 $as_echo_n "(cached
) " >&6
12521 case $OBJDUMP_FOR_TARGET in
12523 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12527 for as_dir in $gcc_cv_tool_dirs
12530 test -z "$as_dir" && as_dir=.
12531 for ac_exec_ext in '' $ac_executable_extensions; do
12532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12533 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12534 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12544 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12545 if test -n "$OBJDUMP_FOR_TARGET"; then
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12547 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12550 $as_echo "no
" >&6; }
12555 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12558 if test -n "$OBJDUMP_FOR_TARGET"; then
12559 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12560 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12561 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12564 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12565 for ncn_progname in objdump; do
12566 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12567 set dummy ${ncn_progname}; ac_word=$2
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12569 $as_echo_n "checking
for $ac_word...
" >&6; }
12570 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12571 $as_echo_n "(cached
) " >&6
12573 if test -n "$OBJDUMP_FOR_TARGET"; then
12574 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12577 for as_dir in $PATH
12580 test -z "$as_dir" && as_dir=.
12581 for ac_exec_ext in '' $ac_executable_extensions; do
12582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12583 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12584 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12593 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12594 if test -n "$OBJDUMP_FOR_TARGET"; then
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12596 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12599 $as_echo "no
" >&6; }
12606 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12607 for ncn_progname in objdump; do
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12609 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12610 if test -x $with_build_time_tools/${ncn_progname}; then
12611 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12613 $as_echo "yes" >&6; }
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12617 $as_echo "no
" >&6; }
12622 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12623 for ncn_progname in objdump; do
12624 if test -n "$ncn_target_tool_prefix"; then
12625 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12626 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12628 $as_echo_n "checking
for $ac_word...
" >&6; }
12629 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12630 $as_echo_n "(cached
) " >&6
12632 if test -n "$OBJDUMP_FOR_TARGET"; then
12633 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12636 for as_dir in $PATH
12639 test -z "$as_dir" && as_dir=.
12640 for ac_exec_ext in '' $ac_executable_extensions; do
12641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12642 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12643 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12652 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12653 if test -n "$OBJDUMP_FOR_TARGET"; then
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12655 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12658 $as_echo "no
" >&6; }
12663 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12664 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12665 set dummy ${ncn_progname}; ac_word=$2
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12667 $as_echo_n "checking
for $ac_word...
" >&6; }
12668 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12669 $as_echo_n "(cached
) " >&6
12671 if test -n "$OBJDUMP_FOR_TARGET"; then
12672 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12675 for as_dir in $PATH
12678 test -z "$as_dir" && as_dir=.
12679 for ac_exec_ext in '' $ac_executable_extensions; do
12680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12681 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12691 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12692 if test -n "$OBJDUMP_FOR_TARGET"; then
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12694 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12697 $as_echo "no
" >&6; }
12702 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12706 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12708 if test $build = $target ; then
12709 OBJDUMP_FOR_TARGET="$2"
12711 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12714 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12718 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12724 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12725 if test -n "$with_build_time_tools"; then
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12727 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12728 if test -x $with_build_time_tools/ranlib; then
12729 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12730 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12732 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12735 $as_echo "no
" >&6; }
12737 elif test $build != $host && test $have_gcc_for_target = yes; then
12738 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12739 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12740 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12743 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12744 # Extract the first word of "ranlib
", so it can be a program name with args.
12745 set dummy ranlib; ac_word=$2
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12747 $as_echo_n "checking
for $ac_word...
" >&6; }
12748 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
12749 $as_echo_n "(cached
) " >&6
12751 case $RANLIB_FOR_TARGET in
12753 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12757 for as_dir in $gcc_cv_tool_dirs
12760 test -z "$as_dir" && as_dir=.
12761 for ac_exec_ext in '' $ac_executable_extensions; do
12762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12763 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12764 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12774 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12775 if test -n "$RANLIB_FOR_TARGET"; then
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12777 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12780 $as_echo "no
" >&6; }
12785 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12788 if test -n "$RANLIB_FOR_TARGET"; then
12789 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12790 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12791 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12794 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12795 for ncn_progname in ranlib; do
12796 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12797 set dummy ${ncn_progname}; ac_word=$2
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12799 $as_echo_n "checking
for $ac_word...
" >&6; }
12800 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
12801 $as_echo_n "(cached
) " >&6
12803 if test -n "$RANLIB_FOR_TARGET"; then
12804 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12807 for as_dir in $PATH
12810 test -z "$as_dir" && as_dir=.
12811 for ac_exec_ext in '' $ac_executable_extensions; do
12812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12813 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12823 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12824 if test -n "$RANLIB_FOR_TARGET"; then
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12826 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12829 $as_echo "no
" >&6; }
12836 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12837 for ncn_progname in ranlib; do
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12839 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12840 if test -x $with_build_time_tools/${ncn_progname}; then
12841 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12843 $as_echo "yes" >&6; }
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12847 $as_echo "no
" >&6; }
12852 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12853 for ncn_progname in ranlib; do
12854 if test -n "$ncn_target_tool_prefix"; then
12855 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12856 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12858 $as_echo_n "checking
for $ac_word...
" >&6; }
12859 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
12860 $as_echo_n "(cached
) " >&6
12862 if test -n "$RANLIB_FOR_TARGET"; then
12863 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12866 for as_dir in $PATH
12869 test -z "$as_dir" && as_dir=.
12870 for ac_exec_ext in '' $ac_executable_extensions; do
12871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12872 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12882 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12883 if test -n "$RANLIB_FOR_TARGET"; then
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12885 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12888 $as_echo "no
" >&6; }
12893 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12894 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12895 set dummy ${ncn_progname}; ac_word=$2
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12897 $as_echo_n "checking
for $ac_word...
" >&6; }
12898 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
12899 $as_echo_n "(cached
) " >&6
12901 if test -n "$RANLIB_FOR_TARGET"; then
12902 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12905 for as_dir in $PATH
12908 test -z "$as_dir" && as_dir=.
12909 for ac_exec_ext in '' $ac_executable_extensions; do
12910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12911 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12921 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12922 if test -n "$RANLIB_FOR_TARGET"; then
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12924 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12927 $as_echo "no
" >&6; }
12932 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12936 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12938 if test $build = $target ; then
12939 RANLIB_FOR_TARGET="$2"
12941 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12944 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12948 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12954 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12955 if test -n "$with_build_time_tools"; then
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12957 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12958 if test -x $with_build_time_tools/readelf; then
12959 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12960 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12962 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12965 $as_echo "no
" >&6; }
12967 elif test $build != $host && test $have_gcc_for_target = yes; then
12968 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12969 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12970 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12973 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12974 # Extract the first word of "readelf
", so it can be a program name with args.
12975 set dummy readelf; ac_word=$2
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12977 $as_echo_n "checking
for $ac_word...
" >&6; }
12978 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
12979 $as_echo_n "(cached
) " >&6
12981 case $READELF_FOR_TARGET in
12983 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12987 for as_dir in $gcc_cv_tool_dirs
12990 test -z "$as_dir" && as_dir=.
12991 for ac_exec_ext in '' $ac_executable_extensions; do
12992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12993 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13004 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13005 if test -n "$READELF_FOR_TARGET"; then
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13007 $as_echo "$READELF_FOR_TARGET" >&6; }
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13010 $as_echo "no
" >&6; }
13015 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13018 if test -n "$READELF_FOR_TARGET"; then
13019 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13020 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13021 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13024 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13025 for ncn_progname in readelf; do
13026 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13027 set dummy ${ncn_progname}; ac_word=$2
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13029 $as_echo_n "checking
for $ac_word...
" >&6; }
13030 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13031 $as_echo_n "(cached
) " >&6
13033 if test -n "$READELF_FOR_TARGET"; then
13034 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13037 for as_dir in $PATH
13040 test -z "$as_dir" && as_dir=.
13041 for ac_exec_ext in '' $ac_executable_extensions; do
13042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13043 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13053 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13054 if test -n "$READELF_FOR_TARGET"; then
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13056 $as_echo "$READELF_FOR_TARGET" >&6; }
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13059 $as_echo "no
" >&6; }
13066 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13067 for ncn_progname in readelf; do
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13069 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13070 if test -x $with_build_time_tools/${ncn_progname}; then
13071 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13073 $as_echo "yes" >&6; }
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13077 $as_echo "no
" >&6; }
13082 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13083 for ncn_progname in readelf; do
13084 if test -n "$ncn_target_tool_prefix"; then
13085 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13086 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13088 $as_echo_n "checking
for $ac_word...
" >&6; }
13089 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13090 $as_echo_n "(cached
) " >&6
13092 if test -n "$READELF_FOR_TARGET"; then
13093 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13096 for as_dir in $PATH
13099 test -z "$as_dir" && as_dir=.
13100 for ac_exec_ext in '' $ac_executable_extensions; do
13101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13102 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13112 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13113 if test -n "$READELF_FOR_TARGET"; then
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13115 $as_echo "$READELF_FOR_TARGET" >&6; }
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13118 $as_echo "no
" >&6; }
13123 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13124 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13125 set dummy ${ncn_progname}; ac_word=$2
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13127 $as_echo_n "checking
for $ac_word...
" >&6; }
13128 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13129 $as_echo_n "(cached
) " >&6
13131 if test -n "$READELF_FOR_TARGET"; then
13132 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13135 for as_dir in $PATH
13138 test -z "$as_dir" && as_dir=.
13139 for ac_exec_ext in '' $ac_executable_extensions; do
13140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13141 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13142 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13151 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13152 if test -n "$READELF_FOR_TARGET"; then
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13154 $as_echo "$READELF_FOR_TARGET" >&6; }
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13157 $as_echo "no
" >&6; }
13162 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13166 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13168 if test $build = $target ; then
13169 READELF_FOR_TARGET="$2"
13171 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13174 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13178 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13184 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13185 if test -n "$with_build_time_tools"; then
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13187 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13188 if test -x $with_build_time_tools/strip; then
13189 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13190 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13192 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13195 $as_echo "no
" >&6; }
13197 elif test $build != $host && test $have_gcc_for_target = yes; then
13198 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13199 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13200 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13203 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13204 # Extract the first word of "strip
", so it can be a program name with args.
13205 set dummy strip; ac_word=$2
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13207 $as_echo_n "checking
for $ac_word...
" >&6; }
13208 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
13209 $as_echo_n "(cached
) " >&6
13211 case $STRIP_FOR_TARGET in
13213 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13217 for as_dir in $gcc_cv_tool_dirs
13220 test -z "$as_dir" && as_dir=.
13221 for ac_exec_ext in '' $ac_executable_extensions; do
13222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13223 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13234 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13235 if test -n "$STRIP_FOR_TARGET"; then
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13237 $as_echo "$STRIP_FOR_TARGET" >&6; }
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13240 $as_echo "no
" >&6; }
13245 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13248 if test -n "$STRIP_FOR_TARGET"; then
13249 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13250 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13251 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13254 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13255 for ncn_progname in strip; do
13256 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13257 set dummy ${ncn_progname}; ac_word=$2
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13259 $as_echo_n "checking
for $ac_word...
" >&6; }
13260 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13261 $as_echo_n "(cached
) " >&6
13263 if test -n "$STRIP_FOR_TARGET"; then
13264 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13267 for as_dir in $PATH
13270 test -z "$as_dir" && as_dir=.
13271 for ac_exec_ext in '' $ac_executable_extensions; do
13272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13273 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13274 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13283 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13284 if test -n "$STRIP_FOR_TARGET"; then
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13286 $as_echo "$STRIP_FOR_TARGET" >&6; }
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13289 $as_echo "no
" >&6; }
13296 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13297 for ncn_progname in strip; do
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13299 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13300 if test -x $with_build_time_tools/${ncn_progname}; then
13301 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13303 $as_echo "yes" >&6; }
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13307 $as_echo "no
" >&6; }
13312 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13313 for ncn_progname in strip; do
13314 if test -n "$ncn_target_tool_prefix"; then
13315 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13316 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13318 $as_echo_n "checking
for $ac_word...
" >&6; }
13319 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13320 $as_echo_n "(cached
) " >&6
13322 if test -n "$STRIP_FOR_TARGET"; then
13323 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13326 for as_dir in $PATH
13329 test -z "$as_dir" && as_dir=.
13330 for ac_exec_ext in '' $ac_executable_extensions; do
13331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13332 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13333 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13342 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13343 if test -n "$STRIP_FOR_TARGET"; then
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13345 $as_echo "$STRIP_FOR_TARGET" >&6; }
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13348 $as_echo "no
" >&6; }
13353 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13354 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13355 set dummy ${ncn_progname}; ac_word=$2
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13357 $as_echo_n "checking
for $ac_word...
" >&6; }
13358 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13359 $as_echo_n "(cached
) " >&6
13361 if test -n "$STRIP_FOR_TARGET"; then
13362 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13365 for as_dir in $PATH
13368 test -z "$as_dir" && as_dir=.
13369 for ac_exec_ext in '' $ac_executable_extensions; do
13370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13371 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13381 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13382 if test -n "$STRIP_FOR_TARGET"; then
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13384 $as_echo "$STRIP_FOR_TARGET" >&6; }
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13387 $as_echo "no
" >&6; }
13392 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13396 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13398 if test $build = $target ; then
13399 STRIP_FOR_TARGET="$2"
13401 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13404 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13408 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13414 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13415 if test -n "$with_build_time_tools"; then
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13417 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13418 if test -x $with_build_time_tools/windres; then
13419 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13420 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13422 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13425 $as_echo "no
" >&6; }
13427 elif test $build != $host && test $have_gcc_for_target = yes; then
13428 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13429 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13430 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13433 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13434 # Extract the first word of "windres
", so it can be a program name with args.
13435 set dummy windres; ac_word=$2
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13437 $as_echo_n "checking
for $ac_word...
" >&6; }
13438 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
13439 $as_echo_n "(cached
) " >&6
13441 case $WINDRES_FOR_TARGET in
13443 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13447 for as_dir in $gcc_cv_tool_dirs
13450 test -z "$as_dir" && as_dir=.
13451 for ac_exec_ext in '' $ac_executable_extensions; do
13452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13453 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13454 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13464 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13465 if test -n "$WINDRES_FOR_TARGET"; then
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13467 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13470 $as_echo "no
" >&6; }
13475 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13478 if test -n "$WINDRES_FOR_TARGET"; then
13479 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13480 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13481 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13484 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13485 for ncn_progname in windres; do
13486 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13487 set dummy ${ncn_progname}; ac_word=$2
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13489 $as_echo_n "checking
for $ac_word...
" >&6; }
13490 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13491 $as_echo_n "(cached
) " >&6
13493 if test -n "$WINDRES_FOR_TARGET"; then
13494 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13497 for as_dir in $PATH
13500 test -z "$as_dir" && as_dir=.
13501 for ac_exec_ext in '' $ac_executable_extensions; do
13502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13503 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13513 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13514 if test -n "$WINDRES_FOR_TARGET"; then
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13516 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13519 $as_echo "no
" >&6; }
13526 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13527 for ncn_progname in windres; do
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13529 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13530 if test -x $with_build_time_tools/${ncn_progname}; then
13531 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13533 $as_echo "yes" >&6; }
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13537 $as_echo "no
" >&6; }
13542 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13543 for ncn_progname in windres; do
13544 if test -n "$ncn_target_tool_prefix"; then
13545 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13546 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13548 $as_echo_n "checking
for $ac_word...
" >&6; }
13549 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13550 $as_echo_n "(cached
) " >&6
13552 if test -n "$WINDRES_FOR_TARGET"; then
13553 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13556 for as_dir in $PATH
13559 test -z "$as_dir" && as_dir=.
13560 for ac_exec_ext in '' $ac_executable_extensions; do
13561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13562 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13563 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13572 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13573 if test -n "$WINDRES_FOR_TARGET"; then
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13575 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13578 $as_echo "no
" >&6; }
13583 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13584 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13585 set dummy ${ncn_progname}; ac_word=$2
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13587 $as_echo_n "checking
for $ac_word...
" >&6; }
13588 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13589 $as_echo_n "(cached
) " >&6
13591 if test -n "$WINDRES_FOR_TARGET"; then
13592 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13595 for as_dir in $PATH
13598 test -z "$as_dir" && as_dir=.
13599 for ac_exec_ext in '' $ac_executable_extensions; do
13600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13601 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13611 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13612 if test -n "$WINDRES_FOR_TARGET"; then
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13614 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13617 $as_echo "no
" >&6; }
13622 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13626 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13628 if test $build = $target ; then
13629 WINDRES_FOR_TARGET="$2"
13631 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13634 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13638 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13644 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13645 if test -n "$with_build_time_tools"; then
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13647 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13648 if test -x $with_build_time_tools/windmc; then
13649 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13650 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13652 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13655 $as_echo "no
" >&6; }
13657 elif test $build != $host && test $have_gcc_for_target = yes; then
13658 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13659 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13660 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13663 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13664 # Extract the first word of "windmc
", so it can be a program name with args.
13665 set dummy windmc; ac_word=$2
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13667 $as_echo_n "checking
for $ac_word...
" >&6; }
13668 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
13669 $as_echo_n "(cached
) " >&6
13671 case $WINDMC_FOR_TARGET in
13673 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13677 for as_dir in $gcc_cv_tool_dirs
13680 test -z "$as_dir" && as_dir=.
13681 for ac_exec_ext in '' $ac_executable_extensions; do
13682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13683 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13684 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13694 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13695 if test -n "$WINDMC_FOR_TARGET"; then
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13697 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13700 $as_echo "no
" >&6; }
13705 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13708 if test -n "$WINDMC_FOR_TARGET"; then
13709 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13710 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13711 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13714 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13715 for ncn_progname in windmc; do
13716 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13717 set dummy ${ncn_progname}; ac_word=$2
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13719 $as_echo_n "checking
for $ac_word...
" >&6; }
13720 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
13721 $as_echo_n "(cached
) " >&6
13723 if test -n "$WINDMC_FOR_TARGET"; then
13724 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13727 for as_dir in $PATH
13730 test -z "$as_dir" && as_dir=.
13731 for ac_exec_ext in '' $ac_executable_extensions; do
13732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13733 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13743 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13744 if test -n "$WINDMC_FOR_TARGET"; then
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13746 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13749 $as_echo "no
" >&6; }
13756 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13757 for ncn_progname in windmc; do
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13759 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13760 if test -x $with_build_time_tools/${ncn_progname}; then
13761 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13763 $as_echo "yes" >&6; }
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13767 $as_echo "no
" >&6; }
13772 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13773 for ncn_progname in windmc; do
13774 if test -n "$ncn_target_tool_prefix"; then
13775 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13776 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13778 $as_echo_n "checking
for $ac_word...
" >&6; }
13779 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
13780 $as_echo_n "(cached
) " >&6
13782 if test -n "$WINDMC_FOR_TARGET"; then
13783 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13786 for as_dir in $PATH
13789 test -z "$as_dir" && as_dir=.
13790 for ac_exec_ext in '' $ac_executable_extensions; do
13791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13792 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13793 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13802 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13803 if test -n "$WINDMC_FOR_TARGET"; then
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13805 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13808 $as_echo "no
" >&6; }
13813 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13814 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13815 set dummy ${ncn_progname}; ac_word=$2
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13817 $as_echo_n "checking
for $ac_word...
" >&6; }
13818 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
13819 $as_echo_n "(cached
) " >&6
13821 if test -n "$WINDMC_FOR_TARGET"; then
13822 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13825 for as_dir in $PATH
13828 test -z "$as_dir" && as_dir=.
13829 for ac_exec_ext in '' $ac_executable_extensions; do
13830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13831 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13832 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13841 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13842 if test -n "$WINDMC_FOR_TARGET"; then
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13844 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13847 $as_echo "no
" >&6; }
13852 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13856 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13858 if test $build = $target ; then
13859 WINDMC_FOR_TARGET="$2"
13861 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13864 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13868 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13872 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13875 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13876 if test "x
${build}" != "x
${host}" ; then
13877 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13878 # We already found the complete path
13879 ac_dir=`dirname $AR_FOR_TARGET`
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13881 $as_echo "pre-installed
in $ac_dir" >&6; }
13883 # Canadian cross, just use what we found
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13885 $as_echo "pre-installed
" >&6; }
13889 case " ${configdirs} " in
13894 if test $ok = yes; then
13895 # An in-tree tool is available and we can use it
13896 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13898 $as_echo "just compiled
" >&6; }
13899 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13900 # We already found the complete path
13901 ac_dir=`dirname $AR_FOR_TARGET`
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13903 $as_echo "pre-installed
in $ac_dir" >&6; }
13904 elif test "x
$target" = "x
$host"; then
13905 # We can use an host tool
13906 AR_FOR_TARGET='$(AR)'
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13908 $as_echo "host tool
" >&6; }
13910 # We need a cross tool
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13912 $as_echo "pre-installed
" >&6; }
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13917 $as_echo_n "checking where to
find the target as...
" >&6; }
13918 if test "x
${build}" != "x
${host}" ; then
13919 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13920 # We already found the complete path
13921 ac_dir=`dirname $AS_FOR_TARGET`
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13923 $as_echo "pre-installed
in $ac_dir" >&6; }
13925 # Canadian cross, just use what we found
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13927 $as_echo "pre-installed
" >&6; }
13931 case " ${configdirs} " in
13936 if test $ok = yes; then
13937 # An in-tree tool is available and we can use it
13938 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13940 $as_echo "just compiled
" >&6; }
13941 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13942 # We already found the complete path
13943 ac_dir=`dirname $AS_FOR_TARGET`
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13945 $as_echo "pre-installed
in $ac_dir" >&6; }
13946 elif test "x
$target" = "x
$host"; then
13947 # We can use an host tool
13948 AS_FOR_TARGET='$(AS)'
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13950 $as_echo "host tool
" >&6; }
13952 # We need a cross tool
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13954 $as_echo "pre-installed
" >&6; }
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13959 $as_echo_n "checking where to
find the target cc...
" >&6; }
13960 if test "x
${build}" != "x
${host}" ; then
13961 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13962 # We already found the complete path
13963 ac_dir=`dirname $CC_FOR_TARGET`
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13965 $as_echo "pre-installed
in $ac_dir" >&6; }
13967 # Canadian cross, just use what we found
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13969 $as_echo "pre-installed
" >&6; }
13973 case " ${configdirs} " in
13978 if test $ok = yes; then
13979 # An in-tree tool is available and we can use it
13980 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13982 $as_echo "just compiled
" >&6; }
13983 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13984 # We already found the complete path
13985 ac_dir=`dirname $CC_FOR_TARGET`
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13987 $as_echo "pre-installed
in $ac_dir" >&6; }
13988 elif test "x
$target" = "x
$host"; then
13989 # We can use an host tool
13990 CC_FOR_TARGET='$(CC)'
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13992 $as_echo "host tool
" >&6; }
13994 # We need a cross tool
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13996 $as_echo "pre-installed
" >&6; }
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14001 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14002 if test "x
${build}" != "x
${host}" ; then
14003 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14004 # We already found the complete path
14005 ac_dir=`dirname $CXX_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; }
14009 # Canadian cross, just use what we found
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14011 $as_echo "pre-installed
" >&6; }
14015 case " ${configdirs} " in
14019 case ,${enable_languages}, in
14023 if test $ok = yes; then
14024 # An in-tree tool is available and we can use it
14025 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'
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14027 $as_echo "just compiled
" >&6; }
14028 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14029 # We already found the complete path
14030 ac_dir=`dirname $CXX_FOR_TARGET`
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14032 $as_echo "pre-installed
in $ac_dir" >&6; }
14033 elif test "x
$target" = "x
$host"; then
14034 # We can use an host tool
14035 CXX_FOR_TARGET='$(CXX)'
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14037 $as_echo "host tool
" >&6; }
14039 # We need a cross tool
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14041 $as_echo "pre-installed
" >&6; }
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14046 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14047 if test "x
${build}" != "x
${host}" ; then
14048 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14049 # We already found the complete path
14050 ac_dir=`dirname $RAW_CXX_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; }
14054 # Canadian cross, just use what we found
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14056 $as_echo "pre-installed
" >&6; }
14060 case " ${configdirs} " in
14064 case ,${enable_languages}, in
14068 if test $ok = yes; then
14069 # An in-tree tool is available and we can use it
14070 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'
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14072 $as_echo "just compiled
" >&6; }
14073 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14074 # We already found the complete path
14075 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14077 $as_echo "pre-installed
in $ac_dir" >&6; }
14078 elif test "x
$target" = "x
$host"; then
14079 # We can use an host tool
14080 RAW_CXX_FOR_TARGET='$(CXX)'
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14082 $as_echo "host tool
" >&6; }
14084 # We need a cross tool
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14086 $as_echo "pre-installed
" >&6; }
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14091 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14092 if test "x
${build}" != "x
${host}" ; then
14093 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14094 # We already found the complete path
14095 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14097 $as_echo "pre-installed
in $ac_dir" >&6; }
14099 # Canadian cross, just use what we found
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14101 $as_echo "pre-installed
" >&6; }
14105 case " ${configdirs} " in
14110 if test $ok = yes; then
14111 # An in-tree tool is available and we can use it
14112 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14114 $as_echo "just compiled
" >&6; }
14115 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14116 # We already found the complete path
14117 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14119 $as_echo "pre-installed
in $ac_dir" >&6; }
14120 elif test "x
$target" = "x
$host"; then
14121 # We can use an host tool
14122 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14124 $as_echo "host tool
" >&6; }
14126 # We need a cross tool
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14128 $as_echo "pre-installed
" >&6; }
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14133 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14134 if test "x
${build}" != "x
${host}" ; then
14135 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14136 # We already found the complete path
14137 ac_dir=`dirname $GCC_FOR_TARGET`
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14139 $as_echo "pre-installed
in $ac_dir" >&6; }
14141 # Canadian cross, just use what we found
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14143 $as_echo "pre-installed
" >&6; }
14147 case " ${configdirs} " in
14152 if test $ok = yes; then
14153 # An in-tree tool is available and we can use it
14154 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14156 $as_echo "just compiled
" >&6; }
14157 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14158 # We already found the complete path
14159 ac_dir=`dirname $GCC_FOR_TARGET`
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14161 $as_echo "pre-installed
in $ac_dir" >&6; }
14162 elif test "x
$target" = "x
$host"; then
14163 # We can use an host tool
14164 GCC_FOR_TARGET='$()'
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14166 $as_echo "host tool
" >&6; }
14168 # We need a cross tool
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14170 $as_echo "pre-installed
" >&6; }
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14175 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14176 if test "x
${build}" != "x
${host}" ; then
14177 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14178 # We already found the complete path
14179 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14181 $as_echo "pre-installed
in $ac_dir" >&6; }
14183 # Canadian cross, just use what we found
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14185 $as_echo "pre-installed
" >&6; }
14189 case " ${configdirs} " in
14193 case ,${enable_languages}, in
14197 if test $ok = yes; then
14198 # An in-tree tool is available and we can use it
14199 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14201 $as_echo "just compiled
" >&6; }
14202 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14203 # We already found the complete path
14204 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14206 $as_echo "pre-installed
in $ac_dir" >&6; }
14207 elif test "x
$target" = "x
$host"; then
14208 # We can use an host tool
14209 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14211 $as_echo "host tool
" >&6; }
14213 # We need a cross tool
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14215 $as_echo "pre-installed
" >&6; }
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14220 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14221 if test "x
${build}" != "x
${host}" ; then
14222 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14223 # We already found the complete path
14224 ac_dir=`dirname $GOC_FOR_TARGET`
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14226 $as_echo "pre-installed
in $ac_dir" >&6; }
14228 # Canadian cross, just use what we found
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14230 $as_echo "pre-installed
" >&6; }
14234 case " ${configdirs} " in
14238 case ,${enable_languages}, in
14242 if test $ok = yes; then
14243 # An in-tree tool is available and we can use it
14244 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14246 $as_echo "just compiled
" >&6; }
14247 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14248 # We already found the complete path
14249 ac_dir=`dirname $GOC_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 GOC_FOR_TARGET='$(GOC)'
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 ld
" >&5
14265 $as_echo_n "checking where to
find the target ld...
" >&6; }
14266 if test "x
${build}" != "x
${host}" ; then
14267 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14268 # We already found the complete path
14269 ac_dir=`dirname $LD_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 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14288 $as_echo "just compiled
" >&6; }
14289 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14290 # We already found the complete path
14291 ac_dir=`dirname $LD_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 LD_FOR_TARGET='$(LD)'
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 lipo
" >&5
14307 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14308 if test "x
${build}" != "x
${host}" ; then
14309 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14310 # We already found the complete path
14311 ac_dir=`dirname $LIPO_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; }
14320 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14321 # We already found the complete path
14322 ac_dir=`dirname $LIPO_FOR_TARGET`
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14324 $as_echo "pre-installed
in $ac_dir" >&6; }
14325 elif test "x
$target" = "x
$host"; then
14326 # We can use an host tool
14327 LIPO_FOR_TARGET='$(LIPO)'
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14329 $as_echo "host tool
" >&6; }
14331 # We need a cross tool
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14333 $as_echo "pre-installed
" >&6; }
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14338 $as_echo_n "checking where to
find the target nm...
" >&6; }
14339 if test "x
${build}" != "x
${host}" ; then
14340 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14341 # We already found the complete path
14342 ac_dir=`dirname $NM_FOR_TARGET`
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14344 $as_echo "pre-installed
in $ac_dir" >&6; }
14346 # Canadian cross, just use what we found
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14348 $as_echo "pre-installed
" >&6; }
14352 case " ${configdirs} " in
14357 if test $ok = yes; then
14358 # An in-tree tool is available and we can use it
14359 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14361 $as_echo "just compiled
" >&6; }
14362 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14363 # We already found the complete path
14364 ac_dir=`dirname $NM_FOR_TARGET`
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14366 $as_echo "pre-installed
in $ac_dir" >&6; }
14367 elif test "x
$target" = "x
$host"; then
14368 # We can use an host tool
14369 NM_FOR_TARGET='$(NM)'
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14371 $as_echo "host tool
" >&6; }
14373 # We need a cross tool
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14375 $as_echo "pre-installed
" >&6; }
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14380 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14381 if test "x
${build}" != "x
${host}" ; then
14382 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14383 # We already found the complete path
14384 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14386 $as_echo "pre-installed
in $ac_dir" >&6; }
14388 # Canadian cross, just use what we found
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14390 $as_echo "pre-installed
" >&6; }
14394 case " ${configdirs} " in
14399 if test $ok = yes; then
14400 # An in-tree tool is available and we can use it
14401 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14403 $as_echo "just compiled
" >&6; }
14404 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14405 # We already found the complete path
14406 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14408 $as_echo "pre-installed
in $ac_dir" >&6; }
14409 elif test "x
$target" = "x
$host"; then
14410 # We can use an host tool
14411 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14413 $as_echo "host tool
" >&6; }
14415 # We need a cross tool
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14417 $as_echo "pre-installed
" >&6; }
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14422 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14423 if test "x
${build}" != "x
${host}" ; then
14424 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14425 # We already found the complete path
14426 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14428 $as_echo "pre-installed
in $ac_dir" >&6; }
14430 # Canadian cross, just use what we found
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14432 $as_echo "pre-installed
" >&6; }
14436 case " ${configdirs} " in
14441 if test $ok = yes; then
14442 # An in-tree tool is available and we can use it
14443 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14445 $as_echo "just compiled
" >&6; }
14446 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14447 # We already found the complete path
14448 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14450 $as_echo "pre-installed
in $ac_dir" >&6; }
14451 elif test "x
$target" = "x
$host"; then
14452 # We can use an host tool
14453 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14455 $as_echo "host tool
" >&6; }
14457 # We need a cross tool
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14459 $as_echo "pre-installed
" >&6; }
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14464 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14465 if test "x
${build}" != "x
${host}" ; then
14466 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14467 # We already found the complete path
14468 ac_dir=`dirname $RANLIB_FOR_TARGET`
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14470 $as_echo "pre-installed
in $ac_dir" >&6; }
14472 # Canadian cross, just use what we found
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14474 $as_echo "pre-installed
" >&6; }
14478 case " ${configdirs} " in
14483 if test $ok = yes; then
14484 # An in-tree tool is available and we can use it
14485 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14487 $as_echo "just compiled
" >&6; }
14488 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14489 # We already found the complete path
14490 ac_dir=`dirname $RANLIB_FOR_TARGET`
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14492 $as_echo "pre-installed
in $ac_dir" >&6; }
14493 elif test "x
$target" = "x
$host"; then
14494 # We can use an host tool
14495 RANLIB_FOR_TARGET='$(RANLIB)'
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14497 $as_echo "host tool
" >&6; }
14499 # We need a cross tool
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14501 $as_echo "pre-installed
" >&6; }
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14506 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14507 if test "x
${build}" != "x
${host}" ; then
14508 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14509 # We already found the complete path
14510 ac_dir=`dirname $READELF_FOR_TARGET`
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14512 $as_echo "pre-installed
in $ac_dir" >&6; }
14514 # Canadian cross, just use what we found
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14516 $as_echo "pre-installed
" >&6; }
14520 case " ${configdirs} " in
14525 if test $ok = yes; then
14526 # An in-tree tool is available and we can use it
14527 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14529 $as_echo "just compiled
" >&6; }
14530 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14531 # We already found the complete path
14532 ac_dir=`dirname $READELF_FOR_TARGET`
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14534 $as_echo "pre-installed
in $ac_dir" >&6; }
14535 elif test "x
$target" = "x
$host"; then
14536 # We can use an host tool
14537 READELF_FOR_TARGET='$(READELF)'
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14539 $as_echo "host tool
" >&6; }
14541 # We need a cross tool
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14543 $as_echo "pre-installed
" >&6; }
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14548 $as_echo_n "checking where to
find the target strip...
" >&6; }
14549 if test "x
${build}" != "x
${host}" ; then
14550 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14551 # We already found the complete path
14552 ac_dir=`dirname $STRIP_FOR_TARGET`
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14554 $as_echo "pre-installed
in $ac_dir" >&6; }
14556 # Canadian cross, just use what we found
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14558 $as_echo "pre-installed
" >&6; }
14562 case " ${configdirs} " in
14567 if test $ok = yes; then
14568 # An in-tree tool is available and we can use it
14569 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14571 $as_echo "just compiled
" >&6; }
14572 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14573 # We already found the complete path
14574 ac_dir=`dirname $STRIP_FOR_TARGET`
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14576 $as_echo "pre-installed
in $ac_dir" >&6; }
14577 elif test "x
$target" = "x
$host"; then
14578 # We can use an host tool
14579 STRIP_FOR_TARGET='$(STRIP)'
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14581 $as_echo "host tool
" >&6; }
14583 # We need a cross tool
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14585 $as_echo "pre-installed
" >&6; }
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14590 $as_echo_n "checking where to
find the target windres...
" >&6; }
14591 if test "x
${build}" != "x
${host}" ; then
14592 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14593 # We already found the complete path
14594 ac_dir=`dirname $WINDRES_FOR_TARGET`
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14596 $as_echo "pre-installed
in $ac_dir" >&6; }
14598 # Canadian cross, just use what we found
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14600 $as_echo "pre-installed
" >&6; }
14604 case " ${configdirs} " in
14609 if test $ok = yes; then
14610 # An in-tree tool is available and we can use it
14611 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14613 $as_echo "just compiled
" >&6; }
14614 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14615 # We already found the complete path
14616 ac_dir=`dirname $WINDRES_FOR_TARGET`
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14618 $as_echo "pre-installed
in $ac_dir" >&6; }
14619 elif test "x
$target" = "x
$host"; then
14620 # We can use an host tool
14621 WINDRES_FOR_TARGET='$(WINDRES)'
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14623 $as_echo "host tool
" >&6; }
14625 # We need a cross tool
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14627 $as_echo "pre-installed
" >&6; }
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14632 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14633 if test "x
${build}" != "x
${host}" ; then
14634 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14635 # We already found the complete path
14636 ac_dir=`dirname $WINDMC_FOR_TARGET`
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14638 $as_echo "pre-installed
in $ac_dir" >&6; }
14640 # Canadian cross, just use what we found
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14642 $as_echo "pre-installed
" >&6; }
14646 case " ${configdirs} " in
14651 if test $ok = yes; then
14652 # An in-tree tool is available and we can use it
14653 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14655 $as_echo "just compiled
" >&6; }
14656 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14657 # We already found the complete path
14658 ac_dir=`dirname $WINDMC_FOR_TARGET`
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14660 $as_echo "pre-installed
in $ac_dir" >&6; }
14661 elif test "x
$target" = "x
$host"; then
14662 # We can use an host tool
14663 WINDMC_FOR_TARGET='$(WINDMC)'
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14665 $as_echo "host tool
" >&6; }
14667 # We need a cross tool
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14669 $as_echo "pre-installed
" >&6; }
14677 # Certain tools may need extra flags.
14678 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14679 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14680 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14682 # When building target libraries, except in a Canadian cross, we use
14683 # the same toolchain as the compiler we just built.
14684 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14685 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14686 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14687 if test $host = $build; then
14688 case " $configdirs " in
14690 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14691 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14692 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14702 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14703 # Check whether --enable-maintainer-mode was given.
14704 if test "${enable_maintainer_mode+set}" = set; then :
14705 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14707 USE_MAINTAINER_MODE=no
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14711 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14714 if test "$USE_MAINTAINER_MODE" = yes; then
14715 MAINTAINER_MODE_TRUE=
14716 MAINTAINER_MODE_FALSE='#'
14718 MAINTAINER_MODE_TRUE='#'
14719 MAINTAINER_MODE_FALSE=
14721 MAINT=$MAINTAINER_MODE_TRUE
14723 # ---------------------
14724 # GCC bootstrap support
14725 # ---------------------
14727 # Stage specific cflags for build.
14732 yes) stage1_cflags="-g -Wa,-J" ;;
14733 *) stage1_cflags="-g -J" ;;
14739 # Enable --enable-checking in stage1 of the compiler.
14740 # Check whether --enable-stage1-checking was given.
14741 if test "${enable_stage1_checking+set}" = set; then :
14742 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14744 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14745 # For --disable-checking or implicit --enable-checking=release, avoid
14746 # setting --enable-checking=gc in the default stage1 checking for LTO
14747 # bootstraps. See PR62077.
14748 case $BUILD_CONFIG in
14750 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
14752 stage1_checking=--enable-checking=yes,types;;
14754 if test "x
$enable_checking" = x && \
14755 test -d ${srcdir}/gcc && \
14756 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14757 stage1_checking=--enable-checking=yes,types,extra
14760 stage1_checking=--enable-checking=$enable_checking,types
14766 # Enable -Werror in bootstrap stage2 and later.
14767 # Check whether --enable-werror was given.
14768 if test "${enable_werror+set}" = set; then :
14769 enableval=$enable_werror;
14770 case ${enable_werror} in
14771 yes) stage2_werror_flag="--enable-werror-always" ;;
14772 *) stage2_werror_flag="" ;;
14777 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14778 case $BUILD_CONFIG in
14780 stage2_werror_flag="--enable-werror-always" ;;
14782 stage2_werror_flag="--enable-werror-always" ;;
14791 # Specify what files to not compare during bootstrap.
14793 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14795 hppa*64*-*-hpux*) ;;
14796 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/* | gcc
/function-tests.o
" ;;
14797 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14801 ac_config_files="$ac_config_files Makefile
"
14803 cat >confcache <<\_ACEOF
14804 # This file is a shell script that caches the results of configure
14805 # tests run on this system so they can be shared between configure
14806 # scripts and configure runs, see configure's option --config-cache.
14807 # It is not useful on other systems. If it contains results you don't
14808 # want to keep, you may remove or edit it.
14810 # config.status only pays attention to the cache file if you give it
14811 # the --recheck option to rerun configure.
14813 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14814 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14815 # following values.
14819 # The following way of writing the cache mishandles newlines in values,
14820 # but we know of no workaround that is simple, portable, and efficient.
14821 # So, we kill variables containing newlines.
14822 # Ultrix sh set writes to stderr and can't be redirected directly,
14823 # and sets the high bit in the cache file unless we assign to the vars.
14825 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14826 eval ac_val=\$$ac_var
14830 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14831 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14834 _ | IFS | as_nl) ;; #(
14835 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14836 *) { eval $ac_var=; unset $ac_var;} ;;
14842 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14843 *${as_nl}ac_space=\ *)
14844 # `set' does not quote correctly, so add quotes: double-quote
14845 # substitution turns \\\\ into \\, and sed turns \\ into \.
14848 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14851 # `set' quotes correctly as required by POSIX, so do not add quotes.
14852 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14861 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14863 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14865 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14866 if test -w "$cache_file"; then
14867 if test "x
$cache_file" != "x
/dev
/null
"; then
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14869 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14870 if test ! -f "$cache_file" || test -h "$cache_file"; then
14871 cat confcache >"$cache_file"
14873 case $cache_file in #(
14875 mv -f confcache "$cache_file"$$ &&
14876 mv -f "$cache_file"$$ "$cache_file" ;; #(
14878 mv -f confcache "$cache_file" ;;
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14884 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14889 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14890 # Let make expand exec_prefix.
14891 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14893 # Transform confdefs.h into DEFS.
14894 # Protect against shell expansion while executing Makefile rules.
14895 # Protect against Makefile macro expansion.
14897 # If the first sed substitution is executed (which looks for macros that
14898 # take arguments), then branch to the quote section. Otherwise,
14899 # look for a macro that doesn't take arguments.
14909 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14911 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14915 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14928 DEFS=`sed -n "$ac_script" confdefs.h`
14934 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14935 # 1. Remove the extension, and $U if already installed.
14936 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14937 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14938 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14939 # will be set to the directory where LIBOBJS objects are built.
14940 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14941 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14943 LIBOBJS=$ac_libobjs
14945 LTLIBOBJS=$ac_ltlibobjs
14949 : "${CONFIG_STATUS=./config.status}"
14951 ac_clean_files_save=$ac_clean_files
14952 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14954 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14956 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14958 # Generated by $as_me.
14959 # Run this file to recreate the current configuration.
14960 # Compiler output produced by configure, useful for debugging
14961 # configure, is in config.log if it exists.
14964 ac_cs_recheck=false
14967 SHELL=\${CONFIG_SHELL-$SHELL}
14970 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14971 ## -------------------- ##
14972 ## M4sh Initialization. ##
14973 ## -------------------- ##
14975 # Be more Bourne compatible
14976 DUALCASE=1; export DUALCASE # for MKS sh
14977 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14980 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14981 # is contrary to our usage. Disable this feature.
14982 alias -g '${1+"$@"}'='"$@"'
14983 setopt NO_GLOB_SUBST
14985 case `(set -o) 2>/dev/null` in #(
14997 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14998 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14999 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15000 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15001 # Prefer a ksh shell builtin over an external printf program on Solaris,
15002 # but without wasting forks for bash or zsh.
15003 if test -z "$BASH_VERSION$ZSH_VERSION" \
15004 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15005 as_echo
='print -r --'
15006 as_echo_n
='print -rn --'
15007 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15008 as_echo
='printf %s\n'
15009 as_echo_n
='printf %s'
15011 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15012 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15013 as_echo_n
='/usr/ucb/echo -n'
15015 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15016 as_echo_n_body
='eval
15020 expr "X$arg" : "X\\(.*\\)$as_nl";
15021 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15023 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15025 export as_echo_n_body
15026 as_echo_n
='sh -c $as_echo_n_body as_echo'
15028 export as_echo_body
15029 as_echo
='sh -c $as_echo_body as_echo'
15032 # The user is always right.
15033 if test "${PATH_SEPARATOR+set}" != set; then
15035 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15036 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15043 # We need space, tab and new line, in precisely that order. Quoting is
15044 # there to prevent editors from complaining about space-tab.
15045 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15046 # splitting by setting IFS to empty value.)
15049 # Find who we are. Look in the path if we contain no directory separator.
15052 *[\\/]* ) as_myself
=$0 ;;
15053 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15054 for as_dir
in $PATH
15057 test -z "$as_dir" && as_dir
=.
15058 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15064 # We did not find ourselves, most probably we were run as `sh COMMAND'
15065 # in which case we are not to be found in the path.
15066 if test "x$as_myself" = x
; then
15069 if test ! -f "$as_myself"; then
15070 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15074 # Unset variables that we do not need and which cause bugs (e.g. in
15075 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15076 # suppresses any "Segmentation fault" message there. '((' could
15077 # trigger a bug in pdksh 5.2.14.
15078 for as_var
in BASH_ENV ENV MAIL MAILPATH
15079 do eval test x\
${$as_var+set} = xset \
15080 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15093 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15096 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15097 # ----------------------------------------
15098 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15099 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15100 # script with STATUS, using 1 if that was 0.
15103 as_status
=$1; test $as_status -eq 0 && as_status
=1
15105 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15106 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15108 $as_echo "$as_me: error: $2" >&2
15109 as_fn_exit
$as_status
15113 # as_fn_set_status STATUS
15114 # -----------------------
15115 # Set $? to STATUS, without forking.
15116 as_fn_set_status
()
15119 } # as_fn_set_status
15121 # as_fn_exit STATUS
15122 # -----------------
15123 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15127 as_fn_set_status
$1
15133 # Portably unset VAR.
15136 { eval $1=; unset $1;}
15138 as_unset
=as_fn_unset
15139 # as_fn_append VAR VALUE
15140 # ----------------------
15141 # Append the text in VALUE to the end of the definition contained in VAR. Take
15142 # advantage of any shell optimizations that allow amortized linear growth over
15143 # repeated appends, instead of the typical quadratic growth present in naive
15145 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15146 eval 'as_fn_append ()
15157 # as_fn_arith ARG...
15158 # ------------------
15159 # Perform arithmetic evaluation on the ARGs, and store the result in the
15160 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15161 # must be portable across $(()) and expr.
15162 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15163 eval 'as_fn_arith ()
15170 as_val
=`expr "$@" || test $? -eq 1`
15175 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15176 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15182 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15183 as_basename
=basename
15188 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15194 as_me
=`$as_basename -- "$0" ||
15195 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15196 X"$0" : 'X\(//\)$' \| \
15197 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15199 sed '/^.*\/\([^/][^/]*\)\/*$/{
15213 # Avoid depending upon Character Ranges.
15214 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15215 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15216 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15217 as_cr_digits
='0123456789'
15218 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15220 ECHO_C
= ECHO_N
= ECHO_T
=
15221 case `echo -n x` in #(((((
15223 case `echo 'xy\c'` in
15224 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15226 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15233 rm -f conf$$ conf$$.exe conf$$.
file
15234 if test -d conf$$.dir
; then
15235 rm -f conf$$.dir
/conf$$.
file
15238 mkdir conf$$.dir
2>/dev
/null
15240 if (echo >conf$$.
file) 2>/dev
/null
; then
15241 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15243 # ... but there are two gotchas:
15244 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15245 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15246 # In both cases, we have to default to `cp -pR'.
15247 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15249 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15257 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15258 rmdir conf$$.dir
2>/dev
/null
15263 # Create "$as_dir" as a directory, including parents if necessary.
15268 -*) as_dir
=.
/$as_dir;;
15270 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15274 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15275 *) as_qdir
=$as_dir;;
15277 as_dirs
="'$as_qdir' $as_dirs"
15278 as_dir
=`$as_dirname -- "$as_dir" ||
15279 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15280 X"$as_dir" : 'X\(//\)[^/]' \| \
15281 X"$as_dir" : 'X\(//\)$' \| \
15282 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15283 $as_echo X"$as_dir" |
15284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15288 /^X\(\/\/\)[^/].*/{
15301 test -d "$as_dir" && break
15303 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15304 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15308 if mkdir
-p .
2>/dev
/null
; then
15309 as_mkdir_p
='mkdir -p "$as_dir"'
15311 test -d .
/-p && rmdir .
/-p
15316 # as_fn_executable_p FILE
15317 # -----------------------
15318 # Test if FILE is an executable regular file.
15319 as_fn_executable_p
()
15321 test -f "$1" && test -x "$1"
15322 } # as_fn_executable_p
15323 as_test_x
='test -x'
15324 as_executable_p
=as_fn_executable_p
15326 # Sed expression to map a string onto a valid CPP name.
15327 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15329 # Sed expression to map a string onto a valid variable name.
15330 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15334 ## ----------------------------------- ##
15335 ## Main body of $CONFIG_STATUS script. ##
15336 ## ----------------------------------- ##
15338 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15341 # Save the log message, to keep $0 and so on meaningful, and to
15342 # report actual input values of CONFIG_FILES etc. instead of their
15343 # values after options handling.
15345 This file was extended by $as_me, which was
15346 generated by GNU Autoconf 2.69. Invocation command line was
15348 CONFIG_FILES = $CONFIG_FILES
15349 CONFIG_HEADERS = $CONFIG_HEADERS
15350 CONFIG_LINKS = $CONFIG_LINKS
15351 CONFIG_COMMANDS = $CONFIG_COMMANDS
15354 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15359 case $ac_config_files in *"
15360 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15366 # Files that config.status was made for.
15367 config_files="$ac_config_files"
15371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15373 \`$as_me' instantiates files and other configuration actions
15374 from templates according to the current configuration. Unless the files
15375 and actions are specified as TAGs, all are instantiated by default.
15377 Usage: $0 [OPTION]... [TAG]...
15379 -h, --help print this help, then exit
15380 -V, --version print version number and configuration settings, then exit
15381 --config print configuration, then exit
15382 -q, --quiet, --silent
15383 do not print progress messages
15384 -d, --debug don't remove temporary files
15385 --recheck update $as_me by reconfiguring in the same conditions
15386 --file=FILE[:TEMPLATE]
15387 instantiate the configuration file FILE
15389 Configuration files:
15392 Report bugs to the package provider."
15395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15396 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15399 configured by $0, generated by GNU Autoconf 2.69,
15400 with options \\"\$ac_cs_config\\"
15402 Copyright (C) 2012 Free Software Foundation, Inc.
15403 This config.status script is free software; the Free Software Foundation
15404 gives unlimited permission to copy, distribute and modify it."
15410 test -n "\$AWK" || AWK=awk
15413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15414 # The default lists apply if the user does not specify any file.
15420 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15421 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15425 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15437 # Handling of the options.
15438 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15440 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15441 $as_echo "$ac_cs_version"; exit ;;
15442 --config |
--confi |
--conf |
--con |
--co |
--c )
15443 $as_echo "$ac_cs_config"; exit ;;
15444 --debug |
--debu |
--deb |
--de |
--d |
-d )
15446 --file |
--fil |
--fi |
--f )
15449 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15450 '') as_fn_error $?
"missing file argument" ;;
15452 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15453 ac_need_defaults
=false
;;
15454 --he |
--h |
--help |
--hel |
-h )
15455 $as_echo "$ac_cs_usage"; exit ;;
15456 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15457 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15460 # This is an error.
15461 -*) as_fn_error $?
"unrecognized option: \`$1'
15462 Try \`$0 --help' for more information." ;;
15464 *) as_fn_append ac_config_targets
" $1"
15465 ac_need_defaults
=false
;;
15471 ac_configure_extra_args
=
15473 if $ac_cs_silent; then
15475 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15480 if \$ac_cs_recheck; then
15481 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15483 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15484 CONFIG_SHELL='$SHELL'
15485 export CONFIG_SHELL
15490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15494 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15495 ## Running $as_me. ##
15501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15505 extrasub_build="$extrasub_build"
15506 extrasub_host="$extrasub_host"
15507 extrasub_target="$extrasub_target"
15511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15513 # Handling of arguments.
15514 for ac_config_target
in $ac_config_targets
15516 case $ac_config_target in
15517 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15519 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15524 # If the user did not use the arguments to specify the items to instantiate,
15525 # then the envvar interface is used. Set only those that are not.
15526 # We use the long form for the default assignment because of an extremely
15527 # bizarre bug on SunOS 4.1.3.
15528 if $ac_need_defaults; then
15529 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15532 # Have a temporary directory for convenience. Make it in the build tree
15533 # simply because there is no reason against having it here, and in addition,
15534 # creating and moving files from /tmp can sometimes cause problems.
15535 # Hook for its removal unless debugging.
15536 # Note that there is a small window in which the directory will not be cleaned:
15537 # after its creation but before its name has been assigned to `$tmp'.
15541 trap 'exit_status=$?
15542 : "${ac_tmp:=$tmp}"
15543 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15545 trap 'as_fn_exit 1' 1 2 13 15
15547 # Create a (secure) tmp directory for tmp files.
15550 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15554 tmp
=.
/conf$$
-$RANDOM
15555 (umask 077 && mkdir
"$tmp")
15556 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15559 # Set up the scripts for CONFIG_FILES section.
15560 # No need to generate them if there are no CONFIG_FILES.
15561 # This happens for instance with `./config.status config.h'.
15562 if test -n "$CONFIG_FILES"; then
15564 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15565 ac_cs_awk_getline
=:
15566 ac_cs_awk_pipe_init
=
15567 ac_cs_awk_read_file
='
15568 while ((getline aline < (F[key])) > 0)
15571 ac_cs_awk_pipe_fini
=
15573 ac_cs_awk_getline
=false
15574 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15575 ac_cs_awk_read_file
='
15577 print "cat " F[key] " &&"
15578 '$ac_cs_awk_pipe_init
15579 # The final `:' finishes the AND list.
15580 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15582 ac_cr
=`echo X | tr X '\015'`
15583 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15584 # But we know of no other shell where ac_cr would be empty at this
15585 # point, so we can use a bashism as a fallback.
15586 if test "x$ac_cr" = x
; then
15587 eval ac_cr
=\$
\'\\r
\'
15589 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15590 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15593 ac_cs_awk_cr
=$ac_cr
15596 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15599 # Create commands to substitute file output variables.
15601 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15602 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
15603 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15606 } >conf$
$files.sh
&&
15607 . .
/conf$
$files.sh ||
15608 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
15609 rm -f conf$
$files.sh
15612 echo "cat >conf$$subs.awk <<_ACEOF" &&
15613 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15615 } >conf$$subs.sh ||
15616 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15617 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15619 for ac_last_try in false false false false false :; do
15620 . ./conf$$subs.sh ||
15621 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15623 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15624 if test $ac_delim_n = $ac_delim_num; then
15626 elif $ac_last_try; then
15627 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15629 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15632 rm -f conf$$subs.sh
15634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15635 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15639 s/^/S["/; s
/!.
*/"]=/
15649 s/\(.\{148\}\)..*/\1/
15651 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15656 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15663 s/\(.\{148\}\)..*/\1/
15665 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15669 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15674 ' <conf$$subs.awk | sed '
15679 ' >>$CONFIG_STATUS || ac_write_fail=1
15680 rm -f conf$$subs.awk
15681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15683 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15684 for (key in S) S_is_set[key] = 1
15686 \$ac_cs_awk_pipe_init
15690 nfields = split(line, field, "@
")
15692 len = length(field[1])
15693 for (i = 2; i < nfields; i++) {
15695 keylen = length(key)
15696 if (S_is_set[key]) {
15698 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15699 len += length(value) + length(field[++i])
15704 if (nfields == 3 && !substed) {
15706 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15707 \$ac_cs_awk_read_file
15713 \$ac_cs_awk_pipe_fini
15716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15717 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15718 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15721 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15722 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15725 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15726 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15727 # trailing colons and then remove the whole line if VPATH becomes empty
15728 # (actually we leave an empty line to preserve line numbers).
15729 if test "x
$srcdir" = x.; then
15730 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15749 fi # test -n "$CONFIG_FILES"
15752 eval set X " :F
$CONFIG_FILES "
15757 :[FHLC]) ac_mode=$ac_tag; continue;;
15759 case $ac_mode$ac_tag in
15761 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15762 :[FH]-) ac_tag=-:-;;
15763 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15780 -) ac_f="$ac_tmp/stdin";;
15781 *) # Look for the file first in the build tree, then in the source tree
15782 # (if the path is not absolute). The absolute path cannot be DOS-style,
15783 # because $ac_f cannot contain `:'.
15787 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15789 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15791 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15792 as_fn_append ac_file_inputs " '$ac_f'"
15795 # Let's still pretend it is `configure' which instantiates (i.e., don't
15796 # use $as_me), people would be surprised to read:
15797 # /* config.h. Generated by config.status. */
15798 configure_input='Generated from '`
15799 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15801 if test x"$ac_file" != x-; then
15802 configure_input="$ac_file.
$configure_input"
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15804 $as_echo "$as_me: creating
$ac_file" >&6;}
15806 # Neutralize special characters interpreted by sed in replacement strings.
15807 case $configure_input in #(
15808 *\&* | *\|* | *\\* )
15809 ac_sed_conf_input=`$as_echo "$configure_input" |
15810 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15811 *) ac_sed_conf_input=$configure_input;;
15815 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
15816 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
15821 ac_dir=`$as_dirname -- "$ac_file" ||
15822 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15823 X"$ac_file" : 'X\(//\)[^/]' \| \
15824 X"$ac_file" : 'X\(//\)$' \| \
15825 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15826 $as_echo X"$ac_file" |
15827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15831 /^X\(\/\/\)[^/].*/{
15844 as_dir="$ac_dir"; as_fn_mkdir_p
15848 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15850 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15851 # A "..
" for each directory in $ac_dir_suffix.
15852 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15853 case $ac_top_builddir_sub in
15854 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15855 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15858 ac_abs_top_builddir=$ac_pwd
15859 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15860 # for backward compatibility:
15861 ac_top_builddir=$ac_top_build_prefix
15864 .) # We are building in place.
15866 ac_top_srcdir=$ac_top_builddir_sub
15867 ac_abs_top_srcdir=$ac_pwd ;;
15868 [\\/]* | ?:[\\/]* ) # Absolute name.
15869 ac_srcdir=$srcdir$ac_dir_suffix;
15870 ac_top_srcdir=$srcdir
15871 ac_abs_top_srcdir=$srcdir ;;
15872 *) # Relative name.
15873 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15874 ac_top_srcdir=$ac_top_build_prefix$srcdir
15875 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15877 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15887 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15888 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15893 # If the template does not know about datarootdir, expand it.
15894 # FIXME: This hack should be removed a few years after 2.60.
15895 ac_datarootdir_hack=; ac_datarootdir_seen=
15906 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15907 *datarootdir*) ac_datarootdir_seen=yes;;
15908 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15910 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15913 ac_datarootdir_hack='
15914 s&@datadir@&$datadir&g
15915 s&@docdir@&$docdir&g
15916 s&@infodir@&$infodir&g
15917 s&@localedir@&$localedir&g
15918 s&@mandir@&$mandir&g
15919 s&\\\${datarootdir}&$datarootdir&g' ;;
15923 # Neutralize VPATH when `$srcdir' = `.'.
15924 # Shell code in configure.ac might set extrasub.
15925 # FIXME: do we really want to maintain this feature?
15926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15927 ac_sed_extra="$ac_vpsub
15930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15932 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15933 s|@configure_input@|
$ac_sed_conf_input|
;t t
15934 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15935 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15936 s
&@srcdir@
&$ac_srcdir&;t t
15937 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15938 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15939 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15940 s
&@builddir@
&$ac_builddir&;t t
15941 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15942 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15943 s
&@INSTALL@
&$ac_INSTALL&;t t
15944 $ac_datarootdir_hack
15946 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15947 if $ac_cs_awk_getline; then
15948 $AWK -f "$ac_tmp/subs.
awk"
15950 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
15952 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15954 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15955 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15956 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15957 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15959 which seems to be undefined. Please make sure it is defined" >&5
15960 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15961 which seems to be undefined. Please make sure it is defined" >&2;}
15963 rm -f "$ac_tmp/stdin"
15965 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15966 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15968 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15976 case $ac_file$ac_mode in
15977 "Makefile":F) sed "$extrasub_build" Makefile |
15978 sed "$extrasub_host" |
15979 sed "$extrasub_target" > mf$$
15980 mv -f mf$$ Makefile ;;
15988 ac_clean_files=$ac_clean_files_save
15990 test $ac_write_fail = 0 ||
15991 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15994 # configure is writing to config.log, and then calls config.status.
15995 # config.status does its own redirection, appending to config.log.
15996 # Unfortunately, on DOS this fails, as config.log is still kept open
15997 # by configure, so config.status won't be able to
write to it
; its
15998 # output is simply discarded. So we exec the FD to /dev/null,
15999 # effectively closing config.log, so it can be properly (re)opened and
16000 # appended to by config.status. When coming back to configure, we
16001 # need to make the FD available again.
16002 if test "$no_create" != yes; then
16004 ac_config_status_args
=
16005 test "$silent" = yes &&
16006 ac_config_status_args
="$ac_config_status_args --quiet"
16008 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16010 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16011 # would make configure fail if this is the last instruction.
16012 $ac_cs_success || as_fn_exit
1
16014 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16016 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}