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 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 # the C++ libraries don't build on top of CE's C libraries
3392 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3395 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3398 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3401 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3406 # Disable C++ on systems where it is known to not work.
3407 # For testing, you can override this with --enable-languages=c++.
3408 case ,${enable_languages}, in
3414 unsupported_languages
="$unsupported_languages c++"
3420 # Disable Objc on systems where it is known to not work.
3421 # For testing, you can override this with --enable-languages=objc.
3422 case ,${enable_languages}, in
3428 unsupported_languages
="$unsupported_languages objc"
3434 # Disable D on systems where it is known to not work.
3435 # For testing, you can override this with --enable-languages=d.
3436 case ,${enable_languages}, in
3442 unsupported_languages
="$unsupported_languages d"
3445 unsupported_languages
="$unsupported_languages d"
3451 # Disable libphobos on unsupported systems.
3452 # For testing, you can override this with --enable-libphobos.
3453 if test -d ${srcdir}/libphobos
; then
3454 if test x
$enable_libphobos = x
; then
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphobos support" >&5
3456 $as_echo_n "checking for libphobos support... " >&6; }
3457 if (srcdir
=${srcdir}/libphobos
; \
3458 .
${srcdir}/configure.tgt
; \
3459 test "$LIBPHOBOS_SUPPORTED" != "yes")
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3462 $as_echo "no" >&6; }
3463 noconfigdirs
="$noconfigdirs target-libphobos"
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3466 $as_echo "yes" >&6; }
3471 # Disable Fortran for some systems.
3474 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3475 unsupported_languages
="$unsupported_languages fortran"
3478 unsupported_languages
="$unsupported_languages fortran"
3482 # Disable libffi for some systems.
3486 i
[3456789]86-*-darwin*)
3488 x86_64-
*-darwin[912]*)
3491 noconfigdirs
="$noconfigdirs target-libffi"
3494 noconfigdirs
="$noconfigdirs target-libffi"
3497 noconfigdirs
="$noconfigdirs target-libffi"
3500 noconfigdirs
="$noconfigdirs target-libffi"
3503 noconfigdirs
="$noconfigdirs target-libffi"
3506 noconfigdirs
="$noconfigdirs target-libffi"
3509 noconfigdirs
="$noconfigdirs target-libffi"
3511 aarch64
*-*-freebsd*)
3512 noconfigdirs
="$noconfigdirs target-libffi"
3515 noconfigdirs
="$noconfigdirs target-libffi"
3518 noconfigdirs
="$noconfigdirs target-libffi"
3521 noconfigdirs
="$noconfigdirs target-libffi"
3524 noconfigdirs
="$noconfigdirs target-libffi"
3527 noconfigdirs
="$noconfigdirs target-libffi"
3529 cris-
*-* | crisv32-
*-*)
3533 *) # See PR46792 regarding target-libffi.
3534 noconfigdirs
="$noconfigdirs target-libffi";;
3538 noconfigdirs
="$noconfigdirs target-libffi"
3543 noconfigdirs
="$noconfigdirs target-libffi"
3546 noconfigdirs
="$noconfigdirs target-libffi"
3548 i
[3456789]86-w64-mingw*)
3549 noconfigdirs
="$noconfigdirs target-libffi"
3551 i
[3456789]86-*-mingw*)
3552 noconfigdirs
="$noconfigdirs target-libffi"
3555 noconfigdirs
="$noconfigdirs target-libffi"
3558 noconfigdirs
="$noconfigdirs target-libffi"
3565 noconfigdirs
="$noconfigdirs target-libffi"
3568 noconfigdirs
="$noconfigdirs target-libffi"
3572 # Disable the go frontend on systems where it is known to not work. Please keep
3573 # this in sync with contrib/config-list.mk.
3575 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* | bpf-
* )
3576 unsupported_languages
="$unsupported_languages go"
3580 # Disable libgo for some systems where it is known to not work.
3581 # For testing, you can easily override this with --enable-libgo.
3582 if test x
$enable_libgo = x
; then
3586 noconfigdirs
="$noconfigdirs target-libgo"
3588 *-*-cygwin* |
*-*-mingw*)
3589 noconfigdirs
="$noconfigdirs target-libgo"
3592 noconfigdirs
="$noconfigdirs target-libgo"
3597 # Default libgloss CPU subdirectory.
3598 libgloss_dir
="$target_cpu"
3601 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3605 libgloss_dir
=aarch64
3610 cris-
*-* | crisv32-
*-*)
3619 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3620 libgloss_dir
=m68hc11
3622 m68
*-*-* | fido-
*-*)
3639 # Disable newlib and libgloss for various target OSes.
3642 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3644 i
[3456789]86-*-linux*)
3645 # This section makes it possible to build newlib natively on linux.
3646 # If we are using a cross compiler then don't configure newlib.
3647 if test x
${is_cross_compiler} != xno
; then
3648 noconfigdirs
="$noconfigdirs target-newlib"
3650 noconfigdirs
="$noconfigdirs target-libgloss"
3651 # If we are not using a cross compiler, do configure newlib.
3652 # Note however, that newlib will only be configured in this situation
3653 # if the --with-newlib option has been given, because otherwise
3654 # 'target-newlib' will appear in skipdirs.
3656 i
[3456789]86-*-rdos*)
3657 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3659 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3660 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3663 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3666 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3669 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3672 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3675 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3678 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3681 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3683 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3684 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3687 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3690 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3693 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3696 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3699 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3702 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3705 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3713 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3714 noconfigdirs
="$noconfigdirs sim target-rda"
3719 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3720 noconfigdirs
="$noconfigdirs sim target-rda"
3723 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3724 noconfigdirs
="$noconfigdirs sim target-rda"
3726 i
[3456789]86-*-darwin*)
3727 noconfigdirs
="$noconfigdirs ld gprof"
3728 noconfigdirs
="$noconfigdirs sim target-rda"
3730 x86_64-
*-darwin[912]*)
3731 noconfigdirs
="$noconfigdirs ld gas gprof"
3732 noconfigdirs
="$noconfigdirs sim target-rda"
3735 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3736 noconfigdirs
="$noconfigdirs sim target-rda"
3741 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3742 && test -f /usr
/local
/include
/gmp.h
; then
3747 # Remove unsupported stuff on all kaOS configurations.
3748 noconfigdirs
="$noconfigdirs target-libgloss"
3755 noconfigdirs
="$noconfigdirs target-libgloss"
3758 noconfigdirs
="$noconfigdirs target-libgloss"
3760 # The tpf target doesn't support gdb yet.
3762 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3765 noconfigdirs
="$noconfigdirs target-rda"
3770 # ld works, but does not support shared libraries.
3771 # gas doesn't generate exception information.
3772 noconfigdirs
="$noconfigdirs gas ld"
3775 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3778 # newlib is not 64 bit ready
3779 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3782 noconfigdirs
="$noconfigdirs target-libobjc target-libbacktrace"
3784 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3785 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3788 noconfigdirs
="$noconfigdirs sim"
3791 noconfigdirs
="$noconfigdirs target-libgloss"
3794 noconfigdirs
="$noconfigdirs ld target-libgloss"
3797 if test x
${with_avrlibc} != xno
; then
3798 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3801 c4x-
*-* | tic4x-
*-*)
3802 noconfigdirs
="$noconfigdirs target-libgloss"
3805 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3808 noconfigdirs
="$noconfigdirs target-libgloss"
3811 noconfigdirs
="$noconfigdirs gdb"
3814 noconfigdirs
="$noconfigdirs gdb"
3817 noconfigdirs
="$noconfigdirs target-rda gprof"
3820 noconfigdirs
="$noconfigdirs"
3823 noconfigdirs
="$noconfigdirs target-libgloss"
3826 noconfigdirs
="$noconfigdirs target-libgloss"
3828 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3831 noconfigdirs
="$noconfigdirs gdb"
3834 noconfigdirs
="$noconfigdirs gdb ld"
3842 hppa
*-*-openbsd* | \
3848 noconfigdirs
="$noconfigdirs ld"
3851 noconfigdirs
="$noconfigdirs gdb"
3854 # No gdb support yet.
3855 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3858 # No ld support yet.
3859 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3862 # No ld support yet.
3863 noconfigdirs
="$noconfigdirs libgui itcl ld"
3865 i
[3456789]86-w64-mingw*)
3867 i
[3456789]86-*-mingw*)
3868 target_configdirs
="$target_configdirs target-winsup"
3871 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3872 noconfigdirs
="$noconfigdirs target-libgloss"
3873 # always build newlib if winsup directory is present.
3874 if test -d "$srcdir/winsup/cygwin"; then
3875 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3876 elif test -d "$srcdir/newlib"; then
3877 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3881 noconfigdirs
="$noconfigdirs target-libgloss"
3883 i
[3456789]86-*-sco3.2v5
*)
3884 # The linker does not yet know about weak symbols in COFF,
3885 # and is not configured to handle mixed ELF and COFF.
3886 noconfigdirs
="$noconfigdirs ld target-libgloss"
3888 i
[3456789]86-*-sco*)
3889 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3891 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3892 noconfigdirs
="$noconfigdirs target-libgloss"
3894 i
[3456789]86-*-sysv4*)
3895 noconfigdirs
="$noconfigdirs target-libgloss"
3897 i
[3456789]86-*-beos*)
3898 noconfigdirs
="$noconfigdirs gdb"
3900 i
[3456789]86-*-rdos*)
3901 noconfigdirs
="$noconfigdirs gdb"
3904 noconfigdirs
="$noconfigdirs gdb"
3907 noconfigdirs
="$noconfigdirs sim"
3910 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3911 noconfigdirs
="$noconfigdirs $target_libraries"
3914 # copied from rs6000-*-* entry
3915 noconfigdirs
="$noconfigdirs gprof"
3917 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3918 target_configdirs
="$target_configdirs target-winsup"
3919 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3920 # always build newlib.
3921 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3923 # This is temporary until we can link against shared libraries
3924 powerpcle-
*-solaris*)
3925 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3928 noconfigdirs
="$noconfigdirs gdb"
3931 noconfigdirs
="$noconfigdirs gprof"
3934 noconfigdirs
="$noconfigdirs gprof"
3937 noconfigdirs
="$noconfigdirs gprof"
3940 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3943 noconfigdirs
="$noconfigdirs gprof"
3945 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3946 if test x
$with_newlib = xyes
; then
3947 noconfigdirs
="$noconfigdirs gprof"
3951 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3954 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3957 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3961 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3962 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3963 noconfigdirs
="$noconfigdirs ld gas gprof"
3966 noconfigdirs
="$noconfigdirs gprof"
3969 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3976 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3980 if test x
${is_cross_compiler} = xno
; then
3985 noconfigdirs
="$noconfigdirs sim"
3987 tilepro
*-*-* | tilegx
*-*-*)
3988 noconfigdirs
="$noconfigdirs sim"
3991 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3994 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3997 noconfigdirs
="$noconfigdirs ld"
4001 # If we aren't building newlib, then don't build libgloss, since libgloss
4002 # depends upon some newlib header files.
4003 case "${noconfigdirs}" in
4004 *target-libgloss
*) ;;
4005 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
4008 # Work in distributions that contain no compiler tools, like Autoconf.
4009 host_makefile_frag
=/dev
/null
4010 if test -d ${srcdir}/config
; then
4012 i
[3456789]86-*-msdosdjgpp*)
4013 host_makefile_frag
="config/mh-djgpp"
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
4018 $as_echo_n "checking to see if cat works as expected... " >&6; }
4019 echo a
>cygwin-cat-check
4020 if test `cat cygwin-cat-check` = a
; then
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4023 $as_echo "yes" >&6; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4027 $as_echo "no" >&6; }
4028 as_fn_error $?
"The cat command does not ignore carriage return characters.
4029 Please either mount the build directory in binary mode or run the following
4030 commands before running any configure script:
4036 host_makefile_frag
="config/mh-cygwin"
4039 host_makefile_frag
="config/mh-mingw"
4042 host_makefile_frag
="config/mh-alpha-linux"
4045 host_makefile_frag
="config/mh-pa-hpux10"
4048 host_makefile_frag
="config/mh-pa"
4051 host_makefile_frag
="config/mh-pa"
4054 host_makefile_frag
="config/mh-darwin"
4057 host_makefile_frag
="config/mh-ppc-aix"
4060 host_makefile_frag
="config/mh-ppc-aix"
4065 if test "${build}" != "${host}" ; then
4066 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4067 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4068 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4069 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4070 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4071 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4072 GDC_FOR_BUILD
=${GDC_FOR_BUILD-gdc}
4073 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4074 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4075 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4076 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4077 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4078 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4080 AR_FOR_BUILD
="\$(AR)"
4081 AS_FOR_BUILD
="\$(AS)"
4082 CC_FOR_BUILD
="\$(CC)"
4083 CXX_FOR_BUILD
="\$(CXX)"
4084 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4085 GOC_FOR_BUILD
="\$(GOC)"
4086 GDC_FOR_BUILD
="\$(GDC)"
4087 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4088 LD_FOR_BUILD
="\$(LD)"
4089 NM_FOR_BUILD
="\$(NM)"
4090 RANLIB_FOR_BUILD
="\$(RANLIB)"
4091 WINDRES_FOR_BUILD
="\$(WINDRES)"
4092 WINDMC_FOR_BUILD
="\$(WINDMC)"
4096 ac_cpp
='$CPP $CPPFLAGS'
4097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4100 if test -n "$ac_tool_prefix"; then
4101 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4102 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4104 $as_echo_n "checking for $ac_word... " >&6; }
4105 if ${ac_cv_prog_CC+:} false
; then :
4106 $as_echo_n "(cached) " >&6
4108 if test -n "$CC"; then
4109 ac_cv_prog_CC
="$CC" # Let the user override the test.
4111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4115 test -z "$as_dir" && as_dir
=.
4116 for ac_exec_ext
in '' $ac_executable_extensions; do
4117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4118 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4129 if test -n "$CC"; then
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4131 $as_echo "$CC" >&6; }
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4134 $as_echo "no" >&6; }
4139 if test -z "$ac_cv_prog_CC"; then
4141 # Extract the first word of "gcc", so it can be a program name with args.
4142 set dummy gcc
; ac_word
=$2
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4144 $as_echo_n "checking for $ac_word... " >&6; }
4145 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4146 $as_echo_n "(cached) " >&6
4148 if test -n "$ac_ct_CC"; then
4149 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4155 test -z "$as_dir" && as_dir
=.
4156 for ac_exec_ext
in '' $ac_executable_extensions; do
4157 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4158 ac_cv_prog_ac_ct_CC
="gcc"
4159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4168 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4169 if test -n "$ac_ct_CC"; then
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4171 $as_echo "$ac_ct_CC" >&6; }
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4174 $as_echo "no" >&6; }
4177 if test "x$ac_ct_CC" = x
; then
4180 case $cross_compiling:$ac_tool_warned in
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4184 ac_tool_warned
=yes ;;
4192 if test -z "$CC"; then
4193 if test -n "$ac_tool_prefix"; then
4194 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4195 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4197 $as_echo_n "checking for $ac_word... " >&6; }
4198 if ${ac_cv_prog_CC+:} false
; then :
4199 $as_echo_n "(cached) " >&6
4201 if test -n "$CC"; then
4202 ac_cv_prog_CC
="$CC" # Let the user override the test.
4204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4208 test -z "$as_dir" && as_dir
=.
4209 for ac_exec_ext
in '' $ac_executable_extensions; do
4210 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4211 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4222 if test -n "$CC"; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4224 $as_echo "$CC" >&6; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4233 if test -z "$CC"; then
4234 # Extract the first word of "cc", so it can be a program name with args.
4235 set dummy cc
; ac_word
=$2
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4237 $as_echo_n "checking for $ac_word... " >&6; }
4238 if ${ac_cv_prog_CC+:} false
; then :
4239 $as_echo_n "(cached) " >&6
4241 if test -n "$CC"; then
4242 ac_cv_prog_CC
="$CC" # Let the user override the test.
4245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4249 test -z "$as_dir" && as_dir
=.
4250 for ac_exec_ext
in '' $ac_executable_extensions; do
4251 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4252 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4253 ac_prog_rejected
=yes
4257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 if test $ac_prog_rejected = yes; then
4265 # We found a bogon in the path, so make sure we never use it.
4266 set dummy
$ac_cv_prog_CC
4268 if test $# != 0; then
4269 # We chose a different compiler from the bogus one.
4270 # However, it has the same basename, so the bogon will be chosen
4271 # first if we set CC to just the basename; use the full file name.
4273 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4279 if test -n "$CC"; then
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4281 $as_echo "$CC" >&6; }
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4284 $as_echo "no" >&6; }
4289 if test -z "$CC"; then
4290 if test -n "$ac_tool_prefix"; then
4291 for ac_prog
in cl.exe
4293 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4294 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4296 $as_echo_n "checking for $ac_word... " >&6; }
4297 if ${ac_cv_prog_CC+:} false
; then :
4298 $as_echo_n "(cached) " >&6
4300 if test -n "$CC"; then
4301 ac_cv_prog_CC
="$CC" # Let the user override the test.
4303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4307 test -z "$as_dir" && as_dir
=.
4308 for ac_exec_ext
in '' $ac_executable_extensions; do
4309 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4310 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 if test -n "$CC"; then
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4323 $as_echo "$CC" >&6; }
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326 $as_echo "no" >&6; }
4330 test -n "$CC" && break
4333 if test -z "$CC"; then
4335 for ac_prog
in cl.exe
4337 # Extract the first word of "$ac_prog", so it can be a program name with args.
4338 set dummy
$ac_prog; ac_word
=$2
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4342 $as_echo_n "(cached) " >&6
4344 if test -n "$ac_ct_CC"; then
4345 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4351 test -z "$as_dir" && as_dir
=.
4352 for ac_exec_ext
in '' $ac_executable_extensions; do
4353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4354 ac_cv_prog_ac_ct_CC
="$ac_prog"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4364 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4365 if test -n "$ac_ct_CC"; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4367 $as_echo "$ac_ct_CC" >&6; }
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4374 test -n "$ac_ct_CC" && break
4377 if test "x$ac_ct_CC" = x
; then
4380 case $cross_compiling:$ac_tool_warned in
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4384 ac_tool_warned
=yes ;;
4393 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4395 as_fn_error $?
"no acceptable C compiler found in \$PATH
4396 See \`config.log' for more details" "$LINENO" 5; }
4398 # Provide some information about the compiler.
4399 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4402 for ac_option
in --version -v -V -qversion; do
4403 { { ac_try
="$ac_compiler $ac_option >&5"
4405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4406 *) ac_try_echo=$ac_try;;
4408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4409 $as_echo "$ac_try_echo"; } >&5
4410 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4412 if test -s conftest.err; then
4414 ... rest of stderr output deleted ...
4415 10q' conftest.err >conftest.er1
4416 cat conftest.er1 >&5
4418 rm -f conftest.er1 conftest.err
4419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4420 test $ac_status = 0; }
4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424 /* end confdefs.h. */
4434 ac_clean_files_save=$ac_clean_files
4435 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4436 # Try to create an executable without -o first, disregard a.out.
4437 # It will help us diagnose broken compilers, and finding out an intuition
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4440 $as_echo_n "checking whether the C compiler works... " >&6; }
4441 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4443 # The possible output files:
4444 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4447 for ac_file in $ac_files
4450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4451 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4456 if { { ac_try="$ac_link_default"
4458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4459 *) ac_try_echo
=$ac_try;;
4461 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4462 $as_echo "$ac_try_echo"; } >&5
4463 (eval "$ac_link_default") 2>&5
4465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4466 test $ac_status = 0; }; then :
4467 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4468 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4469 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4470 # so that the user can short-circuit this test for compilers unknown to
4472 for ac_file
in $ac_files ''
4474 test -f "$ac_file" ||
continue
4476 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4479 # We found the default executable, but exeext='' is most
4483 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4485 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4487 # We set ac_cv_exeext here because the later test for it is not
4488 # safe: cross compilers may not add the suffix if given an `-o'
4489 # argument, so we may need to know it at that point already.
4490 # Even if this section looks crufty: it has the advantage of
4497 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4502 if test -z "$ac_file"; then :
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4504 $as_echo "no" >&6; }
4505 $as_echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.
$ac_ext >&5
4508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4510 as_fn_error
77 "C compiler cannot create executables
4511 See \`config.log' for more details" "$LINENO" 5; }
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4514 $as_echo "yes" >&6; }
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4517 $as_echo_n "checking for C compiler default output file name... " >&6; }
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4519 $as_echo "$ac_file" >&6; }
4520 ac_exeext
=$ac_cv_exeext
4522 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4523 ac_clean_files
=$ac_clean_files_save
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4525 $as_echo_n "checking for suffix of executables... " >&6; }
4526 if { { ac_try
="$ac_link"
4528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4529 *) ac_try_echo=$ac_try;;
4531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4532 $as_echo "$ac_try_echo"; } >&5
4533 (eval "$ac_link") 2>&5
4535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4536 test $ac_status = 0; }; then :
4537 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4538 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4539 # work properly (i.e., refer to `conftest.exe'), while it won't with
4541 for ac_file
in conftest.exe conftest conftest.
*; do
4542 test -f "$ac_file" ||
continue
4544 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4545 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4553 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4554 See \`config.log' for more details" "$LINENO" 5; }
4556 rm -f conftest conftest
$ac_cv_exeext
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4558 $as_echo "$ac_cv_exeext" >&6; }
4560 rm -f conftest.
$ac_ext
4561 EXEEXT
=$ac_cv_exeext
4563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4569 FILE *f = fopen ("conftest.out", "w");
4570 return ferror (f) || fclose (f) != 0;
4576 ac_clean_files
="$ac_clean_files conftest.out"
4577 # Check that the compiler produces executables we can run. If not, either
4578 # the compiler is broken, or we cross compile.
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4580 $as_echo_n "checking whether we are cross compiling... " >&6; }
4581 if test "$cross_compiling" != yes; then
4582 { { ac_try
="$ac_link"
4584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4585 *) ac_try_echo=$ac_try;;
4587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4588 $as_echo "$ac_try_echo"; } >&5
4589 (eval "$ac_link") 2>&5
4591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4592 test $ac_status = 0; }
4593 if { ac_try='./conftest$ac_cv_exeext'
4594 { { case "(($ac_try" in
4595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4596 *) ac_try_echo
=$ac_try;;
4598 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4599 $as_echo "$ac_try_echo"; } >&5
4600 (eval "$ac_try") 2>&5
4602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4603 test $ac_status = 0; }; }; then
4606 if test "$cross_compiling" = maybe
; then
4609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4611 as_fn_error $?
"cannot run C compiled programs.
4612 If you meant to cross compile, use \`--host'.
4613 See \`config.log' for more details" "$LINENO" 5; }
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4618 $as_echo "$cross_compiling" >&6; }
4620 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4621 ac_clean_files
=$ac_clean_files_save
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4623 $as_echo_n "checking for suffix of object files... " >&6; }
4624 if ${ac_cv_objext+:} false
; then :
4625 $as_echo_n "(cached) " >&6
4627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4638 rm -f conftest.o conftest.obj
4639 if { { ac_try
="$ac_compile"
4641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4642 *) ac_try_echo=$ac_try;;
4644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4645 $as_echo "$ac_try_echo"; } >&5
4646 (eval "$ac_compile") 2>&5
4648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4649 test $ac_status = 0; }; then :
4650 for ac_file in conftest.o conftest.obj conftest.*; do
4651 test -f "$ac_file" || continue;
4653 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4654 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4659 $as_echo "$as_me: failed program was:" >&5
4660 sed 's/^/| /' conftest.$ac_ext >&5
4662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4664 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4665 See \
`config.log' for more details" "$LINENO" 5; }
4667 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4670 $as_echo "$ac_cv_objext" >&6; }
4671 OBJEXT=$ac_cv_objext
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4674 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4675 if ${ac_cv_c_compiler_gnu+:} false; then :
4676 $as_echo_n "(cached) " >&6
4678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4692 if ac_fn_c_try_compile "$LINENO"; then :
4697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4698 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4702 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4703 if test $ac_compiler_gnu = yes; then
4708 ac_test_CFLAGS=${CFLAGS+set}
4709 ac_save_CFLAGS=$CFLAGS
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4711 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4712 if ${ac_cv_prog_cc_g+:} false; then :
4713 $as_echo_n "(cached) " >&6
4715 ac_save_c_werror_flag=$ac_c_werror_flag
4716 ac_c_werror_flag=yes
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4730 if ac_fn_c_try_compile "$LINENO"; then :
4734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4735 /* end confdefs.h. */
4745 if ac_fn_c_try_compile "$LINENO"; then :
4748 ac_c_werror_flag=$ac_save_c_werror_flag
4750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4761 if ac_fn_c_try_compile "$LINENO"; then :
4764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4769 ac_c_werror_flag=$ac_save_c_werror_flag
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4772 $as_echo "$ac_cv_prog_cc_g" >&6; }
4773 if test "$ac_test_CFLAGS" = set; then
4774 CFLAGS=$ac_save_CFLAGS
4775 elif test $ac_cv_prog_cc_g = yes; then
4776 if test "$GCC" = yes; then
4782 if test "$GCC" = yes; then
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4789 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4790 if ${ac_cv_prog_cc_c89+:} false; then :
4791 $as_echo_n "(cached) " >&6
4793 ac_cv_prog_cc_c89=no
4795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4800 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4801 struct buf { int x; };
4802 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4803 static char *e (p, i)
4809 static char *f (char * (*g) (char **, int), char **p, ...)
4814 s = g (p, va_arg (v,int));
4819 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4820 function prototypes and stuff, but not '\xHH' hex character constants.
4821 These don't provoke an error unfortunately, instead are silently treated
4822 as 'x'. The following induces an error, until -std is added to get
4823 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4824 array size at least. It's necessary to write '\x00'==0 to get something
4825 that's true only with -std. */
4826 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4828 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4829 inside strings and character constants. */
4831 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4833 int test (int i, double x);
4834 struct s1 {int (*f) (int a);};
4835 struct s2 {int (*f) (double a);};
4836 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4842 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4847 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4848 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4850 CC="$ac_save_CC $ac_arg"
4851 if ac_fn_c_try_compile "$LINENO"; then :
4852 ac_cv_prog_cc_c89=$ac_arg
4854 rm -f core conftest.err conftest.$ac_objext
4855 test "x$ac_cv_prog_cc_c89" != "xno" && break
4857 rm -f conftest.$ac_ext
4862 case "x$ac_cv_prog_cc_c89" in
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4865 $as_echo "none needed" >&6; } ;;
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4868 $as_echo "unsupported" >&6; } ;;
4870 CC="$CC $ac_cv_prog_cc_c89"
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4872 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4874 if test "x$ac_cv_prog_cc_c89" != xno; then :
4879 ac_cpp='$CPP $CPPFLAGS'
4880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4885 ac_cpp='$CXXCPP $CPPFLAGS'
4886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4889 if test -z "$CXX"; then
4890 if test -n "$CCC"; then
4893 if test -n "$ac_tool_prefix"; then
4894 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4897 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if ${ac_cv_prog_CXX+:} false; then :
4901 $as_echo_n "(cached) " >&6
4903 if test -n "$CXX"; then
4904 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 if test -n "$CXX"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4926 $as_echo "$CXX" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4933 test -n "$CXX" && break
4936 if test -z "$CXX"; then
4938 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4940 # Extract the first word of "$ac_prog", so it can be a program name with args.
4941 set dummy $ac_prog; ac_word=$2
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943 $as_echo_n "checking for $ac_word... " >&6; }
4944 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4945 $as_echo_n "(cached) " >&6
4947 if test -n "$ac_ct_CXX"; then
4948 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 test -z "$as_dir" && as_dir=.
4955 for ac_exec_ext in '' $ac_executable_extensions; do
4956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4957 ac_cv_prog_ac_ct_CXX="$ac_prog"
4958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4967 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4968 if test -n "$ac_ct_CXX"; then
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4970 $as_echo "$ac_ct_CXX" >&6; }
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4977 test -n "$ac_ct_CXX" && break
4980 if test "x$ac_ct_CXX" = x; then
4983 case $cross_compiling:$ac_tool_warned in
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4987 ac_tool_warned=yes ;;
4995 # Provide some information about the compiler.
4996 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4999 for ac_option in --version -v -V -qversion; do
5000 { { ac_try="$ac_compiler $ac_option >&5"
5002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5003 *) ac_try_echo
=$ac_try;;
5005 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5006 $as_echo "$ac_try_echo"; } >&5
5007 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5009 if test -s conftest.err
; then
5011 ... rest of stderr output deleted ...
5012 10q' conftest.err
>conftest.er1
5013 cat conftest.er1
>&5
5015 rm -f conftest.er1 conftest.err
5016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5017 test $ac_status = 0; }
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5021 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5022 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5023 $as_echo_n "(cached) " >&6
5025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5026 /* end confdefs.h. */
5039 if ac_fn_cxx_try_compile
"$LINENO"; then :
5044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5045 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5049 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5050 if test $ac_compiler_gnu = yes; then
5055 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5056 ac_save_CXXFLAGS
=$CXXFLAGS
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5058 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5059 if ${ac_cv_prog_cxx_g+:} false
; then :
5060 $as_echo_n "(cached) " >&6
5062 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5063 ac_cxx_werror_flag
=yes
5066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5067 /* end confdefs.h. */
5077 if ac_fn_cxx_try_compile
"$LINENO"; then :
5078 ac_cv_prog_cxx_g
=yes
5081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5082 /* end confdefs.h. */
5092 if ac_fn_cxx_try_compile
"$LINENO"; then :
5095 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5098 /* end confdefs.h. */
5108 if ac_fn_cxx_try_compile
"$LINENO"; then :
5109 ac_cv_prog_cxx_g
=yes
5111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5116 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5119 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5120 if test "$ac_test_CXXFLAGS" = set; then
5121 CXXFLAGS
=$ac_save_CXXFLAGS
5122 elif test $ac_cv_prog_cxx_g = yes; then
5123 if test "$GXX" = yes; then
5129 if test "$GXX" = yes; then
5136 ac_cpp
='$CPP $CPPFLAGS'
5137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5142 # We must set the default linker to the linker used by gcc for the correct
5143 # operation of libtool. If LD is not defined and we are using gcc, try to
5144 # set the LD default to the ld used by gcc.
5145 if test -z "$LD"; then
5146 if test "$GCC" = yes; then
5149 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5151 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5153 case $gcc_prog_ld in
5154 # Accept absolute paths.
5155 [\\/]* |
[A-Za-z
]:[\\/]*)
5156 LD
="$gcc_prog_ld" ;;
5161 # Check whether -static-libstdc++ -static-libgcc is supported.
5163 if test "$GCC" = yes; then
5164 saved_LDFLAGS
="$LDFLAGS"
5166 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5168 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5170 ac_cpp
='$CXXCPP $CPPFLAGS'
5171 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5172 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5173 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5177 /* end confdefs.h. */
5179 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5180 #error -static-libstdc++ not implemented
5184 if ac_fn_cxx_try_link
"$LINENO"; then :
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5186 $as_echo "yes" >&6; }; have_static_libs
=yes
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5191 rm -f core conftest.err conftest.
$ac_objext \
5192 conftest
$ac_exeext conftest.
$ac_ext
5194 ac_cpp
='$CPP $CPPFLAGS'
5195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5200 LDFLAGS
="$saved_LDFLAGS"
5206 if test -n "$ac_tool_prefix"; then
5207 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5208 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210 $as_echo_n "checking for $ac_word... " >&6; }
5211 if ${ac_cv_prog_GNATBIND+:} false
; then :
5212 $as_echo_n "(cached) " >&6
5214 if test -n "$GNATBIND"; then
5215 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5221 test -z "$as_dir" && as_dir
=.
5222 for ac_exec_ext
in '' $ac_executable_extensions; do
5223 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5224 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 GNATBIND
=$ac_cv_prog_GNATBIND
5235 if test -n "$GNATBIND"; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5237 $as_echo "$GNATBIND" >&6; }
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5245 if test -z "$ac_cv_prog_GNATBIND"; then
5246 ac_ct_GNATBIND
=$GNATBIND
5247 # Extract the first word of "gnatbind", so it can be a program name with args.
5248 set dummy gnatbind
; ac_word
=$2
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250 $as_echo_n "checking for $ac_word... " >&6; }
5251 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5252 $as_echo_n "(cached) " >&6
5254 if test -n "$ac_ct_GNATBIND"; then
5255 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5261 test -z "$as_dir" && as_dir
=.
5262 for ac_exec_ext
in '' $ac_executable_extensions; do
5263 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5264 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5274 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5275 if test -n "$ac_ct_GNATBIND"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5277 $as_echo "$ac_ct_GNATBIND" >&6; }
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }
5283 if test "x$ac_ct_GNATBIND" = x
; then
5286 case $cross_compiling:$ac_tool_warned in
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5290 ac_tool_warned
=yes ;;
5292 GNATBIND
=$ac_ct_GNATBIND
5295 GNATBIND
="$ac_cv_prog_GNATBIND"
5298 if test -n "$ac_tool_prefix"; then
5299 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5300 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5304 $as_echo_n "(cached) " >&6
5306 if test -n "$GNATMAKE"; then
5307 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5313 test -z "$as_dir" && as_dir
=.
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5316 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 GNATMAKE
=$ac_cv_prog_GNATMAKE
5327 if test -n "$GNATMAKE"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5329 $as_echo "$GNATMAKE" >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5337 if test -z "$ac_cv_prog_GNATMAKE"; then
5338 ac_ct_GNATMAKE
=$GNATMAKE
5339 # Extract the first word of "gnatmake", so it can be a program name with args.
5340 set dummy gnatmake
; ac_word
=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5344 $as_echo_n "(cached) " >&6
5346 if test -n "$ac_ct_GNATMAKE"; then
5347 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir
=.
5354 for ac_exec_ext
in '' $ac_executable_extensions; do
5355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5367 if test -n "$ac_ct_GNATMAKE"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5369 $as_echo "$ac_ct_GNATMAKE" >&6; }
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5375 if test "x$ac_ct_GNATMAKE" = x
; then
5378 case $cross_compiling:$ac_tool_warned in
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5382 ac_tool_warned
=yes ;;
5384 GNATMAKE
=$ac_ct_GNATMAKE
5387 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5391 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5392 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5393 $as_echo_n "(cached) " >&6
5395 cat >conftest.adb
<<EOF
5396 procedure conftest is begin null; end conftest;
5398 acx_cv_cc_gcc_supports_ada
=no
5399 # There is a bug in old released versions of GCC which causes the
5400 # driver to exit successfully when the appropriate language module
5401 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5402 # Therefore we must check for the error message as well as an
5403 # unsuccessful exit.
5404 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5405 # given a .adb file, but produce no object file. So we must check
5406 # if an object file was really produced to guard against this.
5407 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5408 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5409 acx_cv_cc_gcc_supports_ada
=yes
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5414 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5416 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5423 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5424 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5425 $as_echo_n "(cached) " >&6
5429 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5430 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5431 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5434 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5437 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5438 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5441 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5448 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5449 do_compare
="$gcc_cv_prog_cmp_skip"
5453 # Check whether --enable-bootstrap was given.
5454 if test "${enable_bootstrap+set}" = set; then :
5455 enableval
=$enable_bootstrap;
5457 enable_bootstrap
=default
5461 # Issue errors and warnings for invalid/strange bootstrap combinations.
5462 if test -r $srcdir/gcc
/configure
; then
5468 case "$have_compiler:$host:$target:$enable_bootstrap" in
5471 # Default behavior. Enable bootstrap if we have a compiler
5472 # and we are in a native configuration.
5473 yes:$build:$build:default
)
5474 enable_bootstrap
=yes ;;
5477 enable_bootstrap
=no
;;
5479 # We have a compiler and we are in a native configuration, bootstrap is ok
5480 yes:$build:$build:yes)
5483 # Other configurations, but we have a compiler. Assume the user knows
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5487 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5490 # No compiler: if they passed --enable-bootstrap explicitly, fail
5492 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5494 # Fail if wrong command line
5496 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5500 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5501 # C++98 compiler can still start the bootstrap.
5502 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5503 CXX
="$CXX -std=gnu++98"
5506 # Used for setting $lt_cv_objdir
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5508 $as_echo_n "checking for objdir... " >&6; }
5509 if ${lt_cv_objdir+:} false
; then :
5510 $as_echo_n "(cached) " >&6
5512 rm -f .libs
2>/dev
/null
5513 mkdir .libs
2>/dev
/null
5514 if test -d .libs
; then
5517 # MS-DOS does not allow filenames that begin with a dot.
5520 rmdir .libs
2>/dev
/null
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5523 $as_echo "$lt_cv_objdir" >&6; }
5524 objdir
=$lt_cv_objdir
5530 cat >>confdefs.h
<<_ACEOF
5531 #define LT_OBJDIR "$lt_cv_objdir/"
5536 # Check for GMP, MPFR and MPC
5537 gmplibs
="-lmpc -lmpfr -lgmp"
5541 # Specify a location for mpc
5542 # check for this first so it ends up on the link line before mpfr.
5544 # Check whether --with-mpc was given.
5545 if test "${with_mpc+set}" = set; then :
5550 # Check whether --with-mpc-include was given.
5551 if test "${with_mpc_include+set}" = set; then :
5552 withval
=$with_mpc_include;
5556 # Check whether --with-mpc-lib was given.
5557 if test "${with_mpc_lib+set}" = set; then :
5558 withval
=$with_mpc_lib;
5562 if test "x$with_mpc" != x
; then
5563 gmplibs
="-L$with_mpc/lib $gmplibs"
5564 gmpinc
="-I$with_mpc/include $gmpinc"
5566 if test "x$with_mpc_include" != x
; then
5567 gmpinc
="-I$with_mpc_include $gmpinc"
5569 if test "x$with_mpc_lib" != x
; then
5570 gmplibs
="-L$with_mpc_lib $gmplibs"
5572 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5573 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5574 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5575 # Do not test the mpc version. Assume that it is sufficient, since
5576 # it is in the source tree, and the library has not been built yet
5577 # but it would be included on the link line in the version check below
5578 # hence making the test fail.
5582 # Specify a location for mpfr
5583 # check for this first so it ends up on the link line before gmp.
5585 # Check whether --with-mpfr-dir was given.
5586 if test "${with_mpfr_dir+set}" = set; then :
5587 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
5588 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5593 # Check whether --with-mpfr was given.
5594 if test "${with_mpfr+set}" = set; then :
5599 # Check whether --with-mpfr-include was given.
5600 if test "${with_mpfr_include+set}" = set; then :
5601 withval
=$with_mpfr_include;
5605 # Check whether --with-mpfr-lib was given.
5606 if test "${with_mpfr_lib+set}" = set; then :
5607 withval
=$with_mpfr_lib;
5611 if test "x$with_mpfr" != x
; then
5612 gmplibs
="-L$with_mpfr/lib $gmplibs"
5613 gmpinc
="-I$with_mpfr/include $gmpinc"
5615 if test "x$with_mpfr_include" != x
; then
5616 gmpinc
="-I$with_mpfr_include $gmpinc"
5618 if test "x$with_mpfr_lib" != x
; then
5619 gmplibs
="-L$with_mpfr_lib $gmplibs"
5621 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5622 # MPFR v3.1.0 moved the sources into a src sub-directory.
5623 if ! test -d ${srcdir}/mpfr
/src
; then
5624 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5626 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5627 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5628 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5629 # Do not test the mpfr version. Assume that it is sufficient, since
5630 # it is in the source tree, and the library has not been built yet
5631 # but it would be included on the link line in the version check below
5632 # hence making the test fail.
5636 # Specify a location for gmp
5638 # Check whether --with-gmp-dir was given.
5639 if test "${with_gmp_dir+set}" = set; then :
5640 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
5641 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5646 # Check whether --with-gmp was given.
5647 if test "${with_gmp+set}" = set; then :
5652 # Check whether --with-gmp-include was given.
5653 if test "${with_gmp_include+set}" = set; then :
5654 withval
=$with_gmp_include;
5658 # Check whether --with-gmp-lib was given.
5659 if test "${with_gmp_lib+set}" = set; then :
5660 withval
=$with_gmp_lib;
5665 if test "x$with_gmp" != x
; then
5666 gmplibs
="-L$with_gmp/lib $gmplibs"
5667 gmpinc
="-I$with_gmp/include $gmpinc"
5669 if test "x$with_gmp_include" != x
; then
5670 gmpinc
="-I$with_gmp_include $gmpinc"
5672 if test "x$with_gmp_lib" != x
; then
5673 gmplibs
="-L$with_gmp_lib $gmplibs"
5675 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5676 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5677 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5678 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5679 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5680 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5681 # Do not test the gmp version. Assume that it is sufficient, since
5682 # it is in the source tree, and the library has not been built yet
5683 # but it would be included on the link line in the version check below
5684 # hence making the test fail.
5688 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5690 saved_CFLAGS
="$CFLAGS"
5691 CFLAGS
="$CFLAGS $gmpinc"
5692 # Check for the recommended and required versions of GMP.
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5694 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5697 /* end confdefs.h. */
5703 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5704 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5705 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5713 if ac_fn_c_try_compile
"$LINENO"; then :
5714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5715 /* end confdefs.h. */
5721 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5722 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5723 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5731 if ac_fn_c_try_compile
"$LINENO"; then :
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5733 $as_echo "yes" >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5736 $as_echo "buggy but acceptable" >&6; }
5738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 $as_echo "no" >&6; }; have_gmp
=no
5743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5745 # If we have GMP, check the MPFR version.
5746 if test x
"$have_gmp" = xyes
; then
5747 # Check for the recommended and required versions of MPFR.
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5749 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5751 /* end confdefs.h. */
5758 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,0)
5766 if ac_fn_c_try_compile
"$LINENO"; then :
5767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5768 /* end confdefs.h. */
5775 #if MPFR_VERSION < MPFR_VERSION_NUM(3,1,6)
5783 if ac_fn_c_try_compile
"$LINENO"; then :
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5785 $as_echo "yes" >&6; }
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5788 $as_echo "buggy but acceptable" >&6; }
5790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }; have_gmp
=no
5795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5798 # Check for the MPC header version.
5799 if test x
"$have_gmp" = xyes
; then
5800 # Check for the recommended and required versions of MPC.
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5802 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h. */
5810 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5818 if ac_fn_c_try_compile
"$LINENO"; then :
5819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5826 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5834 if ac_fn_c_try_compile
"$LINENO"; then :
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5836 $as_echo "yes" >&6; }
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5839 $as_echo "buggy but acceptable" >&6; }
5841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }; have_gmp
=no
5846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5849 # Now check the MPFR library.
5850 if test x
"$have_gmp" = xyes
; then
5852 LIBS
="$LIBS $gmplibs"
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5854 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5856 /* end confdefs.h. */
5868 mpfr_atan2 (n, n, x, MPFR_RNDN);
5869 mpfr_erfc (n, x, MPFR_RNDN);
5870 mpfr_subnormalize (x, t, MPFR_RNDN);
5874 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5875 mpc_cosh (c, c, MPC_RNDNN);
5876 mpc_pow (c, c, c, MPC_RNDNN);
5877 mpc_acosh (c, c, MPC_RNDNN);
5884 if ac_fn_c_try_link
"$LINENO"; then :
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5886 $as_echo "yes" >&6; }
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5889 $as_echo "no" >&6; }; have_gmp
=no
5891 rm -f core conftest.err conftest.
$ac_objext \
5892 conftest
$ac_exeext conftest.
$ac_ext
5896 CFLAGS
="$saved_CFLAGS"
5898 # The library versions listed in the error message below should match
5899 # the HARD-minimums enforced above.
5900 if test x
$have_gmp != xyes
; then
5901 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
5902 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5903 their locations. Source code for these libraries can be found at
5904 their respective hosting sites as well as at
5905 https://gcc.gnu.org/pub/gcc/infrastructure/. See also
5906 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5907 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5908 make sure that you have installed both the libraries and the header
5909 files. They may be located in separate packages." "$LINENO" 5
5913 # Flags needed for both GMP, MPFR and/or MPC.
5921 # Libraries to use for stage1 or when not bootstrapping.
5923 # Check whether --with-stage1-libs was given.
5924 if test "${with_stage1_libs+set}" = set; then :
5925 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5928 stage1_libs
=$withval
5936 # Whether or not to use -static-libstdc++ and -static-libgcc. The
5937 # default is yes if gcc is being built; no otherwise. The reason for
5938 # this default is that gdb is sometimes linked against GNU Source
5939 # Highlight, which is a shared library that uses C++ exceptions. In
5940 # this case, -static-libstdc++ will cause crashes.
5942 # Check whether --with-static-standard-libraries was given.
5943 if test "${with_static_standard_libraries+set}" = set; then :
5944 withval
=$with_static_standard_libraries;
5946 with_static_standard_libraries
=auto
5949 if test "$with_static_standard_libraries" = auto
; then
5950 with_static_standard_libraries
=$have_compiler
5953 # Linker flags to use for stage1 or when not bootstrapping.
5955 # Check whether --with-stage1-ldflags was given.
5956 if test "${with_stage1_ldflags+set}" = set; then :
5957 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5960 stage1_ldflags
=$withval
5964 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5965 # if supported. But if the user explicitly specified the libraries to use,
5966 # trust that they are doing what they want.
5967 if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \
5968 -a "$have_static_libs" = yes; then
5969 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5975 # Libraries to use for stage2 and later builds.
5977 # Check whether --with-boot-libs was given.
5978 if test "${with_boot_libs+set}" = set; then :
5979 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5982 poststage1_libs
=$withval
5990 # Linker flags to use for stage2 and later builds.
5992 # Check whether --with-boot-ldflags was given.
5993 if test "${with_boot_ldflags+set}" = set; then :
5994 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5997 poststage1_ldflags
=$withval
6001 # In stages 2 and 3, default to linking libstdc++ and libgcc
6002 # statically. But if the user explicitly specified the libraries to
6003 # use, trust that they are doing what they want.
6004 if test "$poststage1_libs" = ""; then
6005 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
6011 # GCC GRAPHITE dependency isl.
6012 # Basic setup is inlined here, actual checks are in config/isl.m4
6015 # Check whether --with-isl was given.
6016 if test "${with_isl+set}" = set; then :
6021 # Treat --without-isl as a request to disable
6022 # GRAPHITE support and skip all following checks.
6023 if test "x$with_isl" != "xno"; then
6027 # Check whether --with-isl-include was given.
6028 if test "${with_isl_include+set}" = set; then :
6029 withval
=$with_isl_include;
6033 # Check whether --with-isl-lib was given.
6034 if test "${with_isl_lib+set}" = set; then :
6035 withval
=$with_isl_lib;
6039 # Check whether --enable-isl-version-check was given.
6040 if test "${enable_isl_version_check+set}" = set; then :
6041 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
6043 ENABLE_ISL_CHECK
=yes
6047 # Initialize isllibs and islinc.
6056 isllibs
="-L$with_isl/lib"
6057 islinc
="-I$with_isl/include"
6060 if test "x${with_isl_include}" != x
; then
6061 islinc
="-I$with_isl_include"
6063 if test "x${with_isl_lib}" != x
; then
6064 isllibs
="-L$with_isl_lib"
6066 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
6067 && test -d ${srcdir}/isl
; then
6068 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
6069 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
6072 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
6075 isllibs
="${isllibs} -lisl"
6079 if test "${ENABLE_ISL_CHECK}" = yes ; then
6080 _isl_saved_CFLAGS
=$CFLAGS
6081 _isl_saved_LDFLAGS
=$LDFLAGS
6082 _isl_saved_LIBS
=$LIBS
6084 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6085 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
6086 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
6089 $as_echo_n "checking for isl 0.15 or later... " >&6; }
6090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6091 /* end confdefs.h. */
6092 #include <isl/schedule.h>
6096 isl_options_set_schedule_serialize_sccs (NULL, 0);
6101 if ac_fn_c_try_link
"$LINENO"; then :
6106 rm -f core conftest.err conftest.
$ac_objext \
6107 conftest
$ac_exeext conftest.
$ac_ext
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6109 $as_echo "$gcc_cv_isl" >&6; }
6111 if test "${gcc_cv_isl}" = no
; then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
6113 $as_echo "required isl version is 0.15 or later" >&6; }
6116 CFLAGS
=$_isl_saved_CFLAGS
6117 LDFLAGS
=$_isl_saved_LDFLAGS
6118 LIBS
=$_isl_saved_LIBS
6126 if test "x${with_isl}" = xno
; then
6127 graphite_requested
=no
6128 elif test "x${with_isl}" != x \
6129 ||
test "x${with_isl_include}" != x \
6130 ||
test "x${with_isl_lib}" != x
; then
6131 graphite_requested
=yes
6133 graphite_requested
=no
6138 if test "${gcc_cv_isl}" = no
; then
6143 if test "${graphite_requested}" = yes \
6144 && test "x${isllibs}" = x \
6145 && test "x${islinc}" = x
; then
6147 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6153 # If the isl check failed, disable builds of in-tree variant of isl
6154 if test "x$with_isl" = xno ||
6155 test "x$gcc_cv_isl" = xno
; then
6156 noconfigdirs
="$noconfigdirs isl"
6163 # Check for LTO support.
6164 # Check whether --enable-lto was given.
6165 if test "${enable_lto+set}" = set; then :
6166 enableval
=$enable_lto; enable_lto
=$enableval
6168 enable_lto
=yes; default_enable_lto
=yes
6177 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6178 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6179 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6188 if test $target_elf = yes; then :
6189 # ELF platforms build the lto-plugin always.
6190 build_lto_plugin
=yes
6193 if test x
"$default_enable_lto" = x
"yes" ; then
6195 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6196 # On other non-ELF platforms, LTO has yet to be validated.
6200 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6201 # It would also be nice to check the binutils support, but we don't
6202 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6203 # warn during gcc/ subconfigure; unless you're bootstrapping with
6204 # -flto it won't be needed until after installation anyway.
6206 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6207 *) if test x
"$enable_lto" = x
"yes"; then
6208 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
6213 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6214 # Build it unless LTO was explicitly disabled.
6216 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6223 # Check whether --enable-linker-plugin-configure-flags was given.
6224 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6225 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6227 extra_linker_plugin_configure_flags
=
6231 # Check whether --enable-linker-plugin-flags was given.
6232 if test "${enable_linker_plugin_flags+set}" = set; then :
6233 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6235 extra_linker_plugin_flags
=
6240 # Enable --enable-host-shared.
6241 # Checked early to determine whether jit is an 'all' language
6242 # Check whether --enable-host-shared was given.
6243 if test "${enable_host_shared+set}" = set; then :
6244 enableval
=$enable_host_shared; host_shared
=$enableval
6251 # By default, C and C++ are the only stage 1 languages.
6252 stage1_languages
=,c
,
6254 # Target libraries that we bootstrap.
6255 bootstrap_target_libs
=,target-libgcc
,
6257 # Figure out what language subdirectories are present.
6258 # Look if the user specified --enable-languages="..."; if not, use
6259 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6261 # NB: embedded tabs in this IF block -- do not untabify
6262 if test -d ${srcdir}/gcc
; then
6263 if test x
"${enable_languages+set}" != xset
; then
6264 if test x
"${LANGUAGES+set}" = xset
; then
6265 enable_languages
="${LANGUAGES}"
6266 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6268 enable_languages
=default
6271 if test x
"${enable_languages}" = x ||
6272 test x
"${enable_languages}" = xyes
;
6274 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6278 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6280 # 'f95' is the old name for the 'fortran' language. We issue a warning
6281 # and make the substitution.
6282 case ,${enable_languages}, in
6284 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6285 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6289 # If bootstrapping, C++ must be enabled.
6290 case ",$enable_languages,:$enable_bootstrap" in
6293 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6294 enable_languages
="${enable_languages},c++"
6296 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
6301 # First scan to see if an enabled language requires some other language.
6302 # We assume that a given config-lang.in will list all the language
6303 # front ends it requires, even if some are required indirectly.
6304 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6305 case ${lang_frag} in
6307 # The odd quoting in the next line works around
6308 # an apparent bug in bash 1.12 on linux.
6309 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6311 # From the config-lang.in, get $language, $lang_requires, and
6312 # $lang_requires_boot_languages.
6315 lang_requires_boot_languages
=
6316 # set srcdir during sourcing lang_frag to the gcc dir.
6317 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
6318 # polutes this shell
6319 saved_srcdir
=${srcdir}
6320 srcdir
=${srcdir}/gcc .
${lang_frag}
6321 srcdir
=${saved_srcdir}
6322 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6323 case ,${enable_languages}, in
6328 echo " \`$other' language required by \`$language'; enabling" 1>&2
6329 enable_languages
="${enable_languages},${other}"
6333 for other
in ${lang_requires_boot_languages} ; do
6334 if test "$other" != "c"; then
6335 case ,${enable_stage1_languages}, in
6340 case ,${enable_languages}, in
6342 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6343 enable_stage1_languages
="$enable_stage1_languages,${other}"
6354 new_enable_languages
=,c
,
6356 # If LTO is enabled, add the LTO front end.
6357 if test "$enable_lto" = "yes" ; then
6358 case ,${enable_languages}, in
6360 *) enable_languages
="${enable_languages},lto" ;;
6362 if test "${build_lto_plugin}" = "yes" ; then
6363 configdirs
="$configdirs lto-plugin"
6367 # If we're building an offloading compiler, add the LTO front end.
6368 if test x
"$enable_as_accelerator_for" != x
; then
6369 case ,${enable_languages}, in
6371 *) enable_languages
="${enable_languages},lto" ;;
6375 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
6376 potential_languages
=,c
,
6378 enabled_target_libs
=
6379 disabled_target_libs
=
6381 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6382 case ${lang_frag} in
6384 # The odd quoting in the next line works around
6385 # an apparent bug in bash 1.12 on linux.
6386 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6388 # From the config-lang.in, get $language, $target_libs,
6389 # $lang_dirs, $boot_language, and $build_by_default
6395 build_by_default
=yes
6396 # set srcdir during sourcing. See above about save & restore
6397 saved_srcdir
=${srcdir}
6398 srcdir
=${srcdir}/gcc .
${lang_frag}
6399 srcdir
=${saved_srcdir}
6400 if test x
${language} = x
; then
6401 echo "${lang_frag} doesn't set \$language." 1>&2
6405 if test "$language" = "c++"; then
6410 # C is always enabled, so no need to add it again
6411 if test "$language" != "c"; then
6412 case ,${enable_languages}, in
6414 # Language was explicitly selected; include it
6418 # All languages are enabled
6422 # 'default' was selected, select it if it is a default language
6423 add_this_lang
=${build_by_default}
6428 # Disable languages that need other directories if these aren't available.
6429 for i
in $subdir_requires; do
6430 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6431 case ${add_this_lang} in
6433 # Specifically requested language; tell them.
6434 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
6438 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
6439 add_this_lang
=unsupported
6443 add_this_lang
=unsupported
6448 # Disable Ada if no preexisting GNAT is available.
6449 case ${add_this_lang}:${language}:${have_gnat} in
6451 # Specifically requested language; tell them.
6452 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
6456 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
6457 add_this_lang
=unsupported
6461 add_this_lang
=unsupported
6465 # Disable jit if -enable-host-shared not specified
6466 case ${add_this_lang}:${language}:${host_shared} in
6468 # PR jit/64780: explicitly specify --enable-host-shared
6470 Enabling language \"jit\" requires --enable-host-shared.
6472 --enable-host-shared typically slows the rest of the compiler down by
6473 a few %, so you must explicitly enable it.
6475 If you want to build both the jit and the regular compiler, it is often
6476 best to do this via two separate configure/builds, in separate
6477 directories, to avoid imposing the performance cost of
6478 --enable-host-shared on the regular compiler." "$LINENO" 5
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
6482 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
6483 add_this_lang
=unsupported
6487 add_this_lang
=unsupported
6491 # Disable a language that is unsupported by the target.
6492 case "${add_this_lang}: $unsupported_languages " in
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
6497 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
6498 add_this_lang
=unsupported
6502 case $add_this_lang in
6504 # Remove language-dependent dirs.
6505 disabled_target_libs
="$disabled_target_libs $target_libs"
6506 noconfigdirs
="$noconfigdirs $lang_dirs"
6509 # Remove language-dependent dirs; still show language as supported.
6510 disabled_target_libs
="$disabled_target_libs $target_libs"
6511 noconfigdirs
="$noconfigdirs $lang_dirs"
6512 potential_languages
="${potential_languages}${language},"
6515 new_enable_languages
="${new_enable_languages}${language},"
6516 potential_languages
="${potential_languages}${language},"
6517 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6518 enabled_target_libs
="$enabled_target_libs $target_libs"
6519 case "${boot_language}:,$enable_stage1_languages," in
6520 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6521 # Add to (comma-separated) list of stage 1 languages.
6522 case ",$stage1_languages," in
6523 *,$language,* |
,yes, |
,all
,) ;;
6524 *) stage1_languages
="${stage1_languages}${language}," ;;
6526 # We need to bootstrap any supporting libraries.
6527 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6536 # Add target libraries which are only needed for disabled languages
6538 if test -n "$disabled_target_libs"; then
6539 for dir
in $disabled_target_libs; do
6540 case " $enabled_target_libs " in
6542 *) noconfigdirs
="$noconfigdirs $dir" ;;
6547 # Check whether --enable-stage1-languages was given.
6548 if test "${enable_stage1_languages+set}" = set; then :
6549 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6551 # Set it to something that will have no effect in the loop below
6552 enable_stage1_languages
=c
;;
6554 enable_stage1_languages
=`echo $new_enable_languages | \
6555 sed -e "s/^,//" -e "s/,$//" ` ;;
6557 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6558 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6561 # Add "good" languages from enable_stage1_languages to stage1_languages,
6562 # while "bad" languages go in missing_languages. Leave no duplicates.
6563 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6564 case $potential_languages in
6566 case $stage1_languages in
6568 *) stage1_languages
="$stage1_languages$i," ;;
6571 case $missing_languages in
6573 *) missing_languages
="$missing_languages$i," ;;
6580 # Remove leading/trailing commas that were added for simplicity
6581 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6582 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6583 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6584 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6586 if test "x$missing_languages" != x
; then
6588 The following requested languages could not be built: ${missing_languages}
6589 Supported languages are: ${potential_languages}" "$LINENO" 5
6591 if test "x$new_enable_languages" != "x$enable_languages"; then
6592 echo The following languages will be built
: ${new_enable_languages}
6593 enable_languages
="$new_enable_languages"
6597 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6600 # Handle --disable-<component> generically.
6601 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6602 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6603 varname
=`echo $dirname | sed -e s/+/_/g`
6604 if eval test x\
${enable_${varname}} "=" xno
; then
6605 noconfigdirs
="$noconfigdirs $dir"
6609 # Check for Boehm's garbage collector
6610 # Check whether --enable-objc-gc was given.
6611 if test "${enable_objc_gc+set}" = set; then :
6612 enableval
=$enable_objc_gc;
6616 # Check whether --with-target-bdw-gc was given.
6617 if test "${with_target_bdw_gc+set}" = set; then :
6618 withval
=$with_target_bdw_gc;
6622 # Check whether --with-target-bdw-gc-include was given.
6623 if test "${with_target_bdw_gc_include+set}" = set; then :
6624 withval
=$with_target_bdw_gc_include;
6628 # Check whether --with-target-bdw-gc-lib was given.
6629 if test "${with_target_bdw_gc_lib+set}" = set; then :
6630 withval
=$with_target_bdw_gc_lib;
6634 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6636 $as_echo_n "checking for bdw garbage collector... " >&6; }
6637 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6639 $as_echo "using bdw-gc in default locations" >&6; }
6641 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6642 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6643 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6644 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6647 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6652 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6653 case ,${enable_languages}, in
6655 # Disable libitm, libsanitizer if we're not building libstdc++
6656 case "${noconfigdirs}" in
6657 *target-libstdc
++-v3*)
6658 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
6664 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6668 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6669 # $build_configdirs and $target_configdirs.
6670 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6673 for dir
in .
$skipdirs $noconfigdirs ; do
6674 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6675 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6676 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6677 if test -r $srcdir/$dirname/configure
; then
6678 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6681 notsupp
="$notsupp $dir"
6685 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6686 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6687 if test -r $srcdir/$dirname/configure
; then
6688 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6691 notsupp
="$notsupp $dir"
6695 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6696 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6697 if test -r $srcdir/$dirname/configure
; then
6698 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6701 notsupp
="$notsupp $dir"
6707 # Quietly strip out all directories which aren't configurable in this tree.
6708 # This relies on all configurable subdirectories being autoconfiscated, which
6710 build_configdirs_all
="$build_configdirs"
6712 for i
in ${build_configdirs_all} ; do
6713 j
=`echo $i | sed -e s/build-//g`
6714 if test -f ${srcdir}/$j/configure
; then
6715 build_configdirs
="${build_configdirs} $i"
6719 configdirs_all
="$configdirs"
6721 for i
in ${configdirs_all} ; do
6722 if test -f ${srcdir}/$i/configure
; then
6723 configdirs
="${configdirs} $i"
6727 target_configdirs_all
="$target_configdirs"
6729 for i
in ${target_configdirs_all} ; do
6730 j
=`echo $i | sed -e s/target-//g`
6731 if test -f ${srcdir}/$j/configure
; then
6732 target_configdirs
="${target_configdirs} $i"
6736 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6737 # so we have to add it after the preceding checks.
6738 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6740 case " $configdirs " in
6742 # If we can build libiberty, we can also build libiberty-linker-plugin.
6743 configdirs
="$configdirs libiberty-linker-plugin"
6744 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6745 --with-libiberty=../libiberty-linker-plugin";;
6747 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
6751 # Sometimes we have special requirements for the host libiberty.
6752 extra_host_libiberty_configure_flags
=
6753 extra_host_zlib_configure_flags
=
6754 case " $configdirs " in
6755 *" lto-plugin "* |
*" libcc1 "*)
6756 # When these are to be built as shared libraries, the same applies to
6758 extra_host_libiberty_configure_flags
=--enable-shared
6761 # When bfd is to be built as a shared library, the same applies to
6763 if test "$enable_shared" = "yes"; then
6764 extra_host_zlib_configure_flags
=--enable-host-shared
6771 # Produce a warning message for the subdirs we can't configure.
6772 # This isn't especially interesting in the Cygnus tree, but in the individual
6773 # FSF releases, it's important to let people know when their machine isn't
6774 # supported by the one or two programs in a package.
6776 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6777 # If $appdirs is non-empty, at least one of those directories must still
6778 # be configured, or we error out. (E.g., if the gas release supports a
6779 # specified target in some subdirs but not the gas subdir, we shouldn't
6780 # pretend that all is well.)
6781 if test -n "$appdirs" ; then
6782 for dir
in $appdirs ; do
6783 if test -r $dir/Makefile.
in ; then
6784 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6788 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6794 if test -n "$appdirs" ; then
6795 echo "*** This configuration is not supported by this package." 1>&2
6799 # Okay, some application will build, or we don't care to check. Still
6800 # notify of subdirs not getting built.
6801 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6802 echo " ${notsupp}" 1>&2
6803 echo " (Any other directories should still work fine.)" 1>&2
6811 # To find our prefix, in gcc_cv_tool_prefix.
6813 # The user is always right.
6814 if test "${PATH_SEPARATOR+set}" != set; then
6815 echo "#! /bin/sh" >conf$$.sh
6816 echo "exit 0" >>conf$$.sh
6818 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6827 get_gcc_base_ver
="cat"
6829 # Check whether --with-gcc-major-version-only was given.
6830 if test "${with_gcc_major_version_only+set}" = set; then :
6831 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
6832 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
6842 if test "x$exec_prefix" = xNONE
; then
6843 if test "x$prefix" = xNONE
; then
6844 gcc_cv_tool_prefix
=$ac_default_prefix
6846 gcc_cv_tool_prefix
=$prefix
6849 gcc_cv_tool_prefix
=$exec_prefix
6852 # If there is no compiler in the tree, use the PATH only. In any
6853 # case, if there is no compiler in the tree nobody should use
6854 # AS_FOR_TARGET and LD_FOR_TARGET.
6855 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6856 if test x
$with_gcc_major_version_only = xyes
; then
6857 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
6859 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6861 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6862 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6863 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6864 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6865 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6866 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6871 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6872 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6880 # Check whether --with-build-sysroot was given.
6881 if test "${with_build_sysroot+set}" = set; then :
6882 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6883 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6886 SYSROOT_CFLAGS_FOR_TARGET
=
6892 # Check whether --with-debug-prefix-map was given.
6893 if test "${with_debug_prefix_map+set}" = set; then :
6894 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6895 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6896 for debug_map
in $withval; do
6897 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6901 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6906 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6907 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6908 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6909 # We want to ensure that TARGET libraries (which we know are built with
6910 # gcc) are built with "-O2 -g", so include those options when setting
6911 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6912 if test "x$CFLAGS_FOR_TARGET" = x
; then
6913 if test "x${is_cross_compiler}" = xyes
; then
6914 CFLAGS_FOR_TARGET
="-g -O2"
6916 CFLAGS_FOR_TARGET
=$CFLAGS
6919 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6922 *" -g "* |
*" -g3 "*) ;;
6923 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6929 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6930 if test "x${is_cross_compiler}" = xyes
; then
6931 CXXFLAGS_FOR_TARGET
="-g -O2"
6933 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6934 case " $CXXFLAGS " in
6936 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6938 case " $CXXFLAGS " in
6939 *" -g "* |
*" -g3 "*) ;;
6940 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6948 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6949 # the named directory are copied to $(tooldir)/sys-include.
6950 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6951 if test x
${is_cross_compiler} = xno
; then
6952 echo 1>&2 '***' --with-headers is only supported when cross compiling
6955 if test x
"${with_headers}" != xyes
; then
6956 x
=${gcc_cv_tool_prefix}
6957 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6961 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6962 # the name directories are copied to $(tooldir)/lib. Multiple directories
6964 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6965 if test x
${is_cross_compiler} = xno
; then
6966 echo 1>&2 '***' --with-libs is only supported when cross compiling
6969 if test x
"${with_libs}" != xyes
; then
6970 # Copy the libraries in reverse order, so that files in the first named
6971 # library override files in subsequent libraries.
6972 x
=${gcc_cv_tool_prefix}
6973 for l
in ${with_libs}; do
6974 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6979 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6981 # This is done by determining whether or not the appropriate directory
6982 # is available, and by checking whether or not specific configurations
6983 # have requested that this magic not happen.
6985 # The command line options always override the explicit settings in
6986 # configure.ac, and the settings in configure.ac override this magic.
6988 # If the default for a toolchain is to use GNU as and ld, and you don't
6989 # want to do that, then you should use the --without-gnu-as and
6990 # --without-gnu-ld options for the configure script. Similarly, if
6991 # the default is to use the included zlib and you don't want to do that,
6992 # you should use the --with-system-zlib option for the configure script.
6994 if test x
${use_gnu_as} = x
&&
6995 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6997 extra_host_args
="$extra_host_args --with-gnu-as"
7000 if test x
${use_gnu_ld} = x
&&
7001 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
7003 extra_host_args
="$extra_host_args --with-gnu-ld"
7006 if test x
${use_included_zlib} = x
&&
7007 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
7010 with_system_zlib
=yes
7011 extra_host_args
="$extra_host_args --with-system-zlib"
7014 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
7015 # can detect this case.
7017 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
7019 extra_host_args
="$extra_host_args --with-newlib"
7022 # Handle ${copy_dirs}
7023 set fnord
${copy_dirs}
7025 while test $# != 0 ; do
7026 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
7029 echo Copying
$1 to
$2
7031 # Use the install script to create the directory and all required
7032 # parent directories.
7033 if test -d $2 ; then
7037 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
7040 # Copy the directory, assuming we have tar.
7041 # FIXME: Should we use B in the second tar? Not all systems support it.
7042 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
7044 # It is the responsibility of the user to correctly adjust all
7045 # symlinks. If somebody can figure out how to handle them correctly
7046 # here, feel free to add the code.
7053 # Determine a target-dependent exec_prefix that the installed
7054 # gcc will search in. Keep this list sorted by triplet, with
7055 # the *-*-osname triplets last.
7058 i
[34567]86-pc-msdosdjgpp*)
7059 md_exec_prefix
=/dev
/env
/DJDIR
/bin
7064 md_exec_prefix
=/usr
/ccs
/bin
7068 extra_arflags_for_target
=
7069 extra_nmflags_for_target
=
7070 extra_ranlibflags_for_target
=
7071 target_makefile_frag
=/dev
/null
7074 target_makefile_frag
="config/mt-spu"
7076 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
7077 target_makefile_frag
="config/mt-sde"
7079 mipsisa
*-*-elfoabi*)
7080 target_makefile_frag
="config/mt-mips-elfoabi"
7082 mips
*-*-*linux
* | mips
*-*-gnu*)
7083 target_makefile_frag
="config/mt-mips-gnu"
7086 target_makefile_frag
="config/mt-nios2-elf"
7089 target_makefile_frag
="config/mt-android"
7091 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7092 target_makefile_frag
="config/mt-gnu"
7094 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7095 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7096 # commands to handle both 32-bit and 64-bit objects. These flags are
7097 # harmless if we're using GNU nm or ar.
7098 extra_arflags_for_target
=" -X32_64"
7099 extra_nmflags_for_target
=" -B -X32_64"
7103 alphaieee_frag
=/dev
/null
7106 # This just makes sure to use the -mieee option to build target libs.
7107 # This should probably be set individually by each library.
7108 alphaieee_frag
="config/mt-alphaieee"
7112 # If --enable-target-optspace always use -Os instead of -O2 to build
7113 # the target libraries, similarly if it is not specified, use -Os
7114 # on selected platforms.
7115 ospace_frag
=/dev
/null
7116 case "${enable_target_optspace}:${target}" in
7118 ospace_frag
="config/mt-ospace"
7121 ospace_frag
="config/mt-d30v"
7123 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
7124 ospace_frag
="config/mt-ospace"
7129 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7133 # Some systems (e.g., one of the i386-aix systems the gas testers are
7134 # using) don't handle "\$" correctly, so don't use it here.
7135 tooldir
='${exec_prefix}'/${target_noncanonical}
7136 build_tooldir
=${tooldir}
7138 # Create a .gdbinit file which runs the one in srcdir
7139 # and tells GDB to look there for source files.
7141 if test -r ${srcdir}/.gdbinit
; then
7144 *) cat > .
/.gdbinit
<<EOF
7148 source ${srcdir}/.gdbinit
7154 # Make sure that the compiler is able to generate an executable. If it
7155 # can't, we are probably in trouble. We don't care whether we can run the
7156 # executable--we might be using a cross compiler--we only care whether it
7157 # can be created. At this point the main configure script has set CC.
7159 echo "int main () { return 0; }" > conftest.c
7160 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7161 if test $?
= 0 ; then
7162 if test -s conftest ||
test -s conftest.exe
; then
7168 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7169 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7176 # Decide which environment variable is used to find dynamic libraries.
7178 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7179 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7180 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7181 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7184 # On systems where the dynamic library environment variable is PATH,
7185 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7186 # built executables to PATH.
7187 if test "$RPATH_ENVVAR" = PATH
; then
7188 GCC_SHLIB_SUBDIR
=/shlib
7193 # Adjust the toplevel makefile according to whether bootstrap was selected.
7194 case $enable_bootstrap in
7196 bootstrap_suffix
=bootstrap
7197 BUILD_CONFIG
=bootstrap-debug
7200 bootstrap_suffix
=no-bootstrap
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7206 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7209 # Check whether --with-build-config was given.
7210 if test "${with_build_config+set}" = set; then :
7211 withval
=$with_build_config; case $with_build_config in
7212 yes) with_build_config
= ;;
7213 no
) with_build_config
= BUILD_CONFIG
= ;;
7218 if test "x${with_build_config}" != x
; then
7219 BUILD_CONFIG
=$with_build_config
7221 case $BUILD_CONFIG in
7223 if echo "int f (void) { return 0; }" > conftest.c
&&
7224 ${CC} -c conftest.c
&&
7225 mv conftest.o conftest.o.g0
&&
7226 ${CC} -c -g conftest.c
&&
7227 mv conftest.o conftest.o.g
&&
7228 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7233 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7238 $as_echo "$BUILD_CONFIG" >&6; }
7241 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7243 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7244 # Check whether --enable-vtable-verify was given.
7245 if test "${enable_vtable_verify+set}" = set; then :
7246 enableval
=$enable_vtable_verify; case "$enableval" in
7247 yes) enable_vtable_verify
=yes ;;
7248 no
) enable_vtable_verify
=no
;;
7249 *) enable_vtable_verify
=no
;;
7252 enable_vtable_verify
=no
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7256 $as_echo "$enable_vtable_verify" >&6; }
7258 # Record target_configdirs and the configure arguments for target and
7259 # build configuration in Makefile.
7260 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7261 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7262 bootstrap_fixincludes
=no
7264 # If we are building libgomp, bootstrap it.
7265 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7266 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7269 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7270 # or bootstrap-ubsan, bootstrap it.
7271 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7272 case "$BUILD_CONFIG" in
7273 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7274 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7275 bootstrap_fixincludes
=yes
7280 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7281 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7282 test "$enable_vtable_verify" != no
; then
7283 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7286 # Determine whether gdb needs tk/tcl or not.
7287 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7288 # and in that case we want gdb to be built without tk. Ugh!
7289 # In fact I believe gdb is the *only* package directly dependent on tk,
7290 # so we should be able to put the 'maybe's in unconditionally and
7291 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7292 # 100% sure that that's safe though.
7294 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7295 case "$enable_gdbtk" in
7299 GDB_TK
="${gdb_tk}" ;;
7301 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7302 # distro. Eventually someone will fix this and move Insight, nee
7303 # gdbtk to a separate directory.
7304 if test -d ${srcdir}/gdb
/gdbtk
; then
7311 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7312 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7314 # gdb depends on gnulib, but as nothing else does, only include it if
7316 if echo " ${configdirs} " |
grep " gdb " > /dev
/null
2>&1 ; then
7317 # The Makefile provides the ordering, so it's enough here to add
7318 # gnulib to the list.
7319 configdirs
="${configdirs} gnulib"
7322 # Strip out unwanted targets.
7324 # While at that, we remove Makefiles if we were started for recursive
7325 # configuration, so that the top-level Makefile reconfigures them,
7326 # like we used to do when configure itself was recursive.
7328 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7329 # but now we're fixing up the Makefile ourselves with the additional
7330 # commands passed to AC_CONFIG_FILES. Use separate variables
7331 # extrasub-{build,host,target} not because there is any reason to split
7332 # the substitutions up that way, but only to remain below the limit of
7333 # 99 commands in a script, for HP-UX sed.
7335 # Do not nest @if/@endif or @unless/@endunless pairs, because
7336 # configure will not warn you at all.
7338 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7339 yes:yes:*\ gold\
*:*,c
++,*) ;;
7340 yes:yes:*\ gold\
*:*)
7341 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7346 for module
in ${build_configdirs} ; do
7347 if test -z "${no_recursion}" \
7348 && test -f ${build_subdir}/${module}/Makefile
; then
7349 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7350 rm -f ${build_subdir}/${module}/Makefile
7352 extrasub_build
="$extrasub_build
7353 /^@if build-$module\$/d
7354 /^@endif build-$module\$/d
7355 /^@unless build-$module\$/,/^@endunless build-$module\$/d
7356 /^@if build-$module-$bootstrap_suffix\$/d
7357 /^@endif build-$module-$bootstrap_suffix\$/d
7358 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
7361 for module
in ${configdirs} ; do
7362 if test -z "${no_recursion}"; then
7363 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7364 if test -f ${file}; then
7365 echo 1>&2 "*** removing ${file} to force reconfigure"
7370 case ${module},${bootstrap_fixincludes} in
7371 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7372 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7374 extrasub_host
="$extrasub_host
7376 /^@endif $module\$/d
7377 /^@unless $module\$/,/^@endunless $module\$/d
7378 /^@if $module-$host_bootstrap_suffix\$/d
7379 /^@endif $module-$host_bootstrap_suffix\$/d
7380 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
7383 for module
in ${target_configdirs} ; do
7384 if test -z "${no_recursion}" \
7385 && test -f ${target_subdir}/${module}/Makefile
; then
7386 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7387 rm -f ${target_subdir}/${module}/Makefile
7390 # We only bootstrap target libraries listed in bootstrap_target_libs.
7391 case $bootstrap_target_libs in
7392 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7393 *) target_bootstrap_suffix
=no-bootstrap
;;
7396 extrasub_target
="$extrasub_target
7397 /^@if target-$module\$/d
7398 /^@endif target-$module\$/d
7399 /^@unless target-$module\$/,/^@endunless target-$module\$/d
7400 /^@if target-$module-$target_bootstrap_suffix\$/d
7401 /^@endif target-$module-$target_bootstrap_suffix\$/d
7402 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
7405 # Do the final fixup along with target modules.
7406 extrasub_target
="$extrasub_target
7411 # Create the serialization dependencies. This uses a temporary file.
7413 # Check whether --enable-serial-configure was given.
7414 if test "${enable_serial_configure+set}" = set; then :
7415 enableval
=$enable_serial_configure;
7419 case ${enable_serial_configure} in
7421 enable_serial_build_configure
=yes
7422 enable_serial_host_configure
=yes
7423 enable_serial_target_configure
=yes
7427 # These force 'configure's to be done one at a time, to avoid problems
7428 # with contention over a shared config.cache.
7430 echo '# serdep.tmp' > serdep.tmp
7432 test "x${enable_serial_build_configure}" = xyes
&&
7433 for item
in ${build_configdirs} ; do
7436 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7441 test "x${enable_serial_host_configure}" = xyes
&&
7442 for item
in ${configdirs} ; do
7445 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7450 test "x${enable_serial_target_configure}" = xyes
&&
7451 for item
in ${target_configdirs} ; do
7454 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7458 serialization_dependencies
=serdep.tmp
7461 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7462 # target, nonopt, and variable assignments. These are the ones we
7463 # might not want to pass down to subconfigures. The exception being
7464 # --cache-file=/dev/null, which is used to turn off the use of cache
7465 # files altogether, and which should be passed on to subconfigures.
7466 # Also strip program-prefix, program-suffix, and program-transform-name,
7467 # so that we can pass down a consistent program-transform-name.
7472 eval "set -- $ac_configure_args"
7475 if test X
"$skip_next" = X
"yes"; then
7479 if test X
"$keep_next" = X
"yes"; then
7482 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7484 baseargs
="$baseargs '$ac_arg'"
7485 tbaseargs
="$tbaseargs '$ac_arg'"
7490 # Handle separated arguments. Based on the logic generated by
7493 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7494 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7495 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7496 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7510 --with-* |
--without-*)
7511 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7515 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7518 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7527 mpc | mpfr | gmp | isl
)
7528 # If we're processing --with-$lib, --with-$lib-include or
7529 # --with-$lib-lib, for one of the libs above, and target is
7530 # different from host, don't pass the current argument to any
7531 # target library's configure.
7532 if test x
$is_cross_compiler = xyes
; then
7541 --cache-file=/dev
/null | \
7542 -cache-file=/dev
/null
)
7543 # Handled here to avoid the test to skip args below.
7544 baseargs
="$baseargs '$ac_arg'"
7545 tbaseargs
="$tbaseargs '$ac_arg'"
7546 # Assert: $separate_arg should always be no.
7547 keep_next
=$separate_arg
7563 -program-prefix* | \
7564 -program-suffix* | \
7565 -program-transform-name* )
7566 skip_next
=$separate_arg
7570 # An option. Add it.
7573 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7575 baseargs
="$baseargs '$ac_arg'"
7576 if test X
"$skip_targ" = Xno
; then
7577 tbaseargs
="$tbaseargs '$ac_arg'"
7579 keep_next
=$separate_arg
7582 # Either a variable assignment, or a nonopt (triplet). Don't
7583 # pass it down; let the Makefile handle this.
7588 # Remove the initial space we just introduced and, as these will be
7589 # expanded by make, quote '$'.
7590 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7592 # Add in --program-transform-name, after --program-prefix and
7593 # --program-suffix have been applied to it. Autoconf has already
7594 # doubled dollar signs and backslashes in program_transform_name; we want
7595 # the backslashes un-doubled, and then the entire thing wrapped in single
7596 # quotes, because this will be expanded first by make and then by the shell.
7597 # Also, because we want to override the logic in subdir configure scripts to
7598 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7599 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7600 ${program_transform_name}
7602 gcc_transform_name
=`cat conftestsed.out`
7603 rm -f conftestsed.out
7604 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7605 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7606 if test "$silent" = yes; then
7607 baseargs
="$baseargs --silent"
7608 tbaseargs
="$tbaseargs --silent"
7610 baseargs
="$baseargs --disable-option-checking"
7611 tbaseargs
="$tbaseargs --disable-option-checking"
7613 # Record and document user additions to sub configure arguments.
7618 # For the build-side libraries, we just need to pretend we're native,
7619 # and not use the same cache file. Multilibs are neither needed nor
7620 # desired. We can't even use the same cache file for all build-side
7621 # libraries, as they're compiled differently; some with C, some with
7622 # C++ or with different feature-enabling options.
7623 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7625 # For host modules, accept cache file option, or specification as blank.
7626 case "${cache_file}" in
7628 cache_file_option
="" ;;
7629 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7630 cache_file_option
="--cache-file=${cache_file}" ;;
7632 cache_file_option
="--cache-file=../${cache_file}" ;;
7635 # Host dirs don't like to share a cache file either, horribly enough.
7636 # This seems to be due to autoconf 2.5x stupidity.
7637 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7639 target_configargs
="$target_configargs ${tbaseargs}"
7641 # Passing a --with-cross-host argument lets the target libraries know
7642 # whether they are being built with a cross-compiler or being built
7643 # native. However, it would be better to use other mechanisms to make the
7644 # sorts of decisions they want to make on this basis. Please consider
7645 # this option to be deprecated. FIXME.
7646 if test x
${is_cross_compiler} = xyes
; then
7647 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7650 # Special user-friendly check for native x86_64-linux build, if
7651 # multilib is not explicitly enabled.
7652 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7653 x86_64-
*linux
*:yes:$build:$build:)
7654 # Make sure we have a development environment that handles 32-bit
7656 echo "int main () { return 0; }" > conftest.c
7657 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7658 if test $?
= 0 ; then
7659 if test -s conftest ||
test -s conftest.exe
; then
7664 if test x
${dev64} != xyes
; then
7665 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
7670 # Default to --enable-multilib.
7671 if test x
${enable_multilib} = x
; then
7672 target_configargs
="--enable-multilib ${target_configargs}"
7675 # Pass --with-newlib if appropriate. Note that target_configdirs has
7676 # changed from the earlier setting of with_newlib.
7677 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7678 target_configargs
="--with-newlib ${target_configargs}"
7681 # Different target subdirs use different values of certain variables
7682 # (notably CXX). Worse, multilibs use *lots* of different values.
7683 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7684 # it doesn't automatically accept command-line overrides of them.
7685 # This means it's not safe for target subdirs to share a cache file,
7686 # which is disgusting, but there you have it. Hopefully this can be
7687 # fixed in future. It's still worthwhile to use a cache file for each
7688 # directory. I think.
7690 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7691 # We need to pass --target, as newer autoconf's requires consistency
7692 # for target_alias and gcc doesn't manage it consistently.
7693 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7696 case " $target_configdirs " in
7698 case " $target_configargs " in
7699 *" --with-newlib "*)
7702 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7706 # If we're not building GCC, don't discard standard headers.
7707 if test -d ${srcdir}/gcc
; then
7708 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7710 if test "${build}" != "${host}"; then
7711 # On Canadian crosses, CC_FOR_TARGET will have already been set
7712 # by `configure', so we won't have an opportunity to add -Bgcc/
7713 # to it. This is right: we don't want to search that directory
7714 # for binaries, but we want the header files in there, so add
7716 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7718 # Someone might think of using the pre-installed headers on
7719 # Canadian crosses, in case the installed compiler is not fully
7720 # compatible with the compiler being built. In this case, it
7721 # would be better to flag an error than risking having
7722 # incompatible object files being constructed. We can't
7723 # guarantee that an error will be flagged, but let's hope the
7724 # compiler will do it, when presented with incompatible header
7729 case "${target}-${is_cross_compiler}" in
7730 i
[3456789]86-*-linux*-no)
7731 # Here host == target, so we don't need to build gcc,
7732 # so we don't want to discard standard headers.
7733 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7736 # If we're building newlib, use its generic headers last, but search
7737 # for any libc-related directories first (so make it the last -B
7739 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7741 # If we're building libgloss, find the startup file, simulator library
7742 # and linker script.
7743 case " $target_configdirs " in
7745 # Look for startup file, simulator library and maybe linker script.
7746 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7747 # Look for libnosys.a in case the target needs it.
7748 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7749 # Most targets have the linker script in the source directory.
7750 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7761 x86_64-
*mingw
* |
*-w64-mingw*)
7762 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7763 # however, use a symlink named 'mingw' in ${prefix} .
7764 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7767 # MinGW can't be handled as Cygwin above since it does not use newlib.
7768 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'
7772 # Allow the user to override the flags for
7773 # our build compiler if desired.
7774 if test x
"${build}" = x
"${host}" ; then
7775 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7776 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7777 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7780 # On Canadian crosses, we'll be searching the right directories for
7781 # the previously-installed cross compiler, so don't bother to add
7782 # flags for directories within the install tree of the compiler
7783 # being built; programs in there won't even run.
7784 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7785 # Search for pre-installed headers if nothing else fits.
7786 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7789 if test "x
${use_gnu_ld}" = x &&
7790 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7791 # Arrange for us to find uninstalled linker scripts.
7792 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7795 # Search for other target-specific linker scripts and such.
7798 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7802 # Makefile fragments.
7803 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7805 eval fragval=\$$frag
7806 if test $fragval != /dev/null; then
7807 eval $frag=${srcdir}/$fragval
7815 # Miscellanea: directories, flags, etc.
7824 # Build module lists & subconfigure args.
7828 # Host module lists & subconfigure args.
7833 # Target module lists & subconfigure args.
7855 # Generate default definitions for YACC, M4, LEX and other programs that run
7856 # on the build machine. These are used if the Makefile can't locate these
7857 # programs in objdir.
7858 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7860 for ac_prog in 'bison -y' byacc yacc
7862 # Extract the first word of "$ac_prog", so it can be a program name with args.
7863 set dummy $ac_prog; ac_word=$2
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7865 $as_echo_n "checking
for $ac_word...
" >&6; }
7866 if ${ac_cv_prog_YACC+:} false; then :
7867 $as_echo_n "(cached
) " >&6
7869 if test -n "$YACC"; then
7870 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7876 test -z "$as_dir" && as_dir=.
7877 for ac_exec_ext in '' $ac_executable_extensions; do
7878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7879 ac_cv_prog_YACC="$ac_prog"
7880 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7889 YACC=$ac_cv_prog_YACC
7890 if test -n "$YACC"; then
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7892 $as_echo "$YACC" >&6; }
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7895 $as_echo "no
" >&6; }
7899 test -n "$YACC" && break
7901 test -n "$YACC" || YACC="$MISSING bison
-y"
7903 case " $build_configdirs " in
7904 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7907 for ac_prog in bison
7909 # Extract the first word of "$ac_prog", so it can be a program name with args.
7910 set dummy $ac_prog; ac_word=$2
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7912 $as_echo_n "checking
for $ac_word...
" >&6; }
7913 if ${ac_cv_prog_BISON+:} false; then :
7914 $as_echo_n "(cached
) " >&6
7916 if test -n "$BISON"; then
7917 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7923 test -z "$as_dir" && as_dir=.
7924 for ac_exec_ext in '' $ac_executable_extensions; do
7925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7926 ac_cv_prog_BISON="$ac_prog"
7927 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7936 BISON=$ac_cv_prog_BISON
7937 if test -n "$BISON"; then
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7939 $as_echo "$BISON" >&6; }
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7942 $as_echo "no
" >&6; }
7946 test -n "$BISON" && break
7948 test -n "$BISON" || BISON="$MISSING bison
"
7950 case " $build_configdirs " in
7951 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7954 for ac_prog in gm4 gnum4 m4
7956 # Extract the first word of "$ac_prog", so it can be a program name with args.
7957 set dummy $ac_prog; ac_word=$2
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7959 $as_echo_n "checking
for $ac_word...
" >&6; }
7960 if ${ac_cv_prog_M4+:} false; then :
7961 $as_echo_n "(cached
) " >&6
7963 if test -n "$M4"; then
7964 ac_cv_prog_M4="$M4" # Let the user override the test.
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7973 ac_cv_prog_M4="$ac_prog"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7984 if test -n "$M4"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7986 $as_echo "$M4" >&6; }
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7989 $as_echo "no
" >&6; }
7993 test -n "$M4" && break
7995 test -n "$M4" || M4="$MISSING m4"
7997 case " $build_configdirs " in
7998 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
8001 for ac_prog in flex lex
8003 # Extract the first word of "$ac_prog", so it can be a program name with args.
8004 set dummy $ac_prog; ac_word=$2
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8006 $as_echo_n "checking
for $ac_word...
" >&6; }
8007 if ${ac_cv_prog_LEX+:} false; then :
8008 $as_echo_n "(cached
) " >&6
8010 if test -n "$LEX"; then
8011 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8017 test -z "$as_dir" && as_dir=.
8018 for ac_exec_ext in '' $ac_executable_extensions; do
8019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8020 ac_cv_prog_LEX="$ac_prog"
8021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8031 if test -n "$LEX"; then
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
8033 $as_echo "$LEX" >&6; }
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8036 $as_echo "no
" >&6; }
8040 test -n "$LEX" && break
8042 test -n "$LEX" || LEX="$MISSING flex
"
8044 case " $build_configdirs " in
8045 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8046 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
8051 # Extract the first word of "$ac_prog", so it can be a program name with args.
8052 set dummy $ac_prog; ac_word=$2
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8054 $as_echo_n "checking
for $ac_word...
" >&6; }
8055 if ${ac_cv_prog_FLEX+:} false; then :
8056 $as_echo_n "(cached
) " >&6
8058 if test -n "$FLEX"; then
8059 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
8061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8065 test -z "$as_dir" && as_dir=.
8066 for ac_exec_ext in '' $ac_executable_extensions; do
8067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8068 ac_cv_prog_FLEX="$ac_prog"
8069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8078 FLEX=$ac_cv_prog_FLEX
8079 if test -n "$FLEX"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
8081 $as_echo "$FLEX" >&6; }
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8084 $as_echo "no
" >&6; }
8088 test -n "$FLEX" && break
8090 test -n "$FLEX" || FLEX="$MISSING flex
"
8092 case " $build_configdirs " in
8093 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8096 for ac_prog in makeinfo
8098 # Extract the first word of "$ac_prog", so it can be a program name with args.
8099 set dummy $ac_prog; ac_word=$2
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8101 $as_echo_n "checking
for $ac_word...
" >&6; }
8102 if ${ac_cv_prog_MAKEINFO+:} false; then :
8103 $as_echo_n "(cached
) " >&6
8105 if test -n "$MAKEINFO"; then
8106 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8112 test -z "$as_dir" && as_dir=.
8113 for ac_exec_ext in '' $ac_executable_extensions; do
8114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8115 ac_cv_prog_MAKEINFO="$ac_prog"
8116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8125 MAKEINFO=$ac_cv_prog_MAKEINFO
8126 if test -n "$MAKEINFO"; then
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8128 $as_echo "$MAKEINFO" >&6; }
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8131 $as_echo "no
" >&6; }
8135 test -n "$MAKEINFO" && break
8137 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8139 case " $build_configdirs " in
8140 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8143 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8144 # higher, else we use the "missing
" dummy.
8145 if ${MAKEINFO} --version \
8146 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8149 MAKEINFO="$MISSING makeinfo
"
8155 # FIXME: expect and dejagnu may become build tools?
8157 for ac_prog in expect
8159 # Extract the first word of "$ac_prog", so it can be a program name with args.
8160 set dummy $ac_prog; ac_word=$2
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8162 $as_echo_n "checking
for $ac_word...
" >&6; }
8163 if ${ac_cv_prog_EXPECT+:} false; then :
8164 $as_echo_n "(cached
) " >&6
8166 if test -n "$EXPECT"; then
8167 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8173 test -z "$as_dir" && as_dir=.
8174 for ac_exec_ext in '' $ac_executable_extensions; do
8175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8176 ac_cv_prog_EXPECT="$ac_prog"
8177 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8186 EXPECT=$ac_cv_prog_EXPECT
8187 if test -n "$EXPECT"; then
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8189 $as_echo "$EXPECT" >&6; }
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8192 $as_echo "no
" >&6; }
8196 test -n "$EXPECT" && break
8198 test -n "$EXPECT" || EXPECT="expect
"
8200 case " $configdirs " in
8202 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8206 for ac_prog in runtest
8208 # Extract the first word of "$ac_prog", so it can be a program name with args.
8209 set dummy $ac_prog; ac_word=$2
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8211 $as_echo_n "checking
for $ac_word...
" >&6; }
8212 if ${ac_cv_prog_RUNTEST+:} false; then :
8213 $as_echo_n "(cached
) " >&6
8215 if test -n "$RUNTEST"; then
8216 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8222 test -z "$as_dir" && as_dir=.
8223 for ac_exec_ext in '' $ac_executable_extensions; do
8224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8225 ac_cv_prog_RUNTEST="$ac_prog"
8226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8235 RUNTEST=$ac_cv_prog_RUNTEST
8236 if test -n "$RUNTEST"; then
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8238 $as_echo "$RUNTEST" >&6; }
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8241 $as_echo "no
" >&6; }
8245 test -n "$RUNTEST" && break
8247 test -n "$RUNTEST" || RUNTEST="runtest
"
8249 case " $configdirs " in
8251 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8258 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8259 ncn_target_tool_prefix=
8260 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8264 if test -n "$AR"; then
8266 elif test -n "$ac_cv_prog_AR"; then
8270 if test -n "$ac_cv_prog_AR"; then
8271 for ncn_progname in ar; do
8272 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8273 set dummy ${ncn_progname}; ac_word=$2
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8275 $as_echo_n "checking
for $ac_word...
" >&6; }
8276 if ${ac_cv_prog_AR+:} false; then :
8277 $as_echo_n "(cached
) " >&6
8279 if test -n "$AR"; then
8280 ac_cv_prog_AR="$AR" # Let the user override the test.
8282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8286 test -z "$as_dir" && as_dir=.
8287 for ac_exec_ext in '' $ac_executable_extensions; do
8288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8289 ac_cv_prog_AR="${ncn_progname}"
8290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8300 if test -n "$AR"; then
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8302 $as_echo "$AR" >&6; }
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8305 $as_echo "no
" >&6; }
8312 for ncn_progname in ar; do
8313 if test -n "$ncn_tool_prefix"; then
8314 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8315 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8317 $as_echo_n "checking
for $ac_word...
" >&6; }
8318 if ${ac_cv_prog_AR+:} false; then :
8319 $as_echo_n "(cached
) " >&6
8321 if test -n "$AR"; then
8322 ac_cv_prog_AR="$AR" # Let the user override the test.
8324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8328 test -z "$as_dir" && as_dir=.
8329 for ac_exec_ext in '' $ac_executable_extensions; do
8330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8331 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8342 if test -n "$AR"; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8344 $as_echo "$AR" >&6; }
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8347 $as_echo "no
" >&6; }
8352 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8353 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8354 set dummy ${ncn_progname}; ac_word=$2
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8356 $as_echo_n "checking
for $ac_word...
" >&6; }
8357 if ${ac_cv_prog_AR+:} false; then :
8358 $as_echo_n "(cached
) " >&6
8360 if test -n "$AR"; then
8361 ac_cv_prog_AR="$AR" # Let the user override the test.
8363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8367 test -z "$as_dir" && as_dir=.
8368 for ac_exec_ext in '' $ac_executable_extensions; do
8369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8370 ac_cv_prog_AR="${ncn_progname}"
8371 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8381 if test -n "$AR"; then
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8383 $as_echo "$AR" >&6; }
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8386 $as_echo "no
" >&6; }
8391 test -n "$ac_cv_prog_AR" && break
8394 if test -z "$ac_cv_prog_AR" ; then
8396 if test $build = $host ; then
8399 AR="${ncn_tool_prefix}$2"
8405 if test -n "$AS"; then
8407 elif test -n "$ac_cv_prog_AS"; then
8411 if test -n "$ac_cv_prog_AS"; then
8412 for ncn_progname in as; do
8413 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8414 set dummy ${ncn_progname}; ac_word=$2
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8416 $as_echo_n "checking
for $ac_word...
" >&6; }
8417 if ${ac_cv_prog_AS+:} false; then :
8418 $as_echo_n "(cached
) " >&6
8420 if test -n "$AS"; then
8421 ac_cv_prog_AS="$AS" # Let the user override the test.
8423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8427 test -z "$as_dir" && as_dir=.
8428 for ac_exec_ext in '' $ac_executable_extensions; do
8429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8430 ac_cv_prog_AS="${ncn_progname}"
8431 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8441 if test -n "$AS"; then
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8443 $as_echo "$AS" >&6; }
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8446 $as_echo "no
" >&6; }
8453 for ncn_progname in as; do
8454 if test -n "$ncn_tool_prefix"; then
8455 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8456 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8458 $as_echo_n "checking
for $ac_word...
" >&6; }
8459 if ${ac_cv_prog_AS+:} false; then :
8460 $as_echo_n "(cached
) " >&6
8462 if test -n "$AS"; then
8463 ac_cv_prog_AS="$AS" # Let the user override the test.
8465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8469 test -z "$as_dir" && as_dir=.
8470 for ac_exec_ext in '' $ac_executable_extensions; do
8471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8472 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8473 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8483 if test -n "$AS"; then
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8485 $as_echo "$AS" >&6; }
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8488 $as_echo "no
" >&6; }
8493 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8494 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8495 set dummy ${ncn_progname}; ac_word=$2
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8497 $as_echo_n "checking
for $ac_word...
" >&6; }
8498 if ${ac_cv_prog_AS+:} false; then :
8499 $as_echo_n "(cached
) " >&6
8501 if test -n "$AS"; then
8502 ac_cv_prog_AS="$AS" # Let the user override the test.
8504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8508 test -z "$as_dir" && as_dir=.
8509 for ac_exec_ext in '' $ac_executable_extensions; do
8510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8511 ac_cv_prog_AS="${ncn_progname}"
8512 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8522 if test -n "$AS"; then
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8524 $as_echo "$AS" >&6; }
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8527 $as_echo "no
" >&6; }
8532 test -n "$ac_cv_prog_AS" && break
8535 if test -z "$ac_cv_prog_AS" ; then
8537 if test $build = $host ; then
8540 AS="${ncn_tool_prefix}$2"
8546 if test -n "$DLLTOOL"; then
8547 ac_cv_prog_DLLTOOL=$DLLTOOL
8548 elif test -n "$ac_cv_prog_DLLTOOL"; then
8549 DLLTOOL=$ac_cv_prog_DLLTOOL
8552 if test -n "$ac_cv_prog_DLLTOOL"; then
8553 for ncn_progname in dlltool; do
8554 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8555 set dummy ${ncn_progname}; ac_word=$2
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8557 $as_echo_n "checking
for $ac_word...
" >&6; }
8558 if ${ac_cv_prog_DLLTOOL+:} false; then :
8559 $as_echo_n "(cached
) " >&6
8561 if test -n "$DLLTOOL"; then
8562 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8568 test -z "$as_dir" && as_dir=.
8569 for ac_exec_ext in '' $ac_executable_extensions; do
8570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8571 ac_cv_prog_DLLTOOL="${ncn_progname}"
8572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8581 DLLTOOL=$ac_cv_prog_DLLTOOL
8582 if test -n "$DLLTOOL"; then
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8584 $as_echo "$DLLTOOL" >&6; }
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8587 $as_echo "no
" >&6; }
8594 for ncn_progname in dlltool; do
8595 if test -n "$ncn_tool_prefix"; then
8596 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8597 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8599 $as_echo_n "checking
for $ac_word...
" >&6; }
8600 if ${ac_cv_prog_DLLTOOL+:} false; then :
8601 $as_echo_n "(cached
) " >&6
8603 if test -n "$DLLTOOL"; then
8604 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8610 test -z "$as_dir" && as_dir=.
8611 for ac_exec_ext in '' $ac_executable_extensions; do
8612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8613 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8614 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8623 DLLTOOL=$ac_cv_prog_DLLTOOL
8624 if test -n "$DLLTOOL"; then
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8626 $as_echo "$DLLTOOL" >&6; }
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8629 $as_echo "no
" >&6; }
8634 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8635 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8636 set dummy ${ncn_progname}; ac_word=$2
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8638 $as_echo_n "checking
for $ac_word...
" >&6; }
8639 if ${ac_cv_prog_DLLTOOL+:} false; then :
8640 $as_echo_n "(cached
) " >&6
8642 if test -n "$DLLTOOL"; then
8643 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8649 test -z "$as_dir" && as_dir=.
8650 for ac_exec_ext in '' $ac_executable_extensions; do
8651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8652 ac_cv_prog_DLLTOOL="${ncn_progname}"
8653 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8662 DLLTOOL=$ac_cv_prog_DLLTOOL
8663 if test -n "$DLLTOOL"; then
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8665 $as_echo "$DLLTOOL" >&6; }
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8668 $as_echo "no
" >&6; }
8673 test -n "$ac_cv_prog_DLLTOOL" && break
8676 if test -z "$ac_cv_prog_DLLTOOL" ; then
8678 if test $build = $host ; then
8681 DLLTOOL="${ncn_tool_prefix}$2"
8687 if test -n "$LD"; then
8689 elif test -n "$ac_cv_prog_LD"; then
8693 if test -n "$ac_cv_prog_LD"; then
8694 for ncn_progname in ld; do
8695 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8696 set dummy ${ncn_progname}; ac_word=$2
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8698 $as_echo_n "checking
for $ac_word...
" >&6; }
8699 if ${ac_cv_prog_LD+:} false; then :
8700 $as_echo_n "(cached
) " >&6
8702 if test -n "$LD"; then
8703 ac_cv_prog_LD="$LD" # Let the user override the test.
8705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8709 test -z "$as_dir" && as_dir=.
8710 for ac_exec_ext in '' $ac_executable_extensions; do
8711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8712 ac_cv_prog_LD="${ncn_progname}"
8713 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8723 if test -n "$LD"; then
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8725 $as_echo "$LD" >&6; }
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8728 $as_echo "no
" >&6; }
8735 for ncn_progname in ld; do
8736 if test -n "$ncn_tool_prefix"; then
8737 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8738 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8740 $as_echo_n "checking
for $ac_word...
" >&6; }
8741 if ${ac_cv_prog_LD+:} false; then :
8742 $as_echo_n "(cached
) " >&6
8744 if test -n "$LD"; then
8745 ac_cv_prog_LD="$LD" # Let the user override the test.
8747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8751 test -z "$as_dir" && as_dir=.
8752 for ac_exec_ext in '' $ac_executable_extensions; do
8753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8754 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8765 if test -n "$LD"; then
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8767 $as_echo "$LD" >&6; }
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8770 $as_echo "no
" >&6; }
8775 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8776 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8777 set dummy ${ncn_progname}; ac_word=$2
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8779 $as_echo_n "checking
for $ac_word...
" >&6; }
8780 if ${ac_cv_prog_LD+:} false; then :
8781 $as_echo_n "(cached
) " >&6
8783 if test -n "$LD"; then
8784 ac_cv_prog_LD="$LD" # Let the user override the test.
8786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8790 test -z "$as_dir" && as_dir=.
8791 for ac_exec_ext in '' $ac_executable_extensions; do
8792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8793 ac_cv_prog_LD="${ncn_progname}"
8794 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8804 if test -n "$LD"; then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8806 $as_echo "$LD" >&6; }
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8809 $as_echo "no
" >&6; }
8814 test -n "$ac_cv_prog_LD" && break
8817 if test -z "$ac_cv_prog_LD" ; then
8819 if test $build = $host ; then
8822 LD="${ncn_tool_prefix}$2"
8828 if test -n "$LIPO"; then
8829 ac_cv_prog_LIPO=$LIPO
8830 elif test -n "$ac_cv_prog_LIPO"; then
8831 LIPO=$ac_cv_prog_LIPO
8834 if test -n "$ac_cv_prog_LIPO"; then
8835 for ncn_progname in lipo; do
8836 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8837 set dummy ${ncn_progname}; ac_word=$2
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8839 $as_echo_n "checking
for $ac_word...
" >&6; }
8840 if ${ac_cv_prog_LIPO+:} false; then :
8841 $as_echo_n "(cached
) " >&6
8843 if test -n "$LIPO"; then
8844 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8850 test -z "$as_dir" && as_dir=.
8851 for ac_exec_ext in '' $ac_executable_extensions; do
8852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8853 ac_cv_prog_LIPO="${ncn_progname}"
8854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8863 LIPO=$ac_cv_prog_LIPO
8864 if test -n "$LIPO"; then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8866 $as_echo "$LIPO" >&6; }
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8869 $as_echo "no
" >&6; }
8876 for ncn_progname in lipo; do
8877 if test -n "$ncn_tool_prefix"; then
8878 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8879 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8881 $as_echo_n "checking
for $ac_word...
" >&6; }
8882 if ${ac_cv_prog_LIPO+:} false; then :
8883 $as_echo_n "(cached
) " >&6
8885 if test -n "$LIPO"; then
8886 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8892 test -z "$as_dir" && as_dir=.
8893 for ac_exec_ext in '' $ac_executable_extensions; do
8894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8895 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8896 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8905 LIPO=$ac_cv_prog_LIPO
8906 if test -n "$LIPO"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8908 $as_echo "$LIPO" >&6; }
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8911 $as_echo "no
" >&6; }
8916 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8917 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8918 set dummy ${ncn_progname}; ac_word=$2
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8920 $as_echo_n "checking
for $ac_word...
" >&6; }
8921 if ${ac_cv_prog_LIPO+:} false; then :
8922 $as_echo_n "(cached
) " >&6
8924 if test -n "$LIPO"; then
8925 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8931 test -z "$as_dir" && as_dir=.
8932 for ac_exec_ext in '' $ac_executable_extensions; do
8933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8934 ac_cv_prog_LIPO="${ncn_progname}"
8935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8944 LIPO=$ac_cv_prog_LIPO
8945 if test -n "$LIPO"; then
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8947 $as_echo "$LIPO" >&6; }
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8950 $as_echo "no
" >&6; }
8955 test -n "$ac_cv_prog_LIPO" && break
8958 if test -z "$ac_cv_prog_LIPO" ; then
8960 if test $build = $host ; then
8963 LIPO="${ncn_tool_prefix}$2"
8969 if test -n "$NM"; then
8971 elif test -n "$ac_cv_prog_NM"; then
8975 if test -n "$ac_cv_prog_NM"; then
8976 for ncn_progname in nm; do
8977 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8978 set dummy ${ncn_progname}; ac_word=$2
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8980 $as_echo_n "checking
for $ac_word...
" >&6; }
8981 if ${ac_cv_prog_NM+:} false; then :
8982 $as_echo_n "(cached
) " >&6
8984 if test -n "$NM"; then
8985 ac_cv_prog_NM="$NM" # Let the user override the test.
8987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8991 test -z "$as_dir" && as_dir=.
8992 for ac_exec_ext in '' $ac_executable_extensions; do
8993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8994 ac_cv_prog_NM="${ncn_progname}"
8995 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9005 if test -n "$NM"; then
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9007 $as_echo "$NM" >&6; }
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9010 $as_echo "no
" >&6; }
9017 for ncn_progname in nm; do
9018 if test -n "$ncn_tool_prefix"; then
9019 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9020 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9022 $as_echo_n "checking
for $ac_word...
" >&6; }
9023 if ${ac_cv_prog_NM+:} false; then :
9024 $as_echo_n "(cached
) " >&6
9026 if test -n "$NM"; then
9027 ac_cv_prog_NM="$NM" # Let the user override the test.
9029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9033 test -z "$as_dir" && as_dir=.
9034 for ac_exec_ext in '' $ac_executable_extensions; do
9035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9036 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
9037 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9047 if test -n "$NM"; then
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9049 $as_echo "$NM" >&6; }
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9052 $as_echo "no
" >&6; }
9057 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
9058 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9059 set dummy ${ncn_progname}; ac_word=$2
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9061 $as_echo_n "checking
for $ac_word...
" >&6; }
9062 if ${ac_cv_prog_NM+:} false; then :
9063 $as_echo_n "(cached
) " >&6
9065 if test -n "$NM"; then
9066 ac_cv_prog_NM="$NM" # Let the user override the test.
9068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9072 test -z "$as_dir" && as_dir=.
9073 for ac_exec_ext in '' $ac_executable_extensions; do
9074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9075 ac_cv_prog_NM="${ncn_progname}"
9076 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9086 if test -n "$NM"; then
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9088 $as_echo "$NM" >&6; }
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9091 $as_echo "no
" >&6; }
9096 test -n "$ac_cv_prog_NM" && break
9099 if test -z "$ac_cv_prog_NM" ; then
9101 if test $build = $host ; then
9104 NM="${ncn_tool_prefix}$2"
9110 if test -n "$RANLIB"; then
9111 ac_cv_prog_RANLIB=$RANLIB
9112 elif test -n "$ac_cv_prog_RANLIB"; then
9113 RANLIB=$ac_cv_prog_RANLIB
9116 if test -n "$ac_cv_prog_RANLIB"; then
9117 for ncn_progname in ranlib; do
9118 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9119 set dummy ${ncn_progname}; ac_word=$2
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9121 $as_echo_n "checking
for $ac_word...
" >&6; }
9122 if ${ac_cv_prog_RANLIB+:} false; then :
9123 $as_echo_n "(cached
) " >&6
9125 if test -n "$RANLIB"; then
9126 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9132 test -z "$as_dir" && as_dir=.
9133 for ac_exec_ext in '' $ac_executable_extensions; do
9134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9135 ac_cv_prog_RANLIB="${ncn_progname}"
9136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9145 RANLIB=$ac_cv_prog_RANLIB
9146 if test -n "$RANLIB"; then
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9148 $as_echo "$RANLIB" >&6; }
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9151 $as_echo "no
" >&6; }
9158 for ncn_progname in ranlib; do
9159 if test -n "$ncn_tool_prefix"; then
9160 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9161 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9163 $as_echo_n "checking
for $ac_word...
" >&6; }
9164 if ${ac_cv_prog_RANLIB+:} false; then :
9165 $as_echo_n "(cached
) " >&6
9167 if test -n "$RANLIB"; then
9168 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9174 test -z "$as_dir" && as_dir=.
9175 for ac_exec_ext in '' $ac_executable_extensions; do
9176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9177 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9178 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9187 RANLIB=$ac_cv_prog_RANLIB
9188 if test -n "$RANLIB"; then
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9190 $as_echo "$RANLIB" >&6; }
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9193 $as_echo "no
" >&6; }
9198 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9199 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9200 set dummy ${ncn_progname}; ac_word=$2
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9202 $as_echo_n "checking
for $ac_word...
" >&6; }
9203 if ${ac_cv_prog_RANLIB+:} false; then :
9204 $as_echo_n "(cached
) " >&6
9206 if test -n "$RANLIB"; then
9207 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9213 test -z "$as_dir" && as_dir=.
9214 for ac_exec_ext in '' $ac_executable_extensions; do
9215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9216 ac_cv_prog_RANLIB="${ncn_progname}"
9217 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9226 RANLIB=$ac_cv_prog_RANLIB
9227 if test -n "$RANLIB"; then
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9229 $as_echo "$RANLIB" >&6; }
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9232 $as_echo "no
" >&6; }
9237 test -n "$ac_cv_prog_RANLIB" && break
9240 if test -z "$ac_cv_prog_RANLIB" ; then
9246 if test -n "$STRIP"; then
9247 ac_cv_prog_STRIP=$STRIP
9248 elif test -n "$ac_cv_prog_STRIP"; then
9249 STRIP=$ac_cv_prog_STRIP
9252 if test -n "$ac_cv_prog_STRIP"; then
9253 for ncn_progname in strip; do
9254 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9255 set dummy ${ncn_progname}; ac_word=$2
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9257 $as_echo_n "checking
for $ac_word...
" >&6; }
9258 if ${ac_cv_prog_STRIP+:} false; then :
9259 $as_echo_n "(cached
) " >&6
9261 if test -n "$STRIP"; then
9262 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9268 test -z "$as_dir" && as_dir=.
9269 for ac_exec_ext in '' $ac_executable_extensions; do
9270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9271 ac_cv_prog_STRIP="${ncn_progname}"
9272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9281 STRIP=$ac_cv_prog_STRIP
9282 if test -n "$STRIP"; then
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9284 $as_echo "$STRIP" >&6; }
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9287 $as_echo "no
" >&6; }
9294 for ncn_progname in strip; do
9295 if test -n "$ncn_tool_prefix"; then
9296 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9297 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9299 $as_echo_n "checking
for $ac_word...
" >&6; }
9300 if ${ac_cv_prog_STRIP+:} false; then :
9301 $as_echo_n "(cached
) " >&6
9303 if test -n "$STRIP"; then
9304 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9310 test -z "$as_dir" && as_dir=.
9311 for ac_exec_ext in '' $ac_executable_extensions; do
9312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9313 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9314 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9323 STRIP=$ac_cv_prog_STRIP
9324 if test -n "$STRIP"; then
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9326 $as_echo "$STRIP" >&6; }
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9329 $as_echo "no
" >&6; }
9334 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9335 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9336 set dummy ${ncn_progname}; ac_word=$2
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9338 $as_echo_n "checking
for $ac_word...
" >&6; }
9339 if ${ac_cv_prog_STRIP+:} false; then :
9340 $as_echo_n "(cached
) " >&6
9342 if test -n "$STRIP"; then
9343 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9349 test -z "$as_dir" && as_dir=.
9350 for ac_exec_ext in '' $ac_executable_extensions; do
9351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9352 ac_cv_prog_STRIP="${ncn_progname}"
9353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9362 STRIP=$ac_cv_prog_STRIP
9363 if test -n "$STRIP"; then
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9365 $as_echo "$STRIP" >&6; }
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9368 $as_echo "no
" >&6; }
9373 test -n "$ac_cv_prog_STRIP" && break
9376 if test -z "$ac_cv_prog_STRIP" ; then
9382 if test -n "$WINDRES"; then
9383 ac_cv_prog_WINDRES=$WINDRES
9384 elif test -n "$ac_cv_prog_WINDRES"; then
9385 WINDRES=$ac_cv_prog_WINDRES
9388 if test -n "$ac_cv_prog_WINDRES"; then
9389 for ncn_progname in windres; do
9390 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9391 set dummy ${ncn_progname}; ac_word=$2
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9393 $as_echo_n "checking
for $ac_word...
" >&6; }
9394 if ${ac_cv_prog_WINDRES+:} false; then :
9395 $as_echo_n "(cached
) " >&6
9397 if test -n "$WINDRES"; then
9398 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9404 test -z "$as_dir" && as_dir=.
9405 for ac_exec_ext in '' $ac_executable_extensions; do
9406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9407 ac_cv_prog_WINDRES="${ncn_progname}"
9408 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9417 WINDRES=$ac_cv_prog_WINDRES
9418 if test -n "$WINDRES"; then
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9420 $as_echo "$WINDRES" >&6; }
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9423 $as_echo "no
" >&6; }
9430 for ncn_progname in windres; do
9431 if test -n "$ncn_tool_prefix"; then
9432 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9433 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9435 $as_echo_n "checking
for $ac_word...
" >&6; }
9436 if ${ac_cv_prog_WINDRES+:} false; then :
9437 $as_echo_n "(cached
) " >&6
9439 if test -n "$WINDRES"; then
9440 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9446 test -z "$as_dir" && as_dir=.
9447 for ac_exec_ext in '' $ac_executable_extensions; do
9448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9449 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9450 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9459 WINDRES=$ac_cv_prog_WINDRES
9460 if test -n "$WINDRES"; then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9462 $as_echo "$WINDRES" >&6; }
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9465 $as_echo "no
" >&6; }
9470 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9471 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9472 set dummy ${ncn_progname}; ac_word=$2
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9474 $as_echo_n "checking
for $ac_word...
" >&6; }
9475 if ${ac_cv_prog_WINDRES+:} false; then :
9476 $as_echo_n "(cached
) " >&6
9478 if test -n "$WINDRES"; then
9479 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9485 test -z "$as_dir" && as_dir=.
9486 for ac_exec_ext in '' $ac_executable_extensions; do
9487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9488 ac_cv_prog_WINDRES="${ncn_progname}"
9489 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9498 WINDRES=$ac_cv_prog_WINDRES
9499 if test -n "$WINDRES"; then
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9501 $as_echo "$WINDRES" >&6; }
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9504 $as_echo "no
" >&6; }
9509 test -n "$ac_cv_prog_WINDRES" && break
9512 if test -z "$ac_cv_prog_WINDRES" ; then
9514 if test $build = $host ; then
9517 WINDRES="${ncn_tool_prefix}$2"
9523 if test -n "$WINDMC"; then
9524 ac_cv_prog_WINDMC=$WINDMC
9525 elif test -n "$ac_cv_prog_WINDMC"; then
9526 WINDMC=$ac_cv_prog_WINDMC
9529 if test -n "$ac_cv_prog_WINDMC"; then
9530 for ncn_progname in windmc; do
9531 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9532 set dummy ${ncn_progname}; ac_word=$2
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9534 $as_echo_n "checking
for $ac_word...
" >&6; }
9535 if ${ac_cv_prog_WINDMC+:} false; then :
9536 $as_echo_n "(cached
) " >&6
9538 if test -n "$WINDMC"; then
9539 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9545 test -z "$as_dir" && as_dir=.
9546 for ac_exec_ext in '' $ac_executable_extensions; do
9547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9548 ac_cv_prog_WINDMC="${ncn_progname}"
9549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9558 WINDMC=$ac_cv_prog_WINDMC
9559 if test -n "$WINDMC"; then
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9561 $as_echo "$WINDMC" >&6; }
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9564 $as_echo "no
" >&6; }
9571 for ncn_progname in windmc; do
9572 if test -n "$ncn_tool_prefix"; then
9573 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9574 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9576 $as_echo_n "checking
for $ac_word...
" >&6; }
9577 if ${ac_cv_prog_WINDMC+:} false; then :
9578 $as_echo_n "(cached
) " >&6
9580 if test -n "$WINDMC"; then
9581 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9587 test -z "$as_dir" && as_dir=.
9588 for ac_exec_ext in '' $ac_executable_extensions; do
9589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9590 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9591 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9600 WINDMC=$ac_cv_prog_WINDMC
9601 if test -n "$WINDMC"; then
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9603 $as_echo "$WINDMC" >&6; }
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9606 $as_echo "no
" >&6; }
9611 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9612 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9613 set dummy ${ncn_progname}; ac_word=$2
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9615 $as_echo_n "checking
for $ac_word...
" >&6; }
9616 if ${ac_cv_prog_WINDMC+:} false; then :
9617 $as_echo_n "(cached
) " >&6
9619 if test -n "$WINDMC"; then
9620 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9626 test -z "$as_dir" && as_dir=.
9627 for ac_exec_ext in '' $ac_executable_extensions; do
9628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9629 ac_cv_prog_WINDMC="${ncn_progname}"
9630 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9639 WINDMC=$ac_cv_prog_WINDMC
9640 if test -n "$WINDMC"; then
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9642 $as_echo "$WINDMC" >&6; }
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9645 $as_echo "no
" >&6; }
9650 test -n "$ac_cv_prog_WINDMC" && break
9653 if test -z "$ac_cv_prog_WINDMC" ; then
9655 if test $build = $host ; then
9658 WINDMC="${ncn_tool_prefix}$2"
9664 if test -n "$OBJCOPY"; then
9665 ac_cv_prog_OBJCOPY=$OBJCOPY
9666 elif test -n "$ac_cv_prog_OBJCOPY"; then
9667 OBJCOPY=$ac_cv_prog_OBJCOPY
9670 if test -n "$ac_cv_prog_OBJCOPY"; then
9671 for ncn_progname in objcopy; do
9672 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9673 set dummy ${ncn_progname}; ac_word=$2
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9675 $as_echo_n "checking
for $ac_word...
" >&6; }
9676 if ${ac_cv_prog_OBJCOPY+:} false; then :
9677 $as_echo_n "(cached
) " >&6
9679 if test -n "$OBJCOPY"; then
9680 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9686 test -z "$as_dir" && as_dir=.
9687 for ac_exec_ext in '' $ac_executable_extensions; do
9688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9689 ac_cv_prog_OBJCOPY="${ncn_progname}"
9690 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9699 OBJCOPY=$ac_cv_prog_OBJCOPY
9700 if test -n "$OBJCOPY"; then
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9702 $as_echo "$OBJCOPY" >&6; }
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9705 $as_echo "no
" >&6; }
9712 for ncn_progname in objcopy; do
9713 if test -n "$ncn_tool_prefix"; then
9714 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9715 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9717 $as_echo_n "checking
for $ac_word...
" >&6; }
9718 if ${ac_cv_prog_OBJCOPY+:} false; then :
9719 $as_echo_n "(cached
) " >&6
9721 if test -n "$OBJCOPY"; then
9722 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9728 test -z "$as_dir" && as_dir=.
9729 for ac_exec_ext in '' $ac_executable_extensions; do
9730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9731 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9741 OBJCOPY=$ac_cv_prog_OBJCOPY
9742 if test -n "$OBJCOPY"; then
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9744 $as_echo "$OBJCOPY" >&6; }
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9747 $as_echo "no
" >&6; }
9752 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9753 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9754 set dummy ${ncn_progname}; ac_word=$2
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9756 $as_echo_n "checking
for $ac_word...
" >&6; }
9757 if ${ac_cv_prog_OBJCOPY+:} false; then :
9758 $as_echo_n "(cached
) " >&6
9760 if test -n "$OBJCOPY"; then
9761 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9767 test -z "$as_dir" && as_dir=.
9768 for ac_exec_ext in '' $ac_executable_extensions; do
9769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9770 ac_cv_prog_OBJCOPY="${ncn_progname}"
9771 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9780 OBJCOPY=$ac_cv_prog_OBJCOPY
9781 if test -n "$OBJCOPY"; then
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9783 $as_echo "$OBJCOPY" >&6; }
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9786 $as_echo "no
" >&6; }
9791 test -n "$ac_cv_prog_OBJCOPY" && break
9794 if test -z "$ac_cv_prog_OBJCOPY" ; then
9796 if test $build = $host ; then
9799 OBJCOPY="${ncn_tool_prefix}$2"
9805 if test -n "$OBJDUMP"; then
9806 ac_cv_prog_OBJDUMP=$OBJDUMP
9807 elif test -n "$ac_cv_prog_OBJDUMP"; then
9808 OBJDUMP=$ac_cv_prog_OBJDUMP
9811 if test -n "$ac_cv_prog_OBJDUMP"; then
9812 for ncn_progname in objdump; do
9813 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9814 set dummy ${ncn_progname}; ac_word=$2
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9816 $as_echo_n "checking
for $ac_word...
" >&6; }
9817 if ${ac_cv_prog_OBJDUMP+:} false; then :
9818 $as_echo_n "(cached
) " >&6
9820 if test -n "$OBJDUMP"; then
9821 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9827 test -z "$as_dir" && as_dir=.
9828 for ac_exec_ext in '' $ac_executable_extensions; do
9829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9830 ac_cv_prog_OBJDUMP="${ncn_progname}"
9831 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9840 OBJDUMP=$ac_cv_prog_OBJDUMP
9841 if test -n "$OBJDUMP"; then
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9843 $as_echo "$OBJDUMP" >&6; }
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9846 $as_echo "no
" >&6; }
9853 for ncn_progname in objdump; do
9854 if test -n "$ncn_tool_prefix"; then
9855 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9856 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9858 $as_echo_n "checking
for $ac_word...
" >&6; }
9859 if ${ac_cv_prog_OBJDUMP+:} false; then :
9860 $as_echo_n "(cached
) " >&6
9862 if test -n "$OBJDUMP"; then
9863 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9869 test -z "$as_dir" && as_dir=.
9870 for ac_exec_ext in '' $ac_executable_extensions; do
9871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9872 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9882 OBJDUMP=$ac_cv_prog_OBJDUMP
9883 if test -n "$OBJDUMP"; then
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9885 $as_echo "$OBJDUMP" >&6; }
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9888 $as_echo "no
" >&6; }
9893 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9894 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9895 set dummy ${ncn_progname}; ac_word=$2
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9897 $as_echo_n "checking
for $ac_word...
" >&6; }
9898 if ${ac_cv_prog_OBJDUMP+:} false; then :
9899 $as_echo_n "(cached
) " >&6
9901 if test -n "$OBJDUMP"; then
9902 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9908 test -z "$as_dir" && as_dir=.
9909 for ac_exec_ext in '' $ac_executable_extensions; do
9910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9911 ac_cv_prog_OBJDUMP="${ncn_progname}"
9912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9921 OBJDUMP=$ac_cv_prog_OBJDUMP
9922 if test -n "$OBJDUMP"; then
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9924 $as_echo "$OBJDUMP" >&6; }
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9927 $as_echo "no
" >&6; }
9932 test -n "$ac_cv_prog_OBJDUMP" && break
9935 if test -z "$ac_cv_prog_OBJDUMP" ; then
9937 if test $build = $host ; then
9940 OBJDUMP="${ncn_tool_prefix}$2"
9946 if test -n "$OTOOL"; then
9947 ac_cv_prog_OTOOL=$OTOOL
9948 elif test -n "$ac_cv_prog_OTOOL"; then
9949 OTOOL=$ac_cv_prog_OTOOL
9952 if test -n "$ac_cv_prog_OTOOL"; then
9953 for ncn_progname in otool; do
9954 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9955 set dummy ${ncn_progname}; ac_word=$2
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9957 $as_echo_n "checking
for $ac_word...
" >&6; }
9958 if ${ac_cv_prog_OTOOL+:} false; then :
9959 $as_echo_n "(cached
) " >&6
9961 if test -n "$OTOOL"; then
9962 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9968 test -z "$as_dir" && as_dir=.
9969 for ac_exec_ext in '' $ac_executable_extensions; do
9970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9971 ac_cv_prog_OTOOL="${ncn_progname}"
9972 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9981 OTOOL=$ac_cv_prog_OTOOL
9982 if test -n "$OTOOL"; then
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9984 $as_echo "$OTOOL" >&6; }
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9987 $as_echo "no
" >&6; }
9994 for ncn_progname in otool; do
9995 if test -n "$ncn_tool_prefix"; then
9996 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9997 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9999 $as_echo_n "checking
for $ac_word...
" >&6; }
10000 if ${ac_cv_prog_OTOOL+:} false; then :
10001 $as_echo_n "(cached
) " >&6
10003 if test -n "$OTOOL"; then
10004 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10007 for as_dir in $PATH
10010 test -z "$as_dir" && as_dir=.
10011 for ac_exec_ext in '' $ac_executable_extensions; do
10012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10013 ac_cv_prog_OTOOL="${ncn_tool_prefix}${ncn_progname}"
10014 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10023 OTOOL=$ac_cv_prog_OTOOL
10024 if test -n "$OTOOL"; then
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
10026 $as_echo "$OTOOL" >&6; }
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10029 $as_echo "no
" >&6; }
10034 if test -z "$ac_cv_prog_OTOOL" && test $build = $host ; then
10035 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10036 set dummy ${ncn_progname}; ac_word=$2
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10038 $as_echo_n "checking
for $ac_word...
" >&6; }
10039 if ${ac_cv_prog_OTOOL+:} false; then :
10040 $as_echo_n "(cached
) " >&6
10042 if test -n "$OTOOL"; then
10043 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10046 for as_dir in $PATH
10049 test -z "$as_dir" && as_dir=.
10050 for ac_exec_ext in '' $ac_executable_extensions; do
10051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10052 ac_cv_prog_OTOOL="${ncn_progname}"
10053 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10062 OTOOL=$ac_cv_prog_OTOOL
10063 if test -n "$OTOOL"; then
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
10065 $as_echo "$OTOOL" >&6; }
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10068 $as_echo "no
" >&6; }
10073 test -n "$ac_cv_prog_OTOOL" && break
10076 if test -z "$ac_cv_prog_OTOOL" ; then
10078 if test $build = $host ; then
10081 OTOOL="${ncn_tool_prefix}$2"
10087 if test -n "$READELF"; then
10088 ac_cv_prog_READELF=$READELF
10089 elif test -n "$ac_cv_prog_READELF"; then
10090 READELF=$ac_cv_prog_READELF
10093 if test -n "$ac_cv_prog_READELF"; then
10094 for ncn_progname in readelf; do
10095 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10096 set dummy ${ncn_progname}; ac_word=$2
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10098 $as_echo_n "checking
for $ac_word...
" >&6; }
10099 if ${ac_cv_prog_READELF+:} false; then :
10100 $as_echo_n "(cached
) " >&6
10102 if test -n "$READELF"; then
10103 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10106 for as_dir in $PATH
10109 test -z "$as_dir" && as_dir=.
10110 for ac_exec_ext in '' $ac_executable_extensions; do
10111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10112 ac_cv_prog_READELF="${ncn_progname}"
10113 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10122 READELF=$ac_cv_prog_READELF
10123 if test -n "$READELF"; then
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10125 $as_echo "$READELF" >&6; }
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10128 $as_echo "no
" >&6; }
10135 for ncn_progname in readelf; do
10136 if test -n "$ncn_tool_prefix"; then
10137 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10138 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10140 $as_echo_n "checking
for $ac_word...
" >&6; }
10141 if ${ac_cv_prog_READELF+:} false; then :
10142 $as_echo_n "(cached
) " >&6
10144 if test -n "$READELF"; then
10145 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10148 for as_dir in $PATH
10151 test -z "$as_dir" && as_dir=.
10152 for ac_exec_ext in '' $ac_executable_extensions; do
10153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10154 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
10155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10164 READELF=$ac_cv_prog_READELF
10165 if test -n "$READELF"; then
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10167 $as_echo "$READELF" >&6; }
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10170 $as_echo "no
" >&6; }
10175 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
10176 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10177 set dummy ${ncn_progname}; ac_word=$2
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10179 $as_echo_n "checking
for $ac_word...
" >&6; }
10180 if ${ac_cv_prog_READELF+:} false; then :
10181 $as_echo_n "(cached
) " >&6
10183 if test -n "$READELF"; then
10184 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10187 for as_dir in $PATH
10190 test -z "$as_dir" && as_dir=.
10191 for ac_exec_ext in '' $ac_executable_extensions; do
10192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10193 ac_cv_prog_READELF="${ncn_progname}"
10194 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10203 READELF=$ac_cv_prog_READELF
10204 if test -n "$READELF"; then
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10206 $as_echo "$READELF" >&6; }
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10209 $as_echo "no
" >&6; }
10214 test -n "$ac_cv_prog_READELF" && break
10217 if test -z "$ac_cv_prog_READELF" ; then
10219 if test $build = $host ; then
10222 READELF="${ncn_tool_prefix}$2"
10233 # Check whether --with-build-time-tools was given.
10234 if test "${with_build_time_tools+set}" = set; then :
10235 withval=$with_build_time_tools; case x"$withval" in
10238 with_build_time_tools=
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10240 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10244 with_build_time_tools=
10250 if test -n "$CC_FOR_TARGET"; then
10251 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10252 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10253 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10256 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10257 for ncn_progname in cc gcc; do
10258 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10259 set dummy ${ncn_progname}; ac_word=$2
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10261 $as_echo_n "checking
for $ac_word...
" >&6; }
10262 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10263 $as_echo_n "(cached
) " >&6
10265 if test -n "$CC_FOR_TARGET"; then
10266 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10269 for as_dir in $PATH
10272 test -z "$as_dir" && as_dir=.
10273 for ac_exec_ext in '' $ac_executable_extensions; do
10274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10275 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10276 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10285 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10286 if test -n "$CC_FOR_TARGET"; then
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10288 $as_echo "$CC_FOR_TARGET" >&6; }
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10291 $as_echo "no
" >&6; }
10298 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10299 for ncn_progname in cc gcc; do
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10301 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10302 if test -x $with_build_time_tools/${ncn_progname}; then
10303 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10305 $as_echo "yes" >&6; }
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10309 $as_echo "no
" >&6; }
10314 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10315 for ncn_progname in cc gcc; do
10316 if test -n "$ncn_target_tool_prefix"; then
10317 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10318 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10320 $as_echo_n "checking
for $ac_word...
" >&6; }
10321 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10322 $as_echo_n "(cached
) " >&6
10324 if test -n "$CC_FOR_TARGET"; then
10325 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10328 for as_dir in $PATH
10331 test -z "$as_dir" && as_dir=.
10332 for ac_exec_ext in '' $ac_executable_extensions; do
10333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10334 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10335 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10344 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10345 if test -n "$CC_FOR_TARGET"; then
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10347 $as_echo "$CC_FOR_TARGET" >&6; }
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10350 $as_echo "no
" >&6; }
10355 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10356 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10357 set dummy ${ncn_progname}; ac_word=$2
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10359 $as_echo_n "checking
for $ac_word...
" >&6; }
10360 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10361 $as_echo_n "(cached
) " >&6
10363 if test -n "$CC_FOR_TARGET"; then
10364 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10367 for as_dir in $PATH
10370 test -z "$as_dir" && as_dir=.
10371 for ac_exec_ext in '' $ac_executable_extensions; do
10372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10373 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10374 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10383 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10384 if test -n "$CC_FOR_TARGET"; then
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10386 $as_echo "$CC_FOR_TARGET" >&6; }
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10389 $as_echo "no
" >&6; }
10394 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10398 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10400 if test $build = $target ; then
10403 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10406 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10411 if test -n "$CXX_FOR_TARGET"; then
10412 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10413 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10414 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10417 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10418 for ncn_progname in c++ g++ cxx gxx; do
10419 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10420 set dummy ${ncn_progname}; ac_word=$2
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10422 $as_echo_n "checking
for $ac_word...
" >&6; }
10423 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10424 $as_echo_n "(cached
) " >&6
10426 if test -n "$CXX_FOR_TARGET"; then
10427 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10430 for as_dir in $PATH
10433 test -z "$as_dir" && as_dir=.
10434 for ac_exec_ext in '' $ac_executable_extensions; do
10435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10436 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10446 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10447 if test -n "$CXX_FOR_TARGET"; then
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10449 $as_echo "$CXX_FOR_TARGET" >&6; }
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10452 $as_echo "no
" >&6; }
10459 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10460 for ncn_progname in c++ g++ cxx gxx; do
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10462 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10463 if test -x $with_build_time_tools/${ncn_progname}; then
10464 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10466 $as_echo "yes" >&6; }
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10470 $as_echo "no
" >&6; }
10475 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10476 for ncn_progname in c++ g++ cxx gxx; do
10477 if test -n "$ncn_target_tool_prefix"; then
10478 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10479 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10481 $as_echo_n "checking
for $ac_word...
" >&6; }
10482 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10483 $as_echo_n "(cached
) " >&6
10485 if test -n "$CXX_FOR_TARGET"; then
10486 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10489 for as_dir in $PATH
10492 test -z "$as_dir" && as_dir=.
10493 for ac_exec_ext in '' $ac_executable_extensions; do
10494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10495 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10496 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10505 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10506 if test -n "$CXX_FOR_TARGET"; then
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10508 $as_echo "$CXX_FOR_TARGET" >&6; }
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10511 $as_echo "no
" >&6; }
10516 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10517 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10518 set dummy ${ncn_progname}; ac_word=$2
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10520 $as_echo_n "checking
for $ac_word...
" >&6; }
10521 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10522 $as_echo_n "(cached
) " >&6
10524 if test -n "$CXX_FOR_TARGET"; then
10525 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10528 for as_dir in $PATH
10531 test -z "$as_dir" && as_dir=.
10532 for ac_exec_ext in '' $ac_executable_extensions; do
10533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10534 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10535 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10544 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10545 if test -n "$CXX_FOR_TARGET"; then
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10547 $as_echo "$CXX_FOR_TARGET" >&6; }
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10550 $as_echo "no
" >&6; }
10555 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10559 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10560 set dummy c++ g++ cxx gxx
10561 if test $build = $target ; then
10562 CXX_FOR_TARGET="$2"
10564 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10567 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10572 if test -n "$GCC_FOR_TARGET"; then
10573 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10574 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10575 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10578 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10579 for ncn_progname in gcc; do
10580 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10581 set dummy ${ncn_progname}; ac_word=$2
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10583 $as_echo_n "checking
for $ac_word...
" >&6; }
10584 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10585 $as_echo_n "(cached
) " >&6
10587 if test -n "$GCC_FOR_TARGET"; then
10588 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10591 for as_dir in $PATH
10594 test -z "$as_dir" && as_dir=.
10595 for ac_exec_ext in '' $ac_executable_extensions; do
10596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10597 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10598 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10607 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10608 if test -n "$GCC_FOR_TARGET"; then
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10610 $as_echo "$GCC_FOR_TARGET" >&6; }
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10613 $as_echo "no
" >&6; }
10620 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10621 for ncn_progname in gcc; do
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10623 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10624 if test -x $with_build_time_tools/${ncn_progname}; then
10625 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10627 $as_echo "yes" >&6; }
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10631 $as_echo "no
" >&6; }
10636 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10637 for ncn_progname in gcc; do
10638 if test -n "$ncn_target_tool_prefix"; then
10639 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10640 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10642 $as_echo_n "checking
for $ac_word...
" >&6; }
10643 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10644 $as_echo_n "(cached
) " >&6
10646 if test -n "$GCC_FOR_TARGET"; then
10647 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10650 for as_dir in $PATH
10653 test -z "$as_dir" && as_dir=.
10654 for ac_exec_ext in '' $ac_executable_extensions; do
10655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10656 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10657 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10666 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10667 if test -n "$GCC_FOR_TARGET"; then
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10669 $as_echo "$GCC_FOR_TARGET" >&6; }
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10672 $as_echo "no
" >&6; }
10677 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10678 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10679 set dummy ${ncn_progname}; ac_word=$2
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10681 $as_echo_n "checking
for $ac_word...
" >&6; }
10682 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10683 $as_echo_n "(cached
) " >&6
10685 if test -n "$GCC_FOR_TARGET"; then
10686 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10689 for as_dir in $PATH
10692 test -z "$as_dir" && as_dir=.
10693 for ac_exec_ext in '' $ac_executable_extensions; do
10694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10695 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10696 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10705 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10706 if test -n "$GCC_FOR_TARGET"; then
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10708 $as_echo "$GCC_FOR_TARGET" >&6; }
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10711 $as_echo "no
" >&6; }
10716 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10720 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10721 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10723 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10728 if test -n "$GFORTRAN_FOR_TARGET"; then
10729 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10730 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10731 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10734 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10735 for ncn_progname in gfortran; do
10736 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10737 set dummy ${ncn_progname}; ac_word=$2
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10739 $as_echo_n "checking
for $ac_word...
" >&6; }
10740 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10741 $as_echo_n "(cached
) " >&6
10743 if test -n "$GFORTRAN_FOR_TARGET"; then
10744 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10747 for as_dir in $PATH
10750 test -z "$as_dir" && as_dir=.
10751 for ac_exec_ext in '' $ac_executable_extensions; do
10752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10753 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10763 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10764 if test -n "$GFORTRAN_FOR_TARGET"; then
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10766 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10769 $as_echo "no
" >&6; }
10776 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10777 for ncn_progname in gfortran; do
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10779 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10780 if test -x $with_build_time_tools/${ncn_progname}; then
10781 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10783 $as_echo "yes" >&6; }
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10787 $as_echo "no
" >&6; }
10792 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10793 for ncn_progname in gfortran; do
10794 if test -n "$ncn_target_tool_prefix"; then
10795 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10796 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10798 $as_echo_n "checking
for $ac_word...
" >&6; }
10799 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10800 $as_echo_n "(cached
) " >&6
10802 if test -n "$GFORTRAN_FOR_TARGET"; then
10803 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10806 for as_dir in $PATH
10809 test -z "$as_dir" && as_dir=.
10810 for ac_exec_ext in '' $ac_executable_extensions; do
10811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10812 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10813 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10822 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10823 if test -n "$GFORTRAN_FOR_TARGET"; then
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10825 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10828 $as_echo "no
" >&6; }
10833 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10834 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10835 set dummy ${ncn_progname}; ac_word=$2
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10837 $as_echo_n "checking
for $ac_word...
" >&6; }
10838 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10839 $as_echo_n "(cached
) " >&6
10841 if test -n "$GFORTRAN_FOR_TARGET"; then
10842 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10845 for as_dir in $PATH
10848 test -z "$as_dir" && as_dir=.
10849 for ac_exec_ext in '' $ac_executable_extensions; do
10850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10851 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10852 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10861 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10862 if test -n "$GFORTRAN_FOR_TARGET"; then
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10864 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10867 $as_echo "no
" >&6; }
10872 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10876 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10878 if test $build = $target ; then
10879 GFORTRAN_FOR_TARGET="$2"
10881 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10884 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10889 if test -n "$GOC_FOR_TARGET"; then
10890 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10891 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10892 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10895 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10896 for ncn_progname in gccgo; do
10897 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10898 set dummy ${ncn_progname}; ac_word=$2
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10900 $as_echo_n "checking
for $ac_word...
" >&6; }
10901 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10902 $as_echo_n "(cached
) " >&6
10904 if test -n "$GOC_FOR_TARGET"; then
10905 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10908 for as_dir in $PATH
10911 test -z "$as_dir" && as_dir=.
10912 for ac_exec_ext in '' $ac_executable_extensions; do
10913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10914 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10915 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10924 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10925 if test -n "$GOC_FOR_TARGET"; then
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10927 $as_echo "$GOC_FOR_TARGET" >&6; }
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10930 $as_echo "no
" >&6; }
10937 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10938 for ncn_progname in gccgo; do
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10940 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10941 if test -x $with_build_time_tools/${ncn_progname}; then
10942 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10944 $as_echo "yes" >&6; }
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10948 $as_echo "no
" >&6; }
10953 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10954 for ncn_progname in gccgo; do
10955 if test -n "$ncn_target_tool_prefix"; then
10956 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10957 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10959 $as_echo_n "checking
for $ac_word...
" >&6; }
10960 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10961 $as_echo_n "(cached
) " >&6
10963 if test -n "$GOC_FOR_TARGET"; then
10964 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10967 for as_dir in $PATH
10970 test -z "$as_dir" && as_dir=.
10971 for ac_exec_ext in '' $ac_executable_extensions; do
10972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10973 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10974 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10983 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10984 if test -n "$GOC_FOR_TARGET"; then
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10986 $as_echo "$GOC_FOR_TARGET" >&6; }
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10989 $as_echo "no
" >&6; }
10994 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10995 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10996 set dummy ${ncn_progname}; ac_word=$2
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10998 $as_echo_n "checking
for $ac_word...
" >&6; }
10999 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
11000 $as_echo_n "(cached
) " >&6
11002 if test -n "$GOC_FOR_TARGET"; then
11003 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11006 for as_dir in $PATH
11009 test -z "$as_dir" && as_dir=.
11010 for ac_exec_ext in '' $ac_executable_extensions; do
11011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11012 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
11013 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11022 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11023 if test -n "$GOC_FOR_TARGET"; then
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11025 $as_echo "$GOC_FOR_TARGET" >&6; }
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11028 $as_echo "no
" >&6; }
11033 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
11037 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
11039 if test $build = $target ; then
11040 GOC_FOR_TARGET="$2"
11042 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11045 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
11050 if test -n "$GDC_FOR_TARGET"; then
11051 ac_cv_prog_GDC_FOR_TARGET=$GDC_FOR_TARGET
11052 elif test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
11053 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11056 if test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
11057 for ncn_progname in gdc; do
11058 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11059 set dummy ${ncn_progname}; ac_word=$2
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11061 $as_echo_n "checking
for $ac_word...
" >&6; }
11062 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
11063 $as_echo_n "(cached
) " >&6
11065 if test -n "$GDC_FOR_TARGET"; then
11066 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
11068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11069 for as_dir in $PATH
11072 test -z "$as_dir" && as_dir=.
11073 for ac_exec_ext in '' $ac_executable_extensions; do
11074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11075 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
11076 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11085 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11086 if test -n "$GDC_FOR_TARGET"; then
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11088 $as_echo "$GDC_FOR_TARGET" >&6; }
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11091 $as_echo "no
" >&6; }
11098 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11099 for ncn_progname in gdc; do
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11101 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11102 if test -x $with_build_time_tools/${ncn_progname}; then
11103 ac_cv_prog_GDC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11105 $as_echo "yes" >&6; }
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11109 $as_echo "no
" >&6; }
11114 if test -z "$ac_cv_prog_GDC_FOR_TARGET"; then
11115 for ncn_progname in gdc; do
11116 if test -n "$ncn_target_tool_prefix"; then
11117 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11118 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11120 $as_echo_n "checking
for $ac_word...
" >&6; }
11121 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
11122 $as_echo_n "(cached
) " >&6
11124 if test -n "$GDC_FOR_TARGET"; then
11125 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
11127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11128 for as_dir in $PATH
11131 test -z "$as_dir" && as_dir=.
11132 for ac_exec_ext in '' $ac_executable_extensions; do
11133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11134 ac_cv_prog_GDC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11135 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11144 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11145 if test -n "$GDC_FOR_TARGET"; then
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11147 $as_echo "$GDC_FOR_TARGET" >&6; }
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11150 $as_echo "no
" >&6; }
11155 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test $build = $target ; then
11156 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11157 set dummy ${ncn_progname}; ac_word=$2
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11159 $as_echo_n "checking
for $ac_word...
" >&6; }
11160 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
11161 $as_echo_n "(cached
) " >&6
11163 if test -n "$GDC_FOR_TARGET"; then
11164 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
11166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11167 for as_dir in $PATH
11170 test -z "$as_dir" && as_dir=.
11171 for ac_exec_ext in '' $ac_executable_extensions; do
11172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11173 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
11174 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11183 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11184 if test -n "$GDC_FOR_TARGET"; then
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11186 $as_echo "$GDC_FOR_TARGET" >&6; }
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11189 $as_echo "no
" >&6; }
11194 test -n "$ac_cv_prog_GDC_FOR_TARGET" && break
11198 if test -z "$ac_cv_prog_GDC_FOR_TARGET" ; then
11200 if test $build = $target ; then
11201 GDC_FOR_TARGET="$2"
11203 GDC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11206 GDC_FOR_TARGET="$ac_cv_prog_GDC_FOR_TARGET"
11211 cat > conftest.c << \EOF
11216 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11217 have_gcc_for_target=yes
11219 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11220 have_gcc_for_target=no
11227 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11228 if test -n "$with_build_time_tools"; then
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11230 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11231 if test -x $with_build_time_tools/ar; then
11232 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11233 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11235 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11238 $as_echo "no
" >&6; }
11240 elif test $build != $host && test $have_gcc_for_target = yes; then
11241 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11242 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11243 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11246 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11247 # Extract the first word of "ar", so it can be a program name with args.
11248 set dummy ar; ac_word=$2
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11250 $as_echo_n "checking
for $ac_word...
" >&6; }
11251 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
11252 $as_echo_n "(cached
) " >&6
11254 case $AR_FOR_TARGET in
11256 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11260 for as_dir in $gcc_cv_tool_dirs
11263 test -z "$as_dir" && as_dir=.
11264 for ac_exec_ext in '' $ac_executable_extensions; do
11265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11266 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11267 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11277 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11278 if test -n "$AR_FOR_TARGET"; then
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11280 $as_echo "$AR_FOR_TARGET" >&6; }
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11283 $as_echo "no
" >&6; }
11288 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11291 if test -n "$AR_FOR_TARGET"; then
11292 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11293 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11294 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11297 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11298 for ncn_progname in ar; do
11299 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11300 set dummy ${ncn_progname}; ac_word=$2
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11302 $as_echo_n "checking
for $ac_word...
" >&6; }
11303 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11304 $as_echo_n "(cached
) " >&6
11306 if test -n "$AR_FOR_TARGET"; then
11307 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11310 for as_dir in $PATH
11313 test -z "$as_dir" && as_dir=.
11314 for ac_exec_ext in '' $ac_executable_extensions; do
11315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11316 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11317 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11326 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11327 if test -n "$AR_FOR_TARGET"; then
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11329 $as_echo "$AR_FOR_TARGET" >&6; }
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11332 $as_echo "no
" >&6; }
11339 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11340 for ncn_progname in ar; do
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11342 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11343 if test -x $with_build_time_tools/${ncn_progname}; then
11344 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11346 $as_echo "yes" >&6; }
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11350 $as_echo "no
" >&6; }
11355 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11356 for ncn_progname in ar; do
11357 if test -n "$ncn_target_tool_prefix"; then
11358 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11359 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11361 $as_echo_n "checking
for $ac_word...
" >&6; }
11362 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11363 $as_echo_n "(cached
) " >&6
11365 if test -n "$AR_FOR_TARGET"; then
11366 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11369 for as_dir in $PATH
11372 test -z "$as_dir" && as_dir=.
11373 for ac_exec_ext in '' $ac_executable_extensions; do
11374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11375 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11376 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11385 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11386 if test -n "$AR_FOR_TARGET"; then
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11388 $as_echo "$AR_FOR_TARGET" >&6; }
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11391 $as_echo "no
" >&6; }
11396 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11397 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11398 set dummy ${ncn_progname}; ac_word=$2
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11400 $as_echo_n "checking
for $ac_word...
" >&6; }
11401 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11402 $as_echo_n "(cached
) " >&6
11404 if test -n "$AR_FOR_TARGET"; then
11405 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11408 for as_dir in $PATH
11411 test -z "$as_dir" && as_dir=.
11412 for ac_exec_ext in '' $ac_executable_extensions; do
11413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11414 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11424 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11425 if test -n "$AR_FOR_TARGET"; then
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11427 $as_echo "$AR_FOR_TARGET" >&6; }
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11430 $as_echo "no
" >&6; }
11435 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11439 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11441 if test $build = $target ; then
11444 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11447 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11451 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11457 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11458 if test -n "$with_build_time_tools"; then
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11460 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11461 if test -x $with_build_time_tools/as; then
11462 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11463 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11465 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11468 $as_echo "no
" >&6; }
11470 elif test $build != $host && test $have_gcc_for_target = yes; then
11471 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11472 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11473 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11476 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11477 # Extract the first word of "as
", so it can be a program name with args.
11478 set dummy as; ac_word=$2
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11480 $as_echo_n "checking
for $ac_word...
" >&6; }
11481 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
11482 $as_echo_n "(cached
) " >&6
11484 case $AS_FOR_TARGET in
11486 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11490 for as_dir in $gcc_cv_tool_dirs
11493 test -z "$as_dir" && as_dir=.
11494 for ac_exec_ext in '' $ac_executable_extensions; do
11495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11496 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11497 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11507 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11508 if test -n "$AS_FOR_TARGET"; then
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11510 $as_echo "$AS_FOR_TARGET" >&6; }
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11513 $as_echo "no
" >&6; }
11518 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11521 if test -n "$AS_FOR_TARGET"; then
11522 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11523 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11524 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11527 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11528 for ncn_progname in as; do
11529 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11530 set dummy ${ncn_progname}; ac_word=$2
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11532 $as_echo_n "checking
for $ac_word...
" >&6; }
11533 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11534 $as_echo_n "(cached
) " >&6
11536 if test -n "$AS_FOR_TARGET"; then
11537 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11540 for as_dir in $PATH
11543 test -z "$as_dir" && as_dir=.
11544 for ac_exec_ext in '' $ac_executable_extensions; do
11545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11546 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11556 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11557 if test -n "$AS_FOR_TARGET"; then
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11559 $as_echo "$AS_FOR_TARGET" >&6; }
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11562 $as_echo "no
" >&6; }
11569 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11570 for ncn_progname in as; do
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11572 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11573 if test -x $with_build_time_tools/${ncn_progname}; then
11574 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11576 $as_echo "yes" >&6; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11580 $as_echo "no
" >&6; }
11585 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11586 for ncn_progname in as; do
11587 if test -n "$ncn_target_tool_prefix"; then
11588 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11589 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11591 $as_echo_n "checking
for $ac_word...
" >&6; }
11592 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11593 $as_echo_n "(cached
) " >&6
11595 if test -n "$AS_FOR_TARGET"; then
11596 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11599 for as_dir in $PATH
11602 test -z "$as_dir" && as_dir=.
11603 for ac_exec_ext in '' $ac_executable_extensions; do
11604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11605 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11606 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11615 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11616 if test -n "$AS_FOR_TARGET"; then
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11618 $as_echo "$AS_FOR_TARGET" >&6; }
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11621 $as_echo "no
" >&6; }
11626 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11627 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11628 set dummy ${ncn_progname}; ac_word=$2
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11630 $as_echo_n "checking
for $ac_word...
" >&6; }
11631 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11632 $as_echo_n "(cached
) " >&6
11634 if test -n "$AS_FOR_TARGET"; then
11635 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11638 for as_dir in $PATH
11641 test -z "$as_dir" && as_dir=.
11642 for ac_exec_ext in '' $ac_executable_extensions; do
11643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11644 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11654 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11655 if test -n "$AS_FOR_TARGET"; then
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11657 $as_echo "$AS_FOR_TARGET" >&6; }
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11660 $as_echo "no
" >&6; }
11665 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11669 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11671 if test $build = $target ; then
11674 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11677 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11681 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11687 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11688 if test -n "$with_build_time_tools"; then
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11690 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11691 if test -x $with_build_time_tools/dlltool; then
11692 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11693 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11695 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11698 $as_echo "no
" >&6; }
11700 elif test $build != $host && test $have_gcc_for_target = yes; then
11701 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11702 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11703 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11706 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11707 # Extract the first word of "dlltool
", so it can be a program name with args.
11708 set dummy dlltool; ac_word=$2
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11710 $as_echo_n "checking
for $ac_word...
" >&6; }
11711 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
11712 $as_echo_n "(cached
) " >&6
11714 case $DLLTOOL_FOR_TARGET in
11716 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11720 for as_dir in $gcc_cv_tool_dirs
11723 test -z "$as_dir" && as_dir=.
11724 for ac_exec_ext in '' $ac_executable_extensions; do
11725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11726 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11737 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11738 if test -n "$DLLTOOL_FOR_TARGET"; then
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11740 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11743 $as_echo "no
" >&6; }
11748 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11751 if test -n "$DLLTOOL_FOR_TARGET"; then
11752 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11753 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11754 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11757 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11758 for ncn_progname in dlltool; do
11759 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11760 set dummy ${ncn_progname}; ac_word=$2
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11762 $as_echo_n "checking
for $ac_word...
" >&6; }
11763 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11764 $as_echo_n "(cached
) " >&6
11766 if test -n "$DLLTOOL_FOR_TARGET"; then
11767 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11770 for as_dir in $PATH
11773 test -z "$as_dir" && as_dir=.
11774 for ac_exec_ext in '' $ac_executable_extensions; do
11775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11776 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11777 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11786 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11787 if test -n "$DLLTOOL_FOR_TARGET"; then
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11789 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11792 $as_echo "no
" >&6; }
11799 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11800 for ncn_progname in dlltool; do
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11802 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11803 if test -x $with_build_time_tools/${ncn_progname}; then
11804 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11806 $as_echo "yes" >&6; }
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11810 $as_echo "no
" >&6; }
11815 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11816 for ncn_progname in dlltool; do
11817 if test -n "$ncn_target_tool_prefix"; then
11818 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11819 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11821 $as_echo_n "checking
for $ac_word...
" >&6; }
11822 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11823 $as_echo_n "(cached
) " >&6
11825 if test -n "$DLLTOOL_FOR_TARGET"; then
11826 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11829 for as_dir in $PATH
11832 test -z "$as_dir" && as_dir=.
11833 for ac_exec_ext in '' $ac_executable_extensions; do
11834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11835 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11836 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11845 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11846 if test -n "$DLLTOOL_FOR_TARGET"; then
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11848 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11851 $as_echo "no
" >&6; }
11856 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11857 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11858 set dummy ${ncn_progname}; ac_word=$2
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11860 $as_echo_n "checking
for $ac_word...
" >&6; }
11861 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11862 $as_echo_n "(cached
) " >&6
11864 if test -n "$DLLTOOL_FOR_TARGET"; then
11865 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11868 for as_dir in $PATH
11871 test -z "$as_dir" && as_dir=.
11872 for ac_exec_ext in '' $ac_executable_extensions; do
11873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11874 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11884 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11885 if test -n "$DLLTOOL_FOR_TARGET"; then
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11887 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11890 $as_echo "no
" >&6; }
11895 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11899 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11901 if test $build = $target ; then
11902 DLLTOOL_FOR_TARGET="$2"
11904 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11907 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11911 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11917 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11918 if test -n "$with_build_time_tools"; then
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11920 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11921 if test -x $with_build_time_tools/ld; then
11922 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11923 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11925 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11928 $as_echo "no
" >&6; }
11930 elif test $build != $host && test $have_gcc_for_target = yes; then
11931 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11932 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11933 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11936 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11937 # Extract the first word of "ld
", so it can be a program name with args.
11938 set dummy ld; ac_word=$2
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11940 $as_echo_n "checking
for $ac_word...
" >&6; }
11941 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
11942 $as_echo_n "(cached
) " >&6
11944 case $LD_FOR_TARGET in
11946 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11950 for as_dir in $gcc_cv_tool_dirs
11953 test -z "$as_dir" && as_dir=.
11954 for ac_exec_ext in '' $ac_executable_extensions; do
11955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11956 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11957 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11967 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11968 if test -n "$LD_FOR_TARGET"; then
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11970 $as_echo "$LD_FOR_TARGET" >&6; }
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11973 $as_echo "no
" >&6; }
11978 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11981 if test -n "$LD_FOR_TARGET"; then
11982 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11983 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11984 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11987 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11988 for ncn_progname in ld; do
11989 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11990 set dummy ${ncn_progname}; ac_word=$2
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11992 $as_echo_n "checking
for $ac_word...
" >&6; }
11993 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11994 $as_echo_n "(cached
) " >&6
11996 if test -n "$LD_FOR_TARGET"; then
11997 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12000 for as_dir in $PATH
12003 test -z "$as_dir" && as_dir=.
12004 for ac_exec_ext in '' $ac_executable_extensions; do
12005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12006 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12016 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12017 if test -n "$LD_FOR_TARGET"; then
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12019 $as_echo "$LD_FOR_TARGET" >&6; }
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12022 $as_echo "no
" >&6; }
12029 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
12030 for ncn_progname in ld; do
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12032 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12033 if test -x $with_build_time_tools/${ncn_progname}; then
12034 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12036 $as_echo "yes" >&6; }
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12040 $as_echo "no
" >&6; }
12045 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
12046 for ncn_progname in ld; do
12047 if test -n "$ncn_target_tool_prefix"; then
12048 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12049 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12051 $as_echo_n "checking
for $ac_word...
" >&6; }
12052 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12053 $as_echo_n "(cached
) " >&6
12055 if test -n "$LD_FOR_TARGET"; then
12056 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12059 for as_dir in $PATH
12062 test -z "$as_dir" && as_dir=.
12063 for ac_exec_ext in '' $ac_executable_extensions; do
12064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12065 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12066 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12075 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12076 if test -n "$LD_FOR_TARGET"; then
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12078 $as_echo "$LD_FOR_TARGET" >&6; }
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12081 $as_echo "no
" >&6; }
12086 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
12087 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12088 set dummy ${ncn_progname}; ac_word=$2
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12090 $as_echo_n "checking
for $ac_word...
" >&6; }
12091 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12092 $as_echo_n "(cached
) " >&6
12094 if test -n "$LD_FOR_TARGET"; then
12095 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12098 for as_dir in $PATH
12101 test -z "$as_dir" && as_dir=.
12102 for ac_exec_ext in '' $ac_executable_extensions; do
12103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12104 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12114 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12115 if test -n "$LD_FOR_TARGET"; then
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12117 $as_echo "$LD_FOR_TARGET" >&6; }
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12120 $as_echo "no
" >&6; }
12125 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
12129 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
12131 if test $build = $target ; then
12134 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
12137 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
12141 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12147 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12148 if test -n "$with_build_time_tools"; then
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
12150 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
12151 if test -x $with_build_time_tools/lipo; then
12152 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12153 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
12155 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12158 $as_echo "no
" >&6; }
12160 elif test $build != $host && test $have_gcc_for_target = yes; then
12161 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12162 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12163 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12166 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12167 # Extract the first word of "lipo
", so it can be a program name with args.
12168 set dummy lipo; ac_word=$2
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12170 $as_echo_n "checking
for $ac_word...
" >&6; }
12171 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
12172 $as_echo_n "(cached
) " >&6
12174 case $LIPO_FOR_TARGET in
12176 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12180 for as_dir in $gcc_cv_tool_dirs
12183 test -z "$as_dir" && as_dir=.
12184 for ac_exec_ext in '' $ac_executable_extensions; do
12185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12186 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12187 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12197 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12198 if test -n "$LIPO_FOR_TARGET"; then
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12200 $as_echo "$LIPO_FOR_TARGET" >&6; }
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12203 $as_echo "no
" >&6; }
12208 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12211 if test -n "$LIPO_FOR_TARGET"; then
12212 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12213 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12214 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12217 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12218 for ncn_progname in lipo; do
12219 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12220 set dummy ${ncn_progname}; ac_word=$2
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12222 $as_echo_n "checking
for $ac_word...
" >&6; }
12223 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12224 $as_echo_n "(cached
) " >&6
12226 if test -n "$LIPO_FOR_TARGET"; then
12227 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12230 for as_dir in $PATH
12233 test -z "$as_dir" && as_dir=.
12234 for ac_exec_ext in '' $ac_executable_extensions; do
12235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12236 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12246 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12247 if test -n "$LIPO_FOR_TARGET"; then
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12249 $as_echo "$LIPO_FOR_TARGET" >&6; }
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12252 $as_echo "no
" >&6; }
12259 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12260 for ncn_progname in lipo; do
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12262 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12263 if test -x $with_build_time_tools/${ncn_progname}; then
12264 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12266 $as_echo "yes" >&6; }
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12270 $as_echo "no
" >&6; }
12275 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12276 for ncn_progname in lipo; do
12277 if test -n "$ncn_target_tool_prefix"; then
12278 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12279 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12281 $as_echo_n "checking
for $ac_word...
" >&6; }
12282 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12283 $as_echo_n "(cached
) " >&6
12285 if test -n "$LIPO_FOR_TARGET"; then
12286 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12289 for as_dir in $PATH
12292 test -z "$as_dir" && as_dir=.
12293 for ac_exec_ext in '' $ac_executable_extensions; do
12294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12295 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12296 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12305 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12306 if test -n "$LIPO_FOR_TARGET"; then
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12308 $as_echo "$LIPO_FOR_TARGET" >&6; }
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12311 $as_echo "no
" >&6; }
12316 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12317 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12318 set dummy ${ncn_progname}; ac_word=$2
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12320 $as_echo_n "checking
for $ac_word...
" >&6; }
12321 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12322 $as_echo_n "(cached
) " >&6
12324 if test -n "$LIPO_FOR_TARGET"; then
12325 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12328 for as_dir in $PATH
12331 test -z "$as_dir" && as_dir=.
12332 for ac_exec_ext in '' $ac_executable_extensions; do
12333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12334 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12335 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12344 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12345 if test -n "$LIPO_FOR_TARGET"; then
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12347 $as_echo "$LIPO_FOR_TARGET" >&6; }
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12350 $as_echo "no
" >&6; }
12355 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12359 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12361 if test $build = $target ; then
12362 LIPO_FOR_TARGET="$2"
12364 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12367 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12371 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12377 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12378 if test -n "$with_build_time_tools"; then
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12380 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12381 if test -x $with_build_time_tools/nm; then
12382 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12383 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12385 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12388 $as_echo "no
" >&6; }
12390 elif test $build != $host && test $have_gcc_for_target = yes; then
12391 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12392 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12393 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12396 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12397 # Extract the first word of "nm
", so it can be a program name with args.
12398 set dummy nm; ac_word=$2
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12400 $as_echo_n "checking
for $ac_word...
" >&6; }
12401 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
12402 $as_echo_n "(cached
) " >&6
12404 case $NM_FOR_TARGET in
12406 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12410 for as_dir in $gcc_cv_tool_dirs
12413 test -z "$as_dir" && as_dir=.
12414 for ac_exec_ext in '' $ac_executable_extensions; do
12415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12416 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12417 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12427 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12428 if test -n "$NM_FOR_TARGET"; then
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12430 $as_echo "$NM_FOR_TARGET" >&6; }
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12433 $as_echo "no
" >&6; }
12438 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12441 if test -n "$NM_FOR_TARGET"; then
12442 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12443 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12444 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12447 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12448 for ncn_progname in nm; do
12449 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12450 set dummy ${ncn_progname}; ac_word=$2
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12452 $as_echo_n "checking
for $ac_word...
" >&6; }
12453 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12454 $as_echo_n "(cached
) " >&6
12456 if test -n "$NM_FOR_TARGET"; then
12457 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12460 for as_dir in $PATH
12463 test -z "$as_dir" && as_dir=.
12464 for ac_exec_ext in '' $ac_executable_extensions; do
12465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12466 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12476 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12477 if test -n "$NM_FOR_TARGET"; then
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12479 $as_echo "$NM_FOR_TARGET" >&6; }
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12482 $as_echo "no
" >&6; }
12489 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12490 for ncn_progname in nm; do
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12492 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12493 if test -x $with_build_time_tools/${ncn_progname}; then
12494 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12496 $as_echo "yes" >&6; }
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12500 $as_echo "no
" >&6; }
12505 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12506 for ncn_progname in nm; do
12507 if test -n "$ncn_target_tool_prefix"; then
12508 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12509 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12511 $as_echo_n "checking
for $ac_word...
" >&6; }
12512 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12513 $as_echo_n "(cached
) " >&6
12515 if test -n "$NM_FOR_TARGET"; then
12516 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12519 for as_dir in $PATH
12522 test -z "$as_dir" && as_dir=.
12523 for ac_exec_ext in '' $ac_executable_extensions; do
12524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12525 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12526 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12535 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12536 if test -n "$NM_FOR_TARGET"; then
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12538 $as_echo "$NM_FOR_TARGET" >&6; }
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12541 $as_echo "no
" >&6; }
12546 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12547 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12548 set dummy ${ncn_progname}; ac_word=$2
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12550 $as_echo_n "checking
for $ac_word...
" >&6; }
12551 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12552 $as_echo_n "(cached
) " >&6
12554 if test -n "$NM_FOR_TARGET"; then
12555 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12558 for as_dir in $PATH
12561 test -z "$as_dir" && as_dir=.
12562 for ac_exec_ext in '' $ac_executable_extensions; do
12563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12564 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12574 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12575 if test -n "$NM_FOR_TARGET"; then
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12577 $as_echo "$NM_FOR_TARGET" >&6; }
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12580 $as_echo "no
" >&6; }
12585 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12589 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12591 if test $build = $target ; then
12594 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12597 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12601 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12607 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12608 if test -n "$with_build_time_tools"; then
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12610 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12611 if test -x $with_build_time_tools/objcopy; then
12612 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12613 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12615 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12618 $as_echo "no
" >&6; }
12620 elif test $build != $host && test $have_gcc_for_target = yes; then
12621 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12622 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12623 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12626 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12627 # Extract the first word of "objcopy
", so it can be a program name with args.
12628 set dummy objcopy; ac_word=$2
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12630 $as_echo_n "checking
for $ac_word...
" >&6; }
12631 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
12632 $as_echo_n "(cached
) " >&6
12634 case $OBJCOPY_FOR_TARGET in
12636 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12640 for as_dir in $gcc_cv_tool_dirs
12643 test -z "$as_dir" && as_dir=.
12644 for ac_exec_ext in '' $ac_executable_extensions; do
12645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12646 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12657 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12658 if test -n "$OBJCOPY_FOR_TARGET"; then
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12660 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12663 $as_echo "no
" >&6; }
12668 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12671 if test -n "$OBJCOPY_FOR_TARGET"; then
12672 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12673 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12674 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12677 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12678 for ncn_progname in objcopy; do
12679 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12680 set dummy ${ncn_progname}; ac_word=$2
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12682 $as_echo_n "checking
for $ac_word...
" >&6; }
12683 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12684 $as_echo_n "(cached
) " >&6
12686 if test -n "$OBJCOPY_FOR_TARGET"; then
12687 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12690 for as_dir in $PATH
12693 test -z "$as_dir" && as_dir=.
12694 for ac_exec_ext in '' $ac_executable_extensions; do
12695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12696 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12706 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12707 if test -n "$OBJCOPY_FOR_TARGET"; then
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12709 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12712 $as_echo "no
" >&6; }
12719 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12720 for ncn_progname in objcopy; do
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12722 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12723 if test -x $with_build_time_tools/${ncn_progname}; then
12724 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12726 $as_echo "yes" >&6; }
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12730 $as_echo "no
" >&6; }
12735 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12736 for ncn_progname in objcopy; do
12737 if test -n "$ncn_target_tool_prefix"; then
12738 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12739 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12741 $as_echo_n "checking
for $ac_word...
" >&6; }
12742 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12743 $as_echo_n "(cached
) " >&6
12745 if test -n "$OBJCOPY_FOR_TARGET"; then
12746 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12749 for as_dir in $PATH
12752 test -z "$as_dir" && as_dir=.
12753 for ac_exec_ext in '' $ac_executable_extensions; do
12754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12755 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12756 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12765 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12766 if test -n "$OBJCOPY_FOR_TARGET"; then
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12768 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12771 $as_echo "no
" >&6; }
12776 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12777 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12778 set dummy ${ncn_progname}; ac_word=$2
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12780 $as_echo_n "checking
for $ac_word...
" >&6; }
12781 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12782 $as_echo_n "(cached
) " >&6
12784 if test -n "$OBJCOPY_FOR_TARGET"; then
12785 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12788 for as_dir in $PATH
12791 test -z "$as_dir" && as_dir=.
12792 for ac_exec_ext in '' $ac_executable_extensions; do
12793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12794 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12804 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12805 if test -n "$OBJCOPY_FOR_TARGET"; then
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12807 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12810 $as_echo "no
" >&6; }
12815 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12819 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12821 if test $build = $target ; then
12822 OBJCOPY_FOR_TARGET="$2"
12824 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12827 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12831 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12837 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12838 if test -n "$with_build_time_tools"; then
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12840 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12841 if test -x $with_build_time_tools/objdump; then
12842 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12843 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12845 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12848 $as_echo "no
" >&6; }
12850 elif test $build != $host && test $have_gcc_for_target = yes; then
12851 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12852 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12853 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12856 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12857 # Extract the first word of "objdump
", so it can be a program name with args.
12858 set dummy objdump; ac_word=$2
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12860 $as_echo_n "checking
for $ac_word...
" >&6; }
12861 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
12862 $as_echo_n "(cached
) " >&6
12864 case $OBJDUMP_FOR_TARGET in
12866 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12870 for as_dir in $gcc_cv_tool_dirs
12873 test -z "$as_dir" && as_dir=.
12874 for ac_exec_ext in '' $ac_executable_extensions; do
12875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12876 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12877 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12887 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12888 if test -n "$OBJDUMP_FOR_TARGET"; then
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12890 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12893 $as_echo "no
" >&6; }
12898 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12901 if test -n "$OBJDUMP_FOR_TARGET"; then
12902 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12903 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12904 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12907 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12908 for ncn_progname in objdump; do
12909 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12910 set dummy ${ncn_progname}; ac_word=$2
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12912 $as_echo_n "checking
for $ac_word...
" >&6; }
12913 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12914 $as_echo_n "(cached
) " >&6
12916 if test -n "$OBJDUMP_FOR_TARGET"; then
12917 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12920 for as_dir in $PATH
12923 test -z "$as_dir" && as_dir=.
12924 for ac_exec_ext in '' $ac_executable_extensions; do
12925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12926 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12927 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12936 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12937 if test -n "$OBJDUMP_FOR_TARGET"; then
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12939 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12942 $as_echo "no
" >&6; }
12949 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12950 for ncn_progname in objdump; do
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12952 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12953 if test -x $with_build_time_tools/${ncn_progname}; then
12954 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12956 $as_echo "yes" >&6; }
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12960 $as_echo "no
" >&6; }
12965 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12966 for ncn_progname in objdump; do
12967 if test -n "$ncn_target_tool_prefix"; then
12968 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12969 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12971 $as_echo_n "checking
for $ac_word...
" >&6; }
12972 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12973 $as_echo_n "(cached
) " >&6
12975 if test -n "$OBJDUMP_FOR_TARGET"; then
12976 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12979 for as_dir in $PATH
12982 test -z "$as_dir" && as_dir=.
12983 for ac_exec_ext in '' $ac_executable_extensions; do
12984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12985 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12995 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12996 if test -n "$OBJDUMP_FOR_TARGET"; then
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12998 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13001 $as_echo "no
" >&6; }
13006 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
13007 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13008 set dummy ${ncn_progname}; ac_word=$2
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13010 $as_echo_n "checking
for $ac_word...
" >&6; }
13011 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
13012 $as_echo_n "(cached
) " >&6
13014 if test -n "$OBJDUMP_FOR_TARGET"; then
13015 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
13017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13018 for as_dir in $PATH
13021 test -z "$as_dir" && as_dir=.
13022 for ac_exec_ext in '' $ac_executable_extensions; do
13023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13024 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
13025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13034 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
13035 if test -n "$OBJDUMP_FOR_TARGET"; then
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
13037 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13040 $as_echo "no
" >&6; }
13045 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
13049 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
13051 if test $build = $target ; then
13052 OBJDUMP_FOR_TARGET="$2"
13054 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13057 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
13061 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
13067 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
13068 if test -n "$with_build_time_tools"; then
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for otool
in $with_build_time_tools" >&5
13070 $as_echo_n "checking
for otool
in $with_build_time_tools...
" >&6; }
13071 if test -x $with_build_time_tools/otool; then
13072 OTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/otool
13073 ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OTOOL_FOR_TARGET" >&5
13075 $as_echo "$ac_cv_path_OTOOL_FOR_TARGET" >&6; }
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13078 $as_echo "no
" >&6; }
13080 elif test $build != $host && test $have_gcc_for_target = yes; then
13081 OTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=otool`
13082 test $OTOOL_FOR_TARGET = otool && OTOOL_FOR_TARGET=
13083 test -n "$OTOOL_FOR_TARGET" && ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
13086 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13087 # Extract the first word of "otool
", so it can be a program name with args.
13088 set dummy otool; ac_word=$2
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13090 $as_echo_n "checking
for $ac_word...
" >&6; }
13091 if ${ac_cv_path_OTOOL_FOR_TARGET+:} false; then :
13092 $as_echo_n "(cached
) " >&6
13094 case $OTOOL_FOR_TARGET in
13096 ac_cv_path_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test with a path.
13099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13100 for as_dir in $gcc_cv_tool_dirs
13103 test -z "$as_dir" && as_dir=.
13104 for ac_exec_ext in '' $ac_executable_extensions; do
13105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13106 ac_cv_path_OTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13107 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13117 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
13118 if test -n "$OTOOL_FOR_TARGET"; then
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13120 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13123 $as_echo "no
" >&6; }
13128 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
13131 if test -n "$OTOOL_FOR_TARGET"; then
13132 ac_cv_prog_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
13133 elif test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13134 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13137 if test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13138 for ncn_progname in otool; do
13139 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13140 set dummy ${ncn_progname}; ac_word=$2
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13142 $as_echo_n "checking
for $ac_word...
" >&6; }
13143 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13144 $as_echo_n "(cached
) " >&6
13146 if test -n "$OTOOL_FOR_TARGET"; then
13147 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13150 for as_dir in $PATH
13153 test -z "$as_dir" && as_dir=.
13154 for ac_exec_ext in '' $ac_executable_extensions; do
13155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13156 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
13157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13166 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13167 if test -n "$OTOOL_FOR_TARGET"; then
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13169 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13172 $as_echo "no
" >&6; }
13179 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
13180 for ncn_progname in otool; do
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13182 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13183 if test -x $with_build_time_tools/${ncn_progname}; then
13184 ac_cv_prog_OTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13186 $as_echo "yes" >&6; }
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13190 $as_echo "no
" >&6; }
13195 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13196 for ncn_progname in otool; do
13197 if test -n "$ncn_target_tool_prefix"; then
13198 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13199 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13201 $as_echo_n "checking
for $ac_word...
" >&6; }
13202 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13203 $as_echo_n "(cached
) " >&6
13205 if test -n "$OTOOL_FOR_TARGET"; then
13206 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13209 for as_dir in $PATH
13212 test -z "$as_dir" && as_dir=.
13213 for ac_exec_ext in '' $ac_executable_extensions; do
13214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13215 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13225 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13226 if test -n "$OTOOL_FOR_TARGET"; then
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13228 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13231 $as_echo "no
" >&6; }
13236 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test $build = $target ; then
13237 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13238 set dummy ${ncn_progname}; ac_word=$2
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13240 $as_echo_n "checking
for $ac_word...
" >&6; }
13241 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13242 $as_echo_n "(cached
) " >&6
13244 if test -n "$OTOOL_FOR_TARGET"; then
13245 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13248 for as_dir in $PATH
13251 test -z "$as_dir" && as_dir=.
13252 for ac_exec_ext in '' $ac_executable_extensions; do
13253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13254 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
13255 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13264 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13265 if test -n "$OTOOL_FOR_TARGET"; then
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13267 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13270 $as_echo "no
" >&6; }
13275 test -n "$ac_cv_prog_OTOOL_FOR_TARGET" && break
13279 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" ; then
13281 if test $build = $target ; then
13282 OTOOL_FOR_TARGET="$2"
13284 OTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
13287 OTOOL_FOR_TARGET="$ac_cv_prog_OTOOL_FOR_TARGET"
13291 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
13297 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13298 if test -n "$with_build_time_tools"; then
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
13300 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
13301 if test -x $with_build_time_tools/ranlib; then
13302 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
13303 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
13305 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13308 $as_echo "no
" >&6; }
13310 elif test $build != $host && test $have_gcc_for_target = yes; then
13311 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
13312 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
13313 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13316 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13317 # Extract the first word of "ranlib
", so it can be a program name with args.
13318 set dummy ranlib; ac_word=$2
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13320 $as_echo_n "checking
for $ac_word...
" >&6; }
13321 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
13322 $as_echo_n "(cached
) " >&6
13324 case $RANLIB_FOR_TARGET in
13326 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
13329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13330 for as_dir in $gcc_cv_tool_dirs
13333 test -z "$as_dir" && as_dir=.
13334 for ac_exec_ext in '' $ac_executable_extensions; do
13335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13336 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13337 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13347 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13348 if test -n "$RANLIB_FOR_TARGET"; then
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13350 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13353 $as_echo "no
" >&6; }
13358 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13361 if test -n "$RANLIB_FOR_TARGET"; then
13362 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13363 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13364 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13367 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13368 for ncn_progname in ranlib; do
13369 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13370 set dummy ${ncn_progname}; ac_word=$2
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13372 $as_echo_n "checking
for $ac_word...
" >&6; }
13373 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13374 $as_echo_n "(cached
) " >&6
13376 if test -n "$RANLIB_FOR_TARGET"; then
13377 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13380 for as_dir in $PATH
13383 test -z "$as_dir" && as_dir=.
13384 for ac_exec_ext in '' $ac_executable_extensions; do
13385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13386 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13387 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13396 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13397 if test -n "$RANLIB_FOR_TARGET"; then
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13399 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13402 $as_echo "no
" >&6; }
13409 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
13410 for ncn_progname in ranlib; do
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13412 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13413 if test -x $with_build_time_tools/${ncn_progname}; then
13414 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13416 $as_echo "yes" >&6; }
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13420 $as_echo "no
" >&6; }
13425 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13426 for ncn_progname in ranlib; do
13427 if test -n "$ncn_target_tool_prefix"; then
13428 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13429 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13431 $as_echo_n "checking
for $ac_word...
" >&6; }
13432 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13433 $as_echo_n "(cached
) " >&6
13435 if test -n "$RANLIB_FOR_TARGET"; then
13436 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13439 for as_dir in $PATH
13442 test -z "$as_dir" && as_dir=.
13443 for ac_exec_ext in '' $ac_executable_extensions; do
13444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13445 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13446 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13455 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13456 if test -n "$RANLIB_FOR_TARGET"; then
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13458 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13461 $as_echo "no
" >&6; }
13466 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
13467 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13468 set dummy ${ncn_progname}; ac_word=$2
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13470 $as_echo_n "checking
for $ac_word...
" >&6; }
13471 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13472 $as_echo_n "(cached
) " >&6
13474 if test -n "$RANLIB_FOR_TARGET"; then
13475 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13478 for as_dir in $PATH
13481 test -z "$as_dir" && as_dir=.
13482 for ac_exec_ext in '' $ac_executable_extensions; do
13483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13484 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13485 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13494 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13495 if test -n "$RANLIB_FOR_TARGET"; then
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13497 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13500 $as_echo "no
" >&6; }
13505 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
13509 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
13511 if test $build = $target ; then
13512 RANLIB_FOR_TARGET="$2"
13514 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13517 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13521 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13527 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13528 if test -n "$with_build_time_tools"; then
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13530 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13531 if test -x $with_build_time_tools/readelf; then
13532 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13533 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13535 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13538 $as_echo "no
" >&6; }
13540 elif test $build != $host && test $have_gcc_for_target = yes; then
13541 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13542 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13543 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13546 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13547 # Extract the first word of "readelf
", so it can be a program name with args.
13548 set dummy readelf; ac_word=$2
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13550 $as_echo_n "checking
for $ac_word...
" >&6; }
13551 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
13552 $as_echo_n "(cached
) " >&6
13554 case $READELF_FOR_TARGET in
13556 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13560 for as_dir in $gcc_cv_tool_dirs
13563 test -z "$as_dir" && as_dir=.
13564 for ac_exec_ext in '' $ac_executable_extensions; do
13565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13566 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13567 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13577 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13578 if test -n "$READELF_FOR_TARGET"; then
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13580 $as_echo "$READELF_FOR_TARGET" >&6; }
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13583 $as_echo "no
" >&6; }
13588 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13591 if test -n "$READELF_FOR_TARGET"; then
13592 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13593 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13594 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13597 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13598 for ncn_progname in readelf; do
13599 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13600 set dummy ${ncn_progname}; ac_word=$2
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13602 $as_echo_n "checking
for $ac_word...
" >&6; }
13603 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13604 $as_echo_n "(cached
) " >&6
13606 if test -n "$READELF_FOR_TARGET"; then
13607 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13610 for as_dir in $PATH
13613 test -z "$as_dir" && as_dir=.
13614 for ac_exec_ext in '' $ac_executable_extensions; do
13615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13616 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13617 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13626 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13627 if test -n "$READELF_FOR_TARGET"; then
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13629 $as_echo "$READELF_FOR_TARGET" >&6; }
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13632 $as_echo "no
" >&6; }
13639 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13640 for ncn_progname in readelf; do
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13642 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13643 if test -x $with_build_time_tools/${ncn_progname}; then
13644 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13646 $as_echo "yes" >&6; }
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13650 $as_echo "no
" >&6; }
13655 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13656 for ncn_progname in readelf; do
13657 if test -n "$ncn_target_tool_prefix"; then
13658 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13659 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13661 $as_echo_n "checking
for $ac_word...
" >&6; }
13662 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13663 $as_echo_n "(cached
) " >&6
13665 if test -n "$READELF_FOR_TARGET"; then
13666 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13669 for as_dir in $PATH
13672 test -z "$as_dir" && as_dir=.
13673 for ac_exec_ext in '' $ac_executable_extensions; do
13674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13675 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13676 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13685 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13686 if test -n "$READELF_FOR_TARGET"; then
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13688 $as_echo "$READELF_FOR_TARGET" >&6; }
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13691 $as_echo "no
" >&6; }
13696 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13697 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13698 set dummy ${ncn_progname}; ac_word=$2
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13700 $as_echo_n "checking
for $ac_word...
" >&6; }
13701 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13702 $as_echo_n "(cached
) " >&6
13704 if test -n "$READELF_FOR_TARGET"; then
13705 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13708 for as_dir in $PATH
13711 test -z "$as_dir" && as_dir=.
13712 for ac_exec_ext in '' $ac_executable_extensions; do
13713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13714 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13724 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13725 if test -n "$READELF_FOR_TARGET"; then
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13727 $as_echo "$READELF_FOR_TARGET" >&6; }
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13730 $as_echo "no
" >&6; }
13735 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13739 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13741 if test $build = $target ; then
13742 READELF_FOR_TARGET="$2"
13744 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13747 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13751 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13757 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13758 if test -n "$with_build_time_tools"; then
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13760 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13761 if test -x $with_build_time_tools/strip; then
13762 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13763 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13765 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13768 $as_echo "no
" >&6; }
13770 elif test $build != $host && test $have_gcc_for_target = yes; then
13771 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13772 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13773 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13776 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13777 # Extract the first word of "strip
", so it can be a program name with args.
13778 set dummy strip; ac_word=$2
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13780 $as_echo_n "checking
for $ac_word...
" >&6; }
13781 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
13782 $as_echo_n "(cached
) " >&6
13784 case $STRIP_FOR_TARGET in
13786 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13790 for as_dir in $gcc_cv_tool_dirs
13793 test -z "$as_dir" && as_dir=.
13794 for ac_exec_ext in '' $ac_executable_extensions; do
13795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13796 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13797 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13807 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13808 if test -n "$STRIP_FOR_TARGET"; then
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13810 $as_echo "$STRIP_FOR_TARGET" >&6; }
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13813 $as_echo "no
" >&6; }
13818 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13821 if test -n "$STRIP_FOR_TARGET"; then
13822 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13823 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13824 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13827 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13828 for ncn_progname in strip; do
13829 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13830 set dummy ${ncn_progname}; ac_word=$2
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13832 $as_echo_n "checking
for $ac_word...
" >&6; }
13833 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13834 $as_echo_n "(cached
) " >&6
13836 if test -n "$STRIP_FOR_TARGET"; then
13837 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13840 for as_dir in $PATH
13843 test -z "$as_dir" && as_dir=.
13844 for ac_exec_ext in '' $ac_executable_extensions; do
13845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13846 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13856 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13857 if test -n "$STRIP_FOR_TARGET"; then
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13859 $as_echo "$STRIP_FOR_TARGET" >&6; }
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13862 $as_echo "no
" >&6; }
13869 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13870 for ncn_progname in strip; do
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13872 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13873 if test -x $with_build_time_tools/${ncn_progname}; then
13874 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13876 $as_echo "yes" >&6; }
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13880 $as_echo "no
" >&6; }
13885 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13886 for ncn_progname in strip; do
13887 if test -n "$ncn_target_tool_prefix"; then
13888 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13889 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13891 $as_echo_n "checking
for $ac_word...
" >&6; }
13892 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13893 $as_echo_n "(cached
) " >&6
13895 if test -n "$STRIP_FOR_TARGET"; then
13896 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13899 for as_dir in $PATH
13902 test -z "$as_dir" && as_dir=.
13903 for ac_exec_ext in '' $ac_executable_extensions; do
13904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13905 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13915 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13916 if test -n "$STRIP_FOR_TARGET"; then
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13918 $as_echo "$STRIP_FOR_TARGET" >&6; }
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13921 $as_echo "no
" >&6; }
13926 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13927 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13928 set dummy ${ncn_progname}; ac_word=$2
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13930 $as_echo_n "checking
for $ac_word...
" >&6; }
13931 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13932 $as_echo_n "(cached
) " >&6
13934 if test -n "$STRIP_FOR_TARGET"; then
13935 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13938 for as_dir in $PATH
13941 test -z "$as_dir" && as_dir=.
13942 for ac_exec_ext in '' $ac_executable_extensions; do
13943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13944 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13954 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13955 if test -n "$STRIP_FOR_TARGET"; then
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13957 $as_echo "$STRIP_FOR_TARGET" >&6; }
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13960 $as_echo "no
" >&6; }
13965 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13969 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13971 if test $build = $target ; then
13972 STRIP_FOR_TARGET="$2"
13974 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13977 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13981 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13987 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13988 if test -n "$with_build_time_tools"; then
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13990 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13991 if test -x $with_build_time_tools/windres; then
13992 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13993 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13995 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13998 $as_echo "no
" >&6; }
14000 elif test $build != $host && test $have_gcc_for_target = yes; then
14001 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
14002 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
14003 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
14006 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14007 # Extract the first word of "windres
", so it can be a program name with args.
14008 set dummy windres; ac_word=$2
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14010 $as_echo_n "checking
for $ac_word...
" >&6; }
14011 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
14012 $as_echo_n "(cached
) " >&6
14014 case $WINDRES_FOR_TARGET in
14016 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
14019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14020 for as_dir in $gcc_cv_tool_dirs
14023 test -z "$as_dir" && as_dir=.
14024 for ac_exec_ext in '' $ac_executable_extensions; do
14025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14026 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14027 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14037 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
14038 if test -n "$WINDRES_FOR_TARGET"; then
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14040 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14043 $as_echo "no
" >&6; }
14048 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
14051 if test -n "$WINDRES_FOR_TARGET"; then
14052 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
14053 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
14054 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14057 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
14058 for ncn_progname in windres; do
14059 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14060 set dummy ${ncn_progname}; ac_word=$2
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14062 $as_echo_n "checking
for $ac_word...
" >&6; }
14063 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14064 $as_echo_n "(cached
) " >&6
14066 if test -n "$WINDRES_FOR_TARGET"; then
14067 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14070 for as_dir in $PATH
14073 test -z "$as_dir" && as_dir=.
14074 for ac_exec_ext in '' $ac_executable_extensions; do
14075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14076 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
14077 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14086 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14087 if test -n "$WINDRES_FOR_TARGET"; then
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14089 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14092 $as_echo "no
" >&6; }
14099 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
14100 for ncn_progname in windres; do
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14102 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14103 if test -x $with_build_time_tools/${ncn_progname}; then
14104 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14106 $as_echo "yes" >&6; }
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14110 $as_echo "no
" >&6; }
14115 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
14116 for ncn_progname in windres; do
14117 if test -n "$ncn_target_tool_prefix"; then
14118 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14119 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14121 $as_echo_n "checking
for $ac_word...
" >&6; }
14122 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14123 $as_echo_n "(cached
) " >&6
14125 if test -n "$WINDRES_FOR_TARGET"; then
14126 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14129 for as_dir in $PATH
14132 test -z "$as_dir" && as_dir=.
14133 for ac_exec_ext in '' $ac_executable_extensions; do
14134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14135 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14145 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14146 if test -n "$WINDRES_FOR_TARGET"; then
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14148 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14151 $as_echo "no
" >&6; }
14156 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
14157 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14158 set dummy ${ncn_progname}; ac_word=$2
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14160 $as_echo_n "checking
for $ac_word...
" >&6; }
14161 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14162 $as_echo_n "(cached
) " >&6
14164 if test -n "$WINDRES_FOR_TARGET"; then
14165 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14168 for as_dir in $PATH
14171 test -z "$as_dir" && as_dir=.
14172 for ac_exec_ext in '' $ac_executable_extensions; do
14173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14174 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
14175 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14184 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14185 if test -n "$WINDRES_FOR_TARGET"; then
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14187 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14190 $as_echo "no
" >&6; }
14195 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
14199 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
14201 if test $build = $target ; then
14202 WINDRES_FOR_TARGET="$2"
14204 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
14207 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
14211 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
14217 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14218 if test -n "$with_build_time_tools"; then
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
14220 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
14221 if test -x $with_build_time_tools/windmc; then
14222 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
14223 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
14225 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14228 $as_echo "no
" >&6; }
14230 elif test $build != $host && test $have_gcc_for_target = yes; then
14231 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
14232 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
14233 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14236 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14237 # Extract the first word of "windmc
", so it can be a program name with args.
14238 set dummy windmc; ac_word=$2
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14240 $as_echo_n "checking
for $ac_word...
" >&6; }
14241 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
14242 $as_echo_n "(cached
) " >&6
14244 case $WINDMC_FOR_TARGET in
14246 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
14249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14250 for as_dir in $gcc_cv_tool_dirs
14253 test -z "$as_dir" && as_dir=.
14254 for ac_exec_ext in '' $ac_executable_extensions; do
14255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14256 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14257 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14267 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14268 if test -n "$WINDMC_FOR_TARGET"; then
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14270 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14273 $as_echo "no
" >&6; }
14278 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14281 if test -n "$WINDMC_FOR_TARGET"; then
14282 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14283 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14284 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14287 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14288 for ncn_progname in windmc; do
14289 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14290 set dummy ${ncn_progname}; ac_word=$2
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14292 $as_echo_n "checking
for $ac_word...
" >&6; }
14293 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14294 $as_echo_n "(cached
) " >&6
14296 if test -n "$WINDMC_FOR_TARGET"; then
14297 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14300 for as_dir in $PATH
14303 test -z "$as_dir" && as_dir=.
14304 for ac_exec_ext in '' $ac_executable_extensions; do
14305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14306 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14316 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14317 if test -n "$WINDMC_FOR_TARGET"; then
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14319 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14322 $as_echo "no
" >&6; }
14329 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
14330 for ncn_progname in windmc; do
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14332 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14333 if test -x $with_build_time_tools/${ncn_progname}; then
14334 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14336 $as_echo "yes" >&6; }
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14340 $as_echo "no
" >&6; }
14345 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14346 for ncn_progname in windmc; do
14347 if test -n "$ncn_target_tool_prefix"; then
14348 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14349 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14351 $as_echo_n "checking
for $ac_word...
" >&6; }
14352 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14353 $as_echo_n "(cached
) " >&6
14355 if test -n "$WINDMC_FOR_TARGET"; then
14356 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14359 for as_dir in $PATH
14362 test -z "$as_dir" && as_dir=.
14363 for ac_exec_ext in '' $ac_executable_extensions; do
14364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14365 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14375 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14376 if test -n "$WINDMC_FOR_TARGET"; then
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14378 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14381 $as_echo "no
" >&6; }
14386 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
14387 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14388 set dummy ${ncn_progname}; ac_word=$2
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14390 $as_echo_n "checking
for $ac_word...
" >&6; }
14391 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14392 $as_echo_n "(cached
) " >&6
14394 if test -n "$WINDMC_FOR_TARGET"; then
14395 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14398 for as_dir in $PATH
14401 test -z "$as_dir" && as_dir=.
14402 for ac_exec_ext in '' $ac_executable_extensions; do
14403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14404 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14405 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14414 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14415 if test -n "$WINDMC_FOR_TARGET"; then
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14417 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14420 $as_echo "no
" >&6; }
14425 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
14429 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
14431 if test $build = $target ; then
14432 WINDMC_FOR_TARGET="$2"
14434 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14437 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
14441 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14445 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
14448 $as_echo_n "checking where to
find the target
ar...
" >&6; }
14449 if test "x
${build}" != "x
${host}" ; then
14450 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14451 # We already found the complete path
14452 ac_dir=`dirname $AR_FOR_TARGET`
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14454 $as_echo "pre-installed
in $ac_dir" >&6; }
14456 # Canadian cross, just use what we found
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14458 $as_echo "pre-installed
" >&6; }
14462 case " ${configdirs} " in
14467 if test $ok = yes; then
14468 # An in-tree tool is available and we can use it
14469 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14471 $as_echo "just compiled
" >&6; }
14472 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14473 # We already found the complete path
14474 ac_dir=`dirname $AR_FOR_TARGET`
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14476 $as_echo "pre-installed
in $ac_dir" >&6; }
14477 elif test "x
$target" = "x
$host"; then
14478 # We can use an host tool
14479 AR_FOR_TARGET='$(AR)'
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14481 $as_echo "host tool
" >&6; }
14483 # We need a cross tool
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14485 $as_echo "pre-installed
" >&6; }
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
14490 $as_echo_n "checking where to
find the target as...
" >&6; }
14491 if test "x
${build}" != "x
${host}" ; then
14492 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14493 # We already found the complete path
14494 ac_dir=`dirname $AS_FOR_TARGET`
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14496 $as_echo "pre-installed
in $ac_dir" >&6; }
14498 # Canadian cross, just use what we found
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14500 $as_echo "pre-installed
" >&6; }
14504 case " ${configdirs} " in
14509 if test $ok = yes; then
14510 # An in-tree tool is available and we can use it
14511 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14513 $as_echo "just compiled
" >&6; }
14514 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14515 # We already found the complete path
14516 ac_dir=`dirname $AS_FOR_TARGET`
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14518 $as_echo "pre-installed
in $ac_dir" >&6; }
14519 elif test "x
$target" = "x
$host"; then
14520 # We can use an host tool
14521 AS_FOR_TARGET='$(AS)'
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14523 $as_echo "host tool
" >&6; }
14525 # We need a cross tool
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14527 $as_echo "pre-installed
" >&6; }
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14532 $as_echo_n "checking where to
find the target cc...
" >&6; }
14533 if test "x
${build}" != "x
${host}" ; then
14534 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14535 # We already found the complete path
14536 ac_dir=`dirname $CC_FOR_TARGET`
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14538 $as_echo "pre-installed
in $ac_dir" >&6; }
14540 # Canadian cross, just use what we found
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14542 $as_echo "pre-installed
" >&6; }
14546 case " ${configdirs} " in
14551 if test $ok = yes; then
14552 # An in-tree tool is available and we can use it
14553 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14555 $as_echo "just compiled
" >&6; }
14556 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14557 # We already found the complete path
14558 ac_dir=`dirname $CC_FOR_TARGET`
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14560 $as_echo "pre-installed
in $ac_dir" >&6; }
14561 elif test "x
$target" = "x
$host"; then
14562 # We can use an host tool
14563 CC_FOR_TARGET='$(CC)'
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14565 $as_echo "host tool
" >&6; }
14567 # We need a cross tool
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14569 $as_echo "pre-installed
" >&6; }
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14574 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14575 if test "x
${build}" != "x
${host}" ; then
14576 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14577 # We already found the complete path
14578 ac_dir=`dirname $CXX_FOR_TARGET`
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14580 $as_echo "pre-installed
in $ac_dir" >&6; }
14582 # Canadian cross, just use what we found
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14584 $as_echo "pre-installed
" >&6; }
14588 case " ${configdirs} " in
14592 case ,${enable_languages}, in
14596 if test $ok = yes; then
14597 # An in-tree tool is available and we can use it
14598 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'
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14600 $as_echo "just compiled
" >&6; }
14601 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14602 # We already found the complete path
14603 ac_dir=`dirname $CXX_FOR_TARGET`
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14605 $as_echo "pre-installed
in $ac_dir" >&6; }
14606 elif test "x
$target" = "x
$host"; then
14607 # We can use an host tool
14608 CXX_FOR_TARGET='$(CXX)'
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14610 $as_echo "host tool
" >&6; }
14612 # We need a cross tool
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14614 $as_echo "pre-installed
" >&6; }
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14619 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14620 if test "x
${build}" != "x
${host}" ; then
14621 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14622 # We already found the complete path
14623 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14625 $as_echo "pre-installed
in $ac_dir" >&6; }
14627 # Canadian cross, just use what we found
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14629 $as_echo "pre-installed
" >&6; }
14633 case " ${configdirs} " in
14637 case ,${enable_languages}, in
14641 if test $ok = yes; then
14642 # An in-tree tool is available and we can use it
14643 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'
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14645 $as_echo "just compiled
" >&6; }
14646 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14647 # We already found the complete path
14648 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14650 $as_echo "pre-installed
in $ac_dir" >&6; }
14651 elif test "x
$target" = "x
$host"; then
14652 # We can use an host tool
14653 RAW_CXX_FOR_TARGET='$(CXX)'
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14655 $as_echo "host tool
" >&6; }
14657 # We need a cross tool
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14659 $as_echo "pre-installed
" >&6; }
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14664 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14665 if test "x
${build}" != "x
${host}" ; then
14666 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14667 # We already found the complete path
14668 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14670 $as_echo "pre-installed
in $ac_dir" >&6; }
14672 # Canadian cross, just use what we found
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14674 $as_echo "pre-installed
" >&6; }
14678 case " ${configdirs} " in
14683 if test $ok = yes; then
14684 # An in-tree tool is available and we can use it
14685 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14687 $as_echo "just compiled
" >&6; }
14688 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14689 # We already found the complete path
14690 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14692 $as_echo "pre-installed
in $ac_dir" >&6; }
14693 elif test "x
$target" = "x
$host"; then
14694 # We can use an host tool
14695 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14697 $as_echo "host tool
" >&6; }
14699 # We need a cross tool
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14701 $as_echo "pre-installed
" >&6; }
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14706 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14707 if test "x
${build}" != "x
${host}" ; then
14708 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14709 # We already found the complete path
14710 ac_dir=`dirname $GCC_FOR_TARGET`
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14712 $as_echo "pre-installed
in $ac_dir" >&6; }
14714 # Canadian cross, just use what we found
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14716 $as_echo "pre-installed
" >&6; }
14720 case " ${configdirs} " in
14725 if test $ok = yes; then
14726 # An in-tree tool is available and we can use it
14727 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14729 $as_echo "just compiled
" >&6; }
14730 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14731 # We already found the complete path
14732 ac_dir=`dirname $GCC_FOR_TARGET`
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14734 $as_echo "pre-installed
in $ac_dir" >&6; }
14735 elif test "x
$target" = "x
$host"; then
14736 # We can use an host tool
14737 GCC_FOR_TARGET='$()'
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14739 $as_echo "host tool
" >&6; }
14741 # We need a cross tool
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14743 $as_echo "pre-installed
" >&6; }
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14748 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14749 if test "x
${build}" != "x
${host}" ; then
14750 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14751 # We already found the complete path
14752 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14754 $as_echo "pre-installed
in $ac_dir" >&6; }
14756 # Canadian cross, just use what we found
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14758 $as_echo "pre-installed
" >&6; }
14762 case " ${configdirs} " in
14766 case ,${enable_languages}, in
14770 if test $ok = yes; then
14771 # An in-tree tool is available and we can use it
14772 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14774 $as_echo "just compiled
" >&6; }
14775 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14776 # We already found the complete path
14777 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14779 $as_echo "pre-installed
in $ac_dir" >&6; }
14780 elif test "x
$target" = "x
$host"; then
14781 # We can use an host tool
14782 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14784 $as_echo "host tool
" >&6; }
14786 # We need a cross tool
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14788 $as_echo "pre-installed
" >&6; }
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14793 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14794 if test "x
${build}" != "x
${host}" ; then
14795 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14796 # We already found the complete path
14797 ac_dir=`dirname $GOC_FOR_TARGET`
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14799 $as_echo "pre-installed
in $ac_dir" >&6; }
14801 # Canadian cross, just use what we found
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14803 $as_echo "pre-installed
" >&6; }
14807 case " ${configdirs} " in
14811 case ,${enable_languages}, in
14815 if test $ok = yes; then
14816 # An in-tree tool is available and we can use it
14817 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14819 $as_echo "just compiled
" >&6; }
14820 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14821 # We already found the complete path
14822 ac_dir=`dirname $GOC_FOR_TARGET`
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14824 $as_echo "pre-installed
in $ac_dir" >&6; }
14825 elif test "x
$target" = "x
$host"; then
14826 # We can use an host tool
14827 GOC_FOR_TARGET='$(GOC)'
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14829 $as_echo "host tool
" >&6; }
14831 # We need a cross tool
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14833 $as_echo "pre-installed
" >&6; }
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gdc
" >&5
14838 $as_echo_n "checking where to
find the target gdc...
" >&6; }
14839 if test "x
${build}" != "x
${host}" ; then
14840 if expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
14841 # We already found the complete path
14842 ac_dir=`dirname $GDC_FOR_TARGET`
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14844 $as_echo "pre-installed
in $ac_dir" >&6; }
14846 # Canadian cross, just use what we found
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14848 $as_echo "pre-installed
" >&6; }
14852 case " ${configdirs} " in
14856 case ,${enable_languages}, in
14860 if test $ok = yes; then
14861 # An in-tree tool is available and we can use it
14862 GDC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/'
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14864 $as_echo "just compiled
" >&6; }
14865 elif expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
14866 # We already found the complete path
14867 ac_dir=`dirname $GDC_FOR_TARGET`
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14869 $as_echo "pre-installed
in $ac_dir" >&6; }
14870 elif test "x
$target" = "x
$host"; then
14871 # We can use an host tool
14872 GDC_FOR_TARGET='$(GDC)'
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14874 $as_echo "host tool
" >&6; }
14876 # We need a cross tool
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14878 $as_echo "pre-installed
" >&6; }
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14883 $as_echo_n "checking where to
find the target ld...
" >&6; }
14884 if test "x
${build}" != "x
${host}" ; then
14885 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14886 # We already found the complete path
14887 ac_dir=`dirname $LD_FOR_TARGET`
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14889 $as_echo "pre-installed
in $ac_dir" >&6; }
14891 # Canadian cross, just use what we found
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14893 $as_echo "pre-installed
" >&6; }
14897 case " ${configdirs} " in
14902 if test $ok = yes; then
14903 # An in-tree tool is available and we can use it
14904 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14906 $as_echo "just compiled
" >&6; }
14907 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14908 # We already found the complete path
14909 ac_dir=`dirname $LD_FOR_TARGET`
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14911 $as_echo "pre-installed
in $ac_dir" >&6; }
14912 elif test "x
$target" = "x
$host"; then
14913 # We can use an host tool
14914 LD_FOR_TARGET='$(LD)'
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14916 $as_echo "host tool
" >&6; }
14918 # We need a cross tool
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14920 $as_echo "pre-installed
" >&6; }
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14925 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14926 if test "x
${build}" != "x
${host}" ; then
14927 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14928 # We already found the complete path
14929 ac_dir=`dirname $LIPO_FOR_TARGET`
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14931 $as_echo "pre-installed
in $ac_dir" >&6; }
14933 # Canadian cross, just use what we found
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14935 $as_echo "pre-installed
" >&6; }
14938 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14939 # We already found the complete path
14940 ac_dir=`dirname $LIPO_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 LIPO_FOR_TARGET='$(LIPO)'
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 nm
" >&5
14956 $as_echo_n "checking where to
find the target nm...
" >&6; }
14957 if test "x
${build}" != "x
${host}" ; then
14958 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14959 # We already found the complete path
14960 ac_dir=`dirname $NM_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; }
14970 case " ${configdirs} " in
14975 if test $ok = yes; then
14976 # An in-tree tool is available and we can use it
14977 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14979 $as_echo "just compiled
" >&6; }
14980 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14981 # We already found the complete path
14982 ac_dir=`dirname $NM_FOR_TARGET`
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14984 $as_echo "pre-installed
in $ac_dir" >&6; }
14985 elif test "x
$target" = "x
$host"; then
14986 # We can use an host tool
14987 NM_FOR_TARGET='$(NM)'
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14989 $as_echo "host tool
" >&6; }
14991 # We need a cross tool
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14993 $as_echo "pre-installed
" >&6; }
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14998 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14999 if test "x
${build}" != "x
${host}" ; then
15000 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
15001 # We already found the complete path
15002 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15004 $as_echo "pre-installed
in $ac_dir" >&6; }
15006 # Canadian cross, just use what we found
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15008 $as_echo "pre-installed
" >&6; }
15012 case " ${configdirs} " in
15017 if test $ok = yes; then
15018 # An in-tree tool is available and we can use it
15019 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15021 $as_echo "just compiled
" >&6; }
15022 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
15023 # We already found the complete path
15024 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15026 $as_echo "pre-installed
in $ac_dir" >&6; }
15027 elif test "x
$target" = "x
$host"; then
15028 # We can use an host tool
15029 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15031 $as_echo "host tool
" >&6; }
15033 # We need a cross tool
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15035 $as_echo "pre-installed
" >&6; }
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
15040 $as_echo_n "checking where to
find the target objdump...
" >&6; }
15041 if test "x
${build}" != "x
${host}" ; then
15042 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
15043 # We already found the complete path
15044 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15046 $as_echo "pre-installed
in $ac_dir" >&6; }
15048 # Canadian cross, just use what we found
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15050 $as_echo "pre-installed
" >&6; }
15054 case " ${configdirs} " in
15059 if test $ok = yes; then
15060 # An in-tree tool is available and we can use it
15061 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15063 $as_echo "just compiled
" >&6; }
15064 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
15065 # We already found the complete path
15066 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15068 $as_echo "pre-installed
in $ac_dir" >&6; }
15069 elif test "x
$target" = "x
$host"; then
15070 # We can use an host tool
15071 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15073 $as_echo "host tool
" >&6; }
15075 # We need a cross tool
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15077 $as_echo "pre-installed
" >&6; }
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target otool
" >&5
15082 $as_echo_n "checking where to
find the target otool...
" >&6; }
15083 if test "x
${build}" != "x
${host}" ; then
15084 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
15085 # We already found the complete path
15086 ac_dir=`dirname $OTOOL_FOR_TARGET`
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15088 $as_echo "pre-installed
in $ac_dir" >&6; }
15090 # Canadian cross, just use what we found
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15092 $as_echo "pre-installed
" >&6; }
15095 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
15096 # We already found the complete path
15097 ac_dir=`dirname $OTOOL_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 OTOOL_FOR_TARGET='$(OTOOL)'
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 ranlib
" >&5
15113 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
15114 if test "x
${build}" != "x
${host}" ; then
15115 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
15116 # We already found the complete path
15117 ac_dir=`dirname $RANLIB_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; }
15127 case " ${configdirs} " in
15132 if test $ok = yes; then
15133 # An in-tree tool is available and we can use it
15134 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15136 $as_echo "just compiled
" >&6; }
15137 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
15138 # We already found the complete path
15139 ac_dir=`dirname $RANLIB_FOR_TARGET`
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15141 $as_echo "pre-installed
in $ac_dir" >&6; }
15142 elif test "x
$target" = "x
$host"; then
15143 # We can use an host tool
15144 RANLIB_FOR_TARGET='$(RANLIB)'
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15146 $as_echo "host tool
" >&6; }
15148 # We need a cross tool
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15150 $as_echo "pre-installed
" >&6; }
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
15155 $as_echo_n "checking where to
find the target readelf...
" >&6; }
15156 if test "x
${build}" != "x
${host}" ; then
15157 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
15158 # We already found the complete path
15159 ac_dir=`dirname $READELF_FOR_TARGET`
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15161 $as_echo "pre-installed
in $ac_dir" >&6; }
15163 # Canadian cross, just use what we found
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15165 $as_echo "pre-installed
" >&6; }
15169 case " ${configdirs} " in
15174 if test $ok = yes; then
15175 # An in-tree tool is available and we can use it
15176 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15178 $as_echo "just compiled
" >&6; }
15179 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
15180 # We already found the complete path
15181 ac_dir=`dirname $READELF_FOR_TARGET`
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15183 $as_echo "pre-installed
in $ac_dir" >&6; }
15184 elif test "x
$target" = "x
$host"; then
15185 # We can use an host tool
15186 READELF_FOR_TARGET='$(READELF)'
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15188 $as_echo "host tool
" >&6; }
15190 # We need a cross tool
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15192 $as_echo "pre-installed
" >&6; }
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
15197 $as_echo_n "checking where to
find the target strip...
" >&6; }
15198 if test "x
${build}" != "x
${host}" ; then
15199 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
15200 # We already found the complete path
15201 ac_dir=`dirname $STRIP_FOR_TARGET`
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15203 $as_echo "pre-installed
in $ac_dir" >&6; }
15205 # Canadian cross, just use what we found
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15207 $as_echo "pre-installed
" >&6; }
15211 case " ${configdirs} " in
15216 if test $ok = yes; then
15217 # An in-tree tool is available and we can use it
15218 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15220 $as_echo "just compiled
" >&6; }
15221 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
15222 # We already found the complete path
15223 ac_dir=`dirname $STRIP_FOR_TARGET`
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15225 $as_echo "pre-installed
in $ac_dir" >&6; }
15226 elif test "x
$target" = "x
$host"; then
15227 # We can use an host tool
15228 STRIP_FOR_TARGET='$(STRIP)'
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15230 $as_echo "host tool
" >&6; }
15232 # We need a cross tool
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15234 $as_echo "pre-installed
" >&6; }
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
15239 $as_echo_n "checking where to
find the target windres...
" >&6; }
15240 if test "x
${build}" != "x
${host}" ; then
15241 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15242 # We already found the complete path
15243 ac_dir=`dirname $WINDRES_FOR_TARGET`
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15245 $as_echo "pre-installed
in $ac_dir" >&6; }
15247 # Canadian cross, just use what we found
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15249 $as_echo "pre-installed
" >&6; }
15253 case " ${configdirs} " in
15258 if test $ok = yes; then
15259 # An in-tree tool is available and we can use it
15260 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15262 $as_echo "just compiled
" >&6; }
15263 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15264 # We already found the complete path
15265 ac_dir=`dirname $WINDRES_FOR_TARGET`
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15267 $as_echo "pre-installed
in $ac_dir" >&6; }
15268 elif test "x
$target" = "x
$host"; then
15269 # We can use an host tool
15270 WINDRES_FOR_TARGET='$(WINDRES)'
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15272 $as_echo "host tool
" >&6; }
15274 # We need a cross tool
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15276 $as_echo "pre-installed
" >&6; }
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
15281 $as_echo_n "checking where to
find the target windmc...
" >&6; }
15282 if test "x
${build}" != "x
${host}" ; then
15283 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15284 # We already found the complete path
15285 ac_dir=`dirname $WINDMC_FOR_TARGET`
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15287 $as_echo "pre-installed
in $ac_dir" >&6; }
15289 # Canadian cross, just use what we found
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15291 $as_echo "pre-installed
" >&6; }
15295 case " ${configdirs} " in
15300 if test $ok = yes; then
15301 # An in-tree tool is available and we can use it
15302 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15304 $as_echo "just compiled
" >&6; }
15305 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15306 # We already found the complete path
15307 ac_dir=`dirname $WINDMC_FOR_TARGET`
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15309 $as_echo "pre-installed
in $ac_dir" >&6; }
15310 elif test "x
$target" = "x
$host"; then
15311 # We can use an host tool
15312 WINDMC_FOR_TARGET='$(WINDMC)'
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15314 $as_echo "host tool
" >&6; }
15316 # We need a cross tool
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15318 $as_echo "pre-installed
" >&6; }
15326 # Certain tools may need extra flags.
15327 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
15328 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
15329 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
15331 # When building target libraries, except in a Canadian cross, we use
15332 # the same toolchain as the compiler we just built.
15333 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
15334 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
15335 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
15336 if test $host = $build; then
15337 case " $configdirs " in
15339 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
15340 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
15341 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
15351 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
15352 # Check whether --enable-maintainer-mode was given.
15353 if test "${enable_maintainer_mode+set}" = set; then :
15354 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
15356 USE_MAINTAINER_MODE=no
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
15360 $as_echo "$USE_MAINTAINER_MODE" >&6; }
15363 if test "$USE_MAINTAINER_MODE" = yes; then
15364 MAINTAINER_MODE_TRUE=
15365 MAINTAINER_MODE_FALSE='#'
15367 MAINTAINER_MODE_TRUE='#'
15368 MAINTAINER_MODE_FALSE=
15370 MAINT=$MAINTAINER_MODE_TRUE
15372 # ---------------------
15373 # GCC bootstrap support
15374 # ---------------------
15376 # Stage specific cflags for build.
15381 yes) stage1_cflags="-g -Wa,-J" ;;
15382 *) stage1_cflags="-g -J" ;;
15388 # Enable --enable-checking in stage1 of the compiler.
15389 # Check whether --enable-stage1-checking was given.
15390 if test "${enable_stage1_checking+set}" = set; then :
15391 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
15393 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
15394 # For --disable-checking or implicit --enable-checking=release, avoid
15395 # setting --enable-checking=gc in the default stage1 checking for LTO
15396 # bootstraps. See PR62077.
15397 case $BUILD_CONFIG in
15399 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
15401 stage1_checking=--enable-checking=yes,types;;
15403 if test "x
$enable_checking" = x && \
15404 test -d ${srcdir}/gcc && \
15405 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
15406 stage1_checking=--enable-checking=yes,types,extra
15409 stage1_checking=--enable-checking=$enable_checking,types
15415 # Enable -Werror in bootstrap stage2 and later.
15416 # Check whether --enable-werror was given.
15417 if test "${enable_werror+set}" = set; then :
15418 enableval=$enable_werror;
15419 case ${enable_werror} in
15420 yes) stage2_werror_flag="--enable-werror-always" ;;
15421 *) stage2_werror_flag="" ;;
15426 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
15427 case $BUILD_CONFIG in
15429 stage2_werror_flag="--enable-werror-always" ;;
15431 stage2_werror_flag="--enable-werror-always" ;;
15440 # Specify what files to not compare during bootstrap.
15442 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
15444 hppa*64*-*-hpux*) ;;
15445 hppa*-*-hpux*) compare_exclusions="$compare_exclusions |
*/libgcc
/lib2funcs
* | gcc
/function-tests.o
" ;;
15446 powerpc*-ibm-aix*) compare_exclusions="$compare_exclusions |
*libgomp
*\$
(objext
)" ;;
15450 ac_config_files="$ac_config_files Makefile
"
15452 cat >confcache <<\_ACEOF
15453 # This file is a shell script that caches the results of configure
15454 # tests run on this system so they can be shared between configure
15455 # scripts and configure runs, see configure's option --config-cache.
15456 # It is not useful on other systems. If it contains results you don't
15457 # want to keep, you may remove or edit it.
15459 # config.status only pays attention to the cache file if you give it
15460 # the --recheck option to rerun configure.
15462 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15463 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15464 # following values.
15468 # The following way of writing the cache mishandles newlines in values,
15469 # but we know of no workaround that is simple, portable, and efficient.
15470 # So, we kill variables containing newlines.
15471 # Ultrix sh set writes to stderr and can't be redirected directly,
15472 # and sets the high bit in the cache file unless we assign to the vars.
15474 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15475 eval ac_val=\$$ac_var
15479 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15480 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15483 _ | IFS | as_nl) ;; #(
15484 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15485 *) { eval $ac_var=; unset $ac_var;} ;;
15491 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15492 *${as_nl}ac_space=\ *)
15493 # `set' does not quote correctly, so add quotes: double-quote
15494 # substitution turns \\\\ into \\, and sed turns \\ into \.
15497 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15500 # `set' quotes correctly as required by POSIX, so do not add quotes.
15501 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15510 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15512 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15514 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15515 if test -w "$cache_file"; then
15516 if test "x
$cache_file" != "x
/dev
/null
"; then
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15518 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15519 if test ! -f "$cache_file" || test -h "$cache_file"; then
15520 cat confcache >"$cache_file"
15522 case $cache_file in #(
15524 mv -f confcache "$cache_file"$$ &&
15525 mv -f "$cache_file"$$ "$cache_file" ;; #(
15527 mv -f confcache "$cache_file" ;;
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15533 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15538 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15539 # Let make expand exec_prefix.
15540 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15542 # Transform confdefs.h into DEFS.
15543 # Protect against shell expansion while executing Makefile rules.
15544 # Protect against Makefile macro expansion.
15546 # If the first sed substitution is executed (which looks for macros that
15547 # take arguments), then branch to the quote section. Otherwise,
15548 # look for a macro that doesn't take arguments.
15558 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15560 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15564 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15577 DEFS=`sed -n "$ac_script" confdefs.h`
15583 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15584 # 1. Remove the extension, and $U if already installed.
15585 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15586 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15587 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15588 # will be set to the directory where LIBOBJS objects are built.
15589 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15590 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15592 LIBOBJS=$ac_libobjs
15594 LTLIBOBJS=$ac_ltlibobjs
15598 : "${CONFIG_STATUS=./config.status}"
15600 ac_clean_files_save=$ac_clean_files
15601 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15603 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15605 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15607 # Generated by $as_me.
15608 # Run this file to recreate the current configuration.
15609 # Compiler output produced by configure, useful for debugging
15610 # configure, is in config.log if it exists.
15613 ac_cs_recheck=false
15616 SHELL=\${CONFIG_SHELL-$SHELL}
15619 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15620 ## -------------------- ##
15621 ## M4sh Initialization. ##
15622 ## -------------------- ##
15624 # Be more Bourne compatible
15625 DUALCASE=1; export DUALCASE # for MKS sh
15626 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15629 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15630 # is contrary to our usage. Disable this feature.
15631 alias -g '${1+"$@"}'='"$@"'
15632 setopt NO_GLOB_SUBST
15634 case `(set -o) 2>/dev/null` in #(
15646 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15647 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15648 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15649 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15650 # Prefer a ksh shell builtin over an external printf program on Solaris,
15651 # but without wasting forks for bash or zsh.
15652 if test -z "$BASH_VERSION$ZSH_VERSION" \
15653 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15654 as_echo
='print -r --'
15655 as_echo_n
='print -rn --'
15656 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15657 as_echo
='printf %s\n'
15658 as_echo_n
='printf %s'
15660 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15661 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15662 as_echo_n
='/usr/ucb/echo -n'
15664 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15665 as_echo_n_body
='eval
15669 expr "X$arg" : "X\\(.*\\)$as_nl";
15670 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15672 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15674 export as_echo_n_body
15675 as_echo_n
='sh -c $as_echo_n_body as_echo'
15677 export as_echo_body
15678 as_echo
='sh -c $as_echo_body as_echo'
15681 # The user is always right.
15682 if test "${PATH_SEPARATOR+set}" != set; then
15684 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15685 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15692 # We need space, tab and new line, in precisely that order. Quoting is
15693 # there to prevent editors from complaining about space-tab.
15694 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15695 # splitting by setting IFS to empty value.)
15698 # Find who we are. Look in the path if we contain no directory separator.
15701 *[\\/]* ) as_myself
=$0 ;;
15702 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15703 for as_dir
in $PATH
15706 test -z "$as_dir" && as_dir
=.
15707 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15713 # We did not find ourselves, most probably we were run as `sh COMMAND'
15714 # in which case we are not to be found in the path.
15715 if test "x$as_myself" = x
; then
15718 if test ! -f "$as_myself"; then
15719 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15723 # Unset variables that we do not need and which cause bugs (e.g. in
15724 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15725 # suppresses any "Segmentation fault" message there. '((' could
15726 # trigger a bug in pdksh 5.2.14.
15727 for as_var
in BASH_ENV ENV MAIL MAILPATH
15728 do eval test x\
${$as_var+set} = xset \
15729 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15742 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15745 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15746 # ----------------------------------------
15747 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15748 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15749 # script with STATUS, using 1 if that was 0.
15752 as_status
=$1; test $as_status -eq 0 && as_status
=1
15754 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15755 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15757 $as_echo "$as_me: error: $2" >&2
15758 as_fn_exit
$as_status
15762 # as_fn_set_status STATUS
15763 # -----------------------
15764 # Set $? to STATUS, without forking.
15765 as_fn_set_status
()
15768 } # as_fn_set_status
15770 # as_fn_exit STATUS
15771 # -----------------
15772 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15776 as_fn_set_status
$1
15782 # Portably unset VAR.
15785 { eval $1=; unset $1;}
15787 as_unset
=as_fn_unset
15788 # as_fn_append VAR VALUE
15789 # ----------------------
15790 # Append the text in VALUE to the end of the definition contained in VAR. Take
15791 # advantage of any shell optimizations that allow amortized linear growth over
15792 # repeated appends, instead of the typical quadratic growth present in naive
15794 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15795 eval 'as_fn_append ()
15806 # as_fn_arith ARG...
15807 # ------------------
15808 # Perform arithmetic evaluation on the ARGs, and store the result in the
15809 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15810 # must be portable across $(()) and expr.
15811 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15812 eval 'as_fn_arith ()
15819 as_val
=`expr "$@" || test $? -eq 1`
15824 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15825 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15831 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15832 as_basename
=basename
15837 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15843 as_me
=`$as_basename -- "$0" ||
15844 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15845 X"$0" : 'X\(//\)$' \| \
15846 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15848 sed '/^.*\/\([^/][^/]*\)\/*$/{
15862 # Avoid depending upon Character Ranges.
15863 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15864 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15865 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15866 as_cr_digits
='0123456789'
15867 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15869 ECHO_C
= ECHO_N
= ECHO_T
=
15870 case `echo -n x` in #(((((
15872 case `echo 'xy\c'` in
15873 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15875 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15882 rm -f conf$$ conf$$.exe conf$$.
file
15883 if test -d conf$$.dir
; then
15884 rm -f conf$$.dir
/conf$$.
file
15887 mkdir conf$$.dir
2>/dev
/null
15889 if (echo >conf$$.
file) 2>/dev
/null
; then
15890 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15892 # ... but there are two gotchas:
15893 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15894 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15895 # In both cases, we have to default to `cp -pR'.
15896 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15898 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15906 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15907 rmdir conf$$.dir
2>/dev
/null
15912 # Create "$as_dir" as a directory, including parents if necessary.
15917 -*) as_dir
=.
/$as_dir;;
15919 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15923 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15924 *) as_qdir
=$as_dir;;
15926 as_dirs
="'$as_qdir' $as_dirs"
15927 as_dir
=`$as_dirname -- "$as_dir" ||
15928 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15929 X"$as_dir" : 'X\(//\)[^/]' \| \
15930 X"$as_dir" : 'X\(//\)$' \| \
15931 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15932 $as_echo X"$as_dir" |
15933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15937 /^X\(\/\/\)[^/].*/{
15950 test -d "$as_dir" && break
15952 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15953 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15957 if mkdir
-p .
2>/dev
/null
; then
15958 as_mkdir_p
='mkdir -p "$as_dir"'
15960 test -d .
/-p && rmdir .
/-p
15965 # as_fn_executable_p FILE
15966 # -----------------------
15967 # Test if FILE is an executable regular file.
15968 as_fn_executable_p
()
15970 test -f "$1" && test -x "$1"
15971 } # as_fn_executable_p
15972 as_test_x
='test -x'
15973 as_executable_p
=as_fn_executable_p
15975 # Sed expression to map a string onto a valid CPP name.
15976 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15978 # Sed expression to map a string onto a valid variable name.
15979 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15983 ## ----------------------------------- ##
15984 ## Main body of $CONFIG_STATUS script. ##
15985 ## ----------------------------------- ##
15987 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15990 # Save the log message, to keep $0 and so on meaningful, and to
15991 # report actual input values of CONFIG_FILES etc. instead of their
15992 # values after options handling.
15994 This file was extended by $as_me, which was
15995 generated by GNU Autoconf 2.69. Invocation command line was
15997 CONFIG_FILES = $CONFIG_FILES
15998 CONFIG_HEADERS = $CONFIG_HEADERS
15999 CONFIG_LINKS = $CONFIG_LINKS
16000 CONFIG_COMMANDS = $CONFIG_COMMANDS
16003 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16008 case $ac_config_files in *"
16009 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16015 # Files that config.status was made for.
16016 config_files="$ac_config_files"
16020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16022 \`$as_me' instantiates files and other configuration actions
16023 from templates according to the current configuration. Unless the files
16024 and actions are specified as TAGs, all are instantiated by default.
16026 Usage: $0 [OPTION]... [TAG]...
16028 -h, --help print this help, then exit
16029 -V, --version print version number and configuration settings, then exit
16030 --config print configuration, then exit
16031 -q, --quiet, --silent
16032 do not print progress messages
16033 -d, --debug don't remove temporary files
16034 --recheck update $as_me by reconfiguring in the same conditions
16035 --file=FILE[:TEMPLATE]
16036 instantiate the configuration file FILE
16038 Configuration files:
16041 Report bugs to the package provider."
16044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16045 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16048 configured by $0, generated by GNU Autoconf 2.69,
16049 with options \\"\$ac_cs_config\\"
16051 Copyright (C) 2012 Free Software Foundation, Inc.
16052 This config.status script is free software; the Free Software Foundation
16053 gives unlimited permission to copy, distribute and modify it."
16059 test -n "\$AWK" || AWK=awk
16062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16063 # The default lists apply if the user does not specify any file.
16069 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16070 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16074 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16086 # Handling of the options.
16087 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16089 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16090 $as_echo "$ac_cs_version"; exit ;;
16091 --config |
--confi |
--conf |
--con |
--co |
--c )
16092 $as_echo "$ac_cs_config"; exit ;;
16093 --debug |
--debu |
--deb |
--de |
--d |
-d )
16095 --file |
--fil |
--fi |
--f )
16098 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16099 '') as_fn_error $?
"missing file argument" ;;
16101 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16102 ac_need_defaults
=false
;;
16103 --he |
--h |
--help |
--hel |
-h )
16104 $as_echo "$ac_cs_usage"; exit ;;
16105 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16106 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16109 # This is an error.
16110 -*) as_fn_error $?
"unrecognized option: \`$1'
16111 Try \`$0 --help' for more information." ;;
16113 *) as_fn_append ac_config_targets
" $1"
16114 ac_need_defaults
=false
;;
16120 ac_configure_extra_args
=
16122 if $ac_cs_silent; then
16124 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16129 if \$ac_cs_recheck; then
16130 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16132 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16133 CONFIG_SHELL='$SHELL'
16134 export CONFIG_SHELL
16139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16143 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16144 ## Running $as_me. ##
16150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16154 extrasub_build="$extrasub_build"
16155 extrasub_host="$extrasub_host"
16156 extrasub_target="$extrasub_target"
16160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16162 # Handling of arguments.
16163 for ac_config_target
in $ac_config_targets
16165 case $ac_config_target in
16166 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16168 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16173 # If the user did not use the arguments to specify the items to instantiate,
16174 # then the envvar interface is used. Set only those that are not.
16175 # We use the long form for the default assignment because of an extremely
16176 # bizarre bug on SunOS 4.1.3.
16177 if $ac_need_defaults; then
16178 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16181 # Have a temporary directory for convenience. Make it in the build tree
16182 # simply because there is no reason against having it here, and in addition,
16183 # creating and moving files from /tmp can sometimes cause problems.
16184 # Hook for its removal unless debugging.
16185 # Note that there is a small window in which the directory will not be cleaned:
16186 # after its creation but before its name has been assigned to `$tmp'.
16190 trap 'exit_status=$?
16191 : "${ac_tmp:=$tmp}"
16192 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16194 trap 'as_fn_exit 1' 1 2 13 15
16196 # Create a (secure) tmp directory for tmp files.
16199 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16203 tmp
=.
/conf$$
-$RANDOM
16204 (umask 077 && mkdir
"$tmp")
16205 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16208 # Set up the scripts for CONFIG_FILES section.
16209 # No need to generate them if there are no CONFIG_FILES.
16210 # This happens for instance with `./config.status config.h'.
16211 if test -n "$CONFIG_FILES"; then
16213 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16214 ac_cs_awk_getline
=:
16215 ac_cs_awk_pipe_init
=
16216 ac_cs_awk_read_file
='
16217 while ((getline aline < (F[key])) > 0)
16220 ac_cs_awk_pipe_fini
=
16222 ac_cs_awk_getline
=false
16223 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16224 ac_cs_awk_read_file
='
16226 print "cat " F[key] " &&"
16227 '$ac_cs_awk_pipe_init
16228 # The final `:' finishes the AND list.
16229 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16231 ac_cr
=`echo X | tr X '\015'`
16232 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16233 # But we know of no other shell where ac_cr would be empty at this
16234 # point, so we can use a bashism as a fallback.
16235 if test "x$ac_cr" = x
; then
16236 eval ac_cr
=\$
\'\\r
\'
16238 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16239 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16242 ac_cs_awk_cr
=$ac_cr
16245 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16248 # Create commands to substitute file output variables.
16250 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16251 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16252 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16255 } >conf$
$files.sh
&&
16256 . .
/conf$
$files.sh ||
16257 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16258 rm -f conf$
$files.sh
16261 echo "cat >conf$$subs.awk <<_ACEOF" &&
16262 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16264 } >conf$$subs.sh ||
16265 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16266 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16268 for ac_last_try in false false false false false :; do
16269 . ./conf$$subs.sh ||
16270 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16272 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16273 if test $ac_delim_n = $ac_delim_num; then
16275 elif $ac_last_try; then
16276 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16278 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16281 rm -f conf$$subs.sh
16283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16284 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16288 s/^/S["/; s
/!.
*/"]=/
16298 s/\(.\{148\}\)..*/\1/
16300 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16305 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16312 s/\(.\{148\}\)..*/\1/
16314 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16318 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16323 ' <conf$$subs.awk | sed '
16328 ' >>$CONFIG_STATUS || ac_write_fail=1
16329 rm -f conf$$subs.awk
16330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16332 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16333 for (key in S) S_is_set[key] = 1
16335 \$ac_cs_awk_pipe_init
16339 nfields = split(line, field, "@
")
16341 len = length(field[1])
16342 for (i = 2; i < nfields; i++) {
16344 keylen = length(key)
16345 if (S_is_set[key]) {
16347 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16348 len += length(value) + length(field[++i])
16353 if (nfields == 3 && !substed) {
16355 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16356 \$ac_cs_awk_read_file
16362 \$ac_cs_awk_pipe_fini
16365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16366 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16367 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16370 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16371 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16374 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16375 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16376 # trailing colons and then remove the whole line if VPATH becomes empty
16377 # (actually we leave an empty line to preserve line numbers).
16378 if test "x
$srcdir" = x.; then
16379 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16398 fi # test -n "$CONFIG_FILES"
16401 eval set X " :F
$CONFIG_FILES "
16406 :[FHLC]) ac_mode=$ac_tag; continue;;
16408 case $ac_mode$ac_tag in
16410 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16411 :[FH]-) ac_tag=-:-;;
16412 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16429 -) ac_f="$ac_tmp/stdin";;
16430 *) # Look for the file first in the build tree, then in the source tree
16431 # (if the path is not absolute). The absolute path cannot be DOS-style,
16432 # because $ac_f cannot contain `:'.
16436 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16438 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16440 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16441 as_fn_append ac_file_inputs " '$ac_f'"
16444 # Let's still pretend it is `configure' which instantiates (i.e., don't
16445 # use $as_me), people would be surprised to read:
16446 # /* config.h. Generated by config.status. */
16447 configure_input='Generated from '`
16448 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16450 if test x"$ac_file" != x-; then
16451 configure_input="$ac_file.
$configure_input"
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16453 $as_echo "$as_me: creating
$ac_file" >&6;}
16455 # Neutralize special characters interpreted by sed in replacement strings.
16456 case $configure_input in #(
16457 *\&* | *\|* | *\\* )
16458 ac_sed_conf_input=`$as_echo "$configure_input" |
16459 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16460 *) ac_sed_conf_input=$configure_input;;
16464 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16465 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16470 ac_dir=`$as_dirname -- "$ac_file" ||
16471 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16472 X"$ac_file" : 'X\(//\)[^/]' \| \
16473 X"$ac_file" : 'X\(//\)$' \| \
16474 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16475 $as_echo X"$ac_file" |
16476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16480 /^X\(\/\/\)[^/].*/{
16493 as_dir="$ac_dir"; as_fn_mkdir_p
16497 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16499 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16500 # A "..
" for each directory in $ac_dir_suffix.
16501 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16502 case $ac_top_builddir_sub in
16503 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16504 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16507 ac_abs_top_builddir=$ac_pwd
16508 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16509 # for backward compatibility:
16510 ac_top_builddir=$ac_top_build_prefix
16513 .) # We are building in place.
16515 ac_top_srcdir=$ac_top_builddir_sub
16516 ac_abs_top_srcdir=$ac_pwd ;;
16517 [\\/]* | ?:[\\/]* ) # Absolute name.
16518 ac_srcdir=$srcdir$ac_dir_suffix;
16519 ac_top_srcdir=$srcdir
16520 ac_abs_top_srcdir=$srcdir ;;
16521 *) # Relative name.
16522 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16523 ac_top_srcdir=$ac_top_build_prefix$srcdir
16524 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16526 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16536 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16537 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16542 # If the template does not know about datarootdir, expand it.
16543 # FIXME: This hack should be removed a few years after 2.60.
16544 ac_datarootdir_hack=; ac_datarootdir_seen=
16555 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16556 *datarootdir*) ac_datarootdir_seen=yes;;
16557 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16559 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16562 ac_datarootdir_hack='
16563 s&@datadir@&$datadir&g
16564 s&@docdir@&$docdir&g
16565 s&@infodir@&$infodir&g
16566 s&@localedir@&$localedir&g
16567 s&@mandir@&$mandir&g
16568 s&\\\${datarootdir}&$datarootdir&g' ;;
16572 # Neutralize VPATH when `$srcdir' = `.'.
16573 # Shell code in configure.ac might set extrasub.
16574 # FIXME: do we really want to maintain this feature?
16575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16576 ac_sed_extra="$ac_vpsub
16579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16581 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16582 s|@configure_input@|
$ac_sed_conf_input|
;t t
16583 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16584 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16585 s
&@srcdir@
&$ac_srcdir&;t t
16586 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16587 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16588 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16589 s
&@builddir@
&$ac_builddir&;t t
16590 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16591 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16592 s
&@INSTALL@
&$ac_INSTALL&;t t
16593 $ac_datarootdir_hack
16595 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16596 if $ac_cs_awk_getline; then
16597 $AWK -f "$ac_tmp/subs.
awk"
16599 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16601 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16603 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16604 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16605 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16606 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16608 which seems to be undefined. Please make sure it is defined" >&5
16609 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16610 which seems to be undefined. Please make sure it is defined" >&2;}
16612 rm -f "$ac_tmp/stdin"
16614 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16615 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16617 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16625 case $ac_file$ac_mode in
16626 "Makefile":F) sed "$extrasub_build" Makefile |
16627 sed "$extrasub_host" |
16628 sed "$extrasub_target" > mf$$
16629 mv -f mf$$ Makefile ;;
16637 ac_clean_files=$ac_clean_files_save
16639 test $ac_write_fail = 0 ||
16640 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16643 # configure is writing to config.log, and then calls config.status.
16644 # config.status does its own redirection, appending to config.log.
16645 # Unfortunately, on DOS this fails, as config.log is still kept open
16646 # by configure, so config.status won't be able to
write to it
; its
16647 # output is simply discarded. So we exec the FD to /dev/null,
16648 # effectively closing config.log, so it can be properly (re)opened and
16649 # appended to by config.status. When coming back to configure, we
16650 # need to make the FD available again.
16651 if test "$no_create" != yes; then
16653 ac_config_status_args
=
16654 test "$silent" = yes &&
16655 ac_config_status_args
="$ac_config_status_args --quiet"
16657 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16659 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16660 # would make configure fail if this is the last instruction.
16661 $ac_cs_success || as_fn_exit
1
16663 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16665 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}