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
676 DEBUG_PREFIX_CFLAGS_FOR_TARGET
677 SYSROOT_CFLAGS_FOR_TARGET
679 extra_host_zlib_configure_flags
680 extra_host_libiberty_configure_flags
683 extra_linker_plugin_flags
684 extra_linker_plugin_configure_flags
691 extra_isl_gmp_configure_flags
692 extra_mpc_mpfr_configure_flags
693 extra_mpc_gmp_configure_flags
694 extra_mpfr_configure_flags
710 extra_liboffloadmic_configure_flags
737 TOPLEVEL_CONFIGURE_ARGUMENTS
765 program_transform_name
776 ac_subst_files
='serialization_dependencies
782 enable_option_checking
785 enable_as_accelerator_for
786 enable_offload_targets
789 enable_compressed_debug_sections
791 enable_libquadmath_support
809 with_static_standard_libraries
816 enable_isl_version_check
818 enable_linker_plugin_configure_flags
819 enable_linker_plugin_flags
821 enable_stage1_languages
824 with_target_bdw_gc_include
825 with_target_bdw_gc_lib
826 with_gcc_major_version_only
828 with_debug_prefix_map
831 enable_serial_configure
832 with_build_time_tools
833 enable_maintainer_mode
834 enable_stage1_checking
837 ac_precious_vars
='build_alias
887 # Initialize some variables set by options.
889 ac_init_version
=false
890 ac_unrecognized_opts
=
892 # The variables have the same names as the options, with
893 # dashes changed to underlines.
901 program_transform_name
=s
,x
,x
,
909 # Installation directory options.
910 # These are left unexpanded so users can "make install exec_prefix=/foo"
911 # and all the variables that are supposed to be based on exec_prefix
912 # by default will actually change.
913 # Use braces instead of parens because sh, perl, etc. also accept them.
914 # (The list follows the same order as the GNU Coding Standards.)
915 bindir
='${exec_prefix}/bin'
916 sbindir
='${exec_prefix}/sbin'
917 libexecdir
='${exec_prefix}/libexec'
918 datarootdir
='${prefix}/share'
919 datadir
='${datarootdir}'
920 sysconfdir
='${prefix}/etc'
921 sharedstatedir
='${prefix}/com'
922 localstatedir
='${prefix}/var'
923 includedir
='${prefix}/include'
924 oldincludedir
='/usr/include'
925 docdir
='${datarootdir}/doc/${PACKAGE}'
926 infodir
='${datarootdir}/info'
931 libdir
='${exec_prefix}/lib'
932 localedir
='${datarootdir}/locale'
933 mandir
='${datarootdir}/man'
939 # If the previous option needs an argument, assign it.
940 if test -n "$ac_prev"; then
941 eval $ac_prev=\
$ac_option
947 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
952 # Accept the important Cygnus configure options, so we can diagnose typos.
954 case $ac_dashdash$ac_option in
958 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
960 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
963 -build |
--build |
--buil |
--bui |
--bu)
964 ac_prev
=build_alias
;;
965 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
966 build_alias
=$ac_optarg ;;
968 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
969 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
970 ac_prev
=cache_file
;;
971 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
972 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
973 cache_file
=$ac_optarg ;;
976 cache_file
=config.cache
;;
978 -datadir |
--datadir |
--datadi |
--datad)
980 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
981 datadir
=$ac_optarg ;;
983 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
984 |
--dataroo |
--dataro |
--datar)
985 ac_prev
=datarootdir
;;
986 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
987 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
988 datarootdir
=$ac_optarg ;;
990 -disable-* |
--disable-*)
991 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
994 as_fn_error $?
"invalid feature name: $ac_useropt"
995 ac_useropt_orig
=$ac_useropt
996 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
1001 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep
=', ';;
1004 eval enable_
$ac_useropt=no
;;
1006 -docdir |
--docdir |
--docdi |
--doc |
--do)
1008 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1009 docdir
=$ac_optarg ;;
1011 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1013 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1014 dvidir
=$ac_optarg ;;
1016 -enable-* |
--enable-*)
1017 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1020 as_fn_error $?
"invalid feature name: $ac_useropt"
1021 ac_useropt_orig
=$ac_useropt
1022 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "enable_
$ac_useropt"
1027 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep
=', ';;
1030 eval enable_
$ac_useropt=\
$ac_optarg ;;
1032 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1033 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1034 |
--exec |
--exe |
--ex)
1035 ac_prev
=exec_prefix
;;
1036 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1037 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1038 |
--exec=* |
--exe=* |
--ex=*)
1039 exec_prefix
=$ac_optarg ;;
1041 -gas |
--gas |
--ga |
--g)
1042 # Obsolete; use --with-gas.
1045 -help |
--help |
--hel |
--he |
-h)
1046 ac_init_help
=long
;;
1047 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1048 ac_init_help
=recursive
;;
1049 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1050 ac_init_help
=short
;;
1052 -host |
--host |
--hos |
--ho)
1053 ac_prev
=host_alias
;;
1054 -host=* |
--host=* |
--hos=* |
--ho=*)
1055 host_alias
=$ac_optarg ;;
1057 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1059 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1061 htmldir
=$ac_optarg ;;
1063 -includedir |
--includedir |
--includedi |
--included |
--include \
1064 |
--includ |
--inclu |
--incl |
--inc)
1065 ac_prev
=includedir
;;
1066 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1067 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1068 includedir
=$ac_optarg ;;
1070 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1072 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1073 infodir
=$ac_optarg ;;
1075 -libdir |
--libdir |
--libdi |
--libd)
1077 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1078 libdir
=$ac_optarg ;;
1080 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1081 |
--libexe |
--libex |
--libe)
1082 ac_prev
=libexecdir
;;
1083 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1084 |
--libexe=* |
--libex=* |
--libe=*)
1085 libexecdir
=$ac_optarg ;;
1087 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1088 ac_prev
=localedir
;;
1089 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1090 localedir
=$ac_optarg ;;
1092 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1093 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1094 ac_prev
=localstatedir
;;
1095 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1096 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1097 localstatedir
=$ac_optarg ;;
1099 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1101 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1102 mandir
=$ac_optarg ;;
1104 -nfp |
--nfp |
--nf)
1105 # Obsolete; use --without-fp.
1108 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1109 |
--no-cr |
--no-c |
-n)
1112 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1113 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1116 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1117 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1118 |
--oldin |
--oldi |
--old |
--ol |
--o)
1119 ac_prev
=oldincludedir
;;
1120 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1121 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1122 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1123 oldincludedir
=$ac_optarg ;;
1125 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1127 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1128 prefix
=$ac_optarg ;;
1130 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1131 |
--program-pre |
--program-pr |
--program-p)
1132 ac_prev
=program_prefix
;;
1133 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1134 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1135 program_prefix
=$ac_optarg ;;
1137 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1138 |
--program-suf |
--program-su |
--program-s)
1139 ac_prev
=program_suffix
;;
1140 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1141 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1142 program_suffix
=$ac_optarg ;;
1144 -program-transform-name |
--program-transform-name \
1145 |
--program-transform-nam |
--program-transform-na \
1146 |
--program-transform-n |
--program-transform- \
1147 |
--program-transform |
--program-transfor \
1148 |
--program-transfo |
--program-transf \
1149 |
--program-trans |
--program-tran \
1150 |
--progr-tra |
--program-tr |
--program-t)
1151 ac_prev
=program_transform_name
;;
1152 -program-transform-name=* |
--program-transform-name=* \
1153 |
--program-transform-nam=* |
--program-transform-na=* \
1154 |
--program-transform-n=* |
--program-transform-=* \
1155 |
--program-transform=* |
--program-transfor=* \
1156 |
--program-transfo=* |
--program-transf=* \
1157 |
--program-trans=* |
--program-tran=* \
1158 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1159 program_transform_name
=$ac_optarg ;;
1161 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1163 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1164 pdfdir
=$ac_optarg ;;
1166 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1168 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1171 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1172 |
-silent |
--silent |
--silen |
--sile |
--sil)
1175 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1177 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1179 sbindir
=$ac_optarg ;;
1181 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1182 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1183 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1185 ac_prev
=sharedstatedir
;;
1186 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1187 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1188 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1190 sharedstatedir
=$ac_optarg ;;
1192 -site |
--site |
--sit)
1194 -site=* |
--site=* |
--sit=*)
1197 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1199 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1200 srcdir
=$ac_optarg ;;
1202 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1203 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1204 ac_prev
=sysconfdir
;;
1205 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1206 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1207 sysconfdir
=$ac_optarg ;;
1209 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1210 ac_prev
=target_alias
;;
1211 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1212 target_alias
=$ac_optarg ;;
1214 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1217 -version |
--version |
--versio |
--versi |
--vers |
-V)
1218 ac_init_version
=: ;;
1221 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1224 as_fn_error $?
"invalid package name: $ac_useropt"
1225 ac_useropt_orig
=$ac_useropt
1226 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1231 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep
=', ';;
1234 eval with_
$ac_useropt=\
$ac_optarg ;;
1236 -without-* |
--without-*)
1237 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1240 as_fn_error $?
"invalid package name: $ac_useropt"
1241 ac_useropt_orig
=$ac_useropt
1242 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1247 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep
=', ';;
1250 eval with_
$ac_useropt=no
;;
1253 # Obsolete; use --with-x.
1256 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1257 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1258 ac_prev
=x_includes
;;
1259 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1260 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1261 x_includes
=$ac_optarg ;;
1263 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1264 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1265 ac_prev
=x_libraries
;;
1266 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1267 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1268 x_libraries
=$ac_optarg ;;
1270 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information"
1275 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1276 # Reject names that are not valid shell variable names.
1277 case $ac_envvar in #(
1278 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1279 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1281 eval $ac_envvar=\
$ac_optarg
1282 export $ac_envvar ;;
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1295 if test -n "$ac_prev"; then
1296 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1297 as_fn_error $?
"missing argument to $ac_option"
1300 if test -n "$ac_unrecognized_opts"; then
1301 case $enable_option_checking in
1303 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1308 # Check all directory arguments for consistency.
1309 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1314 eval ac_val
=\$
$ac_var
1315 # Remove trailing slashes.
1318 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319 eval $ac_var=\
$ac_val;;
1321 # Be sure to have absolute directory names.
1323 [\\/$
]* | ?
:[\\/]* ) continue;;
1324 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1326 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1334 target
=$target_alias
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x
; then
1338 if test "x$build_alias" = x
; then
1339 cross_compiling
=maybe
1340 elif test "x$build_alias" != "x$host_alias"; then
1346 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1348 test "$silent" = yes && exec 6>/dev
/null
1351 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1352 ac_ls_di
=`ls -di .` &&
1353 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1354 as_fn_error $?
"working directory cannot be determined"
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 as_fn_error $?
"pwd does not report name of working directory"
1359 # Find the source files, if location was not specified.
1360 if test -z "$srcdir"; then
1361 ac_srcdir_defaulted
=yes
1362 # Try the directory containing this script, then the parent directory.
1363 ac_confdir
=`$as_dirname -- "$as_myself" ||
1364 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1365 X"$as_myself" : 'X\(//\)[^/]' \| \
1366 X"$as_myself" : 'X\(//\)$' \| \
1367 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1368 $as_echo X"$as_myself" |
1369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1391 ac_srcdir_defaulted
=no
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1395 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1397 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1399 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1401 # When building in place, set srcdir=.
1402 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 # Remove unnecessary trailing slashes from srcdir.
1406 # Double slashes in file names in object file debugging info
1407 # mess up M-x gdb in Emacs.
1409 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1413 as_fn_error $?
"path to source, $srcdir, contains spaces"
1416 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1418 for ac_var
in $ac_precious_vars; do
1419 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1420 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1421 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1422 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1426 # Report the --help message.
1428 if test "$ac_init_help" = "long"; then
1429 # Omit some internal or obsolete options to make the list less imposing.
1430 # This message is too long to be a string in the A/UX 3.1 sh.
1432 \`configure' configures this package to adapt to many kinds of systems.
1434 Usage: $0 [OPTION]... [VAR=VALUE]...
1436 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1437 VAR=VALUE. See below for descriptions of some of the useful variables.
1439 Defaults for the options are specified in brackets.
1442 -h, --help display this help and exit
1443 --help=short display options specific to this package
1444 --help=recursive display the short help of all the included packages
1445 -V, --version display version information and exit
1446 -q, --quiet, --silent do not print \`checking ...' messages
1447 --cache-file=FILE cache test results in FILE [disabled]
1448 -C, --config-cache alias for \`--cache-file=config.cache'
1449 -n, --no-create do not create output files
1450 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1452 Installation directories:
1453 --prefix=PREFIX install architecture-independent files in PREFIX
1454 [$ac_default_prefix]
1455 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1458 By default, \`make install' will install all the files in
1459 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1460 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1461 for instance \`--prefix=\$HOME'.
1463 For better control, use the options below.
1465 Fine tuning of the installation directories:
1466 --bindir=DIR user executables [EPREFIX/bin]
1467 --sbindir=DIR system admin executables [EPREFIX/sbin]
1468 --libexecdir=DIR program executables [EPREFIX/libexec]
1469 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1470 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1471 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1472 --libdir=DIR object code libraries [EPREFIX/lib]
1473 --includedir=DIR C header files [PREFIX/include]
1474 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1475 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1476 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1477 --infodir=DIR info documentation [DATAROOTDIR/info]
1478 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1479 --mandir=DIR man documentation [DATAROOTDIR/man]
1480 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1481 --htmldir=DIR html documentation [DOCDIR]
1482 --dvidir=DIR dvi documentation [DOCDIR]
1483 --pdfdir=DIR pdf documentation [DOCDIR]
1484 --psdir=DIR ps documentation [DOCDIR]
1490 --program-prefix=PREFIX prepend PREFIX to installed program names
1491 --program-suffix=SUFFIX append SUFFIX to installed program names
1492 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1495 --build=BUILD configure
for building on BUILD
[guessed
]
1496 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1497 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1501 if test -n "$ac_init_help"; then
1506 --disable-option-checking ignore unrecognized
--enable/--with options
1507 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1508 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1509 --enable-as-accelerator-for=ARG
1510 build as offload target compiler. Specify offload
1512 --enable-offload-targets=LIST
1513 enable offloading to devices from comma-separated
1514 LIST of TARGET
[=DIR
]. Use optional path to
find
1515 offload target compiler during the build
1516 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1517 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1518 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1519 Enable compressed debug sections
for gas
, gold or ld
1521 --disable-libquadmath do not build libquadmath directory
1522 --disable-libquadmath-support
1523 disable libquadmath support
for Fortran
1524 --enable-libada build libada directory
1525 --enable-libssp build libssp directory
1526 --disable-libstdcxx do not build libstdc
++-v3 directory
1527 --enable-liboffloadmic=ARG
1528 build liboffloadmic
[ARG
={no
,host,target
}]
1529 --enable-bootstrap enable bootstrapping
[yes if native build
]
1530 --disable-isl-version-check
1531 disable check
for isl version
1532 --enable-lto enable link
time optimization support
1533 --enable-linker-plugin-configure-flags=FLAGS
1534 additional flags
for configuring linker plugins
1536 --enable-linker-plugin-flags=FLAGS
1537 additional flags
for configuring and building linker
1539 --enable-host-shared build
host code as shared libraries
1540 --enable-stage1-languages[=all
]
1541 choose additional languages to build during stage1.
1542 Mostly useful
for compiler development
1543 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1545 --enable-vtable-verify Enable vtable verification feature
1546 --enable-serial-[{host,target,build}-]configure
1547 force sequential configuration of sub-packages for
1548 the host, target or build machine, or all
1550 --enable-maintainer-mode
1551 enable make rules and dependencies not useful (and
1552 sometimes confusing) to the casual installer
1553 --enable-stage1-checking[=all]
1554 choose additional checking for stage1 of the
1556 --enable-werror enable -Werror in bootstrap stage2 and later
1559 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1560 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1561 --with-build-libsubdir=DIR Directory where to find libraries for build system
1562 --with-system-zlib use installed libz
1563 --with-mpc=PATH specify prefix directory for installed MPC package.
1564 Equivalent to --with-mpc-include=PATH/include plus
1565 --with-mpc-lib=PATH/lib
1566 --with-mpc-include=PATH specify directory for installed MPC include files
1567 --with-mpc-lib=PATH specify directory for the installed MPC library
1568 --with-mpfr-dir=PATH this option has been REMOVED
1569 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1570 Equivalent to --with-mpfr-include=PATH/include plus
1571 --with-mpfr-lib=PATH/lib
1572 --with-mpfr-include=PATH
1573 specify directory for installed MPFR include files
1574 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1575 --with-gmp-dir=PATH this option has been REMOVED
1576 --with-gmp=PATH specify prefix directory for the installed GMP
1577 package. Equivalent to
1578 --with-gmp-include=PATH/include plus
1579 --with-gmp-lib=PATH/lib
1580 --with-gmp-include=PATH specify directory for installed GMP include files
1581 --with-gmp-lib=PATH specify directory for the installed GMP library
1582 --with-stage1-libs=LIBS libraries for stage1
1583 --with-static-standard-libraries
1584 use -static-libstdc++ and -static-libgcc
1586 --with-stage1-ldflags=FLAGS
1587 linker flags for stage1
1588 --with-boot-libs=LIBS libraries for stage2 and later
1589 --with-boot-ldflags=FLAGS
1590 linker flags for stage2 and later
1591 --with-isl=PATH Specify prefix directory for the installed isl
1592 package. Equivalent to
1593 --with-isl-include=PATH/include plus
1594 --with-isl-lib=PATH/lib
1595 --with-isl-include=PATH Specify directory for installed isl include files
1596 --with-isl-lib=PATH Specify the directory for the installed isl library
1597 --with-target-bdw-gc=PATHLIST
1598 specify prefix directory for installed bdw-gc
1599 package. Equivalent to
1600 --with-target-bdw-gc-include=PATH/include plus
1601 --with-target-bdw-gc-lib=PATH/lib
1602 --with-target-bdw-gc-include=PATHLIST
1603 specify directories for installed bdw-gc include
1605 --with-target-bdw-gc-lib=PATHLIST
1606 specify directories for installed bdw-gc library
1607 --with-gcc-major-version-only
1608 use only GCC major number in filesystem paths
1609 --with-build-sysroot=SYSROOT
1610 use sysroot as the system root during the build
1611 --with-debug-prefix-map='A
=B C
=D ...
'
1612 map A to B, C to D ... in debug information
1613 --with-build-config='NAME NAME2...
'
1614 use config/NAME.mk build configuration
1615 --with-build-time-tools=PATH
1616 use given path to find target tools during the build
1618 Some influential environment variables:
1619 CC C compiler command
1620 CFLAGS C compiler flags
1621 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1622 nonstandard directory <lib dir>
1623 LIBS libraries to pass to the linker, e.g. -l<library>
1624 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1625 you have headers in a nonstandard directory <include dir>
1626 CXX C++ compiler command
1627 CXXFLAGS C++ compiler flags
1629 additional configure arguments for build directories
1631 additional configure arguments for host directories
1633 additional configure arguments for target directories
1636 DLLTOOL DLLTOOL for the host
1638 LIPO LIPO for the host
1640 RANLIB RANLIB for the host
1641 STRIP STRIP for the host
1642 WINDRES WINDRES for the host
1643 WINDMC WINDMC for the host
1644 OBJCOPY OBJCOPY for the host
1645 OBJDUMP OBJDUMP for the host
1646 OTOOL OTOOL for the host
1647 READELF READELF for the host
1655 GFORTRAN for the target
1665 DLLTOOL for the target
1673 OBJCOPY for the target
1675 OBJDUMP for the target
1677 OTOOL for the target
1679 RANLIB for the target
1681 READELF for the target
1683 STRIP for the target
1685 WINDRES for the target
1687 WINDMC for the target
1689 Use these variables to override the choices made by `configure' or to
help
1690 it to
find libraries and programs with nonstandard names
/locations.
1692 Report bugs to the package provider.
1697 if test "$ac_init_help" = "recursive"; then
1698 # If there are subdirs, report their specific --help.
1699 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1700 test -d "$ac_dir" ||
1701 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1706 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1708 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1709 # A ".." for each directory in $ac_dir_suffix.
1710 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1711 case $ac_top_builddir_sub in
1712 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1713 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1716 ac_abs_top_builddir
=$ac_pwd
1717 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1718 # for backward compatibility:
1719 ac_top_builddir
=$ac_top_build_prefix
1722 .
) # We are building in place.
1724 ac_top_srcdir
=$ac_top_builddir_sub
1725 ac_abs_top_srcdir
=$ac_pwd ;;
1726 [\\/]* | ?
:[\\/]* ) # Absolute name.
1727 ac_srcdir
=$srcdir$ac_dir_suffix;
1728 ac_top_srcdir
=$srcdir
1729 ac_abs_top_srcdir
=$srcdir ;;
1731 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1732 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1733 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1735 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1737 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1738 # Check for guested configure.
1739 if test -f "$ac_srcdir/configure.gnu"; then
1741 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1742 elif test -f "$ac_srcdir/configure"; then
1744 $SHELL "$ac_srcdir/configure" --help=recursive
1746 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1748 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1752 test -n "$ac_init_help" && exit $ac_status
1753 if $ac_init_version; then
1756 generated by GNU Autoconf
2.69
1758 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1759 This configure
script is free software
; the Free Software Foundation
1760 gives unlimited permission to copy
, distribute and modify it.
1765 ## ------------------------ ##
1766 ## Autoconf initialization. ##
1767 ## ------------------------ ##
1769 # ac_fn_c_try_compile LINENO
1770 # --------------------------
1771 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1772 ac_fn_c_try_compile
()
1774 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1775 rm -f conftest.
$ac_objext
1776 if { { ac_try
="$ac_compile"
1778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1779 *) ac_try_echo=$ac_try;;
1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782 $as_echo "$ac_try_echo"; } >&5
1783 (eval "$ac_compile") 2>conftest.err
1785 if test -s conftest.err; then
1786 grep -v '^ *+' conftest.err >conftest.er1
1787 cat conftest.er1 >&5
1788 mv -f conftest.er1 conftest.err
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; } && {
1792 test -z "$ac_c_werror_flag" ||
1793 test ! -s conftest.err
1794 } && test -s conftest.$ac_objext; then :
1797 $as_echo "$as_me: failed program was:" >&5
1798 sed 's/^/| /' conftest.$ac_ext >&5
1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803 as_fn_set_status $ac_retval
1805 } # ac_fn_c_try_compile
1807 # ac_fn_cxx_try_compile LINENO
1808 # ----------------------------
1809 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1810 ac_fn_cxx_try_compile ()
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 rm -f conftest.$ac_objext
1814 if { { ac_try="$ac_compile"
1816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1817 *) ac_try_echo
=$ac_try;;
1819 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_compile") 2>conftest.err
1823 if test -s conftest.err
; then
1824 grep -v '^ *+' conftest.err
>conftest.er1
1825 cat conftest.er1
>&5
1826 mv -f conftest.er1 conftest.err
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } && {
1830 test -z "$ac_cxx_werror_flag" ||
1831 test ! -s conftest.err
1832 } && test -s conftest.
$ac_objext; then :
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.
$ac_ext >&5
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 as_fn_set_status
$ac_retval
1843 } # ac_fn_cxx_try_compile
1845 # ac_fn_cxx_try_link LINENO
1846 # -------------------------
1847 # Try to link conftest.$ac_ext, and return whether this succeeded.
1848 ac_fn_cxx_try_link
()
1850 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1851 rm -f conftest.
$ac_objext conftest
$ac_exeext
1852 if { { ac_try
="$ac_link"
1854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1855 *) ac_try_echo=$ac_try;;
1857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858 $as_echo "$ac_try_echo"; } >&5
1859 (eval "$ac_link") 2>conftest.err
1861 if test -s conftest.err; then
1862 grep -v '^ *+' conftest.err >conftest.er1
1863 cat conftest.er1 >&5
1864 mv -f conftest.er1 conftest.err
1866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1867 test $ac_status = 0; } && {
1868 test -z "$ac_cxx_werror_flag" ||
1869 test ! -s conftest.err
1870 } && test -s conftest$ac_exeext && {
1871 test "$cross_compiling" = yes ||
1872 test -x conftest$ac_exeext
1876 $as_echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.$ac_ext >&5
1881 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1882 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1883 # interfere with the next link command; also delete a directory that is
1884 # left behind by Apple's compiler. We do this before executing the actions.
1885 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887 as_fn_set_status $ac_retval
1889 } # ac_fn_cxx_try_link
1891 # ac_fn_c_try_link LINENO
1892 # -----------------------
1893 # Try to link conftest.$ac_ext, and return whether this succeeded.
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 rm -f conftest.$ac_objext conftest$ac_exeext
1898 if { { ac_try="$ac_link"
1900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1901 *) ac_try_echo
=$ac_try;;
1903 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_link") 2>conftest.err
1907 if test -s conftest.err
; then
1908 grep -v '^ *+' conftest.err
>conftest.er1
1909 cat conftest.er1
>&5
1910 mv -f conftest.er1 conftest.err
1912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1913 test $ac_status = 0; } && {
1914 test -z "$ac_c_werror_flag" ||
1915 test ! -s conftest.err
1916 } && test -s conftest
$ac_exeext && {
1917 test "$cross_compiling" = yes ||
1918 test -x conftest
$ac_exeext
1922 $as_echo "$as_me: failed program was:" >&5
1923 sed 's/^/| /' conftest.
$ac_ext >&5
1927 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1928 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1929 # interfere with the next link command; also delete a directory that is
1930 # left behind by Apple's compiler. We do this before executing the actions.
1931 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1932 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1933 as_fn_set_status
$ac_retval
1935 } # ac_fn_c_try_link
1936 cat >config.log
<<_ACEOF
1937 This file contains any messages produced by compilers while
1938 running configure, to aid debugging if configure makes a mistake.
1940 It was created by $as_me, which was
1941 generated by GNU Autoconf 2.69. Invocation command line was
1953 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1954 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1955 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1956 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1957 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1959 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1960 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1962 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1963 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1964 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1965 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1966 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1967 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1968 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1976 test -z "$as_dir" && as_dir
=.
1977 $as_echo "PATH: $as_dir"
1993 # Keep a trace of the command line.
1994 # Strip out --no-create and --no-recursion so they do not pile up.
1995 # Strip out --silent because we don't want to record it for future runs.
1996 # Also quote any args containing shell meta-characters.
1997 # Make two passes to allow for proper duplicate-argument suppression.
2001 ac_must_keep_next
=false
2007 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2008 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2009 |
-silent |
--silent |
--silen |
--sile |
--sil)
2012 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2015 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2017 as_fn_append ac_configure_args1
" '$ac_arg'"
2018 if test $ac_must_keep_next = true
; then
2019 ac_must_keep_next
=false
# Got value, back to normal.
2022 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2023 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2024 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2025 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2026 case "$ac_configure_args0 " in
2027 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2030 -* ) ac_must_keep_next
=true
;;
2033 as_fn_append ac_configure_args
" '$ac_arg'"
2038 { ac_configure_args0
=; unset ac_configure_args0
;}
2039 { ac_configure_args1
=; unset ac_configure_args1
;}
2041 # When interrupted or exit'd, cleanup temporary files, and complete
2042 # config.log. We remove comments because anyway the quotes in there
2043 # would cause problems or look ugly.
2044 # WARNING: Use '\'' to represent an apostrophe within the trap.
2045 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2046 trap 'exit_status=$?
2047 # Save into config.log some information that might help in debugging.
2051 $as_echo "## ---------------- ##
2052 ## Cache variables. ##
2053 ## ---------------- ##"
2055 # The following way of writing the cache mishandles newlines in values,
2057 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2058 eval ac_val=\$$ac_var
2062 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2063 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2066 _ | IFS | as_nl) ;; #(
2067 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2068 *) { eval $ac_var=; unset $ac_var;} ;;
2073 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2074 *${as_nl}ac_space=\ *)
2076 "s/'\''/'\''\\\\'\'''\''/g;
2077 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2080 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2087 $as_echo "## ----------------- ##
2088 ## Output variables. ##
2089 ## ----------------- ##"
2091 for ac_var in $ac_subst_vars
2093 eval ac_val=\$$ac_var
2095 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2097 $as_echo "$ac_var='\''$ac_val'\''"
2101 if test -n "$ac_subst_files"; then
2102 $as_echo "## ------------------- ##
2103 ## File substitutions. ##
2104 ## ------------------- ##"
2106 for ac_var
in $ac_subst_files
2108 eval ac_val
=\$
$ac_var
2110 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2112 $as_echo "$ac_var='\''$ac_val'\''"
2117 if test -s confdefs.h; then
2118 $as_echo "## ----------- ##
2125 test "$ac_signal" != 0 &&
2126 $as_echo "$as_me: caught signal $ac_signal"
2127 $as_echo "$as_me: exit $exit_status"
2129 rm -f core *.core core.conftest.* &&
2130 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2133 for ac_signal
in 1 2 13 15; do
2134 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2138 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2139 rm -f -r conftest
* confdefs.h
2141 $as_echo "/* confdefs.h */" > confdefs.h
2143 # Predefined preprocessor variables.
2145 cat >>confdefs.h
<<_ACEOF
2146 #define PACKAGE_NAME "$PACKAGE_NAME"
2149 cat >>confdefs.h
<<_ACEOF
2150 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2153 cat >>confdefs.h
<<_ACEOF
2154 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2157 cat >>confdefs.h
<<_ACEOF
2158 #define PACKAGE_STRING "$PACKAGE_STRING"
2161 cat >>confdefs.h
<<_ACEOF
2162 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2165 cat >>confdefs.h
<<_ACEOF
2166 #define PACKAGE_URL "$PACKAGE_URL"
2170 # Let the site file select an alternate cache file if it wants to.
2171 # Prefer an explicitly selected file to automatically selected ones.
2174 if test -n "$CONFIG_SITE"; then
2175 # We do not want a PATH search for config.site.
2176 case $CONFIG_SITE in #((
2177 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2178 */*) ac_site_file1
=$CONFIG_SITE;;
2179 *) ac_site_file1
=.
/$CONFIG_SITE;;
2181 elif test "x$prefix" != xNONE
; then
2182 ac_site_file1
=$prefix/share
/config.site
2183 ac_site_file2
=$prefix/etc
/config.site
2185 ac_site_file1
=$ac_default_prefix/share
/config.site
2186 ac_site_file2
=$ac_default_prefix/etc
/config.site
2188 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2190 test "x$ac_site_file" = xNONE
&& continue
2191 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2193 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2194 sed 's/^/| /' "$ac_site_file" >&5
2196 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2198 as_fn_error $?
"failed to load site script $ac_site_file
2199 See \`config.log' for more details" "$LINENO" 5; }
2203 if test -r "$cache_file"; then
2204 # Some versions of bash will fail to source /dev/null (special files
2205 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2206 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2208 $as_echo "$as_me: loading cache $cache_file" >&6;}
2210 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2211 *) .
"./$cache_file";;
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2216 $as_echo "$as_me: creating cache $cache_file" >&6;}
2220 # Check that the precious variables saved in the cache have kept the same
2222 ac_cache_corrupted
=false
2223 for ac_var
in $ac_precious_vars; do
2224 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2225 eval ac_new_set
=\
$ac_env_${ac_var}_set
2226 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2227 eval ac_new_val
=\
$ac_env_${ac_var}_value
2228 case $ac_old_set,$ac_new_set in
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2231 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2232 ac_cache_corrupted
=: ;;
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2235 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2236 ac_cache_corrupted
=: ;;
2239 if test "x$ac_old_val" != "x$ac_new_val"; then
2240 # differences in whitespace do not lead to failure.
2241 ac_old_val_w
=`echo x $ac_old_val`
2242 ac_new_val_w
=`echo x $ac_new_val`
2243 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2245 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2246 ac_cache_corrupted
=:
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2249 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2250 eval $ac_var=\
$ac_old_val
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2253 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2255 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2258 # Pass precious variables to config.status.
2259 if test "$ac_new_set" = set; then
2261 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2262 *) ac_arg
=$ac_var=$ac_new_val ;;
2264 case " $ac_configure_args " in
2265 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2266 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2270 if $ac_cache_corrupted; then
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2274 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2275 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2277 ## -------------------- ##
2278 ## Main body of script. ##
2279 ## -------------------- ##
2282 ac_cpp
='$CPP $CPPFLAGS'
2283 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2284 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2285 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2295 # if PWD already has a value, it is probably wrong.
2296 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2298 # Export original configure arguments for use by sub-configures.
2299 # Quote arguments with shell meta charatcers.
2300 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2301 set -- "$progname" "$@"
2305 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2306 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2307 # if the argument is of the form -foo=baz, quote the baz part only
2308 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2311 # Add the quoted argument to the list.
2312 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2314 if test "$silent" = yes; then
2315 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2317 # Remove the initial space we just introduced and, as these will be
2318 # expanded by make, quote '$'.
2319 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2322 # Find the build, host, and target systems.
2324 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2325 if test -f "$ac_dir/install-sh"; then
2327 ac_install_sh
="$ac_aux_dir/install-sh -c"
2329 elif test -f "$ac_dir/install.sh"; then
2331 ac_install_sh
="$ac_aux_dir/install.sh -c"
2333 elif test -f "$ac_dir/shtool"; then
2335 ac_install_sh
="$ac_aux_dir/shtool install -c"
2339 if test -z "$ac_aux_dir"; then
2340 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2343 # These three variables are undocumented and unsupported,
2344 # and are intended to be withdrawn in a future Autoconf release.
2345 # They can cause serious problems if a builder's source tree is in a directory
2346 # whose full name contains unusual characters.
2347 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2348 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2349 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2352 # Make sure we can run config.sub.
2353 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2354 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2357 $as_echo_n "checking build system type... " >&6; }
2358 if ${ac_cv_build+:} false
; then :
2359 $as_echo_n "(cached) " >&6
2361 ac_build_alias
=$build_alias
2362 test "x$ac_build_alias" = x
&&
2363 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2364 test "x$ac_build_alias" = x
&&
2365 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2366 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2367 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2371 $as_echo "$ac_cv_build" >&6; }
2372 case $ac_cv_build in
2374 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2377 ac_save_IFS
=$IFS; IFS
='-'
2383 # Remember, the first character of IFS is used to create $*,
2384 # except with old shells:
2387 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2390 case ${build_alias} in
2391 "") build_noncanonical
=${build} ;;
2392 *) build_noncanonical
=${build_alias} ;;
2397 case ${host_alias} in
2398 "") host_noncanonical
=${build_noncanonical} ;;
2399 *) host_noncanonical
=${host_alias} ;;
2404 case ${target_alias} in
2405 "") target_noncanonical
=${host_noncanonical} ;;
2406 *) target_noncanonical
=${target_alias} ;;
2412 test "$host_noncanonical" = "$target_noncanonical" &&
2413 test "$program_prefix$program_suffix$program_transform_name" = \
2415 program_transform_name
=s
,y
,y
,
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2418 $as_echo_n "checking host system type... " >&6; }
2419 if ${ac_cv_host+:} false
; then :
2420 $as_echo_n "(cached) " >&6
2422 if test "x$host_alias" = x
; then
2423 ac_cv_host
=$ac_cv_build
2425 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2426 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2431 $as_echo "$ac_cv_host" >&6; }
2434 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2437 ac_save_IFS
=$IFS; IFS
='-'
2443 # Remember, the first character of IFS is used to create $*,
2444 # except with old shells:
2447 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2451 $as_echo_n "checking target system type... " >&6; }
2452 if ${ac_cv_target+:} false
; then :
2453 $as_echo_n "(cached) " >&6
2455 if test "x$target_alias" = x
; then
2456 ac_cv_target
=$ac_cv_host
2458 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2459 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2464 $as_echo "$ac_cv_target" >&6; }
2465 case $ac_cv_target in
2467 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2469 target
=$ac_cv_target
2470 ac_save_IFS
=$IFS; IFS
='-'
2476 # Remember, the first character of IFS is used to create $*,
2477 # except with old shells:
2480 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2483 # The aliases save the names the user supplied, while $host etc.
2484 # will get canonicalized.
2485 test -n "$target_alias" &&
2486 test "$program_prefix$program_suffix$program_transform_name" = \
2488 program_prefix
=${target_alias}-
2490 test "$program_prefix" != NONE
&&
2491 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2492 # Use a double $ so make ignores it.
2493 test "$program_suffix" != NONE
&&
2494 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2495 # Double any \ or $.
2496 # By default was `s,x,x', remove it if useless.
2497 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2498 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2502 # Get 'install' or 'install-sh' and its variants.
2503 # Find a good install program. We prefer a C program (faster),
2504 # so one script is as good as another. But avoid the broken or
2505 # incompatible versions:
2506 # SysV /etc/install, /usr/sbin/install
2507 # SunOS /usr/etc/install
2508 # IRIX /sbin/install
2510 # AmigaOS /C/install, which installs bootblocks on floppy discs
2511 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2512 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2513 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2514 # OS/2's system install, which has a completely different semantic
2515 # ./install, which can be erroneously created by make from ./install.sh.
2516 # Reject install programs that cannot install multiple files.
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2518 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2519 if test -z "$INSTALL"; then
2520 if ${ac_cv_path_install+:} false
; then :
2521 $as_echo_n "(cached) " >&6
2523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2527 test -z "$as_dir" && as_dir
=.
2528 # Account for people who put trailing slashes in PATH elements.
2529 case $as_dir/ in #((
2530 .
/ | .
// |
/[cC
]/* | \
2531 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2532 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2535 # OSF1 and SCO ODT 3.0 have their own names for install.
2536 # Don't use installbsd from OSF since it installs stuff as root
2538 for ac_prog
in ginstall scoinst
install; do
2539 for ac_exec_ext
in '' $ac_executable_extensions; do
2540 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2541 if test $ac_prog = install &&
2542 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2543 # AIX install. It has an incompatible calling convention.
2545 elif test $ac_prog = install &&
2546 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2547 # program-specific install script used by HP pwplus--don't use.
2550 rm -rf conftest.one conftest.two conftest.dir
2551 echo one
> conftest.one
2552 echo two
> conftest.two
2554 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2555 test -s conftest.one
&& test -s conftest.two
&&
2556 test -s conftest.dir
/conftest.one
&&
2557 test -s conftest.dir
/conftest.two
2559 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2572 rm -rf conftest.one conftest.two conftest.dir
2575 if test "${ac_cv_path_install+set}" = set; then
2576 INSTALL
=$ac_cv_path_install
2578 # As a last resort, use the slow shell script. Don't cache a
2579 # value for INSTALL within a source directory, because that will
2580 # break other packages using the cache if that directory is
2581 # removed, or if the value is a relative name.
2582 INSTALL
=$ac_install_sh
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2586 $as_echo "$INSTALL" >&6; }
2588 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2589 # It thinks the first close brace ends the variable substitution.
2590 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2592 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2594 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2597 $as_echo_n "checking whether ln works... " >&6; }
2598 if ${acx_cv_prog_LN+:} false
; then :
2599 $as_echo_n "(cached) " >&6
2601 rm -f conftestdata_t
2602 echo >conftestdata_f
2603 if ln conftestdata_f conftestdata_t
2>/dev
/null
2609 rm -f conftestdata_f conftestdata_t
2612 if test $acx_cv_prog_LN = no
; then
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2615 $as_echo "no, using $LN" >&6; }
2617 LN
="$acx_cv_prog_LN"
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2619 $as_echo "yes" >&6; }
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2623 $as_echo_n "checking whether ln -s works... " >&6; }
2625 if test "$LN_S" = "ln -s"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2627 $as_echo "yes" >&6; }
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2630 $as_echo "no, using $LN_S" >&6; }
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2634 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2635 if ${ac_cv_path_SED+:} false
; then :
2636 $as_echo_n "(cached) " >&6
2638 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2639 for ac_i
in 1 2 3 4 5 6 7; do
2640 ac_script
="$ac_script$as_nl$ac_script"
2642 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2643 { ac_script
=; unset ac_script
;}
2644 if test -z "$SED"; then
2645 ac_path_SED_found
=false
2646 # Loop through the user's path and test for each of PROGNAME-LIST
2647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2651 test -z "$as_dir" && as_dir
=.
2652 for ac_prog
in sed gsed
; do
2653 for ac_exec_ext
in '' $ac_executable_extensions; do
2654 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2655 as_fn_executable_p
"$ac_path_SED" ||
continue
2656 # Check for GNU ac_path_SED and select it if it is found.
2657 # Check for GNU $ac_path_SED
2658 case `"$ac_path_SED" --version 2>&1` in
2660 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2663 $as_echo_n 0123456789 >"conftest.in"
2666 cat "conftest.in" "conftest.in" >"conftest.tmp"
2667 mv "conftest.tmp" "conftest.in"
2668 cp "conftest.in" "conftest.nl"
2669 $as_echo '' >> "conftest.nl"
2670 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2671 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2672 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2673 if test $ac_count -gt ${ac_path_SED_max-0}; then
2674 # Best one so far, save it but keep looking for a better one
2675 ac_cv_path_SED
="$ac_path_SED"
2676 ac_path_SED_max
=$ac_count
2678 # 10*(2^10) chars as input seems more than enough
2679 test $ac_count -gt 10 && break
2681 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2684 $ac_path_SED_found && break 3
2689 if test -z "$ac_cv_path_SED"; then
2690 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2698 $as_echo "$ac_cv_path_SED" >&6; }
2699 SED
="$ac_cv_path_SED"
2702 for ac_prog
in gawk mawk nawk
awk
2704 # Extract the first word of "$ac_prog", so it can be a program name with args.
2705 set dummy
$ac_prog; ac_word
=$2
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2707 $as_echo_n "checking for $ac_word... " >&6; }
2708 if ${ac_cv_prog_AWK+:} false
; then :
2709 $as_echo_n "(cached) " >&6
2711 if test -n "$AWK"; then
2712 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2718 test -z "$as_dir" && as_dir
=.
2719 for ac_exec_ext
in '' $ac_executable_extensions; do
2720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2721 ac_cv_prog_AWK
="$ac_prog"
2722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2732 if test -n "$AWK"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2734 $as_echo "$AWK" >&6; }
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2737 $as_echo "no" >&6; }
2741 test -n "$AWK" && break
2745 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2747 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2749 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2750 INSTALL
="${srcpwd}/install-sh -c"
2753 # Set srcdir to "." if that's what it is.
2754 # This is important for multilib support.
2756 if test "${pwd}" = "${srcpwd}" ; then
2764 ### To add a new directory to the tree, first choose whether it is a target
2765 ### or a host dependent tool. Then put it into the appropriate list
2766 ### (library or tools, host or target), doing a dependency sort.
2768 # Subdirs will be configured in the order listed in build_configdirs,
2769 # configdirs, or target_configdirs; see the serialization section below.
2771 # Dependency sorting is only needed when *configuration* must be done in
2772 # a particular order. In all cases a dependency should be specified in
2773 # the Makefile, whether or not it's implicitly specified here.
2775 # Double entries in build_configdirs, configdirs, or target_configdirs may
2776 # cause circular dependencies and break everything horribly.
2778 # these library is used by various programs built for the build
2781 build_libs
="build-libiberty build-libcpp"
2783 # these tools are built for the build environment
2784 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2786 # these libraries are used by various programs built for the host environment
2788 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv libctf"
2790 # these tools are built for the host environment
2791 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2792 # know that we are building the simulator.
2793 # binutils, gas and ld appear in that order because it makes sense to run
2794 # "make check" in that particular order.
2795 # If --enable-gold is used, "gold" may replace "ld".
2796 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"
2798 # these libraries are built for the target environment, and are built after
2799 # the host libraries and the host tools (which may be a cross compiler)
2800 # Note that libiberty is not a target library.
2801 target_libraries
="target-libgcc \
2802 target-libbacktrace \
2806 target-liboffloadmic \
2807 target-libhsail-rt \
2810 target-libstdc++-v3 \
2811 target-libsanitizer \
2814 target-libquadmath \
2815 target-libgfortran \
2823 # these tools are built using the target libraries, and are intended to
2824 # run only in the target environment
2826 # note: any program that *uses* libraries that are in the "target_libraries"
2827 # list belongs in this list.
2829 target_tools
="target-rda"
2831 ################################################################################
2833 ## All tools belong in one of the four categories, and are assigned above
2834 ## We assign ${configdirs} this way to remove all embedded newlines. This
2835 ## is important because configure will choke if they ever get through.
2836 ## ${configdirs} is directories we build using the host tools.
2837 ## ${target_configdirs} is directories we build using the target tools.
2838 configdirs
=`echo ${host_libs} ${host_tools}`
2839 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2840 build_configdirs
=`echo ${build_libs} ${build_tools}`
2844 ################################################################################
2846 srcname
="gnu development package"
2848 # This gets set non-empty for some net releases of packages.
2851 # Define is_cross_compiler to save on calls to 'test'.
2853 if test x
"${host}" = x
"${target}" ; then
2854 is_cross_compiler
=no
2856 is_cross_compiler
=yes
2859 # Find the build and target subdir names.
2861 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2862 # have matching libraries, they should use host libraries: Makefile.tpl
2863 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2864 # However, they still use the build modules, because the corresponding
2865 # host modules (e.g. bison) are only built for the host when bootstrap
2867 # - build_subdir is where we find build modules, and never changes.
2868 # - build_libsubdir is where we find build libraries, and can be overridden.
2870 # Prefix 'build-' so this never conflicts with target_subdir.
2871 build_subdir
="build-${build_noncanonical}"
2873 # Check whether --with-build-libsubdir was given.
2874 if test "${with_build_libsubdir+set}" = set; then :
2875 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2877 build_libsubdir
="$build_subdir"
2880 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2881 if ( test $srcdir = .
&& test -d gcc
) \
2882 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2883 host_subdir
="host-${host_noncanonical}"
2888 target_subdir
=${target_noncanonical}
2890 # Be sure to cover against remnants of an in-tree build.
2891 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2892 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2893 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2896 # Skipdirs are removed silently.
2898 # Noconfigdirs are removed loudly.
2902 # Make sure we don't let GNU ld be added if we didn't want it.
2903 if test x
$with_gnu_ld = xno
; then
2905 noconfigdirs
="$noconfigdirs ld gold"
2909 # Make sure we don't let GNU as be added if we didn't want it.
2910 if test x
$with_gnu_as = xno
; then
2912 noconfigdirs
="$noconfigdirs gas"
2917 # Check whether --with-system-zlib was given.
2918 if test "${with_system_zlib+set}" = set; then :
2919 withval
=$with_system_zlib;
2922 # Make sure we don't let ZLIB be added if we didn't want it.
2923 if test x
$with_system_zlib = xyes
; then
2924 use_included_zlib
=no
2925 noconfigdirs
="$noconfigdirs zlib"
2928 # some tools are so dependent upon X11 that if we're not building with X,
2929 # it's not even worth trying to configure, much less build, that tool.
2932 yes |
"") ;; # the default value for this tree is that X11 is available
2934 skipdirs
="${skipdirs} tk itcl libgui"
2935 # We won't be able to build gdbtk without X.
2938 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2941 # Some are only suitable for cross toolchains.
2942 # Remove these if host=target.
2943 cross_only
="target-libgloss target-newlib target-opcodes"
2945 case $is_cross_compiler in
2946 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2949 # If both --with-headers and --with-libs are specified, default to
2951 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2952 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2953 if test x
"${with_newlib}" = x
; then
2958 # Recognize --with-newlib/--without-newlib.
2959 case ${with_newlib} in
2960 no
) skipdirs
="${skipdirs} target-newlib" ;;
2961 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2964 # Check whether --enable-as-accelerator-for was given.
2965 if test "${enable_as_accelerator_for+set}" = set; then :
2966 enableval
=$enable_as_accelerator_for;
2970 # Check whether --enable-offload-targets was given.
2971 if test "${enable_offload_targets+set}" = set; then :
2972 enableval
=$enable_offload_targets;
2973 if test x
"$enable_offload_targets" = x
; then
2974 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2978 enable_offload_targets
=
2982 # Handle --enable-gold, --enable-ld.
2983 # --disable-gold [--enable-ld]
2984 # Build only ld. Default option.
2985 # --enable-gold [--enable-ld]
2986 # Build both gold and ld. Install gold as "ld.gold", install ld
2987 # as "ld.bfd" and "ld".
2988 # --enable-gold=default [--enable-ld]
2989 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2990 # install ld as "ld.bfd".
2991 # --enable-gold[=default] --disable-ld
2992 # Build only gold, which is then installed as both "ld.gold" and "ld".
2993 # --enable-gold --enable-ld=default
2994 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2996 # In other words, ld is default
2997 # --enable-gold=default --enable-ld=default
3001 # Check whether --enable-gold was given.
3002 if test "${enable_gold+set}" = set; then :
3003 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3008 case "${ENABLE_GOLD}" in
3010 # Check for ELF target.
3013 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3014 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3015 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3016 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3018 *-*-linux*aout
* |
*-*-linux*oldld
*)
3026 if test "$is_elf" = "yes"; then
3027 # Check for target supported by gold.
3029 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3030 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3031 configdirs
="$configdirs gold"
3032 if test x
${ENABLE_GOLD} = xdefault
; then
3043 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3047 # Check whether --enable-ld was given.
3048 if test "${enable_ld+set}" = set; then :
3049 enableval
=$enable_ld; ENABLE_LD
=$enableval
3055 case "${ENABLE_LD}" in
3057 if test x
${default_ld} != x
; then
3058 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3064 if test x
${ENABLE_GOLD} != xyes
; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3066 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3068 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3071 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3076 # Decide the default method for compressing debug sections.
3077 # Provide a configure time option to override our default.
3078 # Check whether --enable-compressed_debug_sections was given.
3079 if test "${enable_compressed_debug_sections+set}" = set; then :
3080 enableval
=$enable_compressed_debug_sections;
3081 if test x
"$enable_compressed_debug_sections" = xyes
; then
3082 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3086 enable_compressed_debug_sections
=
3090 # Configure extra directories which are host specific
3094 configdirs
="$configdirs libtermcap" ;;
3097 # A target can indicate whether a language isn't supported for some reason.
3098 # Only spaces may be used in this macro; not newlines or tabs.
3099 unsupported_languages
=
3101 # Remove more programs from consideration, based on the host or
3102 # target this usually means that a port of the program doesn't
3106 i
[3456789]86-*-msdosdjgpp*)
3107 noconfigdirs
="$noconfigdirs tcl tk itcl"
3112 # Check whether --enable-libquadmath was given.
3113 if test "${enable_libquadmath+set}" = set; then :
3114 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3116 ENABLE_LIBQUADMATH
=yes
3119 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3120 noconfigdirs
="$noconfigdirs target-libquadmath"
3124 # Check whether --enable-libquadmath-support was given.
3125 if test "${enable_libquadmath_support+set}" = set; then :
3126 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3128 ENABLE_LIBQUADMATH_SUPPORT
=yes
3131 enable_libquadmath_support
=
3132 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3133 enable_libquadmath_support
=no
3137 # Check whether --enable-libada was given.
3138 if test "${enable_libada+set}" = set; then :
3139 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3144 if test "${ENABLE_LIBADA}" != "yes" ; then
3145 noconfigdirs
="$noconfigdirs gnattools"
3148 # Check whether --enable-libssp was given.
3149 if test "${enable_libssp+set}" = set; then :
3150 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3156 # Check whether --enable-libstdcxx was given.
3157 if test "${enable_libstdcxx+set}" = set; then :
3158 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3160 ENABLE_LIBSTDCXX
=default
3163 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3164 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3167 # If this is accelerator compiler and its target is intelmic we enable
3168 # target liboffloadmic by default. If this is compiler with offloading
3169 # for intelmic we enable host liboffloadmic by default. Otherwise
3170 # liboffloadmic is disabled by default.
3171 # Check whether --enable-liboffloadmic was given.
3172 if test "${enable_liboffloadmic+set}" = set; then :
3173 enableval
=$enable_liboffloadmic; case "$enableval" in
3175 enable_liboffloadmic
=$enableval ;;
3177 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3180 if test x
"$enable_as_accelerator_for" != x
; then
3182 *-intelmic-* |
*-intelmicemul-*)
3183 enable_liboffloadmic
=target
3184 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3187 enable_liboffloadmic
=no
3191 case "${enable_offload_targets}" in
3192 *-intelmic-* |
*-intelmicemul-*)
3193 enable_liboffloadmic
=host
3194 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3197 enable_liboffloadmic
=no
3205 # Enable libgomp by default on hosted POSIX systems, and a few others.
3206 if test x
$enable_libgomp = x
; then
3208 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3210 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3212 *-*-solaris2* |
*-*-hpux11*)
3214 *-*-darwin* |
*-*-aix*)
3216 nvptx
*-*-* | amdgcn
*-*-*)
3219 noconfigdirs
="$noconfigdirs target-libgomp"
3224 # Disable libatomic on unsupported systems.
3225 if test -d ${srcdir}/libatomic
; then
3226 if test x
$enable_libatomic = x
; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3228 $as_echo_n "checking for libatomic support... " >&6; }
3229 if (srcdir
=${srcdir}/libatomic
; \
3230 .
${srcdir}/configure.tgt
; \
3231 test -n "$UNSUPPORTED")
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3234 $as_echo "no" >&6; }
3235 noconfigdirs
="$noconfigdirs target-libatomic"
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3238 $as_echo "yes" >&6; }
3243 # Disable liboffloadmic on unsupported systems.
3244 if test -d ${srcdir}/liboffloadmic
; then
3245 if test x
$enable_liboffloadmic != xno
; then
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3247 $as_echo_n "checking for liboffloadmic support... " >&6; }
3248 if (srcdir
=${srcdir}/liboffloadmic
; \
3249 .
${srcdir}/configure.tgt
; \
3250 test -n "$UNSUPPORTED")
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3254 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3257 $as_echo "yes" >&6; }
3262 # Disable libitm on unsupported systems.
3263 if test -d ${srcdir}/libitm
; then
3264 if test x
$enable_libitm = x
; then
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3266 $as_echo_n "checking for libitm support... " >&6; }
3267 if (srcdir
=${srcdir}/libitm
; \
3268 .
${srcdir}/configure.tgt
; \
3269 test -n "$UNSUPPORTED")
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3273 noconfigdirs
="$noconfigdirs target-libitm"
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3276 $as_echo "yes" >&6; }
3281 # Disable libsanitizer on unsupported systems.
3282 if test -d ${srcdir}/libsanitizer
; then
3283 if test x
$enable_libsanitizer = x
; then
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3285 $as_echo_n "checking for libsanitizer support... " >&6; }
3286 if (srcdir
=${srcdir}/libsanitizer
; \
3287 .
${srcdir}/configure.tgt
; \
3288 test -n "$UNSUPPORTED")
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3292 noconfigdirs
="$noconfigdirs target-libsanitizer"
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3295 $as_echo "yes" >&6; }
3300 # Disable libvtv on unsupported systems.
3301 if test -d ${srcdir}/libvtv
; then
3302 if test x
$enable_libvtv = x
; then
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3304 $as_echo_n "checking for libvtv support... " >&6; }
3305 if (srcdir
=${srcdir}/libvtv
; \
3306 .
${srcdir}/configure.tgt
; \
3307 test "$VTV_SUPPORTED" != "yes")
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3310 $as_echo "no" >&6; }
3311 noconfigdirs
="$noconfigdirs target-libvtv"
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3314 $as_echo "yes" >&6; }
3320 # Disable libhsail-rt on unsupported systems.
3321 if test -d ${srcdir}/libhsail-rt
; then
3322 if test x
$enable_libhsail_rt = x
; then
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
3324 $as_echo_n "checking for libhsail-rt support... " >&6; }
3325 if (srcdir
=${srcdir}/libhsail-rt
; \
3326 .
${srcdir}/configure.tgt
; \
3327 test -n "$UNSUPPORTED")
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3330 $as_echo "no" >&6; }
3331 unsupported_languages
="$unsupported_languages brig"
3332 # This implicitly disables also target-libhsail-rt as it won't
3333 # get added to the build without BRIG FE.
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3336 $as_echo "yes" >&6; }
3342 # Disable libquadmath for some systems.
3345 noconfigdirs
="$noconfigdirs target-libquadmath"
3347 # libquadmath is unused on AIX and libquadmath build process use of
3348 # LD_LIBRARY_PATH can break AIX bootstrap.
3349 powerpc-
*-aix* | rs6000-
*-aix*)
3350 noconfigdirs
="$noconfigdirs target-libquadmath"
3354 # Disable libssp for some systems.
3357 # No hosted I/O support.
3358 noconfigdirs
="$noconfigdirs target-libssp"
3361 noconfigdirs
="$noconfigdirs target-libssp"
3363 powerpc-
*-aix* | rs6000-
*-aix*)
3364 noconfigdirs
="$noconfigdirs target-libssp"
3367 # No hosted I/O support.
3368 noconfigdirs
="$noconfigdirs target-libssp"
3371 # libssp uses a misaligned load to trigger a fault, but the RL78
3372 # doesn't fault for those - instead, it gives a build-time error
3373 # for explicit misaligned loads.
3374 noconfigdirs
="$noconfigdirs target-libssp"
3377 # No hosted I/O support.
3378 noconfigdirs
="$noconfigdirs target-libssp"
3382 # Disable libstdc++-v3 for some systems.
3383 # Allow user to override this if they pass --enable-libstdc++-v3
3384 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3387 # VxWorks uses the Dinkumware C++ library.
3388 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3391 # Not ported/fails to build when using newlib.
3392 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3395 # the C++ libraries don't build on top of CE's C libraries
3396 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3399 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3402 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3405 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3410 # Disable C++ on systems where it is known to not work.
3411 # For testing, you can override this with --enable-languages=c++.
3412 case ,${enable_languages}, in
3418 unsupported_languages
="$unsupported_languages c++"
3424 # Disable Objc on systems where it is known to not work.
3425 # For testing, you can override this with --enable-languages=objc.
3426 case ,${enable_languages}, in
3432 unsupported_languages
="$unsupported_languages objc"
3438 # Disable D on systems where it is known to not work.
3439 # For testing, you can override this with --enable-languages=d.
3440 case ,${enable_languages}, in
3446 unsupported_languages
="$unsupported_languages d"
3449 unsupported_languages
="$unsupported_languages d"
3455 # Disable libphobos on unsupported systems.
3456 # For testing, you can override this with --enable-libphobos.
3457 if test -d ${srcdir}/libphobos
; then
3458 if test x
$enable_libphobos = x
; then
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphobos support" >&5
3460 $as_echo_n "checking for libphobos support... " >&6; }
3461 if (srcdir
=${srcdir}/libphobos
; \
3462 .
${srcdir}/configure.tgt
; \
3463 test "$LIBPHOBOS_SUPPORTED" != "yes")
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3466 $as_echo "no" >&6; }
3467 noconfigdirs
="$noconfigdirs target-libphobos"
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3470 $as_echo "yes" >&6; }
3475 # Disable Fortran for some systems.
3478 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3479 unsupported_languages
="$unsupported_languages fortran"
3482 unsupported_languages
="$unsupported_languages fortran"
3486 # Disable libffi for some systems.
3490 i
[3456789]86-*-darwin*)
3492 x86_64-
*-darwin[912]*)
3495 noconfigdirs
="$noconfigdirs target-libffi"
3498 noconfigdirs
="$noconfigdirs target-libffi"
3501 noconfigdirs
="$noconfigdirs target-libffi"
3504 noconfigdirs
="$noconfigdirs target-libffi"
3507 noconfigdirs
="$noconfigdirs target-libffi"
3510 noconfigdirs
="$noconfigdirs target-libffi"
3513 noconfigdirs
="$noconfigdirs target-libffi"
3515 aarch64
*-*-freebsd*)
3516 noconfigdirs
="$noconfigdirs target-libffi"
3519 noconfigdirs
="$noconfigdirs target-libffi"
3522 noconfigdirs
="$noconfigdirs target-libffi"
3525 noconfigdirs
="$noconfigdirs target-libffi"
3528 noconfigdirs
="$noconfigdirs target-libffi"
3531 noconfigdirs
="$noconfigdirs target-libffi"
3533 cris-
*-* | crisv32-
*-*)
3537 *) # See PR46792 regarding target-libffi.
3538 noconfigdirs
="$noconfigdirs target-libffi";;
3542 noconfigdirs
="$noconfigdirs target-libffi"
3547 noconfigdirs
="$noconfigdirs target-libffi"
3550 noconfigdirs
="$noconfigdirs target-libffi"
3552 i
[3456789]86-w64-mingw*)
3553 noconfigdirs
="$noconfigdirs target-libffi"
3555 i
[3456789]86-*-mingw*)
3556 noconfigdirs
="$noconfigdirs target-libffi"
3559 noconfigdirs
="$noconfigdirs target-libffi"
3562 noconfigdirs
="$noconfigdirs target-libffi"
3569 noconfigdirs
="$noconfigdirs target-libffi"
3572 noconfigdirs
="$noconfigdirs target-libffi"
3576 # Disable the go frontend on systems where it is known to not work. Please keep
3577 # this in sync with contrib/config-list.mk.
3579 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* | bpf-
* )
3580 unsupported_languages
="$unsupported_languages go"
3584 # Only allow gdbserver on some systems.
3585 if test -d ${srcdir}/gdbserver
; then
3586 if test x
$enable_gdbserver = x
; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbserver support" >&5
3588 $as_echo_n "checking for gdbserver support... " >&6; }
3589 if (srcdir
=${srcdir}/gdbserver
; \
3590 .
${srcdir}/configure.srv
; \
3591 test -n "$UNSUPPORTED")
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594 $as_echo "no" >&6; }
3595 noconfigdirs
="$noconfigdirs gdbserver"
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3598 $as_echo "yes" >&6; }
3603 # Disable libgo for some systems where it is known to not work.
3604 # For testing, you can easily override this with --enable-libgo.
3605 if test x
$enable_libgo = x
; then
3609 noconfigdirs
="$noconfigdirs target-libgo"
3611 *-*-cygwin* |
*-*-mingw*)
3612 noconfigdirs
="$noconfigdirs target-libgo"
3615 noconfigdirs
="$noconfigdirs target-libgo"
3620 # Default libgloss CPU subdirectory.
3621 libgloss_dir
="$target_cpu"
3624 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3628 libgloss_dir
=aarch64
3633 cris-
*-* | crisv32-
*-*)
3642 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3643 libgloss_dir
=m68hc11
3645 m68
*-*-* | fido-
*-*)
3662 # Disable newlib and libgloss for various target OSes.
3665 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3667 i
[3456789]86-*-linux*)
3668 # This section makes it possible to build newlib natively on linux.
3669 # If we are using a cross compiler then don't configure newlib.
3670 if test x
${is_cross_compiler} != xno
; then
3671 noconfigdirs
="$noconfigdirs target-newlib"
3673 noconfigdirs
="$noconfigdirs target-libgloss"
3674 # If we are not using a cross compiler, do configure newlib.
3675 # Note however, that newlib will only be configured in this situation
3676 # if the --with-newlib option has been given, because otherwise
3677 # 'target-newlib' will appear in skipdirs.
3679 i
[3456789]86-*-rdos*)
3680 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3682 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3683 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3686 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3689 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3692 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3695 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3698 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3701 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3704 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3706 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3707 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3710 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3713 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3716 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3719 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3722 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3725 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3728 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3736 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3737 noconfigdirs
="$noconfigdirs sim target-rda"
3742 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3743 noconfigdirs
="$noconfigdirs sim target-rda"
3746 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3747 noconfigdirs
="$noconfigdirs sim target-rda"
3749 i
[3456789]86-*-darwin*)
3750 noconfigdirs
="$noconfigdirs ld gprof"
3751 noconfigdirs
="$noconfigdirs sim target-rda"
3753 x86_64-
*-darwin[912]*)
3754 noconfigdirs
="$noconfigdirs ld gas gprof"
3755 noconfigdirs
="$noconfigdirs sim target-rda"
3758 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3759 noconfigdirs
="$noconfigdirs sim target-rda"
3764 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3765 && ! test -d ${srcdir}/gmp \
3766 && test -f /usr
/local
/include
/gmp.h
; then
3771 # Remove unsupported stuff on all kaOS configurations.
3772 noconfigdirs
="$noconfigdirs target-libgloss"
3779 noconfigdirs
="$noconfigdirs target-libgloss"
3782 noconfigdirs
="$noconfigdirs target-libgloss"
3784 # The tpf target doesn't support gdb yet.
3786 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3789 noconfigdirs
="$noconfigdirs target-rda"
3794 # ld works, but does not support shared libraries.
3795 # gas doesn't generate exception information.
3796 noconfigdirs
="$noconfigdirs gas ld"
3799 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3802 # newlib is not 64 bit ready
3803 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3806 noconfigdirs
="$noconfigdirs target-libobjc target-libbacktrace"
3808 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3809 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3812 noconfigdirs
="$noconfigdirs sim"
3815 noconfigdirs
="$noconfigdirs target-libgloss"
3818 noconfigdirs
="$noconfigdirs ld target-libgloss"
3821 if test x
${with_avrlibc} != xno
; then
3822 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3825 c4x-
*-* | tic4x-
*-*)
3826 noconfigdirs
="$noconfigdirs target-libgloss"
3829 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3832 noconfigdirs
="$noconfigdirs target-libgloss"
3835 noconfigdirs
="$noconfigdirs gdb"
3838 noconfigdirs
="$noconfigdirs gdb"
3841 noconfigdirs
="$noconfigdirs target-rda gprof"
3844 noconfigdirs
="$noconfigdirs"
3847 noconfigdirs
="$noconfigdirs target-libgloss"
3850 noconfigdirs
="$noconfigdirs target-libgloss"
3852 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3855 noconfigdirs
="$noconfigdirs gdb"
3858 noconfigdirs
="$noconfigdirs gdb ld"
3866 hppa
*-*-openbsd* | \
3872 noconfigdirs
="$noconfigdirs ld"
3875 noconfigdirs
="$noconfigdirs gdb"
3878 # No gdb support yet.
3879 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3882 # No ld support yet.
3883 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3886 # No ld support yet.
3887 noconfigdirs
="$noconfigdirs libgui itcl ld"
3889 i
[3456789]86-w64-mingw*)
3891 i
[3456789]86-*-mingw*)
3892 target_configdirs
="$target_configdirs target-winsup"
3895 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3896 noconfigdirs
="$noconfigdirs target-libgloss"
3897 # always build newlib if winsup directory is present.
3898 if test -d "$srcdir/winsup/cygwin"; then
3899 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3900 elif test -d "$srcdir/newlib"; then
3901 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3905 noconfigdirs
="$noconfigdirs target-libgloss"
3907 i
[3456789]86-*-sco3.2v5
*)
3908 # The linker does not yet know about weak symbols in COFF,
3909 # and is not configured to handle mixed ELF and COFF.
3910 noconfigdirs
="$noconfigdirs ld target-libgloss"
3912 i
[3456789]86-*-sco*)
3913 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3915 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3916 noconfigdirs
="$noconfigdirs target-libgloss"
3918 i
[3456789]86-*-sysv4*)
3919 noconfigdirs
="$noconfigdirs target-libgloss"
3921 i
[3456789]86-*-beos*)
3922 noconfigdirs
="$noconfigdirs gdb"
3924 i
[3456789]86-*-rdos*)
3925 noconfigdirs
="$noconfigdirs gdb"
3928 noconfigdirs
="$noconfigdirs gdb"
3931 noconfigdirs
="$noconfigdirs sim"
3934 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3935 noconfigdirs
="$noconfigdirs $target_libraries"
3938 noconfigdirs
="$noconfigdirs gdb gprof"
3941 # copied from rs6000-*-* entry
3942 noconfigdirs
="$noconfigdirs gprof"
3944 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3945 target_configdirs
="$target_configdirs target-winsup"
3946 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3947 # always build newlib.
3948 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3950 # This is temporary until we can link against shared libraries
3951 powerpcle-
*-solaris*)
3952 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3955 noconfigdirs
="$noconfigdirs gdb"
3958 noconfigdirs
="$noconfigdirs gprof"
3961 noconfigdirs
="$noconfigdirs gprof"
3964 noconfigdirs
="$noconfigdirs gprof"
3967 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3970 noconfigdirs
="$noconfigdirs gprof"
3972 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3973 if test x
$with_newlib = xyes
; then
3974 noconfigdirs
="$noconfigdirs gprof"
3978 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3981 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3984 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3988 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3989 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3990 noconfigdirs
="$noconfigdirs ld gas gprof"
3993 noconfigdirs
="$noconfigdirs gprof"
3996 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
4003 noconfigdirs
="$noconfigdirs target-libgloss" ;;
4007 if test x
${is_cross_compiler} = xno
; then
4012 noconfigdirs
="$noconfigdirs sim"
4014 tilepro
*-*-* | tilegx
*-*-*)
4015 noconfigdirs
="$noconfigdirs sim"
4018 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
4021 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
4024 noconfigdirs
="$noconfigdirs ld"
4028 # If we aren't building newlib, then don't build libgloss, since libgloss
4029 # depends upon some newlib header files.
4030 case "${noconfigdirs}" in
4031 *target-libgloss
*) ;;
4032 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
4035 # Work in distributions that contain no compiler tools, like Autoconf.
4036 host_makefile_frag
=/dev
/null
4037 if test -d ${srcdir}/config
; then
4039 i
[3456789]86-*-msdosdjgpp*)
4040 host_makefile_frag
="config/mh-djgpp"
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
4045 $as_echo_n "checking to see if cat works as expected... " >&6; }
4046 echo a
>cygwin-cat-check
4047 if test `cat cygwin-cat-check` = a
; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4050 $as_echo "yes" >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4055 as_fn_error $?
"The cat command does not ignore carriage return characters.
4056 Please either mount the build directory in binary mode or run the following
4057 commands before running any configure script:
4063 host_makefile_frag
="config/mh-cygwin"
4066 host_makefile_frag
="config/mh-mingw"
4069 host_makefile_frag
="config/mh-alpha-linux"
4072 host_makefile_frag
="config/mh-pa-hpux10"
4075 host_makefile_frag
="config/mh-pa"
4078 host_makefile_frag
="config/mh-pa"
4081 host_makefile_frag
="config/mh-darwin"
4084 host_makefile_frag
="config/mh-ppc-aix"
4087 host_makefile_frag
="config/mh-ppc-aix"
4092 if test "${build}" != "${host}" ; then
4093 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4094 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4095 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4096 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4097 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4098 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4099 GDC_FOR_BUILD
=${GDC_FOR_BUILD-gdc}
4100 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4101 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4102 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4103 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4104 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4105 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4107 AR_FOR_BUILD
="\$(AR)"
4108 AS_FOR_BUILD
="\$(AS)"
4109 CC_FOR_BUILD
="\$(CC)"
4110 CXX_FOR_BUILD
="\$(CXX)"
4111 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4112 GOC_FOR_BUILD
="\$(GOC)"
4113 GDC_FOR_BUILD
="\$(GDC)"
4114 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4115 LD_FOR_BUILD
="\$(LD)"
4116 NM_FOR_BUILD
="\$(NM)"
4117 RANLIB_FOR_BUILD
="\$(RANLIB)"
4118 WINDRES_FOR_BUILD
="\$(WINDRES)"
4119 WINDMC_FOR_BUILD
="\$(WINDMC)"
4123 ac_cpp
='$CPP $CPPFLAGS'
4124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4127 if test -n "$ac_tool_prefix"; then
4128 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4129 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4131 $as_echo_n "checking for $ac_word... " >&6; }
4132 if ${ac_cv_prog_CC+:} false
; then :
4133 $as_echo_n "(cached) " >&6
4135 if test -n "$CC"; then
4136 ac_cv_prog_CC
="$CC" # Let the user override the test.
4138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4142 test -z "$as_dir" && as_dir
=.
4143 for ac_exec_ext
in '' $ac_executable_extensions; do
4144 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4145 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4156 if test -n "$CC"; then
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4158 $as_echo "$CC" >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4161 $as_echo "no" >&6; }
4166 if test -z "$ac_cv_prog_CC"; then
4168 # Extract the first word of "gcc", so it can be a program name with args.
4169 set dummy gcc
; ac_word
=$2
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4171 $as_echo_n "checking for $ac_word... " >&6; }
4172 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4173 $as_echo_n "(cached) " >&6
4175 if test -n "$ac_ct_CC"; then
4176 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4182 test -z "$as_dir" && as_dir
=.
4183 for ac_exec_ext
in '' $ac_executable_extensions; do
4184 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4185 ac_cv_prog_ac_ct_CC
="gcc"
4186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4195 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4196 if test -n "$ac_ct_CC"; then
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4198 $as_echo "$ac_ct_CC" >&6; }
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4201 $as_echo "no" >&6; }
4204 if test "x$ac_ct_CC" = x
; then
4207 case $cross_compiling:$ac_tool_warned in
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4211 ac_tool_warned
=yes ;;
4219 if test -z "$CC"; then
4220 if test -n "$ac_tool_prefix"; then
4221 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4222 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4224 $as_echo_n "checking for $ac_word... " >&6; }
4225 if ${ac_cv_prog_CC+:} false
; then :
4226 $as_echo_n "(cached) " >&6
4228 if test -n "$CC"; then
4229 ac_cv_prog_CC
="$CC" # Let the user override the test.
4231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4235 test -z "$as_dir" && as_dir
=.
4236 for ac_exec_ext
in '' $ac_executable_extensions; do
4237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4238 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 if test -n "$CC"; then
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4251 $as_echo "$CC" >&6; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 $as_echo "no" >&6; }
4260 if test -z "$CC"; then
4261 # Extract the first word of "cc", so it can be a program name with args.
4262 set dummy cc
; ac_word
=$2
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4264 $as_echo_n "checking for $ac_word... " >&6; }
4265 if ${ac_cv_prog_CC+:} false
; then :
4266 $as_echo_n "(cached) " >&6
4268 if test -n "$CC"; then
4269 ac_cv_prog_CC
="$CC" # Let the user override the test.
4272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4276 test -z "$as_dir" && as_dir
=.
4277 for ac_exec_ext
in '' $ac_executable_extensions; do
4278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4279 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4280 ac_prog_rejected
=yes
4284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 if test $ac_prog_rejected = yes; then
4292 # We found a bogon in the path, so make sure we never use it.
4293 set dummy
$ac_cv_prog_CC
4295 if test $# != 0; then
4296 # We chose a different compiler from the bogus one.
4297 # However, it has the same basename, so the bogon will be chosen
4298 # first if we set CC to just the basename; use the full file name.
4300 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4306 if test -n "$CC"; then
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4308 $as_echo "$CC" >&6; }
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4311 $as_echo "no" >&6; }
4316 if test -z "$CC"; then
4317 if test -n "$ac_tool_prefix"; then
4318 for ac_prog
in cl.exe
4320 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4321 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4323 $as_echo_n "checking for $ac_word... " >&6; }
4324 if ${ac_cv_prog_CC+:} false
; then :
4325 $as_echo_n "(cached) " >&6
4327 if test -n "$CC"; then
4328 ac_cv_prog_CC
="$CC" # Let the user override the test.
4330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4334 test -z "$as_dir" && as_dir
=.
4335 for ac_exec_ext
in '' $ac_executable_extensions; do
4336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4337 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4348 if test -n "$CC"; then
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4350 $as_echo "$CC" >&6; }
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4353 $as_echo "no" >&6; }
4357 test -n "$CC" && break
4360 if test -z "$CC"; then
4362 for ac_prog
in cl.exe
4364 # Extract the first word of "$ac_prog", so it can be a program name with args.
4365 set dummy
$ac_prog; ac_word
=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4369 $as_echo_n "(cached) " >&6
4371 if test -n "$ac_ct_CC"; then
4372 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4378 test -z "$as_dir" && as_dir
=.
4379 for ac_exec_ext
in '' $ac_executable_extensions; do
4380 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4381 ac_cv_prog_ac_ct_CC
="$ac_prog"
4382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4391 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4392 if test -n "$ac_ct_CC"; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4394 $as_echo "$ac_ct_CC" >&6; }
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4397 $as_echo "no" >&6; }
4401 test -n "$ac_ct_CC" && break
4404 if test "x$ac_ct_CC" = x
; then
4407 case $cross_compiling:$ac_tool_warned in
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4411 ac_tool_warned
=yes ;;
4420 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4422 as_fn_error $?
"no acceptable C compiler found in \$PATH
4423 See \`config.log' for more details" "$LINENO" 5; }
4425 # Provide some information about the compiler.
4426 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4429 for ac_option
in --version -v -V -qversion; do
4430 { { ac_try
="$ac_compiler $ac_option >&5"
4432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4433 *) ac_try_echo=$ac_try;;
4435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4436 $as_echo "$ac_try_echo"; } >&5
4437 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4439 if test -s conftest.err; then
4441 ... rest of stderr output deleted ...
4442 10q' conftest.err >conftest.er1
4443 cat conftest.er1 >&5
4445 rm -f conftest.er1 conftest.err
4446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4447 test $ac_status = 0; }
4450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4451 /* end confdefs.h. */
4461 ac_clean_files_save=$ac_clean_files
4462 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4463 # Try to create an executable without -o first, disregard a.out.
4464 # It will help us diagnose broken compilers, and finding out an intuition
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4467 $as_echo_n "checking whether the C compiler works... " >&6; }
4468 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4470 # The possible output files:
4471 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4474 for ac_file in $ac_files
4477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4478 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4483 if { { ac_try="$ac_link_default"
4485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4486 *) ac_try_echo
=$ac_try;;
4488 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4489 $as_echo "$ac_try_echo"; } >&5
4490 (eval "$ac_link_default") 2>&5
4492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4493 test $ac_status = 0; }; then :
4494 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4495 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4496 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4497 # so that the user can short-circuit this test for compilers unknown to
4499 for ac_file
in $ac_files ''
4501 test -f "$ac_file" ||
continue
4503 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4506 # We found the default executable, but exeext='' is most
4510 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4512 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4514 # We set ac_cv_exeext here because the later test for it is not
4515 # safe: cross compilers may not add the suffix if given an `-o'
4516 # argument, so we may need to know it at that point already.
4517 # Even if this section looks crufty: it has the advantage of
4524 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4529 if test -z "$ac_file"; then :
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4531 $as_echo "no" >&6; }
4532 $as_echo "$as_me: failed program was:" >&5
4533 sed 's/^/| /' conftest.
$ac_ext >&5
4535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4537 as_fn_error
77 "C compiler cannot create executables
4538 See \`config.log' for more details" "$LINENO" 5; }
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4541 $as_echo "yes" >&6; }
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4544 $as_echo_n "checking for C compiler default output file name... " >&6; }
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4546 $as_echo "$ac_file" >&6; }
4547 ac_exeext
=$ac_cv_exeext
4549 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4550 ac_clean_files
=$ac_clean_files_save
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4552 $as_echo_n "checking for suffix of executables... " >&6; }
4553 if { { ac_try
="$ac_link"
4555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4556 *) ac_try_echo=$ac_try;;
4558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4559 $as_echo "$ac_try_echo"; } >&5
4560 (eval "$ac_link") 2>&5
4562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4563 test $ac_status = 0; }; then :
4564 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4565 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4566 # work properly (i.e., refer to `conftest.exe'), while it won't with
4568 for ac_file
in conftest.exe conftest conftest.
*; do
4569 test -f "$ac_file" ||
continue
4571 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4572 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4580 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4581 See \`config.log' for more details" "$LINENO" 5; }
4583 rm -f conftest conftest
$ac_cv_exeext
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4585 $as_echo "$ac_cv_exeext" >&6; }
4587 rm -f conftest.
$ac_ext
4588 EXEEXT
=$ac_cv_exeext
4590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h. */
4596 FILE *f = fopen ("conftest.out", "w");
4597 return ferror (f) || fclose (f) != 0;
4603 ac_clean_files
="$ac_clean_files conftest.out"
4604 # Check that the compiler produces executables we can run. If not, either
4605 # the compiler is broken, or we cross compile.
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4607 $as_echo_n "checking whether we are cross compiling... " >&6; }
4608 if test "$cross_compiling" != yes; then
4609 { { ac_try
="$ac_link"
4611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4612 *) ac_try_echo=$ac_try;;
4614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4615 $as_echo "$ac_try_echo"; } >&5
4616 (eval "$ac_link") 2>&5
4618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4619 test $ac_status = 0; }
4620 if { ac_try='./conftest$ac_cv_exeext'
4621 { { case "(($ac_try" in
4622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4623 *) ac_try_echo
=$ac_try;;
4625 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4626 $as_echo "$ac_try_echo"; } >&5
4627 (eval "$ac_try") 2>&5
4629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4630 test $ac_status = 0; }; }; then
4633 if test "$cross_compiling" = maybe
; then
4636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4638 as_fn_error $?
"cannot run C compiled programs.
4639 If you meant to cross compile, use \`--host'.
4640 See \`config.log' for more details" "$LINENO" 5; }
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4645 $as_echo "$cross_compiling" >&6; }
4647 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4648 ac_clean_files
=$ac_clean_files_save
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4650 $as_echo_n "checking for suffix of object files... " >&6; }
4651 if ${ac_cv_objext+:} false
; then :
4652 $as_echo_n "(cached) " >&6
4654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4665 rm -f conftest.o conftest.obj
4666 if { { ac_try
="$ac_compile"
4668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4669 *) ac_try_echo=$ac_try;;
4671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4672 $as_echo "$ac_try_echo"; } >&5
4673 (eval "$ac_compile") 2>&5
4675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4676 test $ac_status = 0; }; then :
4677 for ac_file in conftest.o conftest.obj conftest.*; do
4678 test -f "$ac_file" || continue;
4680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4681 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4686 $as_echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.$ac_ext >&5
4689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4691 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4692 See \
`config.log' for more details" "$LINENO" 5; }
4694 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4697 $as_echo "$ac_cv_objext" >&6; }
4698 OBJEXT=$ac_cv_objext
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4701 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4702 if ${ac_cv_c_compiler_gnu+:} false; then :
4703 $as_echo_n "(cached) " >&6
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4719 if ac_fn_c_try_compile "$LINENO"; then :
4724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4725 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4729 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4730 if test $ac_compiler_gnu = yes; then
4735 ac_test_CFLAGS=${CFLAGS+set}
4736 ac_save_CFLAGS=$CFLAGS
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4738 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4739 if ${ac_cv_prog_cc_g+:} false; then :
4740 $as_echo_n "(cached) " >&6
4742 ac_save_c_werror_flag=$ac_c_werror_flag
4743 ac_c_werror_flag=yes
4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4757 if ac_fn_c_try_compile "$LINENO"; then :
4761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4762 /* end confdefs.h. */
4772 if ac_fn_c_try_compile "$LINENO"; then :
4775 ac_c_werror_flag=$ac_save_c_werror_flag
4777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4788 if ac_fn_c_try_compile "$LINENO"; then :
4791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4796 ac_c_werror_flag=$ac_save_c_werror_flag
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4799 $as_echo "$ac_cv_prog_cc_g" >&6; }
4800 if test "$ac_test_CFLAGS" = set; then
4801 CFLAGS=$ac_save_CFLAGS
4802 elif test $ac_cv_prog_cc_g = yes; then
4803 if test "$GCC" = yes; then
4809 if test "$GCC" = yes; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4816 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4817 if ${ac_cv_prog_cc_c89+:} false; then :
4818 $as_echo_n "(cached) " >&6
4820 ac_cv_prog_cc_c89=no
4822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h. */
4827 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4828 struct buf { int x; };
4829 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4830 static char *e (p, i)
4836 static char *f (char * (*g) (char **, int), char **p, ...)
4841 s = g (p, va_arg (v,int));
4846 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4847 function prototypes and stuff, but not '\xHH' hex character constants.
4848 These don't provoke an error unfortunately, instead are silently treated
4849 as 'x'. The following induces an error, until -std is added to get
4850 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4851 array size at least. It's necessary to write '\x00'==0 to get something
4852 that's true only with -std. */
4853 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4855 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4856 inside strings and character constants. */
4858 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4860 int test (int i, double x);
4861 struct s1 {int (*f) (int a);};
4862 struct s2 {int (*f) (double a);};
4863 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4869 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4874 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4875 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4877 CC="$ac_save_CC $ac_arg"
4878 if ac_fn_c_try_compile "$LINENO"; then :
4879 ac_cv_prog_cc_c89=$ac_arg
4881 rm -f core conftest.err conftest.$ac_objext
4882 test "x$ac_cv_prog_cc_c89" != "xno" && break
4884 rm -f conftest.$ac_ext
4889 case "x$ac_cv_prog_cc_c89" in
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4892 $as_echo "none needed" >&6; } ;;
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4895 $as_echo "unsupported" >&6; } ;;
4897 CC="$CC $ac_cv_prog_cc_c89"
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4899 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4901 if test "x$ac_cv_prog_cc_c89" != xno; then :
4906 ac_cpp='$CPP $CPPFLAGS'
4907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4912 ac_cpp='$CXXCPP $CPPFLAGS'
4913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4916 if test -z "$CXX"; then
4917 if test -n "$CCC"; then
4920 if test -n "$ac_tool_prefix"; then
4921 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4924 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if ${ac_cv_prog_CXX+:} false; then :
4928 $as_echo_n "(cached) " >&6
4930 if test -n "$CXX"; then
4931 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4937 test -z "$as_dir" && as_dir=.
4938 for ac_exec_ext in '' $ac_executable_extensions; do
4939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4940 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 if test -n "$CXX"; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4953 $as_echo "$CXX" >&6; }
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4960 test -n "$CXX" && break
4963 if test -z "$CXX"; then
4965 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4967 # Extract the first word of "$ac_prog", so it can be a program name with args.
4968 set dummy $ac_prog; ac_word=$2
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 $as_echo_n "checking for $ac_word... " >&6; }
4971 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4972 $as_echo_n "(cached) " >&6
4974 if test -n "$ac_ct_CXX"; then
4975 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4981 test -z "$as_dir" && as_dir=.
4982 for ac_exec_ext in '' $ac_executable_extensions; do
4983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_ac_ct_CXX="$ac_prog"
4985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4995 if test -n "$ac_ct_CXX"; then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4997 $as_echo "$ac_ct_CXX" >&6; }
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 $as_echo "no" >&6; }
5004 test -n "$ac_ct_CXX" && break
5007 if test "x$ac_ct_CXX" = x; then
5010 case $cross_compiling:$ac_tool_warned in
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5014 ac_tool_warned=yes ;;
5022 # Provide some information about the compiler.
5023 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5026 for ac_option in --version -v -V -qversion; do
5027 { { ac_try="$ac_compiler $ac_option >&5"
5029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5030 *) ac_try_echo
=$ac_try;;
5032 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5033 $as_echo "$ac_try_echo"; } >&5
5034 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5036 if test -s conftest.err
; then
5038 ... rest of stderr output deleted ...
5039 10q' conftest.err
>conftest.er1
5040 cat conftest.er1
>&5
5042 rm -f conftest.er1 conftest.err
5043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5044 test $ac_status = 0; }
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5048 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5049 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5050 $as_echo_n "(cached) " >&6
5052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5053 /* end confdefs.h. */
5066 if ac_fn_cxx_try_compile
"$LINENO"; then :
5071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5072 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5076 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5077 if test $ac_compiler_gnu = yes; then
5082 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5083 ac_save_CXXFLAGS
=$CXXFLAGS
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5085 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5086 if ${ac_cv_prog_cxx_g+:} false
; then :
5087 $as_echo_n "(cached) " >&6
5089 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5090 ac_cxx_werror_flag
=yes
5093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5094 /* end confdefs.h. */
5104 if ac_fn_cxx_try_compile
"$LINENO"; then :
5105 ac_cv_prog_cxx_g
=yes
5108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5109 /* end confdefs.h. */
5119 if ac_fn_cxx_try_compile
"$LINENO"; then :
5122 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5125 /* end confdefs.h. */
5135 if ac_fn_cxx_try_compile
"$LINENO"; then :
5136 ac_cv_prog_cxx_g
=yes
5138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5143 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5146 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5147 if test "$ac_test_CXXFLAGS" = set; then
5148 CXXFLAGS
=$ac_save_CXXFLAGS
5149 elif test $ac_cv_prog_cxx_g = yes; then
5150 if test "$GXX" = yes; then
5156 if test "$GXX" = yes; then
5163 ac_cpp
='$CPP $CPPFLAGS'
5164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5169 # We must set the default linker to the linker used by gcc for the correct
5170 # operation of libtool. If LD is not defined and we are using gcc, try to
5171 # set the LD default to the ld used by gcc.
5172 if test -z "$LD"; then
5173 if test "$GCC" = yes; then
5176 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5178 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5180 case $gcc_prog_ld in
5181 # Accept absolute paths.
5182 [\\/]* |
[A-Za-z
]:[\\/]*)
5183 LD
="$gcc_prog_ld" ;;
5188 # Check whether -static-libstdc++ -static-libgcc is supported.
5190 if test "$GCC" = yes; then
5191 saved_LDFLAGS
="$LDFLAGS"
5193 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5195 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5197 ac_cpp
='$CXXCPP $CPPFLAGS'
5198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5206 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5207 #error -static-libstdc++ not implemented
5211 if ac_fn_cxx_try_link
"$LINENO"; then :
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5213 $as_echo "yes" >&6; }; have_static_libs
=yes
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 $as_echo "no" >&6; }
5218 rm -f core conftest.err conftest.
$ac_objext \
5219 conftest
$ac_exeext conftest.
$ac_ext
5221 ac_cpp
='$CPP $CPPFLAGS'
5222 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5223 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5224 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5227 LDFLAGS
="$saved_LDFLAGS"
5233 if test -n "$ac_tool_prefix"; then
5234 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5235 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if ${ac_cv_prog_GNATBIND+:} false
; then :
5239 $as_echo_n "(cached) " >&6
5241 if test -n "$GNATBIND"; then
5242 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5248 test -z "$as_dir" && as_dir
=.
5249 for ac_exec_ext
in '' $ac_executable_extensions; do
5250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5251 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 GNATBIND
=$ac_cv_prog_GNATBIND
5262 if test -n "$GNATBIND"; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5264 $as_echo "$GNATBIND" >&6; }
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5272 if test -z "$ac_cv_prog_GNATBIND"; then
5273 ac_ct_GNATBIND
=$GNATBIND
5274 # Extract the first word of "gnatbind", so it can be a program name with args.
5275 set dummy gnatbind
; ac_word
=$2
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5277 $as_echo_n "checking for $ac_word... " >&6; }
5278 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5279 $as_echo_n "(cached) " >&6
5281 if test -n "$ac_ct_GNATBIND"; then
5282 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5288 test -z "$as_dir" && as_dir
=.
5289 for ac_exec_ext
in '' $ac_executable_extensions; do
5290 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5291 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5301 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5302 if test -n "$ac_ct_GNATBIND"; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5304 $as_echo "$ac_ct_GNATBIND" >&6; }
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 $as_echo "no" >&6; }
5310 if test "x$ac_ct_GNATBIND" = x
; then
5313 case $cross_compiling:$ac_tool_warned in
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5317 ac_tool_warned
=yes ;;
5319 GNATBIND
=$ac_ct_GNATBIND
5322 GNATBIND
="$ac_cv_prog_GNATBIND"
5325 if test -n "$ac_tool_prefix"; then
5326 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5327 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5329 $as_echo_n "checking for $ac_word... " >&6; }
5330 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5331 $as_echo_n "(cached) " >&6
5333 if test -n "$GNATMAKE"; then
5334 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5340 test -z "$as_dir" && as_dir
=.
5341 for ac_exec_ext
in '' $ac_executable_extensions; do
5342 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5343 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5353 GNATMAKE
=$ac_cv_prog_GNATMAKE
5354 if test -n "$GNATMAKE"; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5356 $as_echo "$GNATMAKE" >&6; }
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }
5364 if test -z "$ac_cv_prog_GNATMAKE"; then
5365 ac_ct_GNATMAKE
=$GNATMAKE
5366 # Extract the first word of "gnatmake", so it can be a program name with args.
5367 set dummy gnatmake
; ac_word
=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5371 $as_echo_n "(cached) " >&6
5373 if test -n "$ac_ct_GNATMAKE"; then
5374 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5380 test -z "$as_dir" && as_dir
=.
5381 for ac_exec_ext
in '' $ac_executable_extensions; do
5382 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5383 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5394 if test -n "$ac_ct_GNATMAKE"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5396 $as_echo "$ac_ct_GNATMAKE" >&6; }
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399 $as_echo "no" >&6; }
5402 if test "x$ac_ct_GNATMAKE" = x
; then
5405 case $cross_compiling:$ac_tool_warned in
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5409 ac_tool_warned
=yes ;;
5411 GNATMAKE
=$ac_ct_GNATMAKE
5414 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5418 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5419 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5420 $as_echo_n "(cached) " >&6
5422 cat >conftest.adb
<<EOF
5423 procedure conftest is begin null; end conftest;
5425 acx_cv_cc_gcc_supports_ada
=no
5426 # There is a bug in old released versions of GCC which causes the
5427 # driver to exit successfully when the appropriate language module
5428 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5429 # Therefore we must check for the error message as well as an
5430 # unsuccessful exit.
5431 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5432 # given a .adb file, but produce no object file. So we must check
5433 # if an object file was really produced to guard against this.
5434 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5435 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5436 acx_cv_cc_gcc_supports_ada
=yes
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5441 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5443 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5450 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5451 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5452 $as_echo_n "(cached) " >&6
5456 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5457 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5458 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5461 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5464 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5465 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5468 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5475 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5476 do_compare
="$gcc_cv_prog_cmp_skip"
5480 # Check whether --enable-bootstrap was given.
5481 if test "${enable_bootstrap+set}" = set; then :
5482 enableval
=$enable_bootstrap;
5484 enable_bootstrap
=default
5488 # Issue errors and warnings for invalid/strange bootstrap combinations.
5489 if test -r $srcdir/gcc
/configure
; then
5495 case "$have_compiler:$host:$target:$enable_bootstrap" in
5498 # Default behavior. Enable bootstrap if we have a compiler
5499 # and we are in a native configuration.
5500 yes:$build:$build:default
)
5501 enable_bootstrap
=yes ;;
5504 enable_bootstrap
=no
;;
5506 # We have a compiler and we are in a native configuration, bootstrap is ok
5507 yes:$build:$build:yes)
5510 # Other configurations, but we have a compiler. Assume the user knows
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5514 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5517 # No compiler: if they passed --enable-bootstrap explicitly, fail
5519 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5521 # Fail if wrong command line
5523 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5527 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5528 # C++98 compiler can still start the bootstrap.
5529 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5530 CXX
="$CXX -std=gnu++98"
5533 # Used for setting $lt_cv_objdir
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5535 $as_echo_n "checking for objdir... " >&6; }
5536 if ${lt_cv_objdir+:} false
; then :
5537 $as_echo_n "(cached) " >&6
5539 rm -f .libs
2>/dev
/null
5540 mkdir .libs
2>/dev
/null
5541 if test -d .libs
; then
5544 # MS-DOS does not allow filenames that begin with a dot.
5547 rmdir .libs
2>/dev
/null
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5550 $as_echo "$lt_cv_objdir" >&6; }
5551 objdir
=$lt_cv_objdir
5557 cat >>confdefs.h
<<_ACEOF
5558 #define LT_OBJDIR "$lt_cv_objdir/"
5563 # Check for GMP, MPFR and MPC
5564 gmplibs
="-lmpc -lmpfr -lgmp"
5568 # Specify a location for mpc
5569 # check for this first so it ends up on the link line before mpfr.
5571 # Check whether --with-mpc was given.
5572 if test "${with_mpc+set}" = set; then :
5577 # Check whether --with-mpc-include was given.
5578 if test "${with_mpc_include+set}" = set; then :
5579 withval
=$with_mpc_include;
5583 # Check whether --with-mpc-lib was given.
5584 if test "${with_mpc_lib+set}" = set; then :
5585 withval
=$with_mpc_lib;
5589 if test "x$with_mpc" != x
; then
5590 gmplibs
="-L$with_mpc/lib $gmplibs"
5591 gmpinc
="-I$with_mpc/include $gmpinc"
5593 if test "x$with_mpc_include" != x
; then
5594 gmpinc
="-I$with_mpc_include $gmpinc"
5596 if test "x$with_mpc_lib" != x
; then
5597 gmplibs
="-L$with_mpc_lib $gmplibs"
5599 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5600 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5601 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5602 # Do not test the mpc version. Assume that it is sufficient, since
5603 # it is in the source tree, and the library has not been built yet
5604 # but it would be included on the link line in the version check below
5605 # hence making the test fail.
5609 # Specify a location for mpfr
5610 # check for this first so it ends up on the link line before gmp.
5612 # Check whether --with-mpfr-dir was given.
5613 if test "${with_mpfr_dir+set}" = set; then :
5614 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
5615 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5620 # Check whether --with-mpfr was given.
5621 if test "${with_mpfr+set}" = set; then :
5626 # Check whether --with-mpfr-include was given.
5627 if test "${with_mpfr_include+set}" = set; then :
5628 withval
=$with_mpfr_include;
5632 # Check whether --with-mpfr-lib was given.
5633 if test "${with_mpfr_lib+set}" = set; then :
5634 withval
=$with_mpfr_lib;
5638 if test "x$with_mpfr" != x
; then
5639 gmplibs
="-L$with_mpfr/lib $gmplibs"
5640 gmpinc
="-I$with_mpfr/include $gmpinc"
5642 if test "x$with_mpfr_include" != x
; then
5643 gmpinc
="-I$with_mpfr_include $gmpinc"
5645 if test "x$with_mpfr_lib" != x
; then
5646 gmplibs
="-L$with_mpfr_lib $gmplibs"
5648 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5649 # MPFR v3.1.0 moved the sources into a src sub-directory.
5650 if ! test -d ${srcdir}/mpfr
/src
; then
5651 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5653 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5654 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5655 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5656 # Do not test the mpfr version. Assume that it is sufficient, since
5657 # it is in the source tree, and the library has not been built yet
5658 # but it would be included on the link line in the version check below
5659 # hence making the test fail.
5663 # Specify a location for gmp
5665 # Check whether --with-gmp-dir was given.
5666 if test "${with_gmp_dir+set}" = set; then :
5667 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
5668 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5673 # Check whether --with-gmp was given.
5674 if test "${with_gmp+set}" = set; then :
5679 # Check whether --with-gmp-include was given.
5680 if test "${with_gmp_include+set}" = set; then :
5681 withval
=$with_gmp_include;
5685 # Check whether --with-gmp-lib was given.
5686 if test "${with_gmp_lib+set}" = set; then :
5687 withval
=$with_gmp_lib;
5692 if test "x$with_gmp" != x
; then
5693 gmplibs
="-L$with_gmp/lib $gmplibs"
5694 gmpinc
="-I$with_gmp/include $gmpinc"
5696 if test "x$with_gmp_include" != x
; then
5697 gmpinc
="-I$with_gmp_include $gmpinc"
5699 if test "x$with_gmp_lib" != x
; then
5700 gmplibs
="-L$with_gmp_lib $gmplibs"
5702 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5703 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5704 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5705 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5706 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5707 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5708 # Do not test the gmp version. Assume that it is sufficient, since
5709 # it is in the source tree, and the library has not been built yet
5710 # but it would be included on the link line in the version check below
5711 # hence making the test fail.
5715 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5717 saved_CFLAGS
="$CFLAGS"
5718 CFLAGS
="$CFLAGS $gmpinc"
5719 # Check for the recommended and required versions of GMP.
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5721 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5724 /* end confdefs.h. */
5730 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5731 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5732 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5740 if ac_fn_c_try_compile
"$LINENO"; then :
5741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5748 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5749 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5750 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5758 if ac_fn_c_try_compile
"$LINENO"; then :
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5760 $as_echo "yes" >&6; }
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5763 $as_echo "buggy but acceptable" >&6; }
5765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5768 $as_echo "no" >&6; }; have_gmp
=no
5770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5772 # If we have GMP, check the MPFR version.
5773 if test x
"$have_gmp" = xyes
; then
5774 # Check for the recommended and required versions of MPFR.
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5776 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5778 /* end confdefs.h. */
5785 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,0)
5793 if ac_fn_c_try_compile
"$LINENO"; then :
5794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5795 /* end confdefs.h. */
5802 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,6)
5810 if ac_fn_c_try_compile
"$LINENO"; then :
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5812 $as_echo "yes" >&6; }
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5815 $as_echo "buggy but acceptable" >&6; }
5817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5820 $as_echo "no" >&6; }; have_gmp
=no
5822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5825 # Check for the MPC header version.
5826 if test x
"$have_gmp" = xyes
; then
5827 # Check for the recommended and required versions of MPC.
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5829 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5831 /* end confdefs.h. */
5837 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5845 if ac_fn_c_try_compile
"$LINENO"; then :
5846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5847 /* end confdefs.h. */
5853 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5861 if ac_fn_c_try_compile
"$LINENO"; then :
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5863 $as_echo "yes" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5866 $as_echo "buggy but acceptable" >&6; }
5868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5871 $as_echo "no" >&6; }; have_gmp
=no
5873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5876 # Now check the MPFR library.
5877 if test x
"$have_gmp" = xyes
; then
5879 LIBS
="$LIBS $gmplibs"
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5881 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5883 /* end confdefs.h. */
5895 mpfr_atan2 (n, n, x, MPFR_RNDN);
5896 mpfr_erfc (n, x, MPFR_RNDN);
5897 mpfr_subnormalize (x, t, MPFR_RNDN);
5901 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5902 mpc_cosh (c, c, MPC_RNDNN);
5903 mpc_pow (c, c, c, MPC_RNDNN);
5904 mpc_acosh (c, c, MPC_RNDNN);
5911 if ac_fn_c_try_link
"$LINENO"; then :
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5913 $as_echo "yes" >&6; }
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }; have_gmp
=no
5918 rm -f core conftest.err conftest.
$ac_objext \
5919 conftest
$ac_exeext conftest.
$ac_ext
5923 CFLAGS
="$saved_CFLAGS"
5925 # The library versions listed in the error message below should match
5926 # the HARD-minimums enforced above.
5927 if test x
$have_gmp != xyes
; then
5928 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
5929 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5930 their locations. Source code for these libraries can be found at
5931 their respective hosting sites as well as at
5932 https://gcc.gnu.org/pub/gcc/infrastructure/. See also
5933 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5934 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5935 make sure that you have installed both the libraries and the header
5936 files. They may be located in separate packages." "$LINENO" 5
5940 # Flags needed for both GMP, MPFR and/or MPC.
5948 # Libraries to use for stage1 or when not bootstrapping.
5950 # Check whether --with-stage1-libs was given.
5951 if test "${with_stage1_libs+set}" = set; then :
5952 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5955 stage1_libs
=$withval
5963 # Whether or not to use -static-libstdc++ and -static-libgcc. The
5964 # default is yes if gcc is being built; no otherwise. The reason for
5965 # this default is that gdb is sometimes linked against GNU Source
5966 # Highlight, which is a shared library that uses C++ exceptions. In
5967 # this case, -static-libstdc++ will cause crashes.
5969 # Check whether --with-static-standard-libraries was given.
5970 if test "${with_static_standard_libraries+set}" = set; then :
5971 withval
=$with_static_standard_libraries;
5973 with_static_standard_libraries
=auto
5976 if test "$with_static_standard_libraries" = auto
; then
5977 with_static_standard_libraries
=$have_compiler
5980 # Linker flags to use for stage1 or when not bootstrapping.
5982 # Check whether --with-stage1-ldflags was given.
5983 if test "${with_stage1_ldflags+set}" = set; then :
5984 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5987 stage1_ldflags
=$withval
5991 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5992 # if supported. But if the user explicitly specified the libraries to use,
5993 # trust that they are doing what they want.
5994 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
5995 -a "$have_static_libs" = yes; then
5996 stage1_ldflags
="-static-libstdc++ -static-libgcc"
6002 # Libraries to use for stage2 and later builds.
6004 # Check whether --with-boot-libs was given.
6005 if test "${with_boot_libs+set}" = set; then :
6006 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
6009 poststage1_libs
=$withval
6017 # Linker flags to use for stage2 and later builds.
6019 # Check whether --with-boot-ldflags was given.
6020 if test "${with_boot_ldflags+set}" = set; then :
6021 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6024 poststage1_ldflags
=$withval
6028 # In stages 2 and 3, default to linking libstdc++ and libgcc
6029 # statically. But if the user explicitly specified the libraries to
6030 # use, trust that they are doing what they want.
6031 if test "$poststage1_libs" = ""; then
6032 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
6038 # GCC GRAPHITE dependency isl.
6039 # Basic setup is inlined here, actual checks are in config/isl.m4
6042 # Check whether --with-isl was given.
6043 if test "${with_isl+set}" = set; then :
6048 # Treat --without-isl as a request to disable
6049 # GRAPHITE support and skip all following checks.
6050 if test "x$with_isl" != "xno"; then
6054 # Check whether --with-isl-include was given.
6055 if test "${with_isl_include+set}" = set; then :
6056 withval
=$with_isl_include;
6060 # Check whether --with-isl-lib was given.
6061 if test "${with_isl_lib+set}" = set; then :
6062 withval
=$with_isl_lib;
6066 # Check whether --enable-isl-version-check was given.
6067 if test "${enable_isl_version_check+set}" = set; then :
6068 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
6070 ENABLE_ISL_CHECK
=yes
6074 # Initialize isllibs and islinc.
6083 isllibs
="-L$with_isl/lib"
6084 islinc
="-I$with_isl/include"
6087 if test "x${with_isl_include}" != x
; then
6088 islinc
="-I$with_isl_include"
6090 if test "x${with_isl_lib}" != x
; then
6091 isllibs
="-L$with_isl_lib"
6093 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
6094 && test -d ${srcdir}/isl
; then
6095 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
6096 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
6099 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
6102 isllibs
="${isllibs} -lisl"
6106 if test "${ENABLE_ISL_CHECK}" = yes ; then
6107 _isl_saved_CFLAGS
=$CFLAGS
6108 _isl_saved_LDFLAGS
=$LDFLAGS
6109 _isl_saved_LIBS
=$LIBS
6111 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6112 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
6113 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
6116 $as_echo_n "checking for isl 0.15 or later... " >&6; }
6117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6118 /* end confdefs.h. */
6119 #include <isl/schedule.h>
6123 isl_options_set_schedule_serialize_sccs (NULL, 0);
6128 if ac_fn_c_try_link
"$LINENO"; then :
6133 rm -f core conftest.err conftest.
$ac_objext \
6134 conftest
$ac_exeext conftest.
$ac_ext
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6136 $as_echo "$gcc_cv_isl" >&6; }
6138 if test "${gcc_cv_isl}" = no
; then
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
6140 $as_echo "required isl version is 0.15 or later" >&6; }
6143 CFLAGS
=$_isl_saved_CFLAGS
6144 LDFLAGS
=$_isl_saved_LDFLAGS
6145 LIBS
=$_isl_saved_LIBS
6153 if test "x${with_isl}" = xno
; then
6154 graphite_requested
=no
6155 elif test "x${with_isl}" != x \
6156 ||
test "x${with_isl_include}" != x \
6157 ||
test "x${with_isl_lib}" != x
; then
6158 graphite_requested
=yes
6160 graphite_requested
=no
6165 if test "${gcc_cv_isl}" = no
; then
6170 if test "${graphite_requested}" = yes \
6171 && test "x${isllibs}" = x \
6172 && test "x${islinc}" = x
; then
6174 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6180 # If the isl check failed, disable builds of in-tree variant of isl
6181 if test "x$with_isl" = xno ||
6182 test "x$gcc_cv_isl" = xno
; then
6183 noconfigdirs
="$noconfigdirs isl"
6190 # Check for LTO support.
6191 # Check whether --enable-lto was given.
6192 if test "${enable_lto+set}" = set; then :
6193 enableval
=$enable_lto; enable_lto
=$enableval
6195 enable_lto
=yes; default_enable_lto
=yes
6204 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6205 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6206 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6215 if test $target_elf = yes; then :
6216 # ELF platforms build the lto-plugin always.
6217 build_lto_plugin
=yes
6220 if test x
"$default_enable_lto" = x
"yes" ; then
6222 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6223 # On other non-ELF platforms, LTO has yet to be validated.
6227 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6228 # It would also be nice to check the binutils support, but we don't
6229 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6230 # warn during gcc/ subconfigure; unless you're bootstrapping with
6231 # -flto it won't be needed until after installation anyway.
6233 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6234 *) if test x
"$enable_lto" = x
"yes"; then
6235 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
6240 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6241 # Build it unless LTO was explicitly disabled.
6243 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6250 # Check whether --enable-linker-plugin-configure-flags was given.
6251 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6252 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6254 extra_linker_plugin_configure_flags
=
6258 # Check whether --enable-linker-plugin-flags was given.
6259 if test "${enable_linker_plugin_flags+set}" = set; then :
6260 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6262 extra_linker_plugin_flags
=
6267 # Enable --enable-host-shared.
6268 # Checked early to determine whether jit is an 'all' language
6269 # Check whether --enable-host-shared was given.
6270 if test "${enable_host_shared+set}" = set; then :
6271 enableval
=$enable_host_shared; host_shared
=$enableval
6278 # By default, C and C++ are the only stage 1 languages.
6279 stage1_languages
=,c
,
6281 # Target libraries that we bootstrap.
6282 bootstrap_target_libs
=,target-libgcc
,
6284 # Figure out what language subdirectories are present.
6285 # Look if the user specified --enable-languages="..."; if not, use
6286 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6288 # NB: embedded tabs in this IF block -- do not untabify
6289 if test -d ${srcdir}/gcc
; then
6290 if test x
"${enable_languages+set}" != xset
; then
6291 if test x
"${LANGUAGES+set}" = xset
; then
6292 enable_languages
="${LANGUAGES}"
6293 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6295 enable_languages
=default
6298 if test x
"${enable_languages}" = x ||
6299 test x
"${enable_languages}" = xyes
;
6301 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6305 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6307 # 'f95' is the old name for the 'fortran' language. We issue a warning
6308 # and make the substitution.
6309 case ,${enable_languages}, in
6311 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6312 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6316 # If bootstrapping, C++ must be enabled.
6317 case ",$enable_languages,:$enable_bootstrap" in
6320 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6321 enable_languages
="${enable_languages},c++"
6323 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
6328 # First scan to see if an enabled language requires some other language.
6329 # We assume that a given config-lang.in will list all the language
6330 # front ends it requires, even if some are required indirectly.
6331 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6332 case ${lang_frag} in
6334 # The odd quoting in the next line works around
6335 # an apparent bug in bash 1.12 on linux.
6336 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6338 # From the config-lang.in, get $language, $lang_requires, and
6339 # $lang_requires_boot_languages.
6342 lang_requires_boot_languages
=
6343 # set srcdir during sourcing lang_frag to the gcc dir.
6344 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
6345 # polutes this shell
6346 saved_srcdir
=${srcdir}
6347 srcdir
=${srcdir}/gcc .
${lang_frag}
6348 srcdir
=${saved_srcdir}
6349 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6350 case ,${enable_languages}, in
6355 echo " \`$other' language required by \`$language'; enabling" 1>&2
6356 enable_languages
="${enable_languages},${other}"
6360 for other
in ${lang_requires_boot_languages} ; do
6361 if test "$other" != "c"; then
6362 case ,${enable_stage1_languages}, in
6367 case ,${enable_languages}, in
6369 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6370 enable_stage1_languages
="$enable_stage1_languages,${other}"
6381 new_enable_languages
=,c
,
6383 # If LTO is enabled, add the LTO front end.
6384 if test "$enable_lto" = "yes" ; then
6385 case ,${enable_languages}, in
6387 *) enable_languages
="${enable_languages},lto" ;;
6389 if test "${build_lto_plugin}" = "yes" ; then
6390 configdirs
="$configdirs lto-plugin"
6394 # If we're building an offloading compiler, add the LTO front end.
6395 if test x
"$enable_as_accelerator_for" != x
; then
6396 case ,${enable_languages}, in
6398 *) enable_languages
="${enable_languages},lto" ;;
6402 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
6403 potential_languages
=,c
,
6405 enabled_target_libs
=
6406 disabled_target_libs
=
6408 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6409 case ${lang_frag} in
6411 # The odd quoting in the next line works around
6412 # an apparent bug in bash 1.12 on linux.
6413 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6415 # From the config-lang.in, get $language, $target_libs,
6416 # $lang_dirs, $boot_language, and $build_by_default
6422 build_by_default
=yes
6423 # set srcdir during sourcing. See above about save & restore
6424 saved_srcdir
=${srcdir}
6425 srcdir
=${srcdir}/gcc .
${lang_frag}
6426 srcdir
=${saved_srcdir}
6427 if test x
${language} = x
; then
6428 echo "${lang_frag} doesn't set \$language." 1>&2
6432 if test "$language" = "c++"; then
6437 # C is always enabled, so no need to add it again
6438 if test "$language" != "c"; then
6439 case ,${enable_languages}, in
6441 # Language was explicitly selected; include it
6445 # All languages are enabled
6449 # 'default' was selected, select it if it is a default language
6450 add_this_lang
=${build_by_default}
6455 # Disable languages that need other directories if these aren't available.
6456 for i
in $subdir_requires; do
6457 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6458 case ${add_this_lang} in
6460 # Specifically requested language; tell them.
6461 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
6465 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
6466 add_this_lang
=unsupported
6470 add_this_lang
=unsupported
6475 # Disable Ada if no preexisting GNAT is available.
6476 case ${add_this_lang}:${language}:${have_gnat} in
6478 # Specifically requested language; tell them.
6479 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
6483 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
6484 add_this_lang
=unsupported
6488 add_this_lang
=unsupported
6492 # Disable jit if -enable-host-shared not specified
6493 case ${add_this_lang}:${language}:${host_shared} in
6495 # PR jit/64780: explicitly specify --enable-host-shared
6497 Enabling language \"jit\" requires --enable-host-shared.
6499 --enable-host-shared typically slows the rest of the compiler down by
6500 a few %, so you must explicitly enable it.
6502 If you want to build both the jit and the regular compiler, it is often
6503 best to do this via two separate configure/builds, in separate
6504 directories, to avoid imposing the performance cost of
6505 --enable-host-shared on the regular compiler." "$LINENO" 5
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
6509 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
6510 add_this_lang
=unsupported
6514 add_this_lang
=unsupported
6518 # Disable a language that is unsupported by the target.
6519 case "${add_this_lang}: $unsupported_languages " in
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
6524 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
6525 add_this_lang
=unsupported
6529 case $add_this_lang in
6531 # Remove language-dependent dirs.
6532 disabled_target_libs
="$disabled_target_libs $target_libs"
6533 noconfigdirs
="$noconfigdirs $lang_dirs"
6536 # Remove language-dependent dirs; still show language as supported.
6537 disabled_target_libs
="$disabled_target_libs $target_libs"
6538 noconfigdirs
="$noconfigdirs $lang_dirs"
6539 potential_languages
="${potential_languages}${language},"
6542 new_enable_languages
="${new_enable_languages}${language},"
6543 potential_languages
="${potential_languages}${language},"
6544 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6545 enabled_target_libs
="$enabled_target_libs $target_libs"
6546 case "${boot_language}:,$enable_stage1_languages," in
6547 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6548 # Add to (comma-separated) list of stage 1 languages.
6549 case ",$stage1_languages," in
6550 *,$language,* |
,yes, |
,all
,) ;;
6551 *) stage1_languages
="${stage1_languages}${language}," ;;
6553 # We need to bootstrap any supporting libraries.
6554 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6563 # Add target libraries which are only needed for disabled languages
6565 if test -n "$disabled_target_libs"; then
6566 for dir
in $disabled_target_libs; do
6567 case " $enabled_target_libs " in
6569 *) noconfigdirs
="$noconfigdirs $dir" ;;
6574 # Check whether --enable-stage1-languages was given.
6575 if test "${enable_stage1_languages+set}" = set; then :
6576 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6578 # Set it to something that will have no effect in the loop below
6579 enable_stage1_languages
=c
;;
6581 enable_stage1_languages
=`echo $new_enable_languages | \
6582 sed -e "s/^,//" -e "s/,$//" ` ;;
6584 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6585 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6588 # Add "good" languages from enable_stage1_languages to stage1_languages,
6589 # while "bad" languages go in missing_languages. Leave no duplicates.
6590 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6591 case $potential_languages in
6593 case $stage1_languages in
6595 *) stage1_languages
="$stage1_languages$i," ;;
6598 case $missing_languages in
6600 *) missing_languages
="$missing_languages$i," ;;
6607 # Remove leading/trailing commas that were added for simplicity
6608 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6609 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6610 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6611 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6613 if test "x$missing_languages" != x
; then
6615 The following requested languages could not be built: ${missing_languages}
6616 Supported languages are: ${potential_languages}" "$LINENO" 5
6618 if test "x$new_enable_languages" != "x$enable_languages"; then
6619 echo The following languages will be built
: ${new_enable_languages}
6620 enable_languages
="$new_enable_languages"
6624 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6627 # Handle --disable-<component> generically.
6628 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6629 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6630 varname
=`echo $dirname | sed -e s/+/_/g`
6631 if eval test x\
${enable_${varname}} "=" xno
; then
6632 noconfigdirs
="$noconfigdirs $dir"
6636 # Check for Boehm's garbage collector
6637 # Check whether --enable-objc-gc was given.
6638 if test "${enable_objc_gc+set}" = set; then :
6639 enableval
=$enable_objc_gc;
6643 # Check whether --with-target-bdw-gc was given.
6644 if test "${with_target_bdw_gc+set}" = set; then :
6645 withval
=$with_target_bdw_gc;
6649 # Check whether --with-target-bdw-gc-include was given.
6650 if test "${with_target_bdw_gc_include+set}" = set; then :
6651 withval
=$with_target_bdw_gc_include;
6655 # Check whether --with-target-bdw-gc-lib was given.
6656 if test "${with_target_bdw_gc_lib+set}" = set; then :
6657 withval
=$with_target_bdw_gc_lib;
6661 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6663 $as_echo_n "checking for bdw garbage collector... " >&6; }
6664 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6666 $as_echo "using bdw-gc in default locations" >&6; }
6668 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6669 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6670 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6671 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6674 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6679 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6680 case ,${enable_languages}, in
6682 # Disable libitm, libsanitizer if we're not building libstdc++
6683 case "${noconfigdirs}" in
6684 *target-libstdc
++-v3*)
6685 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
6691 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6695 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6696 # $build_configdirs and $target_configdirs.
6697 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6700 for dir
in .
$skipdirs $noconfigdirs ; do
6701 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6702 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6703 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6704 if test -r $srcdir/$dirname/configure
; then
6705 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6708 notsupp
="$notsupp $dir"
6712 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6713 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6714 if test -r $srcdir/$dirname/configure
; then
6715 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6718 notsupp
="$notsupp $dir"
6722 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6723 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6724 if test -r $srcdir/$dirname/configure
; then
6725 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6728 notsupp
="$notsupp $dir"
6734 # Quietly strip out all directories which aren't configurable in this tree.
6735 # This relies on all configurable subdirectories being autoconfiscated, which
6737 build_configdirs_all
="$build_configdirs"
6739 for i
in ${build_configdirs_all} ; do
6740 j
=`echo $i | sed -e s/build-//g`
6741 if test -f ${srcdir}/$j/configure
; then
6742 build_configdirs
="${build_configdirs} $i"
6746 configdirs_all
="$configdirs"
6748 for i
in ${configdirs_all} ; do
6749 if test -f ${srcdir}/$i/configure
; then
6750 configdirs
="${configdirs} $i"
6754 target_configdirs_all
="$target_configdirs"
6756 for i
in ${target_configdirs_all} ; do
6757 j
=`echo $i | sed -e s/target-//g`
6758 if test -f ${srcdir}/$j/configure
; then
6759 target_configdirs
="${target_configdirs} $i"
6763 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6764 # so we have to add it after the preceding checks.
6765 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6767 case " $configdirs " in
6769 # If we can build libiberty, we can also build libiberty-linker-plugin.
6770 configdirs
="$configdirs libiberty-linker-plugin"
6771 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6772 --with-libiberty=../libiberty-linker-plugin";;
6774 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
6778 # Sometimes we have special requirements for the host libiberty.
6779 extra_host_libiberty_configure_flags
=
6780 extra_host_zlib_configure_flags
=
6781 case " $configdirs " in
6782 *" lto-plugin "* |
*" libcc1 "*)
6783 # When these are to be built as shared libraries, the same applies to
6785 extra_host_libiberty_configure_flags
=--enable-shared
6788 # When bfd is to be built as a shared library, the same applies to
6790 if test "$enable_shared" = "yes"; then
6791 extra_host_zlib_configure_flags
=--enable-host-shared
6798 # Produce a warning message for the subdirs we can't configure.
6799 # This isn't especially interesting in the Cygnus tree, but in the individual
6800 # FSF releases, it's important to let people know when their machine isn't
6801 # supported by the one or two programs in a package.
6803 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6804 # If $appdirs is non-empty, at least one of those directories must still
6805 # be configured, or we error out. (E.g., if the gas release supports a
6806 # specified target in some subdirs but not the gas subdir, we shouldn't
6807 # pretend that all is well.)
6808 if test -n "$appdirs" ; then
6809 for dir
in $appdirs ; do
6810 if test -r $dir/Makefile.
in ; then
6811 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6815 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6821 if test -n "$appdirs" ; then
6822 echo "*** This configuration is not supported by this package." 1>&2
6826 # Okay, some application will build, or we don't care to check. Still
6827 # notify of subdirs not getting built.
6828 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6829 echo " ${notsupp}" 1>&2
6830 echo " (Any other directories should still work fine.)" 1>&2
6838 # To find our prefix, in gcc_cv_tool_prefix.
6840 # The user is always right.
6841 if test "${PATH_SEPARATOR+set}" != set; then
6842 echo "#! /bin/sh" >conf$$.sh
6843 echo "exit 0" >>conf$$.sh
6845 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6854 get_gcc_base_ver
="cat"
6856 # Check whether --with-gcc-major-version-only was given.
6857 if test "${with_gcc_major_version_only+set}" = set; then :
6858 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
6859 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
6869 if test "x$exec_prefix" = xNONE
; then
6870 if test "x$prefix" = xNONE
; then
6871 gcc_cv_tool_prefix
=$ac_default_prefix
6873 gcc_cv_tool_prefix
=$prefix
6876 gcc_cv_tool_prefix
=$exec_prefix
6879 # If there is no compiler in the tree, use the PATH only. In any
6880 # case, if there is no compiler in the tree nobody should use
6881 # AS_FOR_TARGET and LD_FOR_TARGET.
6882 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6883 if test x
$with_gcc_major_version_only = xyes
; then
6884 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
6886 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6888 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6889 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6890 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6891 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6892 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6893 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6898 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6899 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6907 # Check whether --with-build-sysroot was given.
6908 if test "${with_build_sysroot+set}" = set; then :
6909 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6910 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6913 SYSROOT_CFLAGS_FOR_TARGET
=
6919 # Check whether --with-debug-prefix-map was given.
6920 if test "${with_debug_prefix_map+set}" = set; then :
6921 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6922 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6923 for debug_map
in $withval; do
6924 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6928 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6933 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6934 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6935 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6936 # We want to ensure that TARGET libraries (which we know are built with
6937 # gcc) are built with "-O2 -g", so include those options when setting
6938 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6939 if test "x$CFLAGS_FOR_TARGET" = x
; then
6940 if test "x${is_cross_compiler}" = xyes
; then
6941 CFLAGS_FOR_TARGET
="-g -O2"
6943 CFLAGS_FOR_TARGET
=$CFLAGS
6946 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6949 *" -g "* |
*" -g3 "*) ;;
6950 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6956 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6957 if test "x${is_cross_compiler}" = xyes
; then
6958 CXXFLAGS_FOR_TARGET
="-g -O2"
6960 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6961 case " $CXXFLAGS " in
6963 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6965 case " $CXXFLAGS " in
6966 *" -g "* |
*" -g3 "*) ;;
6967 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6975 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6976 # the named directory are copied to $(tooldir)/sys-include.
6977 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6978 if test x
${is_cross_compiler} = xno
; then
6979 echo 1>&2 '***' --with-headers is only supported when cross compiling
6982 if test x
"${with_headers}" != xyes
; then
6983 x
=${gcc_cv_tool_prefix}
6984 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6988 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6989 # the name directories are copied to $(tooldir)/lib. Multiple directories
6991 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6992 if test x
${is_cross_compiler} = xno
; then
6993 echo 1>&2 '***' --with-libs is only supported when cross compiling
6996 if test x
"${with_libs}" != xyes
; then
6997 # Copy the libraries in reverse order, so that files in the first named
6998 # library override files in subsequent libraries.
6999 x
=${gcc_cv_tool_prefix}
7000 for l
in ${with_libs}; do
7001 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
7006 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
7008 # This is done by determining whether or not the appropriate directory
7009 # is available, and by checking whether or not specific configurations
7010 # have requested that this magic not happen.
7012 # The command line options always override the explicit settings in
7013 # configure.ac, and the settings in configure.ac override this magic.
7015 # If the default for a toolchain is to use GNU as and ld, and you don't
7016 # want to do that, then you should use the --without-gnu-as and
7017 # --without-gnu-ld options for the configure script. Similarly, if
7018 # the default is to use the included zlib and you don't want to do that,
7019 # you should use the --with-system-zlib option for the configure script.
7021 if test x
${use_gnu_as} = x
&&
7022 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
7024 extra_host_args
="$extra_host_args --with-gnu-as"
7027 if test x
${use_gnu_ld} = x
&&
7028 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
7030 extra_host_args
="$extra_host_args --with-gnu-ld"
7033 if test x
${use_included_zlib} = x
&&
7034 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
7037 with_system_zlib
=yes
7038 extra_host_args
="$extra_host_args --with-system-zlib"
7041 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
7042 # can detect this case.
7044 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
7046 extra_host_args
="$extra_host_args --with-newlib"
7049 # Handle ${copy_dirs}
7050 set fnord
${copy_dirs}
7052 while test $# != 0 ; do
7053 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
7056 echo Copying
$1 to
$2
7058 # Use the install script to create the directory and all required
7059 # parent directories.
7060 if test -d $2 ; then
7064 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
7067 # Copy the directory, assuming we have tar.
7068 # FIXME: Should we use B in the second tar? Not all systems support it.
7069 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
7071 # It is the responsibility of the user to correctly adjust all
7072 # symlinks. If somebody can figure out how to handle them correctly
7073 # here, feel free to add the code.
7080 # Determine a target-dependent exec_prefix that the installed
7081 # gcc will search in. Keep this list sorted by triplet, with
7082 # the *-*-osname triplets last.
7085 i
[34567]86-pc-msdosdjgpp*)
7086 md_exec_prefix
=/dev
/env
/DJDIR
/bin
7091 md_exec_prefix
=/usr
/ccs
/bin
7095 extra_arflags_for_target
=
7096 extra_nmflags_for_target
=
7097 extra_ranlibflags_for_target
=
7098 target_makefile_frag
=/dev
/null
7101 target_makefile_frag
="config/mt-spu"
7103 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
7104 target_makefile_frag
="config/mt-sde"
7106 mipsisa
*-*-elfoabi*)
7107 target_makefile_frag
="config/mt-mips-elfoabi"
7109 mips
*-*-*linux
* | mips
*-*-gnu*)
7110 target_makefile_frag
="config/mt-mips-gnu"
7113 target_makefile_frag
="config/mt-nios2-elf"
7116 target_makefile_frag
="config/mt-android"
7118 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7119 target_makefile_frag
="config/mt-gnu"
7121 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7122 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7123 # commands to handle both 32-bit and 64-bit objects. These flags are
7124 # harmless if we're using GNU nm or ar.
7125 extra_arflags_for_target
=" -X32_64"
7126 extra_nmflags_for_target
=" -B -X32_64"
7130 alphaieee_frag
=/dev
/null
7133 # This just makes sure to use the -mieee option to build target libs.
7134 # This should probably be set individually by each library.
7135 alphaieee_frag
="config/mt-alphaieee"
7139 # If --enable-target-optspace always use -Os instead of -O2 to build
7140 # the target libraries, similarly if it is not specified, use -Os
7141 # on selected platforms.
7142 ospace_frag
=/dev
/null
7143 case "${enable_target_optspace}:${target}" in
7145 ospace_frag
="config/mt-ospace"
7148 ospace_frag
="config/mt-d30v"
7150 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
7151 ospace_frag
="config/mt-ospace"
7156 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7160 # Some systems (e.g., one of the i386-aix systems the gas testers are
7161 # using) don't handle "\$" correctly, so don't use it here.
7162 tooldir
='${exec_prefix}'/${target_noncanonical}
7163 build_tooldir
=${tooldir}
7165 # Create a .gdbinit file which runs the one in srcdir
7166 # and tells GDB to look there for source files.
7168 if test -r ${srcdir}/.gdbinit
; then
7171 *) cat > .
/.gdbinit
<<EOF
7175 source ${srcdir}/.gdbinit
7181 # Make sure that the compiler is able to generate an executable. If it
7182 # can't, we are probably in trouble. We don't care whether we can run the
7183 # executable--we might be using a cross compiler--we only care whether it
7184 # can be created. At this point the main configure script has set CC.
7186 echo "int main () { return 0; }" > conftest.c
7187 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7188 if test $?
= 0 ; then
7189 if test -s conftest ||
test -s conftest.exe
; then
7195 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7196 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7203 # Decide which environment variable is used to find dynamic libraries.
7205 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7206 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7207 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7208 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7211 # On systems where the dynamic library environment variable is PATH,
7212 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7213 # built executables to PATH.
7214 if test "$RPATH_ENVVAR" = PATH
; then
7215 GCC_SHLIB_SUBDIR
=/shlib
7220 # Adjust the toplevel makefile according to whether bootstrap was selected.
7221 case $enable_bootstrap in
7223 bootstrap_suffix
=bootstrap
7224 BUILD_CONFIG
=bootstrap-debug
7227 bootstrap_suffix
=no-bootstrap
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7233 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7236 # Check whether --with-build-config was given.
7237 if test "${with_build_config+set}" = set; then :
7238 withval
=$with_build_config; case $with_build_config in
7239 yes) with_build_config
= ;;
7240 no
) with_build_config
= BUILD_CONFIG
= ;;
7245 if test "x${with_build_config}" != x
; then
7246 BUILD_CONFIG
=$with_build_config
7248 case $BUILD_CONFIG in
7250 if echo "int f (void) { return 0; }" > conftest.c
&&
7251 ${CC} -c conftest.c
&&
7252 mv conftest.o conftest.o.g0
&&
7253 ${CC} -c -g conftest.c
&&
7254 mv conftest.o conftest.o.g
&&
7255 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7260 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7265 $as_echo "$BUILD_CONFIG" >&6; }
7268 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7270 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7271 # Check whether --enable-vtable-verify was given.
7272 if test "${enable_vtable_verify+set}" = set; then :
7273 enableval
=$enable_vtable_verify; case "$enableval" in
7274 yes) enable_vtable_verify
=yes ;;
7275 no
) enable_vtable_verify
=no
;;
7276 *) enable_vtable_verify
=no
;;
7279 enable_vtable_verify
=no
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7283 $as_echo "$enable_vtable_verify" >&6; }
7285 # Record target_configdirs and the configure arguments for target and
7286 # build configuration in Makefile.
7287 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7288 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7289 bootstrap_fixincludes
=no
7291 # If we are building libgomp, bootstrap it.
7292 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7293 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7296 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7297 # or bootstrap-ubsan, bootstrap it.
7298 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7299 case "$BUILD_CONFIG" in
7300 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7301 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7302 bootstrap_fixincludes
=yes
7307 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7308 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7309 test "$enable_vtable_verify" != no
; then
7310 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7313 # Determine whether gdb needs tk/tcl or not.
7314 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7315 # and in that case we want gdb to be built without tk. Ugh!
7316 # In fact I believe gdb is the *only* package directly dependent on tk,
7317 # so we should be able to put the 'maybe's in unconditionally and
7318 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7319 # 100% sure that that's safe though.
7321 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7322 case "$enable_gdbtk" in
7326 GDB_TK
="${gdb_tk}" ;;
7328 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7329 # distro. Eventually someone will fix this and move Insight, nee
7330 # gdbtk to a separate directory.
7331 if test -d ${srcdir}/gdb
/gdbtk
; then
7338 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7339 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7341 # gdb and gdbserver depend on gnulib and gdbsupport, but as nothing
7342 # else does, only include them if one of these is built. The Makefile
7343 # provides the ordering, so it's enough here to add to the list.
7344 case " ${configdirs} " in
7346 configdirs
="${configdirs} gnulib gdbsupport"
7349 configdirs
="${configdirs} gnulib gdbsupport"
7353 # Strip out unwanted targets.
7355 # While at that, we remove Makefiles if we were started for recursive
7356 # configuration, so that the top-level Makefile reconfigures them,
7357 # like we used to do when configure itself was recursive.
7359 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7360 # but now we're fixing up the Makefile ourselves with the additional
7361 # commands passed to AC_CONFIG_FILES. Use separate variables
7362 # extrasub-{build,host,target} not because there is any reason to split
7363 # the substitutions up that way, but only to remain below the limit of
7364 # 99 commands in a script, for HP-UX sed.
7366 # Do not nest @if/@endif or @unless/@endunless pairs, because
7367 # configure will not warn you at all.
7369 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7370 yes:yes:*\ gold\
*:*,c
++,*) ;;
7371 yes:yes:*\ gold\
*:*)
7372 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7377 for module
in ${build_configdirs} ; do
7378 if test -z "${no_recursion}" \
7379 && test -f ${build_subdir}/${module}/Makefile
; then
7380 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7381 rm -f ${build_subdir}/${module}/Makefile
7383 extrasub_build
="$extrasub_build
7384 /^@if build-$module\$/d
7385 /^@endif build-$module\$/d
7386 /^@unless build-$module\$/,/^@endunless build-$module\$/d
7387 /^@if build-$module-$bootstrap_suffix\$/d
7388 /^@endif build-$module-$bootstrap_suffix\$/d
7389 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
7392 for module
in ${configdirs} ; do
7393 if test -z "${no_recursion}"; then
7394 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7395 if test -f ${file}; then
7396 echo 1>&2 "*** removing ${file} to force reconfigure"
7401 case ${module},${bootstrap_fixincludes} in
7402 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7403 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7405 extrasub_host
="$extrasub_host
7407 /^@endif $module\$/d
7408 /^@unless $module\$/,/^@endunless $module\$/d
7409 /^@if $module-$host_bootstrap_suffix\$/d
7410 /^@endif $module-$host_bootstrap_suffix\$/d
7411 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
7414 for module
in ${target_configdirs} ; do
7415 if test -z "${no_recursion}" \
7416 && test -f ${target_subdir}/${module}/Makefile
; then
7417 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7418 rm -f ${target_subdir}/${module}/Makefile
7421 # We only bootstrap target libraries listed in bootstrap_target_libs.
7422 case $bootstrap_target_libs in
7423 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7424 *) target_bootstrap_suffix
=no-bootstrap
;;
7427 extrasub_target
="$extrasub_target
7428 /^@if target-$module\$/d
7429 /^@endif target-$module\$/d
7430 /^@unless target-$module\$/,/^@endunless target-$module\$/d
7431 /^@if target-$module-$target_bootstrap_suffix\$/d
7432 /^@endif target-$module-$target_bootstrap_suffix\$/d
7433 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
7436 # Do the final fixup along with target modules.
7437 extrasub_target
="$extrasub_target
7442 # Create the serialization dependencies. This uses a temporary file.
7444 # Check whether --enable-serial-configure was given.
7445 if test "${enable_serial_configure+set}" = set; then :
7446 enableval
=$enable_serial_configure;
7450 case ${enable_serial_configure} in
7452 enable_serial_build_configure
=yes
7453 enable_serial_host_configure
=yes
7454 enable_serial_target_configure
=yes
7458 # These force 'configure's to be done one at a time, to avoid problems
7459 # with contention over a shared config.cache.
7461 echo '# serdep.tmp' > serdep.tmp
7463 test "x${enable_serial_build_configure}" = xyes
&&
7464 for item
in ${build_configdirs} ; do
7467 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7472 test "x${enable_serial_host_configure}" = xyes
&&
7473 for item
in ${configdirs} ; do
7476 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7481 test "x${enable_serial_target_configure}" = xyes
&&
7482 for item
in ${target_configdirs} ; do
7485 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7489 serialization_dependencies
=serdep.tmp
7492 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7493 # target, nonopt, and variable assignments. These are the ones we
7494 # might not want to pass down to subconfigures. The exception being
7495 # --cache-file=/dev/null, which is used to turn off the use of cache
7496 # files altogether, and which should be passed on to subconfigures.
7497 # Also strip program-prefix, program-suffix, and program-transform-name,
7498 # so that we can pass down a consistent program-transform-name.
7503 eval "set -- $ac_configure_args"
7506 if test X
"$skip_next" = X
"yes"; then
7510 if test X
"$keep_next" = X
"yes"; then
7513 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7515 baseargs
="$baseargs '$ac_arg'"
7516 tbaseargs
="$tbaseargs '$ac_arg'"
7521 # Handle separated arguments. Based on the logic generated by
7524 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7525 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7526 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7527 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7541 --with-* |
--without-*)
7542 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7546 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7549 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7558 mpc | mpfr | gmp | isl
)
7559 # If we're processing --with-$lib, --with-$lib-include or
7560 # --with-$lib-lib, for one of the libs above, and target is
7561 # different from host, don't pass the current argument to any
7562 # target library's configure.
7563 if test x
$is_cross_compiler = xyes
; then
7572 --cache-file=/dev
/null | \
7573 -cache-file=/dev
/null
)
7574 # Handled here to avoid the test to skip args below.
7575 baseargs
="$baseargs '$ac_arg'"
7576 tbaseargs
="$tbaseargs '$ac_arg'"
7577 # Assert: $separate_arg should always be no.
7578 keep_next
=$separate_arg
7594 -program-prefix* | \
7595 -program-suffix* | \
7596 -program-transform-name* )
7597 skip_next
=$separate_arg
7601 # An option. Add it.
7604 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7606 baseargs
="$baseargs '$ac_arg'"
7607 if test X
"$skip_targ" = Xno
; then
7608 tbaseargs
="$tbaseargs '$ac_arg'"
7610 keep_next
=$separate_arg
7613 # Either a variable assignment, or a nonopt (triplet). Don't
7614 # pass it down; let the Makefile handle this.
7619 # Remove the initial space we just introduced and, as these will be
7620 # expanded by make, quote '$'.
7621 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7623 # Add in --program-transform-name, after --program-prefix and
7624 # --program-suffix have been applied to it. Autoconf has already
7625 # doubled dollar signs and backslashes in program_transform_name; we want
7626 # the backslashes un-doubled, and then the entire thing wrapped in single
7627 # quotes, because this will be expanded first by make and then by the shell.
7628 # Also, because we want to override the logic in subdir configure scripts to
7629 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7630 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7631 ${program_transform_name}
7633 gcc_transform_name
=`cat conftestsed.out`
7634 rm -f conftestsed.out
7635 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7636 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7637 if test "$silent" = yes; then
7638 baseargs
="$baseargs --silent"
7639 tbaseargs
="$tbaseargs --silent"
7641 baseargs
="$baseargs --disable-option-checking"
7642 tbaseargs
="$tbaseargs --disable-option-checking"
7644 # Record and document user additions to sub configure arguments.
7649 # For the build-side libraries, we just need to pretend we're native,
7650 # and not use the same cache file. Multilibs are neither needed nor
7651 # desired. We can't even use the same cache file for all build-side
7652 # libraries, as they're compiled differently; some with C, some with
7653 # C++ or with different feature-enabling options.
7654 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7656 # For host modules, accept cache file option, or specification as blank.
7657 case "${cache_file}" in
7659 cache_file_option
="" ;;
7660 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7661 cache_file_option
="--cache-file=${cache_file}" ;;
7663 cache_file_option
="--cache-file=../${cache_file}" ;;
7666 # Host dirs don't like to share a cache file either, horribly enough.
7667 # This seems to be due to autoconf 2.5x stupidity.
7668 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7670 target_configargs
="$target_configargs ${tbaseargs}"
7672 # Passing a --with-cross-host argument lets the target libraries know
7673 # whether they are being built with a cross-compiler or being built
7674 # native. However, it would be better to use other mechanisms to make the
7675 # sorts of decisions they want to make on this basis. Please consider
7676 # this option to be deprecated. FIXME.
7677 if test x
${is_cross_compiler} = xyes
; then
7678 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7681 # Special user-friendly check for native x86_64-linux build, if
7682 # multilib is not explicitly enabled.
7683 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7684 x86_64-
*linux
*:yes:$build:$build:)
7685 # Make sure we have a development environment that handles 32-bit
7687 echo "int main () { return 0; }" > conftest.c
7688 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7689 if test $?
= 0 ; then
7690 if test -s conftest ||
test -s conftest.exe
; then
7695 if test x
${dev64} != xyes
; then
7696 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
7701 # Default to --enable-multilib.
7702 if test x
${enable_multilib} = x
; then
7703 target_configargs
="--enable-multilib ${target_configargs}"
7706 # Pass --with-newlib if appropriate. Note that target_configdirs has
7707 # changed from the earlier setting of with_newlib.
7708 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7709 target_configargs
="--with-newlib ${target_configargs}"
7712 # Different target subdirs use different values of certain variables
7713 # (notably CXX). Worse, multilibs use *lots* of different values.
7714 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7715 # it doesn't automatically accept command-line overrides of them.
7716 # This means it's not safe for target subdirs to share a cache file,
7717 # which is disgusting, but there you have it. Hopefully this can be
7718 # fixed in future. It's still worthwhile to use a cache file for each
7719 # directory. I think.
7721 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7722 # We need to pass --target, as newer autoconf's requires consistency
7723 # for target_alias and gcc doesn't manage it consistently.
7724 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7727 case " $target_configdirs " in
7729 case " $target_configargs " in
7730 *" --with-newlib "*)
7733 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7737 # If we're not building GCC, don't discard standard headers.
7738 if test -d ${srcdir}/gcc
; then
7739 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7741 if test "${build}" != "${host}"; then
7742 # On Canadian crosses, CC_FOR_TARGET will have already been set
7743 # by `configure', so we won't have an opportunity to add -Bgcc/
7744 # to it. This is right: we don't want to search that directory
7745 # for binaries, but we want the header files in there, so add
7747 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7749 # Someone might think of using the pre-installed headers on
7750 # Canadian crosses, in case the installed compiler is not fully
7751 # compatible with the compiler being built. In this case, it
7752 # would be better to flag an error than risking having
7753 # incompatible object files being constructed. We can't
7754 # guarantee that an error will be flagged, but let's hope the
7755 # compiler will do it, when presented with incompatible header
7760 case "${target}-${is_cross_compiler}" in
7761 i
[3456789]86-*-linux*-no)
7762 # Here host == target, so we don't need to build gcc,
7763 # so we don't want to discard standard headers.
7764 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7767 # If we're building newlib, use its generic headers last, but search
7768 # for any libc-related directories first (so make it the last -B
7770 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7772 # If we're building libgloss, find the startup file, simulator library
7773 # and linker script.
7774 case " $target_configdirs " in
7776 # Look for startup file, simulator library and maybe linker script.
7777 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7778 # Look for libnosys.a in case the target needs it.
7779 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7780 # Most targets have the linker script in the source directory.
7781 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7792 x86_64-
*mingw
* |
*-w64-mingw*)
7793 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7794 # however, use a symlink named 'mingw' in ${prefix} .
7795 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7798 # MinGW can't be handled as Cygwin above since it does not use newlib.
7799 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'
7803 # Allow the user to override the flags for
7804 # our build compiler if desired.
7805 if test x
"${build}" = x
"${host}" ; then
7806 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7807 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7808 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7811 # On Canadian crosses, we'll be searching the right directories for
7812 # the previously-installed cross compiler, so don't bother to add
7813 # flags for directories within the install tree of the compiler
7814 # being built; programs in there won't even run.
7815 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7816 # Search for pre-installed headers if nothing else fits.
7817 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7820 if test "x
${use_gnu_ld}" = x &&
7821 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7822 # Arrange for us to find uninstalled linker scripts.
7823 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7826 # Search for other target-specific linker scripts and such.
7829 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7833 # Makefile fragments.
7834 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7836 eval fragval=\$$frag
7837 if test $fragval != /dev/null; then
7838 eval $frag=${srcdir}/$fragval
7846 # Miscellanea: directories, flags, etc.
7855 # Build module lists & subconfigure args.
7859 # Host module lists & subconfigure args.
7864 # Target module lists & subconfigure args.
7886 # Generate default definitions for YACC, M4, LEX and other programs that run
7887 # on the build machine. These are used if the Makefile can't locate these
7888 # programs in objdir.
7889 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7891 for ac_prog in 'bison -y' byacc yacc
7893 # Extract the first word of "$ac_prog", so it can be a program name with args.
7894 set dummy $ac_prog; ac_word=$2
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7896 $as_echo_n "checking
for $ac_word...
" >&6; }
7897 if ${ac_cv_prog_YACC+:} false; then :
7898 $as_echo_n "(cached
) " >&6
7900 if test -n "$YACC"; then
7901 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7907 test -z "$as_dir" && as_dir=.
7908 for ac_exec_ext in '' $ac_executable_extensions; do
7909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7910 ac_cv_prog_YACC="$ac_prog"
7911 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7920 YACC=$ac_cv_prog_YACC
7921 if test -n "$YACC"; then
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7923 $as_echo "$YACC" >&6; }
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7926 $as_echo "no
" >&6; }
7930 test -n "$YACC" && break
7932 test -n "$YACC" || YACC="$MISSING bison
-y"
7934 case " $build_configdirs " in
7935 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7938 for ac_prog in bison
7940 # Extract the first word of "$ac_prog", so it can be a program name with args.
7941 set dummy $ac_prog; ac_word=$2
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7943 $as_echo_n "checking
for $ac_word...
" >&6; }
7944 if ${ac_cv_prog_BISON+:} false; then :
7945 $as_echo_n "(cached
) " >&6
7947 if test -n "$BISON"; then
7948 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7954 test -z "$as_dir" && as_dir=.
7955 for ac_exec_ext in '' $ac_executable_extensions; do
7956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7957 ac_cv_prog_BISON="$ac_prog"
7958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7967 BISON=$ac_cv_prog_BISON
7968 if test -n "$BISON"; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7970 $as_echo "$BISON" >&6; }
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7973 $as_echo "no
" >&6; }
7977 test -n "$BISON" && break
7979 test -n "$BISON" || BISON="$MISSING bison
"
7981 case " $build_configdirs " in
7982 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7985 for ac_prog in gm4 gnum4 m4
7987 # Extract the first word of "$ac_prog", so it can be a program name with args.
7988 set dummy $ac_prog; ac_word=$2
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7990 $as_echo_n "checking
for $ac_word...
" >&6; }
7991 if ${ac_cv_prog_M4+:} false; then :
7992 $as_echo_n "(cached
) " >&6
7994 if test -n "$M4"; then
7995 ac_cv_prog_M4="$M4" # Let the user override the test.
7997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8001 test -z "$as_dir" && as_dir=.
8002 for ac_exec_ext in '' $ac_executable_extensions; do
8003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8004 ac_cv_prog_M4="$ac_prog"
8005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8015 if test -n "$M4"; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
8017 $as_echo "$M4" >&6; }
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8020 $as_echo "no
" >&6; }
8024 test -n "$M4" && break
8026 test -n "$M4" || M4="$MISSING m4"
8028 case " $build_configdirs " in
8029 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
8032 for ac_prog in flex lex
8034 # Extract the first word of "$ac_prog", so it can be a program name with args.
8035 set dummy $ac_prog; ac_word=$2
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8037 $as_echo_n "checking
for $ac_word...
" >&6; }
8038 if ${ac_cv_prog_LEX+:} false; then :
8039 $as_echo_n "(cached
) " >&6
8041 if test -n "$LEX"; then
8042 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8048 test -z "$as_dir" && as_dir=.
8049 for ac_exec_ext in '' $ac_executable_extensions; do
8050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8051 ac_cv_prog_LEX="$ac_prog"
8052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8062 if test -n "$LEX"; then
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
8064 $as_echo "$LEX" >&6; }
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8067 $as_echo "no
" >&6; }
8071 test -n "$LEX" && break
8073 test -n "$LEX" || LEX="$MISSING flex
"
8075 case " $build_configdirs " in
8076 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8077 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
8082 # Extract the first word of "$ac_prog", so it can be a program name with args.
8083 set dummy $ac_prog; ac_word=$2
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8085 $as_echo_n "checking
for $ac_word...
" >&6; }
8086 if ${ac_cv_prog_FLEX+:} false; then :
8087 $as_echo_n "(cached
) " >&6
8089 if test -n "$FLEX"; then
8090 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
8092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8096 test -z "$as_dir" && as_dir=.
8097 for ac_exec_ext in '' $ac_executable_extensions; do
8098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8099 ac_cv_prog_FLEX="$ac_prog"
8100 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8109 FLEX=$ac_cv_prog_FLEX
8110 if test -n "$FLEX"; then
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
8112 $as_echo "$FLEX" >&6; }
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8115 $as_echo "no
" >&6; }
8119 test -n "$FLEX" && break
8121 test -n "$FLEX" || FLEX="$MISSING flex
"
8123 case " $build_configdirs " in
8124 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8127 for ac_prog in makeinfo
8129 # Extract the first word of "$ac_prog", so it can be a program name with args.
8130 set dummy $ac_prog; ac_word=$2
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8132 $as_echo_n "checking
for $ac_word...
" >&6; }
8133 if ${ac_cv_prog_MAKEINFO+:} false; then :
8134 $as_echo_n "(cached
) " >&6
8136 if test -n "$MAKEINFO"; then
8137 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8143 test -z "$as_dir" && as_dir=.
8144 for ac_exec_ext in '' $ac_executable_extensions; do
8145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8146 ac_cv_prog_MAKEINFO="$ac_prog"
8147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8156 MAKEINFO=$ac_cv_prog_MAKEINFO
8157 if test -n "$MAKEINFO"; then
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8159 $as_echo "$MAKEINFO" >&6; }
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8162 $as_echo "no
" >&6; }
8166 test -n "$MAKEINFO" && break
8168 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8170 case " $build_configdirs " in
8171 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8174 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8175 # higher, else we use the "missing
" dummy.
8176 if ${MAKEINFO} --version \
8177 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8180 MAKEINFO="$MISSING makeinfo
"
8186 # FIXME: expect and dejagnu may become build tools?
8188 for ac_prog in expect
8190 # Extract the first word of "$ac_prog", so it can be a program name with args.
8191 set dummy $ac_prog; ac_word=$2
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8193 $as_echo_n "checking
for $ac_word...
" >&6; }
8194 if ${ac_cv_prog_EXPECT+:} false; then :
8195 $as_echo_n "(cached
) " >&6
8197 if test -n "$EXPECT"; then
8198 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8204 test -z "$as_dir" && as_dir=.
8205 for ac_exec_ext in '' $ac_executable_extensions; do
8206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8207 ac_cv_prog_EXPECT="$ac_prog"
8208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8217 EXPECT=$ac_cv_prog_EXPECT
8218 if test -n "$EXPECT"; then
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8220 $as_echo "$EXPECT" >&6; }
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8223 $as_echo "no
" >&6; }
8227 test -n "$EXPECT" && break
8229 test -n "$EXPECT" || EXPECT="expect
"
8231 case " $configdirs " in
8233 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8237 for ac_prog in runtest
8239 # Extract the first word of "$ac_prog", so it can be a program name with args.
8240 set dummy $ac_prog; ac_word=$2
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8242 $as_echo_n "checking
for $ac_word...
" >&6; }
8243 if ${ac_cv_prog_RUNTEST+:} false; then :
8244 $as_echo_n "(cached
) " >&6
8246 if test -n "$RUNTEST"; then
8247 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8253 test -z "$as_dir" && as_dir=.
8254 for ac_exec_ext in '' $ac_executable_extensions; do
8255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8256 ac_cv_prog_RUNTEST="$ac_prog"
8257 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8266 RUNTEST=$ac_cv_prog_RUNTEST
8267 if test -n "$RUNTEST"; then
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8269 $as_echo "$RUNTEST" >&6; }
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8272 $as_echo "no
" >&6; }
8276 test -n "$RUNTEST" && break
8278 test -n "$RUNTEST" || RUNTEST="runtest
"
8280 case " $configdirs " in
8282 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8289 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8290 ncn_target_tool_prefix=
8291 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8295 if test -n "$AR"; then
8297 elif test -n "$ac_cv_prog_AR"; then
8301 if test -n "$ac_cv_prog_AR"; then
8302 for ncn_progname in ar; do
8303 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8304 set dummy ${ncn_progname}; ac_word=$2
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8306 $as_echo_n "checking
for $ac_word...
" >&6; }
8307 if ${ac_cv_prog_AR+:} false; then :
8308 $as_echo_n "(cached
) " >&6
8310 if test -n "$AR"; then
8311 ac_cv_prog_AR="$AR" # Let the user override the test.
8313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8317 test -z "$as_dir" && as_dir=.
8318 for ac_exec_ext in '' $ac_executable_extensions; do
8319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8320 ac_cv_prog_AR="${ncn_progname}"
8321 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8331 if test -n "$AR"; then
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8333 $as_echo "$AR" >&6; }
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8336 $as_echo "no
" >&6; }
8343 for ncn_progname in ar; do
8344 if test -n "$ncn_tool_prefix"; then
8345 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8346 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8348 $as_echo_n "checking
for $ac_word...
" >&6; }
8349 if ${ac_cv_prog_AR+:} false; then :
8350 $as_echo_n "(cached
) " >&6
8352 if test -n "$AR"; then
8353 ac_cv_prog_AR="$AR" # Let the user override the test.
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8359 test -z "$as_dir" && as_dir=.
8360 for ac_exec_ext in '' $ac_executable_extensions; do
8361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8373 if test -n "$AR"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8375 $as_echo "$AR" >&6; }
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8378 $as_echo "no
" >&6; }
8383 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8384 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8385 set dummy ${ncn_progname}; ac_word=$2
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8387 $as_echo_n "checking
for $ac_word...
" >&6; }
8388 if ${ac_cv_prog_AR+:} false; then :
8389 $as_echo_n "(cached
) " >&6
8391 if test -n "$AR"; then
8392 ac_cv_prog_AR="$AR" # Let the user override the test.
8394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8398 test -z "$as_dir" && as_dir=.
8399 for ac_exec_ext in '' $ac_executable_extensions; do
8400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8401 ac_cv_prog_AR="${ncn_progname}"
8402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8412 if test -n "$AR"; then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8414 $as_echo "$AR" >&6; }
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8417 $as_echo "no
" >&6; }
8422 test -n "$ac_cv_prog_AR" && break
8425 if test -z "$ac_cv_prog_AR" ; then
8427 if test $build = $host ; then
8430 AR="${ncn_tool_prefix}$2"
8436 if test -n "$AS"; then
8438 elif test -n "$ac_cv_prog_AS"; then
8442 if test -n "$ac_cv_prog_AS"; then
8443 for ncn_progname in as; do
8444 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8445 set dummy ${ncn_progname}; ac_word=$2
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8447 $as_echo_n "checking
for $ac_word...
" >&6; }
8448 if ${ac_cv_prog_AS+:} false; then :
8449 $as_echo_n "(cached
) " >&6
8451 if test -n "$AS"; then
8452 ac_cv_prog_AS="$AS" # Let the user override the test.
8454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8458 test -z "$as_dir" && as_dir=.
8459 for ac_exec_ext in '' $ac_executable_extensions; do
8460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8461 ac_cv_prog_AS="${ncn_progname}"
8462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8472 if test -n "$AS"; then
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8474 $as_echo "$AS" >&6; }
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8477 $as_echo "no
" >&6; }
8484 for ncn_progname in as; do
8485 if test -n "$ncn_tool_prefix"; then
8486 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8487 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8489 $as_echo_n "checking
for $ac_word...
" >&6; }
8490 if ${ac_cv_prog_AS+:} false; then :
8491 $as_echo_n "(cached
) " >&6
8493 if test -n "$AS"; then
8494 ac_cv_prog_AS="$AS" # Let the user override the test.
8496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8500 test -z "$as_dir" && as_dir=.
8501 for ac_exec_ext in '' $ac_executable_extensions; do
8502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8503 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8514 if test -n "$AS"; then
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8516 $as_echo "$AS" >&6; }
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8519 $as_echo "no
" >&6; }
8524 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8525 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8526 set dummy ${ncn_progname}; ac_word=$2
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8528 $as_echo_n "checking
for $ac_word...
" >&6; }
8529 if ${ac_cv_prog_AS+:} false; then :
8530 $as_echo_n "(cached
) " >&6
8532 if test -n "$AS"; then
8533 ac_cv_prog_AS="$AS" # Let the user override the test.
8535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8539 test -z "$as_dir" && as_dir=.
8540 for ac_exec_ext in '' $ac_executable_extensions; do
8541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8542 ac_cv_prog_AS="${ncn_progname}"
8543 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8553 if test -n "$AS"; then
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8555 $as_echo "$AS" >&6; }
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8558 $as_echo "no
" >&6; }
8563 test -n "$ac_cv_prog_AS" && break
8566 if test -z "$ac_cv_prog_AS" ; then
8568 if test $build = $host ; then
8571 AS="${ncn_tool_prefix}$2"
8577 if test -n "$DLLTOOL"; then
8578 ac_cv_prog_DLLTOOL=$DLLTOOL
8579 elif test -n "$ac_cv_prog_DLLTOOL"; then
8580 DLLTOOL=$ac_cv_prog_DLLTOOL
8583 if test -n "$ac_cv_prog_DLLTOOL"; then
8584 for ncn_progname in dlltool; do
8585 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8586 set dummy ${ncn_progname}; ac_word=$2
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8588 $as_echo_n "checking
for $ac_word...
" >&6; }
8589 if ${ac_cv_prog_DLLTOOL+:} false; then :
8590 $as_echo_n "(cached
) " >&6
8592 if test -n "$DLLTOOL"; then
8593 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8599 test -z "$as_dir" && as_dir=.
8600 for ac_exec_ext in '' $ac_executable_extensions; do
8601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8602 ac_cv_prog_DLLTOOL="${ncn_progname}"
8603 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8612 DLLTOOL=$ac_cv_prog_DLLTOOL
8613 if test -n "$DLLTOOL"; then
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8615 $as_echo "$DLLTOOL" >&6; }
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8618 $as_echo "no
" >&6; }
8625 for ncn_progname in dlltool; do
8626 if test -n "$ncn_tool_prefix"; then
8627 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8628 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8630 $as_echo_n "checking
for $ac_word...
" >&6; }
8631 if ${ac_cv_prog_DLLTOOL+:} false; then :
8632 $as_echo_n "(cached
) " >&6
8634 if test -n "$DLLTOOL"; then
8635 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8641 test -z "$as_dir" && as_dir=.
8642 for ac_exec_ext in '' $ac_executable_extensions; do
8643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8644 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8654 DLLTOOL=$ac_cv_prog_DLLTOOL
8655 if test -n "$DLLTOOL"; then
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8657 $as_echo "$DLLTOOL" >&6; }
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8660 $as_echo "no
" >&6; }
8665 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8666 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8667 set dummy ${ncn_progname}; ac_word=$2
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8669 $as_echo_n "checking
for $ac_word...
" >&6; }
8670 if ${ac_cv_prog_DLLTOOL+:} false; then :
8671 $as_echo_n "(cached
) " >&6
8673 if test -n "$DLLTOOL"; then
8674 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8680 test -z "$as_dir" && as_dir=.
8681 for ac_exec_ext in '' $ac_executable_extensions; do
8682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8683 ac_cv_prog_DLLTOOL="${ncn_progname}"
8684 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8693 DLLTOOL=$ac_cv_prog_DLLTOOL
8694 if test -n "$DLLTOOL"; then
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8696 $as_echo "$DLLTOOL" >&6; }
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8699 $as_echo "no
" >&6; }
8704 test -n "$ac_cv_prog_DLLTOOL" && break
8707 if test -z "$ac_cv_prog_DLLTOOL" ; then
8709 if test $build = $host ; then
8712 DLLTOOL="${ncn_tool_prefix}$2"
8718 if test -n "$LD"; then
8720 elif test -n "$ac_cv_prog_LD"; then
8724 if test -n "$ac_cv_prog_LD"; then
8725 for ncn_progname in ld; do
8726 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8727 set dummy ${ncn_progname}; ac_word=$2
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8729 $as_echo_n "checking
for $ac_word...
" >&6; }
8730 if ${ac_cv_prog_LD+:} false; then :
8731 $as_echo_n "(cached
) " >&6
8733 if test -n "$LD"; then
8734 ac_cv_prog_LD="$LD" # Let the user override the test.
8736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8740 test -z "$as_dir" && as_dir=.
8741 for ac_exec_ext in '' $ac_executable_extensions; do
8742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8743 ac_cv_prog_LD="${ncn_progname}"
8744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8754 if test -n "$LD"; then
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8756 $as_echo "$LD" >&6; }
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8759 $as_echo "no
" >&6; }
8766 for ncn_progname in ld; do
8767 if test -n "$ncn_tool_prefix"; then
8768 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8769 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8771 $as_echo_n "checking
for $ac_word...
" >&6; }
8772 if ${ac_cv_prog_LD+:} false; then :
8773 $as_echo_n "(cached
) " >&6
8775 if test -n "$LD"; then
8776 ac_cv_prog_LD="$LD" # Let the user override the test.
8778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8782 test -z "$as_dir" && as_dir=.
8783 for ac_exec_ext in '' $ac_executable_extensions; do
8784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8785 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8786 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8796 if test -n "$LD"; then
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8798 $as_echo "$LD" >&6; }
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8801 $as_echo "no
" >&6; }
8806 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8807 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8808 set dummy ${ncn_progname}; ac_word=$2
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8810 $as_echo_n "checking
for $ac_word...
" >&6; }
8811 if ${ac_cv_prog_LD+:} false; then :
8812 $as_echo_n "(cached
) " >&6
8814 if test -n "$LD"; then
8815 ac_cv_prog_LD="$LD" # Let the user override the test.
8817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8821 test -z "$as_dir" && as_dir=.
8822 for ac_exec_ext in '' $ac_executable_extensions; do
8823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8824 ac_cv_prog_LD="${ncn_progname}"
8825 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8835 if test -n "$LD"; then
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8837 $as_echo "$LD" >&6; }
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8840 $as_echo "no
" >&6; }
8845 test -n "$ac_cv_prog_LD" && break
8848 if test -z "$ac_cv_prog_LD" ; then
8850 if test $build = $host ; then
8853 LD="${ncn_tool_prefix}$2"
8859 if test -n "$LIPO"; then
8860 ac_cv_prog_LIPO=$LIPO
8861 elif test -n "$ac_cv_prog_LIPO"; then
8862 LIPO=$ac_cv_prog_LIPO
8865 if test -n "$ac_cv_prog_LIPO"; then
8866 for ncn_progname in lipo; do
8867 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8868 set dummy ${ncn_progname}; ac_word=$2
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8870 $as_echo_n "checking
for $ac_word...
" >&6; }
8871 if ${ac_cv_prog_LIPO+:} false; then :
8872 $as_echo_n "(cached
) " >&6
8874 if test -n "$LIPO"; then
8875 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8881 test -z "$as_dir" && as_dir=.
8882 for ac_exec_ext in '' $ac_executable_extensions; do
8883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8884 ac_cv_prog_LIPO="${ncn_progname}"
8885 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8894 LIPO=$ac_cv_prog_LIPO
8895 if test -n "$LIPO"; then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8897 $as_echo "$LIPO" >&6; }
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8900 $as_echo "no
" >&6; }
8907 for ncn_progname in lipo; do
8908 if test -n "$ncn_tool_prefix"; then
8909 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8910 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8912 $as_echo_n "checking
for $ac_word...
" >&6; }
8913 if ${ac_cv_prog_LIPO+:} false; then :
8914 $as_echo_n "(cached
) " >&6
8916 if test -n "$LIPO"; then
8917 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8923 test -z "$as_dir" && as_dir=.
8924 for ac_exec_ext in '' $ac_executable_extensions; do
8925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8926 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8927 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8936 LIPO=$ac_cv_prog_LIPO
8937 if test -n "$LIPO"; then
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8939 $as_echo "$LIPO" >&6; }
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8942 $as_echo "no
" >&6; }
8947 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8948 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8949 set dummy ${ncn_progname}; ac_word=$2
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8951 $as_echo_n "checking
for $ac_word...
" >&6; }
8952 if ${ac_cv_prog_LIPO+:} false; then :
8953 $as_echo_n "(cached
) " >&6
8955 if test -n "$LIPO"; then
8956 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8962 test -z "$as_dir" && as_dir=.
8963 for ac_exec_ext in '' $ac_executable_extensions; do
8964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8965 ac_cv_prog_LIPO="${ncn_progname}"
8966 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8975 LIPO=$ac_cv_prog_LIPO
8976 if test -n "$LIPO"; then
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8978 $as_echo "$LIPO" >&6; }
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8981 $as_echo "no
" >&6; }
8986 test -n "$ac_cv_prog_LIPO" && break
8989 if test -z "$ac_cv_prog_LIPO" ; then
8991 if test $build = $host ; then
8994 LIPO="${ncn_tool_prefix}$2"
9000 if test -n "$NM"; then
9002 elif test -n "$ac_cv_prog_NM"; then
9006 if test -n "$ac_cv_prog_NM"; then
9007 for ncn_progname in nm; do
9008 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9009 set dummy ${ncn_progname}; ac_word=$2
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9011 $as_echo_n "checking
for $ac_word...
" >&6; }
9012 if ${ac_cv_prog_NM+:} false; then :
9013 $as_echo_n "(cached
) " >&6
9015 if test -n "$NM"; then
9016 ac_cv_prog_NM="$NM" # Let the user override the test.
9018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9022 test -z "$as_dir" && as_dir=.
9023 for ac_exec_ext in '' $ac_executable_extensions; do
9024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9025 ac_cv_prog_NM="${ncn_progname}"
9026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9036 if test -n "$NM"; then
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9038 $as_echo "$NM" >&6; }
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9041 $as_echo "no
" >&6; }
9048 for ncn_progname in nm; do
9049 if test -n "$ncn_tool_prefix"; then
9050 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9051 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9053 $as_echo_n "checking
for $ac_word...
" >&6; }
9054 if ${ac_cv_prog_NM+:} false; then :
9055 $as_echo_n "(cached
) " >&6
9057 if test -n "$NM"; then
9058 ac_cv_prog_NM="$NM" # Let the user override the test.
9060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9064 test -z "$as_dir" && as_dir=.
9065 for ac_exec_ext in '' $ac_executable_extensions; do
9066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9067 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
9068 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9078 if test -n "$NM"; then
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9080 $as_echo "$NM" >&6; }
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9083 $as_echo "no
" >&6; }
9088 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
9089 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9090 set dummy ${ncn_progname}; ac_word=$2
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9092 $as_echo_n "checking
for $ac_word...
" >&6; }
9093 if ${ac_cv_prog_NM+:} false; then :
9094 $as_echo_n "(cached
) " >&6
9096 if test -n "$NM"; then
9097 ac_cv_prog_NM="$NM" # Let the user override the test.
9099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9103 test -z "$as_dir" && as_dir=.
9104 for ac_exec_ext in '' $ac_executable_extensions; do
9105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9106 ac_cv_prog_NM="${ncn_progname}"
9107 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9117 if test -n "$NM"; then
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9119 $as_echo "$NM" >&6; }
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9122 $as_echo "no
" >&6; }
9127 test -n "$ac_cv_prog_NM" && break
9130 if test -z "$ac_cv_prog_NM" ; then
9132 if test $build = $host ; then
9135 NM="${ncn_tool_prefix}$2"
9141 if test -n "$RANLIB"; then
9142 ac_cv_prog_RANLIB=$RANLIB
9143 elif test -n "$ac_cv_prog_RANLIB"; then
9144 RANLIB=$ac_cv_prog_RANLIB
9147 if test -n "$ac_cv_prog_RANLIB"; then
9148 for ncn_progname in ranlib; do
9149 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9150 set dummy ${ncn_progname}; ac_word=$2
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9152 $as_echo_n "checking
for $ac_word...
" >&6; }
9153 if ${ac_cv_prog_RANLIB+:} false; then :
9154 $as_echo_n "(cached
) " >&6
9156 if test -n "$RANLIB"; then
9157 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9163 test -z "$as_dir" && as_dir=.
9164 for ac_exec_ext in '' $ac_executable_extensions; do
9165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9166 ac_cv_prog_RANLIB="${ncn_progname}"
9167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9176 RANLIB=$ac_cv_prog_RANLIB
9177 if test -n "$RANLIB"; then
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9179 $as_echo "$RANLIB" >&6; }
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9182 $as_echo "no
" >&6; }
9189 for ncn_progname in ranlib; do
9190 if test -n "$ncn_tool_prefix"; then
9191 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9192 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9194 $as_echo_n "checking
for $ac_word...
" >&6; }
9195 if ${ac_cv_prog_RANLIB+:} false; then :
9196 $as_echo_n "(cached
) " >&6
9198 if test -n "$RANLIB"; then
9199 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9205 test -z "$as_dir" && as_dir=.
9206 for ac_exec_ext in '' $ac_executable_extensions; do
9207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9208 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9209 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9218 RANLIB=$ac_cv_prog_RANLIB
9219 if test -n "$RANLIB"; then
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9221 $as_echo "$RANLIB" >&6; }
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9224 $as_echo "no
" >&6; }
9229 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9230 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9231 set dummy ${ncn_progname}; ac_word=$2
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9233 $as_echo_n "checking
for $ac_word...
" >&6; }
9234 if ${ac_cv_prog_RANLIB+:} false; then :
9235 $as_echo_n "(cached
) " >&6
9237 if test -n "$RANLIB"; then
9238 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9244 test -z "$as_dir" && as_dir=.
9245 for ac_exec_ext in '' $ac_executable_extensions; do
9246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9247 ac_cv_prog_RANLIB="${ncn_progname}"
9248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9257 RANLIB=$ac_cv_prog_RANLIB
9258 if test -n "$RANLIB"; then
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9260 $as_echo "$RANLIB" >&6; }
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9263 $as_echo "no
" >&6; }
9268 test -n "$ac_cv_prog_RANLIB" && break
9271 if test -z "$ac_cv_prog_RANLIB" ; then
9277 if test -n "$STRIP"; then
9278 ac_cv_prog_STRIP=$STRIP
9279 elif test -n "$ac_cv_prog_STRIP"; then
9280 STRIP=$ac_cv_prog_STRIP
9283 if test -n "$ac_cv_prog_STRIP"; then
9284 for ncn_progname in strip; do
9285 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9286 set dummy ${ncn_progname}; ac_word=$2
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9288 $as_echo_n "checking
for $ac_word...
" >&6; }
9289 if ${ac_cv_prog_STRIP+:} false; then :
9290 $as_echo_n "(cached
) " >&6
9292 if test -n "$STRIP"; then
9293 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9299 test -z "$as_dir" && as_dir=.
9300 for ac_exec_ext in '' $ac_executable_extensions; do
9301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9302 ac_cv_prog_STRIP="${ncn_progname}"
9303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9312 STRIP=$ac_cv_prog_STRIP
9313 if test -n "$STRIP"; then
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9315 $as_echo "$STRIP" >&6; }
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9318 $as_echo "no
" >&6; }
9325 for ncn_progname in strip; do
9326 if test -n "$ncn_tool_prefix"; then
9327 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9328 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9330 $as_echo_n "checking
for $ac_word...
" >&6; }
9331 if ${ac_cv_prog_STRIP+:} false; then :
9332 $as_echo_n "(cached
) " >&6
9334 if test -n "$STRIP"; then
9335 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9341 test -z "$as_dir" && as_dir=.
9342 for ac_exec_ext in '' $ac_executable_extensions; do
9343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9344 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9354 STRIP=$ac_cv_prog_STRIP
9355 if test -n "$STRIP"; then
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9357 $as_echo "$STRIP" >&6; }
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9360 $as_echo "no
" >&6; }
9365 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9366 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9367 set dummy ${ncn_progname}; ac_word=$2
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9369 $as_echo_n "checking
for $ac_word...
" >&6; }
9370 if ${ac_cv_prog_STRIP+:} false; then :
9371 $as_echo_n "(cached
) " >&6
9373 if test -n "$STRIP"; then
9374 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9380 test -z "$as_dir" && as_dir=.
9381 for ac_exec_ext in '' $ac_executable_extensions; do
9382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9383 ac_cv_prog_STRIP="${ncn_progname}"
9384 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9393 STRIP=$ac_cv_prog_STRIP
9394 if test -n "$STRIP"; then
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9396 $as_echo "$STRIP" >&6; }
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9399 $as_echo "no
" >&6; }
9404 test -n "$ac_cv_prog_STRIP" && break
9407 if test -z "$ac_cv_prog_STRIP" ; then
9413 if test -n "$WINDRES"; then
9414 ac_cv_prog_WINDRES=$WINDRES
9415 elif test -n "$ac_cv_prog_WINDRES"; then
9416 WINDRES=$ac_cv_prog_WINDRES
9419 if test -n "$ac_cv_prog_WINDRES"; then
9420 for ncn_progname in windres; do
9421 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9422 set dummy ${ncn_progname}; ac_word=$2
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9424 $as_echo_n "checking
for $ac_word...
" >&6; }
9425 if ${ac_cv_prog_WINDRES+:} false; then :
9426 $as_echo_n "(cached
) " >&6
9428 if test -n "$WINDRES"; then
9429 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9435 test -z "$as_dir" && as_dir=.
9436 for ac_exec_ext in '' $ac_executable_extensions; do
9437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9438 ac_cv_prog_WINDRES="${ncn_progname}"
9439 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9448 WINDRES=$ac_cv_prog_WINDRES
9449 if test -n "$WINDRES"; then
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9451 $as_echo "$WINDRES" >&6; }
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9454 $as_echo "no
" >&6; }
9461 for ncn_progname in windres; do
9462 if test -n "$ncn_tool_prefix"; then
9463 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9464 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9466 $as_echo_n "checking
for $ac_word...
" >&6; }
9467 if ${ac_cv_prog_WINDRES+:} false; then :
9468 $as_echo_n "(cached
) " >&6
9470 if test -n "$WINDRES"; then
9471 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9477 test -z "$as_dir" && as_dir=.
9478 for ac_exec_ext in '' $ac_executable_extensions; do
9479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9480 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9481 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9490 WINDRES=$ac_cv_prog_WINDRES
9491 if test -n "$WINDRES"; then
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9493 $as_echo "$WINDRES" >&6; }
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9496 $as_echo "no
" >&6; }
9501 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9502 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9503 set dummy ${ncn_progname}; ac_word=$2
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9505 $as_echo_n "checking
for $ac_word...
" >&6; }
9506 if ${ac_cv_prog_WINDRES+:} false; then :
9507 $as_echo_n "(cached
) " >&6
9509 if test -n "$WINDRES"; then
9510 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9516 test -z "$as_dir" && as_dir=.
9517 for ac_exec_ext in '' $ac_executable_extensions; do
9518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9519 ac_cv_prog_WINDRES="${ncn_progname}"
9520 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9529 WINDRES=$ac_cv_prog_WINDRES
9530 if test -n "$WINDRES"; then
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9532 $as_echo "$WINDRES" >&6; }
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9535 $as_echo "no
" >&6; }
9540 test -n "$ac_cv_prog_WINDRES" && break
9543 if test -z "$ac_cv_prog_WINDRES" ; then
9545 if test $build = $host ; then
9548 WINDRES="${ncn_tool_prefix}$2"
9554 if test -n "$WINDMC"; then
9555 ac_cv_prog_WINDMC=$WINDMC
9556 elif test -n "$ac_cv_prog_WINDMC"; then
9557 WINDMC=$ac_cv_prog_WINDMC
9560 if test -n "$ac_cv_prog_WINDMC"; then
9561 for ncn_progname in windmc; do
9562 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9563 set dummy ${ncn_progname}; ac_word=$2
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9565 $as_echo_n "checking
for $ac_word...
" >&6; }
9566 if ${ac_cv_prog_WINDMC+:} false; then :
9567 $as_echo_n "(cached
) " >&6
9569 if test -n "$WINDMC"; then
9570 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9576 test -z "$as_dir" && as_dir=.
9577 for ac_exec_ext in '' $ac_executable_extensions; do
9578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9579 ac_cv_prog_WINDMC="${ncn_progname}"
9580 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9589 WINDMC=$ac_cv_prog_WINDMC
9590 if test -n "$WINDMC"; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9592 $as_echo "$WINDMC" >&6; }
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9595 $as_echo "no
" >&6; }
9602 for ncn_progname in windmc; do
9603 if test -n "$ncn_tool_prefix"; then
9604 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9605 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9607 $as_echo_n "checking
for $ac_word...
" >&6; }
9608 if ${ac_cv_prog_WINDMC+:} false; then :
9609 $as_echo_n "(cached
) " >&6
9611 if test -n "$WINDMC"; then
9612 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9618 test -z "$as_dir" && as_dir=.
9619 for ac_exec_ext in '' $ac_executable_extensions; do
9620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9621 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9622 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9631 WINDMC=$ac_cv_prog_WINDMC
9632 if test -n "$WINDMC"; then
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9634 $as_echo "$WINDMC" >&6; }
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9637 $as_echo "no
" >&6; }
9642 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9643 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9644 set dummy ${ncn_progname}; ac_word=$2
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9646 $as_echo_n "checking
for $ac_word...
" >&6; }
9647 if ${ac_cv_prog_WINDMC+:} false; then :
9648 $as_echo_n "(cached
) " >&6
9650 if test -n "$WINDMC"; then
9651 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9657 test -z "$as_dir" && as_dir=.
9658 for ac_exec_ext in '' $ac_executable_extensions; do
9659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9660 ac_cv_prog_WINDMC="${ncn_progname}"
9661 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9670 WINDMC=$ac_cv_prog_WINDMC
9671 if test -n "$WINDMC"; then
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9673 $as_echo "$WINDMC" >&6; }
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9676 $as_echo "no
" >&6; }
9681 test -n "$ac_cv_prog_WINDMC" && break
9684 if test -z "$ac_cv_prog_WINDMC" ; then
9686 if test $build = $host ; then
9689 WINDMC="${ncn_tool_prefix}$2"
9695 if test -n "$OBJCOPY"; then
9696 ac_cv_prog_OBJCOPY=$OBJCOPY
9697 elif test -n "$ac_cv_prog_OBJCOPY"; then
9698 OBJCOPY=$ac_cv_prog_OBJCOPY
9701 if test -n "$ac_cv_prog_OBJCOPY"; then
9702 for ncn_progname in objcopy; do
9703 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9704 set dummy ${ncn_progname}; ac_word=$2
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9706 $as_echo_n "checking
for $ac_word...
" >&6; }
9707 if ${ac_cv_prog_OBJCOPY+:} false; then :
9708 $as_echo_n "(cached
) " >&6
9710 if test -n "$OBJCOPY"; then
9711 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9717 test -z "$as_dir" && as_dir=.
9718 for ac_exec_ext in '' $ac_executable_extensions; do
9719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9720 ac_cv_prog_OBJCOPY="${ncn_progname}"
9721 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9730 OBJCOPY=$ac_cv_prog_OBJCOPY
9731 if test -n "$OBJCOPY"; then
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9733 $as_echo "$OBJCOPY" >&6; }
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9736 $as_echo "no
" >&6; }
9743 for ncn_progname in objcopy; do
9744 if test -n "$ncn_tool_prefix"; then
9745 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9746 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9748 $as_echo_n "checking
for $ac_word...
" >&6; }
9749 if ${ac_cv_prog_OBJCOPY+:} false; then :
9750 $as_echo_n "(cached
) " >&6
9752 if test -n "$OBJCOPY"; then
9753 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9759 test -z "$as_dir" && as_dir=.
9760 for ac_exec_ext in '' $ac_executable_extensions; do
9761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9762 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9763 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9772 OBJCOPY=$ac_cv_prog_OBJCOPY
9773 if test -n "$OBJCOPY"; then
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9775 $as_echo "$OBJCOPY" >&6; }
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9778 $as_echo "no
" >&6; }
9783 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9784 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9785 set dummy ${ncn_progname}; ac_word=$2
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9787 $as_echo_n "checking
for $ac_word...
" >&6; }
9788 if ${ac_cv_prog_OBJCOPY+:} false; then :
9789 $as_echo_n "(cached
) " >&6
9791 if test -n "$OBJCOPY"; then
9792 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9798 test -z "$as_dir" && as_dir=.
9799 for ac_exec_ext in '' $ac_executable_extensions; do
9800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9801 ac_cv_prog_OBJCOPY="${ncn_progname}"
9802 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9811 OBJCOPY=$ac_cv_prog_OBJCOPY
9812 if test -n "$OBJCOPY"; then
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9814 $as_echo "$OBJCOPY" >&6; }
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9817 $as_echo "no
" >&6; }
9822 test -n "$ac_cv_prog_OBJCOPY" && break
9825 if test -z "$ac_cv_prog_OBJCOPY" ; then
9827 if test $build = $host ; then
9830 OBJCOPY="${ncn_tool_prefix}$2"
9836 if test -n "$OBJDUMP"; then
9837 ac_cv_prog_OBJDUMP=$OBJDUMP
9838 elif test -n "$ac_cv_prog_OBJDUMP"; then
9839 OBJDUMP=$ac_cv_prog_OBJDUMP
9842 if test -n "$ac_cv_prog_OBJDUMP"; then
9843 for ncn_progname in objdump; do
9844 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9845 set dummy ${ncn_progname}; ac_word=$2
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9847 $as_echo_n "checking
for $ac_word...
" >&6; }
9848 if ${ac_cv_prog_OBJDUMP+:} false; then :
9849 $as_echo_n "(cached
) " >&6
9851 if test -n "$OBJDUMP"; then
9852 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9858 test -z "$as_dir" && as_dir=.
9859 for ac_exec_ext in '' $ac_executable_extensions; do
9860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9861 ac_cv_prog_OBJDUMP="${ncn_progname}"
9862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9871 OBJDUMP=$ac_cv_prog_OBJDUMP
9872 if test -n "$OBJDUMP"; then
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9874 $as_echo "$OBJDUMP" >&6; }
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9877 $as_echo "no
" >&6; }
9884 for ncn_progname in objdump; do
9885 if test -n "$ncn_tool_prefix"; then
9886 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9887 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9889 $as_echo_n "checking
for $ac_word...
" >&6; }
9890 if ${ac_cv_prog_OBJDUMP+:} false; then :
9891 $as_echo_n "(cached
) " >&6
9893 if test -n "$OBJDUMP"; then
9894 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9900 test -z "$as_dir" && as_dir=.
9901 for ac_exec_ext in '' $ac_executable_extensions; do
9902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9903 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9904 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9913 OBJDUMP=$ac_cv_prog_OBJDUMP
9914 if test -n "$OBJDUMP"; then
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9916 $as_echo "$OBJDUMP" >&6; }
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9919 $as_echo "no
" >&6; }
9924 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9925 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9926 set dummy ${ncn_progname}; ac_word=$2
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9928 $as_echo_n "checking
for $ac_word...
" >&6; }
9929 if ${ac_cv_prog_OBJDUMP+:} false; then :
9930 $as_echo_n "(cached
) " >&6
9932 if test -n "$OBJDUMP"; then
9933 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9939 test -z "$as_dir" && as_dir=.
9940 for ac_exec_ext in '' $ac_executable_extensions; do
9941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9942 ac_cv_prog_OBJDUMP="${ncn_progname}"
9943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9952 OBJDUMP=$ac_cv_prog_OBJDUMP
9953 if test -n "$OBJDUMP"; then
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9955 $as_echo "$OBJDUMP" >&6; }
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9958 $as_echo "no
" >&6; }
9963 test -n "$ac_cv_prog_OBJDUMP" && break
9966 if test -z "$ac_cv_prog_OBJDUMP" ; then
9968 if test $build = $host ; then
9971 OBJDUMP="${ncn_tool_prefix}$2"
9977 if test -n "$OTOOL"; then
9978 ac_cv_prog_OTOOL=$OTOOL
9979 elif test -n "$ac_cv_prog_OTOOL"; then
9980 OTOOL=$ac_cv_prog_OTOOL
9983 if test -n "$ac_cv_prog_OTOOL"; then
9984 for ncn_progname in otool; do
9985 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9986 set dummy ${ncn_progname}; ac_word=$2
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9988 $as_echo_n "checking
for $ac_word...
" >&6; }
9989 if ${ac_cv_prog_OTOOL+:} false; then :
9990 $as_echo_n "(cached
) " >&6
9992 if test -n "$OTOOL"; then
9993 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9999 test -z "$as_dir" && as_dir=.
10000 for ac_exec_ext in '' $ac_executable_extensions; do
10001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10002 ac_cv_prog_OTOOL="${ncn_progname}"
10003 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10012 OTOOL=$ac_cv_prog_OTOOL
10013 if test -n "$OTOOL"; then
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
10015 $as_echo "$OTOOL" >&6; }
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10018 $as_echo "no
" >&6; }
10025 for ncn_progname in otool; do
10026 if test -n "$ncn_tool_prefix"; then
10027 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10028 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10030 $as_echo_n "checking
for $ac_word...
" >&6; }
10031 if ${ac_cv_prog_OTOOL+:} false; then :
10032 $as_echo_n "(cached
) " >&6
10034 if test -n "$OTOOL"; then
10035 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10038 for as_dir in $PATH
10041 test -z "$as_dir" && as_dir=.
10042 for ac_exec_ext in '' $ac_executable_extensions; do
10043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10044 ac_cv_prog_OTOOL="${ncn_tool_prefix}${ncn_progname}"
10045 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10054 OTOOL=$ac_cv_prog_OTOOL
10055 if test -n "$OTOOL"; then
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
10057 $as_echo "$OTOOL" >&6; }
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10060 $as_echo "no
" >&6; }
10065 if test -z "$ac_cv_prog_OTOOL" && test $build = $host ; then
10066 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10067 set dummy ${ncn_progname}; ac_word=$2
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10069 $as_echo_n "checking
for $ac_word...
" >&6; }
10070 if ${ac_cv_prog_OTOOL+:} false; then :
10071 $as_echo_n "(cached
) " >&6
10073 if test -n "$OTOOL"; then
10074 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10077 for as_dir in $PATH
10080 test -z "$as_dir" && as_dir=.
10081 for ac_exec_ext in '' $ac_executable_extensions; do
10082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10083 ac_cv_prog_OTOOL="${ncn_progname}"
10084 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10093 OTOOL=$ac_cv_prog_OTOOL
10094 if test -n "$OTOOL"; then
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
10096 $as_echo "$OTOOL" >&6; }
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10099 $as_echo "no
" >&6; }
10104 test -n "$ac_cv_prog_OTOOL" && break
10107 if test -z "$ac_cv_prog_OTOOL" ; then
10109 if test $build = $host ; then
10112 OTOOL="${ncn_tool_prefix}$2"
10118 if test -n "$READELF"; then
10119 ac_cv_prog_READELF=$READELF
10120 elif test -n "$ac_cv_prog_READELF"; then
10121 READELF=$ac_cv_prog_READELF
10124 if test -n "$ac_cv_prog_READELF"; then
10125 for ncn_progname in readelf; do
10126 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10127 set dummy ${ncn_progname}; ac_word=$2
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10129 $as_echo_n "checking
for $ac_word...
" >&6; }
10130 if ${ac_cv_prog_READELF+:} false; then :
10131 $as_echo_n "(cached
) " >&6
10133 if test -n "$READELF"; then
10134 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10137 for as_dir in $PATH
10140 test -z "$as_dir" && as_dir=.
10141 for ac_exec_ext in '' $ac_executable_extensions; do
10142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10143 ac_cv_prog_READELF="${ncn_progname}"
10144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10153 READELF=$ac_cv_prog_READELF
10154 if test -n "$READELF"; then
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10156 $as_echo "$READELF" >&6; }
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10159 $as_echo "no
" >&6; }
10166 for ncn_progname in readelf; do
10167 if test -n "$ncn_tool_prefix"; then
10168 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10169 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10171 $as_echo_n "checking
for $ac_word...
" >&6; }
10172 if ${ac_cv_prog_READELF+:} false; then :
10173 $as_echo_n "(cached
) " >&6
10175 if test -n "$READELF"; then
10176 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10179 for as_dir in $PATH
10182 test -z "$as_dir" && as_dir=.
10183 for ac_exec_ext in '' $ac_executable_extensions; do
10184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10185 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
10186 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10195 READELF=$ac_cv_prog_READELF
10196 if test -n "$READELF"; then
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10198 $as_echo "$READELF" >&6; }
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10201 $as_echo "no
" >&6; }
10206 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
10207 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10208 set dummy ${ncn_progname}; ac_word=$2
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10210 $as_echo_n "checking
for $ac_word...
" >&6; }
10211 if ${ac_cv_prog_READELF+:} false; then :
10212 $as_echo_n "(cached
) " >&6
10214 if test -n "$READELF"; then
10215 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10218 for as_dir in $PATH
10221 test -z "$as_dir" && as_dir=.
10222 for ac_exec_ext in '' $ac_executable_extensions; do
10223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10224 ac_cv_prog_READELF="${ncn_progname}"
10225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10234 READELF=$ac_cv_prog_READELF
10235 if test -n "$READELF"; then
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10237 $as_echo "$READELF" >&6; }
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10240 $as_echo "no
" >&6; }
10245 test -n "$ac_cv_prog_READELF" && break
10248 if test -z "$ac_cv_prog_READELF" ; then
10250 if test $build = $host ; then
10253 READELF="${ncn_tool_prefix}$2"
10264 # Check whether --with-build-time-tools was given.
10265 if test "${with_build_time_tools+set}" = set; then :
10266 withval=$with_build_time_tools; case x"$withval" in
10269 with_build_time_tools=
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10271 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10275 with_build_time_tools=
10281 if test -n "$CC_FOR_TARGET"; then
10282 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10283 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10284 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10287 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10288 for ncn_progname in cc gcc; do
10289 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10290 set dummy ${ncn_progname}; ac_word=$2
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10292 $as_echo_n "checking
for $ac_word...
" >&6; }
10293 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10294 $as_echo_n "(cached
) " >&6
10296 if test -n "$CC_FOR_TARGET"; then
10297 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10300 for as_dir in $PATH
10303 test -z "$as_dir" && as_dir=.
10304 for ac_exec_ext in '' $ac_executable_extensions; do
10305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10306 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10316 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10317 if test -n "$CC_FOR_TARGET"; then
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10319 $as_echo "$CC_FOR_TARGET" >&6; }
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10322 $as_echo "no
" >&6; }
10329 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10330 for ncn_progname in cc gcc; do
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10332 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10333 if test -x $with_build_time_tools/${ncn_progname}; then
10334 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10336 $as_echo "yes" >&6; }
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10340 $as_echo "no
" >&6; }
10345 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10346 for ncn_progname in cc gcc; do
10347 if test -n "$ncn_target_tool_prefix"; then
10348 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10349 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10351 $as_echo_n "checking
for $ac_word...
" >&6; }
10352 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10353 $as_echo_n "(cached
) " >&6
10355 if test -n "$CC_FOR_TARGET"; then
10356 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10359 for as_dir in $PATH
10362 test -z "$as_dir" && as_dir=.
10363 for ac_exec_ext in '' $ac_executable_extensions; do
10364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10365 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10375 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10376 if test -n "$CC_FOR_TARGET"; then
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10378 $as_echo "$CC_FOR_TARGET" >&6; }
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10381 $as_echo "no
" >&6; }
10386 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10387 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10388 set dummy ${ncn_progname}; ac_word=$2
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10390 $as_echo_n "checking
for $ac_word...
" >&6; }
10391 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10392 $as_echo_n "(cached
) " >&6
10394 if test -n "$CC_FOR_TARGET"; then
10395 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10398 for as_dir in $PATH
10401 test -z "$as_dir" && as_dir=.
10402 for ac_exec_ext in '' $ac_executable_extensions; do
10403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10404 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10405 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10414 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10415 if test -n "$CC_FOR_TARGET"; then
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10417 $as_echo "$CC_FOR_TARGET" >&6; }
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10420 $as_echo "no
" >&6; }
10425 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10429 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10431 if test $build = $target ; then
10434 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10437 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10442 if test -n "$CXX_FOR_TARGET"; then
10443 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10444 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10445 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10448 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10449 for ncn_progname in c++ g++ cxx gxx; do
10450 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10451 set dummy ${ncn_progname}; ac_word=$2
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10453 $as_echo_n "checking
for $ac_word...
" >&6; }
10454 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10455 $as_echo_n "(cached
) " >&6
10457 if test -n "$CXX_FOR_TARGET"; then
10458 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10461 for as_dir in $PATH
10464 test -z "$as_dir" && as_dir=.
10465 for ac_exec_ext in '' $ac_executable_extensions; do
10466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10467 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10468 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10477 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10478 if test -n "$CXX_FOR_TARGET"; then
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10480 $as_echo "$CXX_FOR_TARGET" >&6; }
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10483 $as_echo "no
" >&6; }
10490 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10491 for ncn_progname in c++ g++ cxx gxx; do
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10493 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10494 if test -x $with_build_time_tools/${ncn_progname}; then
10495 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10497 $as_echo "yes" >&6; }
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10501 $as_echo "no
" >&6; }
10506 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10507 for ncn_progname in c++ g++ cxx gxx; do
10508 if test -n "$ncn_target_tool_prefix"; then
10509 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10510 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10512 $as_echo_n "checking
for $ac_word...
" >&6; }
10513 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10514 $as_echo_n "(cached
) " >&6
10516 if test -n "$CXX_FOR_TARGET"; then
10517 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10520 for as_dir in $PATH
10523 test -z "$as_dir" && as_dir=.
10524 for ac_exec_ext in '' $ac_executable_extensions; do
10525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10526 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10536 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10537 if test -n "$CXX_FOR_TARGET"; then
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10539 $as_echo "$CXX_FOR_TARGET" >&6; }
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10542 $as_echo "no
" >&6; }
10547 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10548 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10549 set dummy ${ncn_progname}; ac_word=$2
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10551 $as_echo_n "checking
for $ac_word...
" >&6; }
10552 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10553 $as_echo_n "(cached
) " >&6
10555 if test -n "$CXX_FOR_TARGET"; then
10556 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10559 for as_dir in $PATH
10562 test -z "$as_dir" && as_dir=.
10563 for ac_exec_ext in '' $ac_executable_extensions; do
10564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10565 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10566 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10575 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10576 if test -n "$CXX_FOR_TARGET"; then
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10578 $as_echo "$CXX_FOR_TARGET" >&6; }
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10581 $as_echo "no
" >&6; }
10586 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10590 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10591 set dummy c++ g++ cxx gxx
10592 if test $build = $target ; then
10593 CXX_FOR_TARGET="$2"
10595 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10598 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10603 if test -n "$GCC_FOR_TARGET"; then
10604 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10605 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10606 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10609 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10610 for ncn_progname in gcc; do
10611 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10612 set dummy ${ncn_progname}; ac_word=$2
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10614 $as_echo_n "checking
for $ac_word...
" >&6; }
10615 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10616 $as_echo_n "(cached
) " >&6
10618 if test -n "$GCC_FOR_TARGET"; then
10619 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10622 for as_dir in $PATH
10625 test -z "$as_dir" && as_dir=.
10626 for ac_exec_ext in '' $ac_executable_extensions; do
10627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10628 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10629 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10638 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10639 if test -n "$GCC_FOR_TARGET"; then
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10641 $as_echo "$GCC_FOR_TARGET" >&6; }
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10644 $as_echo "no
" >&6; }
10651 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10652 for ncn_progname in gcc; do
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10654 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10655 if test -x $with_build_time_tools/${ncn_progname}; then
10656 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10658 $as_echo "yes" >&6; }
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10662 $as_echo "no
" >&6; }
10667 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10668 for ncn_progname in gcc; do
10669 if test -n "$ncn_target_tool_prefix"; then
10670 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10671 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10673 $as_echo_n "checking
for $ac_word...
" >&6; }
10674 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10675 $as_echo_n "(cached
) " >&6
10677 if test -n "$GCC_FOR_TARGET"; then
10678 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10681 for as_dir in $PATH
10684 test -z "$as_dir" && as_dir=.
10685 for ac_exec_ext in '' $ac_executable_extensions; do
10686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10687 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10697 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10698 if test -n "$GCC_FOR_TARGET"; then
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10700 $as_echo "$GCC_FOR_TARGET" >&6; }
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10703 $as_echo "no
" >&6; }
10708 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10709 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10710 set dummy ${ncn_progname}; ac_word=$2
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10712 $as_echo_n "checking
for $ac_word...
" >&6; }
10713 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10714 $as_echo_n "(cached
) " >&6
10716 if test -n "$GCC_FOR_TARGET"; then
10717 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10720 for as_dir in $PATH
10723 test -z "$as_dir" && as_dir=.
10724 for ac_exec_ext in '' $ac_executable_extensions; do
10725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10726 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10736 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10737 if test -n "$GCC_FOR_TARGET"; then
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10739 $as_echo "$GCC_FOR_TARGET" >&6; }
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10742 $as_echo "no
" >&6; }
10747 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10751 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10752 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10754 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10759 if test -n "$GFORTRAN_FOR_TARGET"; then
10760 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10761 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10762 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10765 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10766 for ncn_progname in gfortran; do
10767 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10768 set dummy ${ncn_progname}; ac_word=$2
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10770 $as_echo_n "checking
for $ac_word...
" >&6; }
10771 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10772 $as_echo_n "(cached
) " >&6
10774 if test -n "$GFORTRAN_FOR_TARGET"; then
10775 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10778 for as_dir in $PATH
10781 test -z "$as_dir" && as_dir=.
10782 for ac_exec_ext in '' $ac_executable_extensions; do
10783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10784 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10785 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10794 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10795 if test -n "$GFORTRAN_FOR_TARGET"; then
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10797 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10800 $as_echo "no
" >&6; }
10807 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10808 for ncn_progname in gfortran; do
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10810 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10811 if test -x $with_build_time_tools/${ncn_progname}; then
10812 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10814 $as_echo "yes" >&6; }
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10818 $as_echo "no
" >&6; }
10823 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10824 for ncn_progname in gfortran; do
10825 if test -n "$ncn_target_tool_prefix"; then
10826 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10827 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10829 $as_echo_n "checking
for $ac_word...
" >&6; }
10830 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10831 $as_echo_n "(cached
) " >&6
10833 if test -n "$GFORTRAN_FOR_TARGET"; then
10834 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10837 for as_dir in $PATH
10840 test -z "$as_dir" && as_dir=.
10841 for ac_exec_ext in '' $ac_executable_extensions; do
10842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10843 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10844 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10853 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10854 if test -n "$GFORTRAN_FOR_TARGET"; then
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10856 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10859 $as_echo "no
" >&6; }
10864 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10865 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10866 set dummy ${ncn_progname}; 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_prog_GFORTRAN_FOR_TARGET+:} false; then :
10870 $as_echo_n "(cached
) " >&6
10872 if test -n "$GFORTRAN_FOR_TARGET"; then
10873 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10876 for as_dir in $PATH
10879 test -z "$as_dir" && as_dir=.
10880 for ac_exec_ext in '' $ac_executable_extensions; do
10881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10882 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10883 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10892 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10893 if test -n "$GFORTRAN_FOR_TARGET"; then
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10895 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10898 $as_echo "no
" >&6; }
10903 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10907 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10909 if test $build = $target ; then
10910 GFORTRAN_FOR_TARGET="$2"
10912 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10915 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10920 if test -n "$GOC_FOR_TARGET"; then
10921 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10922 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10923 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10926 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10927 for ncn_progname in gccgo; do
10928 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10929 set dummy ${ncn_progname}; ac_word=$2
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10931 $as_echo_n "checking
for $ac_word...
" >&6; }
10932 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10933 $as_echo_n "(cached
) " >&6
10935 if test -n "$GOC_FOR_TARGET"; then
10936 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10939 for as_dir in $PATH
10942 test -z "$as_dir" && as_dir=.
10943 for ac_exec_ext in '' $ac_executable_extensions; do
10944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10945 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10946 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10955 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10956 if test -n "$GOC_FOR_TARGET"; then
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10958 $as_echo "$GOC_FOR_TARGET" >&6; }
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10961 $as_echo "no
" >&6; }
10968 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10969 for ncn_progname in gccgo; do
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10971 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10972 if test -x $with_build_time_tools/${ncn_progname}; then
10973 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10975 $as_echo "yes" >&6; }
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10979 $as_echo "no
" >&6; }
10984 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10985 for ncn_progname in gccgo; do
10986 if test -n "$ncn_target_tool_prefix"; then
10987 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10988 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10990 $as_echo_n "checking
for $ac_word...
" >&6; }
10991 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10992 $as_echo_n "(cached
) " >&6
10994 if test -n "$GOC_FOR_TARGET"; then
10995 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10998 for as_dir in $PATH
11001 test -z "$as_dir" && as_dir=.
11002 for ac_exec_ext in '' $ac_executable_extensions; do
11003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11004 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11014 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11015 if test -n "$GOC_FOR_TARGET"; then
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11017 $as_echo "$GOC_FOR_TARGET" >&6; }
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11020 $as_echo "no
" >&6; }
11025 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
11026 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11027 set dummy ${ncn_progname}; ac_word=$2
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11029 $as_echo_n "checking
for $ac_word...
" >&6; }
11030 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11031 $as_echo_n "(cached
) " >&6
11033 if test -n "$GOC_FOR_TARGET"; then
11034 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11037 for as_dir in $PATH
11040 test -z "$as_dir" && as_dir=.
11041 for ac_exec_ext in '' $ac_executable_extensions; do
11042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11043 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
11044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11053 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11054 if test -n "$GOC_FOR_TARGET"; then
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11056 $as_echo "$GOC_FOR_TARGET" >&6; }
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11059 $as_echo "no
" >&6; }
11064 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
11068 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
11070 if test $build = $target ; then
11071 GOC_FOR_TARGET="$2"
11073 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11076 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
11081 if test -n "$GDC_FOR_TARGET"; then
11082 ac_cv_prog_GDC_FOR_TARGET=$GDC_FOR_TARGET
11083 elif test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
11084 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11087 if test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
11088 for ncn_progname in gdc; do
11089 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11090 set dummy ${ncn_progname}; ac_word=$2
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11092 $as_echo_n "checking
for $ac_word...
" >&6; }
11093 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
11094 $as_echo_n "(cached
) " >&6
11096 if test -n "$GDC_FOR_TARGET"; then
11097 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
11099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11100 for as_dir in $PATH
11103 test -z "$as_dir" && as_dir=.
11104 for ac_exec_ext in '' $ac_executable_extensions; do
11105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11106 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
11107 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11116 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11117 if test -n "$GDC_FOR_TARGET"; then
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11119 $as_echo "$GDC_FOR_TARGET" >&6; }
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11122 $as_echo "no
" >&6; }
11129 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11130 for ncn_progname in gdc; do
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11132 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11133 if test -x $with_build_time_tools/${ncn_progname}; then
11134 ac_cv_prog_GDC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11136 $as_echo "yes" >&6; }
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11140 $as_echo "no
" >&6; }
11145 if test -z "$ac_cv_prog_GDC_FOR_TARGET"; then
11146 for ncn_progname in gdc; do
11147 if test -n "$ncn_target_tool_prefix"; then
11148 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11149 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11151 $as_echo_n "checking
for $ac_word...
" >&6; }
11152 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
11153 $as_echo_n "(cached
) " >&6
11155 if test -n "$GDC_FOR_TARGET"; then
11156 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
11158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11159 for as_dir in $PATH
11162 test -z "$as_dir" && as_dir=.
11163 for ac_exec_ext in '' $ac_executable_extensions; do
11164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11165 ac_cv_prog_GDC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11175 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11176 if test -n "$GDC_FOR_TARGET"; then
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11178 $as_echo "$GDC_FOR_TARGET" >&6; }
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11181 $as_echo "no
" >&6; }
11186 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test $build = $target ; then
11187 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11188 set dummy ${ncn_progname}; ac_word=$2
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11190 $as_echo_n "checking
for $ac_word...
" >&6; }
11191 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
11192 $as_echo_n "(cached
) " >&6
11194 if test -n "$GDC_FOR_TARGET"; then
11195 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
11197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11198 for as_dir in $PATH
11201 test -z "$as_dir" && as_dir=.
11202 for ac_exec_ext in '' $ac_executable_extensions; do
11203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11204 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
11205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11214 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11215 if test -n "$GDC_FOR_TARGET"; then
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11217 $as_echo "$GDC_FOR_TARGET" >&6; }
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11220 $as_echo "no
" >&6; }
11225 test -n "$ac_cv_prog_GDC_FOR_TARGET" && break
11229 if test -z "$ac_cv_prog_GDC_FOR_TARGET" ; then
11231 if test $build = $target ; then
11232 GDC_FOR_TARGET="$2"
11234 GDC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11237 GDC_FOR_TARGET="$ac_cv_prog_GDC_FOR_TARGET"
11242 cat > conftest.c << \EOF
11247 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11248 have_gcc_for_target=yes
11250 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11251 have_gcc_for_target=no
11258 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11259 if test -n "$with_build_time_tools"; then
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11261 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11262 if test -x $with_build_time_tools/ar; then
11263 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11264 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11266 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11269 $as_echo "no
" >&6; }
11271 elif test $build != $host && test $have_gcc_for_target = yes; then
11272 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11273 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11274 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11277 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11278 # Extract the first word of "ar", so it can be a program name with args.
11279 set dummy ar; ac_word=$2
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11281 $as_echo_n "checking
for $ac_word...
" >&6; }
11282 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
11283 $as_echo_n "(cached
) " >&6
11285 case $AR_FOR_TARGET in
11287 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11291 for as_dir in $gcc_cv_tool_dirs
11294 test -z "$as_dir" && as_dir=.
11295 for ac_exec_ext in '' $ac_executable_extensions; do
11296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11297 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11298 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11308 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11309 if test -n "$AR_FOR_TARGET"; then
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11311 $as_echo "$AR_FOR_TARGET" >&6; }
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11314 $as_echo "no
" >&6; }
11319 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11322 if test -n "$AR_FOR_TARGET"; then
11323 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11324 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11325 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11328 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11329 for ncn_progname in ar; do
11330 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11331 set dummy ${ncn_progname}; ac_word=$2
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11333 $as_echo_n "checking
for $ac_word...
" >&6; }
11334 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11335 $as_echo_n "(cached
) " >&6
11337 if test -n "$AR_FOR_TARGET"; then
11338 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11341 for as_dir in $PATH
11344 test -z "$as_dir" && as_dir=.
11345 for ac_exec_ext in '' $ac_executable_extensions; do
11346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11347 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11348 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11357 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11358 if test -n "$AR_FOR_TARGET"; then
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11360 $as_echo "$AR_FOR_TARGET" >&6; }
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11363 $as_echo "no
" >&6; }
11370 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11371 for ncn_progname in ar; do
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11373 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11374 if test -x $with_build_time_tools/${ncn_progname}; then
11375 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11377 $as_echo "yes" >&6; }
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11381 $as_echo "no
" >&6; }
11386 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11387 for ncn_progname in ar; do
11388 if test -n "$ncn_target_tool_prefix"; then
11389 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11390 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11392 $as_echo_n "checking
for $ac_word...
" >&6; }
11393 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11394 $as_echo_n "(cached
) " >&6
11396 if test -n "$AR_FOR_TARGET"; then
11397 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11400 for as_dir in $PATH
11403 test -z "$as_dir" && as_dir=.
11404 for ac_exec_ext in '' $ac_executable_extensions; do
11405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11406 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11407 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11416 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11417 if test -n "$AR_FOR_TARGET"; then
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11419 $as_echo "$AR_FOR_TARGET" >&6; }
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11422 $as_echo "no
" >&6; }
11427 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11428 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11429 set dummy ${ncn_progname}; ac_word=$2
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11431 $as_echo_n "checking
for $ac_word...
" >&6; }
11432 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11433 $as_echo_n "(cached
) " >&6
11435 if test -n "$AR_FOR_TARGET"; then
11436 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11439 for as_dir in $PATH
11442 test -z "$as_dir" && as_dir=.
11443 for ac_exec_ext in '' $ac_executable_extensions; do
11444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11445 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11446 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11455 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11456 if test -n "$AR_FOR_TARGET"; then
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11458 $as_echo "$AR_FOR_TARGET" >&6; }
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11461 $as_echo "no
" >&6; }
11466 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11470 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11472 if test $build = $target ; then
11475 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11478 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11482 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11488 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11489 if test -n "$with_build_time_tools"; then
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11491 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11492 if test -x $with_build_time_tools/as; then
11493 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11494 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11496 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11499 $as_echo "no
" >&6; }
11501 elif test $build != $host && test $have_gcc_for_target = yes; then
11502 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11503 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11504 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11507 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11508 # Extract the first word of "as
", so it can be a program name with args.
11509 set dummy as; ac_word=$2
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11511 $as_echo_n "checking
for $ac_word...
" >&6; }
11512 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
11513 $as_echo_n "(cached
) " >&6
11515 case $AS_FOR_TARGET in
11517 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11521 for as_dir in $gcc_cv_tool_dirs
11524 test -z "$as_dir" && as_dir=.
11525 for ac_exec_ext in '' $ac_executable_extensions; do
11526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11527 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11528 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11538 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11539 if test -n "$AS_FOR_TARGET"; then
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11541 $as_echo "$AS_FOR_TARGET" >&6; }
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11544 $as_echo "no
" >&6; }
11549 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11552 if test -n "$AS_FOR_TARGET"; then
11553 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11554 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11555 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11558 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11559 for ncn_progname in as; do
11560 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11561 set dummy ${ncn_progname}; ac_word=$2
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11563 $as_echo_n "checking
for $ac_word...
" >&6; }
11564 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11565 $as_echo_n "(cached
) " >&6
11567 if test -n "$AS_FOR_TARGET"; then
11568 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11571 for as_dir in $PATH
11574 test -z "$as_dir" && as_dir=.
11575 for ac_exec_ext in '' $ac_executable_extensions; do
11576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11577 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11587 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11588 if test -n "$AS_FOR_TARGET"; then
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11590 $as_echo "$AS_FOR_TARGET" >&6; }
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11593 $as_echo "no
" >&6; }
11600 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11601 for ncn_progname in as; do
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11603 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11604 if test -x $with_build_time_tools/${ncn_progname}; then
11605 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11607 $as_echo "yes" >&6; }
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11611 $as_echo "no
" >&6; }
11616 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11617 for ncn_progname in as; do
11618 if test -n "$ncn_target_tool_prefix"; then
11619 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11620 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11622 $as_echo_n "checking
for $ac_word...
" >&6; }
11623 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11624 $as_echo_n "(cached
) " >&6
11626 if test -n "$AS_FOR_TARGET"; then
11627 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11630 for as_dir in $PATH
11633 test -z "$as_dir" && as_dir=.
11634 for ac_exec_ext in '' $ac_executable_extensions; do
11635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11636 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11637 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11646 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11647 if test -n "$AS_FOR_TARGET"; then
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11649 $as_echo "$AS_FOR_TARGET" >&6; }
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11652 $as_echo "no
" >&6; }
11657 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11658 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11659 set dummy ${ncn_progname}; ac_word=$2
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11661 $as_echo_n "checking
for $ac_word...
" >&6; }
11662 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11663 $as_echo_n "(cached
) " >&6
11665 if test -n "$AS_FOR_TARGET"; then
11666 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11669 for as_dir in $PATH
11672 test -z "$as_dir" && as_dir=.
11673 for ac_exec_ext in '' $ac_executable_extensions; do
11674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11675 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11676 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11685 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11686 if test -n "$AS_FOR_TARGET"; then
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11688 $as_echo "$AS_FOR_TARGET" >&6; }
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11691 $as_echo "no
" >&6; }
11696 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11700 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11702 if test $build = $target ; then
11705 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11708 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11712 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11718 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11719 if test -n "$with_build_time_tools"; then
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11721 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11722 if test -x $with_build_time_tools/dlltool; then
11723 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11724 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11726 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11729 $as_echo "no
" >&6; }
11731 elif test $build != $host && test $have_gcc_for_target = yes; then
11732 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11733 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11734 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11737 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11738 # Extract the first word of "dlltool
", so it can be a program name with args.
11739 set dummy dlltool; ac_word=$2
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11741 $as_echo_n "checking
for $ac_word...
" >&6; }
11742 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
11743 $as_echo_n "(cached
) " >&6
11745 case $DLLTOOL_FOR_TARGET in
11747 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11751 for as_dir in $gcc_cv_tool_dirs
11754 test -z "$as_dir" && as_dir=.
11755 for ac_exec_ext in '' $ac_executable_extensions; do
11756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11757 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11758 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11768 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11769 if test -n "$DLLTOOL_FOR_TARGET"; then
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11771 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11774 $as_echo "no
" >&6; }
11779 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11782 if test -n "$DLLTOOL_FOR_TARGET"; then
11783 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11784 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11785 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11788 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11789 for ncn_progname in dlltool; do
11790 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11791 set dummy ${ncn_progname}; ac_word=$2
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11793 $as_echo_n "checking
for $ac_word...
" >&6; }
11794 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11795 $as_echo_n "(cached
) " >&6
11797 if test -n "$DLLTOOL_FOR_TARGET"; then
11798 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11801 for as_dir in $PATH
11804 test -z "$as_dir" && as_dir=.
11805 for ac_exec_ext in '' $ac_executable_extensions; do
11806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11807 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11817 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11818 if test -n "$DLLTOOL_FOR_TARGET"; then
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11820 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11823 $as_echo "no
" >&6; }
11830 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11831 for ncn_progname in dlltool; do
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11833 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11834 if test -x $with_build_time_tools/${ncn_progname}; then
11835 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11837 $as_echo "yes" >&6; }
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11841 $as_echo "no
" >&6; }
11846 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11847 for ncn_progname in dlltool; do
11848 if test -n "$ncn_target_tool_prefix"; then
11849 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11850 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11852 $as_echo_n "checking
for $ac_word...
" >&6; }
11853 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11854 $as_echo_n "(cached
) " >&6
11856 if test -n "$DLLTOOL_FOR_TARGET"; then
11857 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11860 for as_dir in $PATH
11863 test -z "$as_dir" && as_dir=.
11864 for ac_exec_ext in '' $ac_executable_extensions; do
11865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11866 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11867 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11876 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11877 if test -n "$DLLTOOL_FOR_TARGET"; then
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11879 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11882 $as_echo "no
" >&6; }
11887 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11888 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11889 set dummy ${ncn_progname}; ac_word=$2
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11891 $as_echo_n "checking
for $ac_word...
" >&6; }
11892 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11893 $as_echo_n "(cached
) " >&6
11895 if test -n "$DLLTOOL_FOR_TARGET"; then
11896 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11899 for as_dir in $PATH
11902 test -z "$as_dir" && as_dir=.
11903 for ac_exec_ext in '' $ac_executable_extensions; do
11904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11905 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11915 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11916 if test -n "$DLLTOOL_FOR_TARGET"; then
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11918 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11921 $as_echo "no
" >&6; }
11926 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11930 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11932 if test $build = $target ; then
11933 DLLTOOL_FOR_TARGET="$2"
11935 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11938 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11942 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11948 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11949 if test -n "$with_build_time_tools"; then
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11951 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11952 if test -x $with_build_time_tools/ld; then
11953 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11954 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11956 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11959 $as_echo "no
" >&6; }
11961 elif test $build != $host && test $have_gcc_for_target = yes; then
11962 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11963 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11964 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11967 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11968 # Extract the first word of "ld
", so it can be a program name with args.
11969 set dummy ld; ac_word=$2
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11971 $as_echo_n "checking
for $ac_word...
" >&6; }
11972 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
11973 $as_echo_n "(cached
) " >&6
11975 case $LD_FOR_TARGET in
11977 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11981 for as_dir in $gcc_cv_tool_dirs
11984 test -z "$as_dir" && as_dir=.
11985 for ac_exec_ext in '' $ac_executable_extensions; do
11986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11987 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11988 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11998 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11999 if test -n "$LD_FOR_TARGET"; then
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12001 $as_echo "$LD_FOR_TARGET" >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12004 $as_echo "no
" >&6; }
12009 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
12012 if test -n "$LD_FOR_TARGET"; then
12013 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
12014 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
12015 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12018 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
12019 for ncn_progname in ld; do
12020 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12021 set dummy ${ncn_progname}; ac_word=$2
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12023 $as_echo_n "checking
for $ac_word...
" >&6; }
12024 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12025 $as_echo_n "(cached
) " >&6
12027 if test -n "$LD_FOR_TARGET"; then
12028 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12031 for as_dir in $PATH
12034 test -z "$as_dir" && as_dir=.
12035 for ac_exec_ext in '' $ac_executable_extensions; do
12036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12037 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12038 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12047 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12048 if test -n "$LD_FOR_TARGET"; then
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12050 $as_echo "$LD_FOR_TARGET" >&6; }
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12053 $as_echo "no
" >&6; }
12060 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
12061 for ncn_progname in ld; do
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12063 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12064 if test -x $with_build_time_tools/${ncn_progname}; then
12065 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12067 $as_echo "yes" >&6; }
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12071 $as_echo "no
" >&6; }
12076 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
12077 for ncn_progname in ld; do
12078 if test -n "$ncn_target_tool_prefix"; then
12079 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12080 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12082 $as_echo_n "checking
for $ac_word...
" >&6; }
12083 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12084 $as_echo_n "(cached
) " >&6
12086 if test -n "$LD_FOR_TARGET"; then
12087 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12090 for as_dir in $PATH
12093 test -z "$as_dir" && as_dir=.
12094 for ac_exec_ext in '' $ac_executable_extensions; do
12095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12096 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12097 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12106 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12107 if test -n "$LD_FOR_TARGET"; then
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12109 $as_echo "$LD_FOR_TARGET" >&6; }
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12112 $as_echo "no
" >&6; }
12117 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
12118 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12119 set dummy ${ncn_progname}; ac_word=$2
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12121 $as_echo_n "checking
for $ac_word...
" >&6; }
12122 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12123 $as_echo_n "(cached
) " >&6
12125 if test -n "$LD_FOR_TARGET"; then
12126 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12129 for as_dir in $PATH
12132 test -z "$as_dir" && as_dir=.
12133 for ac_exec_ext in '' $ac_executable_extensions; do
12134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12135 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12145 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12146 if test -n "$LD_FOR_TARGET"; then
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12148 $as_echo "$LD_FOR_TARGET" >&6; }
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12151 $as_echo "no
" >&6; }
12156 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
12160 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
12162 if test $build = $target ; then
12165 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
12168 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
12172 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12178 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12179 if test -n "$with_build_time_tools"; then
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
12181 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
12182 if test -x $with_build_time_tools/lipo; then
12183 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12184 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
12186 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12189 $as_echo "no
" >&6; }
12191 elif test $build != $host && test $have_gcc_for_target = yes; then
12192 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12193 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12194 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12197 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12198 # Extract the first word of "lipo
", so it can be a program name with args.
12199 set dummy lipo; ac_word=$2
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12201 $as_echo_n "checking
for $ac_word...
" >&6; }
12202 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
12203 $as_echo_n "(cached
) " >&6
12205 case $LIPO_FOR_TARGET in
12207 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12211 for as_dir in $gcc_cv_tool_dirs
12214 test -z "$as_dir" && as_dir=.
12215 for ac_exec_ext in '' $ac_executable_extensions; do
12216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12217 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12218 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12228 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12229 if test -n "$LIPO_FOR_TARGET"; then
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12231 $as_echo "$LIPO_FOR_TARGET" >&6; }
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12234 $as_echo "no
" >&6; }
12239 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12242 if test -n "$LIPO_FOR_TARGET"; then
12243 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12244 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12245 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12248 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12249 for ncn_progname in lipo; do
12250 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12251 set dummy ${ncn_progname}; ac_word=$2
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12253 $as_echo_n "checking
for $ac_word...
" >&6; }
12254 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12255 $as_echo_n "(cached
) " >&6
12257 if test -n "$LIPO_FOR_TARGET"; then
12258 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12261 for as_dir in $PATH
12264 test -z "$as_dir" && as_dir=.
12265 for ac_exec_ext in '' $ac_executable_extensions; do
12266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12267 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12268 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12277 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12278 if test -n "$LIPO_FOR_TARGET"; then
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12280 $as_echo "$LIPO_FOR_TARGET" >&6; }
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12283 $as_echo "no
" >&6; }
12290 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12291 for ncn_progname in lipo; do
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12293 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12294 if test -x $with_build_time_tools/${ncn_progname}; then
12295 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12297 $as_echo "yes" >&6; }
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12301 $as_echo "no
" >&6; }
12306 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12307 for ncn_progname in lipo; do
12308 if test -n "$ncn_target_tool_prefix"; then
12309 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12310 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12312 $as_echo_n "checking
for $ac_word...
" >&6; }
12313 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12314 $as_echo_n "(cached
) " >&6
12316 if test -n "$LIPO_FOR_TARGET"; then
12317 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12320 for as_dir in $PATH
12323 test -z "$as_dir" && as_dir=.
12324 for ac_exec_ext in '' $ac_executable_extensions; do
12325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12326 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12327 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12336 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12337 if test -n "$LIPO_FOR_TARGET"; then
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12339 $as_echo "$LIPO_FOR_TARGET" >&6; }
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12342 $as_echo "no
" >&6; }
12347 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12348 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12349 set dummy ${ncn_progname}; ac_word=$2
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12351 $as_echo_n "checking
for $ac_word...
" >&6; }
12352 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12353 $as_echo_n "(cached
) " >&6
12355 if test -n "$LIPO_FOR_TARGET"; then
12356 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12359 for as_dir in $PATH
12362 test -z "$as_dir" && as_dir=.
12363 for ac_exec_ext in '' $ac_executable_extensions; do
12364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12365 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12375 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12376 if test -n "$LIPO_FOR_TARGET"; then
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12378 $as_echo "$LIPO_FOR_TARGET" >&6; }
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12381 $as_echo "no
" >&6; }
12386 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12390 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12392 if test $build = $target ; then
12393 LIPO_FOR_TARGET="$2"
12395 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12398 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12402 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12408 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12409 if test -n "$with_build_time_tools"; then
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12411 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12412 if test -x $with_build_time_tools/nm; then
12413 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12414 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12416 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12419 $as_echo "no
" >&6; }
12421 elif test $build != $host && test $have_gcc_for_target = yes; then
12422 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12423 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12424 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12427 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12428 # Extract the first word of "nm
", so it can be a program name with args.
12429 set dummy nm; ac_word=$2
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12431 $as_echo_n "checking
for $ac_word...
" >&6; }
12432 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
12433 $as_echo_n "(cached
) " >&6
12435 case $NM_FOR_TARGET in
12437 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12441 for as_dir in $gcc_cv_tool_dirs
12444 test -z "$as_dir" && as_dir=.
12445 for ac_exec_ext in '' $ac_executable_extensions; do
12446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12447 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12448 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12458 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12459 if test -n "$NM_FOR_TARGET"; then
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12461 $as_echo "$NM_FOR_TARGET" >&6; }
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12464 $as_echo "no
" >&6; }
12469 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12472 if test -n "$NM_FOR_TARGET"; then
12473 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12474 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12475 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12478 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12479 for ncn_progname in nm; do
12480 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12481 set dummy ${ncn_progname}; ac_word=$2
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12483 $as_echo_n "checking
for $ac_word...
" >&6; }
12484 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12485 $as_echo_n "(cached
) " >&6
12487 if test -n "$NM_FOR_TARGET"; then
12488 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12491 for as_dir in $PATH
12494 test -z "$as_dir" && as_dir=.
12495 for ac_exec_ext in '' $ac_executable_extensions; do
12496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12497 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12498 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12507 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12508 if test -n "$NM_FOR_TARGET"; then
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12510 $as_echo "$NM_FOR_TARGET" >&6; }
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12513 $as_echo "no
" >&6; }
12520 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12521 for ncn_progname in nm; do
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12523 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12524 if test -x $with_build_time_tools/${ncn_progname}; then
12525 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12527 $as_echo "yes" >&6; }
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12531 $as_echo "no
" >&6; }
12536 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12537 for ncn_progname in nm; do
12538 if test -n "$ncn_target_tool_prefix"; then
12539 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12540 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12542 $as_echo_n "checking
for $ac_word...
" >&6; }
12543 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12544 $as_echo_n "(cached
) " >&6
12546 if test -n "$NM_FOR_TARGET"; then
12547 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12550 for as_dir in $PATH
12553 test -z "$as_dir" && as_dir=.
12554 for ac_exec_ext in '' $ac_executable_extensions; do
12555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12556 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12557 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12566 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12567 if test -n "$NM_FOR_TARGET"; then
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12569 $as_echo "$NM_FOR_TARGET" >&6; }
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12572 $as_echo "no
" >&6; }
12577 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12578 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12579 set dummy ${ncn_progname}; ac_word=$2
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12581 $as_echo_n "checking
for $ac_word...
" >&6; }
12582 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12583 $as_echo_n "(cached
) " >&6
12585 if test -n "$NM_FOR_TARGET"; then
12586 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12589 for as_dir in $PATH
12592 test -z "$as_dir" && as_dir=.
12593 for ac_exec_ext in '' $ac_executable_extensions; do
12594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12595 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12596 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12605 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12606 if test -n "$NM_FOR_TARGET"; then
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12608 $as_echo "$NM_FOR_TARGET" >&6; }
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12611 $as_echo "no
" >&6; }
12616 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12620 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12622 if test $build = $target ; then
12625 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12628 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12632 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12638 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12639 if test -n "$with_build_time_tools"; then
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12641 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12642 if test -x $with_build_time_tools/objcopy; then
12643 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12644 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12646 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12649 $as_echo "no
" >&6; }
12651 elif test $build != $host && test $have_gcc_for_target = yes; then
12652 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12653 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12654 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12657 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12658 # Extract the first word of "objcopy
", so it can be a program name with args.
12659 set dummy objcopy; ac_word=$2
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12661 $as_echo_n "checking
for $ac_word...
" >&6; }
12662 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
12663 $as_echo_n "(cached
) " >&6
12665 case $OBJCOPY_FOR_TARGET in
12667 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12671 for as_dir in $gcc_cv_tool_dirs
12674 test -z "$as_dir" && as_dir=.
12675 for ac_exec_ext in '' $ac_executable_extensions; do
12676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12677 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12678 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12688 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12689 if test -n "$OBJCOPY_FOR_TARGET"; then
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12691 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12694 $as_echo "no
" >&6; }
12699 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12702 if test -n "$OBJCOPY_FOR_TARGET"; then
12703 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12704 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12705 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12708 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12709 for ncn_progname in objcopy; do
12710 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12711 set dummy ${ncn_progname}; ac_word=$2
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12713 $as_echo_n "checking
for $ac_word...
" >&6; }
12714 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12715 $as_echo_n "(cached
) " >&6
12717 if test -n "$OBJCOPY_FOR_TARGET"; then
12718 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12721 for as_dir in $PATH
12724 test -z "$as_dir" && as_dir=.
12725 for ac_exec_ext in '' $ac_executable_extensions; do
12726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12727 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12728 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12737 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12738 if test -n "$OBJCOPY_FOR_TARGET"; then
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12740 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12743 $as_echo "no
" >&6; }
12750 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12751 for ncn_progname in objcopy; do
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12753 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12754 if test -x $with_build_time_tools/${ncn_progname}; then
12755 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12757 $as_echo "yes" >&6; }
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12761 $as_echo "no
" >&6; }
12766 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12767 for ncn_progname in objcopy; do
12768 if test -n "$ncn_target_tool_prefix"; then
12769 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12770 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12772 $as_echo_n "checking
for $ac_word...
" >&6; }
12773 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12774 $as_echo_n "(cached
) " >&6
12776 if test -n "$OBJCOPY_FOR_TARGET"; then
12777 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12780 for as_dir in $PATH
12783 test -z "$as_dir" && as_dir=.
12784 for ac_exec_ext in '' $ac_executable_extensions; do
12785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12786 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12787 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12796 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12797 if test -n "$OBJCOPY_FOR_TARGET"; then
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12799 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12802 $as_echo "no
" >&6; }
12807 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12808 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12809 set dummy ${ncn_progname}; ac_word=$2
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12811 $as_echo_n "checking
for $ac_word...
" >&6; }
12812 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12813 $as_echo_n "(cached
) " >&6
12815 if test -n "$OBJCOPY_FOR_TARGET"; then
12816 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12819 for as_dir in $PATH
12822 test -z "$as_dir" && as_dir=.
12823 for ac_exec_ext in '' $ac_executable_extensions; do
12824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12825 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12826 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12835 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12836 if test -n "$OBJCOPY_FOR_TARGET"; then
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12838 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12841 $as_echo "no
" >&6; }
12846 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12850 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12852 if test $build = $target ; then
12853 OBJCOPY_FOR_TARGET="$2"
12855 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12858 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12862 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12868 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12869 if test -n "$with_build_time_tools"; then
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12871 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12872 if test -x $with_build_time_tools/objdump; then
12873 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12874 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12876 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12879 $as_echo "no
" >&6; }
12881 elif test $build != $host && test $have_gcc_for_target = yes; then
12882 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12883 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12884 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12887 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12888 # Extract the first word of "objdump
", so it can be a program name with args.
12889 set dummy objdump; ac_word=$2
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12891 $as_echo_n "checking
for $ac_word...
" >&6; }
12892 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
12893 $as_echo_n "(cached
) " >&6
12895 case $OBJDUMP_FOR_TARGET in
12897 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12901 for as_dir in $gcc_cv_tool_dirs
12904 test -z "$as_dir" && as_dir=.
12905 for ac_exec_ext in '' $ac_executable_extensions; do
12906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12907 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12918 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12919 if test -n "$OBJDUMP_FOR_TARGET"; then
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12921 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12924 $as_echo "no
" >&6; }
12929 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12932 if test -n "$OBJDUMP_FOR_TARGET"; then
12933 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12934 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12935 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12938 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12939 for ncn_progname in objdump; do
12940 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12941 set dummy ${ncn_progname}; ac_word=$2
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12943 $as_echo_n "checking
for $ac_word...
" >&6; }
12944 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12945 $as_echo_n "(cached
) " >&6
12947 if test -n "$OBJDUMP_FOR_TARGET"; then
12948 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12951 for as_dir in $PATH
12954 test -z "$as_dir" && as_dir=.
12955 for ac_exec_ext in '' $ac_executable_extensions; do
12956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12957 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12967 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12968 if test -n "$OBJDUMP_FOR_TARGET"; then
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12970 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12973 $as_echo "no
" >&6; }
12980 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12981 for ncn_progname in objdump; do
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12983 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12984 if test -x $with_build_time_tools/${ncn_progname}; then
12985 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12987 $as_echo "yes" >&6; }
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12991 $as_echo "no
" >&6; }
12996 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12997 for ncn_progname in objdump; do
12998 if test -n "$ncn_target_tool_prefix"; then
12999 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13000 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13002 $as_echo_n "checking
for $ac_word...
" >&6; }
13003 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
13004 $as_echo_n "(cached
) " >&6
13006 if test -n "$OBJDUMP_FOR_TARGET"; then
13007 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
13009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13010 for as_dir in $PATH
13013 test -z "$as_dir" && as_dir=.
13014 for ac_exec_ext in '' $ac_executable_extensions; do
13015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13016 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13017 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13026 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
13027 if test -n "$OBJDUMP_FOR_TARGET"; then
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
13029 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13032 $as_echo "no
" >&6; }
13037 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
13038 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13039 set dummy ${ncn_progname}; ac_word=$2
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13041 $as_echo_n "checking
for $ac_word...
" >&6; }
13042 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
13043 $as_echo_n "(cached
) " >&6
13045 if test -n "$OBJDUMP_FOR_TARGET"; then
13046 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
13048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13049 for as_dir in $PATH
13052 test -z "$as_dir" && as_dir=.
13053 for ac_exec_ext in '' $ac_executable_extensions; do
13054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13055 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
13056 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13065 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
13066 if test -n "$OBJDUMP_FOR_TARGET"; then
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
13068 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13071 $as_echo "no
" >&6; }
13076 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
13080 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
13082 if test $build = $target ; then
13083 OBJDUMP_FOR_TARGET="$2"
13085 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13088 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
13092 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
13098 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
13099 if test -n "$with_build_time_tools"; then
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for otool
in $with_build_time_tools" >&5
13101 $as_echo_n "checking
for otool
in $with_build_time_tools...
" >&6; }
13102 if test -x $with_build_time_tools/otool; then
13103 OTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/otool
13104 ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OTOOL_FOR_TARGET" >&5
13106 $as_echo "$ac_cv_path_OTOOL_FOR_TARGET" >&6; }
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13109 $as_echo "no
" >&6; }
13111 elif test $build != $host && test $have_gcc_for_target = yes; then
13112 OTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=otool`
13113 test $OTOOL_FOR_TARGET = otool && OTOOL_FOR_TARGET=
13114 test -n "$OTOOL_FOR_TARGET" && ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
13117 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13118 # Extract the first word of "otool
", so it can be a program name with args.
13119 set dummy otool; ac_word=$2
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13121 $as_echo_n "checking
for $ac_word...
" >&6; }
13122 if ${ac_cv_path_OTOOL_FOR_TARGET+:} false; then :
13123 $as_echo_n "(cached
) " >&6
13125 case $OTOOL_FOR_TARGET in
13127 ac_cv_path_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test with a path.
13130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13131 for as_dir in $gcc_cv_tool_dirs
13134 test -z "$as_dir" && as_dir=.
13135 for ac_exec_ext in '' $ac_executable_extensions; do
13136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13137 ac_cv_path_OTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13138 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13148 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
13149 if test -n "$OTOOL_FOR_TARGET"; then
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13151 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13154 $as_echo "no
" >&6; }
13159 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
13162 if test -n "$OTOOL_FOR_TARGET"; then
13163 ac_cv_prog_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
13164 elif test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13165 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13168 if test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13169 for ncn_progname in otool; do
13170 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13171 set dummy ${ncn_progname}; ac_word=$2
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13173 $as_echo_n "checking
for $ac_word...
" >&6; }
13174 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13175 $as_echo_n "(cached
) " >&6
13177 if test -n "$OTOOL_FOR_TARGET"; then
13178 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13181 for as_dir in $PATH
13184 test -z "$as_dir" && as_dir=.
13185 for ac_exec_ext in '' $ac_executable_extensions; do
13186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13187 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
13188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13197 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13198 if test -n "$OTOOL_FOR_TARGET"; then
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13200 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13203 $as_echo "no
" >&6; }
13210 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
13211 for ncn_progname in otool; do
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13213 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13214 if test -x $with_build_time_tools/${ncn_progname}; then
13215 ac_cv_prog_OTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13217 $as_echo "yes" >&6; }
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13221 $as_echo "no
" >&6; }
13226 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13227 for ncn_progname in otool; do
13228 if test -n "$ncn_target_tool_prefix"; then
13229 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13230 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13232 $as_echo_n "checking
for $ac_word...
" >&6; }
13233 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13234 $as_echo_n "(cached
) " >&6
13236 if test -n "$OTOOL_FOR_TARGET"; then
13237 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13240 for as_dir in $PATH
13243 test -z "$as_dir" && as_dir=.
13244 for ac_exec_ext in '' $ac_executable_extensions; do
13245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13246 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13256 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13257 if test -n "$OTOOL_FOR_TARGET"; then
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13259 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13262 $as_echo "no
" >&6; }
13267 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test $build = $target ; then
13268 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13269 set dummy ${ncn_progname}; ac_word=$2
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13271 $as_echo_n "checking
for $ac_word...
" >&6; }
13272 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13273 $as_echo_n "(cached
) " >&6
13275 if test -n "$OTOOL_FOR_TARGET"; then
13276 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13279 for as_dir in $PATH
13282 test -z "$as_dir" && as_dir=.
13283 for ac_exec_ext in '' $ac_executable_extensions; do
13284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13285 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
13286 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13295 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13296 if test -n "$OTOOL_FOR_TARGET"; then
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13298 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13301 $as_echo "no
" >&6; }
13306 test -n "$ac_cv_prog_OTOOL_FOR_TARGET" && break
13310 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" ; then
13312 if test $build = $target ; then
13313 OTOOL_FOR_TARGET="$2"
13315 OTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
13318 OTOOL_FOR_TARGET="$ac_cv_prog_OTOOL_FOR_TARGET"
13322 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
13328 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13329 if test -n "$with_build_time_tools"; then
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
13331 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
13332 if test -x $with_build_time_tools/ranlib; then
13333 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
13334 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
13336 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13339 $as_echo "no
" >&6; }
13341 elif test $build != $host && test $have_gcc_for_target = yes; then
13342 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
13343 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
13344 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13347 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13348 # Extract the first word of "ranlib
", so it can be a program name with args.
13349 set dummy ranlib; ac_word=$2
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13351 $as_echo_n "checking
for $ac_word...
" >&6; }
13352 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
13353 $as_echo_n "(cached
) " >&6
13355 case $RANLIB_FOR_TARGET in
13357 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
13360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13361 for as_dir in $gcc_cv_tool_dirs
13364 test -z "$as_dir" && as_dir=.
13365 for ac_exec_ext in '' $ac_executable_extensions; do
13366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13367 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13368 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13378 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13379 if test -n "$RANLIB_FOR_TARGET"; then
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13381 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13384 $as_echo "no
" >&6; }
13389 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13392 if test -n "$RANLIB_FOR_TARGET"; then
13393 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13394 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13395 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13398 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13399 for ncn_progname in ranlib; do
13400 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13401 set dummy ${ncn_progname}; ac_word=$2
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13403 $as_echo_n "checking
for $ac_word...
" >&6; }
13404 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13405 $as_echo_n "(cached
) " >&6
13407 if test -n "$RANLIB_FOR_TARGET"; then
13408 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13411 for as_dir in $PATH
13414 test -z "$as_dir" && as_dir=.
13415 for ac_exec_ext in '' $ac_executable_extensions; do
13416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13417 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13418 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13427 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13428 if test -n "$RANLIB_FOR_TARGET"; then
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13430 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13433 $as_echo "no
" >&6; }
13440 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
13441 for ncn_progname in ranlib; do
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13443 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13444 if test -x $with_build_time_tools/${ncn_progname}; then
13445 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13447 $as_echo "yes" >&6; }
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13451 $as_echo "no
" >&6; }
13456 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13457 for ncn_progname in ranlib; do
13458 if test -n "$ncn_target_tool_prefix"; then
13459 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13460 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13462 $as_echo_n "checking
for $ac_word...
" >&6; }
13463 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13464 $as_echo_n "(cached
) " >&6
13466 if test -n "$RANLIB_FOR_TARGET"; then
13467 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13470 for as_dir in $PATH
13473 test -z "$as_dir" && as_dir=.
13474 for ac_exec_ext in '' $ac_executable_extensions; do
13475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13476 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13477 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13486 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13487 if test -n "$RANLIB_FOR_TARGET"; then
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13489 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13492 $as_echo "no
" >&6; }
13497 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
13498 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13499 set dummy ${ncn_progname}; ac_word=$2
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13501 $as_echo_n "checking
for $ac_word...
" >&6; }
13502 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13503 $as_echo_n "(cached
) " >&6
13505 if test -n "$RANLIB_FOR_TARGET"; then
13506 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13509 for as_dir in $PATH
13512 test -z "$as_dir" && as_dir=.
13513 for ac_exec_ext in '' $ac_executable_extensions; do
13514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13515 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13516 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13525 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13526 if test -n "$RANLIB_FOR_TARGET"; then
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13528 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13531 $as_echo "no
" >&6; }
13536 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
13540 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
13542 if test $build = $target ; then
13543 RANLIB_FOR_TARGET="$2"
13545 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13548 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13552 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13558 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13559 if test -n "$with_build_time_tools"; then
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13561 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13562 if test -x $with_build_time_tools/readelf; then
13563 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13564 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13566 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13569 $as_echo "no
" >&6; }
13571 elif test $build != $host && test $have_gcc_for_target = yes; then
13572 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13573 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13574 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13577 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13578 # Extract the first word of "readelf
", so it can be a program name with args.
13579 set dummy readelf; ac_word=$2
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13581 $as_echo_n "checking
for $ac_word...
" >&6; }
13582 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
13583 $as_echo_n "(cached
) " >&6
13585 case $READELF_FOR_TARGET in
13587 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13591 for as_dir in $gcc_cv_tool_dirs
13594 test -z "$as_dir" && as_dir=.
13595 for ac_exec_ext in '' $ac_executable_extensions; do
13596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13597 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13598 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13608 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13609 if test -n "$READELF_FOR_TARGET"; then
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13611 $as_echo "$READELF_FOR_TARGET" >&6; }
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13614 $as_echo "no
" >&6; }
13619 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13622 if test -n "$READELF_FOR_TARGET"; then
13623 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13624 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13625 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13628 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13629 for ncn_progname in readelf; do
13630 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13631 set dummy ${ncn_progname}; ac_word=$2
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13633 $as_echo_n "checking
for $ac_word...
" >&6; }
13634 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13635 $as_echo_n "(cached
) " >&6
13637 if test -n "$READELF_FOR_TARGET"; then
13638 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13641 for as_dir in $PATH
13644 test -z "$as_dir" && as_dir=.
13645 for ac_exec_ext in '' $ac_executable_extensions; do
13646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13647 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13657 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13658 if test -n "$READELF_FOR_TARGET"; then
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13660 $as_echo "$READELF_FOR_TARGET" >&6; }
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13663 $as_echo "no
" >&6; }
13670 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13671 for ncn_progname in readelf; do
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13673 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13674 if test -x $with_build_time_tools/${ncn_progname}; then
13675 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13677 $as_echo "yes" >&6; }
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13681 $as_echo "no
" >&6; }
13686 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13687 for ncn_progname in readelf; do
13688 if test -n "$ncn_target_tool_prefix"; then
13689 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13690 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13692 $as_echo_n "checking
for $ac_word...
" >&6; }
13693 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13694 $as_echo_n "(cached
) " >&6
13696 if test -n "$READELF_FOR_TARGET"; then
13697 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13700 for as_dir in $PATH
13703 test -z "$as_dir" && as_dir=.
13704 for ac_exec_ext in '' $ac_executable_extensions; do
13705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13706 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13707 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13716 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13717 if test -n "$READELF_FOR_TARGET"; then
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13719 $as_echo "$READELF_FOR_TARGET" >&6; }
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13722 $as_echo "no
" >&6; }
13727 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13728 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13729 set dummy ${ncn_progname}; ac_word=$2
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13731 $as_echo_n "checking
for $ac_word...
" >&6; }
13732 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13733 $as_echo_n "(cached
) " >&6
13735 if test -n "$READELF_FOR_TARGET"; then
13736 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13739 for as_dir in $PATH
13742 test -z "$as_dir" && as_dir=.
13743 for ac_exec_ext in '' $ac_executable_extensions; do
13744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13745 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13755 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13756 if test -n "$READELF_FOR_TARGET"; then
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13758 $as_echo "$READELF_FOR_TARGET" >&6; }
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13761 $as_echo "no
" >&6; }
13766 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13770 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13772 if test $build = $target ; then
13773 READELF_FOR_TARGET="$2"
13775 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13778 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13782 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13788 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13789 if test -n "$with_build_time_tools"; then
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13791 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13792 if test -x $with_build_time_tools/strip; then
13793 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13794 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13796 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13799 $as_echo "no
" >&6; }
13801 elif test $build != $host && test $have_gcc_for_target = yes; then
13802 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13803 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13804 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13807 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13808 # Extract the first word of "strip
", so it can be a program name with args.
13809 set dummy strip; ac_word=$2
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13811 $as_echo_n "checking
for $ac_word...
" >&6; }
13812 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
13813 $as_echo_n "(cached
) " >&6
13815 case $STRIP_FOR_TARGET in
13817 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13821 for as_dir in $gcc_cv_tool_dirs
13824 test -z "$as_dir" && as_dir=.
13825 for ac_exec_ext in '' $ac_executable_extensions; do
13826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13827 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13838 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13839 if test -n "$STRIP_FOR_TARGET"; then
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13841 $as_echo "$STRIP_FOR_TARGET" >&6; }
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13844 $as_echo "no
" >&6; }
13849 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13852 if test -n "$STRIP_FOR_TARGET"; then
13853 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13854 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13855 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13858 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13859 for ncn_progname in strip; do
13860 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13861 set dummy ${ncn_progname}; ac_word=$2
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13863 $as_echo_n "checking
for $ac_word...
" >&6; }
13864 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13865 $as_echo_n "(cached
) " >&6
13867 if test -n "$STRIP_FOR_TARGET"; then
13868 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13871 for as_dir in $PATH
13874 test -z "$as_dir" && as_dir=.
13875 for ac_exec_ext in '' $ac_executable_extensions; do
13876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13877 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13887 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13888 if test -n "$STRIP_FOR_TARGET"; then
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13890 $as_echo "$STRIP_FOR_TARGET" >&6; }
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13893 $as_echo "no
" >&6; }
13900 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13901 for ncn_progname in strip; do
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13903 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13904 if test -x $with_build_time_tools/${ncn_progname}; then
13905 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13907 $as_echo "yes" >&6; }
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13911 $as_echo "no
" >&6; }
13916 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13917 for ncn_progname in strip; do
13918 if test -n "$ncn_target_tool_prefix"; then
13919 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13920 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13922 $as_echo_n "checking
for $ac_word...
" >&6; }
13923 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13924 $as_echo_n "(cached
) " >&6
13926 if test -n "$STRIP_FOR_TARGET"; then
13927 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13930 for as_dir in $PATH
13933 test -z "$as_dir" && as_dir=.
13934 for ac_exec_ext in '' $ac_executable_extensions; do
13935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13936 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13946 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13947 if test -n "$STRIP_FOR_TARGET"; then
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13949 $as_echo "$STRIP_FOR_TARGET" >&6; }
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13952 $as_echo "no
" >&6; }
13957 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13958 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13959 set dummy ${ncn_progname}; ac_word=$2
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13961 $as_echo_n "checking
for $ac_word...
" >&6; }
13962 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13963 $as_echo_n "(cached
) " >&6
13965 if test -n "$STRIP_FOR_TARGET"; then
13966 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13969 for as_dir in $PATH
13972 test -z "$as_dir" && as_dir=.
13973 for ac_exec_ext in '' $ac_executable_extensions; do
13974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13975 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13976 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13985 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13986 if test -n "$STRIP_FOR_TARGET"; then
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13988 $as_echo "$STRIP_FOR_TARGET" >&6; }
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13991 $as_echo "no
" >&6; }
13996 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
14000 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
14002 if test $build = $target ; then
14003 STRIP_FOR_TARGET="$2"
14005 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
14008 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
14012 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
14018 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
14019 if test -n "$with_build_time_tools"; then
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
14021 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
14022 if test -x $with_build_time_tools/windres; then
14023 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
14024 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
14026 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14029 $as_echo "no
" >&6; }
14031 elif test $build != $host && test $have_gcc_for_target = yes; then
14032 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
14033 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
14034 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
14037 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14038 # Extract the first word of "windres
", so it can be a program name with args.
14039 set dummy windres; ac_word=$2
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14041 $as_echo_n "checking
for $ac_word...
" >&6; }
14042 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
14043 $as_echo_n "(cached
) " >&6
14045 case $WINDRES_FOR_TARGET in
14047 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
14050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14051 for as_dir in $gcc_cv_tool_dirs
14054 test -z "$as_dir" && as_dir=.
14055 for ac_exec_ext in '' $ac_executable_extensions; do
14056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14057 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14068 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
14069 if test -n "$WINDRES_FOR_TARGET"; then
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14071 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14074 $as_echo "no
" >&6; }
14079 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
14082 if test -n "$WINDRES_FOR_TARGET"; then
14083 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
14084 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
14085 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14088 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
14089 for ncn_progname in windres; do
14090 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14091 set dummy ${ncn_progname}; ac_word=$2
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14093 $as_echo_n "checking
for $ac_word...
" >&6; }
14094 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14095 $as_echo_n "(cached
) " >&6
14097 if test -n "$WINDRES_FOR_TARGET"; then
14098 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14101 for as_dir in $PATH
14104 test -z "$as_dir" && as_dir=.
14105 for ac_exec_ext in '' $ac_executable_extensions; do
14106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14107 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
14108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14117 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14118 if test -n "$WINDRES_FOR_TARGET"; then
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14120 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14123 $as_echo "no
" >&6; }
14130 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
14131 for ncn_progname in windres; do
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14133 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14134 if test -x $with_build_time_tools/${ncn_progname}; then
14135 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14137 $as_echo "yes" >&6; }
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14141 $as_echo "no
" >&6; }
14146 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
14147 for ncn_progname in windres; do
14148 if test -n "$ncn_target_tool_prefix"; then
14149 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14150 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14152 $as_echo_n "checking
for $ac_word...
" >&6; }
14153 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14154 $as_echo_n "(cached
) " >&6
14156 if test -n "$WINDRES_FOR_TARGET"; then
14157 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14160 for as_dir in $PATH
14163 test -z "$as_dir" && as_dir=.
14164 for ac_exec_ext in '' $ac_executable_extensions; do
14165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14166 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14176 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14177 if test -n "$WINDRES_FOR_TARGET"; then
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14179 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14182 $as_echo "no
" >&6; }
14187 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
14188 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14189 set dummy ${ncn_progname}; ac_word=$2
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14191 $as_echo_n "checking
for $ac_word...
" >&6; }
14192 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14193 $as_echo_n "(cached
) " >&6
14195 if test -n "$WINDRES_FOR_TARGET"; then
14196 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14199 for as_dir in $PATH
14202 test -z "$as_dir" && as_dir=.
14203 for ac_exec_ext in '' $ac_executable_extensions; do
14204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14205 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
14206 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14215 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14216 if test -n "$WINDRES_FOR_TARGET"; then
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14218 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14221 $as_echo "no
" >&6; }
14226 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
14230 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
14232 if test $build = $target ; then
14233 WINDRES_FOR_TARGET="$2"
14235 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
14238 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
14242 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
14248 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14249 if test -n "$with_build_time_tools"; then
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
14251 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
14252 if test -x $with_build_time_tools/windmc; then
14253 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
14254 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
14256 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14259 $as_echo "no
" >&6; }
14261 elif test $build != $host && test $have_gcc_for_target = yes; then
14262 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
14263 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
14264 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14267 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14268 # Extract the first word of "windmc
", so it can be a program name with args.
14269 set dummy windmc; ac_word=$2
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14271 $as_echo_n "checking
for $ac_word...
" >&6; }
14272 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
14273 $as_echo_n "(cached
) " >&6
14275 case $WINDMC_FOR_TARGET in
14277 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
14280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14281 for as_dir in $gcc_cv_tool_dirs
14284 test -z "$as_dir" && as_dir=.
14285 for ac_exec_ext in '' $ac_executable_extensions; do
14286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14287 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14288 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14298 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14299 if test -n "$WINDMC_FOR_TARGET"; then
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14301 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14304 $as_echo "no
" >&6; }
14309 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14312 if test -n "$WINDMC_FOR_TARGET"; then
14313 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14314 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14315 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14318 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14319 for ncn_progname in windmc; do
14320 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14321 set dummy ${ncn_progname}; ac_word=$2
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14323 $as_echo_n "checking
for $ac_word...
" >&6; }
14324 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14325 $as_echo_n "(cached
) " >&6
14327 if test -n "$WINDMC_FOR_TARGET"; then
14328 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14331 for as_dir in $PATH
14334 test -z "$as_dir" && as_dir=.
14335 for ac_exec_ext in '' $ac_executable_extensions; do
14336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14337 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14338 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14347 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14348 if test -n "$WINDMC_FOR_TARGET"; then
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14350 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14353 $as_echo "no
" >&6; }
14360 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
14361 for ncn_progname in windmc; do
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14363 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14364 if test -x $with_build_time_tools/${ncn_progname}; then
14365 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14367 $as_echo "yes" >&6; }
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14371 $as_echo "no
" >&6; }
14376 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14377 for ncn_progname in windmc; do
14378 if test -n "$ncn_target_tool_prefix"; then
14379 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14380 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14382 $as_echo_n "checking
for $ac_word...
" >&6; }
14383 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14384 $as_echo_n "(cached
) " >&6
14386 if test -n "$WINDMC_FOR_TARGET"; then
14387 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14390 for as_dir in $PATH
14393 test -z "$as_dir" && as_dir=.
14394 for ac_exec_ext in '' $ac_executable_extensions; do
14395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14396 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14406 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14407 if test -n "$WINDMC_FOR_TARGET"; then
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14409 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14412 $as_echo "no
" >&6; }
14417 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
14418 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14419 set dummy ${ncn_progname}; ac_word=$2
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14421 $as_echo_n "checking
for $ac_word...
" >&6; }
14422 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14423 $as_echo_n "(cached
) " >&6
14425 if test -n "$WINDMC_FOR_TARGET"; then
14426 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14429 for as_dir in $PATH
14432 test -z "$as_dir" && as_dir=.
14433 for ac_exec_ext in '' $ac_executable_extensions; do
14434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14435 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14436 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14445 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14446 if test -n "$WINDMC_FOR_TARGET"; then
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14448 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14451 $as_echo "no
" >&6; }
14456 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
14460 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
14462 if test $build = $target ; then
14463 WINDMC_FOR_TARGET="$2"
14465 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14468 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
14472 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14476 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
14479 $as_echo_n "checking where to
find the target
ar...
" >&6; }
14480 if test "x
${build}" != "x
${host}" ; then
14481 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14482 # We already found the complete path
14483 ac_dir=`dirname $AR_FOR_TARGET`
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14485 $as_echo "pre-installed
in $ac_dir" >&6; }
14487 # Canadian cross, just use what we found
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14489 $as_echo "pre-installed
" >&6; }
14493 case " ${configdirs} " in
14498 if test $ok = yes; then
14499 # An in-tree tool is available and we can use it
14500 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14502 $as_echo "just compiled
" >&6; }
14503 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14504 # We already found the complete path
14505 ac_dir=`dirname $AR_FOR_TARGET`
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14507 $as_echo "pre-installed
in $ac_dir" >&6; }
14508 elif test "x
$target" = "x
$host"; then
14509 # We can use an host tool
14510 AR_FOR_TARGET='$(AR)'
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14512 $as_echo "host tool
" >&6; }
14514 # We need a cross tool
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14516 $as_echo "pre-installed
" >&6; }
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
14521 $as_echo_n "checking where to
find the target as...
" >&6; }
14522 if test "x
${build}" != "x
${host}" ; then
14523 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14524 # We already found the complete path
14525 ac_dir=`dirname $AS_FOR_TARGET`
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14527 $as_echo "pre-installed
in $ac_dir" >&6; }
14529 # Canadian cross, just use what we found
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14531 $as_echo "pre-installed
" >&6; }
14535 case " ${configdirs} " in
14540 if test $ok = yes; then
14541 # An in-tree tool is available and we can use it
14542 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14544 $as_echo "just compiled
" >&6; }
14545 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14546 # We already found the complete path
14547 ac_dir=`dirname $AS_FOR_TARGET`
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14549 $as_echo "pre-installed
in $ac_dir" >&6; }
14550 elif test "x
$target" = "x
$host"; then
14551 # We can use an host tool
14552 AS_FOR_TARGET='$(AS)'
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14554 $as_echo "host tool
" >&6; }
14556 # We need a cross tool
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14558 $as_echo "pre-installed
" >&6; }
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14563 $as_echo_n "checking where to
find the target cc...
" >&6; }
14564 if test "x
${build}" != "x
${host}" ; then
14565 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14566 # We already found the complete path
14567 ac_dir=`dirname $CC_FOR_TARGET`
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14569 $as_echo "pre-installed
in $ac_dir" >&6; }
14571 # Canadian cross, just use what we found
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14573 $as_echo "pre-installed
" >&6; }
14577 case " ${configdirs} " in
14582 if test $ok = yes; then
14583 # An in-tree tool is available and we can use it
14584 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14586 $as_echo "just compiled
" >&6; }
14587 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14588 # We already found the complete path
14589 ac_dir=`dirname $CC_FOR_TARGET`
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14591 $as_echo "pre-installed
in $ac_dir" >&6; }
14592 elif test "x
$target" = "x
$host"; then
14593 # We can use an host tool
14594 CC_FOR_TARGET='$(CC)'
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14596 $as_echo "host tool
" >&6; }
14598 # We need a cross tool
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14600 $as_echo "pre-installed
" >&6; }
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14605 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14606 if test "x
${build}" != "x
${host}" ; then
14607 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14608 # We already found the complete path
14609 ac_dir=`dirname $CXX_FOR_TARGET`
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14611 $as_echo "pre-installed
in $ac_dir" >&6; }
14613 # Canadian cross, just use what we found
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14615 $as_echo "pre-installed
" >&6; }
14619 case " ${configdirs} " in
14623 case ,${enable_languages}, in
14627 if test $ok = yes; then
14628 # An in-tree tool is available and we can use it
14629 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'
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14631 $as_echo "just compiled
" >&6; }
14632 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14633 # We already found the complete path
14634 ac_dir=`dirname $CXX_FOR_TARGET`
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14636 $as_echo "pre-installed
in $ac_dir" >&6; }
14637 elif test "x
$target" = "x
$host"; then
14638 # We can use an host tool
14639 CXX_FOR_TARGET='$(CXX)'
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14641 $as_echo "host tool
" >&6; }
14643 # We need a cross tool
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14645 $as_echo "pre-installed
" >&6; }
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14650 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14651 if test "x
${build}" != "x
${host}" ; then
14652 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14653 # We already found the complete path
14654 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14656 $as_echo "pre-installed
in $ac_dir" >&6; }
14658 # Canadian cross, just use what we found
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14660 $as_echo "pre-installed
" >&6; }
14664 case " ${configdirs} " in
14668 case ,${enable_languages}, in
14672 if test $ok = yes; then
14673 # An in-tree tool is available and we can use it
14674 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'
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14676 $as_echo "just compiled
" >&6; }
14677 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14678 # We already found the complete path
14679 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14681 $as_echo "pre-installed
in $ac_dir" >&6; }
14682 elif test "x
$target" = "x
$host"; then
14683 # We can use an host tool
14684 RAW_CXX_FOR_TARGET='$(CXX)'
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14686 $as_echo "host tool
" >&6; }
14688 # We need a cross tool
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14690 $as_echo "pre-installed
" >&6; }
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14695 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14696 if test "x
${build}" != "x
${host}" ; then
14697 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14698 # We already found the complete path
14699 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14701 $as_echo "pre-installed
in $ac_dir" >&6; }
14703 # Canadian cross, just use what we found
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14705 $as_echo "pre-installed
" >&6; }
14709 case " ${configdirs} " in
14714 if test $ok = yes; then
14715 # An in-tree tool is available and we can use it
14716 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14718 $as_echo "just compiled
" >&6; }
14719 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14720 # We already found the complete path
14721 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14723 $as_echo "pre-installed
in $ac_dir" >&6; }
14724 elif test "x
$target" = "x
$host"; then
14725 # We can use an host tool
14726 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14728 $as_echo "host tool
" >&6; }
14730 # We need a cross tool
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14732 $as_echo "pre-installed
" >&6; }
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14737 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14738 if test "x
${build}" != "x
${host}" ; then
14739 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14740 # We already found the complete path
14741 ac_dir=`dirname $GCC_FOR_TARGET`
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14743 $as_echo "pre-installed
in $ac_dir" >&6; }
14745 # Canadian cross, just use what we found
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14747 $as_echo "pre-installed
" >&6; }
14751 case " ${configdirs} " in
14756 if test $ok = yes; then
14757 # An in-tree tool is available and we can use it
14758 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14760 $as_echo "just compiled
" >&6; }
14761 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14762 # We already found the complete path
14763 ac_dir=`dirname $GCC_FOR_TARGET`
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14765 $as_echo "pre-installed
in $ac_dir" >&6; }
14766 elif test "x
$target" = "x
$host"; then
14767 # We can use an host tool
14768 GCC_FOR_TARGET='$()'
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14770 $as_echo "host tool
" >&6; }
14772 # We need a cross tool
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14774 $as_echo "pre-installed
" >&6; }
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14779 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14780 if test "x
${build}" != "x
${host}" ; then
14781 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14782 # We already found the complete path
14783 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14785 $as_echo "pre-installed
in $ac_dir" >&6; }
14787 # Canadian cross, just use what we found
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14789 $as_echo "pre-installed
" >&6; }
14793 case " ${configdirs} " in
14797 case ,${enable_languages}, in
14801 if test $ok = yes; then
14802 # An in-tree tool is available and we can use it
14803 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14805 $as_echo "just compiled
" >&6; }
14806 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14807 # We already found the complete path
14808 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14810 $as_echo "pre-installed
in $ac_dir" >&6; }
14811 elif test "x
$target" = "x
$host"; then
14812 # We can use an host tool
14813 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14815 $as_echo "host tool
" >&6; }
14817 # We need a cross tool
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14819 $as_echo "pre-installed
" >&6; }
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14824 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14825 if test "x
${build}" != "x
${host}" ; then
14826 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14827 # We already found the complete path
14828 ac_dir=`dirname $GOC_FOR_TARGET`
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14830 $as_echo "pre-installed
in $ac_dir" >&6; }
14832 # Canadian cross, just use what we found
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14834 $as_echo "pre-installed
" >&6; }
14838 case " ${configdirs} " in
14842 case ,${enable_languages}, in
14846 if test $ok = yes; then
14847 # An in-tree tool is available and we can use it
14848 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14850 $as_echo "just compiled
" >&6; }
14851 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14852 # We already found the complete path
14853 ac_dir=`dirname $GOC_FOR_TARGET`
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14855 $as_echo "pre-installed
in $ac_dir" >&6; }
14856 elif test "x
$target" = "x
$host"; then
14857 # We can use an host tool
14858 GOC_FOR_TARGET='$(GOC)'
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14860 $as_echo "host tool
" >&6; }
14862 # We need a cross tool
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14864 $as_echo "pre-installed
" >&6; }
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gdc
" >&5
14869 $as_echo_n "checking where to
find the target gdc...
" >&6; }
14870 if test "x
${build}" != "x
${host}" ; then
14871 if expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
14872 # We already found the complete path
14873 ac_dir=`dirname $GDC_FOR_TARGET`
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14875 $as_echo "pre-installed
in $ac_dir" >&6; }
14877 # Canadian cross, just use what we found
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14879 $as_echo "pre-installed
" >&6; }
14883 case " ${configdirs} " in
14887 case ,${enable_languages}, in
14891 if test $ok = yes; then
14892 # An in-tree tool is available and we can use it
14893 GDC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/'
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14895 $as_echo "just compiled
" >&6; }
14896 elif expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
14897 # We already found the complete path
14898 ac_dir=`dirname $GDC_FOR_TARGET`
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14900 $as_echo "pre-installed
in $ac_dir" >&6; }
14901 elif test "x
$target" = "x
$host"; then
14902 # We can use an host tool
14903 GDC_FOR_TARGET='$(GDC)'
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14905 $as_echo "host tool
" >&6; }
14907 # We need a cross tool
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14909 $as_echo "pre-installed
" >&6; }
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14914 $as_echo_n "checking where to
find the target ld...
" >&6; }
14915 if test "x
${build}" != "x
${host}" ; then
14916 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14917 # We already found the complete path
14918 ac_dir=`dirname $LD_FOR_TARGET`
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14920 $as_echo "pre-installed
in $ac_dir" >&6; }
14922 # Canadian cross, just use what we found
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14924 $as_echo "pre-installed
" >&6; }
14928 case " ${configdirs} " in
14933 if test $ok = yes; then
14934 # An in-tree tool is available and we can use it
14935 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14937 $as_echo "just compiled
" >&6; }
14938 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14939 # We already found the complete path
14940 ac_dir=`dirname $LD_FOR_TARGET`
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14942 $as_echo "pre-installed
in $ac_dir" >&6; }
14943 elif test "x
$target" = "x
$host"; then
14944 # We can use an host tool
14945 LD_FOR_TARGET='$(LD)'
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14947 $as_echo "host tool
" >&6; }
14949 # We need a cross tool
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14951 $as_echo "pre-installed
" >&6; }
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14956 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14957 if test "x
${build}" != "x
${host}" ; then
14958 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14959 # We already found the complete path
14960 ac_dir=`dirname $LIPO_FOR_TARGET`
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14962 $as_echo "pre-installed
in $ac_dir" >&6; }
14964 # Canadian cross, just use what we found
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14966 $as_echo "pre-installed
" >&6; }
14969 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14970 # We already found the complete path
14971 ac_dir=`dirname $LIPO_FOR_TARGET`
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14973 $as_echo "pre-installed
in $ac_dir" >&6; }
14974 elif test "x
$target" = "x
$host"; then
14975 # We can use an host tool
14976 LIPO_FOR_TARGET='$(LIPO)'
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14978 $as_echo "host tool
" >&6; }
14980 # We need a cross tool
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14982 $as_echo "pre-installed
" >&6; }
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14987 $as_echo_n "checking where to
find the target nm...
" >&6; }
14988 if test "x
${build}" != "x
${host}" ; then
14989 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14990 # We already found the complete path
14991 ac_dir=`dirname $NM_FOR_TARGET`
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14993 $as_echo "pre-installed
in $ac_dir" >&6; }
14995 # Canadian cross, just use what we found
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14997 $as_echo "pre-installed
" >&6; }
15001 case " ${configdirs} " in
15006 if test $ok = yes; then
15007 # An in-tree tool is available and we can use it
15008 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15010 $as_echo "just compiled
" >&6; }
15011 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
15012 # We already found the complete path
15013 ac_dir=`dirname $NM_FOR_TARGET`
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15015 $as_echo "pre-installed
in $ac_dir" >&6; }
15016 elif test "x
$target" = "x
$host"; then
15017 # We can use an host tool
15018 NM_FOR_TARGET='$(NM)'
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15020 $as_echo "host tool
" >&6; }
15022 # We need a cross tool
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15024 $as_echo "pre-installed
" >&6; }
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
15029 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
15030 if test "x
${build}" != "x
${host}" ; then
15031 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
15032 # We already found the complete path
15033 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15035 $as_echo "pre-installed
in $ac_dir" >&6; }
15037 # Canadian cross, just use what we found
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15039 $as_echo "pre-installed
" >&6; }
15043 case " ${configdirs} " in
15048 if test $ok = yes; then
15049 # An in-tree tool is available and we can use it
15050 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15052 $as_echo "just compiled
" >&6; }
15053 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
15054 # We already found the complete path
15055 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15057 $as_echo "pre-installed
in $ac_dir" >&6; }
15058 elif test "x
$target" = "x
$host"; then
15059 # We can use an host tool
15060 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15062 $as_echo "host tool
" >&6; }
15064 # We need a cross tool
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15066 $as_echo "pre-installed
" >&6; }
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
15071 $as_echo_n "checking where to
find the target objdump...
" >&6; }
15072 if test "x
${build}" != "x
${host}" ; then
15073 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
15074 # We already found the complete path
15075 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15077 $as_echo "pre-installed
in $ac_dir" >&6; }
15079 # Canadian cross, just use what we found
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15081 $as_echo "pre-installed
" >&6; }
15085 case " ${configdirs} " in
15090 if test $ok = yes; then
15091 # An in-tree tool is available and we can use it
15092 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15094 $as_echo "just compiled
" >&6; }
15095 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
15096 # We already found the complete path
15097 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15099 $as_echo "pre-installed
in $ac_dir" >&6; }
15100 elif test "x
$target" = "x
$host"; then
15101 # We can use an host tool
15102 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15104 $as_echo "host tool
" >&6; }
15106 # We need a cross tool
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15108 $as_echo "pre-installed
" >&6; }
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target otool
" >&5
15113 $as_echo_n "checking where to
find the target otool...
" >&6; }
15114 if test "x
${build}" != "x
${host}" ; then
15115 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
15116 # We already found the complete path
15117 ac_dir=`dirname $OTOOL_FOR_TARGET`
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15119 $as_echo "pre-installed
in $ac_dir" >&6; }
15121 # Canadian cross, just use what we found
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15123 $as_echo "pre-installed
" >&6; }
15126 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
15127 # We already found the complete path
15128 ac_dir=`dirname $OTOOL_FOR_TARGET`
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15130 $as_echo "pre-installed
in $ac_dir" >&6; }
15131 elif test "x
$target" = "x
$host"; then
15132 # We can use an host tool
15133 OTOOL_FOR_TARGET='$(OTOOL)'
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15135 $as_echo "host tool
" >&6; }
15137 # We need a cross tool
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15139 $as_echo "pre-installed
" >&6; }
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
15144 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
15145 if test "x
${build}" != "x
${host}" ; then
15146 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
15147 # We already found the complete path
15148 ac_dir=`dirname $RANLIB_FOR_TARGET`
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15150 $as_echo "pre-installed
in $ac_dir" >&6; }
15152 # Canadian cross, just use what we found
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15154 $as_echo "pre-installed
" >&6; }
15158 case " ${configdirs} " in
15163 if test $ok = yes; then
15164 # An in-tree tool is available and we can use it
15165 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15167 $as_echo "just compiled
" >&6; }
15168 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
15169 # We already found the complete path
15170 ac_dir=`dirname $RANLIB_FOR_TARGET`
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15172 $as_echo "pre-installed
in $ac_dir" >&6; }
15173 elif test "x
$target" = "x
$host"; then
15174 # We can use an host tool
15175 RANLIB_FOR_TARGET='$(RANLIB)'
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15177 $as_echo "host tool
" >&6; }
15179 # We need a cross tool
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15181 $as_echo "pre-installed
" >&6; }
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
15186 $as_echo_n "checking where to
find the target readelf...
" >&6; }
15187 if test "x
${build}" != "x
${host}" ; then
15188 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
15189 # We already found the complete path
15190 ac_dir=`dirname $READELF_FOR_TARGET`
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15192 $as_echo "pre-installed
in $ac_dir" >&6; }
15194 # Canadian cross, just use what we found
15195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15196 $as_echo "pre-installed
" >&6; }
15200 case " ${configdirs} " in
15205 if test $ok = yes; then
15206 # An in-tree tool is available and we can use it
15207 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15209 $as_echo "just compiled
" >&6; }
15210 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
15211 # We already found the complete path
15212 ac_dir=`dirname $READELF_FOR_TARGET`
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15214 $as_echo "pre-installed
in $ac_dir" >&6; }
15215 elif test "x
$target" = "x
$host"; then
15216 # We can use an host tool
15217 READELF_FOR_TARGET='$(READELF)'
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15219 $as_echo "host tool
" >&6; }
15221 # We need a cross tool
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15223 $as_echo "pre-installed
" >&6; }
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
15228 $as_echo_n "checking where to
find the target strip...
" >&6; }
15229 if test "x
${build}" != "x
${host}" ; then
15230 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
15231 # We already found the complete path
15232 ac_dir=`dirname $STRIP_FOR_TARGET`
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15234 $as_echo "pre-installed
in $ac_dir" >&6; }
15236 # Canadian cross, just use what we found
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15238 $as_echo "pre-installed
" >&6; }
15242 case " ${configdirs} " in
15247 if test $ok = yes; then
15248 # An in-tree tool is available and we can use it
15249 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15251 $as_echo "just compiled
" >&6; }
15252 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
15253 # We already found the complete path
15254 ac_dir=`dirname $STRIP_FOR_TARGET`
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15256 $as_echo "pre-installed
in $ac_dir" >&6; }
15257 elif test "x
$target" = "x
$host"; then
15258 # We can use an host tool
15259 STRIP_FOR_TARGET='$(STRIP)'
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15261 $as_echo "host tool
" >&6; }
15263 # We need a cross tool
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15265 $as_echo "pre-installed
" >&6; }
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
15270 $as_echo_n "checking where to
find the target windres...
" >&6; }
15271 if test "x
${build}" != "x
${host}" ; then
15272 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15273 # We already found the complete path
15274 ac_dir=`dirname $WINDRES_FOR_TARGET`
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15276 $as_echo "pre-installed
in $ac_dir" >&6; }
15278 # Canadian cross, just use what we found
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15280 $as_echo "pre-installed
" >&6; }
15284 case " ${configdirs} " in
15289 if test $ok = yes; then
15290 # An in-tree tool is available and we can use it
15291 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15293 $as_echo "just compiled
" >&6; }
15294 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15295 # We already found the complete path
15296 ac_dir=`dirname $WINDRES_FOR_TARGET`
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15298 $as_echo "pre-installed
in $ac_dir" >&6; }
15299 elif test "x
$target" = "x
$host"; then
15300 # We can use an host tool
15301 WINDRES_FOR_TARGET='$(WINDRES)'
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15303 $as_echo "host tool
" >&6; }
15305 # We need a cross tool
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15307 $as_echo "pre-installed
" >&6; }
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
15312 $as_echo_n "checking where to
find the target windmc...
" >&6; }
15313 if test "x
${build}" != "x
${host}" ; then
15314 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15315 # We already found the complete path
15316 ac_dir=`dirname $WINDMC_FOR_TARGET`
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15318 $as_echo "pre-installed
in $ac_dir" >&6; }
15320 # Canadian cross, just use what we found
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15322 $as_echo "pre-installed
" >&6; }
15326 case " ${configdirs} " in
15331 if test $ok = yes; then
15332 # An in-tree tool is available and we can use it
15333 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15335 $as_echo "just compiled
" >&6; }
15336 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15337 # We already found the complete path
15338 ac_dir=`dirname $WINDMC_FOR_TARGET`
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15340 $as_echo "pre-installed
in $ac_dir" >&6; }
15341 elif test "x
$target" = "x
$host"; then
15342 # We can use an host tool
15343 WINDMC_FOR_TARGET='$(WINDMC)'
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15345 $as_echo "host tool
" >&6; }
15347 # We need a cross tool
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15349 $as_echo "pre-installed
" >&6; }
15357 # Certain tools may need extra flags.
15358 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
15359 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
15360 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
15362 # When building target libraries, except in a Canadian cross, we use
15363 # the same toolchain as the compiler we just built.
15364 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
15365 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
15366 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
15367 if test $host = $build; then
15368 case " $configdirs " in
15370 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
15371 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
15372 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
15382 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
15383 # Check whether --enable-maintainer-mode was given.
15384 if test "${enable_maintainer_mode+set}" = set; then :
15385 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
15387 USE_MAINTAINER_MODE=no
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
15391 $as_echo "$USE_MAINTAINER_MODE" >&6; }
15394 if test "$USE_MAINTAINER_MODE" = yes; then
15395 MAINTAINER_MODE_TRUE=
15396 MAINTAINER_MODE_FALSE='#'
15398 MAINTAINER_MODE_TRUE='#'
15399 MAINTAINER_MODE_FALSE=
15401 MAINT=$MAINTAINER_MODE_TRUE
15403 # ---------------------
15404 # GCC bootstrap support
15405 # ---------------------
15407 # Stage specific cflags for build.
15412 yes) stage1_cflags="-g -Wa,-J" ;;
15413 *) stage1_cflags="-g -J" ;;
15419 # Enable --enable-checking in stage1 of the compiler.
15420 # Check whether --enable-stage1-checking was given.
15421 if test "${enable_stage1_checking+set}" = set; then :
15422 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
15424 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
15425 # For --disable-checking or implicit --enable-checking=release, avoid
15426 # setting --enable-checking=gc in the default stage1 checking for LTO
15427 # bootstraps. See PR62077.
15428 case $BUILD_CONFIG in
15430 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
15432 stage1_checking=--enable-checking=yes,types;;
15434 if test "x
$enable_checking" = x && \
15435 test -d ${srcdir}/gcc && \
15436 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
15437 stage1_checking=--enable-checking=yes,types,extra
15440 stage1_checking=--enable-checking=$enable_checking,types
15446 # Enable -Werror in bootstrap stage2 and later.
15447 # Check whether --enable-werror was given.
15448 if test "${enable_werror+set}" = set; then :
15449 enableval=$enable_werror;
15450 case ${enable_werror} in
15451 yes) stage2_werror_flag="--enable-werror-always" ;;
15452 *) stage2_werror_flag="" ;;
15457 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
15458 case $BUILD_CONFIG in
15460 stage2_werror_flag="--enable-werror-always" ;;
15462 stage2_werror_flag="--enable-werror-always" ;;
15471 # Specify what files to not compare during bootstrap.
15473 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
15475 hppa*64*-*-hpux*) ;;
15476 hppa*-*-hpux*) compare_exclusions="$compare_exclusions |
*/libgcc
/lib2funcs
* | gcc
/function-tests.o
" ;;
15477 powerpc*-ibm-aix*) compare_exclusions="$compare_exclusions |
*libgomp
*\$
(objext
)" ;;
15481 ac_config_files="$ac_config_files Makefile
"
15483 cat >confcache <<\_ACEOF
15484 # This file is a shell script that caches the results of configure
15485 # tests run on this system so they can be shared between configure
15486 # scripts and configure runs, see configure's option --config-cache.
15487 # It is not useful on other systems. If it contains results you don't
15488 # want to keep, you may remove or edit it.
15490 # config.status only pays attention to the cache file if you give it
15491 # the --recheck option to rerun configure.
15493 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15494 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15495 # following values.
15499 # The following way of writing the cache mishandles newlines in values,
15500 # but we know of no workaround that is simple, portable, and efficient.
15501 # So, we kill variables containing newlines.
15502 # Ultrix sh set writes to stderr and can't be redirected directly,
15503 # and sets the high bit in the cache file unless we assign to the vars.
15505 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15506 eval ac_val=\$$ac_var
15510 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15511 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15514 _ | IFS | as_nl) ;; #(
15515 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15516 *) { eval $ac_var=; unset $ac_var;} ;;
15522 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15523 *${as_nl}ac_space=\ *)
15524 # `set' does not quote correctly, so add quotes: double-quote
15525 # substitution turns \\\\ into \\, and sed turns \\ into \.
15528 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15531 # `set' quotes correctly as required by POSIX, so do not add quotes.
15532 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15541 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15543 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15545 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15546 if test -w "$cache_file"; then
15547 if test "x
$cache_file" != "x
/dev
/null
"; then
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15549 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15550 if test ! -f "$cache_file" || test -h "$cache_file"; then
15551 cat confcache >"$cache_file"
15553 case $cache_file in #(
15555 mv -f confcache "$cache_file"$$ &&
15556 mv -f "$cache_file"$$ "$cache_file" ;; #(
15558 mv -f confcache "$cache_file" ;;
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15564 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15569 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15570 # Let make expand exec_prefix.
15571 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15573 # Transform confdefs.h into DEFS.
15574 # Protect against shell expansion while executing Makefile rules.
15575 # Protect against Makefile macro expansion.
15577 # If the first sed substitution is executed (which looks for macros that
15578 # take arguments), then branch to the quote section. Otherwise,
15579 # look for a macro that doesn't take arguments.
15589 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15591 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15595 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15608 DEFS=`sed -n "$ac_script" confdefs.h`
15614 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15615 # 1. Remove the extension, and $U if already installed.
15616 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15617 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15618 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15619 # will be set to the directory where LIBOBJS objects are built.
15620 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15621 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15623 LIBOBJS=$ac_libobjs
15625 LTLIBOBJS=$ac_ltlibobjs
15629 : "${CONFIG_STATUS=./config.status}"
15631 ac_clean_files_save=$ac_clean_files
15632 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15634 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15636 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15638 # Generated by $as_me.
15639 # Run this file to recreate the current configuration.
15640 # Compiler output produced by configure, useful for debugging
15641 # configure, is in config.log if it exists.
15644 ac_cs_recheck=false
15647 SHELL=\${CONFIG_SHELL-$SHELL}
15650 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15651 ## -------------------- ##
15652 ## M4sh Initialization. ##
15653 ## -------------------- ##
15655 # Be more Bourne compatible
15656 DUALCASE=1; export DUALCASE # for MKS sh
15657 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15660 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15661 # is contrary to our usage. Disable this feature.
15662 alias -g '${1+"$@"}'='"$@"'
15663 setopt NO_GLOB_SUBST
15665 case `(set -o) 2>/dev/null` in #(
15677 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15678 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15679 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15680 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15681 # Prefer a ksh shell builtin over an external printf program on Solaris,
15682 # but without wasting forks for bash or zsh.
15683 if test -z "$BASH_VERSION$ZSH_VERSION" \
15684 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15685 as_echo
='print -r --'
15686 as_echo_n
='print -rn --'
15687 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15688 as_echo
='printf %s\n'
15689 as_echo_n
='printf %s'
15691 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15692 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15693 as_echo_n
='/usr/ucb/echo -n'
15695 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15696 as_echo_n_body
='eval
15700 expr "X$arg" : "X\\(.*\\)$as_nl";
15701 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15703 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15705 export as_echo_n_body
15706 as_echo_n
='sh -c $as_echo_n_body as_echo'
15708 export as_echo_body
15709 as_echo
='sh -c $as_echo_body as_echo'
15712 # The user is always right.
15713 if test "${PATH_SEPARATOR+set}" != set; then
15715 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15716 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15723 # We need space, tab and new line, in precisely that order. Quoting is
15724 # there to prevent editors from complaining about space-tab.
15725 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15726 # splitting by setting IFS to empty value.)
15729 # Find who we are. Look in the path if we contain no directory separator.
15732 *[\\/]* ) as_myself
=$0 ;;
15733 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15734 for as_dir
in $PATH
15737 test -z "$as_dir" && as_dir
=.
15738 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15744 # We did not find ourselves, most probably we were run as `sh COMMAND'
15745 # in which case we are not to be found in the path.
15746 if test "x$as_myself" = x
; then
15749 if test ! -f "$as_myself"; then
15750 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15754 # Unset variables that we do not need and which cause bugs (e.g. in
15755 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15756 # suppresses any "Segmentation fault" message there. '((' could
15757 # trigger a bug in pdksh 5.2.14.
15758 for as_var
in BASH_ENV ENV MAIL MAILPATH
15759 do eval test x\
${$as_var+set} = xset \
15760 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15773 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15776 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15777 # ----------------------------------------
15778 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15779 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15780 # script with STATUS, using 1 if that was 0.
15783 as_status
=$1; test $as_status -eq 0 && as_status
=1
15785 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15786 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15788 $as_echo "$as_me: error: $2" >&2
15789 as_fn_exit
$as_status
15793 # as_fn_set_status STATUS
15794 # -----------------------
15795 # Set $? to STATUS, without forking.
15796 as_fn_set_status
()
15799 } # as_fn_set_status
15801 # as_fn_exit STATUS
15802 # -----------------
15803 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15807 as_fn_set_status
$1
15813 # Portably unset VAR.
15816 { eval $1=; unset $1;}
15818 as_unset
=as_fn_unset
15819 # as_fn_append VAR VALUE
15820 # ----------------------
15821 # Append the text in VALUE to the end of the definition contained in VAR. Take
15822 # advantage of any shell optimizations that allow amortized linear growth over
15823 # repeated appends, instead of the typical quadratic growth present in naive
15825 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15826 eval 'as_fn_append ()
15837 # as_fn_arith ARG...
15838 # ------------------
15839 # Perform arithmetic evaluation on the ARGs, and store the result in the
15840 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15841 # must be portable across $(()) and expr.
15842 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15843 eval 'as_fn_arith ()
15850 as_val
=`expr "$@" || test $? -eq 1`
15855 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15856 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15862 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15863 as_basename
=basename
15868 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15874 as_me
=`$as_basename -- "$0" ||
15875 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15876 X"$0" : 'X\(//\)$' \| \
15877 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15879 sed '/^.*\/\([^/][^/]*\)\/*$/{
15893 # Avoid depending upon Character Ranges.
15894 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15895 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15896 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15897 as_cr_digits
='0123456789'
15898 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15900 ECHO_C
= ECHO_N
= ECHO_T
=
15901 case `echo -n x` in #(((((
15903 case `echo 'xy\c'` in
15904 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15906 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15913 rm -f conf$$ conf$$.exe conf$$.
file
15914 if test -d conf$$.dir
; then
15915 rm -f conf$$.dir
/conf$$.
file
15918 mkdir conf$$.dir
2>/dev
/null
15920 if (echo >conf$$.
file) 2>/dev
/null
; then
15921 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15923 # ... but there are two gotchas:
15924 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15925 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15926 # In both cases, we have to default to `cp -pR'.
15927 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15929 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15937 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15938 rmdir conf$$.dir
2>/dev
/null
15943 # Create "$as_dir" as a directory, including parents if necessary.
15948 -*) as_dir
=.
/$as_dir;;
15950 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15954 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15955 *) as_qdir
=$as_dir;;
15957 as_dirs
="'$as_qdir' $as_dirs"
15958 as_dir
=`$as_dirname -- "$as_dir" ||
15959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15960 X"$as_dir" : 'X\(//\)[^/]' \| \
15961 X"$as_dir" : 'X\(//\)$' \| \
15962 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15963 $as_echo X"$as_dir" |
15964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15968 /^X\(\/\/\)[^/].*/{
15981 test -d "$as_dir" && break
15983 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15984 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15988 if mkdir
-p .
2>/dev
/null
; then
15989 as_mkdir_p
='mkdir -p "$as_dir"'
15991 test -d .
/-p && rmdir .
/-p
15996 # as_fn_executable_p FILE
15997 # -----------------------
15998 # Test if FILE is an executable regular file.
15999 as_fn_executable_p
()
16001 test -f "$1" && test -x "$1"
16002 } # as_fn_executable_p
16003 as_test_x
='test -x'
16004 as_executable_p
=as_fn_executable_p
16006 # Sed expression to map a string onto a valid CPP name.
16007 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16009 # Sed expression to map a string onto a valid variable name.
16010 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16014 ## ----------------------------------- ##
16015 ## Main body of $CONFIG_STATUS script. ##
16016 ## ----------------------------------- ##
16018 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16021 # Save the log message, to keep $0 and so on meaningful, and to
16022 # report actual input values of CONFIG_FILES etc. instead of their
16023 # values after options handling.
16025 This file was extended by $as_me, which was
16026 generated by GNU Autoconf 2.69. Invocation command line was
16028 CONFIG_FILES = $CONFIG_FILES
16029 CONFIG_HEADERS = $CONFIG_HEADERS
16030 CONFIG_LINKS = $CONFIG_LINKS
16031 CONFIG_COMMANDS = $CONFIG_COMMANDS
16034 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16039 case $ac_config_files in *"
16040 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16046 # Files that config.status was made for.
16047 config_files="$ac_config_files"
16051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16053 \`$as_me' instantiates files and other configuration actions
16054 from templates according to the current configuration. Unless the files
16055 and actions are specified as TAGs, all are instantiated by default.
16057 Usage: $0 [OPTION]... [TAG]...
16059 -h, --help print this help, then exit
16060 -V, --version print version number and configuration settings, then exit
16061 --config print configuration, then exit
16062 -q, --quiet, --silent
16063 do not print progress messages
16064 -d, --debug don't remove temporary files
16065 --recheck update $as_me by reconfiguring in the same conditions
16066 --file=FILE[:TEMPLATE]
16067 instantiate the configuration file FILE
16069 Configuration files:
16072 Report bugs to the package provider."
16075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16076 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16079 configured by $0, generated by GNU Autoconf 2.69,
16080 with options \\"\$ac_cs_config\\"
16082 Copyright (C) 2012 Free Software Foundation, Inc.
16083 This config.status script is free software; the Free Software Foundation
16084 gives unlimited permission to copy, distribute and modify it."
16090 test -n "\$AWK" || AWK=awk
16093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16094 # The default lists apply if the user does not specify any file.
16100 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16101 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16105 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16117 # Handling of the options.
16118 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16120 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16121 $as_echo "$ac_cs_version"; exit ;;
16122 --config |
--confi |
--conf |
--con |
--co |
--c )
16123 $as_echo "$ac_cs_config"; exit ;;
16124 --debug |
--debu |
--deb |
--de |
--d |
-d )
16126 --file |
--fil |
--fi |
--f )
16129 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16130 '') as_fn_error $?
"missing file argument" ;;
16132 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16133 ac_need_defaults
=false
;;
16134 --he |
--h |
--help |
--hel |
-h )
16135 $as_echo "$ac_cs_usage"; exit ;;
16136 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16137 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16140 # This is an error.
16141 -*) as_fn_error $?
"unrecognized option: \`$1'
16142 Try \`$0 --help' for more information." ;;
16144 *) as_fn_append ac_config_targets
" $1"
16145 ac_need_defaults
=false
;;
16151 ac_configure_extra_args
=
16153 if $ac_cs_silent; then
16155 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16160 if \$ac_cs_recheck; then
16161 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16163 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16164 CONFIG_SHELL='$SHELL'
16165 export CONFIG_SHELL
16170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16174 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16175 ## Running $as_me. ##
16181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16185 extrasub_build="$extrasub_build"
16186 extrasub_host="$extrasub_host"
16187 extrasub_target="$extrasub_target"
16191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16193 # Handling of arguments.
16194 for ac_config_target
in $ac_config_targets
16196 case $ac_config_target in
16197 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16199 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16204 # If the user did not use the arguments to specify the items to instantiate,
16205 # then the envvar interface is used. Set only those that are not.
16206 # We use the long form for the default assignment because of an extremely
16207 # bizarre bug on SunOS 4.1.3.
16208 if $ac_need_defaults; then
16209 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16212 # Have a temporary directory for convenience. Make it in the build tree
16213 # simply because there is no reason against having it here, and in addition,
16214 # creating and moving files from /tmp can sometimes cause problems.
16215 # Hook for its removal unless debugging.
16216 # Note that there is a small window in which the directory will not be cleaned:
16217 # after its creation but before its name has been assigned to `$tmp'.
16221 trap 'exit_status=$?
16222 : "${ac_tmp:=$tmp}"
16223 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16225 trap 'as_fn_exit 1' 1 2 13 15
16227 # Create a (secure) tmp directory for tmp files.
16230 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16234 tmp
=.
/conf$$
-$RANDOM
16235 (umask 077 && mkdir
"$tmp")
16236 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16239 # Set up the scripts for CONFIG_FILES section.
16240 # No need to generate them if there are no CONFIG_FILES.
16241 # This happens for instance with `./config.status config.h'.
16242 if test -n "$CONFIG_FILES"; then
16244 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16245 ac_cs_awk_getline
=:
16246 ac_cs_awk_pipe_init
=
16247 ac_cs_awk_read_file
='
16248 while ((getline aline < (F[key])) > 0)
16251 ac_cs_awk_pipe_fini
=
16253 ac_cs_awk_getline
=false
16254 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16255 ac_cs_awk_read_file
='
16257 print "cat " F[key] " &&"
16258 '$ac_cs_awk_pipe_init
16259 # The final `:' finishes the AND list.
16260 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16262 ac_cr
=`echo X | tr X '\015'`
16263 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16264 # But we know of no other shell where ac_cr would be empty at this
16265 # point, so we can use a bashism as a fallback.
16266 if test "x$ac_cr" = x
; then
16267 eval ac_cr
=\$
\'\\r
\'
16269 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16270 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16273 ac_cs_awk_cr
=$ac_cr
16276 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16279 # Create commands to substitute file output variables.
16281 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16282 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16283 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16286 } >conf$
$files.sh
&&
16287 . .
/conf$
$files.sh ||
16288 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16289 rm -f conf$
$files.sh
16292 echo "cat >conf$$subs.awk <<_ACEOF" &&
16293 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16295 } >conf$$subs.sh ||
16296 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16297 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16299 for ac_last_try in false false false false false :; do
16300 . ./conf$$subs.sh ||
16301 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16303 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16304 if test $ac_delim_n = $ac_delim_num; then
16306 elif $ac_last_try; then
16307 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16309 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16312 rm -f conf$$subs.sh
16314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16315 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16319 s/^/S["/; s
/!.
*/"]=/
16329 s/\(.\{148\}\)..*/\1/
16331 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16336 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16343 s/\(.\{148\}\)..*/\1/
16345 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16349 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16354 ' <conf$$subs.awk | sed '
16359 ' >>$CONFIG_STATUS || ac_write_fail=1
16360 rm -f conf$$subs.awk
16361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16363 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16364 for (key in S) S_is_set[key] = 1
16366 \$ac_cs_awk_pipe_init
16370 nfields = split(line, field, "@
")
16372 len = length(field[1])
16373 for (i = 2; i < nfields; i++) {
16375 keylen = length(key)
16376 if (S_is_set[key]) {
16378 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16379 len += length(value) + length(field[++i])
16384 if (nfields == 3 && !substed) {
16386 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16387 \$ac_cs_awk_read_file
16393 \$ac_cs_awk_pipe_fini
16396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16397 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16398 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16401 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16402 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16405 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16406 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16407 # trailing colons and then remove the whole line if VPATH becomes empty
16408 # (actually we leave an empty line to preserve line numbers).
16409 if test "x
$srcdir" = x.; then
16410 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16429 fi # test -n "$CONFIG_FILES"
16432 eval set X " :F
$CONFIG_FILES "
16437 :[FHLC]) ac_mode=$ac_tag; continue;;
16439 case $ac_mode$ac_tag in
16441 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16442 :[FH]-) ac_tag=-:-;;
16443 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16460 -) ac_f="$ac_tmp/stdin";;
16461 *) # Look for the file first in the build tree, then in the source tree
16462 # (if the path is not absolute). The absolute path cannot be DOS-style,
16463 # because $ac_f cannot contain `:'.
16467 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16469 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16471 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16472 as_fn_append ac_file_inputs " '$ac_f'"
16475 # Let's still pretend it is `configure' which instantiates (i.e., don't
16476 # use $as_me), people would be surprised to read:
16477 # /* config.h. Generated by config.status. */
16478 configure_input='Generated from '`
16479 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16481 if test x"$ac_file" != x-; then
16482 configure_input="$ac_file.
$configure_input"
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16484 $as_echo "$as_me: creating
$ac_file" >&6;}
16486 # Neutralize special characters interpreted by sed in replacement strings.
16487 case $configure_input in #(
16488 *\&* | *\|* | *\\* )
16489 ac_sed_conf_input=`$as_echo "$configure_input" |
16490 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16491 *) ac_sed_conf_input=$configure_input;;
16495 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16496 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16501 ac_dir=`$as_dirname -- "$ac_file" ||
16502 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16503 X"$ac_file" : 'X\(//\)[^/]' \| \
16504 X"$ac_file" : 'X\(//\)$' \| \
16505 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16506 $as_echo X"$ac_file" |
16507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16511 /^X\(\/\/\)[^/].*/{
16524 as_dir="$ac_dir"; as_fn_mkdir_p
16528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16530 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16531 # A "..
" for each directory in $ac_dir_suffix.
16532 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16533 case $ac_top_builddir_sub in
16534 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16535 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16538 ac_abs_top_builddir=$ac_pwd
16539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16540 # for backward compatibility:
16541 ac_top_builddir=$ac_top_build_prefix
16544 .) # We are building in place.
16546 ac_top_srcdir=$ac_top_builddir_sub
16547 ac_abs_top_srcdir=$ac_pwd ;;
16548 [\\/]* | ?:[\\/]* ) # Absolute name.
16549 ac_srcdir=$srcdir$ac_dir_suffix;
16550 ac_top_srcdir=$srcdir
16551 ac_abs_top_srcdir=$srcdir ;;
16552 *) # Relative name.
16553 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16554 ac_top_srcdir=$ac_top_build_prefix$srcdir
16555 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16567 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16568 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16573 # If the template does not know about datarootdir, expand it.
16574 # FIXME: This hack should be removed a few years after 2.60.
16575 ac_datarootdir_hack=; ac_datarootdir_seen=
16586 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16587 *datarootdir*) ac_datarootdir_seen=yes;;
16588 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16590 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16593 ac_datarootdir_hack='
16594 s&@datadir@&$datadir&g
16595 s&@docdir@&$docdir&g
16596 s&@infodir@&$infodir&g
16597 s&@localedir@&$localedir&g
16598 s&@mandir@&$mandir&g
16599 s&\\\${datarootdir}&$datarootdir&g' ;;
16603 # Neutralize VPATH when `$srcdir' = `.'.
16604 # Shell code in configure.ac might set extrasub.
16605 # FIXME: do we really want to maintain this feature?
16606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16607 ac_sed_extra="$ac_vpsub
16610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16612 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16613 s|@configure_input@|
$ac_sed_conf_input|
;t t
16614 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16615 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16616 s
&@srcdir@
&$ac_srcdir&;t t
16617 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16618 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16619 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16620 s
&@builddir@
&$ac_builddir&;t t
16621 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16622 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16623 s
&@INSTALL@
&$ac_INSTALL&;t t
16624 $ac_datarootdir_hack
16626 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16627 if $ac_cs_awk_getline; then
16628 $AWK -f "$ac_tmp/subs.
awk"
16630 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16632 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16634 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16635 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16636 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16637 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16639 which seems to be undefined. Please make sure it is defined" >&5
16640 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16641 which seems to be undefined. Please make sure it is defined" >&2;}
16643 rm -f "$ac_tmp/stdin"
16645 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16646 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16648 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16656 case $ac_file$ac_mode in
16657 "Makefile":F) sed "$extrasub_build" Makefile |
16658 sed "$extrasub_host" |
16659 sed "$extrasub_target" > mf$$
16660 mv -f mf$$ Makefile ;;
16668 ac_clean_files=$ac_clean_files_save
16670 test $ac_write_fail = 0 ||
16671 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16674 # configure is writing to config.log, and then calls config.status.
16675 # config.status does its own redirection, appending to config.log.
16676 # Unfortunately, on DOS this fails, as config.log is still kept open
16677 # by configure, so config.status won't be able to
write to it
; its
16678 # output is simply discarded. So we exec the FD to /dev/null,
16679 # effectively closing config.log, so it can be properly (re)opened and
16680 # appended to by config.status. When coming back to configure, we
16681 # need to make the FD available again.
16682 if test "$no_create" != yes; then
16684 ac_config_status_args
=
16685 test "$silent" = yes &&
16686 ac_config_status_args
="$ac_config_status_args --quiet"
16688 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16690 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16691 # would make configure fail if this is the last instruction.
16692 $ac_cs_success || as_fn_exit
1
16694 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16696 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}