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
672 DEBUG_PREFIX_CFLAGS_FOR_TARGET
673 SYSROOT_CFLAGS_FOR_TARGET
675 extra_host_zlib_configure_flags
676 extra_host_libiberty_configure_flags
679 extra_linker_plugin_flags
680 extra_linker_plugin_configure_flags
687 extra_isl_gmp_configure_flags
688 extra_mpc_mpfr_configure_flags
689 extra_mpc_gmp_configure_flags
690 extra_mpfr_configure_flags
706 extra_liboffloadmic_configure_flags
733 TOPLEVEL_CONFIGURE_ARGUMENTS
761 program_transform_name
772 ac_subst_files
='serialization_dependencies
778 enable_option_checking
781 enable_as_accelerator_for
782 enable_offload_targets
785 enable_compressed_debug_sections
787 enable_libquadmath_support
805 with_static_standard_libraries
812 enable_isl_version_check
814 enable_linker_plugin_configure_flags
815 enable_linker_plugin_flags
817 enable_stage1_languages
820 with_target_bdw_gc_include
821 with_target_bdw_gc_lib
822 with_gcc_major_version_only
824 with_debug_prefix_map
827 enable_serial_configure
828 with_build_time_tools
829 enable_maintainer_mode
830 enable_stage1_checking
833 ac_precious_vars
='build_alias
880 # Initialize some variables set by options.
882 ac_init_version
=false
883 ac_unrecognized_opts
=
885 # The variables have the same names as the options, with
886 # dashes changed to underlines.
894 program_transform_name
=s
,x
,x
,
902 # Installation directory options.
903 # These are left unexpanded so users can "make install exec_prefix=/foo"
904 # and all the variables that are supposed to be based on exec_prefix
905 # by default will actually change.
906 # Use braces instead of parens because sh, perl, etc. also accept them.
907 # (The list follows the same order as the GNU Coding Standards.)
908 bindir
='${exec_prefix}/bin'
909 sbindir
='${exec_prefix}/sbin'
910 libexecdir
='${exec_prefix}/libexec'
911 datarootdir
='${prefix}/share'
912 datadir
='${datarootdir}'
913 sysconfdir
='${prefix}/etc'
914 sharedstatedir
='${prefix}/com'
915 localstatedir
='${prefix}/var'
916 includedir
='${prefix}/include'
917 oldincludedir
='/usr/include'
918 docdir
='${datarootdir}/doc/${PACKAGE}'
919 infodir
='${datarootdir}/info'
924 libdir
='${exec_prefix}/lib'
925 localedir
='${datarootdir}/locale'
926 mandir
='${datarootdir}/man'
932 # If the previous option needs an argument, assign it.
933 if test -n "$ac_prev"; then
934 eval $ac_prev=\
$ac_option
940 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
945 # Accept the important Cygnus configure options, so we can diagnose typos.
947 case $ac_dashdash$ac_option in
951 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
953 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
956 -build |
--build |
--buil |
--bui |
--bu)
957 ac_prev
=build_alias
;;
958 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
959 build_alias
=$ac_optarg ;;
961 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
962 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
963 ac_prev
=cache_file
;;
964 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
965 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
966 cache_file
=$ac_optarg ;;
969 cache_file
=config.cache
;;
971 -datadir |
--datadir |
--datadi |
--datad)
973 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
974 datadir
=$ac_optarg ;;
976 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
977 |
--dataroo |
--dataro |
--datar)
978 ac_prev
=datarootdir
;;
979 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
980 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
981 datarootdir
=$ac_optarg ;;
983 -disable-* |
--disable-*)
984 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
985 # Reject names that are not valid shell variable names.
986 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
987 as_fn_error $?
"invalid feature name: $ac_useropt"
988 ac_useropt_orig
=$ac_useropt
989 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
990 case $ac_user_opts in
994 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
995 ac_unrecognized_sep
=', ';;
997 eval enable_
$ac_useropt=no
;;
999 -docdir |
--docdir |
--docdi |
--doc |
--do)
1001 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1002 docdir
=$ac_optarg ;;
1004 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1006 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1007 dvidir
=$ac_optarg ;;
1009 -enable-* |
--enable-*)
1010 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1013 as_fn_error $?
"invalid feature name: $ac_useropt"
1014 ac_useropt_orig
=$ac_useropt
1015 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1016 case $ac_user_opts in
1018 "enable_
$ac_useropt"
1020 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1021 ac_unrecognized_sep
=', ';;
1023 eval enable_
$ac_useropt=\
$ac_optarg ;;
1025 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1026 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1027 |
--exec |
--exe |
--ex)
1028 ac_prev
=exec_prefix
;;
1029 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1030 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1031 |
--exec=* |
--exe=* |
--ex=*)
1032 exec_prefix
=$ac_optarg ;;
1034 -gas |
--gas |
--ga |
--g)
1035 # Obsolete; use --with-gas.
1038 -help |
--help |
--hel |
--he |
-h)
1039 ac_init_help
=long
;;
1040 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1041 ac_init_help
=recursive
;;
1042 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1043 ac_init_help
=short
;;
1045 -host |
--host |
--hos |
--ho)
1046 ac_prev
=host_alias
;;
1047 -host=* |
--host=* |
--hos=* |
--ho=*)
1048 host_alias
=$ac_optarg ;;
1050 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1052 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1054 htmldir
=$ac_optarg ;;
1056 -includedir |
--includedir |
--includedi |
--included |
--include \
1057 |
--includ |
--inclu |
--incl |
--inc)
1058 ac_prev
=includedir
;;
1059 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1060 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1061 includedir
=$ac_optarg ;;
1063 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1065 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1066 infodir
=$ac_optarg ;;
1068 -libdir |
--libdir |
--libdi |
--libd)
1070 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1071 libdir
=$ac_optarg ;;
1073 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1074 |
--libexe |
--libex |
--libe)
1075 ac_prev
=libexecdir
;;
1076 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1077 |
--libexe=* |
--libex=* |
--libe=*)
1078 libexecdir
=$ac_optarg ;;
1080 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1081 ac_prev
=localedir
;;
1082 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1083 localedir
=$ac_optarg ;;
1085 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1086 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1087 ac_prev
=localstatedir
;;
1088 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1089 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1090 localstatedir
=$ac_optarg ;;
1092 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1094 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1095 mandir
=$ac_optarg ;;
1097 -nfp |
--nfp |
--nf)
1098 # Obsolete; use --without-fp.
1101 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1102 |
--no-cr |
--no-c |
-n)
1105 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1106 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1109 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1110 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1111 |
--oldin |
--oldi |
--old |
--ol |
--o)
1112 ac_prev
=oldincludedir
;;
1113 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1114 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1115 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1116 oldincludedir
=$ac_optarg ;;
1118 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1120 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1121 prefix
=$ac_optarg ;;
1123 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1124 |
--program-pre |
--program-pr |
--program-p)
1125 ac_prev
=program_prefix
;;
1126 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1127 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1128 program_prefix
=$ac_optarg ;;
1130 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1131 |
--program-suf |
--program-su |
--program-s)
1132 ac_prev
=program_suffix
;;
1133 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1134 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1135 program_suffix
=$ac_optarg ;;
1137 -program-transform-name |
--program-transform-name \
1138 |
--program-transform-nam |
--program-transform-na \
1139 |
--program-transform-n |
--program-transform- \
1140 |
--program-transform |
--program-transfor \
1141 |
--program-transfo |
--program-transf \
1142 |
--program-trans |
--program-tran \
1143 |
--progr-tra |
--program-tr |
--program-t)
1144 ac_prev
=program_transform_name
;;
1145 -program-transform-name=* |
--program-transform-name=* \
1146 |
--program-transform-nam=* |
--program-transform-na=* \
1147 |
--program-transform-n=* |
--program-transform-=* \
1148 |
--program-transform=* |
--program-transfor=* \
1149 |
--program-transfo=* |
--program-transf=* \
1150 |
--program-trans=* |
--program-tran=* \
1151 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1152 program_transform_name
=$ac_optarg ;;
1154 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1156 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1157 pdfdir
=$ac_optarg ;;
1159 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1161 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1164 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1165 |
-silent |
--silent |
--silen |
--sile |
--sil)
1168 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1170 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1172 sbindir
=$ac_optarg ;;
1174 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1175 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1176 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1178 ac_prev
=sharedstatedir
;;
1179 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1180 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1181 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1183 sharedstatedir
=$ac_optarg ;;
1185 -site |
--site |
--sit)
1187 -site=* |
--site=* |
--sit=*)
1190 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1192 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1193 srcdir
=$ac_optarg ;;
1195 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1196 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1197 ac_prev
=sysconfdir
;;
1198 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1199 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1200 sysconfdir
=$ac_optarg ;;
1202 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1203 ac_prev
=target_alias
;;
1204 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1205 target_alias
=$ac_optarg ;;
1207 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1210 -version |
--version |
--versio |
--versi |
--vers |
-V)
1211 ac_init_version
=: ;;
1214 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1215 # Reject names that are not valid shell variable names.
1216 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1217 as_fn_error $?
"invalid package name: $ac_useropt"
1218 ac_useropt_orig
=$ac_useropt
1219 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220 case $ac_user_opts in
1224 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1225 ac_unrecognized_sep
=', ';;
1227 eval with_
$ac_useropt=\
$ac_optarg ;;
1229 -without-* |
--without-*)
1230 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1233 as_fn_error $?
"invalid package name: $ac_useropt"
1234 ac_useropt_orig
=$ac_useropt
1235 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1240 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1241 ac_unrecognized_sep
=', ';;
1243 eval with_
$ac_useropt=no
;;
1246 # Obsolete; use --with-x.
1249 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1250 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1251 ac_prev
=x_includes
;;
1252 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1253 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1254 x_includes
=$ac_optarg ;;
1256 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1257 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1258 ac_prev
=x_libraries
;;
1259 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1260 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1261 x_libraries
=$ac_optarg ;;
1263 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1264 Try \`$0 --help' for more information"
1268 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1269 # Reject names that are not valid shell variable names.
1270 case $ac_envvar in #(
1271 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1272 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1274 eval $ac_envvar=\
$ac_optarg
1275 export $ac_envvar ;;
1278 # FIXME: should be removed in autoconf 3.0.
1279 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1280 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1281 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1282 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1288 if test -n "$ac_prev"; then
1289 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1290 as_fn_error $?
"missing argument to $ac_option"
1293 if test -n "$ac_unrecognized_opts"; then
1294 case $enable_option_checking in
1296 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1297 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1301 # Check all directory arguments for consistency.
1302 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1303 datadir sysconfdir sharedstatedir localstatedir includedir \
1304 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1305 libdir localedir mandir
1307 eval ac_val
=\$
$ac_var
1308 # Remove trailing slashes.
1311 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1312 eval $ac_var=\
$ac_val;;
1314 # Be sure to have absolute directory names.
1316 [\\/$
]* | ?
:[\\/]* ) continue;;
1317 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1319 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1322 # There might be people who depend on the old broken behavior: `$host'
1323 # used to hold the argument of --host etc.
1324 # FIXME: To remove some day.
1327 target
=$target_alias
1329 # FIXME: To remove some day.
1330 if test "x$host_alias" != x
; then
1331 if test "x$build_alias" = x
; then
1332 cross_compiling
=maybe
1333 elif test "x$build_alias" != "x$host_alias"; then
1339 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1341 test "$silent" = yes && exec 6>/dev
/null
1344 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1345 ac_ls_di
=`ls -di .` &&
1346 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1347 as_fn_error $?
"working directory cannot be determined"
1348 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1349 as_fn_error $?
"pwd does not report name of working directory"
1352 # Find the source files, if location was not specified.
1353 if test -z "$srcdir"; then
1354 ac_srcdir_defaulted
=yes
1355 # Try the directory containing this script, then the parent directory.
1356 ac_confdir
=`$as_dirname -- "$as_myself" ||
1357 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1358 X"$as_myself" : 'X\(//\)[^/]' \| \
1359 X"$as_myself" : 'X\(//\)$' \| \
1360 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1361 $as_echo X"$as_myself" |
1362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1380 if test ! -r "$srcdir/$ac_unique_file"; then
1384 ac_srcdir_defaulted
=no
1386 if test ! -r "$srcdir/$ac_unique_file"; then
1387 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1388 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1390 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1392 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1394 # When building in place, set srcdir=.
1395 if test "$ac_abs_confdir" = "$ac_pwd"; then
1398 # Remove unnecessary trailing slashes from srcdir.
1399 # Double slashes in file names in object file debugging info
1400 # mess up M-x gdb in Emacs.
1402 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1406 as_fn_error $?
"path to source, $srcdir, contains spaces"
1409 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1411 for ac_var
in $ac_precious_vars; do
1412 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1413 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1414 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1415 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1419 # Report the --help message.
1421 if test "$ac_init_help" = "long"; then
1422 # Omit some internal or obsolete options to make the list less imposing.
1423 # This message is too long to be a string in the A/UX 3.1 sh.
1425 \`configure' configures this package to adapt to many kinds of systems.
1427 Usage: $0 [OPTION]... [VAR=VALUE]...
1429 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1430 VAR=VALUE. See below for descriptions of some of the useful variables.
1432 Defaults for the options are specified in brackets.
1435 -h, --help display this help and exit
1436 --help=short display options specific to this package
1437 --help=recursive display the short help of all the included packages
1438 -V, --version display version information and exit
1439 -q, --quiet, --silent do not print \`checking ...' messages
1440 --cache-file=FILE cache test results in FILE [disabled]
1441 -C, --config-cache alias for \`--cache-file=config.cache'
1442 -n, --no-create do not create output files
1443 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1445 Installation directories:
1446 --prefix=PREFIX install architecture-independent files in PREFIX
1447 [$ac_default_prefix]
1448 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 By default, \`make install' will install all the files in
1452 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1453 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1454 for instance \`--prefix=\$HOME'.
1456 For better control, use the options below.
1458 Fine tuning of the installation directories:
1459 --bindir=DIR user executables [EPREFIX/bin]
1460 --sbindir=DIR system admin executables [EPREFIX/sbin]
1461 --libexecdir=DIR program executables [EPREFIX/libexec]
1462 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1463 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1464 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1465 --libdir=DIR object code libraries [EPREFIX/lib]
1466 --includedir=DIR C header files [PREFIX/include]
1467 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1468 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1469 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1470 --infodir=DIR info documentation [DATAROOTDIR/info]
1471 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1472 --mandir=DIR man documentation [DATAROOTDIR/man]
1473 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1474 --htmldir=DIR html documentation [DOCDIR]
1475 --dvidir=DIR dvi documentation [DOCDIR]
1476 --pdfdir=DIR pdf documentation [DOCDIR]
1477 --psdir=DIR ps documentation [DOCDIR]
1483 --program-prefix=PREFIX prepend PREFIX to installed program names
1484 --program-suffix=SUFFIX append SUFFIX to installed program names
1485 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1488 --build=BUILD configure
for building on BUILD
[guessed
]
1489 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1490 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1494 if test -n "$ac_init_help"; then
1499 --disable-option-checking ignore unrecognized
--enable/--with options
1500 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1501 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1502 --enable-as-accelerator-for=ARG
1503 build as offload target compiler. Specify offload
1505 --enable-offload-targets=LIST
1506 enable offloading to devices from comma-separated
1507 LIST of TARGET
[=DIR
]. Use optional path to
find
1508 offload target compiler during the build
1509 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1510 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1511 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1512 Enable compressed debug sections
for gas
, gold or ld
1514 --disable-libquadmath do not build libquadmath directory
1515 --disable-libquadmath-support
1516 disable libquadmath support
for Fortran
1517 --enable-libada build libada directory
1518 --enable-libssp build libssp directory
1519 --disable-libstdcxx do not build libstdc
++-v3 directory
1520 --enable-liboffloadmic=ARG
1521 build liboffloadmic
[ARG
={no
,host,target
}]
1522 --enable-bootstrap enable bootstrapping
[yes if native build
]
1523 --disable-isl-version-check
1524 disable check
for isl version
1525 --enable-lto enable link
time optimization support
1526 --enable-linker-plugin-configure-flags=FLAGS
1527 additional flags
for configuring linker plugins
1529 --enable-linker-plugin-flags=FLAGS
1530 additional flags
for configuring and building linker
1532 --enable-host-shared build
host code as shared libraries
1533 --enable-stage1-languages[=all
]
1534 choose additional languages to build during stage1.
1535 Mostly useful
for compiler development
1536 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1538 --enable-vtable-verify Enable vtable verification feature
1539 --enable-serial-[{host,target,build}-]configure
1540 force sequential configuration of sub-packages for
1541 the host, target or build machine, or all
1543 --enable-maintainer-mode
1544 enable make rules and dependencies not useful (and
1545 sometimes confusing) to the casual installer
1546 --enable-stage1-checking[=all]
1547 choose additional checking for stage1 of the
1549 --enable-werror enable -Werror in bootstrap stage2 and later
1552 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1553 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1554 --with-build-libsubdir=DIR Directory where to find libraries for build system
1555 --with-system-zlib use installed libz
1556 --with-mpc=PATH specify prefix directory for installed MPC package.
1557 Equivalent to --with-mpc-include=PATH/include plus
1558 --with-mpc-lib=PATH/lib
1559 --with-mpc-include=PATH specify directory for installed MPC include files
1560 --with-mpc-lib=PATH specify directory for the installed MPC library
1561 --with-mpfr-dir=PATH this option has been REMOVED
1562 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1563 Equivalent to --with-mpfr-include=PATH/include plus
1564 --with-mpfr-lib=PATH/lib
1565 --with-mpfr-include=PATH
1566 specify directory for installed MPFR include files
1567 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1568 --with-gmp-dir=PATH this option has been REMOVED
1569 --with-gmp=PATH specify prefix directory for the installed GMP
1570 package. Equivalent to
1571 --with-gmp-include=PATH/include plus
1572 --with-gmp-lib=PATH/lib
1573 --with-gmp-include=PATH specify directory for installed GMP include files
1574 --with-gmp-lib=PATH specify directory for the installed GMP library
1575 --with-stage1-libs=LIBS libraries for stage1
1576 --with-static-standard-libraries
1577 use -static-libstdc++ and -static-libgcc
1579 --with-stage1-ldflags=FLAGS
1580 linker flags for stage1
1581 --with-boot-libs=LIBS libraries for stage2 and later
1582 --with-boot-ldflags=FLAGS
1583 linker flags for stage2 and later
1584 --with-isl=PATH Specify prefix directory for the installed isl
1585 package. Equivalent to
1586 --with-isl-include=PATH/include plus
1587 --with-isl-lib=PATH/lib
1588 --with-isl-include=PATH Specify directory for installed isl include files
1589 --with-isl-lib=PATH Specify the directory for the installed isl library
1590 --with-target-bdw-gc=PATHLIST
1591 specify prefix directory for installed bdw-gc
1592 package. Equivalent to
1593 --with-target-bdw-gc-include=PATH/include plus
1594 --with-target-bdw-gc-lib=PATH/lib
1595 --with-target-bdw-gc-include=PATHLIST
1596 specify directories for installed bdw-gc include
1598 --with-target-bdw-gc-lib=PATHLIST
1599 specify directories for installed bdw-gc library
1600 --with-gcc-major-version-only
1601 use only GCC major number in filesystem paths
1602 --with-build-sysroot=SYSROOT
1603 use sysroot as the system root during the build
1604 --with-debug-prefix-map='A
=B C
=D ...
'
1605 map A to B, C to D ... in debug information
1606 --with-build-config='NAME NAME2...
'
1607 use config/NAME.mk build configuration
1608 --with-build-time-tools=PATH
1609 use given path to find target tools during the build
1611 Some influential environment variables:
1612 CC C compiler command
1613 CFLAGS C compiler flags
1614 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1615 nonstandard directory <lib dir>
1616 LIBS libraries to pass to the linker, e.g. -l<library>
1617 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1618 you have headers in a nonstandard directory <include dir>
1619 CXX C++ compiler command
1620 CXXFLAGS C++ compiler flags
1622 additional configure arguments for build directories
1624 additional configure arguments for host directories
1626 additional configure arguments for target directories
1629 DLLTOOL DLLTOOL for the host
1631 LIPO LIPO for the host
1633 RANLIB RANLIB for the host
1634 STRIP STRIP for the host
1635 WINDRES WINDRES for the host
1636 WINDMC WINDMC for the host
1637 OBJCOPY OBJCOPY for the host
1638 OBJDUMP OBJDUMP for the host
1639 READELF READELF for the host
1647 GFORTRAN for the target
1655 DLLTOOL for the target
1663 OBJCOPY for the target
1665 OBJDUMP for the target
1667 RANLIB for the target
1669 READELF for the target
1671 STRIP for the target
1673 WINDRES for the target
1675 WINDMC for the target
1677 Use these variables to override the choices made by `configure' or to
help
1678 it to
find libraries and programs with nonstandard names
/locations.
1680 Report bugs to the package provider.
1685 if test "$ac_init_help" = "recursive"; then
1686 # If there are subdirs, report their specific --help.
1687 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1688 test -d "$ac_dir" ||
1689 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1694 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1696 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1697 # A ".." for each directory in $ac_dir_suffix.
1698 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1699 case $ac_top_builddir_sub in
1700 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1701 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1704 ac_abs_top_builddir
=$ac_pwd
1705 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1706 # for backward compatibility:
1707 ac_top_builddir
=$ac_top_build_prefix
1710 .
) # We are building in place.
1712 ac_top_srcdir
=$ac_top_builddir_sub
1713 ac_abs_top_srcdir
=$ac_pwd ;;
1714 [\\/]* | ?
:[\\/]* ) # Absolute name.
1715 ac_srcdir
=$srcdir$ac_dir_suffix;
1716 ac_top_srcdir
=$srcdir
1717 ac_abs_top_srcdir
=$srcdir ;;
1719 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1720 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1721 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1723 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1725 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1726 # Check for guested configure.
1727 if test -f "$ac_srcdir/configure.gnu"; then
1729 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1730 elif test -f "$ac_srcdir/configure"; then
1732 $SHELL "$ac_srcdir/configure" --help=recursive
1734 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1736 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1740 test -n "$ac_init_help" && exit $ac_status
1741 if $ac_init_version; then
1744 generated by GNU Autoconf
2.69
1746 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1747 This configure
script is free software
; the Free Software Foundation
1748 gives unlimited permission to copy
, distribute and modify it.
1753 ## ------------------------ ##
1754 ## Autoconf initialization. ##
1755 ## ------------------------ ##
1757 # ac_fn_c_try_compile LINENO
1758 # --------------------------
1759 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1760 ac_fn_c_try_compile
()
1762 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1763 rm -f conftest.
$ac_objext
1764 if { { ac_try
="$ac_compile"
1766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1767 *) ac_try_echo=$ac_try;;
1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_compile") 2>conftest.err
1773 if test -s conftest.err; then
1774 grep -v '^ *+' conftest.err >conftest.er1
1775 cat conftest.er1 >&5
1776 mv -f conftest.er1 conftest.err
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } && {
1780 test -z "$ac_c_werror_flag" ||
1781 test ! -s conftest.err
1782 } && test -s conftest.$ac_objext; then :
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 as_fn_set_status $ac_retval
1793 } # ac_fn_c_try_compile
1795 # ac_fn_cxx_try_compile LINENO
1796 # ----------------------------
1797 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1798 ac_fn_cxx_try_compile ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 rm -f conftest.$ac_objext
1802 if { { ac_try="$ac_compile"
1804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1805 *) ac_try_echo
=$ac_try;;
1807 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_compile") 2>conftest.err
1811 if test -s conftest.err
; then
1812 grep -v '^ *+' conftest.err
>conftest.er1
1813 cat conftest.er1
>&5
1814 mv -f conftest.er1 conftest.err
1816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817 test $ac_status = 0; } && {
1818 test -z "$ac_cxx_werror_flag" ||
1819 test ! -s conftest.err
1820 } && test -s conftest.
$ac_objext; then :
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.
$ac_ext >&5
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829 as_fn_set_status
$ac_retval
1831 } # ac_fn_cxx_try_compile
1833 # ac_fn_cxx_try_link LINENO
1834 # -------------------------
1835 # Try to link conftest.$ac_ext, and return whether this succeeded.
1836 ac_fn_cxx_try_link
()
1838 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1839 rm -f conftest.
$ac_objext conftest
$ac_exeext
1840 if { { ac_try
="$ac_link"
1842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_link") 2>conftest.err
1849 if test -s conftest.err; then
1850 grep -v '^ *+' conftest.err >conftest.er1
1851 cat conftest.er1 >&5
1852 mv -f conftest.er1 conftest.err
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } && {
1856 test -z "$ac_cxx_werror_flag" ||
1857 test ! -s conftest.err
1858 } && test -s conftest$ac_exeext && {
1859 test "$cross_compiling" = yes ||
1860 test -x conftest$ac_exeext
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1869 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1870 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1871 # interfere with the next link command; also delete a directory that is
1872 # left behind by Apple's compiler. We do this before executing the actions.
1873 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 as_fn_set_status $ac_retval
1877 } # ac_fn_cxx_try_link
1879 # ac_fn_c_try_link LINENO
1880 # -----------------------
1881 # Try to link conftest.$ac_ext, and return whether this succeeded.
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 rm -f conftest.$ac_objext conftest$ac_exeext
1886 if { { ac_try="$ac_link"
1888 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1889 *) ac_try_echo
=$ac_try;;
1891 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_link") 2>conftest.err
1895 if test -s conftest.err
; then
1896 grep -v '^ *+' conftest.err
>conftest.er1
1897 cat conftest.er1
>&5
1898 mv -f conftest.er1 conftest.err
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; } && {
1902 test -z "$ac_c_werror_flag" ||
1903 test ! -s conftest.err
1904 } && test -s conftest
$ac_exeext && {
1905 test "$cross_compiling" = yes ||
1906 test -x conftest
$ac_exeext
1910 $as_echo "$as_me: failed program was:" >&5
1911 sed 's/^/| /' conftest.
$ac_ext >&5
1915 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1916 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1917 # interfere with the next link command; also delete a directory that is
1918 # left behind by Apple's compiler. We do this before executing the actions.
1919 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1921 as_fn_set_status
$ac_retval
1923 } # ac_fn_c_try_link
1924 cat >config.log
<<_ACEOF
1925 This file contains any messages produced by compilers while
1926 running configure, to aid debugging if configure makes a mistake.
1928 It was created by $as_me, which was
1929 generated by GNU Autoconf 2.69. Invocation command line was
1941 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1942 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1943 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1944 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1945 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1947 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1948 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1950 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1951 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1952 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1953 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1954 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1955 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1956 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1964 test -z "$as_dir" && as_dir
=.
1965 $as_echo "PATH: $as_dir"
1981 # Keep a trace of the command line.
1982 # Strip out --no-create and --no-recursion so they do not pile up.
1983 # Strip out --silent because we don't want to record it for future runs.
1984 # Also quote any args containing shell meta-characters.
1985 # Make two passes to allow for proper duplicate-argument suppression.
1989 ac_must_keep_next
=false
1995 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1996 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1997 |
-silent |
--silent |
--silen |
--sile |
--sil)
2000 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2003 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2005 as_fn_append ac_configure_args1
" '$ac_arg'"
2006 if test $ac_must_keep_next = true
; then
2007 ac_must_keep_next
=false
# Got value, back to normal.
2010 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2011 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2012 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2013 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2014 case "$ac_configure_args0 " in
2015 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2018 -* ) ac_must_keep_next
=true
;;
2021 as_fn_append ac_configure_args
" '$ac_arg'"
2026 { ac_configure_args0
=; unset ac_configure_args0
;}
2027 { ac_configure_args1
=; unset ac_configure_args1
;}
2029 # When interrupted or exit'd, cleanup temporary files, and complete
2030 # config.log. We remove comments because anyway the quotes in there
2031 # would cause problems or look ugly.
2032 # WARNING: Use '\'' to represent an apostrophe within the trap.
2033 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2034 trap 'exit_status=$?
2035 # Save into config.log some information that might help in debugging.
2039 $as_echo "## ---------------- ##
2040 ## Cache variables. ##
2041 ## ---------------- ##"
2043 # The following way of writing the cache mishandles newlines in values,
2045 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2046 eval ac_val=\$$ac_var
2050 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2051 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2054 _ | IFS | as_nl) ;; #(
2055 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2056 *) { eval $ac_var=; unset $ac_var;} ;;
2061 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2062 *${as_nl}ac_space=\ *)
2064 "s/'\''/'\''\\\\'\'''\''/g;
2065 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2068 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2075 $as_echo "## ----------------- ##
2076 ## Output variables. ##
2077 ## ----------------- ##"
2079 for ac_var in $ac_subst_vars
2081 eval ac_val=\$$ac_var
2083 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2085 $as_echo "$ac_var='\''$ac_val'\''"
2089 if test -n "$ac_subst_files"; then
2090 $as_echo "## ------------------- ##
2091 ## File substitutions. ##
2092 ## ------------------- ##"
2094 for ac_var
in $ac_subst_files
2096 eval ac_val
=\$
$ac_var
2098 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2100 $as_echo "$ac_var='\''$ac_val'\''"
2105 if test -s confdefs.h; then
2106 $as_echo "## ----------- ##
2113 test "$ac_signal" != 0 &&
2114 $as_echo "$as_me: caught signal $ac_signal"
2115 $as_echo "$as_me: exit $exit_status"
2117 rm -f core *.core core.conftest.* &&
2118 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2121 for ac_signal
in 1 2 13 15; do
2122 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2126 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2127 rm -f -r conftest
* confdefs.h
2129 $as_echo "/* confdefs.h */" > confdefs.h
2131 # Predefined preprocessor variables.
2133 cat >>confdefs.h
<<_ACEOF
2134 #define PACKAGE_NAME "$PACKAGE_NAME"
2137 cat >>confdefs.h
<<_ACEOF
2138 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2141 cat >>confdefs.h
<<_ACEOF
2142 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2145 cat >>confdefs.h
<<_ACEOF
2146 #define PACKAGE_STRING "$PACKAGE_STRING"
2149 cat >>confdefs.h
<<_ACEOF
2150 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2153 cat >>confdefs.h
<<_ACEOF
2154 #define PACKAGE_URL "$PACKAGE_URL"
2158 # Let the site file select an alternate cache file if it wants to.
2159 # Prefer an explicitly selected file to automatically selected ones.
2162 if test -n "$CONFIG_SITE"; then
2163 # We do not want a PATH search for config.site.
2164 case $CONFIG_SITE in #((
2165 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2166 */*) ac_site_file1
=$CONFIG_SITE;;
2167 *) ac_site_file1
=.
/$CONFIG_SITE;;
2169 elif test "x$prefix" != xNONE
; then
2170 ac_site_file1
=$prefix/share
/config.site
2171 ac_site_file2
=$prefix/etc
/config.site
2173 ac_site_file1
=$ac_default_prefix/share
/config.site
2174 ac_site_file2
=$ac_default_prefix/etc
/config.site
2176 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2178 test "x$ac_site_file" = xNONE
&& continue
2179 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2181 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2182 sed 's/^/| /' "$ac_site_file" >&5
2184 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2186 as_fn_error $?
"failed to load site script $ac_site_file
2187 See \`config.log' for more details" "$LINENO" 5; }
2191 if test -r "$cache_file"; then
2192 # Some versions of bash will fail to source /dev/null (special files
2193 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2194 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2196 $as_echo "$as_me: loading cache $cache_file" >&6;}
2198 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2199 *) .
"./$cache_file";;
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2204 $as_echo "$as_me: creating cache $cache_file" >&6;}
2208 # Check that the precious variables saved in the cache have kept the same
2210 ac_cache_corrupted
=false
2211 for ac_var
in $ac_precious_vars; do
2212 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2213 eval ac_new_set
=\
$ac_env_${ac_var}_set
2214 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2215 eval ac_new_val
=\
$ac_env_${ac_var}_value
2216 case $ac_old_set,$ac_new_set in
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2219 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2220 ac_cache_corrupted
=: ;;
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2223 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2224 ac_cache_corrupted
=: ;;
2227 if test "x$ac_old_val" != "x$ac_new_val"; then
2228 # differences in whitespace do not lead to failure.
2229 ac_old_val_w
=`echo x $ac_old_val`
2230 ac_new_val_w
=`echo x $ac_new_val`
2231 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2233 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2234 ac_cache_corrupted
=:
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2237 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2238 eval $ac_var=\
$ac_old_val
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2241 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2243 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2246 # Pass precious variables to config.status.
2247 if test "$ac_new_set" = set; then
2249 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2250 *) ac_arg
=$ac_var=$ac_new_val ;;
2252 case " $ac_configure_args " in
2253 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2254 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2258 if $ac_cache_corrupted; then
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2262 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2263 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2265 ## -------------------- ##
2266 ## Main body of script. ##
2267 ## -------------------- ##
2270 ac_cpp
='$CPP $CPPFLAGS'
2271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2283 # if PWD already has a value, it is probably wrong.
2284 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2286 # Export original configure arguments for use by sub-configures.
2287 # Quote arguments with shell meta charatcers.
2288 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2289 set -- "$progname" "$@"
2293 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2294 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2295 # if the argument is of the form -foo=baz, quote the baz part only
2296 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2299 # Add the quoted argument to the list.
2300 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2302 if test "$silent" = yes; then
2303 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2305 # Remove the initial space we just introduced and, as these will be
2306 # expanded by make, quote '$'.
2307 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2310 # Find the build, host, and target systems.
2312 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2313 if test -f "$ac_dir/install-sh"; then
2315 ac_install_sh
="$ac_aux_dir/install-sh -c"
2317 elif test -f "$ac_dir/install.sh"; then
2319 ac_install_sh
="$ac_aux_dir/install.sh -c"
2321 elif test -f "$ac_dir/shtool"; then
2323 ac_install_sh
="$ac_aux_dir/shtool install -c"
2327 if test -z "$ac_aux_dir"; then
2328 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2331 # These three variables are undocumented and unsupported,
2332 # and are intended to be withdrawn in a future Autoconf release.
2333 # They can cause serious problems if a builder's source tree is in a directory
2334 # whose full name contains unusual characters.
2335 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2336 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2337 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2340 # Make sure we can run config.sub.
2341 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2342 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2345 $as_echo_n "checking build system type... " >&6; }
2346 if ${ac_cv_build+:} false
; then :
2347 $as_echo_n "(cached) " >&6
2349 ac_build_alias
=$build_alias
2350 test "x$ac_build_alias" = x
&&
2351 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2352 test "x$ac_build_alias" = x
&&
2353 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2354 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2355 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2359 $as_echo "$ac_cv_build" >&6; }
2360 case $ac_cv_build in
2362 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2365 ac_save_IFS
=$IFS; IFS
='-'
2371 # Remember, the first character of IFS is used to create $*,
2372 # except with old shells:
2375 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2378 case ${build_alias} in
2379 "") build_noncanonical
=${build} ;;
2380 *) build_noncanonical
=${build_alias} ;;
2385 case ${host_alias} in
2386 "") host_noncanonical
=${build_noncanonical} ;;
2387 *) host_noncanonical
=${host_alias} ;;
2392 case ${target_alias} in
2393 "") target_noncanonical
=${host_noncanonical} ;;
2394 *) target_noncanonical
=${target_alias} ;;
2400 test "$host_noncanonical" = "$target_noncanonical" &&
2401 test "$program_prefix$program_suffix$program_transform_name" = \
2403 program_transform_name
=s
,y
,y
,
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2406 $as_echo_n "checking host system type... " >&6; }
2407 if ${ac_cv_host+:} false
; then :
2408 $as_echo_n "(cached) " >&6
2410 if test "x$host_alias" = x
; then
2411 ac_cv_host
=$ac_cv_build
2413 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2414 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2419 $as_echo "$ac_cv_host" >&6; }
2422 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2425 ac_save_IFS
=$IFS; IFS
='-'
2431 # Remember, the first character of IFS is used to create $*,
2432 # except with old shells:
2435 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2439 $as_echo_n "checking target system type... " >&6; }
2440 if ${ac_cv_target+:} false
; then :
2441 $as_echo_n "(cached) " >&6
2443 if test "x$target_alias" = x
; then
2444 ac_cv_target
=$ac_cv_host
2446 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2447 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2452 $as_echo "$ac_cv_target" >&6; }
2453 case $ac_cv_target in
2455 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2457 target
=$ac_cv_target
2458 ac_save_IFS
=$IFS; IFS
='-'
2464 # Remember, the first character of IFS is used to create $*,
2465 # except with old shells:
2468 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2471 # The aliases save the names the user supplied, while $host etc.
2472 # will get canonicalized.
2473 test -n "$target_alias" &&
2474 test "$program_prefix$program_suffix$program_transform_name" = \
2476 program_prefix
=${target_alias}-
2478 test "$program_prefix" != NONE
&&
2479 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2480 # Use a double $ so make ignores it.
2481 test "$program_suffix" != NONE
&&
2482 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2483 # Double any \ or $.
2484 # By default was `s,x,x', remove it if useless.
2485 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2486 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2490 # Get 'install' or 'install-sh' and its variants.
2491 # Find a good install program. We prefer a C program (faster),
2492 # so one script is as good as another. But avoid the broken or
2493 # incompatible versions:
2494 # SysV /etc/install, /usr/sbin/install
2495 # SunOS /usr/etc/install
2496 # IRIX /sbin/install
2498 # AmigaOS /C/install, which installs bootblocks on floppy discs
2499 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2500 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2501 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2502 # OS/2's system install, which has a completely different semantic
2503 # ./install, which can be erroneously created by make from ./install.sh.
2504 # Reject install programs that cannot install multiple files.
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2506 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2507 if test -z "$INSTALL"; then
2508 if ${ac_cv_path_install+:} false
; then :
2509 $as_echo_n "(cached) " >&6
2511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2515 test -z "$as_dir" && as_dir
=.
2516 # Account for people who put trailing slashes in PATH elements.
2517 case $as_dir/ in #((
2518 .
/ | .
// |
/[cC
]/* | \
2519 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2520 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2523 # OSF1 and SCO ODT 3.0 have their own names for install.
2524 # Don't use installbsd from OSF since it installs stuff as root
2526 for ac_prog
in ginstall scoinst
install; do
2527 for ac_exec_ext
in '' $ac_executable_extensions; do
2528 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2529 if test $ac_prog = install &&
2530 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2531 # AIX install. It has an incompatible calling convention.
2533 elif test $ac_prog = install &&
2534 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2535 # program-specific install script used by HP pwplus--don't use.
2538 rm -rf conftest.one conftest.two conftest.dir
2539 echo one
> conftest.one
2540 echo two
> conftest.two
2542 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2543 test -s conftest.one
&& test -s conftest.two
&&
2544 test -s conftest.dir
/conftest.one
&&
2545 test -s conftest.dir
/conftest.two
2547 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2560 rm -rf conftest.one conftest.two conftest.dir
2563 if test "${ac_cv_path_install+set}" = set; then
2564 INSTALL
=$ac_cv_path_install
2566 # As a last resort, use the slow shell script. Don't cache a
2567 # value for INSTALL within a source directory, because that will
2568 # break other packages using the cache if that directory is
2569 # removed, or if the value is a relative name.
2570 INSTALL
=$ac_install_sh
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2574 $as_echo "$INSTALL" >&6; }
2576 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2577 # It thinks the first close brace ends the variable substitution.
2578 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2580 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2582 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2585 $as_echo_n "checking whether ln works... " >&6; }
2586 if ${acx_cv_prog_LN+:} false
; then :
2587 $as_echo_n "(cached) " >&6
2589 rm -f conftestdata_t
2590 echo >conftestdata_f
2591 if ln conftestdata_f conftestdata_t
2>/dev
/null
2597 rm -f conftestdata_f conftestdata_t
2600 if test $acx_cv_prog_LN = no
; then
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2603 $as_echo "no, using $LN" >&6; }
2605 LN
="$acx_cv_prog_LN"
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2607 $as_echo "yes" >&6; }
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2611 $as_echo_n "checking whether ln -s works... " >&6; }
2613 if test "$LN_S" = "ln -s"; then
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2615 $as_echo "yes" >&6; }
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2618 $as_echo "no, using $LN_S" >&6; }
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2622 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2623 if ${ac_cv_path_SED+:} false
; then :
2624 $as_echo_n "(cached) " >&6
2626 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2627 for ac_i
in 1 2 3 4 5 6 7; do
2628 ac_script
="$ac_script$as_nl$ac_script"
2630 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2631 { ac_script
=; unset ac_script
;}
2632 if test -z "$SED"; then
2633 ac_path_SED_found
=false
2634 # Loop through the user's path and test for each of PROGNAME-LIST
2635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir
=.
2640 for ac_prog
in sed gsed
; do
2641 for ac_exec_ext
in '' $ac_executable_extensions; do
2642 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2643 as_fn_executable_p
"$ac_path_SED" ||
continue
2644 # Check for GNU ac_path_SED and select it if it is found.
2645 # Check for GNU $ac_path_SED
2646 case `"$ac_path_SED" --version 2>&1` in
2648 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2651 $as_echo_n 0123456789 >"conftest.in"
2654 cat "conftest.in" "conftest.in" >"conftest.tmp"
2655 mv "conftest.tmp" "conftest.in"
2656 cp "conftest.in" "conftest.nl"
2657 $as_echo '' >> "conftest.nl"
2658 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2659 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2660 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2661 if test $ac_count -gt ${ac_path_SED_max-0}; then
2662 # Best one so far, save it but keep looking for a better one
2663 ac_cv_path_SED
="$ac_path_SED"
2664 ac_path_SED_max
=$ac_count
2666 # 10*(2^10) chars as input seems more than enough
2667 test $ac_count -gt 10 && break
2669 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2672 $ac_path_SED_found && break 3
2677 if test -z "$ac_cv_path_SED"; then
2678 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2686 $as_echo "$ac_cv_path_SED" >&6; }
2687 SED
="$ac_cv_path_SED"
2690 for ac_prog
in gawk mawk nawk
awk
2692 # Extract the first word of "$ac_prog", so it can be a program name with args.
2693 set dummy
$ac_prog; ac_word
=$2
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695 $as_echo_n "checking for $ac_word... " >&6; }
2696 if ${ac_cv_prog_AWK+:} false
; then :
2697 $as_echo_n "(cached) " >&6
2699 if test -n "$AWK"; then
2700 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2706 test -z "$as_dir" && as_dir
=.
2707 for ac_exec_ext
in '' $ac_executable_extensions; do
2708 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2709 ac_cv_prog_AWK
="$ac_prog"
2710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 if test -n "$AWK"; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2722 $as_echo "$AWK" >&6; }
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725 $as_echo "no" >&6; }
2729 test -n "$AWK" && break
2733 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2735 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2737 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2738 INSTALL
="${srcpwd}/install-sh -c"
2741 # Set srcdir to "." if that's what it is.
2742 # This is important for multilib support.
2744 if test "${pwd}" = "${srcpwd}" ; then
2752 ### To add a new directory to the tree, first choose whether it is a target
2753 ### or a host dependent tool. Then put it into the appropriate list
2754 ### (library or tools, host or target), doing a dependency sort.
2756 # Subdirs will be configured in the order listed in build_configdirs,
2757 # configdirs, or target_configdirs; see the serialization section below.
2759 # Dependency sorting is only needed when *configuration* must be done in
2760 # a particular order. In all cases a dependency should be specified in
2761 # the Makefile, whether or not it's implicitly specified here.
2763 # Double entries in build_configdirs, configdirs, or target_configdirs may
2764 # cause circular dependencies and break everything horribly.
2766 # these library is used by various programs built for the build
2769 build_libs
="build-libiberty build-libcpp"
2771 # these tools are built for the build environment
2772 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2774 # these libraries are used by various programs built for the host environment
2776 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
2778 # these tools are built for the host environment
2779 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2780 # know that we are building the simulator.
2781 # binutils, gas and ld appear in that order because it makes sense to run
2782 # "make check" in that particular order.
2783 # If --enable-gold is used, "gold" may replace "ld".
2784 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"
2786 # these libraries are built for the target environment, and are built after
2787 # the host libraries and the host tools (which may be a cross compiler)
2788 # Note that libiberty is not a target library.
2789 target_libraries
="target-libgcc \
2790 target-libbacktrace \
2794 target-liboffloadmic \
2795 target-libhsail-rt \
2798 target-libstdc++-v3 \
2799 target-libsanitizer \
2802 target-libquadmath \
2803 target-libgfortran \
2809 # these tools are built using the target libraries, and are intended to
2810 # run only in the target environment
2812 # note: any program that *uses* libraries that are in the "target_libraries"
2813 # list belongs in this list.
2815 target_tools
="target-rda"
2817 ################################################################################
2819 ## All tools belong in one of the four categories, and are assigned above
2820 ## We assign ${configdirs} this way to remove all embedded newlines. This
2821 ## is important because configure will choke if they ever get through.
2822 ## ${configdirs} is directories we build using the host tools.
2823 ## ${target_configdirs} is directories we build using the target tools.
2824 configdirs
=`echo ${host_libs} ${host_tools}`
2825 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2826 build_configdirs
=`echo ${build_libs} ${build_tools}`
2830 ################################################################################
2832 srcname
="gnu development package"
2834 # This gets set non-empty for some net releases of packages.
2837 # Define is_cross_compiler to save on calls to 'test'.
2839 if test x
"${host}" = x
"${target}" ; then
2840 is_cross_compiler
=no
2842 is_cross_compiler
=yes
2845 # Find the build and target subdir names.
2847 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2848 # have matching libraries, they should use host libraries: Makefile.tpl
2849 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2850 # However, they still use the build modules, because the corresponding
2851 # host modules (e.g. bison) are only built for the host when bootstrap
2853 # - build_subdir is where we find build modules, and never changes.
2854 # - build_libsubdir is where we find build libraries, and can be overridden.
2856 # Prefix 'build-' so this never conflicts with target_subdir.
2857 build_subdir
="build-${build_noncanonical}"
2859 # Check whether --with-build-libsubdir was given.
2860 if test "${with_build_libsubdir+set}" = set; then :
2861 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2863 build_libsubdir
="$build_subdir"
2866 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2867 if ( test $srcdir = .
&& test -d gcc
) \
2868 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2869 host_subdir
="host-${host_noncanonical}"
2874 target_subdir
=${target_noncanonical}
2876 # Be sure to cover against remnants of an in-tree build.
2877 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2878 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2879 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2882 # Skipdirs are removed silently.
2884 # Noconfigdirs are removed loudly.
2888 # Make sure we don't let GNU ld be added if we didn't want it.
2889 if test x
$with_gnu_ld = xno
; then
2891 noconfigdirs
="$noconfigdirs ld gold"
2895 # Make sure we don't let GNU as be added if we didn't want it.
2896 if test x
$with_gnu_as = xno
; then
2898 noconfigdirs
="$noconfigdirs gas"
2903 # Check whether --with-system-zlib was given.
2904 if test "${with_system_zlib+set}" = set; then :
2905 withval
=$with_system_zlib;
2908 # Make sure we don't let ZLIB be added if we didn't want it.
2909 if test x
$with_system_zlib = xyes
; then
2910 use_included_zlib
=no
2911 noconfigdirs
="$noconfigdirs zlib"
2914 # Don't compile the bundled readline/libreadline.a if --with-system-readline
2916 if test x
$with_system_readline = xyes
; then
2917 noconfigdirs
="$noconfigdirs readline"
2920 # some tools are so dependent upon X11 that if we're not building with X,
2921 # it's not even worth trying to configure, much less build, that tool.
2924 yes |
"") ;; # the default value for this tree is that X11 is available
2926 skipdirs
="${skipdirs} tk itcl libgui"
2927 # We won't be able to build gdbtk without X.
2930 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2933 # Some are only suitable for cross toolchains.
2934 # Remove these if host=target.
2935 cross_only
="target-libgloss target-newlib target-opcodes"
2937 case $is_cross_compiler in
2938 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2941 # If both --with-headers and --with-libs are specified, default to
2943 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2944 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2945 if test x
"${with_newlib}" = x
; then
2950 # Recognize --with-newlib/--without-newlib.
2951 case ${with_newlib} in
2952 no
) skipdirs
="${skipdirs} target-newlib" ;;
2953 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2956 # Check whether --enable-as-accelerator-for was given.
2957 if test "${enable_as_accelerator_for+set}" = set; then :
2958 enableval
=$enable_as_accelerator_for;
2962 # Check whether --enable-offload-targets was given.
2963 if test "${enable_offload_targets+set}" = set; then :
2964 enableval
=$enable_offload_targets;
2965 if test x
"$enable_offload_targets" = x
; then
2966 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2970 enable_offload_targets
=
2974 # Handle --enable-gold, --enable-ld.
2975 # --disable-gold [--enable-ld]
2976 # Build only ld. Default option.
2977 # --enable-gold [--enable-ld]
2978 # Build both gold and ld. Install gold as "ld.gold", install ld
2979 # as "ld.bfd" and "ld".
2980 # --enable-gold=default [--enable-ld]
2981 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2982 # install ld as "ld.bfd".
2983 # --enable-gold[=default] --disable-ld
2984 # Build only gold, which is then installed as both "ld.gold" and "ld".
2985 # --enable-gold --enable-ld=default
2986 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2988 # In other words, ld is default
2989 # --enable-gold=default --enable-ld=default
2993 # Check whether --enable-gold was given.
2994 if test "${enable_gold+set}" = set; then :
2995 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3000 case "${ENABLE_GOLD}" in
3002 # Check for ELF target.
3005 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3006 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3007 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3008 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3010 *-*-linux*aout
* |
*-*-linux*oldld
*)
3018 if test "$is_elf" = "yes"; then
3019 # Check for target supported by gold.
3021 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3022 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3023 configdirs
="$configdirs gold"
3024 if test x
${ENABLE_GOLD} = xdefault
; then
3035 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3039 # Check whether --enable-ld was given.
3040 if test "${enable_ld+set}" = set; then :
3041 enableval
=$enable_ld; ENABLE_LD
=$enableval
3047 case "${ENABLE_LD}" in
3049 if test x
${default_ld} != x
; then
3050 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3056 if test x
${ENABLE_GOLD} != xyes
; then
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3058 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3060 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3063 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3068 # Decide the default method for compressing debug sections.
3069 # Provide a configure time option to override our default.
3070 # Check whether --enable-compressed_debug_sections was given.
3071 if test "${enable_compressed_debug_sections+set}" = set; then :
3072 enableval
=$enable_compressed_debug_sections;
3073 if test x
"$enable_compressed_debug_sections" = xyes
; then
3074 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3078 enable_compressed_debug_sections
=
3082 # Configure extra directories which are host specific
3086 configdirs
="$configdirs libtermcap" ;;
3089 # A target can indicate whether a language isn't supported for some reason.
3090 # Only spaces may be used in this macro; not newlines or tabs.
3091 unsupported_languages
=
3093 # Remove more programs from consideration, based on the host or
3094 # target this usually means that a port of the program doesn't
3098 i
[3456789]86-*-msdosdjgpp*)
3099 noconfigdirs
="$noconfigdirs tcl tk itcl"
3104 # Check whether --enable-libquadmath was given.
3105 if test "${enable_libquadmath+set}" = set; then :
3106 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3108 ENABLE_LIBQUADMATH
=yes
3111 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3112 noconfigdirs
="$noconfigdirs target-libquadmath"
3116 # Check whether --enable-libquadmath-support was given.
3117 if test "${enable_libquadmath_support+set}" = set; then :
3118 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3120 ENABLE_LIBQUADMATH_SUPPORT
=yes
3123 enable_libquadmath_support
=
3124 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3125 enable_libquadmath_support
=no
3129 # Check whether --enable-libada was given.
3130 if test "${enable_libada+set}" = set; then :
3131 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3136 if test "${ENABLE_LIBADA}" != "yes" ; then
3137 noconfigdirs
="$noconfigdirs gnattools"
3140 # Check whether --enable-libssp was given.
3141 if test "${enable_libssp+set}" = set; then :
3142 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3148 # Check whether --enable-libstdcxx was given.
3149 if test "${enable_libstdcxx+set}" = set; then :
3150 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3152 ENABLE_LIBSTDCXX
=default
3155 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3156 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3159 # If this is accelerator compiler and its target is intelmic we enable
3160 # target liboffloadmic by default. If this is compiler with offloading
3161 # for intelmic we enable host liboffloadmic by default. Otherwise
3162 # liboffloadmic is disabled by default.
3163 # Check whether --enable-liboffloadmic was given.
3164 if test "${enable_liboffloadmic+set}" = set; then :
3165 enableval
=$enable_liboffloadmic; case "$enableval" in
3167 enable_liboffloadmic
=$enableval ;;
3169 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3172 if test x
"$enable_as_accelerator_for" != x
; then
3174 *-intelmic-* |
*-intelmicemul-*)
3175 enable_liboffloadmic
=target
3176 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3179 enable_liboffloadmic
=no
3183 case "${enable_offload_targets}" in
3184 *-intelmic-* |
*-intelmicemul-*)
3185 enable_liboffloadmic
=host
3186 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3189 enable_liboffloadmic
=no
3197 # Enable libgomp by default on hosted POSIX systems, and a few others.
3198 if test x
$enable_libgomp = x
; then
3200 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3202 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3204 *-*-solaris2* |
*-*-hpux11*)
3206 *-*-darwin* |
*-*-aix*)
3211 noconfigdirs
="$noconfigdirs target-libgomp"
3216 # Disable libatomic on unsupported systems.
3217 if test -d ${srcdir}/libatomic
; then
3218 if test x
$enable_libatomic = x
; then
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3220 $as_echo_n "checking for libatomic support... " >&6; }
3221 if (srcdir
=${srcdir}/libatomic
; \
3222 .
${srcdir}/configure.tgt
; \
3223 test -n "$UNSUPPORTED")
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3227 noconfigdirs
="$noconfigdirs target-libatomic"
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3230 $as_echo "yes" >&6; }
3235 # Disable liboffloadmic on unsupported systems.
3236 if test -d ${srcdir}/liboffloadmic
; then
3237 if test x
$enable_liboffloadmic != xno
; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3239 $as_echo_n "checking for liboffloadmic support... " >&6; }
3240 if (srcdir
=${srcdir}/liboffloadmic
; \
3241 .
${srcdir}/configure.tgt
; \
3242 test -n "$UNSUPPORTED")
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3245 $as_echo "no" >&6; }
3246 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3249 $as_echo "yes" >&6; }
3254 # Disable libitm on unsupported systems.
3255 if test -d ${srcdir}/libitm
; then
3256 if test x
$enable_libitm = x
; then
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3258 $as_echo_n "checking for libitm support... " >&6; }
3259 if (srcdir
=${srcdir}/libitm
; \
3260 .
${srcdir}/configure.tgt
; \
3261 test -n "$UNSUPPORTED")
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3264 $as_echo "no" >&6; }
3265 noconfigdirs
="$noconfigdirs target-libitm"
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3268 $as_echo "yes" >&6; }
3273 # Disable libsanitizer on unsupported systems.
3274 if test -d ${srcdir}/libsanitizer
; then
3275 if test x
$enable_libsanitizer = x
; then
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3277 $as_echo_n "checking for libsanitizer support... " >&6; }
3278 if (srcdir
=${srcdir}/libsanitizer
; \
3279 .
${srcdir}/configure.tgt
; \
3280 test -n "$UNSUPPORTED")
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283 $as_echo "no" >&6; }
3284 noconfigdirs
="$noconfigdirs target-libsanitizer"
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3287 $as_echo "yes" >&6; }
3292 # Disable libvtv on unsupported systems.
3293 if test -d ${srcdir}/libvtv
; then
3294 if test x
$enable_libvtv = x
; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3296 $as_echo_n "checking for libvtv support... " >&6; }
3297 if (srcdir
=${srcdir}/libvtv
; \
3298 .
${srcdir}/configure.tgt
; \
3299 test "$VTV_SUPPORTED" != "yes")
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3302 $as_echo "no" >&6; }
3303 noconfigdirs
="$noconfigdirs target-libvtv"
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3306 $as_echo "yes" >&6; }
3312 # Disable libhsail-rt on unsupported systems.
3313 if test -d ${srcdir}/libhsail-rt
; then
3314 if test x
$enable_libhsail_rt = x
; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
3316 $as_echo_n "checking for libhsail-rt support... " >&6; }
3317 if (srcdir
=${srcdir}/libhsail-rt
; \
3318 .
${srcdir}/configure.tgt
; \
3319 test -n "$UNSUPPORTED")
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3322 $as_echo "no" >&6; }
3323 unsupported_languages
="$unsupported_languages brig"
3324 # This implicitly disables also target-libhsail-rt as it won't
3325 # get added to the build without BRIG FE.
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3328 $as_echo "yes" >&6; }
3334 # Disable libquadmath for some systems.
3337 noconfigdirs
="$noconfigdirs target-libquadmath"
3339 # libquadmath is unused on AIX and libquadmath build process use of
3340 # LD_LIBRARY_PATH can break AIX bootstrap.
3341 powerpc-
*-aix* | rs6000-
*-aix*)
3342 noconfigdirs
="$noconfigdirs target-libquadmath"
3346 # Disable libssp for some systems.
3349 # No hosted I/O support.
3350 noconfigdirs
="$noconfigdirs target-libssp"
3352 powerpc-
*-aix* | rs6000-
*-aix*)
3353 noconfigdirs
="$noconfigdirs target-libssp"
3356 # libssp uses a misaligned load to trigger a fault, but the RL78
3357 # doesn't fault for those - instead, it gives a build-time error
3358 # for explicit misaligned loads.
3359 noconfigdirs
="$noconfigdirs target-libssp"
3362 # No hosted I/O support.
3363 noconfigdirs
="$noconfigdirs target-libssp"
3367 # Disable libstdc++-v3 for some systems.
3368 # Allow user to override this if they pass --enable-libstdc++-v3
3369 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3372 # VxWorks uses the Dinkumware C++ library.
3373 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3376 # the C++ libraries don't build on top of CE's C libraries
3377 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3380 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3383 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3388 # Disable Fortran for some systems.
3391 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3392 unsupported_languages
="$unsupported_languages fortran"
3396 # Disable libffi for some systems.
3400 i
[3456789]86-*-darwin*)
3402 x86_64-
*-darwin[912]*)
3405 noconfigdirs
="$noconfigdirs target-libffi"
3408 noconfigdirs
="$noconfigdirs target-libffi"
3411 noconfigdirs
="$noconfigdirs target-libffi"
3414 noconfigdirs
="$noconfigdirs target-libffi"
3417 noconfigdirs
="$noconfigdirs target-libffi"
3420 noconfigdirs
="$noconfigdirs target-libffi"
3423 noconfigdirs
="$noconfigdirs target-libffi"
3425 aarch64
*-*-freebsd*)
3426 noconfigdirs
="$noconfigdirs target-libffi"
3429 noconfigdirs
="$noconfigdirs target-libffi"
3432 noconfigdirs
="$noconfigdirs target-libffi"
3435 noconfigdirs
="$noconfigdirs target-libffi"
3438 noconfigdirs
="$noconfigdirs target-libffi"
3440 cris-
*-* | crisv32-
*-*)
3444 *) # See PR46792 regarding target-libffi.
3445 noconfigdirs
="$noconfigdirs target-libffi";;
3449 noconfigdirs
="$noconfigdirs target-libffi"
3454 noconfigdirs
="$noconfigdirs target-libffi"
3457 noconfigdirs
="$noconfigdirs target-libffi"
3459 i
[3456789]86-w64-mingw*)
3460 noconfigdirs
="$noconfigdirs target-libffi"
3462 i
[3456789]86-*-mingw*)
3463 noconfigdirs
="$noconfigdirs target-libffi"
3466 noconfigdirs
="$noconfigdirs target-libffi"
3469 noconfigdirs
="$noconfigdirs target-libffi"
3476 noconfigdirs
="$noconfigdirs target-libffi"
3479 noconfigdirs
="$noconfigdirs target-libffi"
3483 # Disable the go frontend on systems where it is known to not work. Please keep
3484 # this in sync with contrib/config-list.mk.
3486 *-*-darwin* |
*-*-cygwin* |
*-*-mingw*)
3487 unsupported_languages
="$unsupported_languages go"
3491 # Only allow gdbserver on some systems.
3492 if test -d ${srcdir}/gdbserver
; then
3493 if test x
$enable_gdbserver = x
; then
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
3495 $as_echo_n "checking for gdbserver support... " >&6; }
3496 if (srcdir
=${srcdir}/gdbserver
; \
3497 .
${srcdir}/configure.srv
; \
3498 test -n "$UNSUPPORTED")
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3501 $as_echo "no" >&6; }
3502 noconfigdirs
="$noconfigdirs gdbserver"
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3505 $as_echo "yes" >&6; }
3510 # Disable libgo for some systems where it is known to not work.
3511 # For testing, you can easily override this with --enable-libgo.
3512 if test x
$enable_libgo = x
; then
3516 noconfigdirs
="$noconfigdirs target-libgo"
3518 *-*-cygwin* |
*-*-mingw*)
3519 noconfigdirs
="$noconfigdirs target-libgo"
3524 # Default libgloss CPU subdirectory.
3525 libgloss_dir
="$target_cpu"
3528 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3532 libgloss_dir
=aarch64
3537 cris-
*-* | crisv32-
*-*)
3546 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3547 libgloss_dir
=m68hc11
3549 m68
*-*-* | fido-
*-*)
3563 # Disable newlib and libgloss for various target OSes.
3566 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3568 i
[3456789]86-*-linux*)
3569 # This section makes it possible to build newlib natively on linux.
3570 # If we are using a cross compiler then don't configure newlib.
3571 if test x
${is_cross_compiler} != xno
; then
3572 noconfigdirs
="$noconfigdirs target-newlib"
3574 noconfigdirs
="$noconfigdirs target-libgloss"
3575 # If we are not using a cross compiler, do configure newlib.
3576 # Note however, that newlib will only be configured in this situation
3577 # if the --with-newlib option has been given, because otherwise
3578 # 'target-newlib' will appear in skipdirs.
3580 i
[3456789]86-*-rdos*)
3581 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3583 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3584 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3587 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3590 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3593 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3596 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3599 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3602 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3604 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3605 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3608 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3611 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3614 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3617 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3620 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3623 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3626 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3634 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3635 noconfigdirs
="$noconfigdirs sim target-rda"
3638 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3639 noconfigdirs
="$noconfigdirs sim target-rda"
3642 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3643 noconfigdirs
="$noconfigdirs sim target-rda"
3645 i
[3456789]86-*-darwin*)
3646 noconfigdirs
="$noconfigdirs ld gprof"
3647 noconfigdirs
="$noconfigdirs sim target-rda"
3649 x86_64-
*-darwin[912]*)
3650 noconfigdirs
="$noconfigdirs ld gas gprof"
3651 noconfigdirs
="$noconfigdirs sim target-rda"
3654 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3655 noconfigdirs
="$noconfigdirs sim target-rda"
3660 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3661 && test -f /usr
/local
/include
/gmp.h
; then
3666 # Remove unsupported stuff on all kaOS configurations.
3667 noconfigdirs
="$noconfigdirs target-libgloss"
3674 noconfigdirs
="$noconfigdirs target-libgloss"
3677 noconfigdirs
="$noconfigdirs target-libgloss"
3679 # The tpf target doesn't support gdb yet.
3681 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3684 noconfigdirs
="$noconfigdirs target-rda"
3689 # ld works, but does not support shared libraries.
3690 # gas doesn't generate exception information.
3691 noconfigdirs
="$noconfigdirs gas ld"
3694 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3697 # newlib is not 64 bit ready
3698 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3700 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3701 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3704 noconfigdirs
="$noconfigdirs sim"
3707 noconfigdirs
="$noconfigdirs target-libgloss"
3710 noconfigdirs
="$noconfigdirs ld target-libgloss"
3713 if test x
${with_avrlibc} != xno
; then
3714 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3717 c4x-
*-* | tic4x-
*-*)
3718 noconfigdirs
="$noconfigdirs target-libgloss"
3721 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3724 noconfigdirs
="$noconfigdirs target-libgloss"
3727 noconfigdirs
="$noconfigdirs gdb"
3730 noconfigdirs
="$noconfigdirs gdb"
3733 noconfigdirs
="$noconfigdirs target-rda gprof"
3736 noconfigdirs
="$noconfigdirs"
3739 noconfigdirs
="$noconfigdirs target-libgloss"
3742 noconfigdirs
="$noconfigdirs target-libgloss"
3744 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3747 noconfigdirs
="$noconfigdirs gdb"
3750 noconfigdirs
="$noconfigdirs gdb ld"
3758 hppa
*-*-openbsd* | \
3764 noconfigdirs
="$noconfigdirs ld"
3767 noconfigdirs
="$noconfigdirs gdb"
3770 # No gdb support yet.
3771 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3774 # No ld support yet.
3775 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3778 # No ld support yet.
3779 noconfigdirs
="$noconfigdirs libgui itcl ld"
3781 i
[3456789]86-w64-mingw*)
3783 i
[3456789]86-*-mingw*)
3784 target_configdirs
="$target_configdirs target-winsup"
3787 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3788 noconfigdirs
="$noconfigdirs target-libgloss"
3789 # always build newlib if winsup directory is present.
3790 if test -d "$srcdir/winsup/cygwin"; then
3791 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3792 elif test -d "$srcdir/newlib"; then
3793 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3797 noconfigdirs
="$noconfigdirs target-libgloss"
3799 i
[3456789]86-*-sco3.2v5
*)
3800 # The linker does not yet know about weak symbols in COFF,
3801 # and is not configured to handle mixed ELF and COFF.
3802 noconfigdirs
="$noconfigdirs ld target-libgloss"
3804 i
[3456789]86-*-sco*)
3805 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3807 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3808 noconfigdirs
="$noconfigdirs target-libgloss"
3810 i
[3456789]86-*-sysv4*)
3811 noconfigdirs
="$noconfigdirs target-libgloss"
3813 i
[3456789]86-*-beos*)
3814 noconfigdirs
="$noconfigdirs gdb"
3816 i
[3456789]86-*-rdos*)
3817 noconfigdirs
="$noconfigdirs gdb"
3820 noconfigdirs
="$noconfigdirs gdb"
3823 noconfigdirs
="$noconfigdirs sim"
3826 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3827 noconfigdirs
="$noconfigdirs $target_libraries"
3830 noconfigdirs
="$noconfigdirs gdb gprof"
3833 # copied from rs6000-*-* entry
3834 noconfigdirs
="$noconfigdirs gprof"
3836 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3837 target_configdirs
="$target_configdirs target-winsup"
3838 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3839 # always build newlib.
3840 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3842 # This is temporary until we can link against shared libraries
3843 powerpcle-
*-solaris*)
3844 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3847 noconfigdirs
="$noconfigdirs gdb"
3850 noconfigdirs
="$noconfigdirs gprof"
3853 noconfigdirs
="$noconfigdirs gprof"
3856 noconfigdirs
="$noconfigdirs gprof"
3859 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3862 noconfigdirs
="$noconfigdirs gprof"
3864 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3865 if test x
$with_newlib = xyes
; then
3866 noconfigdirs
="$noconfigdirs gprof"
3870 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3873 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3876 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3880 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3881 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3882 noconfigdirs
="$noconfigdirs ld gas gprof"
3885 noconfigdirs
="$noconfigdirs gprof"
3888 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3895 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3899 if test x
${is_cross_compiler} = xno
; then
3904 noconfigdirs
="$noconfigdirs sim"
3906 tilepro
*-*-* | tilegx
*-*-*)
3907 noconfigdirs
="$noconfigdirs sim"
3910 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3913 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3916 noconfigdirs
="$noconfigdirs ld"
3920 # If we aren't building newlib, then don't build libgloss, since libgloss
3921 # depends upon some newlib header files.
3922 case "${noconfigdirs}" in
3923 *target-libgloss
*) ;;
3924 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3927 # Work in distributions that contain no compiler tools, like Autoconf.
3928 host_makefile_frag
=/dev
/null
3929 if test -d ${srcdir}/config
; then
3931 i
[3456789]86-*-msdosdjgpp*)
3932 host_makefile_frag
="config/mh-djgpp"
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3937 $as_echo_n "checking to see if cat works as expected... " >&6; }
3938 echo a
>cygwin-cat-check
3939 if test `cat cygwin-cat-check` = a
; then
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3942 $as_echo "yes" >&6; }
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3946 $as_echo "no" >&6; }
3947 as_fn_error $?
"The cat command does not ignore carriage return characters.
3948 Please either mount the build directory in binary mode or run the following
3949 commands before running any configure script:
3955 host_makefile_frag
="config/mh-cygwin"
3958 host_makefile_frag
="config/mh-mingw"
3961 host_makefile_frag
="config/mh-alpha-linux"
3964 host_makefile_frag
="config/mh-pa-hpux10"
3967 host_makefile_frag
="config/mh-pa"
3970 host_makefile_frag
="config/mh-pa"
3973 host_makefile_frag
="config/mh-darwin"
3976 host_makefile_frag
="config/mh-ppc-aix"
3979 host_makefile_frag
="config/mh-ppc-aix"
3984 if test "${build}" != "${host}" ; then
3985 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3986 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3987 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3988 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3989 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3990 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3991 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3992 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3993 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3994 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3995 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3996 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3998 AR_FOR_BUILD
="\$(AR)"
3999 AS_FOR_BUILD
="\$(AS)"
4000 CC_FOR_BUILD
="\$(CC)"
4001 CXX_FOR_BUILD
="\$(CXX)"
4002 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4003 GOC_FOR_BUILD
="\$(GOC)"
4004 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4005 LD_FOR_BUILD
="\$(LD)"
4006 NM_FOR_BUILD
="\$(NM)"
4007 RANLIB_FOR_BUILD
="\$(RANLIB)"
4008 WINDRES_FOR_BUILD
="\$(WINDRES)"
4009 WINDMC_FOR_BUILD
="\$(WINDMC)"
4013 ac_cpp
='$CPP $CPPFLAGS'
4014 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4015 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4016 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4017 if test -n "$ac_tool_prefix"; then
4018 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4019 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021 $as_echo_n "checking for $ac_word... " >&6; }
4022 if ${ac_cv_prog_CC+:} false
; then :
4023 $as_echo_n "(cached) " >&6
4025 if test -n "$CC"; then
4026 ac_cv_prog_CC
="$CC" # Let the user override the test.
4028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4032 test -z "$as_dir" && as_dir
=.
4033 for ac_exec_ext
in '' $ac_executable_extensions; do
4034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4046 if test -n "$CC"; then
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4048 $as_echo "$CC" >&6; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4051 $as_echo "no" >&6; }
4056 if test -z "$ac_cv_prog_CC"; then
4058 # Extract the first word of "gcc", so it can be a program name with args.
4059 set dummy gcc
; ac_word
=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4063 $as_echo_n "(cached) " >&6
4065 if test -n "$ac_ct_CC"; then
4066 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4072 test -z "$as_dir" && as_dir
=.
4073 for ac_exec_ext
in '' $ac_executable_extensions; do
4074 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4075 ac_cv_prog_ac_ct_CC
="gcc"
4076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4085 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4086 if test -n "$ac_ct_CC"; then
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4088 $as_echo "$ac_ct_CC" >&6; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091 $as_echo "no" >&6; }
4094 if test "x$ac_ct_CC" = x
; then
4097 case $cross_compiling:$ac_tool_warned in
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4101 ac_tool_warned
=yes ;;
4109 if test -z "$CC"; then
4110 if test -n "$ac_tool_prefix"; then
4111 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4112 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4114 $as_echo_n "checking for $ac_word... " >&6; }
4115 if ${ac_cv_prog_CC+:} false
; then :
4116 $as_echo_n "(cached) " >&6
4118 if test -n "$CC"; then
4119 ac_cv_prog_CC
="$CC" # Let the user override the test.
4121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4125 test -z "$as_dir" && as_dir
=.
4126 for ac_exec_ext
in '' $ac_executable_extensions; do
4127 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4128 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4139 if test -n "$CC"; then
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4141 $as_echo "$CC" >&6; }
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144 $as_echo "no" >&6; }
4150 if test -z "$CC"; then
4151 # Extract the first word of "cc", so it can be a program name with args.
4152 set dummy cc
; ac_word
=$2
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4154 $as_echo_n "checking for $ac_word... " >&6; }
4155 if ${ac_cv_prog_CC+:} false
; then :
4156 $as_echo_n "(cached) " >&6
4158 if test -n "$CC"; then
4159 ac_cv_prog_CC
="$CC" # Let the user override the test.
4162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4166 test -z "$as_dir" && as_dir
=.
4167 for ac_exec_ext
in '' $ac_executable_extensions; do
4168 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4169 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4170 ac_prog_rejected
=yes
4174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4181 if test $ac_prog_rejected = yes; then
4182 # We found a bogon in the path, so make sure we never use it.
4183 set dummy
$ac_cv_prog_CC
4185 if test $# != 0; then
4186 # We chose a different compiler from the bogus one.
4187 # However, it has the same basename, so the bogon will be chosen
4188 # first if we set CC to just the basename; use the full file name.
4190 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4196 if test -n "$CC"; then
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4198 $as_echo "$CC" >&6; }
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4201 $as_echo "no" >&6; }
4206 if test -z "$CC"; then
4207 if test -n "$ac_tool_prefix"; then
4208 for ac_prog
in cl.exe
4210 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4211 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4213 $as_echo_n "checking for $ac_word... " >&6; }
4214 if ${ac_cv_prog_CC+:} false
; then :
4215 $as_echo_n "(cached) " >&6
4217 if test -n "$CC"; then
4218 ac_cv_prog_CC
="$CC" # Let the user override the test.
4220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4224 test -z "$as_dir" && as_dir
=.
4225 for ac_exec_ext
in '' $ac_executable_extensions; do
4226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4227 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4238 if test -n "$CC"; then
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4240 $as_echo "$CC" >&6; }
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243 $as_echo "no" >&6; }
4247 test -n "$CC" && break
4250 if test -z "$CC"; then
4252 for ac_prog
in cl.exe
4254 # Extract the first word of "$ac_prog", so it can be a program name with args.
4255 set dummy
$ac_prog; ac_word
=$2
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4257 $as_echo_n "checking for $ac_word... " >&6; }
4258 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4259 $as_echo_n "(cached) " >&6
4261 if test -n "$ac_ct_CC"; then
4262 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4268 test -z "$as_dir" && as_dir
=.
4269 for ac_exec_ext
in '' $ac_executable_extensions; do
4270 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4271 ac_cv_prog_ac_ct_CC
="$ac_prog"
4272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4281 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4282 if test -n "$ac_ct_CC"; then
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4284 $as_echo "$ac_ct_CC" >&6; }
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4287 $as_echo "no" >&6; }
4291 test -n "$ac_ct_CC" && break
4294 if test "x$ac_ct_CC" = x
; then
4297 case $cross_compiling:$ac_tool_warned in
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4301 ac_tool_warned
=yes ;;
4310 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4312 as_fn_error $?
"no acceptable C compiler found in \$PATH
4313 See \`config.log' for more details" "$LINENO" 5; }
4315 # Provide some information about the compiler.
4316 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4319 for ac_option
in --version -v -V -qversion; do
4320 { { ac_try
="$ac_compiler $ac_option >&5"
4322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4323 *) ac_try_echo=$ac_try;;
4325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4326 $as_echo "$ac_try_echo"; } >&5
4327 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4329 if test -s conftest.err; then
4331 ... rest of stderr output deleted ...
4332 10q' conftest.err >conftest.er1
4333 cat conftest.er1 >&5
4335 rm -f conftest.er1 conftest.err
4336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4337 test $ac_status = 0; }
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4351 ac_clean_files_save=$ac_clean_files
4352 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4353 # Try to create an executable without -o first, disregard a.out.
4354 # It will help us diagnose broken compilers, and finding out an intuition
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4357 $as_echo_n "checking whether the C compiler works... " >&6; }
4358 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4360 # The possible output files:
4361 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4364 for ac_file in $ac_files
4367 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4368 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4373 if { { ac_try="$ac_link_default"
4375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4376 *) ac_try_echo
=$ac_try;;
4378 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4379 $as_echo "$ac_try_echo"; } >&5
4380 (eval "$ac_link_default") 2>&5
4382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4383 test $ac_status = 0; }; then :
4384 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4385 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4386 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4387 # so that the user can short-circuit this test for compilers unknown to
4389 for ac_file
in $ac_files ''
4391 test -f "$ac_file" ||
continue
4393 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4396 # We found the default executable, but exeext='' is most
4400 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4402 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4404 # We set ac_cv_exeext here because the later test for it is not
4405 # safe: cross compilers may not add the suffix if given an `-o'
4406 # argument, so we may need to know it at that point already.
4407 # Even if this section looks crufty: it has the advantage of
4414 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4419 if test -z "$ac_file"; then :
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4422 $as_echo "$as_me: failed program was:" >&5
4423 sed 's/^/| /' conftest.
$ac_ext >&5
4425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4427 as_fn_error
77 "C compiler cannot create executables
4428 See \`config.log' for more details" "$LINENO" 5; }
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4431 $as_echo "yes" >&6; }
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4434 $as_echo_n "checking for C compiler default output file name... " >&6; }
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4436 $as_echo "$ac_file" >&6; }
4437 ac_exeext
=$ac_cv_exeext
4439 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4440 ac_clean_files
=$ac_clean_files_save
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4442 $as_echo_n "checking for suffix of executables... " >&6; }
4443 if { { ac_try
="$ac_link"
4445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4449 $as_echo "$ac_try_echo"; } >&5
4450 (eval "$ac_link") 2>&5
4452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4453 test $ac_status = 0; }; then :
4454 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4455 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4456 # work properly (i.e., refer to `conftest.exe'), while it won't with
4458 for ac_file
in conftest.exe conftest conftest.
*; do
4459 test -f "$ac_file" ||
continue
4461 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4462 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4470 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4471 See \`config.log' for more details" "$LINENO" 5; }
4473 rm -f conftest conftest
$ac_cv_exeext
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4475 $as_echo "$ac_cv_exeext" >&6; }
4477 rm -f conftest.
$ac_ext
4478 EXEEXT
=$ac_cv_exeext
4480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4486 FILE *f = fopen ("conftest.out", "w");
4487 return ferror (f) || fclose (f) != 0;
4493 ac_clean_files
="$ac_clean_files conftest.out"
4494 # Check that the compiler produces executables we can run. If not, either
4495 # the compiler is broken, or we cross compile.
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4497 $as_echo_n "checking whether we are cross compiling... " >&6; }
4498 if test "$cross_compiling" != yes; then
4499 { { ac_try
="$ac_link"
4501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4502 *) ac_try_echo=$ac_try;;
4504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4505 $as_echo "$ac_try_echo"; } >&5
4506 (eval "$ac_link") 2>&5
4508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4509 test $ac_status = 0; }
4510 if { ac_try='./conftest$ac_cv_exeext'
4511 { { case "(($ac_try" in
4512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4513 *) ac_try_echo
=$ac_try;;
4515 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4516 $as_echo "$ac_try_echo"; } >&5
4517 (eval "$ac_try") 2>&5
4519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4520 test $ac_status = 0; }; }; then
4523 if test "$cross_compiling" = maybe
; then
4526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4528 as_fn_error $?
"cannot run C compiled programs.
4529 If you meant to cross compile, use \`--host'.
4530 See \`config.log' for more details" "$LINENO" 5; }
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4535 $as_echo "$cross_compiling" >&6; }
4537 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4538 ac_clean_files
=$ac_clean_files_save
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4540 $as_echo_n "checking for suffix of object files... " >&6; }
4541 if ${ac_cv_objext+:} false
; then :
4542 $as_echo_n "(cached) " >&6
4544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4555 rm -f conftest.o conftest.obj
4556 if { { ac_try
="$ac_compile"
4558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4559 *) ac_try_echo=$ac_try;;
4561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4562 $as_echo "$ac_try_echo"; } >&5
4563 (eval "$ac_compile") 2>&5
4565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4566 test $ac_status = 0; }; then :
4567 for ac_file in conftest.o conftest.obj conftest.*; do
4568 test -f "$ac_file" || continue;
4570 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4571 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4576 $as_echo "$as_me: failed program was:" >&5
4577 sed 's/^/| /' conftest.$ac_ext >&5
4579 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4581 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4582 See \
`config.log' for more details" "$LINENO" 5; }
4584 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4587 $as_echo "$ac_cv_objext" >&6; }
4588 OBJEXT=$ac_cv_objext
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4591 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4592 if ${ac_cv_c_compiler_gnu+:} false; then :
4593 $as_echo_n "(cached) " >&6
4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4609 if ac_fn_c_try_compile "$LINENO"; then :
4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4619 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4620 if test $ac_compiler_gnu = yes; then
4625 ac_test_CFLAGS=${CFLAGS+set}
4626 ac_save_CFLAGS=$CFLAGS
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4628 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4629 if ${ac_cv_prog_cc_g+:} false; then :
4630 $as_echo_n "(cached) " >&6
4632 ac_save_c_werror_flag=$ac_c_werror_flag
4633 ac_c_werror_flag=yes
4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4647 if ac_fn_c_try_compile "$LINENO"; then :
4651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4652 /* end confdefs.h. */
4662 if ac_fn_c_try_compile "$LINENO"; then :
4665 ac_c_werror_flag=$ac_save_c_werror_flag
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4678 if ac_fn_c_try_compile "$LINENO"; then :
4681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4686 ac_c_werror_flag=$ac_save_c_werror_flag
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4689 $as_echo "$ac_cv_prog_cc_g" >&6; }
4690 if test "$ac_test_CFLAGS" = set; then
4691 CFLAGS=$ac_save_CFLAGS
4692 elif test $ac_cv_prog_cc_g = yes; then
4693 if test "$GCC" = yes; then
4699 if test "$GCC" = yes; then
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4706 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4707 if ${ac_cv_prog_cc_c89+:} false; then :
4708 $as_echo_n "(cached) " >&6
4710 ac_cv_prog_cc_c89=no
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4717 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4718 struct buf { int x; };
4719 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4720 static char *e (p, i)
4726 static char *f (char * (*g) (char **, int), char **p, ...)
4731 s = g (p, va_arg (v,int));
4736 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4737 function prototypes and stuff, but not '\xHH' hex character constants.
4738 These don't provoke an error unfortunately, instead are silently treated
4739 as 'x'. The following induces an error, until -std is added to get
4740 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4741 array size at least. It's necessary to write '\x00'==0 to get something
4742 that's true only with -std. */
4743 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4745 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4746 inside strings and character constants. */
4748 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4750 int test (int i, double x);
4751 struct s1 {int (*f) (int a);};
4752 struct s2 {int (*f) (double a);};
4753 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4759 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4764 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4765 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4767 CC="$ac_save_CC $ac_arg"
4768 if ac_fn_c_try_compile "$LINENO"; then :
4769 ac_cv_prog_cc_c89=$ac_arg
4771 rm -f core conftest.err conftest.$ac_objext
4772 test "x$ac_cv_prog_cc_c89" != "xno" && break
4774 rm -f conftest.$ac_ext
4779 case "x$ac_cv_prog_cc_c89" in
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4782 $as_echo "none needed" >&6; } ;;
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4785 $as_echo "unsupported" >&6; } ;;
4787 CC="$CC $ac_cv_prog_cc_c89"
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4789 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4791 if test "x$ac_cv_prog_cc_c89" != xno; then :
4796 ac_cpp='$CPP $CPPFLAGS'
4797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4802 ac_cpp='$CXXCPP $CPPFLAGS'
4803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4806 if test -z "$CXX"; then
4807 if test -n "$CCC"; then
4810 if test -n "$ac_tool_prefix"; then
4811 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4813 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4814 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 $as_echo_n "checking for $ac_word... " >&6; }
4817 if ${ac_cv_prog_CXX+:} false; then :
4818 $as_echo_n "(cached) " >&6
4820 if test -n "$CXX"; then
4821 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 test -z "$as_dir" && as_dir=.
4828 for ac_exec_ext in '' $ac_executable_extensions; do
4829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4830 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4841 if test -n "$CXX"; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4843 $as_echo "$CXX" >&6; }
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 $as_echo "no" >&6; }
4850 test -n "$CXX" && break
4853 if test -z "$CXX"; then
4855 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4857 # Extract the first word of "$ac_prog", so it can be a program name with args.
4858 set dummy $ac_prog; ac_word=$2
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4860 $as_echo_n "checking for $ac_word... " >&6; }
4861 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4862 $as_echo_n "(cached) " >&6
4864 if test -n "$ac_ct_CXX"; then
4865 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4871 test -z "$as_dir" && as_dir=.
4872 for ac_exec_ext in '' $ac_executable_extensions; do
4873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4874 ac_cv_prog_ac_ct_CXX="$ac_prog"
4875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4885 if test -n "$ac_ct_CXX"; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4887 $as_echo "$ac_ct_CXX" >&6; }
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4894 test -n "$ac_ct_CXX" && break
4897 if test "x$ac_ct_CXX" = x; then
4900 case $cross_compiling:$ac_tool_warned in
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4904 ac_tool_warned=yes ;;
4912 # Provide some information about the compiler.
4913 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4916 for ac_option in --version -v -V -qversion; do
4917 { { ac_try="$ac_compiler $ac_option >&5"
4919 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4920 *) ac_try_echo
=$ac_try;;
4922 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4923 $as_echo "$ac_try_echo"; } >&5
4924 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4926 if test -s conftest.err
; then
4928 ... rest of stderr output deleted ...
4929 10q' conftest.err
>conftest.er1
4930 cat conftest.er1
>&5
4932 rm -f conftest.er1 conftest.err
4933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4934 test $ac_status = 0; }
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4938 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4939 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4940 $as_echo_n "(cached) " >&6
4942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4943 /* end confdefs.h. */
4956 if ac_fn_cxx_try_compile
"$LINENO"; then :
4961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4962 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4966 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4967 if test $ac_compiler_gnu = yes; then
4972 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4973 ac_save_CXXFLAGS
=$CXXFLAGS
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4975 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4976 if ${ac_cv_prog_cxx_g+:} false
; then :
4977 $as_echo_n "(cached) " >&6
4979 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4980 ac_cxx_werror_flag
=yes
4983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4994 if ac_fn_cxx_try_compile
"$LINENO"; then :
4995 ac_cv_prog_cxx_g
=yes
4998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5009 if ac_fn_cxx_try_compile
"$LINENO"; then :
5012 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5015 /* end confdefs.h. */
5025 if ac_fn_cxx_try_compile
"$LINENO"; then :
5026 ac_cv_prog_cxx_g
=yes
5028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5033 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5036 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5037 if test "$ac_test_CXXFLAGS" = set; then
5038 CXXFLAGS
=$ac_save_CXXFLAGS
5039 elif test $ac_cv_prog_cxx_g = yes; then
5040 if test "$GXX" = yes; then
5046 if test "$GXX" = yes; then
5053 ac_cpp
='$CPP $CPPFLAGS'
5054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5059 # We must set the default linker to the linker used by gcc for the correct
5060 # operation of libtool. If LD is not defined and we are using gcc, try to
5061 # set the LD default to the ld used by gcc.
5062 if test -z "$LD"; then
5063 if test "$GCC" = yes; then
5066 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5068 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5070 case $gcc_prog_ld in
5071 # Accept absolute paths.
5072 [\\/]* |
[A-Za-z
]:[\\/]*)
5073 LD
="$gcc_prog_ld" ;;
5078 # Check whether -static-libstdc++ -static-libgcc is supported.
5080 if test "$GCC" = yes; then
5081 saved_LDFLAGS
="$LDFLAGS"
5083 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5085 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5087 ac_cpp
='$CXXCPP $CPPFLAGS'
5088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5094 /* end confdefs.h. */
5096 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5097 #error -static-libstdc++ not implemented
5101 if ac_fn_cxx_try_link
"$LINENO"; then :
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5103 $as_echo "yes" >&6; }; have_static_libs
=yes
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5108 rm -f core conftest.err conftest.
$ac_objext \
5109 conftest
$ac_exeext conftest.
$ac_ext
5111 ac_cpp
='$CPP $CPPFLAGS'
5112 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5113 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5114 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5117 LDFLAGS
="$saved_LDFLAGS"
5123 if test -n "$ac_tool_prefix"; then
5124 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5125 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 $as_echo_n "checking for $ac_word... " >&6; }
5128 if ${ac_cv_prog_GNATBIND+:} false
; then :
5129 $as_echo_n "(cached) " >&6
5131 if test -n "$GNATBIND"; then
5132 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5138 test -z "$as_dir" && as_dir
=.
5139 for ac_exec_ext
in '' $ac_executable_extensions; do
5140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5141 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 GNATBIND
=$ac_cv_prog_GNATBIND
5152 if test -n "$GNATBIND"; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5154 $as_echo "$GNATBIND" >&6; }
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157 $as_echo "no" >&6; }
5162 if test -z "$ac_cv_prog_GNATBIND"; then
5163 ac_ct_GNATBIND
=$GNATBIND
5164 # Extract the first word of "gnatbind", so it can be a program name with args.
5165 set dummy gnatbind
; ac_word
=$2
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5167 $as_echo_n "checking for $ac_word... " >&6; }
5168 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5169 $as_echo_n "(cached) " >&6
5171 if test -n "$ac_ct_GNATBIND"; then
5172 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5178 test -z "$as_dir" && as_dir
=.
5179 for ac_exec_ext
in '' $ac_executable_extensions; do
5180 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5181 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5192 if test -n "$ac_ct_GNATBIND"; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5194 $as_echo "$ac_ct_GNATBIND" >&6; }
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5197 $as_echo "no" >&6; }
5200 if test "x$ac_ct_GNATBIND" = x
; then
5203 case $cross_compiling:$ac_tool_warned in
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5207 ac_tool_warned
=yes ;;
5209 GNATBIND
=$ac_ct_GNATBIND
5212 GNATBIND
="$ac_cv_prog_GNATBIND"
5215 if test -n "$ac_tool_prefix"; then
5216 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5217 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5219 $as_echo_n "checking for $ac_word... " >&6; }
5220 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5221 $as_echo_n "(cached) " >&6
5223 if test -n "$GNATMAKE"; then
5224 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5230 test -z "$as_dir" && as_dir
=.
5231 for ac_exec_ext
in '' $ac_executable_extensions; do
5232 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5233 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5243 GNATMAKE
=$ac_cv_prog_GNATMAKE
5244 if test -n "$GNATMAKE"; then
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5246 $as_echo "$GNATMAKE" >&6; }
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5254 if test -z "$ac_cv_prog_GNATMAKE"; then
5255 ac_ct_GNATMAKE
=$GNATMAKE
5256 # Extract the first word of "gnatmake", so it can be a program name with args.
5257 set dummy gnatmake
; ac_word
=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259 $as_echo_n "checking for $ac_word... " >&6; }
5260 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5261 $as_echo_n "(cached) " >&6
5263 if test -n "$ac_ct_GNATMAKE"; then
5264 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5270 test -z "$as_dir" && as_dir
=.
5271 for ac_exec_ext
in '' $ac_executable_extensions; do
5272 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5273 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5283 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5284 if test -n "$ac_ct_GNATMAKE"; then
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5286 $as_echo "$ac_ct_GNATMAKE" >&6; }
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5289 $as_echo "no" >&6; }
5292 if test "x$ac_ct_GNATMAKE" = x
; then
5295 case $cross_compiling:$ac_tool_warned in
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5299 ac_tool_warned
=yes ;;
5301 GNATMAKE
=$ac_ct_GNATMAKE
5304 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5308 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5309 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5310 $as_echo_n "(cached) " >&6
5312 cat >conftest.adb
<<EOF
5313 procedure conftest is begin null; end conftest;
5315 acx_cv_cc_gcc_supports_ada
=no
5316 # There is a bug in old released versions of GCC which causes the
5317 # driver to exit successfully when the appropriate language module
5318 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5319 # Therefore we must check for the error message as well as an
5320 # unsuccessful exit.
5321 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5322 # given a .adb file, but produce no object file. So we must check
5323 # if an object file was really produced to guard against this.
5324 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5325 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5326 acx_cv_cc_gcc_supports_ada
=yes
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5331 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5333 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5340 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5341 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5342 $as_echo_n "(cached) " >&6
5346 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5347 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5348 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5351 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5354 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5355 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5358 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5365 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5366 do_compare
="$gcc_cv_prog_cmp_skip"
5370 # Check whether --enable-bootstrap was given.
5371 if test "${enable_bootstrap+set}" = set; then :
5372 enableval
=$enable_bootstrap;
5374 enable_bootstrap
=default
5378 # Issue errors and warnings for invalid/strange bootstrap combinations.
5379 if test -r $srcdir/gcc
/configure
; then
5385 case "$have_compiler:$host:$target:$enable_bootstrap" in
5388 # Default behavior. Enable bootstrap if we have a compiler
5389 # and we are in a native configuration.
5390 yes:$build:$build:default
)
5391 enable_bootstrap
=yes ;;
5394 enable_bootstrap
=no
;;
5396 # We have a compiler and we are in a native configuration, bootstrap is ok
5397 yes:$build:$build:yes)
5400 # Other configurations, but we have a compiler. Assume the user knows
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5404 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5407 # No compiler: if they passed --enable-bootstrap explicitly, fail
5409 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5411 # Fail if wrong command line
5413 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5417 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5418 # C++98 compiler can still start the bootstrap.
5419 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5420 CXX
="$CXX -std=gnu++98"
5423 # Used for setting $lt_cv_objdir
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5425 $as_echo_n "checking for objdir... " >&6; }
5426 if ${lt_cv_objdir+:} false
; then :
5427 $as_echo_n "(cached) " >&6
5429 rm -f .libs
2>/dev
/null
5430 mkdir .libs
2>/dev
/null
5431 if test -d .libs
; then
5434 # MS-DOS does not allow filenames that begin with a dot.
5437 rmdir .libs
2>/dev
/null
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5440 $as_echo "$lt_cv_objdir" >&6; }
5441 objdir
=$lt_cv_objdir
5447 cat >>confdefs.h
<<_ACEOF
5448 #define LT_OBJDIR "$lt_cv_objdir/"
5453 # Check for GMP, MPFR and MPC
5454 gmplibs
="-lmpc -lmpfr -lgmp"
5458 # Specify a location for mpc
5459 # check for this first so it ends up on the link line before mpfr.
5461 # Check whether --with-mpc was given.
5462 if test "${with_mpc+set}" = set; then :
5467 # Check whether --with-mpc-include was given.
5468 if test "${with_mpc_include+set}" = set; then :
5469 withval
=$with_mpc_include;
5473 # Check whether --with-mpc-lib was given.
5474 if test "${with_mpc_lib+set}" = set; then :
5475 withval
=$with_mpc_lib;
5479 if test "x$with_mpc" != x
; then
5480 gmplibs
="-L$with_mpc/lib $gmplibs"
5481 gmpinc
="-I$with_mpc/include $gmpinc"
5483 if test "x$with_mpc_include" != x
; then
5484 gmpinc
="-I$with_mpc_include $gmpinc"
5486 if test "x$with_mpc_lib" != x
; then
5487 gmplibs
="-L$with_mpc_lib $gmplibs"
5489 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5490 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5491 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5492 # Do not test the mpc version. Assume that it is sufficient, since
5493 # it is in the source tree, and the library has not been built yet
5494 # but it would be included on the link line in the version check below
5495 # hence making the test fail.
5499 # Specify a location for mpfr
5500 # check for this first so it ends up on the link line before gmp.
5502 # Check whether --with-mpfr-dir was given.
5503 if test "${with_mpfr_dir+set}" = set; then :
5504 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
5505 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5510 # Check whether --with-mpfr was given.
5511 if test "${with_mpfr+set}" = set; then :
5516 # Check whether --with-mpfr-include was given.
5517 if test "${with_mpfr_include+set}" = set; then :
5518 withval
=$with_mpfr_include;
5522 # Check whether --with-mpfr-lib was given.
5523 if test "${with_mpfr_lib+set}" = set; then :
5524 withval
=$with_mpfr_lib;
5528 if test "x$with_mpfr" != x
; then
5529 gmplibs
="-L$with_mpfr/lib $gmplibs"
5530 gmpinc
="-I$with_mpfr/include $gmpinc"
5532 if test "x$with_mpfr_include" != x
; then
5533 gmpinc
="-I$with_mpfr_include $gmpinc"
5535 if test "x$with_mpfr_lib" != x
; then
5536 gmplibs
="-L$with_mpfr_lib $gmplibs"
5538 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5539 # MPFR v3.1.0 moved the sources into a src sub-directory.
5540 if ! test -d ${srcdir}/mpfr
/src
; then
5541 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5543 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5544 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5545 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5546 # Do not test the mpfr version. Assume that it is sufficient, since
5547 # it is in the source tree, and the library has not been built yet
5548 # but it would be included on the link line in the version check below
5549 # hence making the test fail.
5553 # Specify a location for gmp
5555 # Check whether --with-gmp-dir was given.
5556 if test "${with_gmp_dir+set}" = set; then :
5557 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
5558 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5563 # Check whether --with-gmp was given.
5564 if test "${with_gmp+set}" = set; then :
5569 # Check whether --with-gmp-include was given.
5570 if test "${with_gmp_include+set}" = set; then :
5571 withval
=$with_gmp_include;
5575 # Check whether --with-gmp-lib was given.
5576 if test "${with_gmp_lib+set}" = set; then :
5577 withval
=$with_gmp_lib;
5582 if test "x$with_gmp" != x
; then
5583 gmplibs
="-L$with_gmp/lib $gmplibs"
5584 gmpinc
="-I$with_gmp/include $gmpinc"
5586 if test "x$with_gmp_include" != x
; then
5587 gmpinc
="-I$with_gmp_include $gmpinc"
5589 if test "x$with_gmp_lib" != x
; then
5590 gmplibs
="-L$with_gmp_lib $gmplibs"
5592 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5593 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5594 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5595 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5596 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5597 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5598 # Do not test the gmp version. Assume that it is sufficient, since
5599 # it is in the source tree, and the library has not been built yet
5600 # but it would be included on the link line in the version check below
5601 # hence making the test fail.
5605 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5607 saved_CFLAGS
="$CFLAGS"
5608 CFLAGS
="$CFLAGS $gmpinc"
5609 # Check for the recommended and required versions of GMP.
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5611 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5614 /* end confdefs.h. */
5620 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5621 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5622 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5630 if ac_fn_c_try_compile
"$LINENO"; then :
5631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5638 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5639 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5640 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5648 if ac_fn_c_try_compile
"$LINENO"; then :
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5650 $as_echo "yes" >&6; }
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5653 $as_echo "buggy but acceptable" >&6; }
5655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }; have_gmp
=no
5660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5662 # If we have GMP, check the MPFR version.
5663 if test x
"$have_gmp" = xyes
; then
5664 # Check for the recommended and required versions of MPFR.
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5666 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5668 /* end confdefs.h. */
5675 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5683 if ac_fn_c_try_compile
"$LINENO"; then :
5684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5685 /* end confdefs.h. */
5692 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5700 if ac_fn_c_try_compile
"$LINENO"; then :
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5702 $as_echo "yes" >&6; }
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5705 $as_echo "buggy but acceptable" >&6; }
5707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710 $as_echo "no" >&6; }; have_gmp
=no
5712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5715 # Check for the MPC header version.
5716 if test x
"$have_gmp" = xyes
; then
5717 # Check for the recommended and required versions of MPC.
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5719 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h. */
5727 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5735 if ac_fn_c_try_compile
"$LINENO"; then :
5736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5737 /* end confdefs.h. */
5743 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5751 if ac_fn_c_try_compile
"$LINENO"; then :
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5753 $as_echo "yes" >&6; }
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5756 $as_echo "buggy but acceptable" >&6; }
5758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761 $as_echo "no" >&6; }; have_gmp
=no
5763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5766 # Now check the MPFR library.
5767 if test x
"$have_gmp" = xyes
; then
5769 LIBS
="$LIBS $gmplibs"
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5771 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5773 /* end confdefs.h. */
5785 mpfr_atan2 (n, n, x, GMP_RNDN);
5786 mpfr_erfc (n, x, GMP_RNDN);
5787 mpfr_subnormalize (x, t, GMP_RNDN);
5791 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5792 mpc_cosh (c, c, MPC_RNDNN);
5793 mpc_pow (c, c, c, MPC_RNDNN);
5794 mpc_acosh (c, c, MPC_RNDNN);
5801 if ac_fn_c_try_link
"$LINENO"; then :
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5803 $as_echo "yes" >&6; }
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5806 $as_echo "no" >&6; }; have_gmp
=no
5808 rm -f core conftest.err conftest.
$ac_objext \
5809 conftest
$ac_exeext conftest.
$ac_ext
5813 CFLAGS
="$saved_CFLAGS"
5815 # The library versions listed in the error message below should match
5816 # the HARD-minimums enforced above.
5817 if test x
$have_gmp != xyes
; then
5818 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5819 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5820 their locations. Source code for these libraries can be found at
5821 their respective hosting sites as well as at
5822 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5823 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5824 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5825 make sure that you have installed both the libraries and the header
5826 files. They may be located in separate packages." "$LINENO" 5
5830 # Flags needed for both GMP, MPFR and/or MPC.
5838 # Libraries to use for stage1 or when not bootstrapping.
5840 # Check whether --with-stage1-libs was given.
5841 if test "${with_stage1_libs+set}" = set; then :
5842 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5845 stage1_libs
=$withval
5853 # Whether or not to use -static-libstdc++ and -static-libgcc. The
5854 # default is yes if gcc is being built; no otherwise. The reason for
5855 # this default is that gdb is sometimes linked against GNU Source
5856 # Highlight, which is a shared library that uses C++ exceptions. In
5857 # this case, -static-libstdc++ will cause crashes.
5859 # Check whether --with-static-standard-libraries was given.
5860 if test "${with_static_standard_libraries+set}" = set; then :
5861 withval
=$with_static_standard_libraries;
5863 with_static_standard_libraries
=auto
5866 if test "$with_static_standard_libraries" = auto
; then
5867 with_static_standard_libraries
=$have_compiler
5870 # Linker flags to use for stage1 or when not bootstrapping.
5872 # Check whether --with-stage1-ldflags was given.
5873 if test "${with_stage1_ldflags+set}" = set; then :
5874 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5877 stage1_ldflags
=$withval
5881 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5882 # if supported. But if the user explicitly specified the libraries to use,
5883 # trust that they are doing what they want.
5884 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
5885 -a "$have_static_libs" = yes; then
5886 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5892 # Libraries to use for stage2 and later builds.
5894 # Check whether --with-boot-libs was given.
5895 if test "${with_boot_libs+set}" = set; then :
5896 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5899 poststage1_libs
=$withval
5907 # Linker flags to use for stage2 and later builds.
5909 # Check whether --with-boot-ldflags was given.
5910 if test "${with_boot_ldflags+set}" = set; then :
5911 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5914 poststage1_ldflags
=$withval
5918 # In stages 2 and 3, default to linking libstdc++ and libgcc
5919 # statically. But if the user explicitly specified the libraries to
5920 # use, trust that they are doing what they want.
5921 if test "$poststage1_libs" = ""; then
5922 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5928 # GCC GRAPHITE dependency isl.
5929 # Basic setup is inlined here, actual checks are in config/isl.m4
5932 # Check whether --with-isl was given.
5933 if test "${with_isl+set}" = set; then :
5938 # Treat --without-isl as a request to disable
5939 # GRAPHITE support and skip all following checks.
5940 if test "x$with_isl" != "xno"; then
5944 # Check whether --with-isl-include was given.
5945 if test "${with_isl_include+set}" = set; then :
5946 withval
=$with_isl_include;
5950 # Check whether --with-isl-lib was given.
5951 if test "${with_isl_lib+set}" = set; then :
5952 withval
=$with_isl_lib;
5956 # Check whether --enable-isl-version-check was given.
5957 if test "${enable_isl_version_check+set}" = set; then :
5958 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5960 ENABLE_ISL_CHECK
=yes
5964 # Initialize isllibs and islinc.
5973 isllibs
="-L$with_isl/lib"
5974 islinc
="-I$with_isl/include"
5977 if test "x${with_isl_include}" != x
; then
5978 islinc
="-I$with_isl_include"
5980 if test "x${with_isl_lib}" != x
; then
5981 isllibs
="-L$with_isl_lib"
5983 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5984 && test -d ${srcdir}/isl
; then
5985 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5986 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
5989 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
5992 isllibs
="${isllibs} -lisl"
5996 if test "${ENABLE_ISL_CHECK}" = yes ; then
5997 _isl_saved_CFLAGS
=$CFLAGS
5998 _isl_saved_LDFLAGS
=$LDFLAGS
5999 _isl_saved_LIBS
=$LIBS
6001 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6002 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
6003 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
6006 $as_echo_n "checking for isl 0.15 or later... " >&6; }
6007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6008 /* end confdefs.h. */
6009 #include <isl/schedule.h>
6013 isl_options_set_schedule_serialize_sccs (NULL, 0);
6018 if ac_fn_c_try_link
"$LINENO"; then :
6023 rm -f core conftest.err conftest.
$ac_objext \
6024 conftest
$ac_exeext conftest.
$ac_ext
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6026 $as_echo "$gcc_cv_isl" >&6; }
6028 if test "${gcc_cv_isl}" = no
; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
6030 $as_echo "required isl version is 0.15 or later" >&6; }
6033 CFLAGS
=$_isl_saved_CFLAGS
6034 LDFLAGS
=$_isl_saved_LDFLAGS
6035 LIBS
=$_isl_saved_LIBS
6043 if test "x${with_isl}" = xno
; then
6044 graphite_requested
=no
6045 elif test "x${with_isl}" != x \
6046 ||
test "x${with_isl_include}" != x \
6047 ||
test "x${with_isl_lib}" != x
; then
6048 graphite_requested
=yes
6050 graphite_requested
=no
6055 if test "${gcc_cv_isl}" = no
; then
6060 if test "${graphite_requested}" = yes \
6061 && test "x${isllibs}" = x \
6062 && test "x${islinc}" = x
; then
6064 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6070 # If the isl check failed, disable builds of in-tree variant of isl
6071 if test "x$with_isl" = xno ||
6072 test "x$gcc_cv_isl" = xno
; then
6073 noconfigdirs
="$noconfigdirs isl"
6080 # Check for LTO support.
6081 # Check whether --enable-lto was given.
6082 if test "${enable_lto+set}" = set; then :
6083 enableval
=$enable_lto; enable_lto
=$enableval
6085 enable_lto
=yes; default_enable_lto
=yes
6094 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6095 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6096 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6105 if test $target_elf = yes; then :
6106 # ELF platforms build the lto-plugin always.
6107 build_lto_plugin
=yes
6110 if test x
"$default_enable_lto" = x
"yes" ; then
6112 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6113 # On other non-ELF platforms, LTO has yet to be validated.
6117 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6118 # It would also be nice to check the binutils support, but we don't
6119 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6120 # warn during gcc/ subconfigure; unless you're bootstrapping with
6121 # -flto it won't be needed until after installation anyway.
6123 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6124 *) if test x
"$enable_lto" = x
"yes"; then
6125 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
6130 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6131 # Build it unless LTO was explicitly disabled.
6133 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6140 # Check whether --enable-linker-plugin-configure-flags was given.
6141 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6142 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6144 extra_linker_plugin_configure_flags
=
6148 # Check whether --enable-linker-plugin-flags was given.
6149 if test "${enable_linker_plugin_flags+set}" = set; then :
6150 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6152 extra_linker_plugin_flags
=
6157 # Enable --enable-host-shared.
6158 # Checked early to determine whether jit is an 'all' language
6159 # Check whether --enable-host-shared was given.
6160 if test "${enable_host_shared+set}" = set; then :
6161 enableval
=$enable_host_shared; host_shared
=$enableval
6168 # By default, C and C++ are the only stage 1 languages.
6169 stage1_languages
=,c
,
6171 # Target libraries that we bootstrap.
6172 bootstrap_target_libs
=,target-libgcc
,
6174 # Figure out what language subdirectories are present.
6175 # Look if the user specified --enable-languages="..."; if not, use
6176 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6178 # NB: embedded tabs in this IF block -- do not untabify
6179 if test -d ${srcdir}/gcc
; then
6180 if test x
"${enable_languages+set}" != xset
; then
6181 if test x
"${LANGUAGES+set}" = xset
; then
6182 enable_languages
="${LANGUAGES}"
6183 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6185 enable_languages
=default
6188 if test x
"${enable_languages}" = x ||
6189 test x
"${enable_languages}" = xyes
;
6191 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6195 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6197 # 'f95' is the old name for the 'fortran' language. We issue a warning
6198 # and make the substitution.
6199 case ,${enable_languages}, in
6201 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6202 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6206 # If bootstrapping, C++ must be enabled.
6207 case ",$enable_languages,:$enable_bootstrap" in
6210 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6211 enable_languages
="${enable_languages},c++"
6213 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
6218 # First scan to see if an enabled language requires some other language.
6219 # We assume that a given config-lang.in will list all the language
6220 # front ends it requires, even if some are required indirectly.
6221 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6222 case ${lang_frag} in
6224 # The odd quoting in the next line works around
6225 # an apparent bug in bash 1.12 on linux.
6226 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6228 # From the config-lang.in, get $language, $lang_requires, and
6229 # $lang_requires_boot_languages.
6232 lang_requires_boot_languages
=
6233 # set srcdir during sourcing lang_frag to the gcc dir.
6234 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
6235 # polutes this shell
6236 saved_srcdir
=${srcdir}
6237 srcdir
=${srcdir}/gcc .
${lang_frag}
6238 srcdir
=${saved_srcdir}
6239 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6240 case ,${enable_languages}, in
6245 echo " \`$other' language required by \`$language'; enabling" 1>&2
6246 enable_languages
="${enable_languages},${other}"
6250 for other
in ${lang_requires_boot_languages} ; do
6251 if test "$other" != "c"; then
6252 case ,${enable_stage1_languages}, in
6257 case ,${enable_languages}, in
6259 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6260 enable_stage1_languages
="$enable_stage1_languages,${other}"
6271 new_enable_languages
=,c
,
6273 # If LTO is enabled, add the LTO front end.
6274 if test "$enable_lto" = "yes" ; then
6275 case ,${enable_languages}, in
6277 *) enable_languages
="${enable_languages},lto" ;;
6279 if test "${build_lto_plugin}" = "yes" ; then
6280 configdirs
="$configdirs lto-plugin"
6284 # If we're building an offloading compiler, add the LTO front end.
6285 if test x
"$enable_as_accelerator_for" != x
; then
6286 case ,${enable_languages}, in
6288 *) enable_languages
="${enable_languages},lto" ;;
6292 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
6293 potential_languages
=,c
,
6295 enabled_target_libs
=
6296 disabled_target_libs
=
6298 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6299 case ${lang_frag} in
6301 # The odd quoting in the next line works around
6302 # an apparent bug in bash 1.12 on linux.
6303 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6305 # From the config-lang.in, get $language, $target_libs,
6306 # $lang_dirs, $boot_language, and $build_by_default
6312 build_by_default
=yes
6313 # set srcdir during sourcing. See above about save & restore
6314 saved_srcdir
=${srcdir}
6315 srcdir
=${srcdir}/gcc .
${lang_frag}
6316 srcdir
=${saved_srcdir}
6317 if test x
${language} = x
; then
6318 echo "${lang_frag} doesn't set \$language." 1>&2
6322 if test "$language" = "c++"; then
6327 # C is always enabled, so no need to add it again
6328 if test "$language" != "c"; then
6329 case ,${enable_languages}, in
6331 # Language was explicitly selected; include it
6335 # All languages are enabled
6339 # 'default' was selected, select it if it is a default language
6340 add_this_lang
=${build_by_default}
6345 # Disable languages that need other directories if these aren't available.
6346 for i
in $subdir_requires; do
6347 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6348 case ${add_this_lang} in
6350 # Specifically requested language; tell them.
6351 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
6355 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
6356 add_this_lang
=unsupported
6360 add_this_lang
=unsupported
6365 # Disable Ada if no preexisting GNAT is available.
6366 case ${add_this_lang}:${language}:${have_gnat} in
6368 # Specifically requested language; tell them.
6369 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
6373 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
6374 add_this_lang
=unsupported
6378 add_this_lang
=unsupported
6382 # Disable jit if -enable-host-shared not specified
6383 case ${add_this_lang}:${language}:${host_shared} in
6385 # PR jit/64780: explicitly specify --enable-host-shared
6387 Enabling language \"jit\" requires --enable-host-shared.
6389 --enable-host-shared typically slows the rest of the compiler down by
6390 a few %, so you must explicitly enable it.
6392 If you want to build both the jit and the regular compiler, it is often
6393 best to do this via two separate configure/builds, in separate
6394 directories, to avoid imposing the performance cost of
6395 --enable-host-shared on the regular compiler." "$LINENO" 5
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
6399 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
6400 add_this_lang
=unsupported
6404 add_this_lang
=unsupported
6408 # Disable a language that is unsupported by the target.
6409 case "${add_this_lang}: $unsupported_languages " in
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
6414 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
6415 add_this_lang
=unsupported
6419 case $add_this_lang in
6421 # Remove language-dependent dirs.
6422 disabled_target_libs
="$disabled_target_libs $target_libs"
6423 noconfigdirs
="$noconfigdirs $lang_dirs"
6426 # Remove language-dependent dirs; still show language as supported.
6427 disabled_target_libs
="$disabled_target_libs $target_libs"
6428 noconfigdirs
="$noconfigdirs $lang_dirs"
6429 potential_languages
="${potential_languages}${language},"
6432 new_enable_languages
="${new_enable_languages}${language},"
6433 potential_languages
="${potential_languages}${language},"
6434 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6435 enabled_target_libs
="$enabled_target_libs $target_libs"
6436 case "${boot_language}:,$enable_stage1_languages," in
6437 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6438 # Add to (comma-separated) list of stage 1 languages.
6439 case ",$stage1_languages," in
6440 *,$language,* |
,yes, |
,all
,) ;;
6441 *) stage1_languages
="${stage1_languages}${language}," ;;
6443 # We need to bootstrap any supporting libraries.
6444 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6453 # Add target libraries which are only needed for disabled languages
6455 if test -n "$disabled_target_libs"; then
6456 for dir
in $disabled_target_libs; do
6457 case " $enabled_target_libs " in
6459 *) noconfigdirs
="$noconfigdirs $dir" ;;
6464 # Check whether --enable-stage1-languages was given.
6465 if test "${enable_stage1_languages+set}" = set; then :
6466 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6468 # Set it to something that will have no effect in the loop below
6469 enable_stage1_languages
=c
;;
6471 enable_stage1_languages
=`echo $new_enable_languages | \
6472 sed -e "s/^,//" -e "s/,$//" ` ;;
6474 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6475 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6478 # Add "good" languages from enable_stage1_languages to stage1_languages,
6479 # while "bad" languages go in missing_languages. Leave no duplicates.
6480 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6481 case $potential_languages in
6483 case $stage1_languages in
6485 *) stage1_languages
="$stage1_languages$i," ;;
6488 case $missing_languages in
6490 *) missing_languages
="$missing_languages$i," ;;
6497 # Remove leading/trailing commas that were added for simplicity
6498 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6499 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6500 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6501 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6503 if test "x$missing_languages" != x
; then
6505 The following requested languages could not be built: ${missing_languages}
6506 Supported languages are: ${potential_languages}" "$LINENO" 5
6508 if test "x$new_enable_languages" != "x$enable_languages"; then
6509 echo The following languages will be built
: ${new_enable_languages}
6510 enable_languages
="$new_enable_languages"
6514 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6517 # Handle --disable-<component> generically.
6518 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6519 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6520 varname
=`echo $dirname | sed -e s/+/_/g`
6521 if eval test x\
${enable_${varname}} "=" xno
; then
6522 noconfigdirs
="$noconfigdirs $dir"
6526 # Check for Boehm's garbage collector
6527 # Check whether --enable-objc-gc was given.
6528 if test "${enable_objc_gc+set}" = set; then :
6529 enableval
=$enable_objc_gc;
6533 # Check whether --with-target-bdw-gc was given.
6534 if test "${with_target_bdw_gc+set}" = set; then :
6535 withval
=$with_target_bdw_gc;
6539 # Check whether --with-target-bdw-gc-include was given.
6540 if test "${with_target_bdw_gc_include+set}" = set; then :
6541 withval
=$with_target_bdw_gc_include;
6545 # Check whether --with-target-bdw-gc-lib was given.
6546 if test "${with_target_bdw_gc_lib+set}" = set; then :
6547 withval
=$with_target_bdw_gc_lib;
6551 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6553 $as_echo_n "checking for bdw garbage collector... " >&6; }
6554 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6556 $as_echo "using bdw-gc in default locations" >&6; }
6558 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6559 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6560 elif 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-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6564 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6569 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6570 case ,${enable_languages}, in
6572 # Disable libitm, libsanitizer if we're not building libstdc++
6573 case "${noconfigdirs}" in
6574 *target-libstdc
++-v3*)
6575 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
6581 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6585 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6586 # $build_configdirs and $target_configdirs.
6587 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6590 for dir
in .
$skipdirs $noconfigdirs ; do
6591 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6592 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6593 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6594 if test -r $srcdir/$dirname/configure
; then
6595 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6598 notsupp
="$notsupp $dir"
6602 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6603 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6604 if test -r $srcdir/$dirname/configure
; then
6605 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6608 notsupp
="$notsupp $dir"
6612 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6613 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6614 if test -r $srcdir/$dirname/configure
; then
6615 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6618 notsupp
="$notsupp $dir"
6624 # Quietly strip out all directories which aren't configurable in this tree.
6625 # This relies on all configurable subdirectories being autoconfiscated, which
6627 build_configdirs_all
="$build_configdirs"
6629 for i
in ${build_configdirs_all} ; do
6630 j
=`echo $i | sed -e s/build-//g`
6631 if test -f ${srcdir}/$j/configure
; then
6632 build_configdirs
="${build_configdirs} $i"
6636 configdirs_all
="$configdirs"
6638 for i
in ${configdirs_all} ; do
6639 if test -f ${srcdir}/$i/configure
; then
6640 configdirs
="${configdirs} $i"
6644 target_configdirs_all
="$target_configdirs"
6646 for i
in ${target_configdirs_all} ; do
6647 j
=`echo $i | sed -e s/target-//g`
6648 if test -f ${srcdir}/$j/configure
; then
6649 target_configdirs
="${target_configdirs} $i"
6653 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6654 # so we have to add it after the preceding checks.
6655 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6657 case " $configdirs " in
6659 # If we can build libiberty, we can also build libiberty-linker-plugin.
6660 configdirs
="$configdirs libiberty-linker-plugin"
6661 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6662 --with-libiberty=../libiberty-linker-plugin";;
6664 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
6668 # Sometimes we have special requirements for the host libiberty.
6669 extra_host_libiberty_configure_flags
=
6670 extra_host_zlib_configure_flags
=
6671 case " $configdirs " in
6672 *" lto-plugin "* |
*" libcc1 "*)
6673 # When these are to be built as shared libraries, the same applies to
6675 extra_host_libiberty_configure_flags
=--enable-shared
6678 # When bfd is to be built as a shared library, the same applies to
6680 if test "$enable_shared" = "yes"; then
6681 extra_host_zlib_configure_flags
=--enable-host-shared
6688 # Produce a warning message for the subdirs we can't configure.
6689 # This isn't especially interesting in the Cygnus tree, but in the individual
6690 # FSF releases, it's important to let people know when their machine isn't
6691 # supported by the one or two programs in a package.
6693 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6694 # If $appdirs is non-empty, at least one of those directories must still
6695 # be configured, or we error out. (E.g., if the gas release supports a
6696 # specified target in some subdirs but not the gas subdir, we shouldn't
6697 # pretend that all is well.)
6698 if test -n "$appdirs" ; then
6699 for dir
in $appdirs ; do
6700 if test -r $dir/Makefile.
in ; then
6701 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6705 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6711 if test -n "$appdirs" ; then
6712 echo "*** This configuration is not supported by this package." 1>&2
6716 # Okay, some application will build, or we don't care to check. Still
6717 # notify of subdirs not getting built.
6718 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6719 echo " ${notsupp}" 1>&2
6720 echo " (Any other directories should still work fine.)" 1>&2
6728 # To find our prefix, in gcc_cv_tool_prefix.
6730 # The user is always right.
6731 if test "${PATH_SEPARATOR+set}" != set; then
6732 echo "#! /bin/sh" >conf$$.sh
6733 echo "exit 0" >>conf$$.sh
6735 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6744 get_gcc_base_ver
="cat"
6746 # Check whether --with-gcc-major-version-only was given.
6747 if test "${with_gcc_major_version_only+set}" = set; then :
6748 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
6749 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
6759 if test "x$exec_prefix" = xNONE
; then
6760 if test "x$prefix" = xNONE
; then
6761 gcc_cv_tool_prefix
=$ac_default_prefix
6763 gcc_cv_tool_prefix
=$prefix
6766 gcc_cv_tool_prefix
=$exec_prefix
6769 # If there is no compiler in the tree, use the PATH only. In any
6770 # case, if there is no compiler in the tree nobody should use
6771 # AS_FOR_TARGET and LD_FOR_TARGET.
6772 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6773 if test x
$with_gcc_major_version_only = xyes
; then
6774 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
6776 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6778 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6779 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6780 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6781 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6782 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6783 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6788 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6789 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6797 # Check whether --with-build-sysroot was given.
6798 if test "${with_build_sysroot+set}" = set; then :
6799 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6800 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6803 SYSROOT_CFLAGS_FOR_TARGET
=
6809 # Check whether --with-debug-prefix-map was given.
6810 if test "${with_debug_prefix_map+set}" = set; then :
6811 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6812 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6813 for debug_map
in $withval; do
6814 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6818 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6823 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6824 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6825 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6826 # We want to ensure that TARGET libraries (which we know are built with
6827 # gcc) are built with "-O2 -g", so include those options when setting
6828 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6829 if test "x$CFLAGS_FOR_TARGET" = x
; then
6830 if test "x${is_cross_compiler}" = xyes
; then
6831 CFLAGS_FOR_TARGET
="-g -O2"
6833 CFLAGS_FOR_TARGET
=$CFLAGS
6836 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6839 *" -g "* |
*" -g3 "*) ;;
6840 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6846 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6847 if test "x${is_cross_compiler}" = xyes
; then
6848 CXXFLAGS_FOR_TARGET
="-g -O2"
6850 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6851 case " $CXXFLAGS " in
6853 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6855 case " $CXXFLAGS " in
6856 *" -g "* |
*" -g3 "*) ;;
6857 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6865 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6866 # the named directory are copied to $(tooldir)/sys-include.
6867 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6868 if test x
${is_cross_compiler} = xno
; then
6869 echo 1>&2 '***' --with-headers is only supported when cross compiling
6872 if test x
"${with_headers}" != xyes
; then
6873 x
=${gcc_cv_tool_prefix}
6874 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6878 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6879 # the name directories are copied to $(tooldir)/lib. Multiple directories
6881 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6882 if test x
${is_cross_compiler} = xno
; then
6883 echo 1>&2 '***' --with-libs is only supported when cross compiling
6886 if test x
"${with_libs}" != xyes
; then
6887 # Copy the libraries in reverse order, so that files in the first named
6888 # library override files in subsequent libraries.
6889 x
=${gcc_cv_tool_prefix}
6890 for l
in ${with_libs}; do
6891 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6896 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6898 # This is done by determining whether or not the appropriate directory
6899 # is available, and by checking whether or not specific configurations
6900 # have requested that this magic not happen.
6902 # The command line options always override the explicit settings in
6903 # configure.ac, and the settings in configure.ac override this magic.
6905 # If the default for a toolchain is to use GNU as and ld, and you don't
6906 # want to do that, then you should use the --without-gnu-as and
6907 # --without-gnu-ld options for the configure script. Similarly, if
6908 # the default is to use the included zlib and you don't want to do that,
6909 # you should use the --with-system-zlib option for the configure script.
6911 if test x
${use_gnu_as} = x
&&
6912 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6914 extra_host_args
="$extra_host_args --with-gnu-as"
6917 if test x
${use_gnu_ld} = x
&&
6918 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6920 extra_host_args
="$extra_host_args --with-gnu-ld"
6923 if test x
${use_included_zlib} = x
&&
6924 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6927 with_system_zlib
=yes
6928 extra_host_args
="$extra_host_args --with-system-zlib"
6931 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6932 # can detect this case.
6934 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6936 extra_host_args
="$extra_host_args --with-newlib"
6939 # Handle ${copy_dirs}
6940 set fnord
${copy_dirs}
6942 while test $# != 0 ; do
6943 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6946 echo Copying
$1 to
$2
6948 # Use the install script to create the directory and all required
6949 # parent directories.
6950 if test -d $2 ; then
6954 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6957 # Copy the directory, assuming we have tar.
6958 # FIXME: Should we use B in the second tar? Not all systems support it.
6959 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6961 # It is the responsibility of the user to correctly adjust all
6962 # symlinks. If somebody can figure out how to handle them correctly
6963 # here, feel free to add the code.
6970 # Determine a target-dependent exec_prefix that the installed
6971 # gcc will search in. Keep this list sorted by triplet, with
6972 # the *-*-osname triplets last.
6975 i
[34567]86-pc-msdosdjgpp*)
6976 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6981 md_exec_prefix
=/usr
/ccs
/bin
6985 extra_arflags_for_target
=
6986 extra_nmflags_for_target
=
6987 extra_ranlibflags_for_target
=
6988 target_makefile_frag
=/dev
/null
6991 target_makefile_frag
="config/mt-spu"
6993 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6994 target_makefile_frag
="config/mt-sde"
6996 mipsisa
*-*-elfoabi*)
6997 target_makefile_frag
="config/mt-mips-elfoabi"
6999 mips
*-*-*linux
* | mips
*-*-gnu*)
7000 target_makefile_frag
="config/mt-mips-gnu"
7003 target_makefile_frag
="config/mt-nios2-elf"
7006 target_makefile_frag
="config/mt-android"
7008 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7009 target_makefile_frag
="config/mt-gnu"
7011 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7012 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7013 # commands to handle both 32-bit and 64-bit objects. These flags are
7014 # harmless if we're using GNU nm or ar.
7015 extra_arflags_for_target
=" -X32_64"
7016 extra_nmflags_for_target
=" -B -X32_64"
7020 alphaieee_frag
=/dev
/null
7023 # This just makes sure to use the -mieee option to build target libs.
7024 # This should probably be set individually by each library.
7025 alphaieee_frag
="config/mt-alphaieee"
7029 # If --enable-target-optspace always use -Os instead of -O2 to build
7030 # the target libraries, similarly if it is not specified, use -Os
7031 # on selected platforms.
7032 ospace_frag
=/dev
/null
7033 case "${enable_target_optspace}:${target}" in
7035 ospace_frag
="config/mt-ospace"
7038 ospace_frag
="config/mt-d30v"
7040 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
7041 ospace_frag
="config/mt-ospace"
7046 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7050 # Some systems (e.g., one of the i386-aix systems the gas testers are
7051 # using) don't handle "\$" correctly, so don't use it here.
7052 tooldir
='${exec_prefix}'/${target_noncanonical}
7053 build_tooldir
=${tooldir}
7055 # Create a .gdbinit file which runs the one in srcdir
7056 # and tells GDB to look there for source files.
7058 if test -r ${srcdir}/.gdbinit
; then
7061 *) cat > .
/.gdbinit
<<EOF
7065 source ${srcdir}/.gdbinit
7071 # Make sure that the compiler is able to generate an executable. If it
7072 # can't, we are probably in trouble. We don't care whether we can run the
7073 # executable--we might be using a cross compiler--we only care whether it
7074 # can be created. At this point the main configure script has set CC.
7076 echo "int main () { return 0; }" > conftest.c
7077 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7078 if test $?
= 0 ; then
7079 if test -s conftest ||
test -s conftest.exe
; then
7085 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7086 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7093 # Decide which environment variable is used to find dynamic libraries.
7095 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7096 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7097 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7098 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7101 # On systems where the dynamic library environment variable is PATH,
7102 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7103 # built executables to PATH.
7104 if test "$RPATH_ENVVAR" = PATH
; then
7105 GCC_SHLIB_SUBDIR
=/shlib
7110 # Adjust the toplevel makefile according to whether bootstrap was selected.
7111 case $enable_bootstrap in
7113 bootstrap_suffix
=bootstrap
7114 BUILD_CONFIG
=bootstrap-debug
7117 bootstrap_suffix
=no-bootstrap
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7123 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7126 # Check whether --with-build-config was given.
7127 if test "${with_build_config+set}" = set; then :
7128 withval
=$with_build_config; case $with_build_config in
7129 yes) with_build_config
= ;;
7130 no
) with_build_config
= BUILD_CONFIG
= ;;
7135 if test "x${with_build_config}" != x
; then
7136 BUILD_CONFIG
=$with_build_config
7138 case $BUILD_CONFIG in
7140 if echo "int f (void) { return 0; }" > conftest.c
&&
7141 ${CC} -c conftest.c
&&
7142 mv conftest.o conftest.o.g0
&&
7143 ${CC} -c -g conftest.c
&&
7144 mv conftest.o conftest.o.g
&&
7145 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7150 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7155 $as_echo "$BUILD_CONFIG" >&6; }
7158 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7160 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7161 # Check whether --enable-vtable-verify was given.
7162 if test "${enable_vtable_verify+set}" = set; then :
7163 enableval
=$enable_vtable_verify; case "$enableval" in
7164 yes) enable_vtable_verify
=yes ;;
7165 no
) enable_vtable_verify
=no
;;
7166 *) enable_vtable_verify
=no
;;
7169 enable_vtable_verify
=no
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7173 $as_echo "$enable_vtable_verify" >&6; }
7175 # Record target_configdirs and the configure arguments for target and
7176 # build configuration in Makefile.
7177 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7178 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7179 bootstrap_fixincludes
=no
7181 # If we are building libgomp, bootstrap it.
7182 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7183 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7186 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7187 # or bootstrap-ubsan, bootstrap it.
7188 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7189 case "$BUILD_CONFIG" in
7190 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7191 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7192 bootstrap_fixincludes
=yes
7197 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7198 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7199 test "$enable_vtable_verify" != no
; then
7200 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7203 # Determine whether gdb needs tk/tcl or not.
7204 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7205 # and in that case we want gdb to be built without tk. Ugh!
7206 # In fact I believe gdb is the *only* package directly dependent on tk,
7207 # so we should be able to put the 'maybe's in unconditionally and
7208 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7209 # 100% sure that that's safe though.
7211 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7212 case "$enable_gdbtk" in
7216 GDB_TK
="${gdb_tk}" ;;
7218 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7219 # distro. Eventually someone will fix this and move Insight, nee
7220 # gdbtk to a separate directory.
7221 if test -d ${srcdir}/gdb
/gdbtk
; then
7228 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7229 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7231 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
7232 # else does, only include them if one of these is built. The Makefile
7233 # provides the ordering, so it's enough here to add to the list.
7234 case " ${configdirs} " in
7236 configdirs
="${configdirs} gnulib gdbsupport"
7239 configdirs
="${configdirs} gnulib gdbsupport"
7243 # Strip out unwanted targets.
7245 # While at that, we remove Makefiles if we were started for recursive
7246 # configuration, so that the top-level Makefile reconfigures them,
7247 # like we used to do when configure itself was recursive.
7249 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7250 # but now we're fixing up the Makefile ourselves with the additional
7251 # commands passed to AC_CONFIG_FILES. Use separate variables
7252 # extrasub-{build,host,target} not because there is any reason to split
7253 # the substitutions up that way, but only to remain below the limit of
7254 # 99 commands in a script, for HP-UX sed.
7256 # Do not nest @if/@endif or @unless/@endunless pairs, because
7257 # configure will not warn you at all.
7259 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7260 yes:yes:*\ gold\
*:*,c
++,*) ;;
7261 yes:yes:*\ gold\
*:*)
7262 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7267 for module
in ${build_configdirs} ; do
7268 if test -z "${no_recursion}" \
7269 && test -f ${build_subdir}/${module}/Makefile
; then
7270 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7271 rm -f ${build_subdir}/${module}/Makefile
7273 extrasub_build
="$extrasub_build
7274 /^@if build-$module\$/d
7275 /^@endif build-$module\$/d
7276 /^@unless build-$module\$/,/^@endunless build-$module\$/d
7277 /^@if build-$module-$bootstrap_suffix\$/d
7278 /^@endif build-$module-$bootstrap_suffix\$/d
7279 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
7282 for module
in ${configdirs} ; do
7283 if test -z "${no_recursion}"; then
7284 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7285 if test -f ${file}; then
7286 echo 1>&2 "*** removing ${file} to force reconfigure"
7291 case ${module},${bootstrap_fixincludes} in
7292 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7293 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7295 extrasub_host
="$extrasub_host
7297 /^@endif $module\$/d
7298 /^@unless $module\$/,/^@endunless $module\$/d
7299 /^@if $module-$host_bootstrap_suffix\$/d
7300 /^@endif $module-$host_bootstrap_suffix\$/d
7301 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
7304 for module
in ${target_configdirs} ; do
7305 if test -z "${no_recursion}" \
7306 && test -f ${target_subdir}/${module}/Makefile
; then
7307 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7308 rm -f ${target_subdir}/${module}/Makefile
7311 # We only bootstrap target libraries listed in bootstrap_target_libs.
7312 case $bootstrap_target_libs in
7313 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7314 *) target_bootstrap_suffix
=no-bootstrap
;;
7317 extrasub_target
="$extrasub_target
7318 /^@if target-$module\$/d
7319 /^@endif target-$module\$/d
7320 /^@unless target-$module\$/,/^@endunless target-$module\$/d
7321 /^@if target-$module-$target_bootstrap_suffix\$/d
7322 /^@endif target-$module-$target_bootstrap_suffix\$/d
7323 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
7326 # Do the final fixup along with target modules.
7327 extrasub_target
="$extrasub_target
7332 # Create the serialization dependencies. This uses a temporary file.
7334 # Check whether --enable-serial-configure was given.
7335 if test "${enable_serial_configure+set}" = set; then :
7336 enableval
=$enable_serial_configure;
7340 case ${enable_serial_configure} in
7342 enable_serial_build_configure
=yes
7343 enable_serial_host_configure
=yes
7344 enable_serial_target_configure
=yes
7348 # These force 'configure's to be done one at a time, to avoid problems
7349 # with contention over a shared config.cache.
7351 echo '# serdep.tmp' > serdep.tmp
7353 test "x${enable_serial_build_configure}" = xyes
&&
7354 for item
in ${build_configdirs} ; do
7357 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7362 test "x${enable_serial_host_configure}" = xyes
&&
7363 for item
in ${configdirs} ; do
7366 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7371 test "x${enable_serial_target_configure}" = xyes
&&
7372 for item
in ${target_configdirs} ; do
7375 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7379 serialization_dependencies
=serdep.tmp
7382 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7383 # target, nonopt, and variable assignments. These are the ones we
7384 # might not want to pass down to subconfigures. The exception being
7385 # --cache-file=/dev/null, which is used to turn off the use of cache
7386 # files altogether, and which should be passed on to subconfigures.
7387 # Also strip program-prefix, program-suffix, and program-transform-name,
7388 # so that we can pass down a consistent program-transform-name.
7393 eval "set -- $ac_configure_args"
7396 if test X
"$skip_next" = X
"yes"; then
7400 if test X
"$keep_next" = X
"yes"; then
7403 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7405 baseargs
="$baseargs '$ac_arg'"
7406 tbaseargs
="$tbaseargs '$ac_arg'"
7411 # Handle separated arguments. Based on the logic generated by
7414 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7415 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7416 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7417 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7431 --with-* |
--without-*)
7432 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7436 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7439 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7448 mpc | mpfr | gmp | isl
)
7449 # If we're processing --with-$lib, --with-$lib-include or
7450 # --with-$lib-lib, for one of the libs above, and target is
7451 # different from host, don't pass the current argument to any
7452 # target library's configure.
7453 if test x
$is_cross_compiler = xyes
; then
7462 --cache-file=/dev
/null | \
7463 -cache-file=/dev
/null
)
7464 # Handled here to avoid the test to skip args below.
7465 baseargs
="$baseargs '$ac_arg'"
7466 tbaseargs
="$tbaseargs '$ac_arg'"
7467 # Assert: $separate_arg should always be no.
7468 keep_next
=$separate_arg
7484 -program-prefix* | \
7485 -program-suffix* | \
7486 -program-transform-name* )
7487 skip_next
=$separate_arg
7491 # An option. Add it.
7494 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7496 baseargs
="$baseargs '$ac_arg'"
7497 if test X
"$skip_targ" = Xno
; then
7498 tbaseargs
="$tbaseargs '$ac_arg'"
7500 keep_next
=$separate_arg
7503 # Either a variable assignment, or a nonopt (triplet). Don't
7504 # pass it down; let the Makefile handle this.
7509 # Remove the initial space we just introduced and, as these will be
7510 # expanded by make, quote '$'.
7511 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7513 # Add in --program-transform-name, after --program-prefix and
7514 # --program-suffix have been applied to it. Autoconf has already
7515 # doubled dollar signs and backslashes in program_transform_name; we want
7516 # the backslashes un-doubled, and then the entire thing wrapped in single
7517 # quotes, because this will be expanded first by make and then by the shell.
7518 # Also, because we want to override the logic in subdir configure scripts to
7519 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7520 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7521 ${program_transform_name}
7523 gcc_transform_name
=`cat conftestsed.out`
7524 rm -f conftestsed.out
7525 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7526 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7527 if test "$silent" = yes; then
7528 baseargs
="$baseargs --silent"
7529 tbaseargs
="$tbaseargs --silent"
7531 baseargs
="$baseargs --disable-option-checking"
7532 tbaseargs
="$tbaseargs --disable-option-checking"
7534 # Record and document user additions to sub configure arguments.
7539 # For the build-side libraries, we just need to pretend we're native,
7540 # and not use the same cache file. Multilibs are neither needed nor
7541 # desired. We can't even use the same cache file for all build-side
7542 # libraries, as they're compiled differently; some with C, some with
7543 # C++ or with different feature-enabling options.
7544 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7546 # For host modules, accept cache file option, or specification as blank.
7547 case "${cache_file}" in
7549 cache_file_option
="" ;;
7550 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7551 cache_file_option
="--cache-file=${cache_file}" ;;
7553 cache_file_option
="--cache-file=../${cache_file}" ;;
7556 # Host dirs don't like to share a cache file either, horribly enough.
7557 # This seems to be due to autoconf 2.5x stupidity.
7558 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7560 target_configargs
="$target_configargs ${tbaseargs}"
7562 # Passing a --with-cross-host argument lets the target libraries know
7563 # whether they are being built with a cross-compiler or being built
7564 # native. However, it would be better to use other mechanisms to make the
7565 # sorts of decisions they want to make on this basis. Please consider
7566 # this option to be deprecated. FIXME.
7567 if test x
${is_cross_compiler} = xyes
; then
7568 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7571 # Special user-friendly check for native x86_64-linux build, if
7572 # multilib is not explicitly enabled.
7573 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7574 x86_64-
*linux
*:yes:$build:$build:)
7575 # Make sure we have a development environment that handles 32-bit
7577 echo "int main () { return 0; }" > conftest.c
7578 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7579 if test $?
= 0 ; then
7580 if test -s conftest ||
test -s conftest.exe
; then
7585 if test x
${dev64} != xyes
; then
7586 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
7591 # Default to --enable-multilib.
7592 if test x
${enable_multilib} = x
; then
7593 target_configargs
="--enable-multilib ${target_configargs}"
7596 # Pass --with-newlib if appropriate. Note that target_configdirs has
7597 # changed from the earlier setting of with_newlib.
7598 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7599 target_configargs
="--with-newlib ${target_configargs}"
7602 # Different target subdirs use different values of certain variables
7603 # (notably CXX). Worse, multilibs use *lots* of different values.
7604 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7605 # it doesn't automatically accept command-line overrides of them.
7606 # This means it's not safe for target subdirs to share a cache file,
7607 # which is disgusting, but there you have it. Hopefully this can be
7608 # fixed in future. It's still worthwhile to use a cache file for each
7609 # directory. I think.
7611 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7612 # We need to pass --target, as newer autoconf's requires consistency
7613 # for target_alias and gcc doesn't manage it consistently.
7614 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7617 case " $target_configdirs " in
7619 case " $target_configargs " in
7620 *" --with-newlib "*)
7623 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7627 # If we're not building GCC, don't discard standard headers.
7628 if test -d ${srcdir}/gcc
; then
7629 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7631 if test "${build}" != "${host}"; then
7632 # On Canadian crosses, CC_FOR_TARGET will have already been set
7633 # by `configure', so we won't have an opportunity to add -Bgcc/
7634 # to it. This is right: we don't want to search that directory
7635 # for binaries, but we want the header files in there, so add
7637 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7639 # Someone might think of using the pre-installed headers on
7640 # Canadian crosses, in case the installed compiler is not fully
7641 # compatible with the compiler being built. In this case, it
7642 # would be better to flag an error than risking having
7643 # incompatible object files being constructed. We can't
7644 # guarantee that an error will be flagged, but let's hope the
7645 # compiler will do it, when presented with incompatible header
7650 case "${target}-${is_cross_compiler}" in
7651 i
[3456789]86-*-linux*-no)
7652 # Here host == target, so we don't need to build gcc,
7653 # so we don't want to discard standard headers.
7654 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7657 # If we're building newlib, use its generic headers last, but search
7658 # for any libc-related directories first (so make it the last -B
7660 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7662 # If we're building libgloss, find the startup file, simulator library
7663 # and linker script.
7664 case " $target_configdirs " in
7666 # Look for startup file, simulator library and maybe linker script.
7667 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7668 # Look for libnosys.a in case the target needs it.
7669 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7670 # Most targets have the linker script in the source directory.
7671 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7682 x86_64-
*mingw
* |
*-w64-mingw*)
7683 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7684 # however, use a symlink named 'mingw' in ${prefix} .
7685 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7688 # MinGW can't be handled as Cygwin above since it does not use newlib.
7689 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'
7693 # Allow the user to override the flags for
7694 # our build compiler if desired.
7695 if test x
"${build}" = x
"${host}" ; then
7696 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7697 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7698 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7701 # On Canadian crosses, we'll be searching the right directories for
7702 # the previously-installed cross compiler, so don't bother to add
7703 # flags for directories within the install tree of the compiler
7704 # being built; programs in there won't even run.
7705 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7706 # Search for pre-installed headers if nothing else fits.
7707 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7710 if test "x
${use_gnu_ld}" = x &&
7711 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7712 # Arrange for us to find uninstalled linker scripts.
7713 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7716 # Search for other target-specific linker scripts and such.
7719 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7723 # Makefile fragments.
7724 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7726 eval fragval=\$$frag
7727 if test $fragval != /dev/null; then
7728 eval $frag=${srcdir}/$fragval
7736 # Miscellanea: directories, flags, etc.
7745 # Build module lists & subconfigure args.
7749 # Host module lists & subconfigure args.
7754 # Target module lists & subconfigure args.
7775 # Generate default definitions for YACC, M4, LEX and other programs that run
7776 # on the build machine. These are used if the Makefile can't locate these
7777 # programs in objdir.
7778 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7780 for ac_prog in 'bison -y' byacc yacc
7782 # Extract the first word of "$ac_prog", so it can be a program name with args.
7783 set dummy $ac_prog; ac_word=$2
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7785 $as_echo_n "checking
for $ac_word...
" >&6; }
7786 if ${ac_cv_prog_YACC+:} false; then :
7787 $as_echo_n "(cached
) " >&6
7789 if test -n "$YACC"; then
7790 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7796 test -z "$as_dir" && as_dir=.
7797 for ac_exec_ext in '' $ac_executable_extensions; do
7798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7799 ac_cv_prog_YACC="$ac_prog"
7800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7809 YACC=$ac_cv_prog_YACC
7810 if test -n "$YACC"; then
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7812 $as_echo "$YACC" >&6; }
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7815 $as_echo "no
" >&6; }
7819 test -n "$YACC" && break
7821 test -n "$YACC" || YACC="$MISSING bison
-y"
7823 case " $build_configdirs " in
7824 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7827 for ac_prog in bison
7829 # Extract the first word of "$ac_prog", so it can be a program name with args.
7830 set dummy $ac_prog; ac_word=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7832 $as_echo_n "checking
for $ac_word...
" >&6; }
7833 if ${ac_cv_prog_BISON+:} false; then :
7834 $as_echo_n "(cached
) " >&6
7836 if test -n "$BISON"; then
7837 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7843 test -z "$as_dir" && as_dir=.
7844 for ac_exec_ext in '' $ac_executable_extensions; do
7845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7846 ac_cv_prog_BISON="$ac_prog"
7847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7856 BISON=$ac_cv_prog_BISON
7857 if test -n "$BISON"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7859 $as_echo "$BISON" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7862 $as_echo "no
" >&6; }
7866 test -n "$BISON" && break
7868 test -n "$BISON" || BISON="$MISSING bison
"
7870 case " $build_configdirs " in
7871 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7874 for ac_prog in gm4 gnum4 m4
7876 # Extract the first word of "$ac_prog", so it can be a program name with args.
7877 set dummy $ac_prog; ac_word=$2
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7879 $as_echo_n "checking
for $ac_word...
" >&6; }
7880 if ${ac_cv_prog_M4+:} false; then :
7881 $as_echo_n "(cached
) " >&6
7883 if test -n "$M4"; then
7884 ac_cv_prog_M4="$M4" # Let the user override the test.
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7890 test -z "$as_dir" && as_dir=.
7891 for ac_exec_ext in '' $ac_executable_extensions; do
7892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7893 ac_cv_prog_M4="$ac_prog"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7904 if test -n "$M4"; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7906 $as_echo "$M4" >&6; }
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7909 $as_echo "no
" >&6; }
7913 test -n "$M4" && break
7915 test -n "$M4" || M4="$MISSING m4"
7917 case " $build_configdirs " in
7918 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7921 for ac_prog in flex lex
7923 # Extract the first word of "$ac_prog", so it can be a program name with args.
7924 set dummy $ac_prog; ac_word=$2
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7926 $as_echo_n "checking
for $ac_word...
" >&6; }
7927 if ${ac_cv_prog_LEX+:} false; then :
7928 $as_echo_n "(cached
) " >&6
7930 if test -n "$LEX"; then
7931 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7937 test -z "$as_dir" && as_dir=.
7938 for ac_exec_ext in '' $ac_executable_extensions; do
7939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7940 ac_cv_prog_LEX="$ac_prog"
7941 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7951 if test -n "$LEX"; then
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7953 $as_echo "$LEX" >&6; }
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7956 $as_echo "no
" >&6; }
7960 test -n "$LEX" && break
7962 test -n "$LEX" || LEX="$MISSING flex
"
7964 case " $build_configdirs " in
7965 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7966 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7971 # Extract the first word of "$ac_prog", so it can be a program name with args.
7972 set dummy $ac_prog; ac_word=$2
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7974 $as_echo_n "checking
for $ac_word...
" >&6; }
7975 if ${ac_cv_prog_FLEX+:} false; then :
7976 $as_echo_n "(cached
) " >&6
7978 if test -n "$FLEX"; then
7979 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7985 test -z "$as_dir" && as_dir=.
7986 for ac_exec_ext in '' $ac_executable_extensions; do
7987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7988 ac_cv_prog_FLEX="$ac_prog"
7989 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7998 FLEX=$ac_cv_prog_FLEX
7999 if test -n "$FLEX"; then
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
8001 $as_echo "$FLEX" >&6; }
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8004 $as_echo "no
" >&6; }
8008 test -n "$FLEX" && break
8010 test -n "$FLEX" || FLEX="$MISSING flex
"
8012 case " $build_configdirs " in
8013 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8016 for ac_prog in makeinfo
8018 # Extract the first word of "$ac_prog", so it can be a program name with args.
8019 set dummy $ac_prog; ac_word=$2
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8021 $as_echo_n "checking
for $ac_word...
" >&6; }
8022 if ${ac_cv_prog_MAKEINFO+:} false; then :
8023 $as_echo_n "(cached
) " >&6
8025 if test -n "$MAKEINFO"; then
8026 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8032 test -z "$as_dir" && as_dir=.
8033 for ac_exec_ext in '' $ac_executable_extensions; do
8034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8035 ac_cv_prog_MAKEINFO="$ac_prog"
8036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8045 MAKEINFO=$ac_cv_prog_MAKEINFO
8046 if test -n "$MAKEINFO"; then
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8048 $as_echo "$MAKEINFO" >&6; }
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8051 $as_echo "no
" >&6; }
8055 test -n "$MAKEINFO" && break
8057 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8059 case " $build_configdirs " in
8060 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8063 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8064 # higher, else we use the "missing
" dummy.
8065 if ${MAKEINFO} --version \
8066 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8069 MAKEINFO="$MISSING makeinfo
"
8075 # FIXME: expect and dejagnu may become build tools?
8077 for ac_prog in expect
8079 # Extract the first word of "$ac_prog", so it can be a program name with args.
8080 set dummy $ac_prog; ac_word=$2
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8082 $as_echo_n "checking
for $ac_word...
" >&6; }
8083 if ${ac_cv_prog_EXPECT+:} false; then :
8084 $as_echo_n "(cached
) " >&6
8086 if test -n "$EXPECT"; then
8087 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8093 test -z "$as_dir" && as_dir=.
8094 for ac_exec_ext in '' $ac_executable_extensions; do
8095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8096 ac_cv_prog_EXPECT="$ac_prog"
8097 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8106 EXPECT=$ac_cv_prog_EXPECT
8107 if test -n "$EXPECT"; then
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8109 $as_echo "$EXPECT" >&6; }
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8112 $as_echo "no
" >&6; }
8116 test -n "$EXPECT" && break
8118 test -n "$EXPECT" || EXPECT="expect
"
8120 case " $configdirs " in
8122 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8126 for ac_prog in runtest
8128 # Extract the first word of "$ac_prog", so it can be a program name with args.
8129 set dummy $ac_prog; ac_word=$2
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8131 $as_echo_n "checking
for $ac_word...
" >&6; }
8132 if ${ac_cv_prog_RUNTEST+:} false; then :
8133 $as_echo_n "(cached
) " >&6
8135 if test -n "$RUNTEST"; then
8136 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8142 test -z "$as_dir" && as_dir=.
8143 for ac_exec_ext in '' $ac_executable_extensions; do
8144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8145 ac_cv_prog_RUNTEST="$ac_prog"
8146 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8155 RUNTEST=$ac_cv_prog_RUNTEST
8156 if test -n "$RUNTEST"; then
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8158 $as_echo "$RUNTEST" >&6; }
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8161 $as_echo "no
" >&6; }
8165 test -n "$RUNTEST" && break
8167 test -n "$RUNTEST" || RUNTEST="runtest
"
8169 case " $configdirs " in
8171 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8178 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8179 ncn_target_tool_prefix=
8180 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8184 if test -n "$AR"; then
8186 elif test -n "$ac_cv_prog_AR"; then
8190 if test -n "$ac_cv_prog_AR"; then
8191 for ncn_progname in ar; do
8192 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8193 set dummy ${ncn_progname}; ac_word=$2
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8195 $as_echo_n "checking
for $ac_word...
" >&6; }
8196 if ${ac_cv_prog_AR+:} false; then :
8197 $as_echo_n "(cached
) " >&6
8199 if test -n "$AR"; then
8200 ac_cv_prog_AR="$AR" # Let the user override the test.
8202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8206 test -z "$as_dir" && as_dir=.
8207 for ac_exec_ext in '' $ac_executable_extensions; do
8208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8209 ac_cv_prog_AR="${ncn_progname}"
8210 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8220 if test -n "$AR"; then
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8222 $as_echo "$AR" >&6; }
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8225 $as_echo "no
" >&6; }
8232 for ncn_progname in ar; do
8233 if test -n "$ncn_tool_prefix"; then
8234 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8235 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8237 $as_echo_n "checking
for $ac_word...
" >&6; }
8238 if ${ac_cv_prog_AR+:} false; then :
8239 $as_echo_n "(cached
) " >&6
8241 if test -n "$AR"; then
8242 ac_cv_prog_AR="$AR" # Let the user override the test.
8244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8248 test -z "$as_dir" && as_dir=.
8249 for ac_exec_ext in '' $ac_executable_extensions; do
8250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8251 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8252 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8262 if test -n "$AR"; then
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8264 $as_echo "$AR" >&6; }
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8267 $as_echo "no
" >&6; }
8272 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8273 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8274 set dummy ${ncn_progname}; ac_word=$2
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8276 $as_echo_n "checking
for $ac_word...
" >&6; }
8277 if ${ac_cv_prog_AR+:} false; then :
8278 $as_echo_n "(cached
) " >&6
8280 if test -n "$AR"; then
8281 ac_cv_prog_AR="$AR" # Let the user override the test.
8283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8287 test -z "$as_dir" && as_dir=.
8288 for ac_exec_ext in '' $ac_executable_extensions; do
8289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8290 ac_cv_prog_AR="${ncn_progname}"
8291 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8301 if test -n "$AR"; then
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8303 $as_echo "$AR" >&6; }
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8306 $as_echo "no
" >&6; }
8311 test -n "$ac_cv_prog_AR" && break
8314 if test -z "$ac_cv_prog_AR" ; then
8316 if test $build = $host ; then
8319 AR="${ncn_tool_prefix}$2"
8325 if test -n "$AS"; then
8327 elif test -n "$ac_cv_prog_AS"; then
8331 if test -n "$ac_cv_prog_AS"; then
8332 for ncn_progname in as; do
8333 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8334 set dummy ${ncn_progname}; ac_word=$2
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8336 $as_echo_n "checking
for $ac_word...
" >&6; }
8337 if ${ac_cv_prog_AS+:} false; then :
8338 $as_echo_n "(cached
) " >&6
8340 if test -n "$AS"; then
8341 ac_cv_prog_AS="$AS" # Let the user override the test.
8343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8347 test -z "$as_dir" && as_dir=.
8348 for ac_exec_ext in '' $ac_executable_extensions; do
8349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8350 ac_cv_prog_AS="${ncn_progname}"
8351 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8361 if test -n "$AS"; then
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8363 $as_echo "$AS" >&6; }
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8366 $as_echo "no
" >&6; }
8373 for ncn_progname in as; do
8374 if test -n "$ncn_tool_prefix"; then
8375 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8376 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8378 $as_echo_n "checking
for $ac_word...
" >&6; }
8379 if ${ac_cv_prog_AS+:} false; then :
8380 $as_echo_n "(cached
) " >&6
8382 if test -n "$AS"; then
8383 ac_cv_prog_AS="$AS" # Let the user override the test.
8385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8389 test -z "$as_dir" && as_dir=.
8390 for ac_exec_ext in '' $ac_executable_extensions; do
8391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8392 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8393 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8403 if test -n "$AS"; then
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8405 $as_echo "$AS" >&6; }
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8408 $as_echo "no
" >&6; }
8413 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8414 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8415 set dummy ${ncn_progname}; ac_word=$2
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8417 $as_echo_n "checking
for $ac_word...
" >&6; }
8418 if ${ac_cv_prog_AS+:} false; then :
8419 $as_echo_n "(cached
) " >&6
8421 if test -n "$AS"; then
8422 ac_cv_prog_AS="$AS" # Let the user override the test.
8424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8428 test -z "$as_dir" && as_dir=.
8429 for ac_exec_ext in '' $ac_executable_extensions; do
8430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8431 ac_cv_prog_AS="${ncn_progname}"
8432 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8442 if test -n "$AS"; then
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8444 $as_echo "$AS" >&6; }
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8447 $as_echo "no
" >&6; }
8452 test -n "$ac_cv_prog_AS" && break
8455 if test -z "$ac_cv_prog_AS" ; then
8457 if test $build = $host ; then
8460 AS="${ncn_tool_prefix}$2"
8466 if test -n "$DLLTOOL"; then
8467 ac_cv_prog_DLLTOOL=$DLLTOOL
8468 elif test -n "$ac_cv_prog_DLLTOOL"; then
8469 DLLTOOL=$ac_cv_prog_DLLTOOL
8472 if test -n "$ac_cv_prog_DLLTOOL"; then
8473 for ncn_progname in dlltool; do
8474 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8475 set dummy ${ncn_progname}; ac_word=$2
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8477 $as_echo_n "checking
for $ac_word...
" >&6; }
8478 if ${ac_cv_prog_DLLTOOL+:} false; then :
8479 $as_echo_n "(cached
) " >&6
8481 if test -n "$DLLTOOL"; then
8482 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8488 test -z "$as_dir" && as_dir=.
8489 for ac_exec_ext in '' $ac_executable_extensions; do
8490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8491 ac_cv_prog_DLLTOOL="${ncn_progname}"
8492 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8501 DLLTOOL=$ac_cv_prog_DLLTOOL
8502 if test -n "$DLLTOOL"; then
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8504 $as_echo "$DLLTOOL" >&6; }
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8507 $as_echo "no
" >&6; }
8514 for ncn_progname in dlltool; do
8515 if test -n "$ncn_tool_prefix"; then
8516 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8517 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8519 $as_echo_n "checking
for $ac_word...
" >&6; }
8520 if ${ac_cv_prog_DLLTOOL+:} false; then :
8521 $as_echo_n "(cached
) " >&6
8523 if test -n "$DLLTOOL"; then
8524 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8530 test -z "$as_dir" && as_dir=.
8531 for ac_exec_ext in '' $ac_executable_extensions; do
8532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8533 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8534 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8543 DLLTOOL=$ac_cv_prog_DLLTOOL
8544 if test -n "$DLLTOOL"; then
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8546 $as_echo "$DLLTOOL" >&6; }
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8549 $as_echo "no
" >&6; }
8554 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8555 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8556 set dummy ${ncn_progname}; ac_word=$2
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8558 $as_echo_n "checking
for $ac_word...
" >&6; }
8559 if ${ac_cv_prog_DLLTOOL+:} false; then :
8560 $as_echo_n "(cached
) " >&6
8562 if test -n "$DLLTOOL"; then
8563 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8569 test -z "$as_dir" && as_dir=.
8570 for ac_exec_ext in '' $ac_executable_extensions; do
8571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8572 ac_cv_prog_DLLTOOL="${ncn_progname}"
8573 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8582 DLLTOOL=$ac_cv_prog_DLLTOOL
8583 if test -n "$DLLTOOL"; then
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8585 $as_echo "$DLLTOOL" >&6; }
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8588 $as_echo "no
" >&6; }
8593 test -n "$ac_cv_prog_DLLTOOL" && break
8596 if test -z "$ac_cv_prog_DLLTOOL" ; then
8598 if test $build = $host ; then
8601 DLLTOOL="${ncn_tool_prefix}$2"
8607 if test -n "$LD"; then
8609 elif test -n "$ac_cv_prog_LD"; then
8613 if test -n "$ac_cv_prog_LD"; then
8614 for ncn_progname in ld; do
8615 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8616 set dummy ${ncn_progname}; ac_word=$2
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8618 $as_echo_n "checking
for $ac_word...
" >&6; }
8619 if ${ac_cv_prog_LD+:} false; then :
8620 $as_echo_n "(cached
) " >&6
8622 if test -n "$LD"; then
8623 ac_cv_prog_LD="$LD" # Let the user override the test.
8625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8629 test -z "$as_dir" && as_dir=.
8630 for ac_exec_ext in '' $ac_executable_extensions; do
8631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8632 ac_cv_prog_LD="${ncn_progname}"
8633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8643 if test -n "$LD"; then
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8645 $as_echo "$LD" >&6; }
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8648 $as_echo "no
" >&6; }
8655 for ncn_progname in ld; do
8656 if test -n "$ncn_tool_prefix"; then
8657 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8658 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8660 $as_echo_n "checking
for $ac_word...
" >&6; }
8661 if ${ac_cv_prog_LD+:} false; then :
8662 $as_echo_n "(cached
) " >&6
8664 if test -n "$LD"; then
8665 ac_cv_prog_LD="$LD" # Let the user override the test.
8667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8671 test -z "$as_dir" && as_dir=.
8672 for ac_exec_ext in '' $ac_executable_extensions; do
8673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8674 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8675 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8685 if test -n "$LD"; then
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8687 $as_echo "$LD" >&6; }
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8690 $as_echo "no
" >&6; }
8695 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8696 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8697 set dummy ${ncn_progname}; ac_word=$2
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8699 $as_echo_n "checking
for $ac_word...
" >&6; }
8700 if ${ac_cv_prog_LD+:} false; then :
8701 $as_echo_n "(cached
) " >&6
8703 if test -n "$LD"; then
8704 ac_cv_prog_LD="$LD" # Let the user override the test.
8706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8710 test -z "$as_dir" && as_dir=.
8711 for ac_exec_ext in '' $ac_executable_extensions; do
8712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8713 ac_cv_prog_LD="${ncn_progname}"
8714 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8724 if test -n "$LD"; then
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8726 $as_echo "$LD" >&6; }
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8729 $as_echo "no
" >&6; }
8734 test -n "$ac_cv_prog_LD" && break
8737 if test -z "$ac_cv_prog_LD" ; then
8739 if test $build = $host ; then
8742 LD="${ncn_tool_prefix}$2"
8748 if test -n "$LIPO"; then
8749 ac_cv_prog_LIPO=$LIPO
8750 elif test -n "$ac_cv_prog_LIPO"; then
8751 LIPO=$ac_cv_prog_LIPO
8754 if test -n "$ac_cv_prog_LIPO"; then
8755 for ncn_progname in lipo; do
8756 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8757 set dummy ${ncn_progname}; ac_word=$2
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8759 $as_echo_n "checking
for $ac_word...
" >&6; }
8760 if ${ac_cv_prog_LIPO+:} false; then :
8761 $as_echo_n "(cached
) " >&6
8763 if test -n "$LIPO"; then
8764 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8770 test -z "$as_dir" && as_dir=.
8771 for ac_exec_ext in '' $ac_executable_extensions; do
8772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8773 ac_cv_prog_LIPO="${ncn_progname}"
8774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8783 LIPO=$ac_cv_prog_LIPO
8784 if test -n "$LIPO"; then
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8786 $as_echo "$LIPO" >&6; }
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8789 $as_echo "no
" >&6; }
8796 for ncn_progname in lipo; do
8797 if test -n "$ncn_tool_prefix"; then
8798 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8799 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8801 $as_echo_n "checking
for $ac_word...
" >&6; }
8802 if ${ac_cv_prog_LIPO+:} false; then :
8803 $as_echo_n "(cached
) " >&6
8805 if test -n "$LIPO"; then
8806 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8812 test -z "$as_dir" && as_dir=.
8813 for ac_exec_ext in '' $ac_executable_extensions; do
8814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8815 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8816 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8825 LIPO=$ac_cv_prog_LIPO
8826 if test -n "$LIPO"; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8828 $as_echo "$LIPO" >&6; }
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8831 $as_echo "no
" >&6; }
8836 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8837 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8838 set dummy ${ncn_progname}; ac_word=$2
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8840 $as_echo_n "checking
for $ac_word...
" >&6; }
8841 if ${ac_cv_prog_LIPO+:} false; then :
8842 $as_echo_n "(cached
) " >&6
8844 if test -n "$LIPO"; then
8845 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8851 test -z "$as_dir" && as_dir=.
8852 for ac_exec_ext in '' $ac_executable_extensions; do
8853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8854 ac_cv_prog_LIPO="${ncn_progname}"
8855 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8864 LIPO=$ac_cv_prog_LIPO
8865 if test -n "$LIPO"; then
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8867 $as_echo "$LIPO" >&6; }
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8870 $as_echo "no
" >&6; }
8875 test -n "$ac_cv_prog_LIPO" && break
8878 if test -z "$ac_cv_prog_LIPO" ; then
8880 if test $build = $host ; then
8883 LIPO="${ncn_tool_prefix}$2"
8889 if test -n "$NM"; then
8891 elif test -n "$ac_cv_prog_NM"; then
8895 if test -n "$ac_cv_prog_NM"; then
8896 for ncn_progname in nm; do
8897 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8898 set dummy ${ncn_progname}; ac_word=$2
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8900 $as_echo_n "checking
for $ac_word...
" >&6; }
8901 if ${ac_cv_prog_NM+:} false; then :
8902 $as_echo_n "(cached
) " >&6
8904 if test -n "$NM"; then
8905 ac_cv_prog_NM="$NM" # Let the user override the test.
8907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8911 test -z "$as_dir" && as_dir=.
8912 for ac_exec_ext in '' $ac_executable_extensions; do
8913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8914 ac_cv_prog_NM="${ncn_progname}"
8915 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8925 if test -n "$NM"; then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8927 $as_echo "$NM" >&6; }
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8930 $as_echo "no
" >&6; }
8937 for ncn_progname in nm; do
8938 if test -n "$ncn_tool_prefix"; then
8939 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8940 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8942 $as_echo_n "checking
for $ac_word...
" >&6; }
8943 if ${ac_cv_prog_NM+:} false; then :
8944 $as_echo_n "(cached
) " >&6
8946 if test -n "$NM"; then
8947 ac_cv_prog_NM="$NM" # Let the user override the test.
8949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8953 test -z "$as_dir" && as_dir=.
8954 for ac_exec_ext in '' $ac_executable_extensions; do
8955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8956 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8957 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8967 if test -n "$NM"; then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8969 $as_echo "$NM" >&6; }
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8972 $as_echo "no
" >&6; }
8977 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8978 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8979 set dummy ${ncn_progname}; ac_word=$2
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8981 $as_echo_n "checking
for $ac_word...
" >&6; }
8982 if ${ac_cv_prog_NM+:} false; then :
8983 $as_echo_n "(cached
) " >&6
8985 if test -n "$NM"; then
8986 ac_cv_prog_NM="$NM" # Let the user override the test.
8988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8992 test -z "$as_dir" && as_dir=.
8993 for ac_exec_ext in '' $ac_executable_extensions; do
8994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8995 ac_cv_prog_NM="${ncn_progname}"
8996 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9006 if test -n "$NM"; then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9008 $as_echo "$NM" >&6; }
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9011 $as_echo "no
" >&6; }
9016 test -n "$ac_cv_prog_NM" && break
9019 if test -z "$ac_cv_prog_NM" ; then
9021 if test $build = $host ; then
9024 NM="${ncn_tool_prefix}$2"
9030 if test -n "$RANLIB"; then
9031 ac_cv_prog_RANLIB=$RANLIB
9032 elif test -n "$ac_cv_prog_RANLIB"; then
9033 RANLIB=$ac_cv_prog_RANLIB
9036 if test -n "$ac_cv_prog_RANLIB"; then
9037 for ncn_progname in ranlib; do
9038 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9039 set dummy ${ncn_progname}; ac_word=$2
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9041 $as_echo_n "checking
for $ac_word...
" >&6; }
9042 if ${ac_cv_prog_RANLIB+:} false; then :
9043 $as_echo_n "(cached
) " >&6
9045 if test -n "$RANLIB"; then
9046 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9052 test -z "$as_dir" && as_dir=.
9053 for ac_exec_ext in '' $ac_executable_extensions; do
9054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9055 ac_cv_prog_RANLIB="${ncn_progname}"
9056 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9065 RANLIB=$ac_cv_prog_RANLIB
9066 if test -n "$RANLIB"; then
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9068 $as_echo "$RANLIB" >&6; }
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9071 $as_echo "no
" >&6; }
9078 for ncn_progname in ranlib; do
9079 if test -n "$ncn_tool_prefix"; then
9080 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9081 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9083 $as_echo_n "checking
for $ac_word...
" >&6; }
9084 if ${ac_cv_prog_RANLIB+:} false; then :
9085 $as_echo_n "(cached
) " >&6
9087 if test -n "$RANLIB"; then
9088 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9094 test -z "$as_dir" && as_dir=.
9095 for ac_exec_ext in '' $ac_executable_extensions; do
9096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9097 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9098 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9107 RANLIB=$ac_cv_prog_RANLIB
9108 if test -n "$RANLIB"; then
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9110 $as_echo "$RANLIB" >&6; }
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9113 $as_echo "no
" >&6; }
9118 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9119 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9120 set dummy ${ncn_progname}; ac_word=$2
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9122 $as_echo_n "checking
for $ac_word...
" >&6; }
9123 if ${ac_cv_prog_RANLIB+:} false; then :
9124 $as_echo_n "(cached
) " >&6
9126 if test -n "$RANLIB"; then
9127 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9133 test -z "$as_dir" && as_dir=.
9134 for ac_exec_ext in '' $ac_executable_extensions; do
9135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9136 ac_cv_prog_RANLIB="${ncn_progname}"
9137 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9146 RANLIB=$ac_cv_prog_RANLIB
9147 if test -n "$RANLIB"; then
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9149 $as_echo "$RANLIB" >&6; }
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9152 $as_echo "no
" >&6; }
9157 test -n "$ac_cv_prog_RANLIB" && break
9160 if test -z "$ac_cv_prog_RANLIB" ; then
9166 if test -n "$STRIP"; then
9167 ac_cv_prog_STRIP=$STRIP
9168 elif test -n "$ac_cv_prog_STRIP"; then
9169 STRIP=$ac_cv_prog_STRIP
9172 if test -n "$ac_cv_prog_STRIP"; then
9173 for ncn_progname in strip; do
9174 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9175 set dummy ${ncn_progname}; ac_word=$2
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9177 $as_echo_n "checking
for $ac_word...
" >&6; }
9178 if ${ac_cv_prog_STRIP+:} false; then :
9179 $as_echo_n "(cached
) " >&6
9181 if test -n "$STRIP"; then
9182 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9188 test -z "$as_dir" && as_dir=.
9189 for ac_exec_ext in '' $ac_executable_extensions; do
9190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9191 ac_cv_prog_STRIP="${ncn_progname}"
9192 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9201 STRIP=$ac_cv_prog_STRIP
9202 if test -n "$STRIP"; then
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9204 $as_echo "$STRIP" >&6; }
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9207 $as_echo "no
" >&6; }
9214 for ncn_progname in strip; do
9215 if test -n "$ncn_tool_prefix"; then
9216 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9217 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9219 $as_echo_n "checking
for $ac_word...
" >&6; }
9220 if ${ac_cv_prog_STRIP+:} false; then :
9221 $as_echo_n "(cached
) " >&6
9223 if test -n "$STRIP"; then
9224 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9230 test -z "$as_dir" && as_dir=.
9231 for ac_exec_ext in '' $ac_executable_extensions; do
9232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9233 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9234 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9243 STRIP=$ac_cv_prog_STRIP
9244 if test -n "$STRIP"; then
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9246 $as_echo "$STRIP" >&6; }
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9249 $as_echo "no
" >&6; }
9254 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9255 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9256 set dummy ${ncn_progname}; ac_word=$2
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9258 $as_echo_n "checking
for $ac_word...
" >&6; }
9259 if ${ac_cv_prog_STRIP+:} false; then :
9260 $as_echo_n "(cached
) " >&6
9262 if test -n "$STRIP"; then
9263 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9269 test -z "$as_dir" && as_dir=.
9270 for ac_exec_ext in '' $ac_executable_extensions; do
9271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9272 ac_cv_prog_STRIP="${ncn_progname}"
9273 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9282 STRIP=$ac_cv_prog_STRIP
9283 if test -n "$STRIP"; then
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9285 $as_echo "$STRIP" >&6; }
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9288 $as_echo "no
" >&6; }
9293 test -n "$ac_cv_prog_STRIP" && break
9296 if test -z "$ac_cv_prog_STRIP" ; then
9302 if test -n "$WINDRES"; then
9303 ac_cv_prog_WINDRES=$WINDRES
9304 elif test -n "$ac_cv_prog_WINDRES"; then
9305 WINDRES=$ac_cv_prog_WINDRES
9308 if test -n "$ac_cv_prog_WINDRES"; then
9309 for ncn_progname in windres; do
9310 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9311 set dummy ${ncn_progname}; ac_word=$2
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9313 $as_echo_n "checking
for $ac_word...
" >&6; }
9314 if ${ac_cv_prog_WINDRES+:} false; then :
9315 $as_echo_n "(cached
) " >&6
9317 if test -n "$WINDRES"; then
9318 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9324 test -z "$as_dir" && as_dir=.
9325 for ac_exec_ext in '' $ac_executable_extensions; do
9326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9327 ac_cv_prog_WINDRES="${ncn_progname}"
9328 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9337 WINDRES=$ac_cv_prog_WINDRES
9338 if test -n "$WINDRES"; then
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9340 $as_echo "$WINDRES" >&6; }
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9343 $as_echo "no
" >&6; }
9350 for ncn_progname in windres; do
9351 if test -n "$ncn_tool_prefix"; then
9352 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9353 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9355 $as_echo_n "checking
for $ac_word...
" >&6; }
9356 if ${ac_cv_prog_WINDRES+:} false; then :
9357 $as_echo_n "(cached
) " >&6
9359 if test -n "$WINDRES"; then
9360 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9366 test -z "$as_dir" && as_dir=.
9367 for ac_exec_ext in '' $ac_executable_extensions; do
9368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9369 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9379 WINDRES=$ac_cv_prog_WINDRES
9380 if test -n "$WINDRES"; then
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9382 $as_echo "$WINDRES" >&6; }
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9385 $as_echo "no
" >&6; }
9390 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9391 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9392 set dummy ${ncn_progname}; ac_word=$2
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9394 $as_echo_n "checking
for $ac_word...
" >&6; }
9395 if ${ac_cv_prog_WINDRES+:} false; then :
9396 $as_echo_n "(cached
) " >&6
9398 if test -n "$WINDRES"; then
9399 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9405 test -z "$as_dir" && as_dir=.
9406 for ac_exec_ext in '' $ac_executable_extensions; do
9407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9408 ac_cv_prog_WINDRES="${ncn_progname}"
9409 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9418 WINDRES=$ac_cv_prog_WINDRES
9419 if test -n "$WINDRES"; then
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9421 $as_echo "$WINDRES" >&6; }
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9424 $as_echo "no
" >&6; }
9429 test -n "$ac_cv_prog_WINDRES" && break
9432 if test -z "$ac_cv_prog_WINDRES" ; then
9434 if test $build = $host ; then
9437 WINDRES="${ncn_tool_prefix}$2"
9443 if test -n "$WINDMC"; then
9444 ac_cv_prog_WINDMC=$WINDMC
9445 elif test -n "$ac_cv_prog_WINDMC"; then
9446 WINDMC=$ac_cv_prog_WINDMC
9449 if test -n "$ac_cv_prog_WINDMC"; then
9450 for ncn_progname in windmc; do
9451 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9452 set dummy ${ncn_progname}; ac_word=$2
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9454 $as_echo_n "checking
for $ac_word...
" >&6; }
9455 if ${ac_cv_prog_WINDMC+:} false; then :
9456 $as_echo_n "(cached
) " >&6
9458 if test -n "$WINDMC"; then
9459 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9465 test -z "$as_dir" && as_dir=.
9466 for ac_exec_ext in '' $ac_executable_extensions; do
9467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9468 ac_cv_prog_WINDMC="${ncn_progname}"
9469 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9478 WINDMC=$ac_cv_prog_WINDMC
9479 if test -n "$WINDMC"; then
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9481 $as_echo "$WINDMC" >&6; }
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9484 $as_echo "no
" >&6; }
9491 for ncn_progname in windmc; do
9492 if test -n "$ncn_tool_prefix"; then
9493 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9494 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9496 $as_echo_n "checking
for $ac_word...
" >&6; }
9497 if ${ac_cv_prog_WINDMC+:} false; then :
9498 $as_echo_n "(cached
) " >&6
9500 if test -n "$WINDMC"; then
9501 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9507 test -z "$as_dir" && as_dir=.
9508 for ac_exec_ext in '' $ac_executable_extensions; do
9509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9510 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9520 WINDMC=$ac_cv_prog_WINDMC
9521 if test -n "$WINDMC"; then
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9523 $as_echo "$WINDMC" >&6; }
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9526 $as_echo "no
" >&6; }
9531 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9532 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9533 set dummy ${ncn_progname}; ac_word=$2
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9535 $as_echo_n "checking
for $ac_word...
" >&6; }
9536 if ${ac_cv_prog_WINDMC+:} false; then :
9537 $as_echo_n "(cached
) " >&6
9539 if test -n "$WINDMC"; then
9540 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9546 test -z "$as_dir" && as_dir=.
9547 for ac_exec_ext in '' $ac_executable_extensions; do
9548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9549 ac_cv_prog_WINDMC="${ncn_progname}"
9550 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9559 WINDMC=$ac_cv_prog_WINDMC
9560 if test -n "$WINDMC"; then
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9562 $as_echo "$WINDMC" >&6; }
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9565 $as_echo "no
" >&6; }
9570 test -n "$ac_cv_prog_WINDMC" && break
9573 if test -z "$ac_cv_prog_WINDMC" ; then
9575 if test $build = $host ; then
9578 WINDMC="${ncn_tool_prefix}$2"
9584 if test -n "$OBJCOPY"; then
9585 ac_cv_prog_OBJCOPY=$OBJCOPY
9586 elif test -n "$ac_cv_prog_OBJCOPY"; then
9587 OBJCOPY=$ac_cv_prog_OBJCOPY
9590 if test -n "$ac_cv_prog_OBJCOPY"; then
9591 for ncn_progname in objcopy; do
9592 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9593 set dummy ${ncn_progname}; ac_word=$2
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9595 $as_echo_n "checking
for $ac_word...
" >&6; }
9596 if ${ac_cv_prog_OBJCOPY+:} false; then :
9597 $as_echo_n "(cached
) " >&6
9599 if test -n "$OBJCOPY"; then
9600 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9606 test -z "$as_dir" && as_dir=.
9607 for ac_exec_ext in '' $ac_executable_extensions; do
9608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9609 ac_cv_prog_OBJCOPY="${ncn_progname}"
9610 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9619 OBJCOPY=$ac_cv_prog_OBJCOPY
9620 if test -n "$OBJCOPY"; then
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9622 $as_echo "$OBJCOPY" >&6; }
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9625 $as_echo "no
" >&6; }
9632 for ncn_progname in objcopy; do
9633 if test -n "$ncn_tool_prefix"; then
9634 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9635 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9637 $as_echo_n "checking
for $ac_word...
" >&6; }
9638 if ${ac_cv_prog_OBJCOPY+:} false; then :
9639 $as_echo_n "(cached
) " >&6
9641 if test -n "$OBJCOPY"; then
9642 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9648 test -z "$as_dir" && as_dir=.
9649 for ac_exec_ext in '' $ac_executable_extensions; do
9650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9651 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9652 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9661 OBJCOPY=$ac_cv_prog_OBJCOPY
9662 if test -n "$OBJCOPY"; then
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9664 $as_echo "$OBJCOPY" >&6; }
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9667 $as_echo "no
" >&6; }
9672 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9673 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9674 set dummy ${ncn_progname}; ac_word=$2
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9676 $as_echo_n "checking
for $ac_word...
" >&6; }
9677 if ${ac_cv_prog_OBJCOPY+:} false; then :
9678 $as_echo_n "(cached
) " >&6
9680 if test -n "$OBJCOPY"; then
9681 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9687 test -z "$as_dir" && as_dir=.
9688 for ac_exec_ext in '' $ac_executable_extensions; do
9689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9690 ac_cv_prog_OBJCOPY="${ncn_progname}"
9691 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9700 OBJCOPY=$ac_cv_prog_OBJCOPY
9701 if test -n "$OBJCOPY"; then
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9703 $as_echo "$OBJCOPY" >&6; }
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9706 $as_echo "no
" >&6; }
9711 test -n "$ac_cv_prog_OBJCOPY" && break
9714 if test -z "$ac_cv_prog_OBJCOPY" ; then
9716 if test $build = $host ; then
9719 OBJCOPY="${ncn_tool_prefix}$2"
9725 if test -n "$OBJDUMP"; then
9726 ac_cv_prog_OBJDUMP=$OBJDUMP
9727 elif test -n "$ac_cv_prog_OBJDUMP"; then
9728 OBJDUMP=$ac_cv_prog_OBJDUMP
9731 if test -n "$ac_cv_prog_OBJDUMP"; then
9732 for ncn_progname in objdump; do
9733 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9734 set dummy ${ncn_progname}; ac_word=$2
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9736 $as_echo_n "checking
for $ac_word...
" >&6; }
9737 if ${ac_cv_prog_OBJDUMP+:} false; then :
9738 $as_echo_n "(cached
) " >&6
9740 if test -n "$OBJDUMP"; then
9741 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9747 test -z "$as_dir" && as_dir=.
9748 for ac_exec_ext in '' $ac_executable_extensions; do
9749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9750 ac_cv_prog_OBJDUMP="${ncn_progname}"
9751 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9760 OBJDUMP=$ac_cv_prog_OBJDUMP
9761 if test -n "$OBJDUMP"; then
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9763 $as_echo "$OBJDUMP" >&6; }
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9766 $as_echo "no
" >&6; }
9773 for ncn_progname in objdump; do
9774 if test -n "$ncn_tool_prefix"; then
9775 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9776 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9778 $as_echo_n "checking
for $ac_word...
" >&6; }
9779 if ${ac_cv_prog_OBJDUMP+:} false; then :
9780 $as_echo_n "(cached
) " >&6
9782 if test -n "$OBJDUMP"; then
9783 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9789 test -z "$as_dir" && as_dir=.
9790 for ac_exec_ext in '' $ac_executable_extensions; do
9791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9792 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9793 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9802 OBJDUMP=$ac_cv_prog_OBJDUMP
9803 if test -n "$OBJDUMP"; then
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9805 $as_echo "$OBJDUMP" >&6; }
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9808 $as_echo "no
" >&6; }
9813 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9814 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9815 set dummy ${ncn_progname}; ac_word=$2
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9817 $as_echo_n "checking
for $ac_word...
" >&6; }
9818 if ${ac_cv_prog_OBJDUMP+:} false; then :
9819 $as_echo_n "(cached
) " >&6
9821 if test -n "$OBJDUMP"; then
9822 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9828 test -z "$as_dir" && as_dir=.
9829 for ac_exec_ext in '' $ac_executable_extensions; do
9830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9831 ac_cv_prog_OBJDUMP="${ncn_progname}"
9832 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9841 OBJDUMP=$ac_cv_prog_OBJDUMP
9842 if test -n "$OBJDUMP"; then
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9844 $as_echo "$OBJDUMP" >&6; }
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9847 $as_echo "no
" >&6; }
9852 test -n "$ac_cv_prog_OBJDUMP" && break
9855 if test -z "$ac_cv_prog_OBJDUMP" ; then
9857 if test $build = $host ; then
9860 OBJDUMP="${ncn_tool_prefix}$2"
9866 if test -n "$READELF"; then
9867 ac_cv_prog_READELF=$READELF
9868 elif test -n "$ac_cv_prog_READELF"; then
9869 READELF=$ac_cv_prog_READELF
9872 if test -n "$ac_cv_prog_READELF"; then
9873 for ncn_progname in readelf; do
9874 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9875 set dummy ${ncn_progname}; ac_word=$2
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9877 $as_echo_n "checking
for $ac_word...
" >&6; }
9878 if ${ac_cv_prog_READELF+:} false; then :
9879 $as_echo_n "(cached
) " >&6
9881 if test -n "$READELF"; then
9882 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9888 test -z "$as_dir" && as_dir=.
9889 for ac_exec_ext in '' $ac_executable_extensions; do
9890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9891 ac_cv_prog_READELF="${ncn_progname}"
9892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9901 READELF=$ac_cv_prog_READELF
9902 if test -n "$READELF"; then
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9904 $as_echo "$READELF" >&6; }
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9907 $as_echo "no
" >&6; }
9914 for ncn_progname in readelf; do
9915 if test -n "$ncn_tool_prefix"; then
9916 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9917 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9919 $as_echo_n "checking
for $ac_word...
" >&6; }
9920 if ${ac_cv_prog_READELF+:} false; then :
9921 $as_echo_n "(cached
) " >&6
9923 if test -n "$READELF"; then
9924 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9930 test -z "$as_dir" && as_dir=.
9931 for ac_exec_ext in '' $ac_executable_extensions; do
9932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9933 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9934 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9943 READELF=$ac_cv_prog_READELF
9944 if test -n "$READELF"; then
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9946 $as_echo "$READELF" >&6; }
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9949 $as_echo "no
" >&6; }
9954 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9955 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9956 set dummy ${ncn_progname}; ac_word=$2
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9958 $as_echo_n "checking
for $ac_word...
" >&6; }
9959 if ${ac_cv_prog_READELF+:} false; then :
9960 $as_echo_n "(cached
) " >&6
9962 if test -n "$READELF"; then
9963 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9969 test -z "$as_dir" && as_dir=.
9970 for ac_exec_ext in '' $ac_executable_extensions; do
9971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9972 ac_cv_prog_READELF="${ncn_progname}"
9973 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9982 READELF=$ac_cv_prog_READELF
9983 if test -n "$READELF"; then
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9985 $as_echo "$READELF" >&6; }
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9988 $as_echo "no
" >&6; }
9993 test -n "$ac_cv_prog_READELF" && break
9996 if test -z "$ac_cv_prog_READELF" ; then
9998 if test $build = $host ; then
10001 READELF="${ncn_tool_prefix}$2"
10012 # Check whether --with-build-time-tools was given.
10013 if test "${with_build_time_tools+set}" = set; then :
10014 withval=$with_build_time_tools; case x"$withval" in
10017 with_build_time_tools=
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10019 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10023 with_build_time_tools=
10029 if test -n "$CC_FOR_TARGET"; then
10030 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10031 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10032 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10035 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10036 for ncn_progname in cc gcc; do
10037 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10038 set dummy ${ncn_progname}; ac_word=$2
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10040 $as_echo_n "checking
for $ac_word...
" >&6; }
10041 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10042 $as_echo_n "(cached
) " >&6
10044 if test -n "$CC_FOR_TARGET"; then
10045 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10048 for as_dir in $PATH
10051 test -z "$as_dir" && as_dir=.
10052 for ac_exec_ext in '' $ac_executable_extensions; do
10053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10054 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10064 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10065 if test -n "$CC_FOR_TARGET"; then
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10067 $as_echo "$CC_FOR_TARGET" >&6; }
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10070 $as_echo "no
" >&6; }
10077 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10078 for ncn_progname in cc gcc; do
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10080 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10081 if test -x $with_build_time_tools/${ncn_progname}; then
10082 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10084 $as_echo "yes" >&6; }
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10088 $as_echo "no
" >&6; }
10093 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10094 for ncn_progname in cc gcc; do
10095 if test -n "$ncn_target_tool_prefix"; then
10096 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10097 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10099 $as_echo_n "checking
for $ac_word...
" >&6; }
10100 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10101 $as_echo_n "(cached
) " >&6
10103 if test -n "$CC_FOR_TARGET"; then
10104 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10107 for as_dir in $PATH
10110 test -z "$as_dir" && as_dir=.
10111 for ac_exec_ext in '' $ac_executable_extensions; do
10112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10113 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10123 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10124 if test -n "$CC_FOR_TARGET"; then
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10126 $as_echo "$CC_FOR_TARGET" >&6; }
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10129 $as_echo "no
" >&6; }
10134 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10135 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10136 set dummy ${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_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 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10177 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10179 if test $build = $target ; then
10182 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10185 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10190 if test -n "$CXX_FOR_TARGET"; then
10191 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10192 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10193 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10196 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10197 for ncn_progname in c++ g++ cxx gxx; do
10198 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10199 set dummy ${ncn_progname}; ac_word=$2
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10201 $as_echo_n "checking
for $ac_word...
" >&6; }
10202 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10203 $as_echo_n "(cached
) " >&6
10205 if test -n "$CXX_FOR_TARGET"; then
10206 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10209 for as_dir in $PATH
10212 test -z "$as_dir" && as_dir=.
10213 for ac_exec_ext in '' $ac_executable_extensions; do
10214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10215 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10225 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10226 if test -n "$CXX_FOR_TARGET"; then
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10228 $as_echo "$CXX_FOR_TARGET" >&6; }
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10231 $as_echo "no
" >&6; }
10238 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10239 for ncn_progname in c++ g++ cxx gxx; do
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10241 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10242 if test -x $with_build_time_tools/${ncn_progname}; then
10243 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10245 $as_echo "yes" >&6; }
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10249 $as_echo "no
" >&6; }
10254 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10255 for ncn_progname in c++ g++ cxx gxx; do
10256 if test -n "$ncn_target_tool_prefix"; then
10257 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10258 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10260 $as_echo_n "checking
for $ac_word...
" >&6; }
10261 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10262 $as_echo_n "(cached
) " >&6
10264 if test -n "$CXX_FOR_TARGET"; then
10265 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10268 for as_dir in $PATH
10271 test -z "$as_dir" && as_dir=.
10272 for ac_exec_ext in '' $ac_executable_extensions; do
10273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10274 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10275 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10284 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10285 if test -n "$CXX_FOR_TARGET"; then
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10287 $as_echo "$CXX_FOR_TARGET" >&6; }
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10290 $as_echo "no
" >&6; }
10295 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10296 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10297 set dummy ${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_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 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10338 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10339 set dummy c++ g++ cxx gxx
10340 if test $build = $target ; then
10341 CXX_FOR_TARGET="$2"
10343 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10346 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10351 if test -n "$GCC_FOR_TARGET"; then
10352 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10353 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10354 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10357 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10358 for ncn_progname in gcc; do
10359 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10360 set dummy ${ncn_progname}; ac_word=$2
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10362 $as_echo_n "checking
for $ac_word...
" >&6; }
10363 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10364 $as_echo_n "(cached
) " >&6
10366 if test -n "$GCC_FOR_TARGET"; then
10367 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10370 for as_dir in $PATH
10373 test -z "$as_dir" && as_dir=.
10374 for ac_exec_ext in '' $ac_executable_extensions; do
10375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10376 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10377 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10386 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10387 if test -n "$GCC_FOR_TARGET"; then
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10389 $as_echo "$GCC_FOR_TARGET" >&6; }
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10392 $as_echo "no
" >&6; }
10399 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10400 for ncn_progname in gcc; do
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10402 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10403 if test -x $with_build_time_tools/${ncn_progname}; then
10404 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10406 $as_echo "yes" >&6; }
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10410 $as_echo "no
" >&6; }
10415 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10416 for ncn_progname in gcc; do
10417 if test -n "$ncn_target_tool_prefix"; then
10418 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10419 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10421 $as_echo_n "checking
for $ac_word...
" >&6; }
10422 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10423 $as_echo_n "(cached
) " >&6
10425 if test -n "$GCC_FOR_TARGET"; then
10426 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10429 for as_dir in $PATH
10432 test -z "$as_dir" && as_dir=.
10433 for ac_exec_ext in '' $ac_executable_extensions; do
10434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10435 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10436 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10445 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10446 if test -n "$GCC_FOR_TARGET"; then
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10448 $as_echo "$GCC_FOR_TARGET" >&6; }
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10451 $as_echo "no
" >&6; }
10456 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10457 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10458 set dummy ${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_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 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10499 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10500 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10502 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10507 if test -n "$GFORTRAN_FOR_TARGET"; then
10508 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10509 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10510 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10513 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10514 for ncn_progname in gfortran; do
10515 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10516 set dummy ${ncn_progname}; ac_word=$2
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10518 $as_echo_n "checking
for $ac_word...
" >&6; }
10519 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10520 $as_echo_n "(cached
) " >&6
10522 if test -n "$GFORTRAN_FOR_TARGET"; then
10523 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10526 for as_dir in $PATH
10529 test -z "$as_dir" && as_dir=.
10530 for ac_exec_ext in '' $ac_executable_extensions; do
10531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10532 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10542 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10543 if test -n "$GFORTRAN_FOR_TARGET"; then
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10545 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10548 $as_echo "no
" >&6; }
10555 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10556 for ncn_progname in gfortran; do
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10558 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10559 if test -x $with_build_time_tools/${ncn_progname}; then
10560 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10562 $as_echo "yes" >&6; }
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10566 $as_echo "no
" >&6; }
10571 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10572 for ncn_progname in gfortran; do
10573 if test -n "$ncn_target_tool_prefix"; then
10574 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10575 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10577 $as_echo_n "checking
for $ac_word...
" >&6; }
10578 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10579 $as_echo_n "(cached
) " >&6
10581 if test -n "$GFORTRAN_FOR_TARGET"; then
10582 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10585 for as_dir in $PATH
10588 test -z "$as_dir" && as_dir=.
10589 for ac_exec_ext in '' $ac_executable_extensions; do
10590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10591 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10592 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10601 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10602 if test -n "$GFORTRAN_FOR_TARGET"; then
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10604 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10607 $as_echo "no
" >&6; }
10612 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10613 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10614 set dummy ${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_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 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10655 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10657 if test $build = $target ; then
10658 GFORTRAN_FOR_TARGET="$2"
10660 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10663 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10668 if test -n "$GOC_FOR_TARGET"; then
10669 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10670 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10671 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10674 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10675 for ncn_progname in gccgo; do
10676 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10677 set dummy ${ncn_progname}; ac_word=$2
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10679 $as_echo_n "checking
for $ac_word...
" >&6; }
10680 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10681 $as_echo_n "(cached
) " >&6
10683 if test -n "$GOC_FOR_TARGET"; then
10684 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10687 for as_dir in $PATH
10690 test -z "$as_dir" && as_dir=.
10691 for ac_exec_ext in '' $ac_executable_extensions; do
10692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10693 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10703 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10704 if test -n "$GOC_FOR_TARGET"; then
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10706 $as_echo "$GOC_FOR_TARGET" >&6; }
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10709 $as_echo "no
" >&6; }
10716 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10717 for ncn_progname in gccgo; do
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10719 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10720 if test -x $with_build_time_tools/${ncn_progname}; then
10721 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10723 $as_echo "yes" >&6; }
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10727 $as_echo "no
" >&6; }
10732 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10733 for ncn_progname in gccgo; do
10734 if test -n "$ncn_target_tool_prefix"; then
10735 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10736 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10738 $as_echo_n "checking
for $ac_word...
" >&6; }
10739 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10740 $as_echo_n "(cached
) " >&6
10742 if test -n "$GOC_FOR_TARGET"; then
10743 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10746 for as_dir in $PATH
10749 test -z "$as_dir" && as_dir=.
10750 for ac_exec_ext in '' $ac_executable_extensions; do
10751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10752 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10762 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10763 if test -n "$GOC_FOR_TARGET"; then
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10765 $as_echo "$GOC_FOR_TARGET" >&6; }
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10768 $as_echo "no
" >&6; }
10773 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10774 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10775 set dummy ${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_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 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10816 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10818 if test $build = $target ; then
10819 GOC_FOR_TARGET="$2"
10821 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10824 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10829 cat > conftest.c << \EOF
10834 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10835 have_gcc_for_target=yes
10837 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10838 have_gcc_for_target=no
10845 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10846 if test -n "$with_build_time_tools"; then
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10848 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10849 if test -x $with_build_time_tools/ar; then
10850 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10851 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10853 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10856 $as_echo "no
" >&6; }
10858 elif test $build != $host && test $have_gcc_for_target = yes; then
10859 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10860 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10861 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10864 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10865 # Extract the first word of "ar", so it can be a program name with args.
10866 set dummy ar; ac_word=$2
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10868 $as_echo_n "checking
for $ac_word...
" >&6; }
10869 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
10870 $as_echo_n "(cached
) " >&6
10872 case $AR_FOR_TARGET in
10874 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10878 for as_dir in $gcc_cv_tool_dirs
10881 test -z "$as_dir" && as_dir=.
10882 for ac_exec_ext in '' $ac_executable_extensions; do
10883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10884 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10885 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10895 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10896 if test -n "$AR_FOR_TARGET"; then
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10898 $as_echo "$AR_FOR_TARGET" >&6; }
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10901 $as_echo "no
" >&6; }
10906 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10909 if test -n "$AR_FOR_TARGET"; then
10910 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10911 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10912 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10915 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10916 for ncn_progname in ar; do
10917 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10918 set dummy ${ncn_progname}; ac_word=$2
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10920 $as_echo_n "checking
for $ac_word...
" >&6; }
10921 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
10922 $as_echo_n "(cached
) " >&6
10924 if test -n "$AR_FOR_TARGET"; then
10925 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10928 for as_dir in $PATH
10931 test -z "$as_dir" && as_dir=.
10932 for ac_exec_ext in '' $ac_executable_extensions; do
10933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10934 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10944 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10945 if test -n "$AR_FOR_TARGET"; then
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10947 $as_echo "$AR_FOR_TARGET" >&6; }
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10950 $as_echo "no
" >&6; }
10957 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10958 for ncn_progname in ar; do
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10960 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10961 if test -x $with_build_time_tools/${ncn_progname}; then
10962 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10964 $as_echo "yes" >&6; }
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10968 $as_echo "no
" >&6; }
10973 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10974 for ncn_progname in ar; do
10975 if test -n "$ncn_target_tool_prefix"; then
10976 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10977 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10979 $as_echo_n "checking
for $ac_word...
" >&6; }
10980 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
10981 $as_echo_n "(cached
) " >&6
10983 if test -n "$AR_FOR_TARGET"; then
10984 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10987 for as_dir in $PATH
10990 test -z "$as_dir" && as_dir=.
10991 for ac_exec_ext in '' $ac_executable_extensions; do
10992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10993 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11003 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11004 if test -n "$AR_FOR_TARGET"; then
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11006 $as_echo "$AR_FOR_TARGET" >&6; }
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11009 $as_echo "no
" >&6; }
11014 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11015 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11016 set dummy ${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_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 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11057 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11059 if test $build = $target ; then
11062 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11065 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11069 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11075 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11076 if test -n "$with_build_time_tools"; then
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11078 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11079 if test -x $with_build_time_tools/as; then
11080 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11081 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11083 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11086 $as_echo "no
" >&6; }
11088 elif test $build != $host && test $have_gcc_for_target = yes; then
11089 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11090 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11091 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11094 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11095 # Extract the first word of "as
", so it can be a program name with args.
11096 set dummy as; ac_word=$2
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11098 $as_echo_n "checking
for $ac_word...
" >&6; }
11099 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
11100 $as_echo_n "(cached
) " >&6
11102 case $AS_FOR_TARGET in
11104 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11108 for as_dir in $gcc_cv_tool_dirs
11111 test -z "$as_dir" && as_dir=.
11112 for ac_exec_ext in '' $ac_executable_extensions; do
11113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11114 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11125 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11126 if test -n "$AS_FOR_TARGET"; then
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11128 $as_echo "$AS_FOR_TARGET" >&6; }
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11131 $as_echo "no
" >&6; }
11136 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11139 if test -n "$AS_FOR_TARGET"; then
11140 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11141 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11142 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11145 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11146 for ncn_progname in as; do
11147 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11148 set dummy ${ncn_progname}; ac_word=$2
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11150 $as_echo_n "checking
for $ac_word...
" >&6; }
11151 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11152 $as_echo_n "(cached
) " >&6
11154 if test -n "$AS_FOR_TARGET"; then
11155 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11158 for as_dir in $PATH
11161 test -z "$as_dir" && as_dir=.
11162 for ac_exec_ext in '' $ac_executable_extensions; do
11163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11164 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11165 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11174 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11175 if test -n "$AS_FOR_TARGET"; then
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11177 $as_echo "$AS_FOR_TARGET" >&6; }
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11180 $as_echo "no
" >&6; }
11187 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11188 for ncn_progname in as; do
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11190 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11191 if test -x $with_build_time_tools/${ncn_progname}; then
11192 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11194 $as_echo "yes" >&6; }
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11198 $as_echo "no
" >&6; }
11203 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11204 for ncn_progname in as; do
11205 if test -n "$ncn_target_tool_prefix"; then
11206 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11207 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11209 $as_echo_n "checking
for $ac_word...
" >&6; }
11210 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11211 $as_echo_n "(cached
) " >&6
11213 if test -n "$AS_FOR_TARGET"; then
11214 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11217 for as_dir in $PATH
11220 test -z "$as_dir" && as_dir=.
11221 for ac_exec_ext in '' $ac_executable_extensions; do
11222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11223 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11233 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11234 if test -n "$AS_FOR_TARGET"; then
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11236 $as_echo "$AS_FOR_TARGET" >&6; }
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11239 $as_echo "no
" >&6; }
11244 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11245 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11246 set dummy ${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_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 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11287 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11289 if test $build = $target ; then
11292 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11295 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11299 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11305 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11306 if test -n "$with_build_time_tools"; then
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11308 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11309 if test -x $with_build_time_tools/dlltool; then
11310 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11311 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11313 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11316 $as_echo "no
" >&6; }
11318 elif test $build != $host && test $have_gcc_for_target = yes; then
11319 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11320 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11321 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11324 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11325 # Extract the first word of "dlltool
", so it can be a program name with args.
11326 set dummy dlltool; ac_word=$2
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11328 $as_echo_n "checking
for $ac_word...
" >&6; }
11329 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
11330 $as_echo_n "(cached
) " >&6
11332 case $DLLTOOL_FOR_TARGET in
11334 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11338 for as_dir in $gcc_cv_tool_dirs
11341 test -z "$as_dir" && as_dir=.
11342 for ac_exec_ext in '' $ac_executable_extensions; do
11343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11344 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11355 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11356 if test -n "$DLLTOOL_FOR_TARGET"; then
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11358 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11361 $as_echo "no
" >&6; }
11366 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11369 if test -n "$DLLTOOL_FOR_TARGET"; then
11370 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11371 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11372 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11375 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11376 for ncn_progname in dlltool; do
11377 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11378 set dummy ${ncn_progname}; ac_word=$2
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11380 $as_echo_n "checking
for $ac_word...
" >&6; }
11381 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11382 $as_echo_n "(cached
) " >&6
11384 if test -n "$DLLTOOL_FOR_TARGET"; then
11385 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11388 for as_dir in $PATH
11391 test -z "$as_dir" && as_dir=.
11392 for ac_exec_ext in '' $ac_executable_extensions; do
11393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11394 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11404 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11405 if test -n "$DLLTOOL_FOR_TARGET"; then
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11407 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11410 $as_echo "no
" >&6; }
11417 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11418 for ncn_progname in dlltool; do
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11420 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11421 if test -x $with_build_time_tools/${ncn_progname}; then
11422 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11424 $as_echo "yes" >&6; }
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11428 $as_echo "no
" >&6; }
11433 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11434 for ncn_progname in dlltool; do
11435 if test -n "$ncn_target_tool_prefix"; then
11436 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11437 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11439 $as_echo_n "checking
for $ac_word...
" >&6; }
11440 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11441 $as_echo_n "(cached
) " >&6
11443 if test -n "$DLLTOOL_FOR_TARGET"; then
11444 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11447 for as_dir in $PATH
11450 test -z "$as_dir" && as_dir=.
11451 for ac_exec_ext in '' $ac_executable_extensions; do
11452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11453 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11454 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11463 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11464 if test -n "$DLLTOOL_FOR_TARGET"; then
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11466 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11469 $as_echo "no
" >&6; }
11474 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11475 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11476 set dummy ${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_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 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11517 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11519 if test $build = $target ; then
11520 DLLTOOL_FOR_TARGET="$2"
11522 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11525 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11529 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11535 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11536 if test -n "$with_build_time_tools"; then
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11538 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11539 if test -x $with_build_time_tools/ld; then
11540 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11541 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11543 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11546 $as_echo "no
" >&6; }
11548 elif test $build != $host && test $have_gcc_for_target = yes; then
11549 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11550 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11551 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11554 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11555 # Extract the first word of "ld
", so it can be a program name with args.
11556 set dummy ld; ac_word=$2
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11558 $as_echo_n "checking
for $ac_word...
" >&6; }
11559 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
11560 $as_echo_n "(cached
) " >&6
11562 case $LD_FOR_TARGET in
11564 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11568 for as_dir in $gcc_cv_tool_dirs
11571 test -z "$as_dir" && as_dir=.
11572 for ac_exec_ext in '' $ac_executable_extensions; do
11573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11574 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11575 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11585 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11586 if test -n "$LD_FOR_TARGET"; then
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11588 $as_echo "$LD_FOR_TARGET" >&6; }
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11591 $as_echo "no
" >&6; }
11596 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11599 if test -n "$LD_FOR_TARGET"; then
11600 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11601 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11602 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11605 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11606 for ncn_progname in ld; do
11607 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11608 set dummy ${ncn_progname}; ac_word=$2
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11610 $as_echo_n "checking
for $ac_word...
" >&6; }
11611 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11612 $as_echo_n "(cached
) " >&6
11614 if test -n "$LD_FOR_TARGET"; then
11615 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11618 for as_dir in $PATH
11621 test -z "$as_dir" && as_dir=.
11622 for ac_exec_ext in '' $ac_executable_extensions; do
11623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11624 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11634 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11635 if test -n "$LD_FOR_TARGET"; then
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11637 $as_echo "$LD_FOR_TARGET" >&6; }
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11640 $as_echo "no
" >&6; }
11647 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11648 for ncn_progname in ld; do
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11650 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11651 if test -x $with_build_time_tools/${ncn_progname}; then
11652 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11654 $as_echo "yes" >&6; }
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11658 $as_echo "no
" >&6; }
11663 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11664 for ncn_progname in ld; do
11665 if test -n "$ncn_target_tool_prefix"; then
11666 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11667 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11669 $as_echo_n "checking
for $ac_word...
" >&6; }
11670 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11671 $as_echo_n "(cached
) " >&6
11673 if test -n "$LD_FOR_TARGET"; then
11674 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11677 for as_dir in $PATH
11680 test -z "$as_dir" && as_dir=.
11681 for ac_exec_ext in '' $ac_executable_extensions; do
11682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11683 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11684 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11693 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11694 if test -n "$LD_FOR_TARGET"; then
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11696 $as_echo "$LD_FOR_TARGET" >&6; }
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11699 $as_echo "no
" >&6; }
11704 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11705 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11706 set dummy ${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_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 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11747 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11749 if test $build = $target ; then
11752 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11755 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11759 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11765 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11766 if test -n "$with_build_time_tools"; then
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11768 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11769 if test -x $with_build_time_tools/lipo; then
11770 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11771 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11773 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11776 $as_echo "no
" >&6; }
11778 elif test $build != $host && test $have_gcc_for_target = yes; then
11779 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11780 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11781 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11784 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11785 # Extract the first word of "lipo
", so it can be a program name with args.
11786 set dummy lipo; ac_word=$2
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11788 $as_echo_n "checking
for $ac_word...
" >&6; }
11789 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
11790 $as_echo_n "(cached
) " >&6
11792 case $LIPO_FOR_TARGET in
11794 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11798 for as_dir in $gcc_cv_tool_dirs
11801 test -z "$as_dir" && as_dir=.
11802 for ac_exec_ext in '' $ac_executable_extensions; do
11803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11804 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11805 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11815 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11816 if test -n "$LIPO_FOR_TARGET"; then
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11818 $as_echo "$LIPO_FOR_TARGET" >&6; }
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11821 $as_echo "no
" >&6; }
11826 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11829 if test -n "$LIPO_FOR_TARGET"; then
11830 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11831 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11832 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11835 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11836 for ncn_progname in lipo; do
11837 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11838 set dummy ${ncn_progname}; ac_word=$2
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11840 $as_echo_n "checking
for $ac_word...
" >&6; }
11841 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
11842 $as_echo_n "(cached
) " >&6
11844 if test -n "$LIPO_FOR_TARGET"; then
11845 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11848 for as_dir in $PATH
11851 test -z "$as_dir" && as_dir=.
11852 for ac_exec_ext in '' $ac_executable_extensions; do
11853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11854 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11855 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11864 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11865 if test -n "$LIPO_FOR_TARGET"; then
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11867 $as_echo "$LIPO_FOR_TARGET" >&6; }
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11870 $as_echo "no
" >&6; }
11877 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11878 for ncn_progname in lipo; do
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11880 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11881 if test -x $with_build_time_tools/${ncn_progname}; then
11882 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11884 $as_echo "yes" >&6; }
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11888 $as_echo "no
" >&6; }
11893 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11894 for ncn_progname in lipo; do
11895 if test -n "$ncn_target_tool_prefix"; then
11896 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11897 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11899 $as_echo_n "checking
for $ac_word...
" >&6; }
11900 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
11901 $as_echo_n "(cached
) " >&6
11903 if test -n "$LIPO_FOR_TARGET"; then
11904 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11907 for as_dir in $PATH
11910 test -z "$as_dir" && as_dir=.
11911 for ac_exec_ext in '' $ac_executable_extensions; do
11912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11913 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11914 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11923 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11924 if test -n "$LIPO_FOR_TARGET"; then
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11926 $as_echo "$LIPO_FOR_TARGET" >&6; }
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11929 $as_echo "no
" >&6; }
11934 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11935 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11936 set dummy ${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_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 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11977 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11979 if test $build = $target ; then
11980 LIPO_FOR_TARGET="$2"
11982 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11985 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11989 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11995 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11996 if test -n "$with_build_time_tools"; then
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11998 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11999 if test -x $with_build_time_tools/nm; then
12000 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12001 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12003 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12006 $as_echo "no
" >&6; }
12008 elif test $build != $host && test $have_gcc_for_target = yes; then
12009 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12010 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12011 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12014 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12015 # Extract the first word of "nm
", so it can be a program name with args.
12016 set dummy nm; ac_word=$2
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12018 $as_echo_n "checking
for $ac_word...
" >&6; }
12019 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
12020 $as_echo_n "(cached
) " >&6
12022 case $NM_FOR_TARGET in
12024 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12028 for as_dir in $gcc_cv_tool_dirs
12031 test -z "$as_dir" && as_dir=.
12032 for ac_exec_ext in '' $ac_executable_extensions; do
12033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12034 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12035 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12045 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12046 if test -n "$NM_FOR_TARGET"; then
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12048 $as_echo "$NM_FOR_TARGET" >&6; }
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12051 $as_echo "no
" >&6; }
12056 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12059 if test -n "$NM_FOR_TARGET"; then
12060 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12061 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12062 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12065 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12066 for ncn_progname in nm; do
12067 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12068 set dummy ${ncn_progname}; ac_word=$2
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12070 $as_echo_n "checking
for $ac_word...
" >&6; }
12071 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12072 $as_echo_n "(cached
) " >&6
12074 if test -n "$NM_FOR_TARGET"; then
12075 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12078 for as_dir in $PATH
12081 test -z "$as_dir" && as_dir=.
12082 for ac_exec_ext in '' $ac_executable_extensions; do
12083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12084 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12094 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12095 if test -n "$NM_FOR_TARGET"; then
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12097 $as_echo "$NM_FOR_TARGET" >&6; }
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12100 $as_echo "no
" >&6; }
12107 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12108 for ncn_progname in nm; do
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12110 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12111 if test -x $with_build_time_tools/${ncn_progname}; then
12112 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12114 $as_echo "yes" >&6; }
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12118 $as_echo "no
" >&6; }
12123 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12124 for ncn_progname in nm; do
12125 if test -n "$ncn_target_tool_prefix"; then
12126 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12127 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12129 $as_echo_n "checking
for $ac_word...
" >&6; }
12130 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12131 $as_echo_n "(cached
) " >&6
12133 if test -n "$NM_FOR_TARGET"; then
12134 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12137 for as_dir in $PATH
12140 test -z "$as_dir" && as_dir=.
12141 for ac_exec_ext in '' $ac_executable_extensions; do
12142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12143 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12153 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12154 if test -n "$NM_FOR_TARGET"; then
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12156 $as_echo "$NM_FOR_TARGET" >&6; }
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12159 $as_echo "no
" >&6; }
12164 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12165 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12166 set dummy ${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_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 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12207 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12209 if test $build = $target ; then
12212 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12215 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12219 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12225 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12226 if test -n "$with_build_time_tools"; then
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12228 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12229 if test -x $with_build_time_tools/objcopy; then
12230 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12231 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12233 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12236 $as_echo "no
" >&6; }
12238 elif test $build != $host && test $have_gcc_for_target = yes; then
12239 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12240 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12241 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12244 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12245 # Extract the first word of "objcopy
", so it can be a program name with args.
12246 set dummy objcopy; ac_word=$2
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12248 $as_echo_n "checking
for $ac_word...
" >&6; }
12249 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
12250 $as_echo_n "(cached
) " >&6
12252 case $OBJCOPY_FOR_TARGET in
12254 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12258 for as_dir in $gcc_cv_tool_dirs
12261 test -z "$as_dir" && as_dir=.
12262 for ac_exec_ext in '' $ac_executable_extensions; do
12263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12264 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12275 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12276 if test -n "$OBJCOPY_FOR_TARGET"; then
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12278 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12281 $as_echo "no
" >&6; }
12286 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12289 if test -n "$OBJCOPY_FOR_TARGET"; then
12290 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12291 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12292 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12295 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12296 for ncn_progname in objcopy; do
12297 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12298 set dummy ${ncn_progname}; ac_word=$2
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12300 $as_echo_n "checking
for $ac_word...
" >&6; }
12301 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12302 $as_echo_n "(cached
) " >&6
12304 if test -n "$OBJCOPY_FOR_TARGET"; then
12305 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12308 for as_dir in $PATH
12311 test -z "$as_dir" && as_dir=.
12312 for ac_exec_ext in '' $ac_executable_extensions; do
12313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12314 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12315 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12324 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12325 if test -n "$OBJCOPY_FOR_TARGET"; then
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12327 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12330 $as_echo "no
" >&6; }
12337 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12338 for ncn_progname in objcopy; do
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12340 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12341 if test -x $with_build_time_tools/${ncn_progname}; then
12342 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12344 $as_echo "yes" >&6; }
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12348 $as_echo "no
" >&6; }
12353 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12354 for ncn_progname in objcopy; do
12355 if test -n "$ncn_target_tool_prefix"; then
12356 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12357 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12359 $as_echo_n "checking
for $ac_word...
" >&6; }
12360 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12361 $as_echo_n "(cached
) " >&6
12363 if test -n "$OBJCOPY_FOR_TARGET"; then
12364 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12367 for as_dir in $PATH
12370 test -z "$as_dir" && as_dir=.
12371 for ac_exec_ext in '' $ac_executable_extensions; do
12372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12373 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12374 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12383 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12384 if test -n "$OBJCOPY_FOR_TARGET"; then
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12386 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12389 $as_echo "no
" >&6; }
12394 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12395 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12396 set dummy ${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_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 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12437 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12439 if test $build = $target ; then
12440 OBJCOPY_FOR_TARGET="$2"
12442 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12445 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12449 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12455 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12456 if test -n "$with_build_time_tools"; then
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12458 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12459 if test -x $with_build_time_tools/objdump; then
12460 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12461 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12463 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12466 $as_echo "no
" >&6; }
12468 elif test $build != $host && test $have_gcc_for_target = yes; then
12469 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12470 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12471 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12474 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12475 # Extract the first word of "objdump
", so it can be a program name with args.
12476 set dummy objdump; ac_word=$2
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12478 $as_echo_n "checking
for $ac_word...
" >&6; }
12479 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
12480 $as_echo_n "(cached
) " >&6
12482 case $OBJDUMP_FOR_TARGET in
12484 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12488 for as_dir in $gcc_cv_tool_dirs
12491 test -z "$as_dir" && as_dir=.
12492 for ac_exec_ext in '' $ac_executable_extensions; do
12493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12494 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12495 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12505 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12506 if test -n "$OBJDUMP_FOR_TARGET"; then
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12508 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12511 $as_echo "no
" >&6; }
12516 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12519 if test -n "$OBJDUMP_FOR_TARGET"; then
12520 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12521 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12522 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12525 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12526 for ncn_progname in objdump; do
12527 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12528 set dummy ${ncn_progname}; ac_word=$2
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12530 $as_echo_n "checking
for $ac_word...
" >&6; }
12531 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12532 $as_echo_n "(cached
) " >&6
12534 if test -n "$OBJDUMP_FOR_TARGET"; then
12535 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12538 for as_dir in $PATH
12541 test -z "$as_dir" && as_dir=.
12542 for ac_exec_ext in '' $ac_executable_extensions; do
12543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12544 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12554 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12555 if test -n "$OBJDUMP_FOR_TARGET"; then
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12557 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12560 $as_echo "no
" >&6; }
12567 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12568 for ncn_progname in objdump; do
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12570 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12571 if test -x $with_build_time_tools/${ncn_progname}; then
12572 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12574 $as_echo "yes" >&6; }
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12578 $as_echo "no
" >&6; }
12583 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12584 for ncn_progname in objdump; do
12585 if test -n "$ncn_target_tool_prefix"; then
12586 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12587 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12589 $as_echo_n "checking
for $ac_word...
" >&6; }
12590 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12591 $as_echo_n "(cached
) " >&6
12593 if test -n "$OBJDUMP_FOR_TARGET"; then
12594 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12597 for as_dir in $PATH
12600 test -z "$as_dir" && as_dir=.
12601 for ac_exec_ext in '' $ac_executable_extensions; do
12602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12603 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12613 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12614 if test -n "$OBJDUMP_FOR_TARGET"; then
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12616 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12619 $as_echo "no
" >&6; }
12624 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12625 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12626 set dummy ${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_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 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12667 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12669 if test $build = $target ; then
12670 OBJDUMP_FOR_TARGET="$2"
12672 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12675 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12679 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12685 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12686 if test -n "$with_build_time_tools"; then
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12688 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12689 if test -x $with_build_time_tools/ranlib; then
12690 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12691 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12693 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12696 $as_echo "no
" >&6; }
12698 elif test $build != $host && test $have_gcc_for_target = yes; then
12699 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12700 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12701 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12704 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12705 # Extract the first word of "ranlib
", so it can be a program name with args.
12706 set dummy ranlib; ac_word=$2
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12708 $as_echo_n "checking
for $ac_word...
" >&6; }
12709 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
12710 $as_echo_n "(cached
) " >&6
12712 case $RANLIB_FOR_TARGET in
12714 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12718 for as_dir in $gcc_cv_tool_dirs
12721 test -z "$as_dir" && as_dir=.
12722 for ac_exec_ext in '' $ac_executable_extensions; do
12723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12724 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12735 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12736 if test -n "$RANLIB_FOR_TARGET"; then
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12738 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12741 $as_echo "no
" >&6; }
12746 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12749 if test -n "$RANLIB_FOR_TARGET"; then
12750 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12751 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12752 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12755 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12756 for ncn_progname in ranlib; do
12757 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12758 set dummy ${ncn_progname}; ac_word=$2
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12760 $as_echo_n "checking
for $ac_word...
" >&6; }
12761 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
12762 $as_echo_n "(cached
) " >&6
12764 if test -n "$RANLIB_FOR_TARGET"; then
12765 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12768 for as_dir in $PATH
12771 test -z "$as_dir" && as_dir=.
12772 for ac_exec_ext in '' $ac_executable_extensions; do
12773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12774 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12784 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12785 if test -n "$RANLIB_FOR_TARGET"; then
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12787 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12790 $as_echo "no
" >&6; }
12797 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12798 for ncn_progname in ranlib; do
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12800 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12801 if test -x $with_build_time_tools/${ncn_progname}; then
12802 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12804 $as_echo "yes" >&6; }
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12808 $as_echo "no
" >&6; }
12813 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12814 for ncn_progname in ranlib; do
12815 if test -n "$ncn_target_tool_prefix"; then
12816 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12817 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12819 $as_echo_n "checking
for $ac_word...
" >&6; }
12820 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
12821 $as_echo_n "(cached
) " >&6
12823 if test -n "$RANLIB_FOR_TARGET"; then
12824 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12827 for as_dir in $PATH
12830 test -z "$as_dir" && as_dir=.
12831 for ac_exec_ext in '' $ac_executable_extensions; do
12832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12833 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12834 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12843 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12844 if test -n "$RANLIB_FOR_TARGET"; then
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12846 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12849 $as_echo "no
" >&6; }
12854 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12855 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12856 set dummy ${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_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 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12897 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12899 if test $build = $target ; then
12900 RANLIB_FOR_TARGET="$2"
12902 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12905 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12909 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12915 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12916 if test -n "$with_build_time_tools"; then
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12918 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12919 if test -x $with_build_time_tools/readelf; then
12920 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12921 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12923 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12926 $as_echo "no
" >&6; }
12928 elif test $build != $host && test $have_gcc_for_target = yes; then
12929 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12930 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12931 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12934 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12935 # Extract the first word of "readelf
", so it can be a program name with args.
12936 set dummy readelf; ac_word=$2
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12938 $as_echo_n "checking
for $ac_word...
" >&6; }
12939 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
12940 $as_echo_n "(cached
) " >&6
12942 case $READELF_FOR_TARGET in
12944 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12948 for as_dir in $gcc_cv_tool_dirs
12951 test -z "$as_dir" && as_dir=.
12952 for ac_exec_ext in '' $ac_executable_extensions; do
12953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12954 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12965 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12966 if test -n "$READELF_FOR_TARGET"; then
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12968 $as_echo "$READELF_FOR_TARGET" >&6; }
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12971 $as_echo "no
" >&6; }
12976 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12979 if test -n "$READELF_FOR_TARGET"; then
12980 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12981 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12982 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12985 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12986 for ncn_progname in readelf; do
12987 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12988 set dummy ${ncn_progname}; ac_word=$2
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12990 $as_echo_n "checking
for $ac_word...
" >&6; }
12991 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
12992 $as_echo_n "(cached
) " >&6
12994 if test -n "$READELF_FOR_TARGET"; then
12995 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12998 for as_dir in $PATH
13001 test -z "$as_dir" && as_dir=.
13002 for ac_exec_ext in '' $ac_executable_extensions; do
13003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13004 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13014 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13015 if test -n "$READELF_FOR_TARGET"; then
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13017 $as_echo "$READELF_FOR_TARGET" >&6; }
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13020 $as_echo "no
" >&6; }
13027 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13028 for ncn_progname in readelf; do
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13030 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13031 if test -x $with_build_time_tools/${ncn_progname}; then
13032 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13034 $as_echo "yes" >&6; }
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13038 $as_echo "no
" >&6; }
13043 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13044 for ncn_progname in readelf; do
13045 if test -n "$ncn_target_tool_prefix"; then
13046 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13047 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13049 $as_echo_n "checking
for $ac_word...
" >&6; }
13050 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13051 $as_echo_n "(cached
) " >&6
13053 if test -n "$READELF_FOR_TARGET"; then
13054 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13057 for as_dir in $PATH
13060 test -z "$as_dir" && as_dir=.
13061 for ac_exec_ext in '' $ac_executable_extensions; do
13062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13063 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13073 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13074 if test -n "$READELF_FOR_TARGET"; then
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13076 $as_echo "$READELF_FOR_TARGET" >&6; }
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13079 $as_echo "no
" >&6; }
13084 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13085 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13086 set dummy ${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_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 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13127 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13129 if test $build = $target ; then
13130 READELF_FOR_TARGET="$2"
13132 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13135 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13139 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13145 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13146 if test -n "$with_build_time_tools"; then
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13148 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13149 if test -x $with_build_time_tools/strip; then
13150 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13151 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13153 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13156 $as_echo "no
" >&6; }
13158 elif test $build != $host && test $have_gcc_for_target = yes; then
13159 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13160 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13161 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13164 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13165 # Extract the first word of "strip
", so it can be a program name with args.
13166 set dummy strip; ac_word=$2
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13168 $as_echo_n "checking
for $ac_word...
" >&6; }
13169 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
13170 $as_echo_n "(cached
) " >&6
13172 case $STRIP_FOR_TARGET in
13174 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13178 for as_dir in $gcc_cv_tool_dirs
13181 test -z "$as_dir" && as_dir=.
13182 for ac_exec_ext in '' $ac_executable_extensions; do
13183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13184 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13195 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13196 if test -n "$STRIP_FOR_TARGET"; then
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13198 $as_echo "$STRIP_FOR_TARGET" >&6; }
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13201 $as_echo "no
" >&6; }
13206 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13209 if test -n "$STRIP_FOR_TARGET"; then
13210 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13211 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13212 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13215 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13216 for ncn_progname in strip; do
13217 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13218 set dummy ${ncn_progname}; ac_word=$2
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13220 $as_echo_n "checking
for $ac_word...
" >&6; }
13221 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13222 $as_echo_n "(cached
) " >&6
13224 if test -n "$STRIP_FOR_TARGET"; then
13225 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13228 for as_dir in $PATH
13231 test -z "$as_dir" && as_dir=.
13232 for ac_exec_ext in '' $ac_executable_extensions; do
13233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13234 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13244 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13245 if test -n "$STRIP_FOR_TARGET"; then
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13247 $as_echo "$STRIP_FOR_TARGET" >&6; }
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13250 $as_echo "no
" >&6; }
13257 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13258 for ncn_progname in strip; do
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13260 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13261 if test -x $with_build_time_tools/${ncn_progname}; then
13262 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13264 $as_echo "yes" >&6; }
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13268 $as_echo "no
" >&6; }
13273 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13274 for ncn_progname in strip; do
13275 if test -n "$ncn_target_tool_prefix"; then
13276 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13277 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13279 $as_echo_n "checking
for $ac_word...
" >&6; }
13280 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13281 $as_echo_n "(cached
) " >&6
13283 if test -n "$STRIP_FOR_TARGET"; then
13284 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13287 for as_dir in $PATH
13290 test -z "$as_dir" && as_dir=.
13291 for ac_exec_ext in '' $ac_executable_extensions; do
13292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13293 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13294 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13303 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13304 if test -n "$STRIP_FOR_TARGET"; then
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13306 $as_echo "$STRIP_FOR_TARGET" >&6; }
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13309 $as_echo "no
" >&6; }
13314 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13315 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13316 set dummy ${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_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 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13357 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13359 if test $build = $target ; then
13360 STRIP_FOR_TARGET="$2"
13362 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13365 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13369 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13375 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13376 if test -n "$with_build_time_tools"; then
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13378 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13379 if test -x $with_build_time_tools/windres; then
13380 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13381 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13383 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13386 $as_echo "no
" >&6; }
13388 elif test $build != $host && test $have_gcc_for_target = yes; then
13389 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13390 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13391 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13394 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13395 # Extract the first word of "windres
", so it can be a program name with args.
13396 set dummy windres; ac_word=$2
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13398 $as_echo_n "checking
for $ac_word...
" >&6; }
13399 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
13400 $as_echo_n "(cached
) " >&6
13402 case $WINDRES_FOR_TARGET in
13404 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13408 for as_dir in $gcc_cv_tool_dirs
13411 test -z "$as_dir" && as_dir=.
13412 for ac_exec_ext in '' $ac_executable_extensions; do
13413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13414 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13425 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13426 if test -n "$WINDRES_FOR_TARGET"; then
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13428 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13431 $as_echo "no
" >&6; }
13436 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13439 if test -n "$WINDRES_FOR_TARGET"; then
13440 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13441 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13442 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13445 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13446 for ncn_progname in windres; do
13447 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13448 set dummy ${ncn_progname}; ac_word=$2
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13450 $as_echo_n "checking
for $ac_word...
" >&6; }
13451 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13452 $as_echo_n "(cached
) " >&6
13454 if test -n "$WINDRES_FOR_TARGET"; then
13455 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13458 for as_dir in $PATH
13461 test -z "$as_dir" && as_dir=.
13462 for ac_exec_ext in '' $ac_executable_extensions; do
13463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13464 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13465 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13474 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13475 if test -n "$WINDRES_FOR_TARGET"; then
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13477 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13480 $as_echo "no
" >&6; }
13487 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13488 for ncn_progname in windres; do
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13490 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13491 if test -x $with_build_time_tools/${ncn_progname}; then
13492 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13494 $as_echo "yes" >&6; }
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13498 $as_echo "no
" >&6; }
13503 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13504 for ncn_progname in windres; do
13505 if test -n "$ncn_target_tool_prefix"; then
13506 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13507 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13509 $as_echo_n "checking
for $ac_word...
" >&6; }
13510 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13511 $as_echo_n "(cached
) " >&6
13513 if test -n "$WINDRES_FOR_TARGET"; then
13514 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13517 for as_dir in $PATH
13520 test -z "$as_dir" && as_dir=.
13521 for ac_exec_ext in '' $ac_executable_extensions; do
13522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13523 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13533 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13534 if test -n "$WINDRES_FOR_TARGET"; then
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13536 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13539 $as_echo "no
" >&6; }
13544 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13545 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13546 set dummy ${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_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 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13587 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13589 if test $build = $target ; then
13590 WINDRES_FOR_TARGET="$2"
13592 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13595 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13599 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13605 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13606 if test -n "$with_build_time_tools"; then
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13608 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13609 if test -x $with_build_time_tools/windmc; then
13610 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13611 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13613 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13616 $as_echo "no
" >&6; }
13618 elif test $build != $host && test $have_gcc_for_target = yes; then
13619 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13620 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13621 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13624 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13625 # Extract the first word of "windmc
", so it can be a program name with args.
13626 set dummy windmc; ac_word=$2
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13628 $as_echo_n "checking
for $ac_word...
" >&6; }
13629 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
13630 $as_echo_n "(cached
) " >&6
13632 case $WINDMC_FOR_TARGET in
13634 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13638 for as_dir in $gcc_cv_tool_dirs
13641 test -z "$as_dir" && as_dir=.
13642 for ac_exec_ext in '' $ac_executable_extensions; do
13643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13644 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13655 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13656 if test -n "$WINDMC_FOR_TARGET"; then
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13658 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13661 $as_echo "no
" >&6; }
13666 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13669 if test -n "$WINDMC_FOR_TARGET"; then
13670 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13671 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13672 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13675 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13676 for ncn_progname in windmc; do
13677 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13678 set dummy ${ncn_progname}; ac_word=$2
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13680 $as_echo_n "checking
for $ac_word...
" >&6; }
13681 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
13682 $as_echo_n "(cached
) " >&6
13684 if test -n "$WINDMC_FOR_TARGET"; then
13685 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13688 for as_dir in $PATH
13691 test -z "$as_dir" && as_dir=.
13692 for ac_exec_ext in '' $ac_executable_extensions; do
13693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13694 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13704 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13705 if test -n "$WINDMC_FOR_TARGET"; then
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13707 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13710 $as_echo "no
" >&6; }
13717 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13718 for ncn_progname in windmc; do
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13720 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13721 if test -x $with_build_time_tools/${ncn_progname}; then
13722 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13724 $as_echo "yes" >&6; }
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13728 $as_echo "no
" >&6; }
13733 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13734 for ncn_progname in windmc; do
13735 if test -n "$ncn_target_tool_prefix"; then
13736 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13737 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13739 $as_echo_n "checking
for $ac_word...
" >&6; }
13740 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
13741 $as_echo_n "(cached
) " >&6
13743 if test -n "$WINDMC_FOR_TARGET"; then
13744 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13747 for as_dir in $PATH
13750 test -z "$as_dir" && as_dir=.
13751 for ac_exec_ext in '' $ac_executable_extensions; do
13752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13753 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13763 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13764 if test -n "$WINDMC_FOR_TARGET"; then
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13766 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13769 $as_echo "no
" >&6; }
13774 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13775 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13776 set dummy ${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_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 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13817 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13819 if test $build = $target ; then
13820 WINDMC_FOR_TARGET="$2"
13822 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13825 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13829 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13833 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13836 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13837 if test "x
${build}" != "x
${host}" ; then
13838 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13839 # We already found the complete path
13840 ac_dir=`dirname $AR_FOR_TARGET`
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13842 $as_echo "pre-installed
in $ac_dir" >&6; }
13844 # Canadian cross, just use what we found
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13846 $as_echo "pre-installed
" >&6; }
13850 case " ${configdirs} " in
13855 if test $ok = yes; then
13856 # An in-tree tool is available and we can use it
13857 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13859 $as_echo "just compiled
" >&6; }
13860 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13861 # We already found the complete path
13862 ac_dir=`dirname $AR_FOR_TARGET`
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13864 $as_echo "pre-installed
in $ac_dir" >&6; }
13865 elif test "x
$target" = "x
$host"; then
13866 # We can use an host tool
13867 AR_FOR_TARGET='$(AR)'
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13869 $as_echo "host tool
" >&6; }
13871 # We need a cross tool
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13873 $as_echo "pre-installed
" >&6; }
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13878 $as_echo_n "checking where to
find the target as...
" >&6; }
13879 if test "x
${build}" != "x
${host}" ; then
13880 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13881 # We already found the complete path
13882 ac_dir=`dirname $AS_FOR_TARGET`
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13884 $as_echo "pre-installed
in $ac_dir" >&6; }
13886 # Canadian cross, just use what we found
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13888 $as_echo "pre-installed
" >&6; }
13892 case " ${configdirs} " in
13897 if test $ok = yes; then
13898 # An in-tree tool is available and we can use it
13899 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13901 $as_echo "just compiled
" >&6; }
13902 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13903 # We already found the complete path
13904 ac_dir=`dirname $AS_FOR_TARGET`
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13906 $as_echo "pre-installed
in $ac_dir" >&6; }
13907 elif test "x
$target" = "x
$host"; then
13908 # We can use an host tool
13909 AS_FOR_TARGET='$(AS)'
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13911 $as_echo "host tool
" >&6; }
13913 # We need a cross tool
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13915 $as_echo "pre-installed
" >&6; }
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13920 $as_echo_n "checking where to
find the target cc...
" >&6; }
13921 if test "x
${build}" != "x
${host}" ; then
13922 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13923 # We already found the complete path
13924 ac_dir=`dirname $CC_FOR_TARGET`
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13926 $as_echo "pre-installed
in $ac_dir" >&6; }
13928 # Canadian cross, just use what we found
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13930 $as_echo "pre-installed
" >&6; }
13934 case " ${configdirs} " in
13939 if test $ok = yes; then
13940 # An in-tree tool is available and we can use it
13941 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13943 $as_echo "just compiled
" >&6; }
13944 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13945 # We already found the complete path
13946 ac_dir=`dirname $CC_FOR_TARGET`
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13948 $as_echo "pre-installed
in $ac_dir" >&6; }
13949 elif test "x
$target" = "x
$host"; then
13950 # We can use an host tool
13951 CC_FOR_TARGET='$(CC)'
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13953 $as_echo "host tool
" >&6; }
13955 # We need a cross tool
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13957 $as_echo "pre-installed
" >&6; }
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13962 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13963 if test "x
${build}" != "x
${host}" ; then
13964 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13965 # We already found the complete path
13966 ac_dir=`dirname $CXX_FOR_TARGET`
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13968 $as_echo "pre-installed
in $ac_dir" >&6; }
13970 # Canadian cross, just use what we found
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13972 $as_echo "pre-installed
" >&6; }
13976 case " ${configdirs} " in
13980 case ,${enable_languages}, in
13984 if test $ok = yes; then
13985 # An in-tree tool is available and we can use it
13986 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'
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13988 $as_echo "just compiled
" >&6; }
13989 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13990 # We already found the complete path
13991 ac_dir=`dirname $CXX_FOR_TARGET`
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13993 $as_echo "pre-installed
in $ac_dir" >&6; }
13994 elif test "x
$target" = "x
$host"; then
13995 # We can use an host tool
13996 CXX_FOR_TARGET='$(CXX)'
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13998 $as_echo "host tool
" >&6; }
14000 # We need a cross tool
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14002 $as_echo "pre-installed
" >&6; }
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14007 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14008 if test "x
${build}" != "x
${host}" ; then
14009 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14010 # We already found the complete path
14011 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14013 $as_echo "pre-installed
in $ac_dir" >&6; }
14015 # Canadian cross, just use what we found
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14017 $as_echo "pre-installed
" >&6; }
14021 case " ${configdirs} " in
14025 case ,${enable_languages}, in
14029 if test $ok = yes; then
14030 # An in-tree tool is available and we can use it
14031 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'
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14033 $as_echo "just compiled
" >&6; }
14034 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14035 # We already found the complete path
14036 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14038 $as_echo "pre-installed
in $ac_dir" >&6; }
14039 elif test "x
$target" = "x
$host"; then
14040 # We can use an host tool
14041 RAW_CXX_FOR_TARGET='$(CXX)'
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14043 $as_echo "host tool
" >&6; }
14045 # We need a cross tool
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14047 $as_echo "pre-installed
" >&6; }
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14052 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14053 if test "x
${build}" != "x
${host}" ; then
14054 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14055 # We already found the complete path
14056 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14058 $as_echo "pre-installed
in $ac_dir" >&6; }
14060 # Canadian cross, just use what we found
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14062 $as_echo "pre-installed
" >&6; }
14066 case " ${configdirs} " in
14071 if test $ok = yes; then
14072 # An in-tree tool is available and we can use it
14073 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14075 $as_echo "just compiled
" >&6; }
14076 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14077 # We already found the complete path
14078 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14080 $as_echo "pre-installed
in $ac_dir" >&6; }
14081 elif test "x
$target" = "x
$host"; then
14082 # We can use an host tool
14083 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14085 $as_echo "host tool
" >&6; }
14087 # We need a cross tool
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14089 $as_echo "pre-installed
" >&6; }
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14094 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14095 if test "x
${build}" != "x
${host}" ; then
14096 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14097 # We already found the complete path
14098 ac_dir=`dirname $GCC_FOR_TARGET`
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14100 $as_echo "pre-installed
in $ac_dir" >&6; }
14102 # Canadian cross, just use what we found
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14104 $as_echo "pre-installed
" >&6; }
14108 case " ${configdirs} " in
14113 if test $ok = yes; then
14114 # An in-tree tool is available and we can use it
14115 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14117 $as_echo "just compiled
" >&6; }
14118 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14119 # We already found the complete path
14120 ac_dir=`dirname $GCC_FOR_TARGET`
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14122 $as_echo "pre-installed
in $ac_dir" >&6; }
14123 elif test "x
$target" = "x
$host"; then
14124 # We can use an host tool
14125 GCC_FOR_TARGET='$()'
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14127 $as_echo "host tool
" >&6; }
14129 # We need a cross tool
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14131 $as_echo "pre-installed
" >&6; }
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14136 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14137 if test "x
${build}" != "x
${host}" ; then
14138 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14139 # We already found the complete path
14140 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14142 $as_echo "pre-installed
in $ac_dir" >&6; }
14144 # Canadian cross, just use what we found
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14146 $as_echo "pre-installed
" >&6; }
14150 case " ${configdirs} " in
14154 case ,${enable_languages}, in
14158 if test $ok = yes; then
14159 # An in-tree tool is available and we can use it
14160 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14162 $as_echo "just compiled
" >&6; }
14163 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14164 # We already found the complete path
14165 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14167 $as_echo "pre-installed
in $ac_dir" >&6; }
14168 elif test "x
$target" = "x
$host"; then
14169 # We can use an host tool
14170 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14172 $as_echo "host tool
" >&6; }
14174 # We need a cross tool
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14176 $as_echo "pre-installed
" >&6; }
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14181 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14182 if test "x
${build}" != "x
${host}" ; then
14183 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14184 # We already found the complete path
14185 ac_dir=`dirname $GOC_FOR_TARGET`
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14187 $as_echo "pre-installed
in $ac_dir" >&6; }
14189 # Canadian cross, just use what we found
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14191 $as_echo "pre-installed
" >&6; }
14195 case " ${configdirs} " in
14199 case ,${enable_languages}, in
14203 if test $ok = yes; then
14204 # An in-tree tool is available and we can use it
14205 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14207 $as_echo "just compiled
" >&6; }
14208 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14209 # We already found the complete path
14210 ac_dir=`dirname $GOC_FOR_TARGET`
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14212 $as_echo "pre-installed
in $ac_dir" >&6; }
14213 elif test "x
$target" = "x
$host"; then
14214 # We can use an host tool
14215 GOC_FOR_TARGET='$(GOC)'
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14217 $as_echo "host tool
" >&6; }
14219 # We need a cross tool
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14221 $as_echo "pre-installed
" >&6; }
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14226 $as_echo_n "checking where to
find the target ld...
" >&6; }
14227 if test "x
${build}" != "x
${host}" ; then
14228 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14229 # We already found the complete path
14230 ac_dir=`dirname $LD_FOR_TARGET`
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14232 $as_echo "pre-installed
in $ac_dir" >&6; }
14234 # Canadian cross, just use what we found
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14236 $as_echo "pre-installed
" >&6; }
14240 case " ${configdirs} " in
14245 if test $ok = yes; then
14246 # An in-tree tool is available and we can use it
14247 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14249 $as_echo "just compiled
" >&6; }
14250 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14251 # We already found the complete path
14252 ac_dir=`dirname $LD_FOR_TARGET`
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14254 $as_echo "pre-installed
in $ac_dir" >&6; }
14255 elif test "x
$target" = "x
$host"; then
14256 # We can use an host tool
14257 LD_FOR_TARGET='$(LD)'
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14259 $as_echo "host tool
" >&6; }
14261 # We need a cross tool
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14263 $as_echo "pre-installed
" >&6; }
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14268 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14269 if test "x
${build}" != "x
${host}" ; then
14270 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14271 # We already found the complete path
14272 ac_dir=`dirname $LIPO_FOR_TARGET`
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14274 $as_echo "pre-installed
in $ac_dir" >&6; }
14276 # Canadian cross, just use what we found
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14278 $as_echo "pre-installed
" >&6; }
14281 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14282 # We already found the complete path
14283 ac_dir=`dirname $LIPO_FOR_TARGET`
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14285 $as_echo "pre-installed
in $ac_dir" >&6; }
14286 elif test "x
$target" = "x
$host"; then
14287 # We can use an host tool
14288 LIPO_FOR_TARGET='$(LIPO)'
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14290 $as_echo "host tool
" >&6; }
14292 # We need a cross tool
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14294 $as_echo "pre-installed
" >&6; }
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14299 $as_echo_n "checking where to
find the target nm...
" >&6; }
14300 if test "x
${build}" != "x
${host}" ; then
14301 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14302 # We already found the complete path
14303 ac_dir=`dirname $NM_FOR_TARGET`
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14305 $as_echo "pre-installed
in $ac_dir" >&6; }
14307 # Canadian cross, just use what we found
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14309 $as_echo "pre-installed
" >&6; }
14313 case " ${configdirs} " in
14318 if test $ok = yes; then
14319 # An in-tree tool is available and we can use it
14320 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14322 $as_echo "just compiled
" >&6; }
14323 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14324 # We already found the complete path
14325 ac_dir=`dirname $NM_FOR_TARGET`
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14327 $as_echo "pre-installed
in $ac_dir" >&6; }
14328 elif test "x
$target" = "x
$host"; then
14329 # We can use an host tool
14330 NM_FOR_TARGET='$(NM)'
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14332 $as_echo "host tool
" >&6; }
14334 # We need a cross tool
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14336 $as_echo "pre-installed
" >&6; }
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14341 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14342 if test "x
${build}" != "x
${host}" ; then
14343 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14344 # We already found the complete path
14345 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14347 $as_echo "pre-installed
in $ac_dir" >&6; }
14349 # Canadian cross, just use what we found
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14351 $as_echo "pre-installed
" >&6; }
14355 case " ${configdirs} " in
14360 if test $ok = yes; then
14361 # An in-tree tool is available and we can use it
14362 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14364 $as_echo "just compiled
" >&6; }
14365 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14366 # We already found the complete path
14367 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14369 $as_echo "pre-installed
in $ac_dir" >&6; }
14370 elif test "x
$target" = "x
$host"; then
14371 # We can use an host tool
14372 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14374 $as_echo "host tool
" >&6; }
14376 # We need a cross tool
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14378 $as_echo "pre-installed
" >&6; }
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14383 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14384 if test "x
${build}" != "x
${host}" ; then
14385 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14386 # We already found the complete path
14387 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14389 $as_echo "pre-installed
in $ac_dir" >&6; }
14391 # Canadian cross, just use what we found
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14393 $as_echo "pre-installed
" >&6; }
14397 case " ${configdirs} " in
14402 if test $ok = yes; then
14403 # An in-tree tool is available and we can use it
14404 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14406 $as_echo "just compiled
" >&6; }
14407 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14408 # We already found the complete path
14409 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14411 $as_echo "pre-installed
in $ac_dir" >&6; }
14412 elif test "x
$target" = "x
$host"; then
14413 # We can use an host tool
14414 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14416 $as_echo "host tool
" >&6; }
14418 # We need a cross tool
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14420 $as_echo "pre-installed
" >&6; }
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14425 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14426 if test "x
${build}" != "x
${host}" ; then
14427 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14428 # We already found the complete path
14429 ac_dir=`dirname $RANLIB_FOR_TARGET`
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14431 $as_echo "pre-installed
in $ac_dir" >&6; }
14433 # Canadian cross, just use what we found
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14435 $as_echo "pre-installed
" >&6; }
14439 case " ${configdirs} " in
14444 if test $ok = yes; then
14445 # An in-tree tool is available and we can use it
14446 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14448 $as_echo "just compiled
" >&6; }
14449 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14450 # We already found the complete path
14451 ac_dir=`dirname $RANLIB_FOR_TARGET`
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14453 $as_echo "pre-installed
in $ac_dir" >&6; }
14454 elif test "x
$target" = "x
$host"; then
14455 # We can use an host tool
14456 RANLIB_FOR_TARGET='$(RANLIB)'
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14458 $as_echo "host tool
" >&6; }
14460 # We need a cross tool
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14462 $as_echo "pre-installed
" >&6; }
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14467 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14468 if test "x
${build}" != "x
${host}" ; then
14469 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14470 # We already found the complete path
14471 ac_dir=`dirname $READELF_FOR_TARGET`
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14473 $as_echo "pre-installed
in $ac_dir" >&6; }
14475 # Canadian cross, just use what we found
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14477 $as_echo "pre-installed
" >&6; }
14481 case " ${configdirs} " in
14486 if test $ok = yes; then
14487 # An in-tree tool is available and we can use it
14488 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14490 $as_echo "just compiled
" >&6; }
14491 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14492 # We already found the complete path
14493 ac_dir=`dirname $READELF_FOR_TARGET`
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14495 $as_echo "pre-installed
in $ac_dir" >&6; }
14496 elif test "x
$target" = "x
$host"; then
14497 # We can use an host tool
14498 READELF_FOR_TARGET='$(READELF)'
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14500 $as_echo "host tool
" >&6; }
14502 # We need a cross tool
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14504 $as_echo "pre-installed
" >&6; }
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14509 $as_echo_n "checking where to
find the target strip...
" >&6; }
14510 if test "x
${build}" != "x
${host}" ; then
14511 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14512 # We already found the complete path
14513 ac_dir=`dirname $STRIP_FOR_TARGET`
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14515 $as_echo "pre-installed
in $ac_dir" >&6; }
14517 # Canadian cross, just use what we found
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14519 $as_echo "pre-installed
" >&6; }
14523 case " ${configdirs} " in
14528 if test $ok = yes; then
14529 # An in-tree tool is available and we can use it
14530 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14532 $as_echo "just compiled
" >&6; }
14533 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14534 # We already found the complete path
14535 ac_dir=`dirname $STRIP_FOR_TARGET`
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14537 $as_echo "pre-installed
in $ac_dir" >&6; }
14538 elif test "x
$target" = "x
$host"; then
14539 # We can use an host tool
14540 STRIP_FOR_TARGET='$(STRIP)'
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14542 $as_echo "host tool
" >&6; }
14544 # We need a cross tool
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14546 $as_echo "pre-installed
" >&6; }
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14551 $as_echo_n "checking where to
find the target windres...
" >&6; }
14552 if test "x
${build}" != "x
${host}" ; then
14553 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14554 # We already found the complete path
14555 ac_dir=`dirname $WINDRES_FOR_TARGET`
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14557 $as_echo "pre-installed
in $ac_dir" >&6; }
14559 # Canadian cross, just use what we found
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14561 $as_echo "pre-installed
" >&6; }
14565 case " ${configdirs} " in
14570 if test $ok = yes; then
14571 # An in-tree tool is available and we can use it
14572 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14574 $as_echo "just compiled
" >&6; }
14575 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14576 # We already found the complete path
14577 ac_dir=`dirname $WINDRES_FOR_TARGET`
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14579 $as_echo "pre-installed
in $ac_dir" >&6; }
14580 elif test "x
$target" = "x
$host"; then
14581 # We can use an host tool
14582 WINDRES_FOR_TARGET='$(WINDRES)'
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14584 $as_echo "host tool
" >&6; }
14586 # We need a cross tool
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14588 $as_echo "pre-installed
" >&6; }
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14593 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14594 if test "x
${build}" != "x
${host}" ; then
14595 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14596 # We already found the complete path
14597 ac_dir=`dirname $WINDMC_FOR_TARGET`
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14599 $as_echo "pre-installed
in $ac_dir" >&6; }
14601 # Canadian cross, just use what we found
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14603 $as_echo "pre-installed
" >&6; }
14607 case " ${configdirs} " in
14612 if test $ok = yes; then
14613 # An in-tree tool is available and we can use it
14614 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14616 $as_echo "just compiled
" >&6; }
14617 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14618 # We already found the complete path
14619 ac_dir=`dirname $WINDMC_FOR_TARGET`
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14621 $as_echo "pre-installed
in $ac_dir" >&6; }
14622 elif test "x
$target" = "x
$host"; then
14623 # We can use an host tool
14624 WINDMC_FOR_TARGET='$(WINDMC)'
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14626 $as_echo "host tool
" >&6; }
14628 # We need a cross tool
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14630 $as_echo "pre-installed
" >&6; }
14638 # Certain tools may need extra flags.
14639 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14640 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14641 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14643 # When building target libraries, except in a Canadian cross, we use
14644 # the same toolchain as the compiler we just built.
14645 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14646 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14647 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14648 if test $host = $build; then
14649 case " $configdirs " in
14651 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14652 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14653 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14663 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14664 # Check whether --enable-maintainer-mode was given.
14665 if test "${enable_maintainer_mode+set}" = set; then :
14666 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14668 USE_MAINTAINER_MODE=no
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14672 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14675 if test "$USE_MAINTAINER_MODE" = yes; then
14676 MAINTAINER_MODE_TRUE=
14677 MAINTAINER_MODE_FALSE='#'
14679 MAINTAINER_MODE_TRUE='#'
14680 MAINTAINER_MODE_FALSE=
14682 MAINT=$MAINTAINER_MODE_TRUE
14684 # ---------------------
14685 # GCC bootstrap support
14686 # ---------------------
14688 # Stage specific cflags for build.
14693 yes) stage1_cflags="-g -Wa,-J" ;;
14694 *) stage1_cflags="-g -J" ;;
14700 # Enable --enable-checking in stage1 of the compiler.
14701 # Check whether --enable-stage1-checking was given.
14702 if test "${enable_stage1_checking+set}" = set; then :
14703 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14705 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14706 # For --disable-checking or implicit --enable-checking=release, avoid
14707 # setting --enable-checking=gc in the default stage1 checking for LTO
14708 # bootstraps. See PR62077.
14709 case $BUILD_CONFIG in
14711 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
14713 stage1_checking=--enable-checking=yes,types;;
14715 if test "x
$enable_checking" = x && \
14716 test -d ${srcdir}/gcc && \
14717 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14718 stage1_checking=--enable-checking=yes,types,extra
14721 stage1_checking=--enable-checking=$enable_checking,types
14727 # Enable -Werror in bootstrap stage2 and later.
14728 # Check whether --enable-werror was given.
14729 if test "${enable_werror+set}" = set; then :
14730 enableval=$enable_werror;
14731 case ${enable_werror} in
14732 yes) stage2_werror_flag="--enable-werror-always" ;;
14733 *) stage2_werror_flag="" ;;
14738 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14739 case $BUILD_CONFIG in
14741 stage2_werror_flag="--enable-werror-always" ;;
14743 stage2_werror_flag="--enable-werror-always" ;;
14752 # Specify what files to not compare during bootstrap.
14754 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14756 hppa*64*-*-hpux*) ;;
14757 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/* | gcc
/function-tests.o
" ;;
14758 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14762 ac_config_files="$ac_config_files Makefile
"
14764 cat >confcache <<\_ACEOF
14765 # This file is a shell script that caches the results of configure
14766 # tests run on this system so they can be shared between configure
14767 # scripts and configure runs, see configure's option --config-cache.
14768 # It is not useful on other systems. If it contains results you don't
14769 # want to keep, you may remove or edit it.
14771 # config.status only pays attention to the cache file if you give it
14772 # the --recheck option to rerun configure.
14774 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14775 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14776 # following values.
14780 # The following way of writing the cache mishandles newlines in values,
14781 # but we know of no workaround that is simple, portable, and efficient.
14782 # So, we kill variables containing newlines.
14783 # Ultrix sh set writes to stderr and can't be redirected directly,
14784 # and sets the high bit in the cache file unless we assign to the vars.
14786 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14787 eval ac_val=\$$ac_var
14791 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14792 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14795 _ | IFS | as_nl) ;; #(
14796 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14797 *) { eval $ac_var=; unset $ac_var;} ;;
14803 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14804 *${as_nl}ac_space=\ *)
14805 # `set' does not quote correctly, so add quotes: double-quote
14806 # substitution turns \\\\ into \\, and sed turns \\ into \.
14809 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14812 # `set' quotes correctly as required by POSIX, so do not add quotes.
14813 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14822 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14824 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14826 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14827 if test -w "$cache_file"; then
14828 if test "x
$cache_file" != "x
/dev
/null
"; then
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14830 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14831 if test ! -f "$cache_file" || test -h "$cache_file"; then
14832 cat confcache >"$cache_file"
14834 case $cache_file in #(
14836 mv -f confcache "$cache_file"$$ &&
14837 mv -f "$cache_file"$$ "$cache_file" ;; #(
14839 mv -f confcache "$cache_file" ;;
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14845 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14850 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14851 # Let make expand exec_prefix.
14852 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14854 # Transform confdefs.h into DEFS.
14855 # Protect against shell expansion while executing Makefile rules.
14856 # Protect against Makefile macro expansion.
14858 # If the first sed substitution is executed (which looks for macros that
14859 # take arguments), then branch to the quote section. Otherwise,
14860 # look for a macro that doesn't take arguments.
14870 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14872 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14876 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14889 DEFS=`sed -n "$ac_script" confdefs.h`
14895 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14896 # 1. Remove the extension, and $U if already installed.
14897 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14898 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14899 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14900 # will be set to the directory where LIBOBJS objects are built.
14901 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14902 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14904 LIBOBJS=$ac_libobjs
14906 LTLIBOBJS=$ac_ltlibobjs
14910 : "${CONFIG_STATUS=./config.status}"
14912 ac_clean_files_save=$ac_clean_files
14913 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14915 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14917 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14919 # Generated by $as_me.
14920 # Run this file to recreate the current configuration.
14921 # Compiler output produced by configure, useful for debugging
14922 # configure, is in config.log if it exists.
14925 ac_cs_recheck=false
14928 SHELL=\${CONFIG_SHELL-$SHELL}
14931 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14932 ## -------------------- ##
14933 ## M4sh Initialization. ##
14934 ## -------------------- ##
14936 # Be more Bourne compatible
14937 DUALCASE=1; export DUALCASE # for MKS sh
14938 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14941 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14942 # is contrary to our usage. Disable this feature.
14943 alias -g '${1+"$@"}'='"$@"'
14944 setopt NO_GLOB_SUBST
14946 case `(set -o) 2>/dev/null` in #(
14958 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14959 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14960 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14961 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14962 # Prefer a ksh shell builtin over an external printf program on Solaris,
14963 # but without wasting forks for bash or zsh.
14964 if test -z "$BASH_VERSION$ZSH_VERSION" \
14965 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14966 as_echo
='print -r --'
14967 as_echo_n
='print -rn --'
14968 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14969 as_echo
='printf %s\n'
14970 as_echo_n
='printf %s'
14972 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14973 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14974 as_echo_n
='/usr/ucb/echo -n'
14976 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14977 as_echo_n_body
='eval
14981 expr "X$arg" : "X\\(.*\\)$as_nl";
14982 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14984 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14986 export as_echo_n_body
14987 as_echo_n
='sh -c $as_echo_n_body as_echo'
14989 export as_echo_body
14990 as_echo
='sh -c $as_echo_body as_echo'
14993 # The user is always right.
14994 if test "${PATH_SEPARATOR+set}" != set; then
14996 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14997 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15004 # We need space, tab and new line, in precisely that order. Quoting is
15005 # there to prevent editors from complaining about space-tab.
15006 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15007 # splitting by setting IFS to empty value.)
15010 # Find who we are. Look in the path if we contain no directory separator.
15013 *[\\/]* ) as_myself
=$0 ;;
15014 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15015 for as_dir
in $PATH
15018 test -z "$as_dir" && as_dir
=.
15019 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15025 # We did not find ourselves, most probably we were run as `sh COMMAND'
15026 # in which case we are not to be found in the path.
15027 if test "x$as_myself" = x
; then
15030 if test ! -f "$as_myself"; then
15031 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15035 # Unset variables that we do not need and which cause bugs (e.g. in
15036 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15037 # suppresses any "Segmentation fault" message there. '((' could
15038 # trigger a bug in pdksh 5.2.14.
15039 for as_var
in BASH_ENV ENV MAIL MAILPATH
15040 do eval test x\
${$as_var+set} = xset \
15041 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15054 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15057 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15058 # ----------------------------------------
15059 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15060 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15061 # script with STATUS, using 1 if that was 0.
15064 as_status
=$1; test $as_status -eq 0 && as_status
=1
15066 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15067 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15069 $as_echo "$as_me: error: $2" >&2
15070 as_fn_exit
$as_status
15074 # as_fn_set_status STATUS
15075 # -----------------------
15076 # Set $? to STATUS, without forking.
15077 as_fn_set_status
()
15080 } # as_fn_set_status
15082 # as_fn_exit STATUS
15083 # -----------------
15084 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15088 as_fn_set_status
$1
15094 # Portably unset VAR.
15097 { eval $1=; unset $1;}
15099 as_unset
=as_fn_unset
15100 # as_fn_append VAR VALUE
15101 # ----------------------
15102 # Append the text in VALUE to the end of the definition contained in VAR. Take
15103 # advantage of any shell optimizations that allow amortized linear growth over
15104 # repeated appends, instead of the typical quadratic growth present in naive
15106 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15107 eval 'as_fn_append ()
15118 # as_fn_arith ARG...
15119 # ------------------
15120 # Perform arithmetic evaluation on the ARGs, and store the result in the
15121 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15122 # must be portable across $(()) and expr.
15123 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15124 eval 'as_fn_arith ()
15131 as_val
=`expr "$@" || test $? -eq 1`
15136 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15137 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15143 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15144 as_basename
=basename
15149 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15155 as_me
=`$as_basename -- "$0" ||
15156 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15157 X"$0" : 'X\(//\)$' \| \
15158 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15160 sed '/^.*\/\([^/][^/]*\)\/*$/{
15174 # Avoid depending upon Character Ranges.
15175 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15176 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15177 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15178 as_cr_digits
='0123456789'
15179 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15181 ECHO_C
= ECHO_N
= ECHO_T
=
15182 case `echo -n x` in #(((((
15184 case `echo 'xy\c'` in
15185 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15187 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15194 rm -f conf$$ conf$$.exe conf$$.
file
15195 if test -d conf$$.dir
; then
15196 rm -f conf$$.dir
/conf$$.
file
15199 mkdir conf$$.dir
2>/dev
/null
15201 if (echo >conf$$.
file) 2>/dev
/null
; then
15202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15204 # ... but there are two gotchas:
15205 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15206 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15207 # In both cases, we have to default to `cp -pR'.
15208 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15210 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15218 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15219 rmdir conf$$.dir
2>/dev
/null
15224 # Create "$as_dir" as a directory, including parents if necessary.
15229 -*) as_dir
=.
/$as_dir;;
15231 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15235 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15236 *) as_qdir
=$as_dir;;
15238 as_dirs
="'$as_qdir' $as_dirs"
15239 as_dir
=`$as_dirname -- "$as_dir" ||
15240 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15241 X"$as_dir" : 'X\(//\)[^/]' \| \
15242 X"$as_dir" : 'X\(//\)$' \| \
15243 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15244 $as_echo X"$as_dir" |
15245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15249 /^X\(\/\/\)[^/].*/{
15262 test -d "$as_dir" && break
15264 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15265 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15269 if mkdir
-p .
2>/dev
/null
; then
15270 as_mkdir_p
='mkdir -p "$as_dir"'
15272 test -d .
/-p && rmdir .
/-p
15277 # as_fn_executable_p FILE
15278 # -----------------------
15279 # Test if FILE is an executable regular file.
15280 as_fn_executable_p
()
15282 test -f "$1" && test -x "$1"
15283 } # as_fn_executable_p
15284 as_test_x
='test -x'
15285 as_executable_p
=as_fn_executable_p
15287 # Sed expression to map a string onto a valid CPP name.
15288 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15290 # Sed expression to map a string onto a valid variable name.
15291 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15295 ## ----------------------------------- ##
15296 ## Main body of $CONFIG_STATUS script. ##
15297 ## ----------------------------------- ##
15299 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15302 # Save the log message, to keep $0 and so on meaningful, and to
15303 # report actual input values of CONFIG_FILES etc. instead of their
15304 # values after options handling.
15306 This file was extended by $as_me, which was
15307 generated by GNU Autoconf 2.69. Invocation command line was
15309 CONFIG_FILES = $CONFIG_FILES
15310 CONFIG_HEADERS = $CONFIG_HEADERS
15311 CONFIG_LINKS = $CONFIG_LINKS
15312 CONFIG_COMMANDS = $CONFIG_COMMANDS
15315 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15320 case $ac_config_files in *"
15321 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15327 # Files that config.status was made for.
15328 config_files="$ac_config_files"
15332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15334 \`$as_me' instantiates files and other configuration actions
15335 from templates according to the current configuration. Unless the files
15336 and actions are specified as TAGs, all are instantiated by default.
15338 Usage: $0 [OPTION]... [TAG]...
15340 -h, --help print this help, then exit
15341 -V, --version print version number and configuration settings, then exit
15342 --config print configuration, then exit
15343 -q, --quiet, --silent
15344 do not print progress messages
15345 -d, --debug don't remove temporary files
15346 --recheck update $as_me by reconfiguring in the same conditions
15347 --file=FILE[:TEMPLATE]
15348 instantiate the configuration file FILE
15350 Configuration files:
15353 Report bugs to the package provider."
15356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15357 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15360 configured by $0, generated by GNU Autoconf 2.69,
15361 with options \\"\$ac_cs_config\\"
15363 Copyright (C) 2012 Free Software Foundation, Inc.
15364 This config.status script is free software; the Free Software Foundation
15365 gives unlimited permission to copy, distribute and modify it."
15371 test -n "\$AWK" || AWK=awk
15374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15375 # The default lists apply if the user does not specify any file.
15381 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15382 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15386 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15398 # Handling of the options.
15399 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15401 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15402 $as_echo "$ac_cs_version"; exit ;;
15403 --config |
--confi |
--conf |
--con |
--co |
--c )
15404 $as_echo "$ac_cs_config"; exit ;;
15405 --debug |
--debu |
--deb |
--de |
--d |
-d )
15407 --file |
--fil |
--fi |
--f )
15410 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15411 '') as_fn_error $?
"missing file argument" ;;
15413 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15414 ac_need_defaults
=false
;;
15415 --he |
--h |
--help |
--hel |
-h )
15416 $as_echo "$ac_cs_usage"; exit ;;
15417 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15418 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15421 # This is an error.
15422 -*) as_fn_error $?
"unrecognized option: \`$1'
15423 Try \`$0 --help' for more information." ;;
15425 *) as_fn_append ac_config_targets
" $1"
15426 ac_need_defaults
=false
;;
15432 ac_configure_extra_args
=
15434 if $ac_cs_silent; then
15436 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15441 if \$ac_cs_recheck; then
15442 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15444 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15445 CONFIG_SHELL='$SHELL'
15446 export CONFIG_SHELL
15451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15455 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15456 ## Running $as_me. ##
15462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15466 extrasub_build="$extrasub_build"
15467 extrasub_host="$extrasub_host"
15468 extrasub_target="$extrasub_target"
15472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15474 # Handling of arguments.
15475 for ac_config_target
in $ac_config_targets
15477 case $ac_config_target in
15478 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15480 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15485 # If the user did not use the arguments to specify the items to instantiate,
15486 # then the envvar interface is used. Set only those that are not.
15487 # We use the long form for the default assignment because of an extremely
15488 # bizarre bug on SunOS 4.1.3.
15489 if $ac_need_defaults; then
15490 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15493 # Have a temporary directory for convenience. Make it in the build tree
15494 # simply because there is no reason against having it here, and in addition,
15495 # creating and moving files from /tmp can sometimes cause problems.
15496 # Hook for its removal unless debugging.
15497 # Note that there is a small window in which the directory will not be cleaned:
15498 # after its creation but before its name has been assigned to `$tmp'.
15502 trap 'exit_status=$?
15503 : "${ac_tmp:=$tmp}"
15504 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15506 trap 'as_fn_exit 1' 1 2 13 15
15508 # Create a (secure) tmp directory for tmp files.
15511 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15515 tmp
=.
/conf$$
-$RANDOM
15516 (umask 077 && mkdir
"$tmp")
15517 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15520 # Set up the scripts for CONFIG_FILES section.
15521 # No need to generate them if there are no CONFIG_FILES.
15522 # This happens for instance with `./config.status config.h'.
15523 if test -n "$CONFIG_FILES"; then
15525 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15526 ac_cs_awk_getline
=:
15527 ac_cs_awk_pipe_init
=
15528 ac_cs_awk_read_file
='
15529 while ((getline aline < (F[key])) > 0)
15532 ac_cs_awk_pipe_fini
=
15534 ac_cs_awk_getline
=false
15535 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15536 ac_cs_awk_read_file
='
15538 print "cat " F[key] " &&"
15539 '$ac_cs_awk_pipe_init
15540 # The final `:' finishes the AND list.
15541 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15543 ac_cr
=`echo X | tr X '\015'`
15544 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15545 # But we know of no other shell where ac_cr would be empty at this
15546 # point, so we can use a bashism as a fallback.
15547 if test "x$ac_cr" = x
; then
15548 eval ac_cr
=\$
\'\\r
\'
15550 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15551 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15554 ac_cs_awk_cr
=$ac_cr
15557 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15560 # Create commands to substitute file output variables.
15562 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15563 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
15564 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15567 } >conf$
$files.sh
&&
15568 . .
/conf$
$files.sh ||
15569 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
15570 rm -f conf$
$files.sh
15573 echo "cat >conf$$subs.awk <<_ACEOF" &&
15574 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15576 } >conf$$subs.sh ||
15577 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15578 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15580 for ac_last_try in false false false false false :; do
15581 . ./conf$$subs.sh ||
15582 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15584 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15585 if test $ac_delim_n = $ac_delim_num; then
15587 elif $ac_last_try; then
15588 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15590 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15593 rm -f conf$$subs.sh
15595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15596 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15600 s/^/S["/; s
/!.
*/"]=/
15610 s/\(.\{148\}\)..*/\1/
15612 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15617 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15624 s/\(.\{148\}\)..*/\1/
15626 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15630 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15635 ' <conf$$subs.awk | sed '
15640 ' >>$CONFIG_STATUS || ac_write_fail=1
15641 rm -f conf$$subs.awk
15642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15644 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15645 for (key in S) S_is_set[key] = 1
15647 \$ac_cs_awk_pipe_init
15651 nfields = split(line, field, "@
")
15653 len = length(field[1])
15654 for (i = 2; i < nfields; i++) {
15656 keylen = length(key)
15657 if (S_is_set[key]) {
15659 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15660 len += length(value) + length(field[++i])
15665 if (nfields == 3 && !substed) {
15667 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15668 \$ac_cs_awk_read_file
15674 \$ac_cs_awk_pipe_fini
15677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15678 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15679 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15682 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15683 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15686 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15687 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15688 # trailing colons and then remove the whole line if VPATH becomes empty
15689 # (actually we leave an empty line to preserve line numbers).
15690 if test "x
$srcdir" = x.; then
15691 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15710 fi # test -n "$CONFIG_FILES"
15713 eval set X " :F
$CONFIG_FILES "
15718 :[FHLC]) ac_mode=$ac_tag; continue;;
15720 case $ac_mode$ac_tag in
15722 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15723 :[FH]-) ac_tag=-:-;;
15724 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15741 -) ac_f="$ac_tmp/stdin";;
15742 *) # Look for the file first in the build tree, then in the source tree
15743 # (if the path is not absolute). The absolute path cannot be DOS-style,
15744 # because $ac_f cannot contain `:'.
15748 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15750 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15752 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15753 as_fn_append ac_file_inputs " '$ac_f'"
15756 # Let's still pretend it is `configure' which instantiates (i.e., don't
15757 # use $as_me), people would be surprised to read:
15758 # /* config.h. Generated by config.status. */
15759 configure_input='Generated from '`
15760 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15762 if test x"$ac_file" != x-; then
15763 configure_input="$ac_file.
$configure_input"
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15765 $as_echo "$as_me: creating
$ac_file" >&6;}
15767 # Neutralize special characters interpreted by sed in replacement strings.
15768 case $configure_input in #(
15769 *\&* | *\|* | *\\* )
15770 ac_sed_conf_input=`$as_echo "$configure_input" |
15771 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15772 *) ac_sed_conf_input=$configure_input;;
15776 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
15777 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
15782 ac_dir=`$as_dirname -- "$ac_file" ||
15783 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15784 X"$ac_file" : 'X\(//\)[^/]' \| \
15785 X"$ac_file" : 'X\(//\)$' \| \
15786 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15787 $as_echo X"$ac_file" |
15788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15792 /^X\(\/\/\)[^/].*/{
15805 as_dir="$ac_dir"; as_fn_mkdir_p
15809 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15811 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15812 # A "..
" for each directory in $ac_dir_suffix.
15813 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15814 case $ac_top_builddir_sub in
15815 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15816 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15819 ac_abs_top_builddir=$ac_pwd
15820 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15821 # for backward compatibility:
15822 ac_top_builddir=$ac_top_build_prefix
15825 .) # We are building in place.
15827 ac_top_srcdir=$ac_top_builddir_sub
15828 ac_abs_top_srcdir=$ac_pwd ;;
15829 [\\/]* | ?:[\\/]* ) # Absolute name.
15830 ac_srcdir=$srcdir$ac_dir_suffix;
15831 ac_top_srcdir=$srcdir
15832 ac_abs_top_srcdir=$srcdir ;;
15833 *) # Relative name.
15834 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15835 ac_top_srcdir=$ac_top_build_prefix$srcdir
15836 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15838 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15848 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15849 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15854 # If the template does not know about datarootdir, expand it.
15855 # FIXME: This hack should be removed a few years after 2.60.
15856 ac_datarootdir_hack=; ac_datarootdir_seen=
15867 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15868 *datarootdir*) ac_datarootdir_seen=yes;;
15869 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15871 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15874 ac_datarootdir_hack='
15875 s&@datadir@&$datadir&g
15876 s&@docdir@&$docdir&g
15877 s&@infodir@&$infodir&g
15878 s&@localedir@&$localedir&g
15879 s&@mandir@&$mandir&g
15880 s&\\\${datarootdir}&$datarootdir&g' ;;
15884 # Neutralize VPATH when `$srcdir' = `.'.
15885 # Shell code in configure.ac might set extrasub.
15886 # FIXME: do we really want to maintain this feature?
15887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15888 ac_sed_extra="$ac_vpsub
15891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15893 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15894 s|@configure_input@|
$ac_sed_conf_input|
;t t
15895 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15896 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15897 s
&@srcdir@
&$ac_srcdir&;t t
15898 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15899 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15900 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15901 s
&@builddir@
&$ac_builddir&;t t
15902 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15903 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15904 s
&@INSTALL@
&$ac_INSTALL&;t t
15905 $ac_datarootdir_hack
15907 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15908 if $ac_cs_awk_getline; then
15909 $AWK -f "$ac_tmp/subs.
awk"
15911 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
15913 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15915 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15916 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15917 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15918 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15920 which seems to be undefined. Please make sure it is defined" >&5
15921 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15922 which seems to be undefined. Please make sure it is defined" >&2;}
15924 rm -f "$ac_tmp/stdin"
15926 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15927 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15929 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15937 case $ac_file$ac_mode in
15938 "Makefile":F) sed "$extrasub_build" Makefile |
15939 sed "$extrasub_host" |
15940 sed "$extrasub_target" > mf$$
15941 mv -f mf$$ Makefile ;;
15949 ac_clean_files=$ac_clean_files_save
15951 test $ac_write_fail = 0 ||
15952 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15955 # configure is writing to config.log, and then calls config.status.
15956 # config.status does its own redirection, appending to config.log.
15957 # Unfortunately, on DOS this fails, as config.log is still kept open
15958 # by configure, so config.status won't be able to
write to it
; its
15959 # output is simply discarded. So we exec the FD to /dev/null,
15960 # effectively closing config.log, so it can be properly (re)opened and
15961 # appended to by config.status. When coming back to configure, we
15962 # need to make the FD available again.
15963 if test "$no_create" != yes; then
15965 ac_config_status_args
=
15966 test "$silent" = yes &&
15967 ac_config_status_args
="$ac_config_status_args --quiet"
15969 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15971 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15972 # would make configure fail if this is the last instruction.
15973 $ac_cs_success || as_fn_exit
1
15975 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15977 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}