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
815 enable_isl_version_check
817 enable_linker_plugin_configure_flags
818 enable_linker_plugin_flags
820 enable_stage1_languages
823 with_target_bdw_gc_include
824 with_target_bdw_gc_lib
825 with_gcc_major_version_only
827 with_debug_prefix_map
830 enable_serial_configure
831 with_build_time_tools
832 enable_maintainer_mode
833 enable_stage1_checking
836 ac_precious_vars
='build_alias
886 # Initialize some variables set by options.
888 ac_init_version
=false
889 ac_unrecognized_opts
=
891 # The variables have the same names as the options, with
892 # dashes changed to underlines.
900 program_transform_name
=s
,x
,x
,
908 # Installation directory options.
909 # These are left unexpanded so users can "make install exec_prefix=/foo"
910 # and all the variables that are supposed to be based on exec_prefix
911 # by default will actually change.
912 # Use braces instead of parens because sh, perl, etc. also accept them.
913 # (The list follows the same order as the GNU Coding Standards.)
914 bindir
='${exec_prefix}/bin'
915 sbindir
='${exec_prefix}/sbin'
916 libexecdir
='${exec_prefix}/libexec'
917 datarootdir
='${prefix}/share'
918 datadir
='${datarootdir}'
919 sysconfdir
='${prefix}/etc'
920 sharedstatedir
='${prefix}/com'
921 localstatedir
='${prefix}/var'
922 includedir
='${prefix}/include'
923 oldincludedir
='/usr/include'
924 docdir
='${datarootdir}/doc/${PACKAGE}'
925 infodir
='${datarootdir}/info'
930 libdir
='${exec_prefix}/lib'
931 localedir
='${datarootdir}/locale'
932 mandir
='${datarootdir}/man'
938 # If the previous option needs an argument, assign it.
939 if test -n "$ac_prev"; then
940 eval $ac_prev=\
$ac_option
946 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
951 # Accept the important Cygnus configure options, so we can diagnose typos.
953 case $ac_dashdash$ac_option in
957 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
959 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
962 -build |
--build |
--buil |
--bui |
--bu)
963 ac_prev
=build_alias
;;
964 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
965 build_alias
=$ac_optarg ;;
967 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
968 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
969 ac_prev
=cache_file
;;
970 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
971 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
972 cache_file
=$ac_optarg ;;
975 cache_file
=config.cache
;;
977 -datadir |
--datadir |
--datadi |
--datad)
979 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
980 datadir
=$ac_optarg ;;
982 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
983 |
--dataroo |
--dataro |
--datar)
984 ac_prev
=datarootdir
;;
985 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
986 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
987 datarootdir
=$ac_optarg ;;
989 -disable-* |
--disable-*)
990 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
993 as_fn_error $?
"invalid feature name: $ac_useropt"
994 ac_useropt_orig
=$ac_useropt
995 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 case $ac_user_opts in
1000 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1001 ac_unrecognized_sep
=', ';;
1003 eval enable_
$ac_useropt=no
;;
1005 -docdir |
--docdir |
--docdi |
--doc |
--do)
1007 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1008 docdir
=$ac_optarg ;;
1010 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1012 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1013 dvidir
=$ac_optarg ;;
1015 -enable-* |
--enable-*)
1016 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1019 as_fn_error $?
"invalid feature name: $ac_useropt"
1020 ac_useropt_orig
=$ac_useropt
1021 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1024 "enable_
$ac_useropt"
1026 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1027 ac_unrecognized_sep
=', ';;
1029 eval enable_
$ac_useropt=\
$ac_optarg ;;
1031 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1032 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1033 |
--exec |
--exe |
--ex)
1034 ac_prev
=exec_prefix
;;
1035 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1036 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1037 |
--exec=* |
--exe=* |
--ex=*)
1038 exec_prefix
=$ac_optarg ;;
1040 -gas |
--gas |
--ga |
--g)
1041 # Obsolete; use --with-gas.
1044 -help |
--help |
--hel |
--he |
-h)
1045 ac_init_help
=long
;;
1046 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1047 ac_init_help
=recursive
;;
1048 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1049 ac_init_help
=short
;;
1051 -host |
--host |
--hos |
--ho)
1052 ac_prev
=host_alias
;;
1053 -host=* |
--host=* |
--hos=* |
--ho=*)
1054 host_alias
=$ac_optarg ;;
1056 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1058 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1060 htmldir
=$ac_optarg ;;
1062 -includedir |
--includedir |
--includedi |
--included |
--include \
1063 |
--includ |
--inclu |
--incl |
--inc)
1064 ac_prev
=includedir
;;
1065 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1066 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1067 includedir
=$ac_optarg ;;
1069 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1071 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1072 infodir
=$ac_optarg ;;
1074 -libdir |
--libdir |
--libdi |
--libd)
1076 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1077 libdir
=$ac_optarg ;;
1079 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1080 |
--libexe |
--libex |
--libe)
1081 ac_prev
=libexecdir
;;
1082 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1083 |
--libexe=* |
--libex=* |
--libe=*)
1084 libexecdir
=$ac_optarg ;;
1086 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1087 ac_prev
=localedir
;;
1088 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1089 localedir
=$ac_optarg ;;
1091 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1092 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1093 ac_prev
=localstatedir
;;
1094 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1095 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1096 localstatedir
=$ac_optarg ;;
1098 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1100 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1101 mandir
=$ac_optarg ;;
1103 -nfp |
--nfp |
--nf)
1104 # Obsolete; use --without-fp.
1107 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1108 |
--no-cr |
--no-c |
-n)
1111 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1112 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1115 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1116 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1117 |
--oldin |
--oldi |
--old |
--ol |
--o)
1118 ac_prev
=oldincludedir
;;
1119 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1120 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1121 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1122 oldincludedir
=$ac_optarg ;;
1124 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1126 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1127 prefix
=$ac_optarg ;;
1129 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1130 |
--program-pre |
--program-pr |
--program-p)
1131 ac_prev
=program_prefix
;;
1132 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1133 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1134 program_prefix
=$ac_optarg ;;
1136 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1137 |
--program-suf |
--program-su |
--program-s)
1138 ac_prev
=program_suffix
;;
1139 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1140 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1141 program_suffix
=$ac_optarg ;;
1143 -program-transform-name |
--program-transform-name \
1144 |
--program-transform-nam |
--program-transform-na \
1145 |
--program-transform-n |
--program-transform- \
1146 |
--program-transform |
--program-transfor \
1147 |
--program-transfo |
--program-transf \
1148 |
--program-trans |
--program-tran \
1149 |
--progr-tra |
--program-tr |
--program-t)
1150 ac_prev
=program_transform_name
;;
1151 -program-transform-name=* |
--program-transform-name=* \
1152 |
--program-transform-nam=* |
--program-transform-na=* \
1153 |
--program-transform-n=* |
--program-transform-=* \
1154 |
--program-transform=* |
--program-transfor=* \
1155 |
--program-transfo=* |
--program-transf=* \
1156 |
--program-trans=* |
--program-tran=* \
1157 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1158 program_transform_name
=$ac_optarg ;;
1160 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1162 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1163 pdfdir
=$ac_optarg ;;
1165 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1167 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1170 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1171 |
-silent |
--silent |
--silen |
--sile |
--sil)
1174 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1176 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1178 sbindir
=$ac_optarg ;;
1180 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1181 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1182 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1184 ac_prev
=sharedstatedir
;;
1185 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1186 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1187 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1189 sharedstatedir
=$ac_optarg ;;
1191 -site |
--site |
--sit)
1193 -site=* |
--site=* |
--sit=*)
1196 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1198 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1199 srcdir
=$ac_optarg ;;
1201 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1202 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1203 ac_prev
=sysconfdir
;;
1204 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1205 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1206 sysconfdir
=$ac_optarg ;;
1208 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1209 ac_prev
=target_alias
;;
1210 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1211 target_alias
=$ac_optarg ;;
1213 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1216 -version |
--version |
--versio |
--versi |
--vers |
-V)
1217 ac_init_version
=: ;;
1220 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1223 as_fn_error $?
"invalid package name: $ac_useropt"
1224 ac_useropt_orig
=$ac_useropt
1225 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226 case $ac_user_opts in
1230 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1231 ac_unrecognized_sep
=', ';;
1233 eval with_
$ac_useropt=\
$ac_optarg ;;
1235 -without-* |
--without-*)
1236 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1239 as_fn_error $?
"invalid package name: $ac_useropt"
1240 ac_useropt_orig
=$ac_useropt
1241 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1246 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1247 ac_unrecognized_sep
=', ';;
1249 eval with_
$ac_useropt=no
;;
1252 # Obsolete; use --with-x.
1255 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1256 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1257 ac_prev
=x_includes
;;
1258 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1259 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1260 x_includes
=$ac_optarg ;;
1262 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1263 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1264 ac_prev
=x_libraries
;;
1265 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1266 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1267 x_libraries
=$ac_optarg ;;
1269 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1270 Try \`$0 --help' for more information"
1274 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1275 # Reject names that are not valid shell variable names.
1276 case $ac_envvar in #(
1277 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1278 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1280 eval $ac_envvar=\
$ac_optarg
1281 export $ac_envvar ;;
1284 # FIXME: should be removed in autoconf 3.0.
1285 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1286 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1287 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1288 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1294 if test -n "$ac_prev"; then
1295 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1296 as_fn_error $?
"missing argument to $ac_option"
1299 if test -n "$ac_unrecognized_opts"; then
1300 case $enable_option_checking in
1302 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1303 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1307 # Check all directory arguments for consistency.
1308 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1309 datadir sysconfdir sharedstatedir localstatedir includedir \
1310 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1311 libdir localedir mandir
1313 eval ac_val
=\$
$ac_var
1314 # Remove trailing slashes.
1317 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1318 eval $ac_var=\
$ac_val;;
1320 # Be sure to have absolute directory names.
1322 [\\/$
]* | ?
:[\\/]* ) continue;;
1323 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1325 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1328 # There might be people who depend on the old broken behavior: `$host'
1329 # used to hold the argument of --host etc.
1330 # FIXME: To remove some day.
1333 target
=$target_alias
1335 # FIXME: To remove some day.
1336 if test "x$host_alias" != x
; then
1337 if test "x$build_alias" = x
; then
1338 cross_compiling
=maybe
1339 elif test "x$build_alias" != "x$host_alias"; then
1345 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1347 test "$silent" = yes && exec 6>/dev
/null
1350 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1351 ac_ls_di
=`ls -di .` &&
1352 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1353 as_fn_error $?
"working directory cannot be determined"
1354 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1355 as_fn_error $?
"pwd does not report name of working directory"
1358 # Find the source files, if location was not specified.
1359 if test -z "$srcdir"; then
1360 ac_srcdir_defaulted
=yes
1361 # Try the directory containing this script, then the parent directory.
1362 ac_confdir
=`$as_dirname -- "$as_myself" ||
1363 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1364 X"$as_myself" : 'X\(//\)[^/]' \| \
1365 X"$as_myself" : 'X\(//\)$' \| \
1366 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1367 $as_echo X"$as_myself" |
1368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1386 if test ! -r "$srcdir/$ac_unique_file"; then
1390 ac_srcdir_defaulted
=no
1392 if test ! -r "$srcdir/$ac_unique_file"; then
1393 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1394 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1396 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1398 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1400 # When building in place, set srcdir=.
1401 if test "$ac_abs_confdir" = "$ac_pwd"; then
1404 # Remove unnecessary trailing slashes from srcdir.
1405 # Double slashes in file names in object file debugging info
1406 # mess up M-x gdb in Emacs.
1408 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412 as_fn_error $?
"path to source, $srcdir, contains spaces"
1415 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1417 for ac_var
in $ac_precious_vars; do
1418 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1419 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1420 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1421 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1425 # Report the --help message.
1427 if test "$ac_init_help" = "long"; then
1428 # Omit some internal or obsolete options to make the list less imposing.
1429 # This message is too long to be a string in the A/UX 3.1 sh.
1431 \`configure' configures this package to adapt to many kinds of systems.
1433 Usage: $0 [OPTION]... [VAR=VALUE]...
1435 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1436 VAR=VALUE. See below for descriptions of some of the useful variables.
1438 Defaults for the options are specified in brackets.
1441 -h, --help display this help and exit
1442 --help=short display options specific to this package
1443 --help=recursive display the short help of all the included packages
1444 -V, --version display version information and exit
1445 -q, --quiet, --silent do not print \`checking ...' messages
1446 --cache-file=FILE cache test results in FILE [disabled]
1447 -C, --config-cache alias for \`--cache-file=config.cache'
1448 -n, --no-create do not create output files
1449 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1451 Installation directories:
1452 --prefix=PREFIX install architecture-independent files in PREFIX
1453 [$ac_default_prefix]
1454 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1457 By default, \`make install' will install all the files in
1458 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1459 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1460 for instance \`--prefix=\$HOME'.
1462 For better control, use the options below.
1464 Fine tuning of the installation directories:
1465 --bindir=DIR user executables [EPREFIX/bin]
1466 --sbindir=DIR system admin executables [EPREFIX/sbin]
1467 --libexecdir=DIR program executables [EPREFIX/libexec]
1468 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1469 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1470 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1471 --libdir=DIR object code libraries [EPREFIX/lib]
1472 --includedir=DIR C header files [PREFIX/include]
1473 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1474 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1475 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1476 --infodir=DIR info documentation [DATAROOTDIR/info]
1477 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1478 --mandir=DIR man documentation [DATAROOTDIR/man]
1479 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1480 --htmldir=DIR html documentation [DOCDIR]
1481 --dvidir=DIR dvi documentation [DOCDIR]
1482 --pdfdir=DIR pdf documentation [DOCDIR]
1483 --psdir=DIR ps documentation [DOCDIR]
1489 --program-prefix=PREFIX prepend PREFIX to installed program names
1490 --program-suffix=SUFFIX append SUFFIX to installed program names
1491 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1494 --build=BUILD configure
for building on BUILD
[guessed
]
1495 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1496 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1500 if test -n "$ac_init_help"; then
1505 --disable-option-checking ignore unrecognized
--enable/--with options
1506 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1507 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1508 --enable-as-accelerator-for=ARG
1509 build as offload target compiler. Specify offload
1511 --enable-offload-targets=LIST
1512 enable offloading to devices from comma-separated
1513 LIST of TARGET
[=DIR
]. Use optional path to
find
1514 offload target compiler during the build
1515 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1516 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1517 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1518 Enable compressed debug sections
for gas
, gold or ld
1520 --disable-libquadmath do not build libquadmath directory
1521 --disable-libquadmath-support
1522 disable libquadmath support
for Fortran
1523 --enable-libada build libada directory
1524 --enable-libssp build libssp directory
1525 --disable-libstdcxx do not build libstdc
++-v3 directory
1526 --enable-liboffloadmic=ARG
1527 build liboffloadmic
[ARG
={no
,host,target
}]
1528 --enable-bootstrap enable bootstrapping
[yes if native build
]
1529 --disable-isl-version-check
1530 disable check
for isl version
1531 --enable-lto enable link
time optimization support
1532 --enable-linker-plugin-configure-flags=FLAGS
1533 additional flags
for configuring linker plugins
1535 --enable-linker-plugin-flags=FLAGS
1536 additional flags
for configuring and building linker
1538 --enable-host-shared build
host code as shared libraries
1539 --enable-stage1-languages[=all
]
1540 choose additional languages to build during stage1.
1541 Mostly useful
for compiler development
1542 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1544 --enable-vtable-verify Enable vtable verification feature
1545 --enable-serial-[{host,target,build}-]configure
1546 force sequential configuration of sub-packages for
1547 the host, target or build machine, or all
1549 --enable-maintainer-mode
1550 enable make rules and dependencies not useful (and
1551 sometimes confusing) to the casual installer
1552 --enable-stage1-checking[=all]
1553 choose additional checking for stage1 of the
1555 --enable-werror enable -Werror in bootstrap stage2 and later
1558 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1559 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1560 --with-build-libsubdir=DIR Directory where to find libraries for build system
1561 --with-system-zlib use installed libz
1562 --with-mpc=PATH specify prefix directory for installed MPC package.
1563 Equivalent to --with-mpc-include=PATH/include plus
1564 --with-mpc-lib=PATH/lib
1565 --with-mpc-include=PATH specify directory for installed MPC include files
1566 --with-mpc-lib=PATH specify directory for the installed MPC library
1567 --with-mpfr-dir=PATH this option has been REMOVED
1568 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1569 Equivalent to --with-mpfr-include=PATH/include plus
1570 --with-mpfr-lib=PATH/lib
1571 --with-mpfr-include=PATH
1572 specify directory for installed MPFR include files
1573 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1574 --with-gmp-dir=PATH this option has been REMOVED
1575 --with-gmp=PATH specify prefix directory for the installed GMP
1576 package. Equivalent to
1577 --with-gmp-include=PATH/include plus
1578 --with-gmp-lib=PATH/lib
1579 --with-gmp-include=PATH specify directory for installed GMP include files
1580 --with-gmp-lib=PATH specify directory for the installed GMP library
1581 --with-stage1-libs=LIBS libraries for stage1
1582 --with-stage1-ldflags=FLAGS
1583 linker flags for stage1
1584 --with-boot-libs=LIBS libraries for stage2 and later
1585 --with-boot-ldflags=FLAGS
1586 linker flags for stage2 and later
1587 --with-isl=PATH Specify prefix directory for the installed isl
1588 package. Equivalent to
1589 --with-isl-include=PATH/include plus
1590 --with-isl-lib=PATH/lib
1591 --with-isl-include=PATH Specify directory for installed isl include files
1592 --with-isl-lib=PATH Specify the directory for the installed isl library
1593 --with-target-bdw-gc=PATHLIST
1594 specify prefix directory for installed bdw-gc
1595 package. Equivalent to
1596 --with-target-bdw-gc-include=PATH/include plus
1597 --with-target-bdw-gc-lib=PATH/lib
1598 --with-target-bdw-gc-include=PATHLIST
1599 specify directories for installed bdw-gc include
1601 --with-target-bdw-gc-lib=PATHLIST
1602 specify directories for installed bdw-gc library
1603 --with-gcc-major-version-only
1604 use only GCC major number in filesystem paths
1605 --with-build-sysroot=SYSROOT
1606 use sysroot as the system root during the build
1607 --with-debug-prefix-map='A
=B C
=D ...
'
1608 map A to B, C to D ... in debug information
1609 --with-build-config='NAME NAME2...
'
1610 use config/NAME.mk build configuration
1611 --with-build-time-tools=PATH
1612 use given path to find target tools during the build
1614 Some influential environment variables:
1615 CC C compiler command
1616 CFLAGS C compiler flags
1617 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1618 nonstandard directory <lib dir>
1619 LIBS libraries to pass to the linker, e.g. -l<library>
1620 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1621 you have headers in a nonstandard directory <include dir>
1622 CXX C++ compiler command
1623 CXXFLAGS C++ compiler flags
1625 additional configure arguments for build directories
1627 additional configure arguments for host directories
1629 additional configure arguments for target directories
1632 DLLTOOL DLLTOOL for the host
1634 LIPO LIPO for the host
1636 RANLIB RANLIB for the host
1637 STRIP STRIP for the host
1638 WINDRES WINDRES for the host
1639 WINDMC WINDMC for the host
1640 OBJCOPY OBJCOPY for the host
1641 OBJDUMP OBJDUMP for the host
1642 OTOOL OTOOL for the host
1643 READELF READELF for the host
1651 GFORTRAN for the target
1661 DLLTOOL for the target
1669 OBJCOPY for the target
1671 OBJDUMP for the target
1673 OTOOL for the target
1675 RANLIB for the target
1677 READELF for the target
1679 STRIP for the target
1681 WINDRES for the target
1683 WINDMC for the target
1685 Use these variables to override the choices made by `configure' or to
help
1686 it to
find libraries and programs with nonstandard names
/locations.
1688 Report bugs to the package provider.
1693 if test "$ac_init_help" = "recursive"; then
1694 # If there are subdirs, report their specific --help.
1695 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1696 test -d "$ac_dir" ||
1697 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1702 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1704 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1705 # A ".." for each directory in $ac_dir_suffix.
1706 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1707 case $ac_top_builddir_sub in
1708 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1709 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1712 ac_abs_top_builddir
=$ac_pwd
1713 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1714 # for backward compatibility:
1715 ac_top_builddir
=$ac_top_build_prefix
1718 .
) # We are building in place.
1720 ac_top_srcdir
=$ac_top_builddir_sub
1721 ac_abs_top_srcdir
=$ac_pwd ;;
1722 [\\/]* | ?
:[\\/]* ) # Absolute name.
1723 ac_srcdir
=$srcdir$ac_dir_suffix;
1724 ac_top_srcdir
=$srcdir
1725 ac_abs_top_srcdir
=$srcdir ;;
1727 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1728 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1729 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1731 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1733 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1734 # Check for guested configure.
1735 if test -f "$ac_srcdir/configure.gnu"; then
1737 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1738 elif test -f "$ac_srcdir/configure"; then
1740 $SHELL "$ac_srcdir/configure" --help=recursive
1742 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1744 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1748 test -n "$ac_init_help" && exit $ac_status
1749 if $ac_init_version; then
1752 generated by GNU Autoconf
2.69
1754 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1755 This configure
script is free software
; the Free Software Foundation
1756 gives unlimited permission to copy
, distribute and modify it.
1761 ## ------------------------ ##
1762 ## Autoconf initialization. ##
1763 ## ------------------------ ##
1765 # ac_fn_c_try_compile LINENO
1766 # --------------------------
1767 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1768 ac_fn_c_try_compile
()
1770 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1771 rm -f conftest.
$ac_objext
1772 if { { ac_try
="$ac_compile"
1774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_compile") 2>conftest.err
1781 if test -s conftest.err; then
1782 grep -v '^ *+' conftest.err >conftest.er1
1783 cat conftest.er1 >&5
1784 mv -f conftest.er1 conftest.err
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } && {
1788 test -z "$ac_c_werror_flag" ||
1789 test ! -s conftest.err
1790 } && test -s conftest.$ac_objext; then :
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 as_fn_set_status $ac_retval
1801 } # ac_fn_c_try_compile
1803 # ac_fn_cxx_try_compile LINENO
1804 # ----------------------------
1805 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1806 ac_fn_cxx_try_compile ()
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 rm -f conftest.$ac_objext
1810 if { { ac_try="$ac_compile"
1812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1813 *) ac_try_echo
=$ac_try;;
1815 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_compile") 2>conftest.err
1819 if test -s conftest.err
; then
1820 grep -v '^ *+' conftest.err
>conftest.er1
1821 cat conftest.er1
>&5
1822 mv -f conftest.er1 conftest.err
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; } && {
1826 test -z "$ac_cxx_werror_flag" ||
1827 test ! -s conftest.err
1828 } && test -s conftest.
$ac_objext; then :
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.
$ac_ext >&5
1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1837 as_fn_set_status
$ac_retval
1839 } # ac_fn_cxx_try_compile
1841 # ac_fn_cxx_try_link LINENO
1842 # -------------------------
1843 # Try to link conftest.$ac_ext, and return whether this succeeded.
1844 ac_fn_cxx_try_link
()
1846 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1847 rm -f conftest.
$ac_objext conftest
$ac_exeext
1848 if { { ac_try
="$ac_link"
1850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1851 *) ac_try_echo=$ac_try;;
1853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854 $as_echo "$ac_try_echo"; } >&5
1855 (eval "$ac_link") 2>conftest.err
1857 if test -s conftest.err; then
1858 grep -v '^ *+' conftest.err >conftest.er1
1859 cat conftest.er1 >&5
1860 mv -f conftest.er1 conftest.err
1862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; } && {
1864 test -z "$ac_cxx_werror_flag" ||
1865 test ! -s conftest.err
1866 } && test -s conftest$ac_exeext && {
1867 test "$cross_compiling" = yes ||
1868 test -x conftest$ac_exeext
1872 $as_echo "$as_me: failed program was:" >&5
1873 sed 's/^/| /' conftest.$ac_ext >&5
1877 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1878 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1879 # interfere with the next link command; also delete a directory that is
1880 # left behind by Apple's compiler. We do this before executing the actions.
1881 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883 as_fn_set_status $ac_retval
1885 } # ac_fn_cxx_try_link
1887 # ac_fn_c_try_link LINENO
1888 # -----------------------
1889 # Try to link conftest.$ac_ext, and return whether this succeeded.
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 rm -f conftest.$ac_objext conftest$ac_exeext
1894 if { { ac_try="$ac_link"
1896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1897 *) ac_try_echo
=$ac_try;;
1899 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1900 $as_echo "$ac_try_echo"; } >&5
1901 (eval "$ac_link") 2>conftest.err
1903 if test -s conftest.err
; then
1904 grep -v '^ *+' conftest.err
>conftest.er1
1905 cat conftest.er1
>&5
1906 mv -f conftest.er1 conftest.err
1908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1909 test $ac_status = 0; } && {
1910 test -z "$ac_c_werror_flag" ||
1911 test ! -s conftest.err
1912 } && test -s conftest
$ac_exeext && {
1913 test "$cross_compiling" = yes ||
1914 test -x conftest
$ac_exeext
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.
$ac_ext >&5
1923 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1924 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1925 # interfere with the next link command; also delete a directory that is
1926 # left behind by Apple's compiler. We do this before executing the actions.
1927 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1929 as_fn_set_status
$ac_retval
1931 } # ac_fn_c_try_link
1932 cat >config.log
<<_ACEOF
1933 This file contains any messages produced by compilers while
1934 running configure, to aid debugging if configure makes a mistake.
1936 It was created by $as_me, which was
1937 generated by GNU Autoconf 2.69. Invocation command line was
1949 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1950 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1951 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1952 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1953 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1955 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1956 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1958 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1959 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1960 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1961 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1962 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1963 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1964 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1972 test -z "$as_dir" && as_dir
=.
1973 $as_echo "PATH: $as_dir"
1989 # Keep a trace of the command line.
1990 # Strip out --no-create and --no-recursion so they do not pile up.
1991 # Strip out --silent because we don't want to record it for future runs.
1992 # Also quote any args containing shell meta-characters.
1993 # Make two passes to allow for proper duplicate-argument suppression.
1997 ac_must_keep_next
=false
2003 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2004 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2005 |
-silent |
--silent |
--silen |
--sile |
--sil)
2008 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2011 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2013 as_fn_append ac_configure_args1
" '$ac_arg'"
2014 if test $ac_must_keep_next = true
; then
2015 ac_must_keep_next
=false
# Got value, back to normal.
2018 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2019 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2020 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2021 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2022 case "$ac_configure_args0 " in
2023 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2026 -* ) ac_must_keep_next
=true
;;
2029 as_fn_append ac_configure_args
" '$ac_arg'"
2034 { ac_configure_args0
=; unset ac_configure_args0
;}
2035 { ac_configure_args1
=; unset ac_configure_args1
;}
2037 # When interrupted or exit'd, cleanup temporary files, and complete
2038 # config.log. We remove comments because anyway the quotes in there
2039 # would cause problems or look ugly.
2040 # WARNING: Use '\'' to represent an apostrophe within the trap.
2041 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2042 trap 'exit_status=$?
2043 # Save into config.log some information that might help in debugging.
2047 $as_echo "## ---------------- ##
2048 ## Cache variables. ##
2049 ## ---------------- ##"
2051 # The following way of writing the cache mishandles newlines in values,
2053 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2054 eval ac_val=\$$ac_var
2058 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2059 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2062 _ | IFS | as_nl) ;; #(
2063 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2064 *) { eval $ac_var=; unset $ac_var;} ;;
2069 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2070 *${as_nl}ac_space=\ *)
2072 "s/'\''/'\''\\\\'\'''\''/g;
2073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2076 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2083 $as_echo "## ----------------- ##
2084 ## Output variables. ##
2085 ## ----------------- ##"
2087 for ac_var in $ac_subst_vars
2089 eval ac_val=\$$ac_var
2091 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2093 $as_echo "$ac_var='\''$ac_val'\''"
2097 if test -n "$ac_subst_files"; then
2098 $as_echo "## ------------------- ##
2099 ## File substitutions. ##
2100 ## ------------------- ##"
2102 for ac_var
in $ac_subst_files
2104 eval ac_val
=\$
$ac_var
2106 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2108 $as_echo "$ac_var='\''$ac_val'\''"
2113 if test -s confdefs.h; then
2114 $as_echo "## ----------- ##
2121 test "$ac_signal" != 0 &&
2122 $as_echo "$as_me: caught signal $ac_signal"
2123 $as_echo "$as_me: exit $exit_status"
2125 rm -f core *.core core.conftest.* &&
2126 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2129 for ac_signal
in 1 2 13 15; do
2130 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2134 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2135 rm -f -r conftest
* confdefs.h
2137 $as_echo "/* confdefs.h */" > confdefs.h
2139 # Predefined preprocessor variables.
2141 cat >>confdefs.h
<<_ACEOF
2142 #define PACKAGE_NAME "$PACKAGE_NAME"
2145 cat >>confdefs.h
<<_ACEOF
2146 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2149 cat >>confdefs.h
<<_ACEOF
2150 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2153 cat >>confdefs.h
<<_ACEOF
2154 #define PACKAGE_STRING "$PACKAGE_STRING"
2157 cat >>confdefs.h
<<_ACEOF
2158 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2161 cat >>confdefs.h
<<_ACEOF
2162 #define PACKAGE_URL "$PACKAGE_URL"
2166 # Let the site file select an alternate cache file if it wants to.
2167 # Prefer an explicitly selected file to automatically selected ones.
2170 if test -n "$CONFIG_SITE"; then
2171 # We do not want a PATH search for config.site.
2172 case $CONFIG_SITE in #((
2173 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2174 */*) ac_site_file1
=$CONFIG_SITE;;
2175 *) ac_site_file1
=.
/$CONFIG_SITE;;
2177 elif test "x$prefix" != xNONE
; then
2178 ac_site_file1
=$prefix/share
/config.site
2179 ac_site_file2
=$prefix/etc
/config.site
2181 ac_site_file1
=$ac_default_prefix/share
/config.site
2182 ac_site_file2
=$ac_default_prefix/etc
/config.site
2184 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2186 test "x$ac_site_file" = xNONE
&& continue
2187 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2189 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2190 sed 's/^/| /' "$ac_site_file" >&5
2192 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2194 as_fn_error $?
"failed to load site script $ac_site_file
2195 See \`config.log' for more details" "$LINENO" 5; }
2199 if test -r "$cache_file"; then
2200 # Some versions of bash will fail to source /dev/null (special files
2201 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2202 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2204 $as_echo "$as_me: loading cache $cache_file" >&6;}
2206 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2207 *) .
"./$cache_file";;
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2212 $as_echo "$as_me: creating cache $cache_file" >&6;}
2216 # Check that the precious variables saved in the cache have kept the same
2218 ac_cache_corrupted
=false
2219 for ac_var
in $ac_precious_vars; do
2220 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2221 eval ac_new_set
=\
$ac_env_${ac_var}_set
2222 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2223 eval ac_new_val
=\
$ac_env_${ac_var}_value
2224 case $ac_old_set,$ac_new_set in
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2227 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2228 ac_cache_corrupted
=: ;;
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2231 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2232 ac_cache_corrupted
=: ;;
2235 if test "x$ac_old_val" != "x$ac_new_val"; then
2236 # differences in whitespace do not lead to failure.
2237 ac_old_val_w
=`echo x $ac_old_val`
2238 ac_new_val_w
=`echo x $ac_new_val`
2239 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2241 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2242 ac_cache_corrupted
=:
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2245 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2246 eval $ac_var=\
$ac_old_val
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2249 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2251 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2254 # Pass precious variables to config.status.
2255 if test "$ac_new_set" = set; then
2257 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2258 *) ac_arg
=$ac_var=$ac_new_val ;;
2260 case " $ac_configure_args " in
2261 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2262 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2266 if $ac_cache_corrupted; then
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2270 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2271 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2273 ## -------------------- ##
2274 ## Main body of script. ##
2275 ## -------------------- ##
2278 ac_cpp
='$CPP $CPPFLAGS'
2279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2291 # if PWD already has a value, it is probably wrong.
2292 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2294 # Export original configure arguments for use by sub-configures.
2295 # Quote arguments with shell meta charatcers.
2296 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2297 set -- "$progname" "$@"
2301 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2302 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2303 # if the argument is of the form -foo=baz, quote the baz part only
2304 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2307 # Add the quoted argument to the list.
2308 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2310 if test "$silent" = yes; then
2311 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2313 # Remove the initial space we just introduced and, as these will be
2314 # expanded by make, quote '$'.
2315 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2318 # Find the build, host, and target systems.
2320 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2321 if test -f "$ac_dir/install-sh"; then
2323 ac_install_sh
="$ac_aux_dir/install-sh -c"
2325 elif test -f "$ac_dir/install.sh"; then
2327 ac_install_sh
="$ac_aux_dir/install.sh -c"
2329 elif test -f "$ac_dir/shtool"; then
2331 ac_install_sh
="$ac_aux_dir/shtool install -c"
2335 if test -z "$ac_aux_dir"; then
2336 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2339 # These three variables are undocumented and unsupported,
2340 # and are intended to be withdrawn in a future Autoconf release.
2341 # They can cause serious problems if a builder's source tree is in a directory
2342 # whose full name contains unusual characters.
2343 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2344 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2345 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2348 # Make sure we can run config.sub.
2349 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2350 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2353 $as_echo_n "checking build system type... " >&6; }
2354 if ${ac_cv_build+:} false
; then :
2355 $as_echo_n "(cached) " >&6
2357 ac_build_alias
=$build_alias
2358 test "x$ac_build_alias" = x
&&
2359 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2360 test "x$ac_build_alias" = x
&&
2361 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2362 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2363 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2367 $as_echo "$ac_cv_build" >&6; }
2368 case $ac_cv_build in
2370 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2373 ac_save_IFS
=$IFS; IFS
='-'
2379 # Remember, the first character of IFS is used to create $*,
2380 # except with old shells:
2383 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2386 case ${build_alias} in
2387 "") build_noncanonical
=${build} ;;
2388 *) build_noncanonical
=${build_alias} ;;
2393 case ${host_alias} in
2394 "") host_noncanonical
=${build_noncanonical} ;;
2395 *) host_noncanonical
=${host_alias} ;;
2400 case ${target_alias} in
2401 "") target_noncanonical
=${host_noncanonical} ;;
2402 *) target_noncanonical
=${target_alias} ;;
2408 test "$host_noncanonical" = "$target_noncanonical" &&
2409 test "$program_prefix$program_suffix$program_transform_name" = \
2411 program_transform_name
=s
,y
,y
,
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2414 $as_echo_n "checking host system type... " >&6; }
2415 if ${ac_cv_host+:} false
; then :
2416 $as_echo_n "(cached) " >&6
2418 if test "x$host_alias" = x
; then
2419 ac_cv_host
=$ac_cv_build
2421 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2422 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2427 $as_echo "$ac_cv_host" >&6; }
2430 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2433 ac_save_IFS
=$IFS; IFS
='-'
2439 # Remember, the first character of IFS is used to create $*,
2440 # except with old shells:
2443 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2447 $as_echo_n "checking target system type... " >&6; }
2448 if ${ac_cv_target+:} false
; then :
2449 $as_echo_n "(cached) " >&6
2451 if test "x$target_alias" = x
; then
2452 ac_cv_target
=$ac_cv_host
2454 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2455 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2460 $as_echo "$ac_cv_target" >&6; }
2461 case $ac_cv_target in
2463 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2465 target
=$ac_cv_target
2466 ac_save_IFS
=$IFS; IFS
='-'
2472 # Remember, the first character of IFS is used to create $*,
2473 # except with old shells:
2476 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2479 # The aliases save the names the user supplied, while $host etc.
2480 # will get canonicalized.
2481 test -n "$target_alias" &&
2482 test "$program_prefix$program_suffix$program_transform_name" = \
2484 program_prefix
=${target_alias}-
2486 test "$program_prefix" != NONE
&&
2487 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2488 # Use a double $ so make ignores it.
2489 test "$program_suffix" != NONE
&&
2490 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2491 # Double any \ or $.
2492 # By default was `s,x,x', remove it if useless.
2493 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2494 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2498 # Get 'install' or 'install-sh' and its variants.
2499 # Find a good install program. We prefer a C program (faster),
2500 # so one script is as good as another. But avoid the broken or
2501 # incompatible versions:
2502 # SysV /etc/install, /usr/sbin/install
2503 # SunOS /usr/etc/install
2504 # IRIX /sbin/install
2506 # AmigaOS /C/install, which installs bootblocks on floppy discs
2507 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2508 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2509 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2510 # OS/2's system install, which has a completely different semantic
2511 # ./install, which can be erroneously created by make from ./install.sh.
2512 # Reject install programs that cannot install multiple files.
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2514 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2515 if test -z "$INSTALL"; then
2516 if ${ac_cv_path_install+:} false
; then :
2517 $as_echo_n "(cached) " >&6
2519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2523 test -z "$as_dir" && as_dir
=.
2524 # Account for people who put trailing slashes in PATH elements.
2525 case $as_dir/ in #((
2526 .
/ | .
// |
/[cC
]/* | \
2527 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2528 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2531 # OSF1 and SCO ODT 3.0 have their own names for install.
2532 # Don't use installbsd from OSF since it installs stuff as root
2534 for ac_prog
in ginstall scoinst
install; do
2535 for ac_exec_ext
in '' $ac_executable_extensions; do
2536 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2537 if test $ac_prog = install &&
2538 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2539 # AIX install. It has an incompatible calling convention.
2541 elif test $ac_prog = install &&
2542 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2543 # program-specific install script used by HP pwplus--don't use.
2546 rm -rf conftest.one conftest.two conftest.dir
2547 echo one
> conftest.one
2548 echo two
> conftest.two
2550 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2551 test -s conftest.one
&& test -s conftest.two
&&
2552 test -s conftest.dir
/conftest.one
&&
2553 test -s conftest.dir
/conftest.two
2555 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2568 rm -rf conftest.one conftest.two conftest.dir
2571 if test "${ac_cv_path_install+set}" = set; then
2572 INSTALL
=$ac_cv_path_install
2574 # As a last resort, use the slow shell script. Don't cache a
2575 # value for INSTALL within a source directory, because that will
2576 # break other packages using the cache if that directory is
2577 # removed, or if the value is a relative name.
2578 INSTALL
=$ac_install_sh
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2582 $as_echo "$INSTALL" >&6; }
2584 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2585 # It thinks the first close brace ends the variable substitution.
2586 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2588 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2590 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2593 $as_echo_n "checking whether ln works... " >&6; }
2594 if ${acx_cv_prog_LN+:} false
; then :
2595 $as_echo_n "(cached) " >&6
2597 rm -f conftestdata_t
2598 echo >conftestdata_f
2599 if ln conftestdata_f conftestdata_t
2>/dev
/null
2605 rm -f conftestdata_f conftestdata_t
2608 if test $acx_cv_prog_LN = no
; then
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2611 $as_echo "no, using $LN" >&6; }
2613 LN
="$acx_cv_prog_LN"
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2615 $as_echo "yes" >&6; }
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2619 $as_echo_n "checking whether ln -s works... " >&6; }
2621 if test "$LN_S" = "ln -s"; then
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2623 $as_echo "yes" >&6; }
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2626 $as_echo "no, using $LN_S" >&6; }
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2630 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2631 if ${ac_cv_path_SED+:} false
; then :
2632 $as_echo_n "(cached) " >&6
2634 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2635 for ac_i
in 1 2 3 4 5 6 7; do
2636 ac_script
="$ac_script$as_nl$ac_script"
2638 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2639 { ac_script
=; unset ac_script
;}
2640 if test -z "$SED"; then
2641 ac_path_SED_found
=false
2642 # Loop through the user's path and test for each of PROGNAME-LIST
2643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2647 test -z "$as_dir" && as_dir
=.
2648 for ac_prog
in sed gsed
; do
2649 for ac_exec_ext
in '' $ac_executable_extensions; do
2650 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2651 as_fn_executable_p
"$ac_path_SED" ||
continue
2652 # Check for GNU ac_path_SED and select it if it is found.
2653 # Check for GNU $ac_path_SED
2654 case `"$ac_path_SED" --version 2>&1` in
2656 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2659 $as_echo_n 0123456789 >"conftest.in"
2662 cat "conftest.in" "conftest.in" >"conftest.tmp"
2663 mv "conftest.tmp" "conftest.in"
2664 cp "conftest.in" "conftest.nl"
2665 $as_echo '' >> "conftest.nl"
2666 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2667 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2668 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2669 if test $ac_count -gt ${ac_path_SED_max-0}; then
2670 # Best one so far, save it but keep looking for a better one
2671 ac_cv_path_SED
="$ac_path_SED"
2672 ac_path_SED_max
=$ac_count
2674 # 10*(2^10) chars as input seems more than enough
2675 test $ac_count -gt 10 && break
2677 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2680 $ac_path_SED_found && break 3
2685 if test -z "$ac_cv_path_SED"; then
2686 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2694 $as_echo "$ac_cv_path_SED" >&6; }
2695 SED
="$ac_cv_path_SED"
2698 for ac_prog
in gawk mawk nawk
awk
2700 # Extract the first word of "$ac_prog", so it can be a program name with args.
2701 set dummy
$ac_prog; ac_word
=$2
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2703 $as_echo_n "checking for $ac_word... " >&6; }
2704 if ${ac_cv_prog_AWK+:} false
; then :
2705 $as_echo_n "(cached) " >&6
2707 if test -n "$AWK"; then
2708 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir
=.
2715 for ac_exec_ext
in '' $ac_executable_extensions; do
2716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2717 ac_cv_prog_AWK
="$ac_prog"
2718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 if test -n "$AWK"; then
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2730 $as_echo "$AWK" >&6; }
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2733 $as_echo "no" >&6; }
2737 test -n "$AWK" && break
2741 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2743 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2745 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2746 INSTALL
="${srcpwd}/install-sh -c"
2749 # Set srcdir to "." if that's what it is.
2750 # This is important for multilib support.
2752 if test "${pwd}" = "${srcpwd}" ; then
2760 ### To add a new directory to the tree, first choose whether it is a target
2761 ### or a host dependent tool. Then put it into the appropriate list
2762 ### (library or tools, host or target), doing a dependency sort.
2764 # Subdirs will be configured in the order listed in build_configdirs,
2765 # configdirs, or target_configdirs; see the serialization section below.
2767 # Dependency sorting is only needed when *configuration* must be done in
2768 # a particular order. In all cases a dependency should be specified in
2769 # the Makefile, whether or not it's implicitly specified here.
2771 # Double entries in build_configdirs, configdirs, or target_configdirs may
2772 # cause circular dependencies and break everything horribly.
2774 # these library is used by various programs built for the build
2777 build_libs
="build-libiberty build-libcpp"
2779 # these tools are built for the build environment
2780 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2782 # these libraries are used by various programs built for the host environment
2784 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2786 # these tools are built for the host environment
2787 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2788 # know that we are building the simulator.
2789 # binutils, gas and ld appear in that order because it makes sense to run
2790 # "make check" in that particular order.
2791 # If --enable-gold is used, "gold" may replace "ld".
2792 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"
2794 # these libraries are built for the target environment, and are built after
2795 # the host libraries and the host tools (which may be a cross compiler)
2796 # Note that libiberty is not a target library.
2797 target_libraries
="target-libgcc \
2798 target-libbacktrace \
2802 target-liboffloadmic \
2803 target-libhsail-rt \
2806 target-libstdc++-v3 \
2807 target-libsanitizer \
2810 target-libquadmath \
2811 target-libgfortran \
2819 # these tools are built using the target libraries, and are intended to
2820 # run only in the target environment
2822 # note: any program that *uses* libraries that are in the "target_libraries"
2823 # list belongs in this list.
2825 target_tools
="target-rda"
2827 ################################################################################
2829 ## All tools belong in one of the four categories, and are assigned above
2830 ## We assign ${configdirs} this way to remove all embedded newlines. This
2831 ## is important because configure will choke if they ever get through.
2832 ## ${configdirs} is directories we build using the host tools.
2833 ## ${target_configdirs} is directories we build using the target tools.
2834 configdirs
=`echo ${host_libs} ${host_tools}`
2835 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2836 build_configdirs
=`echo ${build_libs} ${build_tools}`
2840 ################################################################################
2842 srcname
="gnu development package"
2844 # This gets set non-empty for some net releases of packages.
2847 # Define is_cross_compiler to save on calls to 'test'.
2849 if test x
"${host}" = x
"${target}" ; then
2850 is_cross_compiler
=no
2852 is_cross_compiler
=yes
2855 # Find the build and target subdir names.
2857 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2858 # have matching libraries, they should use host libraries: Makefile.tpl
2859 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2860 # However, they still use the build modules, because the corresponding
2861 # host modules (e.g. bison) are only built for the host when bootstrap
2863 # - build_subdir is where we find build modules, and never changes.
2864 # - build_libsubdir is where we find build libraries, and can be overridden.
2866 # Prefix 'build-' so this never conflicts with target_subdir.
2867 build_subdir
="build-${build_noncanonical}"
2869 # Check whether --with-build-libsubdir was given.
2870 if test "${with_build_libsubdir+set}" = set; then :
2871 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2873 build_libsubdir
="$build_subdir"
2876 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2877 if ( test $srcdir = .
&& test -d gcc
) \
2878 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2879 host_subdir
="host-${host_noncanonical}"
2884 target_subdir
=${target_noncanonical}
2886 # Be sure to cover against remnants of an in-tree build.
2887 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2888 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2889 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2892 # Skipdirs are removed silently.
2894 # Noconfigdirs are removed loudly.
2898 # Make sure we don't let GNU ld be added if we didn't want it.
2899 if test x
$with_gnu_ld = xno
; then
2901 noconfigdirs
="$noconfigdirs ld gold"
2905 # Make sure we don't let GNU as be added if we didn't want it.
2906 if test x
$with_gnu_as = xno
; then
2908 noconfigdirs
="$noconfigdirs gas"
2913 # Check whether --with-system-zlib was given.
2914 if test "${with_system_zlib+set}" = set; then :
2915 withval
=$with_system_zlib;
2918 # Make sure we don't let ZLIB be added if we didn't want it.
2919 if test x
$with_system_zlib = xyes
; then
2920 use_included_zlib
=no
2921 noconfigdirs
="$noconfigdirs zlib"
2924 # some tools are so dependent upon X11 that if we're not building with X,
2925 # it's not even worth trying to configure, much less build, that tool.
2928 yes |
"") ;; # the default value for this tree is that X11 is available
2930 skipdirs
="${skipdirs} tk itcl libgui"
2931 # We won't be able to build gdbtk without X.
2934 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2937 # Some are only suitable for cross toolchains.
2938 # Remove these if host=target.
2939 cross_only
="target-libgloss target-newlib target-opcodes"
2941 case $is_cross_compiler in
2942 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2945 # If both --with-headers and --with-libs are specified, default to
2947 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2948 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2949 if test x
"${with_newlib}" = x
; then
2954 # Recognize --with-newlib/--without-newlib.
2955 case ${with_newlib} in
2956 no
) skipdirs
="${skipdirs} target-newlib" ;;
2957 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2960 # Check whether --enable-as-accelerator-for was given.
2961 if test "${enable_as_accelerator_for+set}" = set; then :
2962 enableval
=$enable_as_accelerator_for;
2966 # Check whether --enable-offload-targets was given.
2967 if test "${enable_offload_targets+set}" = set; then :
2968 enableval
=$enable_offload_targets;
2969 if test x
"$enable_offload_targets" = x
; then
2970 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2974 enable_offload_targets
=
2978 # Handle --enable-gold, --enable-ld.
2979 # --disable-gold [--enable-ld]
2980 # Build only ld. Default option.
2981 # --enable-gold [--enable-ld]
2982 # Build both gold and ld. Install gold as "ld.gold", install ld
2983 # as "ld.bfd" and "ld".
2984 # --enable-gold=default [--enable-ld]
2985 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2986 # install ld as "ld.bfd".
2987 # --enable-gold[=default] --disable-ld
2988 # Build only gold, which is then installed as both "ld.gold" and "ld".
2989 # --enable-gold --enable-ld=default
2990 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2992 # In other words, ld is default
2993 # --enable-gold=default --enable-ld=default
2997 # Check whether --enable-gold was given.
2998 if test "${enable_gold+set}" = set; then :
2999 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3004 case "${ENABLE_GOLD}" in
3006 # Check for ELF target.
3009 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3010 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3011 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3012 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3014 *-*-linux*aout
* |
*-*-linux*oldld
*)
3022 if test "$is_elf" = "yes"; then
3023 # Check for target supported by gold.
3025 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3026 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3027 configdirs
="$configdirs gold"
3028 if test x
${ENABLE_GOLD} = xdefault
; then
3039 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3043 # Check whether --enable-ld was given.
3044 if test "${enable_ld+set}" = set; then :
3045 enableval
=$enable_ld; ENABLE_LD
=$enableval
3051 case "${ENABLE_LD}" in
3053 if test x
${default_ld} != x
; then
3054 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3060 if test x
${ENABLE_GOLD} != xyes
; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3062 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3064 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3067 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3072 # Decide the default method for compressing debug sections.
3073 # Provide a configure time option to override our default.
3074 # Check whether --enable-compressed_debug_sections was given.
3075 if test "${enable_compressed_debug_sections+set}" = set; then :
3076 enableval
=$enable_compressed_debug_sections;
3077 if test x
"$enable_compressed_debug_sections" = xyes
; then
3078 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3082 enable_compressed_debug_sections
=
3086 # Configure extra directories which are host specific
3090 configdirs
="$configdirs libtermcap" ;;
3093 # A target can indicate whether a language isn't supported for some reason.
3094 # Only spaces may be used in this macro; not newlines or tabs.
3095 unsupported_languages
=
3097 # Remove more programs from consideration, based on the host or
3098 # target this usually means that a port of the program doesn't
3102 i
[3456789]86-*-msdosdjgpp*)
3103 noconfigdirs
="$noconfigdirs tcl tk itcl"
3108 # Check whether --enable-libquadmath was given.
3109 if test "${enable_libquadmath+set}" = set; then :
3110 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3112 ENABLE_LIBQUADMATH
=yes
3115 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3116 noconfigdirs
="$noconfigdirs target-libquadmath"
3120 # Check whether --enable-libquadmath-support was given.
3121 if test "${enable_libquadmath_support+set}" = set; then :
3122 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3124 ENABLE_LIBQUADMATH_SUPPORT
=yes
3127 enable_libquadmath_support
=
3128 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3129 enable_libquadmath_support
=no
3133 # Check whether --enable-libada was given.
3134 if test "${enable_libada+set}" = set; then :
3135 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3140 if test "${ENABLE_LIBADA}" != "yes" ; then
3141 noconfigdirs
="$noconfigdirs gnattools"
3144 # Check whether --enable-libssp was given.
3145 if test "${enable_libssp+set}" = set; then :
3146 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3152 # Check whether --enable-libstdcxx was given.
3153 if test "${enable_libstdcxx+set}" = set; then :
3154 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3156 ENABLE_LIBSTDCXX
=default
3159 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3160 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3163 # If this is accelerator compiler and its target is intelmic we enable
3164 # target liboffloadmic by default. If this is compiler with offloading
3165 # for intelmic we enable host liboffloadmic by default. Otherwise
3166 # liboffloadmic is disabled by default.
3167 # Check whether --enable-liboffloadmic was given.
3168 if test "${enable_liboffloadmic+set}" = set; then :
3169 enableval
=$enable_liboffloadmic; case "$enableval" in
3171 enable_liboffloadmic
=$enableval ;;
3173 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3176 if test x
"$enable_as_accelerator_for" != x
; then
3178 *-intelmic-* |
*-intelmicemul-*)
3179 enable_liboffloadmic
=target
3180 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3183 enable_liboffloadmic
=no
3187 case "${enable_offload_targets}" in
3188 *-intelmic-* |
*-intelmicemul-*)
3189 enable_liboffloadmic
=host
3190 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3193 enable_liboffloadmic
=no
3201 # Enable libgomp by default on hosted POSIX systems, and a few others.
3202 if test x
$enable_libgomp = x
; then
3204 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3206 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3208 *-*-solaris2* |
*-*-hpux11*)
3210 *-*-darwin* |
*-*-aix*)
3215 noconfigdirs
="$noconfigdirs target-libgomp"
3220 # Disable libatomic on unsupported systems.
3221 if test -d ${srcdir}/libatomic
; then
3222 if test x
$enable_libatomic = x
; then
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3224 $as_echo_n "checking for libatomic support... " >&6; }
3225 if (srcdir
=${srcdir}/libatomic
; \
3226 .
${srcdir}/configure.tgt
; \
3227 test -n "$UNSUPPORTED")
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230 $as_echo "no" >&6; }
3231 noconfigdirs
="$noconfigdirs target-libatomic"
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3234 $as_echo "yes" >&6; }
3239 # Disable liboffloadmic on unsupported systems.
3240 if test -d ${srcdir}/liboffloadmic
; then
3241 if test x
$enable_liboffloadmic != xno
; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3243 $as_echo_n "checking for liboffloadmic support... " >&6; }
3244 if (srcdir
=${srcdir}/liboffloadmic
; \
3245 .
${srcdir}/configure.tgt
; \
3246 test -n "$UNSUPPORTED")
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3250 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3253 $as_echo "yes" >&6; }
3258 # Disable libitm on unsupported systems.
3259 if test -d ${srcdir}/libitm
; then
3260 if test x
$enable_libitm = x
; then
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3262 $as_echo_n "checking for libitm support... " >&6; }
3263 if (srcdir
=${srcdir}/libitm
; \
3264 .
${srcdir}/configure.tgt
; \
3265 test -n "$UNSUPPORTED")
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3268 $as_echo "no" >&6; }
3269 noconfigdirs
="$noconfigdirs target-libitm"
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3272 $as_echo "yes" >&6; }
3277 # Disable libsanitizer on unsupported systems.
3278 if test -d ${srcdir}/libsanitizer
; then
3279 if test x
$enable_libsanitizer = x
; then
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3281 $as_echo_n "checking for libsanitizer support... " >&6; }
3282 if (srcdir
=${srcdir}/libsanitizer
; \
3283 .
${srcdir}/configure.tgt
; \
3284 test -n "$UNSUPPORTED")
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287 $as_echo "no" >&6; }
3288 noconfigdirs
="$noconfigdirs target-libsanitizer"
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3291 $as_echo "yes" >&6; }
3296 # Disable libvtv on unsupported systems.
3297 if test -d ${srcdir}/libvtv
; then
3298 if test x
$enable_libvtv = x
; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3300 $as_echo_n "checking for libvtv support... " >&6; }
3301 if (srcdir
=${srcdir}/libvtv
; \
3302 .
${srcdir}/configure.tgt
; \
3303 test "$VTV_SUPPORTED" != "yes")
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3307 noconfigdirs
="$noconfigdirs target-libvtv"
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3310 $as_echo "yes" >&6; }
3316 # Disable libhsail-rt on unsupported systems.
3317 if test -d ${srcdir}/libhsail-rt
; then
3318 if test x
$enable_libhsail_rt = x
; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
3320 $as_echo_n "checking for libhsail-rt support... " >&6; }
3321 if (srcdir
=${srcdir}/libhsail-rt
; \
3322 .
${srcdir}/configure.tgt
; \
3323 test -n "$UNSUPPORTED")
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3327 unsupported_languages
="$unsupported_languages brig"
3328 # This implicitly disables also target-libhsail-rt as it won't
3329 # get added to the build without BRIG FE.
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3332 $as_echo "yes" >&6; }
3338 # Disable libquadmath for some systems.
3341 noconfigdirs
="$noconfigdirs target-libquadmath"
3343 # libquadmath is unused on AIX and libquadmath build process use of
3344 # LD_LIBRARY_PATH can break AIX bootstrap.
3345 powerpc-
*-aix* | rs6000-
*-aix*)
3346 noconfigdirs
="$noconfigdirs target-libquadmath"
3350 # Disable libssp for some systems.
3353 # No hosted I/O support.
3354 noconfigdirs
="$noconfigdirs target-libssp"
3356 powerpc-
*-aix* | rs6000-
*-aix*)
3357 noconfigdirs
="$noconfigdirs target-libssp"
3360 # libssp uses a misaligned load to trigger a fault, but the RL78
3361 # doesn't fault for those - instead, it gives a build-time error
3362 # for explicit misaligned loads.
3363 noconfigdirs
="$noconfigdirs target-libssp"
3366 # No hosted I/O support.
3367 noconfigdirs
="$noconfigdirs target-libssp"
3371 # Disable libstdc++-v3 for some systems.
3372 # Allow user to override this if they pass --enable-libstdc++-v3
3373 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3376 # VxWorks uses the Dinkumware C++ library.
3377 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3380 # the C++ libraries don't build on top of CE's C libraries
3381 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3384 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3387 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3392 # Disable D on systems where it is known to not work.
3393 # For testing, you can override this with --enable-languages=d.
3394 case ,${enable_languages}, in
3400 unsupported_languages
="$unsupported_languages d"
3406 # Disable libphobos on unsupported systems.
3407 # For testing, you can override this with --enable-libphobos.
3408 if test -d ${srcdir}/libphobos
; then
3409 if test x
$enable_libphobos = x
; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphobos support" >&5
3411 $as_echo_n "checking for libphobos support... " >&6; }
3412 if (srcdir
=${srcdir}/libphobos
; \
3413 .
${srcdir}/configure.tgt
; \
3414 test "$LIBPHOBOS_SUPPORTED" != "yes")
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417 $as_echo "no" >&6; }
3418 noconfigdirs
="$noconfigdirs target-libphobos"
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3421 $as_echo "yes" >&6; }
3426 # Disable Fortran for some systems.
3429 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3430 unsupported_languages
="$unsupported_languages fortran"
3434 # Disable libffi for some systems.
3438 i
[3456789]86-*-darwin*)
3440 x86_64-
*-darwin[912]*)
3443 noconfigdirs
="$noconfigdirs target-libffi"
3446 noconfigdirs
="$noconfigdirs target-libffi"
3449 noconfigdirs
="$noconfigdirs target-libffi"
3452 noconfigdirs
="$noconfigdirs target-libffi"
3455 noconfigdirs
="$noconfigdirs target-libffi"
3458 noconfigdirs
="$noconfigdirs target-libffi"
3461 noconfigdirs
="$noconfigdirs target-libffi"
3463 aarch64
*-*-freebsd*)
3464 noconfigdirs
="$noconfigdirs target-libffi"
3467 noconfigdirs
="$noconfigdirs target-libffi"
3470 noconfigdirs
="$noconfigdirs target-libffi"
3473 noconfigdirs
="$noconfigdirs target-libffi"
3476 noconfigdirs
="$noconfigdirs target-libffi"
3478 cris-
*-* | crisv32-
*-*)
3482 *) # See PR46792 regarding target-libffi.
3483 noconfigdirs
="$noconfigdirs target-libffi";;
3487 noconfigdirs
="$noconfigdirs target-libffi"
3492 noconfigdirs
="$noconfigdirs target-libffi"
3495 noconfigdirs
="$noconfigdirs target-libffi"
3497 i
[3456789]86-w64-mingw*)
3498 noconfigdirs
="$noconfigdirs target-libffi"
3500 i
[3456789]86-*-mingw*)
3501 noconfigdirs
="$noconfigdirs target-libffi"
3504 noconfigdirs
="$noconfigdirs target-libffi"
3507 noconfigdirs
="$noconfigdirs target-libffi"
3514 noconfigdirs
="$noconfigdirs target-libffi"
3517 noconfigdirs
="$noconfigdirs target-libffi"
3521 # Disable the go frontend on systems where it is known to not work. Please keep
3522 # this in sync with contrib/config-list.mk.
3524 *-*-darwin* |
*-*-cygwin* |
*-*-mingw*)
3525 unsupported_languages
="$unsupported_languages go"
3529 # Disable libgo for some systems where it is known to not work.
3530 # For testing, you can easily override this with --enable-libgo.
3531 if test x
$enable_libgo = x
; then
3535 noconfigdirs
="$noconfigdirs target-libgo"
3537 *-*-cygwin* |
*-*-mingw*)
3538 noconfigdirs
="$noconfigdirs target-libgo"
3543 # Default libgloss CPU subdirectory.
3544 libgloss_dir
="$target_cpu"
3547 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3551 libgloss_dir
=aarch64
3556 cris-
*-* | crisv32-
*-*)
3565 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3566 libgloss_dir
=m68hc11
3568 m68
*-*-* | fido-
*-*)
3582 # Disable newlib and libgloss for various target OSes.
3585 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3587 i
[3456789]86-*-linux*)
3588 # This section makes it possible to build newlib natively on linux.
3589 # If we are using a cross compiler then don't configure newlib.
3590 if test x
${is_cross_compiler} != xno
; then
3591 noconfigdirs
="$noconfigdirs target-newlib"
3593 noconfigdirs
="$noconfigdirs target-libgloss"
3594 # If we are not using a cross compiler, do configure newlib.
3595 # Note however, that newlib will only be configured in this situation
3596 # if the --with-newlib option has been given, because otherwise
3597 # 'target-newlib' will appear in skipdirs.
3599 i
[3456789]86-*-rdos*)
3600 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3602 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3603 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3606 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3609 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3612 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3615 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3618 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3621 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3623 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3624 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3627 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3630 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3633 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3636 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3639 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3642 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3645 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3653 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3654 noconfigdirs
="$noconfigdirs sim target-rda"
3659 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3660 noconfigdirs
="$noconfigdirs sim target-rda"
3663 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3664 noconfigdirs
="$noconfigdirs sim target-rda"
3666 i
[3456789]86-*-darwin*)
3667 noconfigdirs
="$noconfigdirs ld gprof"
3668 noconfigdirs
="$noconfigdirs sim target-rda"
3670 x86_64-
*-darwin[912]*)
3671 noconfigdirs
="$noconfigdirs ld gas gprof"
3672 noconfigdirs
="$noconfigdirs sim target-rda"
3675 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3676 noconfigdirs
="$noconfigdirs sim target-rda"
3681 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3682 && ! test -d ${srcdir}/gmp \
3683 && test -f /usr
/local
/include
/gmp.h
; then
3688 # Remove unsupported stuff on all kaOS configurations.
3689 noconfigdirs
="$noconfigdirs target-libgloss"
3696 noconfigdirs
="$noconfigdirs target-libgloss"
3699 noconfigdirs
="$noconfigdirs target-libgloss"
3701 # The tpf target doesn't support gdb yet.
3703 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3706 noconfigdirs
="$noconfigdirs target-rda"
3711 # ld works, but does not support shared libraries.
3712 # gas doesn't generate exception information.
3713 noconfigdirs
="$noconfigdirs gas ld"
3716 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3719 # newlib is not 64 bit ready
3720 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3722 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3723 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3726 noconfigdirs
="$noconfigdirs sim"
3729 noconfigdirs
="$noconfigdirs target-libgloss"
3732 noconfigdirs
="$noconfigdirs ld target-libgloss"
3735 if test x
${with_avrlibc} != xno
; then
3736 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3739 c4x-
*-* | tic4x-
*-*)
3740 noconfigdirs
="$noconfigdirs target-libgloss"
3743 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3746 noconfigdirs
="$noconfigdirs target-libgloss"
3749 noconfigdirs
="$noconfigdirs gdb"
3752 noconfigdirs
="$noconfigdirs gdb"
3755 noconfigdirs
="$noconfigdirs target-rda gprof"
3758 noconfigdirs
="$noconfigdirs"
3761 noconfigdirs
="$noconfigdirs target-libgloss"
3764 noconfigdirs
="$noconfigdirs target-libgloss"
3766 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3769 noconfigdirs
="$noconfigdirs gdb"
3772 noconfigdirs
="$noconfigdirs gdb ld"
3780 hppa
*-*-openbsd* | \
3786 noconfigdirs
="$noconfigdirs ld"
3789 noconfigdirs
="$noconfigdirs gdb"
3792 # No gdb support yet.
3793 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3796 # No ld support yet.
3797 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3800 # No ld support yet.
3801 noconfigdirs
="$noconfigdirs libgui itcl ld"
3803 i
[3456789]86-w64-mingw*)
3805 i
[3456789]86-*-mingw*)
3806 target_configdirs
="$target_configdirs target-winsup"
3809 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3810 noconfigdirs
="$noconfigdirs target-libgloss"
3811 # always build newlib if winsup directory is present.
3812 if test -d "$srcdir/winsup/cygwin"; then
3813 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3814 elif test -d "$srcdir/newlib"; then
3815 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3819 noconfigdirs
="$noconfigdirs target-libgloss"
3821 i
[3456789]86-*-sco3.2v5
*)
3822 # The linker does not yet know about weak symbols in COFF,
3823 # and is not configured to handle mixed ELF and COFF.
3824 noconfigdirs
="$noconfigdirs ld target-libgloss"
3826 i
[3456789]86-*-sco*)
3827 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3829 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3830 noconfigdirs
="$noconfigdirs target-libgloss"
3832 i
[3456789]86-*-sysv4*)
3833 noconfigdirs
="$noconfigdirs target-libgloss"
3835 i
[3456789]86-*-beos*)
3836 noconfigdirs
="$noconfigdirs gdb"
3838 i
[3456789]86-*-rdos*)
3839 noconfigdirs
="$noconfigdirs gdb"
3842 noconfigdirs
="$noconfigdirs gdb"
3845 noconfigdirs
="$noconfigdirs sim"
3848 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3849 noconfigdirs
="$noconfigdirs $target_libraries"
3852 # copied from rs6000-*-* entry
3853 noconfigdirs
="$noconfigdirs gprof"
3855 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3856 target_configdirs
="$target_configdirs target-winsup"
3857 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3858 # always build newlib.
3859 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3861 # This is temporary until we can link against shared libraries
3862 powerpcle-
*-solaris*)
3863 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3866 noconfigdirs
="$noconfigdirs gdb"
3869 noconfigdirs
="$noconfigdirs gprof"
3872 noconfigdirs
="$noconfigdirs gprof"
3875 noconfigdirs
="$noconfigdirs gprof"
3878 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3881 noconfigdirs
="$noconfigdirs gprof"
3883 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3884 if test x
$with_newlib = xyes
; then
3885 noconfigdirs
="$noconfigdirs gprof"
3889 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3892 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3895 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3899 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3900 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3901 noconfigdirs
="$noconfigdirs ld gas gprof"
3904 noconfigdirs
="$noconfigdirs gprof"
3907 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3914 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3918 if test x
${is_cross_compiler} = xno
; then
3923 noconfigdirs
="$noconfigdirs sim"
3925 tilepro
*-*-* | tilegx
*-*-*)
3926 noconfigdirs
="$noconfigdirs sim"
3929 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3932 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3935 noconfigdirs
="$noconfigdirs ld"
3939 # If we aren't building newlib, then don't build libgloss, since libgloss
3940 # depends upon some newlib header files.
3941 case "${noconfigdirs}" in
3942 *target-libgloss
*) ;;
3943 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3946 # Work in distributions that contain no compiler tools, like Autoconf.
3947 host_makefile_frag
=/dev
/null
3948 if test -d ${srcdir}/config
; then
3950 i
[3456789]86-*-msdosdjgpp*)
3951 host_makefile_frag
="config/mh-djgpp"
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3956 $as_echo_n "checking to see if cat works as expected... " >&6; }
3957 echo a
>cygwin-cat-check
3958 if test `cat cygwin-cat-check` = a
; then
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3961 $as_echo "yes" >&6; }
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3965 $as_echo "no" >&6; }
3966 as_fn_error $?
"The cat command does not ignore carriage return characters.
3967 Please either mount the build directory in binary mode or run the following
3968 commands before running any configure script:
3974 host_makefile_frag
="config/mh-cygwin"
3977 host_makefile_frag
="config/mh-mingw"
3980 host_makefile_frag
="config/mh-alpha-linux"
3983 host_makefile_frag
="config/mh-pa-hpux10"
3986 host_makefile_frag
="config/mh-pa"
3989 host_makefile_frag
="config/mh-pa"
3992 host_makefile_frag
="config/mh-darwin"
3995 host_makefile_frag
="config/mh-ppc-aix"
3998 host_makefile_frag
="config/mh-ppc-aix"
4003 if test "${build}" != "${host}" ; then
4004 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4005 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4006 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4007 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4008 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4009 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4010 GDC_FOR_BUILD
=${GDC_FOR_BUILD-gdc}
4011 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4012 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4013 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4014 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4015 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4016 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4018 AR_FOR_BUILD
="\$(AR)"
4019 AS_FOR_BUILD
="\$(AS)"
4020 CC_FOR_BUILD
="\$(CC)"
4021 CXX_FOR_BUILD
="\$(CXX)"
4022 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4023 GOC_FOR_BUILD
="\$(GOC)"
4024 GDC_FOR_BUILD
="\$(GDC)"
4025 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4026 LD_FOR_BUILD
="\$(LD)"
4027 NM_FOR_BUILD
="\$(NM)"
4028 RANLIB_FOR_BUILD
="\$(RANLIB)"
4029 WINDRES_FOR_BUILD
="\$(WINDRES)"
4030 WINDMC_FOR_BUILD
="\$(WINDMC)"
4034 ac_cpp
='$CPP $CPPFLAGS'
4035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4038 if test -n "$ac_tool_prefix"; then
4039 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4040 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4042 $as_echo_n "checking for $ac_word... " >&6; }
4043 if ${ac_cv_prog_CC+:} false
; then :
4044 $as_echo_n "(cached) " >&6
4046 if test -n "$CC"; then
4047 ac_cv_prog_CC
="$CC" # Let the user override the test.
4049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4053 test -z "$as_dir" && as_dir
=.
4054 for ac_exec_ext
in '' $ac_executable_extensions; do
4055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4056 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4067 if test -n "$CC"; then
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4069 $as_echo "$CC" >&6; }
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4072 $as_echo "no" >&6; }
4077 if test -z "$ac_cv_prog_CC"; then
4079 # Extract the first word of "gcc", so it can be a program name with args.
4080 set dummy gcc
; ac_word
=$2
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4082 $as_echo_n "checking for $ac_word... " >&6; }
4083 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4084 $as_echo_n "(cached) " >&6
4086 if test -n "$ac_ct_CC"; then
4087 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4093 test -z "$as_dir" && as_dir
=.
4094 for ac_exec_ext
in '' $ac_executable_extensions; do
4095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4096 ac_cv_prog_ac_ct_CC
="gcc"
4097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4106 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4107 if test -n "$ac_ct_CC"; then
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4109 $as_echo "$ac_ct_CC" >&6; }
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4112 $as_echo "no" >&6; }
4115 if test "x$ac_ct_CC" = x
; then
4118 case $cross_compiling:$ac_tool_warned in
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4122 ac_tool_warned
=yes ;;
4130 if test -z "$CC"; then
4131 if test -n "$ac_tool_prefix"; then
4132 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4133 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4135 $as_echo_n "checking for $ac_word... " >&6; }
4136 if ${ac_cv_prog_CC+:} false
; then :
4137 $as_echo_n "(cached) " >&6
4139 if test -n "$CC"; then
4140 ac_cv_prog_CC
="$CC" # Let the user override the test.
4142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4146 test -z "$as_dir" && as_dir
=.
4147 for ac_exec_ext
in '' $ac_executable_extensions; do
4148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4149 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4160 if test -n "$CC"; then
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4162 $as_echo "$CC" >&6; }
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4165 $as_echo "no" >&6; }
4171 if test -z "$CC"; then
4172 # Extract the first word of "cc", so it can be a program name with args.
4173 set dummy cc
; ac_word
=$2
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4175 $as_echo_n "checking for $ac_word... " >&6; }
4176 if ${ac_cv_prog_CC+:} false
; then :
4177 $as_echo_n "(cached) " >&6
4179 if test -n "$CC"; then
4180 ac_cv_prog_CC
="$CC" # Let the user override the test.
4183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4187 test -z "$as_dir" && as_dir
=.
4188 for ac_exec_ext
in '' $ac_executable_extensions; do
4189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4190 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4191 ac_prog_rejected
=yes
4195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4202 if test $ac_prog_rejected = yes; then
4203 # We found a bogon in the path, so make sure we never use it.
4204 set dummy
$ac_cv_prog_CC
4206 if test $# != 0; then
4207 # We chose a different compiler from the bogus one.
4208 # However, it has the same basename, so the bogon will be chosen
4209 # first if we set CC to just the basename; use the full file name.
4211 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4217 if test -n "$CC"; then
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4219 $as_echo "$CC" >&6; }
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4222 $as_echo "no" >&6; }
4227 if test -z "$CC"; then
4228 if test -n "$ac_tool_prefix"; then
4229 for ac_prog
in cl.exe
4231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4232 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4234 $as_echo_n "checking for $ac_word... " >&6; }
4235 if ${ac_cv_prog_CC+:} false
; then :
4236 $as_echo_n "(cached) " >&6
4238 if test -n "$CC"; then
4239 ac_cv_prog_CC
="$CC" # Let the user override the test.
4241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4245 test -z "$as_dir" && as_dir
=.
4246 for ac_exec_ext
in '' $ac_executable_extensions; do
4247 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4248 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4259 if test -n "$CC"; then
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4261 $as_echo "$CC" >&6; }
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4264 $as_echo "no" >&6; }
4268 test -n "$CC" && break
4271 if test -z "$CC"; then
4273 for ac_prog
in cl.exe
4275 # Extract the first word of "$ac_prog", so it can be a program name with args.
4276 set dummy
$ac_prog; ac_word
=$2
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4278 $as_echo_n "checking for $ac_word... " >&6; }
4279 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4280 $as_echo_n "(cached) " >&6
4282 if test -n "$ac_ct_CC"; then
4283 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4289 test -z "$as_dir" && as_dir
=.
4290 for ac_exec_ext
in '' $ac_executable_extensions; do
4291 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4292 ac_cv_prog_ac_ct_CC
="$ac_prog"
4293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4302 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4303 if test -n "$ac_ct_CC"; then
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4305 $as_echo "$ac_ct_CC" >&6; }
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4308 $as_echo "no" >&6; }
4312 test -n "$ac_ct_CC" && break
4315 if test "x$ac_ct_CC" = x
; then
4318 case $cross_compiling:$ac_tool_warned in
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4322 ac_tool_warned
=yes ;;
4331 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4333 as_fn_error $?
"no acceptable C compiler found in \$PATH
4334 See \`config.log' for more details" "$LINENO" 5; }
4336 # Provide some information about the compiler.
4337 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4340 for ac_option
in --version -v -V -qversion; do
4341 { { ac_try
="$ac_compiler $ac_option >&5"
4343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4344 *) ac_try_echo=$ac_try;;
4346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4347 $as_echo "$ac_try_echo"; } >&5
4348 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4350 if test -s conftest.err; then
4352 ... rest of stderr output deleted ...
4353 10q' conftest.err >conftest.er1
4354 cat conftest.er1 >&5
4356 rm -f conftest.er1 conftest.err
4357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4358 test $ac_status = 0; }
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4372 ac_clean_files_save=$ac_clean_files
4373 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4374 # Try to create an executable without -o first, disregard a.out.
4375 # It will help us diagnose broken compilers, and finding out an intuition
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4378 $as_echo_n "checking whether the C compiler works... " >&6; }
4379 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4381 # The possible output files:
4382 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4385 for ac_file in $ac_files
4388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4389 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4394 if { { ac_try="$ac_link_default"
4396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4397 *) ac_try_echo
=$ac_try;;
4399 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4400 $as_echo "$ac_try_echo"; } >&5
4401 (eval "$ac_link_default") 2>&5
4403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4404 test $ac_status = 0; }; then :
4405 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4406 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4407 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4408 # so that the user can short-circuit this test for compilers unknown to
4410 for ac_file
in $ac_files ''
4412 test -f "$ac_file" ||
continue
4414 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4417 # We found the default executable, but exeext='' is most
4421 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4423 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4425 # We set ac_cv_exeext here because the later test for it is not
4426 # safe: cross compilers may not add the suffix if given an `-o'
4427 # argument, so we may need to know it at that point already.
4428 # Even if this section looks crufty: it has the advantage of
4435 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4440 if test -z "$ac_file"; then :
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4442 $as_echo "no" >&6; }
4443 $as_echo "$as_me: failed program was:" >&5
4444 sed 's/^/| /' conftest.
$ac_ext >&5
4446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4448 as_fn_error
77 "C compiler cannot create executables
4449 See \`config.log' for more details" "$LINENO" 5; }
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4452 $as_echo "yes" >&6; }
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4455 $as_echo_n "checking for C compiler default output file name... " >&6; }
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4457 $as_echo "$ac_file" >&6; }
4458 ac_exeext
=$ac_cv_exeext
4460 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4461 ac_clean_files
=$ac_clean_files_save
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4463 $as_echo_n "checking for suffix of executables... " >&6; }
4464 if { { ac_try
="$ac_link"
4466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4467 *) ac_try_echo=$ac_try;;
4469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4470 $as_echo "$ac_try_echo"; } >&5
4471 (eval "$ac_link") 2>&5
4473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4474 test $ac_status = 0; }; then :
4475 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4476 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4477 # work properly (i.e., refer to `conftest.exe'), while it won't with
4479 for ac_file
in conftest.exe conftest conftest.
*; do
4480 test -f "$ac_file" ||
continue
4482 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4483 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4491 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4492 See \`config.log' for more details" "$LINENO" 5; }
4494 rm -f conftest conftest
$ac_cv_exeext
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4496 $as_echo "$ac_cv_exeext" >&6; }
4498 rm -f conftest.
$ac_ext
4499 EXEEXT
=$ac_cv_exeext
4501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4507 FILE *f = fopen ("conftest.out", "w");
4508 return ferror (f) || fclose (f) != 0;
4514 ac_clean_files
="$ac_clean_files conftest.out"
4515 # Check that the compiler produces executables we can run. If not, either
4516 # the compiler is broken, or we cross compile.
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4518 $as_echo_n "checking whether we are cross compiling... " >&6; }
4519 if test "$cross_compiling" != yes; then
4520 { { ac_try
="$ac_link"
4522 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4523 *) ac_try_echo=$ac_try;;
4525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4526 $as_echo "$ac_try_echo"; } >&5
4527 (eval "$ac_link") 2>&5
4529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4530 test $ac_status = 0; }
4531 if { ac_try='./conftest$ac_cv_exeext'
4532 { { case "(($ac_try" in
4533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4534 *) ac_try_echo
=$ac_try;;
4536 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4537 $as_echo "$ac_try_echo"; } >&5
4538 (eval "$ac_try") 2>&5
4540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4541 test $ac_status = 0; }; }; then
4544 if test "$cross_compiling" = maybe
; then
4547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4549 as_fn_error $?
"cannot run C compiled programs.
4550 If you meant to cross compile, use \`--host'.
4551 See \`config.log' for more details" "$LINENO" 5; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4556 $as_echo "$cross_compiling" >&6; }
4558 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4559 ac_clean_files
=$ac_clean_files_save
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4561 $as_echo_n "checking for suffix of object files... " >&6; }
4562 if ${ac_cv_objext+:} false
; then :
4563 $as_echo_n "(cached) " >&6
4565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4576 rm -f conftest.o conftest.obj
4577 if { { ac_try
="$ac_compile"
4579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4580 *) ac_try_echo=$ac_try;;
4582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4583 $as_echo "$ac_try_echo"; } >&5
4584 (eval "$ac_compile") 2>&5
4586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4587 test $ac_status = 0; }; then :
4588 for ac_file in conftest.o conftest.obj conftest.*; do
4589 test -f "$ac_file" || continue;
4591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4592 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4597 $as_echo "$as_me: failed program was:" >&5
4598 sed 's/^/| /' conftest.$ac_ext >&5
4600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4602 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4603 See \
`config.log' for more details" "$LINENO" 5; }
4605 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4608 $as_echo "$ac_cv_objext" >&6; }
4609 OBJEXT=$ac_cv_objext
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4612 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4613 if ${ac_cv_c_compiler_gnu+:} false; then :
4614 $as_echo_n "(cached) " >&6
4616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4630 if ac_fn_c_try_compile "$LINENO"; then :
4635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4636 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4640 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4641 if test $ac_compiler_gnu = yes; then
4646 ac_test_CFLAGS=${CFLAGS+set}
4647 ac_save_CFLAGS=$CFLAGS
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4649 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4650 if ${ac_cv_prog_cc_g+:} false; then :
4651 $as_echo_n "(cached) " >&6
4653 ac_save_c_werror_flag=$ac_c_werror_flag
4654 ac_c_werror_flag=yes
4657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658 /* end confdefs.h. */
4668 if ac_fn_c_try_compile "$LINENO"; then :
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4683 if ac_fn_c_try_compile "$LINENO"; then :
4686 ac_c_werror_flag=$ac_save_c_werror_flag
4688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689 /* end confdefs.h. */
4699 if ac_fn_c_try_compile "$LINENO"; then :
4702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4707 ac_c_werror_flag=$ac_save_c_werror_flag
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4710 $as_echo "$ac_cv_prog_cc_g" >&6; }
4711 if test "$ac_test_CFLAGS" = set; then
4712 CFLAGS=$ac_save_CFLAGS
4713 elif test $ac_cv_prog_cc_g = yes; then
4714 if test "$GCC" = yes; then
4720 if test "$GCC" = yes; then
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4727 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4728 if ${ac_cv_prog_cc_c89+:} false; then :
4729 $as_echo_n "(cached) " >&6
4731 ac_cv_prog_cc_c89=no
4733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734 /* end confdefs.h. */
4738 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4739 struct buf { int x; };
4740 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4741 static char *e (p, i)
4747 static char *f (char * (*g) (char **, int), char **p, ...)
4752 s = g (p, va_arg (v,int));
4757 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4758 function prototypes and stuff, but not '\xHH' hex character constants.
4759 These don't provoke an error unfortunately, instead are silently treated
4760 as 'x'. The following induces an error, until -std is added to get
4761 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4762 array size at least. It's necessary to write '\x00'==0 to get something
4763 that's true only with -std. */
4764 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4766 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4767 inside strings and character constants. */
4769 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4771 int test (int i, double x);
4772 struct s1 {int (*f) (int a);};
4773 struct s2 {int (*f) (double a);};
4774 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4780 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4785 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4786 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4788 CC="$ac_save_CC $ac_arg"
4789 if ac_fn_c_try_compile "$LINENO"; then :
4790 ac_cv_prog_cc_c89=$ac_arg
4792 rm -f core conftest.err conftest.$ac_objext
4793 test "x$ac_cv_prog_cc_c89" != "xno" && break
4795 rm -f conftest.$ac_ext
4800 case "x$ac_cv_prog_cc_c89" in
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4803 $as_echo "none needed" >&6; } ;;
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4806 $as_echo "unsupported" >&6; } ;;
4808 CC="$CC $ac_cv_prog_cc_c89"
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4810 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4812 if test "x$ac_cv_prog_cc_c89" != xno; then :
4817 ac_cpp='$CPP $CPPFLAGS'
4818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4823 ac_cpp='$CXXCPP $CPPFLAGS'
4824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4827 if test -z "$CXX"; then
4828 if test -n "$CCC"; then
4831 if test -n "$ac_tool_prefix"; then
4832 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4835 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4837 $as_echo_n "checking for $ac_word... " >&6; }
4838 if ${ac_cv_prog_CXX+:} false; then :
4839 $as_echo_n "(cached) " >&6
4841 if test -n "$CXX"; then
4842 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4848 test -z "$as_dir" && as_dir=.
4849 for ac_exec_ext in '' $ac_executable_extensions; do
4850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4851 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4862 if test -n "$CXX"; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4864 $as_echo "$CXX" >&6; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 $as_echo "no" >&6; }
4871 test -n "$CXX" && break
4874 if test -z "$CXX"; then
4876 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4878 # Extract the first word of "$ac_prog", so it can be a program name with args.
4879 set dummy $ac_prog; ac_word=$2
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4881 $as_echo_n "checking for $ac_word... " >&6; }
4882 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4883 $as_echo_n "(cached) " >&6
4885 if test -n "$ac_ct_CXX"; then
4886 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 test -z "$as_dir" && as_dir=.
4893 for ac_exec_ext in '' $ac_executable_extensions; do
4894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4895 ac_cv_prog_ac_ct_CXX="$ac_prog"
4896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4905 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4906 if test -n "$ac_ct_CXX"; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4908 $as_echo "$ac_ct_CXX" >&6; }
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911 $as_echo "no" >&6; }
4915 test -n "$ac_ct_CXX" && break
4918 if test "x$ac_ct_CXX" = x; then
4921 case $cross_compiling:$ac_tool_warned in
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4925 ac_tool_warned=yes ;;
4933 # Provide some information about the compiler.
4934 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4937 for ac_option in --version -v -V -qversion; do
4938 { { ac_try="$ac_compiler $ac_option >&5"
4940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4941 *) ac_try_echo
=$ac_try;;
4943 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4944 $as_echo "$ac_try_echo"; } >&5
4945 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4947 if test -s conftest.err
; then
4949 ... rest of stderr output deleted ...
4950 10q' conftest.err
>conftest.er1
4951 cat conftest.er1
>&5
4953 rm -f conftest.er1 conftest.err
4954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4955 test $ac_status = 0; }
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4959 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4960 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4961 $as_echo_n "(cached) " >&6
4963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4977 if ac_fn_cxx_try_compile
"$LINENO"; then :
4982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4983 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4987 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4988 if test $ac_compiler_gnu = yes; then
4993 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4994 ac_save_CXXFLAGS
=$CXXFLAGS
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4996 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4997 if ${ac_cv_prog_cxx_g+:} false
; then :
4998 $as_echo_n "(cached) " >&6
5000 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5001 ac_cxx_werror_flag
=yes
5004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5005 /* end confdefs.h. */
5015 if ac_fn_cxx_try_compile
"$LINENO"; then :
5016 ac_cv_prog_cxx_g
=yes
5019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5020 /* end confdefs.h. */
5030 if ac_fn_cxx_try_compile
"$LINENO"; then :
5033 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5036 /* end confdefs.h. */
5046 if ac_fn_cxx_try_compile
"$LINENO"; then :
5047 ac_cv_prog_cxx_g
=yes
5049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5054 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5057 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5058 if test "$ac_test_CXXFLAGS" = set; then
5059 CXXFLAGS
=$ac_save_CXXFLAGS
5060 elif test $ac_cv_prog_cxx_g = yes; then
5061 if test "$GXX" = yes; then
5067 if test "$GXX" = yes; then
5074 ac_cpp
='$CPP $CPPFLAGS'
5075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5080 # We must set the default linker to the linker used by gcc for the correct
5081 # operation of libtool. If LD is not defined and we are using gcc, try to
5082 # set the LD default to the ld used by gcc.
5083 if test -z "$LD"; then
5084 if test "$GCC" = yes; then
5087 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5089 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5091 case $gcc_prog_ld in
5092 # Accept absolute paths.
5093 [\\/]* |
[A-Za-z
]:[\\/]*)
5094 LD
="$gcc_prog_ld" ;;
5099 # Check whether -static-libstdc++ -static-libgcc is supported.
5101 if test "$GCC" = yes; then
5102 saved_LDFLAGS
="$LDFLAGS"
5104 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5106 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5108 ac_cpp
='$CXXCPP $CPPFLAGS'
5109 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5117 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5118 #error -static-libstdc++ not implemented
5122 if ac_fn_cxx_try_link
"$LINENO"; then :
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5124 $as_echo "yes" >&6; }; have_static_libs
=yes
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5129 rm -f core conftest.err conftest.
$ac_objext \
5130 conftest
$ac_exeext conftest.
$ac_ext
5132 ac_cpp
='$CPP $CPPFLAGS'
5133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5138 LDFLAGS
="$saved_LDFLAGS"
5144 if test -n "$ac_tool_prefix"; then
5145 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5146 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if ${ac_cv_prog_GNATBIND+:} false
; then :
5150 $as_echo_n "(cached) " >&6
5152 if test -n "$GNATBIND"; then
5153 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir
=.
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 GNATBIND
=$ac_cv_prog_GNATBIND
5173 if test -n "$GNATBIND"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5175 $as_echo "$GNATBIND" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5183 if test -z "$ac_cv_prog_GNATBIND"; then
5184 ac_ct_GNATBIND
=$GNATBIND
5185 # Extract the first word of "gnatbind", so it can be a program name with args.
5186 set dummy gnatbind
; ac_word
=$2
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188 $as_echo_n "checking for $ac_word... " >&6; }
5189 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5190 $as_echo_n "(cached) " >&6
5192 if test -n "$ac_ct_GNATBIND"; then
5193 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5199 test -z "$as_dir" && as_dir
=.
5200 for ac_exec_ext
in '' $ac_executable_extensions; do
5201 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5202 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5213 if test -n "$ac_ct_GNATBIND"; then
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5215 $as_echo "$ac_ct_GNATBIND" >&6; }
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218 $as_echo "no" >&6; }
5221 if test "x$ac_ct_GNATBIND" = x
; then
5224 case $cross_compiling:$ac_tool_warned in
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5228 ac_tool_warned
=yes ;;
5230 GNATBIND
=$ac_ct_GNATBIND
5233 GNATBIND
="$ac_cv_prog_GNATBIND"
5236 if test -n "$ac_tool_prefix"; then
5237 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5238 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5242 $as_echo_n "(cached) " >&6
5244 if test -n "$GNATMAKE"; then
5245 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5251 test -z "$as_dir" && as_dir
=.
5252 for ac_exec_ext
in '' $ac_executable_extensions; do
5253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5254 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 GNATMAKE
=$ac_cv_prog_GNATMAKE
5265 if test -n "$GNATMAKE"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5267 $as_echo "$GNATMAKE" >&6; }
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5275 if test -z "$ac_cv_prog_GNATMAKE"; then
5276 ac_ct_GNATMAKE
=$GNATMAKE
5277 # Extract the first word of "gnatmake", so it can be a program name with args.
5278 set dummy gnatmake
; ac_word
=$2
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5280 $as_echo_n "checking for $ac_word... " >&6; }
5281 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5282 $as_echo_n "(cached) " >&6
5284 if test -n "$ac_ct_GNATMAKE"; then
5285 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5291 test -z "$as_dir" && as_dir
=.
5292 for ac_exec_ext
in '' $ac_executable_extensions; do
5293 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5294 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5304 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5305 if test -n "$ac_ct_GNATMAKE"; then
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5307 $as_echo "$ac_ct_GNATMAKE" >&6; }
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310 $as_echo "no" >&6; }
5313 if test "x$ac_ct_GNATMAKE" = x
; then
5316 case $cross_compiling:$ac_tool_warned in
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5320 ac_tool_warned
=yes ;;
5322 GNATMAKE
=$ac_ct_GNATMAKE
5325 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5329 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5330 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5331 $as_echo_n "(cached) " >&6
5333 cat >conftest.adb
<<EOF
5334 procedure conftest is begin null; end conftest;
5336 acx_cv_cc_gcc_supports_ada
=no
5337 # There is a bug in old released versions of GCC which causes the
5338 # driver to exit successfully when the appropriate language module
5339 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5340 # Therefore we must check for the error message as well as an
5341 # unsuccessful exit.
5342 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5343 # given a .adb file, but produce no object file. So we must check
5344 # if an object file was really produced to guard against this.
5345 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5346 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5347 acx_cv_cc_gcc_supports_ada
=yes
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5352 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5354 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5361 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5362 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5363 $as_echo_n "(cached) " >&6
5367 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5368 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5369 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5372 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5375 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5376 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5379 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5386 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5387 do_compare
="$gcc_cv_prog_cmp_skip"
5391 # Check whether --enable-bootstrap was given.
5392 if test "${enable_bootstrap+set}" = set; then :
5393 enableval
=$enable_bootstrap;
5395 enable_bootstrap
=default
5399 # Issue errors and warnings for invalid/strange bootstrap combinations.
5400 if test -r $srcdir/gcc
/configure
; then
5406 case "$have_compiler:$host:$target:$enable_bootstrap" in
5409 # Default behavior. Enable bootstrap if we have a compiler
5410 # and we are in a native configuration.
5411 yes:$build:$build:default
)
5412 enable_bootstrap
=yes ;;
5415 enable_bootstrap
=no
;;
5417 # We have a compiler and we are in a native configuration, bootstrap is ok
5418 yes:$build:$build:yes)
5421 # Other configurations, but we have a compiler. Assume the user knows
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5425 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5428 # No compiler: if they passed --enable-bootstrap explicitly, fail
5430 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5432 # Fail if wrong command line
5434 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5438 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5439 # C++98 compiler can still start the bootstrap.
5440 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5441 CXX
="$CXX -std=gnu++98"
5444 # Used for setting $lt_cv_objdir
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5446 $as_echo_n "checking for objdir... " >&6; }
5447 if ${lt_cv_objdir+:} false
; then :
5448 $as_echo_n "(cached) " >&6
5450 rm -f .libs
2>/dev
/null
5451 mkdir .libs
2>/dev
/null
5452 if test -d .libs
; then
5455 # MS-DOS does not allow filenames that begin with a dot.
5458 rmdir .libs
2>/dev
/null
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5461 $as_echo "$lt_cv_objdir" >&6; }
5462 objdir
=$lt_cv_objdir
5468 cat >>confdefs.h
<<_ACEOF
5469 #define LT_OBJDIR "$lt_cv_objdir/"
5474 # Check for GMP, MPFR and MPC
5475 gmplibs
="-lmpc -lmpfr -lgmp"
5479 # Specify a location for mpc
5480 # check for this first so it ends up on the link line before mpfr.
5482 # Check whether --with-mpc was given.
5483 if test "${with_mpc+set}" = set; then :
5488 # Check whether --with-mpc-include was given.
5489 if test "${with_mpc_include+set}" = set; then :
5490 withval
=$with_mpc_include;
5494 # Check whether --with-mpc-lib was given.
5495 if test "${with_mpc_lib+set}" = set; then :
5496 withval
=$with_mpc_lib;
5500 if test "x$with_mpc" != x
; then
5501 gmplibs
="-L$with_mpc/lib $gmplibs"
5502 gmpinc
="-I$with_mpc/include $gmpinc"
5504 if test "x$with_mpc_include" != x
; then
5505 gmpinc
="-I$with_mpc_include $gmpinc"
5507 if test "x$with_mpc_lib" != x
; then
5508 gmplibs
="-L$with_mpc_lib $gmplibs"
5510 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5511 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5512 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5513 # Do not test the mpc version. Assume that it is sufficient, since
5514 # it is in the source tree, and the library has not been built yet
5515 # but it would be included on the link line in the version check below
5516 # hence making the test fail.
5520 # Specify a location for mpfr
5521 # check for this first so it ends up on the link line before gmp.
5523 # Check whether --with-mpfr-dir was given.
5524 if test "${with_mpfr_dir+set}" = set; then :
5525 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
5526 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5531 # Check whether --with-mpfr was given.
5532 if test "${with_mpfr+set}" = set; then :
5537 # Check whether --with-mpfr-include was given.
5538 if test "${with_mpfr_include+set}" = set; then :
5539 withval
=$with_mpfr_include;
5543 # Check whether --with-mpfr-lib was given.
5544 if test "${with_mpfr_lib+set}" = set; then :
5545 withval
=$with_mpfr_lib;
5549 if test "x$with_mpfr" != x
; then
5550 gmplibs
="-L$with_mpfr/lib $gmplibs"
5551 gmpinc
="-I$with_mpfr/include $gmpinc"
5553 if test "x$with_mpfr_include" != x
; then
5554 gmpinc
="-I$with_mpfr_include $gmpinc"
5556 if test "x$with_mpfr_lib" != x
; then
5557 gmplibs
="-L$with_mpfr_lib $gmplibs"
5559 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5560 # MPFR v3.1.0 moved the sources into a src sub-directory.
5561 if ! test -d ${srcdir}/mpfr
/src
; then
5562 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5564 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5565 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5566 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5567 # Do not test the mpfr version. Assume that it is sufficient, since
5568 # it is in the source tree, and the library has not been built yet
5569 # but it would be included on the link line in the version check below
5570 # hence making the test fail.
5574 # Specify a location for gmp
5576 # Check whether --with-gmp-dir was given.
5577 if test "${with_gmp_dir+set}" = set; then :
5578 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
5579 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5584 # Check whether --with-gmp was given.
5585 if test "${with_gmp+set}" = set; then :
5590 # Check whether --with-gmp-include was given.
5591 if test "${with_gmp_include+set}" = set; then :
5592 withval
=$with_gmp_include;
5596 # Check whether --with-gmp-lib was given.
5597 if test "${with_gmp_lib+set}" = set; then :
5598 withval
=$with_gmp_lib;
5603 if test "x$with_gmp" != x
; then
5604 gmplibs
="-L$with_gmp/lib $gmplibs"
5605 gmpinc
="-I$with_gmp/include $gmpinc"
5607 if test "x$with_gmp_include" != x
; then
5608 gmpinc
="-I$with_gmp_include $gmpinc"
5610 if test "x$with_gmp_lib" != x
; then
5611 gmplibs
="-L$with_gmp_lib $gmplibs"
5613 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5614 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5615 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5616 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5617 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5618 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5619 # Do not test the gmp version. Assume that it is sufficient, since
5620 # it is in the source tree, and the library has not been built yet
5621 # but it would be included on the link line in the version check below
5622 # hence making the test fail.
5626 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5628 saved_CFLAGS
="$CFLAGS"
5629 CFLAGS
="$CFLAGS $gmpinc"
5630 # Check for the recommended and required versions of GMP.
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5632 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5635 /* end confdefs.h. */
5641 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5642 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5643 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5651 if ac_fn_c_try_compile
"$LINENO"; then :
5652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5653 /* end confdefs.h. */
5659 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5660 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5661 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5669 if ac_fn_c_try_compile
"$LINENO"; then :
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5671 $as_echo "yes" >&6; }
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5674 $as_echo "buggy but acceptable" >&6; }
5676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 $as_echo "no" >&6; }; have_gmp
=no
5681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5683 # If we have GMP, check the MPFR version.
5684 if test x
"$have_gmp" = xyes
; then
5685 # Check for the recommended and required versions of MPFR.
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5687 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5689 /* end confdefs.h. */
5696 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5704 if ac_fn_c_try_compile
"$LINENO"; then :
5705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5706 /* end confdefs.h. */
5713 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5721 if ac_fn_c_try_compile
"$LINENO"; then :
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5723 $as_echo "yes" >&6; }
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5726 $as_echo "buggy but acceptable" >&6; }
5728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5731 $as_echo "no" >&6; }; have_gmp
=no
5733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5736 # Check for the MPC header version.
5737 if test x
"$have_gmp" = xyes
; then
5738 # Check for the recommended and required versions of MPC.
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5740 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5748 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5756 if ac_fn_c_try_compile
"$LINENO"; then :
5757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5758 /* end confdefs.h. */
5764 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5772 if ac_fn_c_try_compile
"$LINENO"; then :
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5774 $as_echo "yes" >&6; }
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5777 $as_echo "buggy but acceptable" >&6; }
5779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5782 $as_echo "no" >&6; }; have_gmp
=no
5784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5787 # Now check the MPFR library.
5788 if test x
"$have_gmp" = xyes
; then
5790 LIBS
="$LIBS $gmplibs"
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5792 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5794 /* end confdefs.h. */
5806 mpfr_atan2 (n, n, x, GMP_RNDN);
5807 mpfr_erfc (n, x, GMP_RNDN);
5808 mpfr_subnormalize (x, t, GMP_RNDN);
5812 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5813 mpc_cosh (c, c, MPC_RNDNN);
5814 mpc_pow (c, c, c, MPC_RNDNN);
5815 mpc_acosh (c, c, MPC_RNDNN);
5822 if ac_fn_c_try_link
"$LINENO"; then :
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5824 $as_echo "yes" >&6; }
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }; have_gmp
=no
5829 rm -f core conftest.err conftest.
$ac_objext \
5830 conftest
$ac_exeext conftest.
$ac_ext
5834 CFLAGS
="$saved_CFLAGS"
5836 # The library versions listed in the error message below should match
5837 # the HARD-minimums enforced above.
5838 if test x
$have_gmp != xyes
; then
5839 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5840 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5841 their locations. Source code for these libraries can be found at
5842 their respective hosting sites as well as at
5843 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5844 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5845 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5846 make sure that you have installed both the libraries and the header
5847 files. They may be located in separate packages." "$LINENO" 5
5851 # Flags needed for both GMP, MPFR and/or MPC.
5859 # Libraries to use for stage1 or when not bootstrapping.
5861 # Check whether --with-stage1-libs was given.
5862 if test "${with_stage1_libs+set}" = set; then :
5863 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5866 stage1_libs
=$withval
5874 # Linker flags to use for stage1 or when not bootstrapping.
5876 # Check whether --with-stage1-ldflags was given.
5877 if test "${with_stage1_ldflags+set}" = set; then :
5878 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5881 stage1_ldflags
=$withval
5885 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5886 # if supported. But if the user explicitly specified the libraries to use,
5887 # trust that they are doing what they want.
5888 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5889 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5895 # Libraries to use for stage2 and later builds.
5897 # Check whether --with-boot-libs was given.
5898 if test "${with_boot_libs+set}" = set; then :
5899 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5902 poststage1_libs
=$withval
5910 # Linker flags to use for stage2 and later builds.
5912 # Check whether --with-boot-ldflags was given.
5913 if test "${with_boot_ldflags+set}" = set; then :
5914 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5917 poststage1_ldflags
=$withval
5921 # In stages 2 and 3, default to linking libstdc++ and libgcc
5922 # statically. But if the user explicitly specified the libraries to
5923 # use, trust that they are doing what they want.
5924 if test "$poststage1_libs" = ""; then
5925 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5931 # GCC GRAPHITE dependency isl.
5932 # Basic setup is inlined here, actual checks are in config/isl.m4
5935 # Check whether --with-isl was given.
5936 if test "${with_isl+set}" = set; then :
5941 # Treat --without-isl as a request to disable
5942 # GRAPHITE support and skip all following checks.
5943 if test "x$with_isl" != "xno"; then
5947 # Check whether --with-isl-include was given.
5948 if test "${with_isl_include+set}" = set; then :
5949 withval
=$with_isl_include;
5953 # Check whether --with-isl-lib was given.
5954 if test "${with_isl_lib+set}" = set; then :
5955 withval
=$with_isl_lib;
5959 # Check whether --enable-isl-version-check was given.
5960 if test "${enable_isl_version_check+set}" = set; then :
5961 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5963 ENABLE_ISL_CHECK
=yes
5967 # Initialize isllibs and islinc.
5976 isllibs
="-L$with_isl/lib"
5977 islinc
="-I$with_isl/include"
5980 if test "x${with_isl_include}" != x
; then
5981 islinc
="-I$with_isl_include"
5983 if test "x${with_isl_lib}" != x
; then
5984 isllibs
="-L$with_isl_lib"
5986 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5987 && test -d ${srcdir}/isl
; then
5988 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5989 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
5992 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
5995 isllibs
="${isllibs} -lisl"
5999 if test "${ENABLE_ISL_CHECK}" = yes ; then
6000 _isl_saved_CFLAGS
=$CFLAGS
6001 _isl_saved_LDFLAGS
=$LDFLAGS
6002 _isl_saved_LIBS
=$LIBS
6004 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6005 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
6006 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
6009 $as_echo_n "checking for isl 0.15 or later... " >&6; }
6010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6011 /* end confdefs.h. */
6012 #include <isl/schedule.h>
6016 isl_options_set_schedule_serialize_sccs (NULL, 0);
6021 if ac_fn_c_try_link
"$LINENO"; then :
6026 rm -f core conftest.err conftest.
$ac_objext \
6027 conftest
$ac_exeext conftest.
$ac_ext
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6029 $as_echo "$gcc_cv_isl" >&6; }
6031 if test "${gcc_cv_isl}" = no
; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
6033 $as_echo "required isl version is 0.15 or later" >&6; }
6036 CFLAGS
=$_isl_saved_CFLAGS
6037 LDFLAGS
=$_isl_saved_LDFLAGS
6038 LIBS
=$_isl_saved_LIBS
6046 if test "x${with_isl}" = xno
; then
6047 graphite_requested
=no
6048 elif test "x${with_isl}" != x \
6049 ||
test "x${with_isl_include}" != x \
6050 ||
test "x${with_isl_lib}" != x
; then
6051 graphite_requested
=yes
6053 graphite_requested
=no
6058 if test "${gcc_cv_isl}" = no
; then
6063 if test "${graphite_requested}" = yes \
6064 && test "x${isllibs}" = x \
6065 && test "x${islinc}" = x
; then
6067 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6073 # If the isl check failed, disable builds of in-tree variant of isl
6074 if test "x$with_isl" = xno ||
6075 test "x$gcc_cv_isl" = xno
; then
6076 noconfigdirs
="$noconfigdirs isl"
6083 # Check for LTO support.
6084 # Check whether --enable-lto was given.
6085 if test "${enable_lto+set}" = set; then :
6086 enableval
=$enable_lto; enable_lto
=$enableval
6088 enable_lto
=yes; default_enable_lto
=yes
6097 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6098 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6099 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6108 if test $target_elf = yes; then :
6109 # ELF platforms build the lto-plugin always.
6110 build_lto_plugin
=yes
6113 if test x
"$default_enable_lto" = x
"yes" ; then
6115 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6116 # On other non-ELF platforms, LTO has yet to be validated.
6120 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6121 # It would also be nice to check the binutils support, but we don't
6122 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6123 # warn during gcc/ subconfigure; unless you're bootstrapping with
6124 # -flto it won't be needed until after installation anyway.
6126 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6127 *) if test x
"$enable_lto" = x
"yes"; then
6128 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
6133 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6134 # Build it unless LTO was explicitly disabled.
6136 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6143 # Check whether --enable-linker-plugin-configure-flags was given.
6144 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6145 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6147 extra_linker_plugin_configure_flags
=
6151 # Check whether --enable-linker-plugin-flags was given.
6152 if test "${enable_linker_plugin_flags+set}" = set; then :
6153 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6155 extra_linker_plugin_flags
=
6160 # Enable --enable-host-shared.
6161 # Checked early to determine whether jit is an 'all' language
6162 # Check whether --enable-host-shared was given.
6163 if test "${enable_host_shared+set}" = set; then :
6164 enableval
=$enable_host_shared; host_shared
=$enableval
6171 # By default, C and C++ are the only stage 1 languages.
6172 stage1_languages
=,c
,
6174 # Target libraries that we bootstrap.
6175 bootstrap_target_libs
=,target-libgcc
,
6177 # Figure out what language subdirectories are present.
6178 # Look if the user specified --enable-languages="..."; if not, use
6179 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6181 # NB: embedded tabs in this IF block -- do not untabify
6182 if test -d ${srcdir}/gcc
; then
6183 if test x
"${enable_languages+set}" != xset
; then
6184 if test x
"${LANGUAGES+set}" = xset
; then
6185 enable_languages
="${LANGUAGES}"
6186 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6188 enable_languages
=default
6191 if test x
"${enable_languages}" = x ||
6192 test x
"${enable_languages}" = xyes
;
6194 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6198 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6200 # 'f95' is the old name for the 'fortran' language. We issue a warning
6201 # and make the substitution.
6202 case ,${enable_languages}, in
6204 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6205 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6209 # If bootstrapping, C++ must be enabled.
6210 case ",$enable_languages,:$enable_bootstrap" in
6213 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6214 enable_languages
="${enable_languages},c++"
6216 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
6221 # First scan to see if an enabled language requires some other language.
6222 # We assume that a given config-lang.in will list all the language
6223 # front ends it requires, even if some are required indirectly.
6224 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6225 case ${lang_frag} in
6227 # The odd quoting in the next line works around
6228 # an apparent bug in bash 1.12 on linux.
6229 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6231 # From the config-lang.in, get $language, $lang_requires, and
6232 # $lang_requires_boot_languages.
6235 lang_requires_boot_languages
=
6236 # set srcdir during sourcing lang_frag to the gcc dir.
6237 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
6238 # polutes this shell
6239 saved_srcdir
=${srcdir}
6240 srcdir
=${srcdir}/gcc .
${lang_frag}
6241 srcdir
=${saved_srcdir}
6242 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6243 case ,${enable_languages}, in
6248 echo " \`$other' language required by \`$language'; enabling" 1>&2
6249 enable_languages
="${enable_languages},${other}"
6253 for other
in ${lang_requires_boot_languages} ; do
6254 if test "$other" != "c"; then
6255 case ,${enable_stage1_languages}, in
6260 case ,${enable_languages}, in
6262 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6263 enable_stage1_languages
="$enable_stage1_languages,${other}"
6274 new_enable_languages
=,c
,
6276 # If LTO is enabled, add the LTO front end.
6277 if test "$enable_lto" = "yes" ; then
6278 case ,${enable_languages}, in
6280 *) enable_languages
="${enable_languages},lto" ;;
6282 if test "${build_lto_plugin}" = "yes" ; then
6283 configdirs
="$configdirs lto-plugin"
6287 # If we're building an offloading compiler, add the LTO front end.
6288 if test x
"$enable_as_accelerator_for" != x
; then
6289 case ,${enable_languages}, in
6291 *) enable_languages
="${enable_languages},lto" ;;
6295 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
6296 potential_languages
=,c
,
6298 enabled_target_libs
=
6299 disabled_target_libs
=
6301 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6302 case ${lang_frag} in
6304 # The odd quoting in the next line works around
6305 # an apparent bug in bash 1.12 on linux.
6306 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6308 # From the config-lang.in, get $language, $target_libs,
6309 # $lang_dirs, $boot_language, and $build_by_default
6315 build_by_default
=yes
6316 # set srcdir during sourcing. See above about save & restore
6317 saved_srcdir
=${srcdir}
6318 srcdir
=${srcdir}/gcc .
${lang_frag}
6319 srcdir
=${saved_srcdir}
6320 if test x
${language} = x
; then
6321 echo "${lang_frag} doesn't set \$language." 1>&2
6325 if test "$language" = "c++"; then
6330 # C is always enabled, so no need to add it again
6331 if test "$language" != "c"; then
6332 case ,${enable_languages}, in
6334 # Language was explicitly selected; include it
6338 # All languages are enabled
6342 # 'default' was selected, select it if it is a default language
6343 add_this_lang
=${build_by_default}
6348 # Disable languages that need other directories if these aren't available.
6349 for i
in $subdir_requires; do
6350 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6351 case ${add_this_lang} in
6353 # Specifically requested language; tell them.
6354 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
6358 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
6359 add_this_lang
=unsupported
6363 add_this_lang
=unsupported
6368 # Disable Ada if no preexisting GNAT is available.
6369 case ${add_this_lang}:${language}:${have_gnat} in
6371 # Specifically requested language; tell them.
6372 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
6376 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
6377 add_this_lang
=unsupported
6381 add_this_lang
=unsupported
6385 # Disable jit if -enable-host-shared not specified
6386 case ${add_this_lang}:${language}:${host_shared} in
6388 # PR jit/64780: explicitly specify --enable-host-shared
6390 Enabling language \"jit\" requires --enable-host-shared.
6392 --enable-host-shared typically slows the rest of the compiler down by
6393 a few %, so you must explicitly enable it.
6395 If you want to build both the jit and the regular compiler, it is often
6396 best to do this via two separate configure/builds, in separate
6397 directories, to avoid imposing the performance cost of
6398 --enable-host-shared on the regular compiler." "$LINENO" 5
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
6402 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
6403 add_this_lang
=unsupported
6407 add_this_lang
=unsupported
6411 # Disable a language that is unsupported by the target.
6412 case "${add_this_lang}: $unsupported_languages " in
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
6417 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
6418 add_this_lang
=unsupported
6422 case $add_this_lang in
6424 # Remove language-dependent dirs.
6425 disabled_target_libs
="$disabled_target_libs $target_libs"
6426 noconfigdirs
="$noconfigdirs $lang_dirs"
6429 # Remove language-dependent dirs; still show language as supported.
6430 disabled_target_libs
="$disabled_target_libs $target_libs"
6431 noconfigdirs
="$noconfigdirs $lang_dirs"
6432 potential_languages
="${potential_languages}${language},"
6435 new_enable_languages
="${new_enable_languages}${language},"
6436 potential_languages
="${potential_languages}${language},"
6437 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6438 enabled_target_libs
="$enabled_target_libs $target_libs"
6439 case "${boot_language}:,$enable_stage1_languages," in
6440 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6441 # Add to (comma-separated) list of stage 1 languages.
6442 case ",$stage1_languages," in
6443 *,$language,* |
,yes, |
,all
,) ;;
6444 *) stage1_languages
="${stage1_languages}${language}," ;;
6446 # We need to bootstrap any supporting libraries.
6447 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6456 # Add target libraries which are only needed for disabled languages
6458 if test -n "$disabled_target_libs"; then
6459 for dir
in $disabled_target_libs; do
6460 case " $enabled_target_libs " in
6462 *) noconfigdirs
="$noconfigdirs $dir" ;;
6467 # Check whether --enable-stage1-languages was given.
6468 if test "${enable_stage1_languages+set}" = set; then :
6469 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6471 # Set it to something that will have no effect in the loop below
6472 enable_stage1_languages
=c
;;
6474 enable_stage1_languages
=`echo $new_enable_languages | \
6475 sed -e "s/^,//" -e "s/,$//" ` ;;
6477 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6478 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6481 # Add "good" languages from enable_stage1_languages to stage1_languages,
6482 # while "bad" languages go in missing_languages. Leave no duplicates.
6483 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6484 case $potential_languages in
6486 case $stage1_languages in
6488 *) stage1_languages
="$stage1_languages$i," ;;
6491 case $missing_languages in
6493 *) missing_languages
="$missing_languages$i," ;;
6500 # Remove leading/trailing commas that were added for simplicity
6501 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6502 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6503 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6504 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6506 if test "x$missing_languages" != x
; then
6508 The following requested languages could not be built: ${missing_languages}
6509 Supported languages are: ${potential_languages}" "$LINENO" 5
6511 if test "x$new_enable_languages" != "x$enable_languages"; then
6512 echo The following languages will be built
: ${new_enable_languages}
6513 enable_languages
="$new_enable_languages"
6517 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6520 # Handle --disable-<component> generically.
6521 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6522 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6523 varname
=`echo $dirname | sed -e s/+/_/g`
6524 if eval test x\
${enable_${varname}} "=" xno
; then
6525 noconfigdirs
="$noconfigdirs $dir"
6529 # Check for Boehm's garbage collector
6530 # Check whether --enable-objc-gc was given.
6531 if test "${enable_objc_gc+set}" = set; then :
6532 enableval
=$enable_objc_gc;
6536 # Check whether --with-target-bdw-gc was given.
6537 if test "${with_target_bdw_gc+set}" = set; then :
6538 withval
=$with_target_bdw_gc;
6542 # Check whether --with-target-bdw-gc-include was given.
6543 if test "${with_target_bdw_gc_include+set}" = set; then :
6544 withval
=$with_target_bdw_gc_include;
6548 # Check whether --with-target-bdw-gc-lib was given.
6549 if test "${with_target_bdw_gc_lib+set}" = set; then :
6550 withval
=$with_target_bdw_gc_lib;
6554 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6556 $as_echo_n "checking for bdw garbage collector... " >&6; }
6557 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6559 $as_echo "using bdw-gc in default locations" >&6; }
6561 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6562 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6563 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6564 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6567 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6572 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6573 case ,${enable_languages}, in
6575 # Disable libitm, libsanitizer if we're not building libstdc++
6576 case "${noconfigdirs}" in
6577 *target-libstdc
++-v3*)
6578 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
6584 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6588 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6589 # $build_configdirs and $target_configdirs.
6590 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6593 for dir
in .
$skipdirs $noconfigdirs ; do
6594 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6595 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6596 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6597 if test -r $srcdir/$dirname/configure
; then
6598 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6601 notsupp
="$notsupp $dir"
6605 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6606 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6607 if test -r $srcdir/$dirname/configure
; then
6608 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6611 notsupp
="$notsupp $dir"
6615 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6616 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6617 if test -r $srcdir/$dirname/configure
; then
6618 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6621 notsupp
="$notsupp $dir"
6627 # Quietly strip out all directories which aren't configurable in this tree.
6628 # This relies on all configurable subdirectories being autoconfiscated, which
6630 build_configdirs_all
="$build_configdirs"
6632 for i
in ${build_configdirs_all} ; do
6633 j
=`echo $i | sed -e s/build-//g`
6634 if test -f ${srcdir}/$j/configure
; then
6635 build_configdirs
="${build_configdirs} $i"
6639 configdirs_all
="$configdirs"
6641 for i
in ${configdirs_all} ; do
6642 if test -f ${srcdir}/$i/configure
; then
6643 configdirs
="${configdirs} $i"
6647 target_configdirs_all
="$target_configdirs"
6649 for i
in ${target_configdirs_all} ; do
6650 j
=`echo $i | sed -e s/target-//g`
6651 if test -f ${srcdir}/$j/configure
; then
6652 target_configdirs
="${target_configdirs} $i"
6656 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6657 # so we have to add it after the preceding checks.
6658 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6660 case " $configdirs " in
6662 # If we can build libiberty, we can also build libiberty-linker-plugin.
6663 configdirs
="$configdirs libiberty-linker-plugin"
6664 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6665 --with-libiberty=../libiberty-linker-plugin";;
6667 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
6671 # Sometimes we have special requirements for the host libiberty.
6672 extra_host_libiberty_configure_flags
=
6673 extra_host_zlib_configure_flags
=
6674 case " $configdirs " in
6675 *" lto-plugin "* |
*" libcc1 "*)
6676 # When these are to be built as shared libraries, the same applies to
6678 extra_host_libiberty_configure_flags
=--enable-shared
6681 # When bfd is to be built as a shared library, the same applies to
6683 if test "$enable_shared" = "yes"; then
6684 extra_host_zlib_configure_flags
=--enable-host-shared
6691 # Produce a warning message for the subdirs we can't configure.
6692 # This isn't especially interesting in the Cygnus tree, but in the individual
6693 # FSF releases, it's important to let people know when their machine isn't
6694 # supported by the one or two programs in a package.
6696 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6697 # If $appdirs is non-empty, at least one of those directories must still
6698 # be configured, or we error out. (E.g., if the gas release supports a
6699 # specified target in some subdirs but not the gas subdir, we shouldn't
6700 # pretend that all is well.)
6701 if test -n "$appdirs" ; then
6702 for dir
in $appdirs ; do
6703 if test -r $dir/Makefile.
in ; then
6704 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6708 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6714 if test -n "$appdirs" ; then
6715 echo "*** This configuration is not supported by this package." 1>&2
6719 # Okay, some application will build, or we don't care to check. Still
6720 # notify of subdirs not getting built.
6721 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6722 echo " ${notsupp}" 1>&2
6723 echo " (Any other directories should still work fine.)" 1>&2
6731 # To find our prefix, in gcc_cv_tool_prefix.
6733 # The user is always right.
6734 if test "${PATH_SEPARATOR+set}" != set; then
6735 echo "#! /bin/sh" >conf$$.sh
6736 echo "exit 0" >>conf$$.sh
6738 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6747 get_gcc_base_ver
="cat"
6749 # Check whether --with-gcc-major-version-only was given.
6750 if test "${with_gcc_major_version_only+set}" = set; then :
6751 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
6752 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
6762 if test "x$exec_prefix" = xNONE
; then
6763 if test "x$prefix" = xNONE
; then
6764 gcc_cv_tool_prefix
=$ac_default_prefix
6766 gcc_cv_tool_prefix
=$prefix
6769 gcc_cv_tool_prefix
=$exec_prefix
6772 # If there is no compiler in the tree, use the PATH only. In any
6773 # case, if there is no compiler in the tree nobody should use
6774 # AS_FOR_TARGET and LD_FOR_TARGET.
6775 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6776 if test x
$with_gcc_major_version_only = xyes
; then
6777 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
6779 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6781 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6782 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6783 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6784 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6785 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6786 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6791 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6792 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6800 # Check whether --with-build-sysroot was given.
6801 if test "${with_build_sysroot+set}" = set; then :
6802 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6803 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6806 SYSROOT_CFLAGS_FOR_TARGET
=
6812 # Check whether --with-debug-prefix-map was given.
6813 if test "${with_debug_prefix_map+set}" = set; then :
6814 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6815 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6816 for debug_map
in $withval; do
6817 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6821 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6826 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6827 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6828 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6829 # We want to ensure that TARGET libraries (which we know are built with
6830 # gcc) are built with "-O2 -g", so include those options when setting
6831 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6832 if test "x$CFLAGS_FOR_TARGET" = x
; then
6833 if test "x${is_cross_compiler}" = xyes
; then
6834 CFLAGS_FOR_TARGET
="-g -O2"
6836 CFLAGS_FOR_TARGET
=$CFLAGS
6839 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6842 *" -g "* |
*" -g3 "*) ;;
6843 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6849 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6850 if test "x${is_cross_compiler}" = xyes
; then
6851 CXXFLAGS_FOR_TARGET
="-g -O2"
6853 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6854 case " $CXXFLAGS " in
6856 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6858 case " $CXXFLAGS " in
6859 *" -g "* |
*" -g3 "*) ;;
6860 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6868 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6869 # the named directory are copied to $(tooldir)/sys-include.
6870 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6871 if test x
${is_cross_compiler} = xno
; then
6872 echo 1>&2 '***' --with-headers is only supported when cross compiling
6875 if test x
"${with_headers}" != xyes
; then
6876 x
=${gcc_cv_tool_prefix}
6877 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6881 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6882 # the name directories are copied to $(tooldir)/lib. Multiple directories
6884 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6885 if test x
${is_cross_compiler} = xno
; then
6886 echo 1>&2 '***' --with-libs is only supported when cross compiling
6889 if test x
"${with_libs}" != xyes
; then
6890 # Copy the libraries in reverse order, so that files in the first named
6891 # library override files in subsequent libraries.
6892 x
=${gcc_cv_tool_prefix}
6893 for l
in ${with_libs}; do
6894 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6899 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6901 # This is done by determining whether or not the appropriate directory
6902 # is available, and by checking whether or not specific configurations
6903 # have requested that this magic not happen.
6905 # The command line options always override the explicit settings in
6906 # configure.ac, and the settings in configure.ac override this magic.
6908 # If the default for a toolchain is to use GNU as and ld, and you don't
6909 # want to do that, then you should use the --without-gnu-as and
6910 # --without-gnu-ld options for the configure script. Similarly, if
6911 # the default is to use the included zlib and you don't want to do that,
6912 # you should use the --with-system-zlib option for the configure script.
6914 if test x
${use_gnu_as} = x
&&
6915 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6917 extra_host_args
="$extra_host_args --with-gnu-as"
6920 if test x
${use_gnu_ld} = x
&&
6921 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6923 extra_host_args
="$extra_host_args --with-gnu-ld"
6926 if test x
${use_included_zlib} = x
&&
6927 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6930 with_system_zlib
=yes
6931 extra_host_args
="$extra_host_args --with-system-zlib"
6934 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6935 # can detect this case.
6937 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6939 extra_host_args
="$extra_host_args --with-newlib"
6942 # Handle ${copy_dirs}
6943 set fnord
${copy_dirs}
6945 while test $# != 0 ; do
6946 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6949 echo Copying
$1 to
$2
6951 # Use the install script to create the directory and all required
6952 # parent directories.
6953 if test -d $2 ; then
6957 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6960 # Copy the directory, assuming we have tar.
6961 # FIXME: Should we use B in the second tar? Not all systems support it.
6962 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6964 # It is the responsibility of the user to correctly adjust all
6965 # symlinks. If somebody can figure out how to handle them correctly
6966 # here, feel free to add the code.
6973 # Determine a target-dependent exec_prefix that the installed
6974 # gcc will search in. Keep this list sorted by triplet, with
6975 # the *-*-osname triplets last.
6978 i
[34567]86-pc-msdosdjgpp*)
6979 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6984 md_exec_prefix
=/usr
/ccs
/bin
6988 extra_arflags_for_target
=
6989 extra_nmflags_for_target
=
6990 extra_ranlibflags_for_target
=
6991 target_makefile_frag
=/dev
/null
6994 target_makefile_frag
="config/mt-spu"
6996 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6997 target_makefile_frag
="config/mt-sde"
6999 mipsisa
*-*-elfoabi*)
7000 target_makefile_frag
="config/mt-mips-elfoabi"
7002 mips
*-*-*linux
* | mips
*-*-gnu*)
7003 target_makefile_frag
="config/mt-mips-gnu"
7006 target_makefile_frag
="config/mt-nios2-elf"
7009 target_makefile_frag
="config/mt-android"
7011 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7012 target_makefile_frag
="config/mt-gnu"
7014 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7015 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7016 # commands to handle both 32-bit and 64-bit objects. These flags are
7017 # harmless if we're using GNU nm or ar.
7018 extra_arflags_for_target
=" -X32_64"
7019 extra_nmflags_for_target
=" -B -X32_64"
7023 alphaieee_frag
=/dev
/null
7026 # This just makes sure to use the -mieee option to build target libs.
7027 # This should probably be set individually by each library.
7028 alphaieee_frag
="config/mt-alphaieee"
7032 # If --enable-target-optspace always use -Os instead of -O2 to build
7033 # the target libraries, similarly if it is not specified, use -Os
7034 # on selected platforms.
7035 ospace_frag
=/dev
/null
7036 case "${enable_target_optspace}:${target}" in
7038 ospace_frag
="config/mt-ospace"
7041 ospace_frag
="config/mt-d30v"
7043 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
7044 ospace_frag
="config/mt-ospace"
7049 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7053 # Some systems (e.g., one of the i386-aix systems the gas testers are
7054 # using) don't handle "\$" correctly, so don't use it here.
7055 tooldir
='${exec_prefix}'/${target_noncanonical}
7056 build_tooldir
=${tooldir}
7058 # Create a .gdbinit file which runs the one in srcdir
7059 # and tells GDB to look there for source files.
7061 if test -r ${srcdir}/.gdbinit
; then
7064 *) cat > .
/.gdbinit
<<EOF
7068 source ${srcdir}/.gdbinit
7074 # Make sure that the compiler is able to generate an executable. If it
7075 # can't, we are probably in trouble. We don't care whether we can run the
7076 # executable--we might be using a cross compiler--we only care whether it
7077 # can be created. At this point the main configure script has set CC.
7079 echo "int main () { return 0; }" > conftest.c
7080 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7081 if test $?
= 0 ; then
7082 if test -s conftest ||
test -s conftest.exe
; then
7088 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7089 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7096 # Decide which environment variable is used to find dynamic libraries.
7098 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7099 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7100 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7101 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7104 # On systems where the dynamic library environment variable is PATH,
7105 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7106 # built executables to PATH.
7107 if test "$RPATH_ENVVAR" = PATH
; then
7108 GCC_SHLIB_SUBDIR
=/shlib
7113 # Adjust the toplevel makefile according to whether bootstrap was selected.
7114 case $enable_bootstrap in
7116 bootstrap_suffix
=bootstrap
7117 BUILD_CONFIG
=bootstrap-debug
7120 bootstrap_suffix
=no-bootstrap
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7126 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7129 # Check whether --with-build-config was given.
7130 if test "${with_build_config+set}" = set; then :
7131 withval
=$with_build_config; case $with_build_config in
7132 yes) with_build_config
= ;;
7133 no
) with_build_config
= BUILD_CONFIG
= ;;
7138 if test "x${with_build_config}" != x
; then
7139 BUILD_CONFIG
=$with_build_config
7141 case $BUILD_CONFIG in
7143 if echo "int f (void) { return 0; }" > conftest.c
&&
7144 ${CC} -c conftest.c
&&
7145 mv conftest.o conftest.o.g0
&&
7146 ${CC} -c -g conftest.c
&&
7147 mv conftest.o conftest.o.g
&&
7148 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7153 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7158 $as_echo "$BUILD_CONFIG" >&6; }
7161 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7163 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7164 # Check whether --enable-vtable-verify was given.
7165 if test "${enable_vtable_verify+set}" = set; then :
7166 enableval
=$enable_vtable_verify; case "$enableval" in
7167 yes) enable_vtable_verify
=yes ;;
7168 no
) enable_vtable_verify
=no
;;
7169 *) enable_vtable_verify
=no
;;
7172 enable_vtable_verify
=no
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7176 $as_echo "$enable_vtable_verify" >&6; }
7178 # Record target_configdirs and the configure arguments for target and
7179 # build configuration in Makefile.
7180 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7181 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7182 bootstrap_fixincludes
=no
7184 # If we are building libgomp, bootstrap it.
7185 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7186 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7189 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7190 # or bootstrap-ubsan, bootstrap it.
7191 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7192 case "$BUILD_CONFIG" in
7193 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7194 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7195 bootstrap_fixincludes
=yes
7200 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7201 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7202 test "$enable_vtable_verify" != no
; then
7203 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7206 # Determine whether gdb needs tk/tcl or not.
7207 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7208 # and in that case we want gdb to be built without tk. Ugh!
7209 # In fact I believe gdb is the *only* package directly dependent on tk,
7210 # so we should be able to put the 'maybe's in unconditionally and
7211 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7212 # 100% sure that that's safe though.
7214 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7215 case "$enable_gdbtk" in
7219 GDB_TK
="${gdb_tk}" ;;
7221 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7222 # distro. Eventually someone will fix this and move Insight, nee
7223 # gdbtk to a separate directory.
7224 if test -d ${srcdir}/gdb
/gdbtk
; then
7231 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7232 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7234 # Strip out unwanted targets.
7236 # While at that, we remove Makefiles if we were started for recursive
7237 # configuration, so that the top-level Makefile reconfigures them,
7238 # like we used to do when configure itself was recursive.
7240 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7241 # but now we're fixing up the Makefile ourselves with the additional
7242 # commands passed to AC_CONFIG_FILES. Use separate variables
7243 # extrasub-{build,host,target} not because there is any reason to split
7244 # the substitutions up that way, but only to remain below the limit of
7245 # 99 commands in a script, for HP-UX sed.
7247 # Do not nest @if/@endif or @unless/@endunless pairs, because
7248 # configure will not warn you at all.
7250 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7251 yes:yes:*\ gold\
*:*,c
++,*) ;;
7252 yes:yes:*\ gold\
*:*)
7253 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7258 for module
in ${build_configdirs} ; do
7259 if test -z "${no_recursion}" \
7260 && test -f ${build_subdir}/${module}/Makefile
; then
7261 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7262 rm -f ${build_subdir}/${module}/Makefile
7264 extrasub_build
="$extrasub_build
7265 /^@if build-$module\$/d
7266 /^@endif build-$module\$/d
7267 /^@unless build-$module\$/,/^@endunless build-$module\$/d
7268 /^@if build-$module-$bootstrap_suffix\$/d
7269 /^@endif build-$module-$bootstrap_suffix\$/d
7270 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
7273 for module
in ${configdirs} ; do
7274 if test -z "${no_recursion}"; then
7275 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7276 if test -f ${file}; then
7277 echo 1>&2 "*** removing ${file} to force reconfigure"
7282 case ${module},${bootstrap_fixincludes} in
7283 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7284 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7286 extrasub_host
="$extrasub_host
7288 /^@endif $module\$/d
7289 /^@unless $module\$/,/^@endunless $module\$/d
7290 /^@if $module-$host_bootstrap_suffix\$/d
7291 /^@endif $module-$host_bootstrap_suffix\$/d
7292 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
7295 for module
in ${target_configdirs} ; do
7296 if test -z "${no_recursion}" \
7297 && test -f ${target_subdir}/${module}/Makefile
; then
7298 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7299 rm -f ${target_subdir}/${module}/Makefile
7302 # We only bootstrap target libraries listed in bootstrap_target_libs.
7303 case $bootstrap_target_libs in
7304 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7305 *) target_bootstrap_suffix
=no-bootstrap
;;
7308 extrasub_target
="$extrasub_target
7309 /^@if target-$module\$/d
7310 /^@endif target-$module\$/d
7311 /^@unless target-$module\$/,/^@endunless target-$module\$/d
7312 /^@if target-$module-$target_bootstrap_suffix\$/d
7313 /^@endif target-$module-$target_bootstrap_suffix\$/d
7314 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
7317 # Do the final fixup along with target modules.
7318 extrasub_target
="$extrasub_target
7323 # Create the serialization dependencies. This uses a temporary file.
7325 # Check whether --enable-serial-configure was given.
7326 if test "${enable_serial_configure+set}" = set; then :
7327 enableval
=$enable_serial_configure;
7331 case ${enable_serial_configure} in
7333 enable_serial_build_configure
=yes
7334 enable_serial_host_configure
=yes
7335 enable_serial_target_configure
=yes
7339 # These force 'configure's to be done one at a time, to avoid problems
7340 # with contention over a shared config.cache.
7342 echo '# serdep.tmp' > serdep.tmp
7344 test "x${enable_serial_build_configure}" = xyes
&&
7345 for item
in ${build_configdirs} ; do
7348 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7353 test "x${enable_serial_host_configure}" = xyes
&&
7354 for item
in ${configdirs} ; do
7357 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7362 test "x${enable_serial_target_configure}" = xyes
&&
7363 for item
in ${target_configdirs} ; do
7366 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7370 serialization_dependencies
=serdep.tmp
7373 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7374 # target, nonopt, and variable assignments. These are the ones we
7375 # might not want to pass down to subconfigures. The exception being
7376 # --cache-file=/dev/null, which is used to turn off the use of cache
7377 # files altogether, and which should be passed on to subconfigures.
7378 # Also strip program-prefix, program-suffix, and program-transform-name,
7379 # so that we can pass down a consistent program-transform-name.
7384 eval "set -- $ac_configure_args"
7387 if test X
"$skip_next" = X
"yes"; then
7391 if test X
"$keep_next" = X
"yes"; then
7394 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7396 baseargs
="$baseargs '$ac_arg'"
7397 tbaseargs
="$tbaseargs '$ac_arg'"
7402 # Handle separated arguments. Based on the logic generated by
7405 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7406 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7407 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7408 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7422 --with-* |
--without-*)
7423 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7427 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7430 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7439 mpc | mpfr | gmp | isl
)
7440 # If we're processing --with-$lib, --with-$lib-include or
7441 # --with-$lib-lib, for one of the libs above, and target is
7442 # different from host, don't pass the current argument to any
7443 # target library's configure.
7444 if test x
$is_cross_compiler = xyes
; then
7453 --cache-file=/dev
/null | \
7454 -cache-file=/dev
/null
)
7455 # Handled here to avoid the test to skip args below.
7456 baseargs
="$baseargs '$ac_arg'"
7457 tbaseargs
="$tbaseargs '$ac_arg'"
7458 # Assert: $separate_arg should always be no.
7459 keep_next
=$separate_arg
7475 -program-prefix* | \
7476 -program-suffix* | \
7477 -program-transform-name* )
7478 skip_next
=$separate_arg
7482 # An option. Add it.
7485 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7487 baseargs
="$baseargs '$ac_arg'"
7488 if test X
"$skip_targ" = Xno
; then
7489 tbaseargs
="$tbaseargs '$ac_arg'"
7491 keep_next
=$separate_arg
7494 # Either a variable assignment, or a nonopt (triplet). Don't
7495 # pass it down; let the Makefile handle this.
7500 # Remove the initial space we just introduced and, as these will be
7501 # expanded by make, quote '$'.
7502 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7504 # Add in --program-transform-name, after --program-prefix and
7505 # --program-suffix have been applied to it. Autoconf has already
7506 # doubled dollar signs and backslashes in program_transform_name; we want
7507 # the backslashes un-doubled, and then the entire thing wrapped in single
7508 # quotes, because this will be expanded first by make and then by the shell.
7509 # Also, because we want to override the logic in subdir configure scripts to
7510 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7511 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7512 ${program_transform_name}
7514 gcc_transform_name
=`cat conftestsed.out`
7515 rm -f conftestsed.out
7516 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7517 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7518 if test "$silent" = yes; then
7519 baseargs
="$baseargs --silent"
7520 tbaseargs
="$tbaseargs --silent"
7522 baseargs
="$baseargs --disable-option-checking"
7523 tbaseargs
="$tbaseargs --disable-option-checking"
7525 # Record and document user additions to sub configure arguments.
7530 # For the build-side libraries, we just need to pretend we're native,
7531 # and not use the same cache file. Multilibs are neither needed nor
7532 # desired. We can't even use the same cache file for all build-side
7533 # libraries, as they're compiled differently; some with C, some with
7534 # C++ or with different feature-enabling options.
7535 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7537 # For host modules, accept cache file option, or specification as blank.
7538 case "${cache_file}" in
7540 cache_file_option
="" ;;
7541 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7542 cache_file_option
="--cache-file=${cache_file}" ;;
7544 cache_file_option
="--cache-file=../${cache_file}" ;;
7547 # Host dirs don't like to share a cache file either, horribly enough.
7548 # This seems to be due to autoconf 2.5x stupidity.
7549 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7551 target_configargs
="$target_configargs ${tbaseargs}"
7553 # Passing a --with-cross-host argument lets the target libraries know
7554 # whether they are being built with a cross-compiler or being built
7555 # native. However, it would be better to use other mechanisms to make the
7556 # sorts of decisions they want to make on this basis. Please consider
7557 # this option to be deprecated. FIXME.
7558 if test x
${is_cross_compiler} = xyes
; then
7559 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7562 # Special user-friendly check for native x86_64-linux build, if
7563 # multilib is not explicitly enabled.
7564 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7565 x86_64-
*linux
*:yes:$build:$build:)
7566 # Make sure we have a development environment that handles 32-bit
7568 echo "int main () { return 0; }" > conftest.c
7569 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7570 if test $?
= 0 ; then
7571 if test -s conftest ||
test -s conftest.exe
; then
7576 if test x
${dev64} != xyes
; then
7577 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
7582 # Default to --enable-multilib.
7583 if test x
${enable_multilib} = x
; then
7584 target_configargs
="--enable-multilib ${target_configargs}"
7587 # Pass --with-newlib if appropriate. Note that target_configdirs has
7588 # changed from the earlier setting of with_newlib.
7589 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7590 target_configargs
="--with-newlib ${target_configargs}"
7593 # Different target subdirs use different values of certain variables
7594 # (notably CXX). Worse, multilibs use *lots* of different values.
7595 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7596 # it doesn't automatically accept command-line overrides of them.
7597 # This means it's not safe for target subdirs to share a cache file,
7598 # which is disgusting, but there you have it. Hopefully this can be
7599 # fixed in future. It's still worthwhile to use a cache file for each
7600 # directory. I think.
7602 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7603 # We need to pass --target, as newer autoconf's requires consistency
7604 # for target_alias and gcc doesn't manage it consistently.
7605 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7608 case " $target_configdirs " in
7610 case " $target_configargs " in
7611 *" --with-newlib "*)
7614 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7618 # If we're not building GCC, don't discard standard headers.
7619 if test -d ${srcdir}/gcc
; then
7620 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7622 if test "${build}" != "${host}"; then
7623 # On Canadian crosses, CC_FOR_TARGET will have already been set
7624 # by `configure', so we won't have an opportunity to add -Bgcc/
7625 # to it. This is right: we don't want to search that directory
7626 # for binaries, but we want the header files in there, so add
7628 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7630 # Someone might think of using the pre-installed headers on
7631 # Canadian crosses, in case the installed compiler is not fully
7632 # compatible with the compiler being built. In this case, it
7633 # would be better to flag an error than risking having
7634 # incompatible object files being constructed. We can't
7635 # guarantee that an error will be flagged, but let's hope the
7636 # compiler will do it, when presented with incompatible header
7641 case "${target}-${is_cross_compiler}" in
7642 i
[3456789]86-*-linux*-no)
7643 # Here host == target, so we don't need to build gcc,
7644 # so we don't want to discard standard headers.
7645 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7648 # If we're building newlib, use its generic headers last, but search
7649 # for any libc-related directories first (so make it the last -B
7651 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7653 # If we're building libgloss, find the startup file, simulator library
7654 # and linker script.
7655 case " $target_configdirs " in
7657 # Look for startup file, simulator library and maybe linker script.
7658 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7659 # Look for libnosys.a in case the target needs it.
7660 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7661 # Most targets have the linker script in the source directory.
7662 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7673 x86_64-
*mingw
* |
*-w64-mingw*)
7674 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7675 # however, use a symlink named 'mingw' in ${prefix} .
7676 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7679 # MinGW can't be handled as Cygwin above since it does not use newlib.
7680 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'
7684 # Allow the user to override the flags for
7685 # our build compiler if desired.
7686 if test x
"${build}" = x
"${host}" ; then
7687 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7688 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7689 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7692 # On Canadian crosses, we'll be searching the right directories for
7693 # the previously-installed cross compiler, so don't bother to add
7694 # flags for directories within the install tree of the compiler
7695 # being built; programs in there won't even run.
7696 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7697 # Search for pre-installed headers if nothing else fits.
7698 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7701 if test "x
${use_gnu_ld}" = x &&
7702 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7703 # Arrange for us to find uninstalled linker scripts.
7704 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7707 # Search for other target-specific linker scripts and such.
7710 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7714 # Makefile fragments.
7715 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7717 eval fragval=\$$frag
7718 if test $fragval != /dev/null; then
7719 eval $frag=${srcdir}/$fragval
7727 # Miscellanea: directories, flags, etc.
7736 # Build module lists & subconfigure args.
7740 # Host module lists & subconfigure args.
7745 # Target module lists & subconfigure args.
7767 # Generate default definitions for YACC, M4, LEX and other programs that run
7768 # on the build machine. These are used if the Makefile can't locate these
7769 # programs in objdir.
7770 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7772 for ac_prog in 'bison -y' byacc yacc
7774 # Extract the first word of "$ac_prog", so it can be a program name with args.
7775 set dummy $ac_prog; ac_word=$2
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7777 $as_echo_n "checking
for $ac_word...
" >&6; }
7778 if ${ac_cv_prog_YACC+:} false; then :
7779 $as_echo_n "(cached
) " >&6
7781 if test -n "$YACC"; then
7782 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7788 test -z "$as_dir" && as_dir=.
7789 for ac_exec_ext in '' $ac_executable_extensions; do
7790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7791 ac_cv_prog_YACC="$ac_prog"
7792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7801 YACC=$ac_cv_prog_YACC
7802 if test -n "$YACC"; then
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7804 $as_echo "$YACC" >&6; }
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7807 $as_echo "no
" >&6; }
7811 test -n "$YACC" && break
7813 test -n "$YACC" || YACC="$MISSING bison
-y"
7815 case " $build_configdirs " in
7816 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7819 for ac_prog in bison
7821 # Extract the first word of "$ac_prog", so it can be a program name with args.
7822 set dummy $ac_prog; ac_word=$2
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7824 $as_echo_n "checking
for $ac_word...
" >&6; }
7825 if ${ac_cv_prog_BISON+:} false; then :
7826 $as_echo_n "(cached
) " >&6
7828 if test -n "$BISON"; then
7829 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7835 test -z "$as_dir" && as_dir=.
7836 for ac_exec_ext in '' $ac_executable_extensions; do
7837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7838 ac_cv_prog_BISON="$ac_prog"
7839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7848 BISON=$ac_cv_prog_BISON
7849 if test -n "$BISON"; then
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7851 $as_echo "$BISON" >&6; }
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7854 $as_echo "no
" >&6; }
7858 test -n "$BISON" && break
7860 test -n "$BISON" || BISON="$MISSING bison
"
7862 case " $build_configdirs " in
7863 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7866 for ac_prog in gm4 gnum4 m4
7868 # Extract the first word of "$ac_prog", so it can be a program name with args.
7869 set dummy $ac_prog; ac_word=$2
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7871 $as_echo_n "checking
for $ac_word...
" >&6; }
7872 if ${ac_cv_prog_M4+:} false; then :
7873 $as_echo_n "(cached
) " >&6
7875 if test -n "$M4"; then
7876 ac_cv_prog_M4="$M4" # Let the user override the test.
7878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7882 test -z "$as_dir" && as_dir=.
7883 for ac_exec_ext in '' $ac_executable_extensions; do
7884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7885 ac_cv_prog_M4="$ac_prog"
7886 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7896 if test -n "$M4"; then
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7898 $as_echo "$M4" >&6; }
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7901 $as_echo "no
" >&6; }
7905 test -n "$M4" && break
7907 test -n "$M4" || M4="$MISSING m4"
7909 case " $build_configdirs " in
7910 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7913 for ac_prog in flex lex
7915 # Extract the first word of "$ac_prog", so it can be a program name with args.
7916 set dummy $ac_prog; ac_word=$2
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7918 $as_echo_n "checking
for $ac_word...
" >&6; }
7919 if ${ac_cv_prog_LEX+:} false; then :
7920 $as_echo_n "(cached
) " >&6
7922 if test -n "$LEX"; then
7923 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7929 test -z "$as_dir" && as_dir=.
7930 for ac_exec_ext in '' $ac_executable_extensions; do
7931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7932 ac_cv_prog_LEX="$ac_prog"
7933 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7943 if test -n "$LEX"; then
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7945 $as_echo "$LEX" >&6; }
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7948 $as_echo "no
" >&6; }
7952 test -n "$LEX" && break
7954 test -n "$LEX" || LEX="$MISSING flex
"
7956 case " $build_configdirs " in
7957 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7958 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7963 # Extract the first word of "$ac_prog", so it can be a program name with args.
7964 set dummy $ac_prog; ac_word=$2
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7966 $as_echo_n "checking
for $ac_word...
" >&6; }
7967 if ${ac_cv_prog_FLEX+:} false; then :
7968 $as_echo_n "(cached
) " >&6
7970 if test -n "$FLEX"; then
7971 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7977 test -z "$as_dir" && as_dir=.
7978 for ac_exec_ext in '' $ac_executable_extensions; do
7979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7980 ac_cv_prog_FLEX="$ac_prog"
7981 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7990 FLEX=$ac_cv_prog_FLEX
7991 if test -n "$FLEX"; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7993 $as_echo "$FLEX" >&6; }
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7996 $as_echo "no
" >&6; }
8000 test -n "$FLEX" && break
8002 test -n "$FLEX" || FLEX="$MISSING flex
"
8004 case " $build_configdirs " in
8005 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8008 for ac_prog in makeinfo
8010 # Extract the first word of "$ac_prog", so it can be a program name with args.
8011 set dummy $ac_prog; ac_word=$2
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8013 $as_echo_n "checking
for $ac_word...
" >&6; }
8014 if ${ac_cv_prog_MAKEINFO+:} false; then :
8015 $as_echo_n "(cached
) " >&6
8017 if test -n "$MAKEINFO"; then
8018 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8024 test -z "$as_dir" && as_dir=.
8025 for ac_exec_ext in '' $ac_executable_extensions; do
8026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8027 ac_cv_prog_MAKEINFO="$ac_prog"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8037 MAKEINFO=$ac_cv_prog_MAKEINFO
8038 if test -n "$MAKEINFO"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8040 $as_echo "$MAKEINFO" >&6; }
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8043 $as_echo "no
" >&6; }
8047 test -n "$MAKEINFO" && break
8049 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8051 case " $build_configdirs " in
8052 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8055 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8056 # higher, else we use the "missing
" dummy.
8057 if ${MAKEINFO} --version \
8058 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8061 MAKEINFO="$MISSING makeinfo
"
8067 # FIXME: expect and dejagnu may become build tools?
8069 for ac_prog in expect
8071 # Extract the first word of "$ac_prog", so it can be a program name with args.
8072 set dummy $ac_prog; ac_word=$2
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8074 $as_echo_n "checking
for $ac_word...
" >&6; }
8075 if ${ac_cv_prog_EXPECT+:} false; then :
8076 $as_echo_n "(cached
) " >&6
8078 if test -n "$EXPECT"; then
8079 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8085 test -z "$as_dir" && as_dir=.
8086 for ac_exec_ext in '' $ac_executable_extensions; do
8087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8088 ac_cv_prog_EXPECT="$ac_prog"
8089 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8098 EXPECT=$ac_cv_prog_EXPECT
8099 if test -n "$EXPECT"; then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8101 $as_echo "$EXPECT" >&6; }
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8104 $as_echo "no
" >&6; }
8108 test -n "$EXPECT" && break
8110 test -n "$EXPECT" || EXPECT="expect
"
8112 case " $configdirs " in
8114 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8118 for ac_prog in runtest
8120 # Extract the first word of "$ac_prog", so it can be a program name with args.
8121 set dummy $ac_prog; ac_word=$2
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8123 $as_echo_n "checking
for $ac_word...
" >&6; }
8124 if ${ac_cv_prog_RUNTEST+:} false; then :
8125 $as_echo_n "(cached
) " >&6
8127 if test -n "$RUNTEST"; then
8128 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8134 test -z "$as_dir" && as_dir=.
8135 for ac_exec_ext in '' $ac_executable_extensions; do
8136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8137 ac_cv_prog_RUNTEST="$ac_prog"
8138 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8147 RUNTEST=$ac_cv_prog_RUNTEST
8148 if test -n "$RUNTEST"; then
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8150 $as_echo "$RUNTEST" >&6; }
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8153 $as_echo "no
" >&6; }
8157 test -n "$RUNTEST" && break
8159 test -n "$RUNTEST" || RUNTEST="runtest
"
8161 case " $configdirs " in
8163 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8170 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8171 ncn_target_tool_prefix=
8172 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8176 if test -n "$AR"; then
8178 elif test -n "$ac_cv_prog_AR"; then
8182 if test -n "$ac_cv_prog_AR"; then
8183 for ncn_progname in ar; do
8184 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8185 set dummy ${ncn_progname}; ac_word=$2
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8187 $as_echo_n "checking
for $ac_word...
" >&6; }
8188 if ${ac_cv_prog_AR+:} false; then :
8189 $as_echo_n "(cached
) " >&6
8191 if test -n "$AR"; then
8192 ac_cv_prog_AR="$AR" # Let the user override the test.
8194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8198 test -z "$as_dir" && as_dir=.
8199 for ac_exec_ext in '' $ac_executable_extensions; do
8200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8201 ac_cv_prog_AR="${ncn_progname}"
8202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8212 if test -n "$AR"; then
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8214 $as_echo "$AR" >&6; }
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8217 $as_echo "no
" >&6; }
8224 for ncn_progname in ar; do
8225 if test -n "$ncn_tool_prefix"; then
8226 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8227 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8229 $as_echo_n "checking
for $ac_word...
" >&6; }
8230 if ${ac_cv_prog_AR+:} false; then :
8231 $as_echo_n "(cached
) " >&6
8233 if test -n "$AR"; then
8234 ac_cv_prog_AR="$AR" # Let the user override the test.
8236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8240 test -z "$as_dir" && as_dir=.
8241 for ac_exec_ext in '' $ac_executable_extensions; do
8242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8243 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8254 if test -n "$AR"; then
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8256 $as_echo "$AR" >&6; }
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8259 $as_echo "no
" >&6; }
8264 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8265 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8266 set dummy ${ncn_progname}; ac_word=$2
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8268 $as_echo_n "checking
for $ac_word...
" >&6; }
8269 if ${ac_cv_prog_AR+:} false; then :
8270 $as_echo_n "(cached
) " >&6
8272 if test -n "$AR"; then
8273 ac_cv_prog_AR="$AR" # Let the user override the test.
8275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8279 test -z "$as_dir" && as_dir=.
8280 for ac_exec_ext in '' $ac_executable_extensions; do
8281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8282 ac_cv_prog_AR="${ncn_progname}"
8283 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8293 if test -n "$AR"; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8295 $as_echo "$AR" >&6; }
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8298 $as_echo "no
" >&6; }
8303 test -n "$ac_cv_prog_AR" && break
8306 if test -z "$ac_cv_prog_AR" ; then
8308 if test $build = $host ; then
8311 AR="${ncn_tool_prefix}$2"
8317 if test -n "$AS"; then
8319 elif test -n "$ac_cv_prog_AS"; then
8323 if test -n "$ac_cv_prog_AS"; then
8324 for ncn_progname in as; do
8325 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8326 set dummy ${ncn_progname}; ac_word=$2
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8328 $as_echo_n "checking
for $ac_word...
" >&6; }
8329 if ${ac_cv_prog_AS+:} false; then :
8330 $as_echo_n "(cached
) " >&6
8332 if test -n "$AS"; then
8333 ac_cv_prog_AS="$AS" # Let the user override the test.
8335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8339 test -z "$as_dir" && as_dir=.
8340 for ac_exec_ext in '' $ac_executable_extensions; do
8341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8342 ac_cv_prog_AS="${ncn_progname}"
8343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8353 if test -n "$AS"; then
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8355 $as_echo "$AS" >&6; }
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8358 $as_echo "no
" >&6; }
8365 for ncn_progname in as; do
8366 if test -n "$ncn_tool_prefix"; then
8367 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8368 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8370 $as_echo_n "checking
for $ac_word...
" >&6; }
8371 if ${ac_cv_prog_AS+:} false; then :
8372 $as_echo_n "(cached
) " >&6
8374 if test -n "$AS"; then
8375 ac_cv_prog_AS="$AS" # Let the user override the test.
8377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8381 test -z "$as_dir" && as_dir=.
8382 for ac_exec_ext in '' $ac_executable_extensions; do
8383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8384 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8395 if test -n "$AS"; then
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8397 $as_echo "$AS" >&6; }
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8400 $as_echo "no
" >&6; }
8405 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8406 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8407 set dummy ${ncn_progname}; ac_word=$2
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8409 $as_echo_n "checking
for $ac_word...
" >&6; }
8410 if ${ac_cv_prog_AS+:} false; then :
8411 $as_echo_n "(cached
) " >&6
8413 if test -n "$AS"; then
8414 ac_cv_prog_AS="$AS" # Let the user override the test.
8416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8420 test -z "$as_dir" && as_dir=.
8421 for ac_exec_ext in '' $ac_executable_extensions; do
8422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8423 ac_cv_prog_AS="${ncn_progname}"
8424 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8434 if test -n "$AS"; then
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8436 $as_echo "$AS" >&6; }
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8439 $as_echo "no
" >&6; }
8444 test -n "$ac_cv_prog_AS" && break
8447 if test -z "$ac_cv_prog_AS" ; then
8449 if test $build = $host ; then
8452 AS="${ncn_tool_prefix}$2"
8458 if test -n "$DLLTOOL"; then
8459 ac_cv_prog_DLLTOOL=$DLLTOOL
8460 elif test -n "$ac_cv_prog_DLLTOOL"; then
8461 DLLTOOL=$ac_cv_prog_DLLTOOL
8464 if test -n "$ac_cv_prog_DLLTOOL"; then
8465 for ncn_progname in dlltool; do
8466 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8467 set dummy ${ncn_progname}; ac_word=$2
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8469 $as_echo_n "checking
for $ac_word...
" >&6; }
8470 if ${ac_cv_prog_DLLTOOL+:} false; then :
8471 $as_echo_n "(cached
) " >&6
8473 if test -n "$DLLTOOL"; then
8474 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8480 test -z "$as_dir" && as_dir=.
8481 for ac_exec_ext in '' $ac_executable_extensions; do
8482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8483 ac_cv_prog_DLLTOOL="${ncn_progname}"
8484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8493 DLLTOOL=$ac_cv_prog_DLLTOOL
8494 if test -n "$DLLTOOL"; then
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8496 $as_echo "$DLLTOOL" >&6; }
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8499 $as_echo "no
" >&6; }
8506 for ncn_progname in dlltool; do
8507 if test -n "$ncn_tool_prefix"; then
8508 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8509 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8511 $as_echo_n "checking
for $ac_word...
" >&6; }
8512 if ${ac_cv_prog_DLLTOOL+:} false; then :
8513 $as_echo_n "(cached
) " >&6
8515 if test -n "$DLLTOOL"; then
8516 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8522 test -z "$as_dir" && as_dir=.
8523 for ac_exec_ext in '' $ac_executable_extensions; do
8524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8525 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8526 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8535 DLLTOOL=$ac_cv_prog_DLLTOOL
8536 if test -n "$DLLTOOL"; then
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8538 $as_echo "$DLLTOOL" >&6; }
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8541 $as_echo "no
" >&6; }
8546 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8547 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8548 set dummy ${ncn_progname}; ac_word=$2
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8550 $as_echo_n "checking
for $ac_word...
" >&6; }
8551 if ${ac_cv_prog_DLLTOOL+:} false; then :
8552 $as_echo_n "(cached
) " >&6
8554 if test -n "$DLLTOOL"; then
8555 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8561 test -z "$as_dir" && as_dir=.
8562 for ac_exec_ext in '' $ac_executable_extensions; do
8563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8564 ac_cv_prog_DLLTOOL="${ncn_progname}"
8565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8574 DLLTOOL=$ac_cv_prog_DLLTOOL
8575 if test -n "$DLLTOOL"; then
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8577 $as_echo "$DLLTOOL" >&6; }
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8580 $as_echo "no
" >&6; }
8585 test -n "$ac_cv_prog_DLLTOOL" && break
8588 if test -z "$ac_cv_prog_DLLTOOL" ; then
8590 if test $build = $host ; then
8593 DLLTOOL="${ncn_tool_prefix}$2"
8599 if test -n "$LD"; then
8601 elif test -n "$ac_cv_prog_LD"; then
8605 if test -n "$ac_cv_prog_LD"; then
8606 for ncn_progname in ld; do
8607 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8608 set dummy ${ncn_progname}; ac_word=$2
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8610 $as_echo_n "checking
for $ac_word...
" >&6; }
8611 if ${ac_cv_prog_LD+:} false; then :
8612 $as_echo_n "(cached
) " >&6
8614 if test -n "$LD"; then
8615 ac_cv_prog_LD="$LD" # Let the user override the test.
8617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8621 test -z "$as_dir" && as_dir=.
8622 for ac_exec_ext in '' $ac_executable_extensions; do
8623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8624 ac_cv_prog_LD="${ncn_progname}"
8625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8635 if test -n "$LD"; then
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8637 $as_echo "$LD" >&6; }
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8640 $as_echo "no
" >&6; }
8647 for ncn_progname in ld; do
8648 if test -n "$ncn_tool_prefix"; then
8649 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8650 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8652 $as_echo_n "checking
for $ac_word...
" >&6; }
8653 if ${ac_cv_prog_LD+:} false; then :
8654 $as_echo_n "(cached
) " >&6
8656 if test -n "$LD"; then
8657 ac_cv_prog_LD="$LD" # Let the user override the test.
8659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8663 test -z "$as_dir" && as_dir=.
8664 for ac_exec_ext in '' $ac_executable_extensions; do
8665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8666 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8667 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8677 if test -n "$LD"; then
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8679 $as_echo "$LD" >&6; }
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8682 $as_echo "no
" >&6; }
8687 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8688 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8689 set dummy ${ncn_progname}; ac_word=$2
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8691 $as_echo_n "checking
for $ac_word...
" >&6; }
8692 if ${ac_cv_prog_LD+:} false; then :
8693 $as_echo_n "(cached
) " >&6
8695 if test -n "$LD"; then
8696 ac_cv_prog_LD="$LD" # Let the user override the test.
8698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8702 test -z "$as_dir" && as_dir=.
8703 for ac_exec_ext in '' $ac_executable_extensions; do
8704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8705 ac_cv_prog_LD="${ncn_progname}"
8706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8716 if test -n "$LD"; then
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8718 $as_echo "$LD" >&6; }
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8721 $as_echo "no
" >&6; }
8726 test -n "$ac_cv_prog_LD" && break
8729 if test -z "$ac_cv_prog_LD" ; then
8731 if test $build = $host ; then
8734 LD="${ncn_tool_prefix}$2"
8740 if test -n "$LIPO"; then
8741 ac_cv_prog_LIPO=$LIPO
8742 elif test -n "$ac_cv_prog_LIPO"; then
8743 LIPO=$ac_cv_prog_LIPO
8746 if test -n "$ac_cv_prog_LIPO"; then
8747 for ncn_progname in lipo; do
8748 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8749 set dummy ${ncn_progname}; ac_word=$2
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8751 $as_echo_n "checking
for $ac_word...
" >&6; }
8752 if ${ac_cv_prog_LIPO+:} false; then :
8753 $as_echo_n "(cached
) " >&6
8755 if test -n "$LIPO"; then
8756 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8762 test -z "$as_dir" && as_dir=.
8763 for ac_exec_ext in '' $ac_executable_extensions; do
8764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8765 ac_cv_prog_LIPO="${ncn_progname}"
8766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8775 LIPO=$ac_cv_prog_LIPO
8776 if test -n "$LIPO"; then
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8778 $as_echo "$LIPO" >&6; }
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8781 $as_echo "no
" >&6; }
8788 for ncn_progname in lipo; do
8789 if test -n "$ncn_tool_prefix"; then
8790 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8791 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8793 $as_echo_n "checking
for $ac_word...
" >&6; }
8794 if ${ac_cv_prog_LIPO+:} false; then :
8795 $as_echo_n "(cached
) " >&6
8797 if test -n "$LIPO"; then
8798 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8804 test -z "$as_dir" && as_dir=.
8805 for ac_exec_ext in '' $ac_executable_extensions; do
8806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8807 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8817 LIPO=$ac_cv_prog_LIPO
8818 if test -n "$LIPO"; then
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8820 $as_echo "$LIPO" >&6; }
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8823 $as_echo "no
" >&6; }
8828 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8829 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8830 set dummy ${ncn_progname}; ac_word=$2
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8832 $as_echo_n "checking
for $ac_word...
" >&6; }
8833 if ${ac_cv_prog_LIPO+:} false; then :
8834 $as_echo_n "(cached
) " >&6
8836 if test -n "$LIPO"; then
8837 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8843 test -z "$as_dir" && as_dir=.
8844 for ac_exec_ext in '' $ac_executable_extensions; do
8845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8846 ac_cv_prog_LIPO="${ncn_progname}"
8847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8856 LIPO=$ac_cv_prog_LIPO
8857 if test -n "$LIPO"; then
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8859 $as_echo "$LIPO" >&6; }
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8862 $as_echo "no
" >&6; }
8867 test -n "$ac_cv_prog_LIPO" && break
8870 if test -z "$ac_cv_prog_LIPO" ; then
8872 if test $build = $host ; then
8875 LIPO="${ncn_tool_prefix}$2"
8881 if test -n "$NM"; then
8883 elif test -n "$ac_cv_prog_NM"; then
8887 if test -n "$ac_cv_prog_NM"; then
8888 for ncn_progname in nm; do
8889 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8890 set dummy ${ncn_progname}; ac_word=$2
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8892 $as_echo_n "checking
for $ac_word...
" >&6; }
8893 if ${ac_cv_prog_NM+:} false; then :
8894 $as_echo_n "(cached
) " >&6
8896 if test -n "$NM"; then
8897 ac_cv_prog_NM="$NM" # Let the user override the test.
8899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8903 test -z "$as_dir" && as_dir=.
8904 for ac_exec_ext in '' $ac_executable_extensions; do
8905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8906 ac_cv_prog_NM="${ncn_progname}"
8907 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8917 if test -n "$NM"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8919 $as_echo "$NM" >&6; }
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8922 $as_echo "no
" >&6; }
8929 for ncn_progname in nm; do
8930 if test -n "$ncn_tool_prefix"; then
8931 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8932 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8934 $as_echo_n "checking
for $ac_word...
" >&6; }
8935 if ${ac_cv_prog_NM+:} false; then :
8936 $as_echo_n "(cached
) " >&6
8938 if test -n "$NM"; then
8939 ac_cv_prog_NM="$NM" # Let the user override the test.
8941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8945 test -z "$as_dir" && as_dir=.
8946 for ac_exec_ext in '' $ac_executable_extensions; do
8947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8948 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8949 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8959 if test -n "$NM"; then
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8961 $as_echo "$NM" >&6; }
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8964 $as_echo "no
" >&6; }
8969 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8970 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8971 set dummy ${ncn_progname}; ac_word=$2
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8973 $as_echo_n "checking
for $ac_word...
" >&6; }
8974 if ${ac_cv_prog_NM+:} false; then :
8975 $as_echo_n "(cached
) " >&6
8977 if test -n "$NM"; then
8978 ac_cv_prog_NM="$NM" # Let the user override the test.
8980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8984 test -z "$as_dir" && as_dir=.
8985 for ac_exec_ext in '' $ac_executable_extensions; do
8986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8987 ac_cv_prog_NM="${ncn_progname}"
8988 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8998 if test -n "$NM"; then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9000 $as_echo "$NM" >&6; }
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9003 $as_echo "no
" >&6; }
9008 test -n "$ac_cv_prog_NM" && break
9011 if test -z "$ac_cv_prog_NM" ; then
9013 if test $build = $host ; then
9016 NM="${ncn_tool_prefix}$2"
9022 if test -n "$RANLIB"; then
9023 ac_cv_prog_RANLIB=$RANLIB
9024 elif test -n "$ac_cv_prog_RANLIB"; then
9025 RANLIB=$ac_cv_prog_RANLIB
9028 if test -n "$ac_cv_prog_RANLIB"; then
9029 for ncn_progname in ranlib; do
9030 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9031 set dummy ${ncn_progname}; ac_word=$2
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9033 $as_echo_n "checking
for $ac_word...
" >&6; }
9034 if ${ac_cv_prog_RANLIB+:} false; then :
9035 $as_echo_n "(cached
) " >&6
9037 if test -n "$RANLIB"; then
9038 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9044 test -z "$as_dir" && as_dir=.
9045 for ac_exec_ext in '' $ac_executable_extensions; do
9046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9047 ac_cv_prog_RANLIB="${ncn_progname}"
9048 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9057 RANLIB=$ac_cv_prog_RANLIB
9058 if test -n "$RANLIB"; then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9060 $as_echo "$RANLIB" >&6; }
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9063 $as_echo "no
" >&6; }
9070 for ncn_progname in ranlib; do
9071 if test -n "$ncn_tool_prefix"; then
9072 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9073 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9075 $as_echo_n "checking
for $ac_word...
" >&6; }
9076 if ${ac_cv_prog_RANLIB+:} false; then :
9077 $as_echo_n "(cached
) " >&6
9079 if test -n "$RANLIB"; then
9080 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9086 test -z "$as_dir" && as_dir=.
9087 for ac_exec_ext in '' $ac_executable_extensions; do
9088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9089 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9090 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9099 RANLIB=$ac_cv_prog_RANLIB
9100 if test -n "$RANLIB"; then
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9102 $as_echo "$RANLIB" >&6; }
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9105 $as_echo "no
" >&6; }
9110 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9111 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9112 set dummy ${ncn_progname}; ac_word=$2
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9114 $as_echo_n "checking
for $ac_word...
" >&6; }
9115 if ${ac_cv_prog_RANLIB+:} false; then :
9116 $as_echo_n "(cached
) " >&6
9118 if test -n "$RANLIB"; then
9119 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9125 test -z "$as_dir" && as_dir=.
9126 for ac_exec_ext in '' $ac_executable_extensions; do
9127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9128 ac_cv_prog_RANLIB="${ncn_progname}"
9129 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9138 RANLIB=$ac_cv_prog_RANLIB
9139 if test -n "$RANLIB"; then
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9141 $as_echo "$RANLIB" >&6; }
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9144 $as_echo "no
" >&6; }
9149 test -n "$ac_cv_prog_RANLIB" && break
9152 if test -z "$ac_cv_prog_RANLIB" ; then
9158 if test -n "$STRIP"; then
9159 ac_cv_prog_STRIP=$STRIP
9160 elif test -n "$ac_cv_prog_STRIP"; then
9161 STRIP=$ac_cv_prog_STRIP
9164 if test -n "$ac_cv_prog_STRIP"; then
9165 for ncn_progname in strip; do
9166 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9167 set dummy ${ncn_progname}; ac_word=$2
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9169 $as_echo_n "checking
for $ac_word...
" >&6; }
9170 if ${ac_cv_prog_STRIP+:} false; then :
9171 $as_echo_n "(cached
) " >&6
9173 if test -n "$STRIP"; then
9174 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9180 test -z "$as_dir" && as_dir=.
9181 for ac_exec_ext in '' $ac_executable_extensions; do
9182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9183 ac_cv_prog_STRIP="${ncn_progname}"
9184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9193 STRIP=$ac_cv_prog_STRIP
9194 if test -n "$STRIP"; then
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9196 $as_echo "$STRIP" >&6; }
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9199 $as_echo "no
" >&6; }
9206 for ncn_progname in strip; do
9207 if test -n "$ncn_tool_prefix"; then
9208 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9209 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9211 $as_echo_n "checking
for $ac_word...
" >&6; }
9212 if ${ac_cv_prog_STRIP+:} false; then :
9213 $as_echo_n "(cached
) " >&6
9215 if test -n "$STRIP"; then
9216 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9222 test -z "$as_dir" && as_dir=.
9223 for ac_exec_ext in '' $ac_executable_extensions; do
9224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9225 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9235 STRIP=$ac_cv_prog_STRIP
9236 if test -n "$STRIP"; then
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9238 $as_echo "$STRIP" >&6; }
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9241 $as_echo "no
" >&6; }
9246 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9247 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9248 set dummy ${ncn_progname}; ac_word=$2
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9250 $as_echo_n "checking
for $ac_word...
" >&6; }
9251 if ${ac_cv_prog_STRIP+:} false; then :
9252 $as_echo_n "(cached
) " >&6
9254 if test -n "$STRIP"; then
9255 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9261 test -z "$as_dir" && as_dir=.
9262 for ac_exec_ext in '' $ac_executable_extensions; do
9263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9264 ac_cv_prog_STRIP="${ncn_progname}"
9265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9274 STRIP=$ac_cv_prog_STRIP
9275 if test -n "$STRIP"; then
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9277 $as_echo "$STRIP" >&6; }
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9280 $as_echo "no
" >&6; }
9285 test -n "$ac_cv_prog_STRIP" && break
9288 if test -z "$ac_cv_prog_STRIP" ; then
9294 if test -n "$WINDRES"; then
9295 ac_cv_prog_WINDRES=$WINDRES
9296 elif test -n "$ac_cv_prog_WINDRES"; then
9297 WINDRES=$ac_cv_prog_WINDRES
9300 if test -n "$ac_cv_prog_WINDRES"; then
9301 for ncn_progname in windres; do
9302 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9303 set dummy ${ncn_progname}; ac_word=$2
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9305 $as_echo_n "checking
for $ac_word...
" >&6; }
9306 if ${ac_cv_prog_WINDRES+:} false; then :
9307 $as_echo_n "(cached
) " >&6
9309 if test -n "$WINDRES"; then
9310 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9316 test -z "$as_dir" && as_dir=.
9317 for ac_exec_ext in '' $ac_executable_extensions; do
9318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9319 ac_cv_prog_WINDRES="${ncn_progname}"
9320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9329 WINDRES=$ac_cv_prog_WINDRES
9330 if test -n "$WINDRES"; then
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9332 $as_echo "$WINDRES" >&6; }
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9335 $as_echo "no
" >&6; }
9342 for ncn_progname in windres; do
9343 if test -n "$ncn_tool_prefix"; then
9344 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9345 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9347 $as_echo_n "checking
for $ac_word...
" >&6; }
9348 if ${ac_cv_prog_WINDRES+:} false; then :
9349 $as_echo_n "(cached
) " >&6
9351 if test -n "$WINDRES"; then
9352 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9358 test -z "$as_dir" && as_dir=.
9359 for ac_exec_ext in '' $ac_executable_extensions; do
9360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9361 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9362 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9371 WINDRES=$ac_cv_prog_WINDRES
9372 if test -n "$WINDRES"; then
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9374 $as_echo "$WINDRES" >&6; }
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9377 $as_echo "no
" >&6; }
9382 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9383 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9384 set dummy ${ncn_progname}; ac_word=$2
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9386 $as_echo_n "checking
for $ac_word...
" >&6; }
9387 if ${ac_cv_prog_WINDRES+:} false; then :
9388 $as_echo_n "(cached
) " >&6
9390 if test -n "$WINDRES"; then
9391 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9397 test -z "$as_dir" && as_dir=.
9398 for ac_exec_ext in '' $ac_executable_extensions; do
9399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9400 ac_cv_prog_WINDRES="${ncn_progname}"
9401 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9410 WINDRES=$ac_cv_prog_WINDRES
9411 if test -n "$WINDRES"; then
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9413 $as_echo "$WINDRES" >&6; }
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9416 $as_echo "no
" >&6; }
9421 test -n "$ac_cv_prog_WINDRES" && break
9424 if test -z "$ac_cv_prog_WINDRES" ; then
9426 if test $build = $host ; then
9429 WINDRES="${ncn_tool_prefix}$2"
9435 if test -n "$WINDMC"; then
9436 ac_cv_prog_WINDMC=$WINDMC
9437 elif test -n "$ac_cv_prog_WINDMC"; then
9438 WINDMC=$ac_cv_prog_WINDMC
9441 if test -n "$ac_cv_prog_WINDMC"; then
9442 for ncn_progname in windmc; do
9443 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9444 set dummy ${ncn_progname}; ac_word=$2
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9446 $as_echo_n "checking
for $ac_word...
" >&6; }
9447 if ${ac_cv_prog_WINDMC+:} false; then :
9448 $as_echo_n "(cached
) " >&6
9450 if test -n "$WINDMC"; then
9451 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9457 test -z "$as_dir" && as_dir=.
9458 for ac_exec_ext in '' $ac_executable_extensions; do
9459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9460 ac_cv_prog_WINDMC="${ncn_progname}"
9461 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9470 WINDMC=$ac_cv_prog_WINDMC
9471 if test -n "$WINDMC"; then
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9473 $as_echo "$WINDMC" >&6; }
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9476 $as_echo "no
" >&6; }
9483 for ncn_progname in windmc; do
9484 if test -n "$ncn_tool_prefix"; then
9485 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9486 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9488 $as_echo_n "checking
for $ac_word...
" >&6; }
9489 if ${ac_cv_prog_WINDMC+:} false; then :
9490 $as_echo_n "(cached
) " >&6
9492 if test -n "$WINDMC"; then
9493 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9499 test -z "$as_dir" && as_dir=.
9500 for ac_exec_ext in '' $ac_executable_extensions; do
9501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9502 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9503 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9512 WINDMC=$ac_cv_prog_WINDMC
9513 if test -n "$WINDMC"; then
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9515 $as_echo "$WINDMC" >&6; }
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9518 $as_echo "no
" >&6; }
9523 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9524 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9525 set dummy ${ncn_progname}; ac_word=$2
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9527 $as_echo_n "checking
for $ac_word...
" >&6; }
9528 if ${ac_cv_prog_WINDMC+:} false; then :
9529 $as_echo_n "(cached
) " >&6
9531 if test -n "$WINDMC"; then
9532 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9538 test -z "$as_dir" && as_dir=.
9539 for ac_exec_ext in '' $ac_executable_extensions; do
9540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9541 ac_cv_prog_WINDMC="${ncn_progname}"
9542 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9551 WINDMC=$ac_cv_prog_WINDMC
9552 if test -n "$WINDMC"; then
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9554 $as_echo "$WINDMC" >&6; }
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9557 $as_echo "no
" >&6; }
9562 test -n "$ac_cv_prog_WINDMC" && break
9565 if test -z "$ac_cv_prog_WINDMC" ; then
9567 if test $build = $host ; then
9570 WINDMC="${ncn_tool_prefix}$2"
9576 if test -n "$OBJCOPY"; then
9577 ac_cv_prog_OBJCOPY=$OBJCOPY
9578 elif test -n "$ac_cv_prog_OBJCOPY"; then
9579 OBJCOPY=$ac_cv_prog_OBJCOPY
9582 if test -n "$ac_cv_prog_OBJCOPY"; then
9583 for ncn_progname in objcopy; do
9584 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9585 set dummy ${ncn_progname}; ac_word=$2
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9587 $as_echo_n "checking
for $ac_word...
" >&6; }
9588 if ${ac_cv_prog_OBJCOPY+:} false; then :
9589 $as_echo_n "(cached
) " >&6
9591 if test -n "$OBJCOPY"; then
9592 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9598 test -z "$as_dir" && as_dir=.
9599 for ac_exec_ext in '' $ac_executable_extensions; do
9600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9601 ac_cv_prog_OBJCOPY="${ncn_progname}"
9602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9611 OBJCOPY=$ac_cv_prog_OBJCOPY
9612 if test -n "$OBJCOPY"; then
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9614 $as_echo "$OBJCOPY" >&6; }
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9617 $as_echo "no
" >&6; }
9624 for ncn_progname in objcopy; do
9625 if test -n "$ncn_tool_prefix"; then
9626 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9627 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9629 $as_echo_n "checking
for $ac_word...
" >&6; }
9630 if ${ac_cv_prog_OBJCOPY+:} false; then :
9631 $as_echo_n "(cached
) " >&6
9633 if test -n "$OBJCOPY"; then
9634 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9640 test -z "$as_dir" && as_dir=.
9641 for ac_exec_ext in '' $ac_executable_extensions; do
9642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9643 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9653 OBJCOPY=$ac_cv_prog_OBJCOPY
9654 if test -n "$OBJCOPY"; then
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9656 $as_echo "$OBJCOPY" >&6; }
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9659 $as_echo "no
" >&6; }
9664 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9665 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9666 set dummy ${ncn_progname}; ac_word=$2
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9668 $as_echo_n "checking
for $ac_word...
" >&6; }
9669 if ${ac_cv_prog_OBJCOPY+:} false; then :
9670 $as_echo_n "(cached
) " >&6
9672 if test -n "$OBJCOPY"; then
9673 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9679 test -z "$as_dir" && as_dir=.
9680 for ac_exec_ext in '' $ac_executable_extensions; do
9681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9682 ac_cv_prog_OBJCOPY="${ncn_progname}"
9683 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9692 OBJCOPY=$ac_cv_prog_OBJCOPY
9693 if test -n "$OBJCOPY"; then
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9695 $as_echo "$OBJCOPY" >&6; }
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9698 $as_echo "no
" >&6; }
9703 test -n "$ac_cv_prog_OBJCOPY" && break
9706 if test -z "$ac_cv_prog_OBJCOPY" ; then
9708 if test $build = $host ; then
9711 OBJCOPY="${ncn_tool_prefix}$2"
9717 if test -n "$OBJDUMP"; then
9718 ac_cv_prog_OBJDUMP=$OBJDUMP
9719 elif test -n "$ac_cv_prog_OBJDUMP"; then
9720 OBJDUMP=$ac_cv_prog_OBJDUMP
9723 if test -n "$ac_cv_prog_OBJDUMP"; then
9724 for ncn_progname in objdump; do
9725 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9726 set dummy ${ncn_progname}; ac_word=$2
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9728 $as_echo_n "checking
for $ac_word...
" >&6; }
9729 if ${ac_cv_prog_OBJDUMP+:} false; then :
9730 $as_echo_n "(cached
) " >&6
9732 if test -n "$OBJDUMP"; then
9733 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9739 test -z "$as_dir" && as_dir=.
9740 for ac_exec_ext in '' $ac_executable_extensions; do
9741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9742 ac_cv_prog_OBJDUMP="${ncn_progname}"
9743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9752 OBJDUMP=$ac_cv_prog_OBJDUMP
9753 if test -n "$OBJDUMP"; then
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9755 $as_echo "$OBJDUMP" >&6; }
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9758 $as_echo "no
" >&6; }
9765 for ncn_progname in objdump; do
9766 if test -n "$ncn_tool_prefix"; then
9767 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9768 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9770 $as_echo_n "checking
for $ac_word...
" >&6; }
9771 if ${ac_cv_prog_OBJDUMP+:} false; then :
9772 $as_echo_n "(cached
) " >&6
9774 if test -n "$OBJDUMP"; then
9775 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9781 test -z "$as_dir" && as_dir=.
9782 for ac_exec_ext in '' $ac_executable_extensions; do
9783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9784 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9785 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9794 OBJDUMP=$ac_cv_prog_OBJDUMP
9795 if test -n "$OBJDUMP"; then
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9797 $as_echo "$OBJDUMP" >&6; }
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9800 $as_echo "no
" >&6; }
9805 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9806 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9807 set dummy ${ncn_progname}; ac_word=$2
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9809 $as_echo_n "checking
for $ac_word...
" >&6; }
9810 if ${ac_cv_prog_OBJDUMP+:} false; then :
9811 $as_echo_n "(cached
) " >&6
9813 if test -n "$OBJDUMP"; then
9814 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9820 test -z "$as_dir" && as_dir=.
9821 for ac_exec_ext in '' $ac_executable_extensions; do
9822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9823 ac_cv_prog_OBJDUMP="${ncn_progname}"
9824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9833 OBJDUMP=$ac_cv_prog_OBJDUMP
9834 if test -n "$OBJDUMP"; then
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9836 $as_echo "$OBJDUMP" >&6; }
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9839 $as_echo "no
" >&6; }
9844 test -n "$ac_cv_prog_OBJDUMP" && break
9847 if test -z "$ac_cv_prog_OBJDUMP" ; then
9849 if test $build = $host ; then
9852 OBJDUMP="${ncn_tool_prefix}$2"
9858 if test -n "$OTOOL"; then
9859 ac_cv_prog_OTOOL=$OTOOL
9860 elif test -n "$ac_cv_prog_OTOOL"; then
9861 OTOOL=$ac_cv_prog_OTOOL
9864 if test -n "$ac_cv_prog_OTOOL"; then
9865 for ncn_progname in otool; do
9866 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9867 set dummy ${ncn_progname}; ac_word=$2
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9869 $as_echo_n "checking
for $ac_word...
" >&6; }
9870 if ${ac_cv_prog_OTOOL+:} false; then :
9871 $as_echo_n "(cached
) " >&6
9873 if test -n "$OTOOL"; then
9874 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9880 test -z "$as_dir" && as_dir=.
9881 for ac_exec_ext in '' $ac_executable_extensions; do
9882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9883 ac_cv_prog_OTOOL="${ncn_progname}"
9884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9893 OTOOL=$ac_cv_prog_OTOOL
9894 if test -n "$OTOOL"; then
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9896 $as_echo "$OTOOL" >&6; }
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9899 $as_echo "no
" >&6; }
9906 for ncn_progname in otool; do
9907 if test -n "$ncn_tool_prefix"; then
9908 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9909 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9911 $as_echo_n "checking
for $ac_word...
" >&6; }
9912 if ${ac_cv_prog_OTOOL+:} false; then :
9913 $as_echo_n "(cached
) " >&6
9915 if test -n "$OTOOL"; then
9916 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9922 test -z "$as_dir" && as_dir=.
9923 for ac_exec_ext in '' $ac_executable_extensions; do
9924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9925 ac_cv_prog_OTOOL="${ncn_tool_prefix}${ncn_progname}"
9926 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9935 OTOOL=$ac_cv_prog_OTOOL
9936 if test -n "$OTOOL"; then
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9938 $as_echo "$OTOOL" >&6; }
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9941 $as_echo "no
" >&6; }
9946 if test -z "$ac_cv_prog_OTOOL" && test $build = $host ; then
9947 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9948 set dummy ${ncn_progname}; ac_word=$2
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9950 $as_echo_n "checking
for $ac_word...
" >&6; }
9951 if ${ac_cv_prog_OTOOL+:} false; then :
9952 $as_echo_n "(cached
) " >&6
9954 if test -n "$OTOOL"; then
9955 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9961 test -z "$as_dir" && as_dir=.
9962 for ac_exec_ext in '' $ac_executable_extensions; do
9963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9964 ac_cv_prog_OTOOL="${ncn_progname}"
9965 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9974 OTOOL=$ac_cv_prog_OTOOL
9975 if test -n "$OTOOL"; then
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9977 $as_echo "$OTOOL" >&6; }
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9980 $as_echo "no
" >&6; }
9985 test -n "$ac_cv_prog_OTOOL" && break
9988 if test -z "$ac_cv_prog_OTOOL" ; then
9990 if test $build = $host ; then
9993 OTOOL="${ncn_tool_prefix}$2"
9999 if test -n "$READELF"; then
10000 ac_cv_prog_READELF=$READELF
10001 elif test -n "$ac_cv_prog_READELF"; then
10002 READELF=$ac_cv_prog_READELF
10005 if test -n "$ac_cv_prog_READELF"; then
10006 for ncn_progname in readelf; do
10007 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10008 set dummy ${ncn_progname}; ac_word=$2
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10010 $as_echo_n "checking
for $ac_word...
" >&6; }
10011 if ${ac_cv_prog_READELF+:} false; then :
10012 $as_echo_n "(cached
) " >&6
10014 if test -n "$READELF"; then
10015 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10018 for as_dir in $PATH
10021 test -z "$as_dir" && as_dir=.
10022 for ac_exec_ext in '' $ac_executable_extensions; do
10023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10024 ac_cv_prog_READELF="${ncn_progname}"
10025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10034 READELF=$ac_cv_prog_READELF
10035 if test -n "$READELF"; then
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10037 $as_echo "$READELF" >&6; }
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10040 $as_echo "no
" >&6; }
10047 for ncn_progname in readelf; do
10048 if test -n "$ncn_tool_prefix"; then
10049 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10050 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10052 $as_echo_n "checking
for $ac_word...
" >&6; }
10053 if ${ac_cv_prog_READELF+:} false; then :
10054 $as_echo_n "(cached
) " >&6
10056 if test -n "$READELF"; then
10057 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10060 for as_dir in $PATH
10063 test -z "$as_dir" && as_dir=.
10064 for ac_exec_ext in '' $ac_executable_extensions; do
10065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10066 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
10067 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10076 READELF=$ac_cv_prog_READELF
10077 if test -n "$READELF"; then
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10079 $as_echo "$READELF" >&6; }
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10082 $as_echo "no
" >&6; }
10087 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
10088 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10089 set dummy ${ncn_progname}; ac_word=$2
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10091 $as_echo_n "checking
for $ac_word...
" >&6; }
10092 if ${ac_cv_prog_READELF+:} false; then :
10093 $as_echo_n "(cached
) " >&6
10095 if test -n "$READELF"; then
10096 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10099 for as_dir in $PATH
10102 test -z "$as_dir" && as_dir=.
10103 for ac_exec_ext in '' $ac_executable_extensions; do
10104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10105 ac_cv_prog_READELF="${ncn_progname}"
10106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10115 READELF=$ac_cv_prog_READELF
10116 if test -n "$READELF"; then
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10118 $as_echo "$READELF" >&6; }
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10121 $as_echo "no
" >&6; }
10126 test -n "$ac_cv_prog_READELF" && break
10129 if test -z "$ac_cv_prog_READELF" ; then
10131 if test $build = $host ; then
10134 READELF="${ncn_tool_prefix}$2"
10145 # Check whether --with-build-time-tools was given.
10146 if test "${with_build_time_tools+set}" = set; then :
10147 withval=$with_build_time_tools; case x"$withval" in
10150 with_build_time_tools=
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10152 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10156 with_build_time_tools=
10162 if test -n "$CC_FOR_TARGET"; then
10163 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10164 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10165 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10168 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10169 for ncn_progname in cc gcc; do
10170 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10171 set dummy ${ncn_progname}; ac_word=$2
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10173 $as_echo_n "checking
for $ac_word...
" >&6; }
10174 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10175 $as_echo_n "(cached
) " >&6
10177 if test -n "$CC_FOR_TARGET"; then
10178 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10181 for as_dir in $PATH
10184 test -z "$as_dir" && as_dir=.
10185 for ac_exec_ext in '' $ac_executable_extensions; do
10186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10187 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10197 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10198 if test -n "$CC_FOR_TARGET"; then
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10200 $as_echo "$CC_FOR_TARGET" >&6; }
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10203 $as_echo "no
" >&6; }
10210 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10211 for ncn_progname in cc gcc; do
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10213 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10214 if test -x $with_build_time_tools/${ncn_progname}; then
10215 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10217 $as_echo "yes" >&6; }
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10221 $as_echo "no
" >&6; }
10226 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10227 for ncn_progname in cc gcc; do
10228 if test -n "$ncn_target_tool_prefix"; then
10229 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10230 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10232 $as_echo_n "checking
for $ac_word...
" >&6; }
10233 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10234 $as_echo_n "(cached
) " >&6
10236 if test -n "$CC_FOR_TARGET"; then
10237 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10240 for as_dir in $PATH
10243 test -z "$as_dir" && as_dir=.
10244 for ac_exec_ext in '' $ac_executable_extensions; do
10245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10246 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10256 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10257 if test -n "$CC_FOR_TARGET"; then
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10259 $as_echo "$CC_FOR_TARGET" >&6; }
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10262 $as_echo "no
" >&6; }
10267 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10268 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10269 set dummy ${ncn_progname}; ac_word=$2
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10271 $as_echo_n "checking
for $ac_word...
" >&6; }
10272 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10273 $as_echo_n "(cached
) " >&6
10275 if test -n "$CC_FOR_TARGET"; then
10276 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10279 for as_dir in $PATH
10282 test -z "$as_dir" && as_dir=.
10283 for ac_exec_ext in '' $ac_executable_extensions; do
10284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10285 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10286 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10295 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10296 if test -n "$CC_FOR_TARGET"; then
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10298 $as_echo "$CC_FOR_TARGET" >&6; }
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10301 $as_echo "no
" >&6; }
10306 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10310 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10312 if test $build = $target ; then
10315 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10318 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10323 if test -n "$CXX_FOR_TARGET"; then
10324 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10325 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10326 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10329 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10330 for ncn_progname in c++ g++ cxx gxx; do
10331 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10332 set dummy ${ncn_progname}; ac_word=$2
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10334 $as_echo_n "checking
for $ac_word...
" >&6; }
10335 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10336 $as_echo_n "(cached
) " >&6
10338 if test -n "$CXX_FOR_TARGET"; then
10339 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10342 for as_dir in $PATH
10345 test -z "$as_dir" && as_dir=.
10346 for ac_exec_ext in '' $ac_executable_extensions; do
10347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10348 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10349 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10358 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10359 if test -n "$CXX_FOR_TARGET"; then
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10361 $as_echo "$CXX_FOR_TARGET" >&6; }
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10364 $as_echo "no
" >&6; }
10371 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10372 for ncn_progname in c++ g++ cxx gxx; do
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10374 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10375 if test -x $with_build_time_tools/${ncn_progname}; then
10376 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10378 $as_echo "yes" >&6; }
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10382 $as_echo "no
" >&6; }
10387 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10388 for ncn_progname in c++ g++ cxx gxx; do
10389 if test -n "$ncn_target_tool_prefix"; then
10390 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10391 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10393 $as_echo_n "checking
for $ac_word...
" >&6; }
10394 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10395 $as_echo_n "(cached
) " >&6
10397 if test -n "$CXX_FOR_TARGET"; then
10398 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10401 for as_dir in $PATH
10404 test -z "$as_dir" && as_dir=.
10405 for ac_exec_ext in '' $ac_executable_extensions; do
10406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10407 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10408 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10417 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10418 if test -n "$CXX_FOR_TARGET"; then
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10420 $as_echo "$CXX_FOR_TARGET" >&6; }
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10423 $as_echo "no
" >&6; }
10428 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10429 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10430 set dummy ${ncn_progname}; ac_word=$2
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10432 $as_echo_n "checking
for $ac_word...
" >&6; }
10433 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10434 $as_echo_n "(cached
) " >&6
10436 if test -n "$CXX_FOR_TARGET"; then
10437 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10440 for as_dir in $PATH
10443 test -z "$as_dir" && as_dir=.
10444 for ac_exec_ext in '' $ac_executable_extensions; do
10445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10446 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10447 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10456 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10457 if test -n "$CXX_FOR_TARGET"; then
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10459 $as_echo "$CXX_FOR_TARGET" >&6; }
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10462 $as_echo "no
" >&6; }
10467 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10471 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10472 set dummy c++ g++ cxx gxx
10473 if test $build = $target ; then
10474 CXX_FOR_TARGET="$2"
10476 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10479 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10484 if test -n "$GCC_FOR_TARGET"; then
10485 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10486 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10487 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10490 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10491 for ncn_progname in gcc; do
10492 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10493 set dummy ${ncn_progname}; ac_word=$2
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10495 $as_echo_n "checking
for $ac_word...
" >&6; }
10496 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10497 $as_echo_n "(cached
) " >&6
10499 if test -n "$GCC_FOR_TARGET"; then
10500 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10503 for as_dir in $PATH
10506 test -z "$as_dir" && as_dir=.
10507 for ac_exec_ext in '' $ac_executable_extensions; do
10508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10509 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10519 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10520 if test -n "$GCC_FOR_TARGET"; then
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10522 $as_echo "$GCC_FOR_TARGET" >&6; }
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10525 $as_echo "no
" >&6; }
10532 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10533 for ncn_progname in gcc; do
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10535 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10536 if test -x $with_build_time_tools/${ncn_progname}; then
10537 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10539 $as_echo "yes" >&6; }
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10543 $as_echo "no
" >&6; }
10548 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10549 for ncn_progname in gcc; do
10550 if test -n "$ncn_target_tool_prefix"; then
10551 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10552 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10554 $as_echo_n "checking
for $ac_word...
" >&6; }
10555 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10556 $as_echo_n "(cached
) " >&6
10558 if test -n "$GCC_FOR_TARGET"; then
10559 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10562 for as_dir in $PATH
10565 test -z "$as_dir" && as_dir=.
10566 for ac_exec_ext in '' $ac_executable_extensions; do
10567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10568 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10569 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10578 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10579 if test -n "$GCC_FOR_TARGET"; then
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10581 $as_echo "$GCC_FOR_TARGET" >&6; }
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10584 $as_echo "no
" >&6; }
10589 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10590 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10591 set dummy ${ncn_progname}; ac_word=$2
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10593 $as_echo_n "checking
for $ac_word...
" >&6; }
10594 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10595 $as_echo_n "(cached
) " >&6
10597 if test -n "$GCC_FOR_TARGET"; then
10598 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10601 for as_dir in $PATH
10604 test -z "$as_dir" && as_dir=.
10605 for ac_exec_ext in '' $ac_executable_extensions; do
10606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10607 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10608 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10617 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10618 if test -n "$GCC_FOR_TARGET"; then
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10620 $as_echo "$GCC_FOR_TARGET" >&6; }
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10623 $as_echo "no
" >&6; }
10628 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10632 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10633 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10635 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10640 if test -n "$GFORTRAN_FOR_TARGET"; then
10641 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10642 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10643 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10646 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10647 for ncn_progname in gfortran; do
10648 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10649 set dummy ${ncn_progname}; ac_word=$2
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10651 $as_echo_n "checking
for $ac_word...
" >&6; }
10652 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10653 $as_echo_n "(cached
) " >&6
10655 if test -n "$GFORTRAN_FOR_TARGET"; then
10656 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10659 for as_dir in $PATH
10662 test -z "$as_dir" && as_dir=.
10663 for ac_exec_ext in '' $ac_executable_extensions; do
10664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10665 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10666 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10675 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10676 if test -n "$GFORTRAN_FOR_TARGET"; then
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10678 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10681 $as_echo "no
" >&6; }
10688 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10689 for ncn_progname in gfortran; do
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10691 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10692 if test -x $with_build_time_tools/${ncn_progname}; then
10693 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10695 $as_echo "yes" >&6; }
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10699 $as_echo "no
" >&6; }
10704 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10705 for ncn_progname in gfortran; do
10706 if test -n "$ncn_target_tool_prefix"; then
10707 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10708 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10710 $as_echo_n "checking
for $ac_word...
" >&6; }
10711 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10712 $as_echo_n "(cached
) " >&6
10714 if test -n "$GFORTRAN_FOR_TARGET"; then
10715 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10718 for as_dir in $PATH
10721 test -z "$as_dir" && as_dir=.
10722 for ac_exec_ext in '' $ac_executable_extensions; do
10723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10724 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10734 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10735 if test -n "$GFORTRAN_FOR_TARGET"; then
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10737 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10740 $as_echo "no
" >&6; }
10745 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10746 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10747 set dummy ${ncn_progname}; ac_word=$2
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10749 $as_echo_n "checking
for $ac_word...
" >&6; }
10750 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10751 $as_echo_n "(cached
) " >&6
10753 if test -n "$GFORTRAN_FOR_TARGET"; then
10754 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10757 for as_dir in $PATH
10760 test -z "$as_dir" && as_dir=.
10761 for ac_exec_ext in '' $ac_executable_extensions; do
10762 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10763 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10764 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10773 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10774 if test -n "$GFORTRAN_FOR_TARGET"; then
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10776 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10779 $as_echo "no
" >&6; }
10784 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10788 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10790 if test $build = $target ; then
10791 GFORTRAN_FOR_TARGET="$2"
10793 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10796 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10801 if test -n "$GOC_FOR_TARGET"; then
10802 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10803 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10804 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10807 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10808 for ncn_progname in gccgo; do
10809 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10810 set dummy ${ncn_progname}; ac_word=$2
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10812 $as_echo_n "checking
for $ac_word...
" >&6; }
10813 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10814 $as_echo_n "(cached
) " >&6
10816 if test -n "$GOC_FOR_TARGET"; then
10817 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10820 for as_dir in $PATH
10823 test -z "$as_dir" && as_dir=.
10824 for ac_exec_ext in '' $ac_executable_extensions; do
10825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10826 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10827 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10836 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10837 if test -n "$GOC_FOR_TARGET"; then
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10839 $as_echo "$GOC_FOR_TARGET" >&6; }
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10842 $as_echo "no
" >&6; }
10849 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10850 for ncn_progname in gccgo; do
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10852 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10853 if test -x $with_build_time_tools/${ncn_progname}; then
10854 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10856 $as_echo "yes" >&6; }
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10860 $as_echo "no
" >&6; }
10865 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10866 for ncn_progname in gccgo; do
10867 if test -n "$ncn_target_tool_prefix"; then
10868 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10869 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10871 $as_echo_n "checking
for $ac_word...
" >&6; }
10872 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10873 $as_echo_n "(cached
) " >&6
10875 if test -n "$GOC_FOR_TARGET"; then
10876 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10879 for as_dir in $PATH
10882 test -z "$as_dir" && as_dir=.
10883 for ac_exec_ext in '' $ac_executable_extensions; do
10884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10885 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10886 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10895 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10896 if test -n "$GOC_FOR_TARGET"; then
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10898 $as_echo "$GOC_FOR_TARGET" >&6; }
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10901 $as_echo "no
" >&6; }
10906 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10907 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10908 set dummy ${ncn_progname}; ac_word=$2
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10910 $as_echo_n "checking
for $ac_word...
" >&6; }
10911 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10912 $as_echo_n "(cached
) " >&6
10914 if test -n "$GOC_FOR_TARGET"; then
10915 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10918 for as_dir in $PATH
10921 test -z "$as_dir" && as_dir=.
10922 for ac_exec_ext in '' $ac_executable_extensions; do
10923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10924 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10925 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10934 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10935 if test -n "$GOC_FOR_TARGET"; then
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10937 $as_echo "$GOC_FOR_TARGET" >&6; }
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10940 $as_echo "no
" >&6; }
10945 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10949 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10951 if test $build = $target ; then
10952 GOC_FOR_TARGET="$2"
10954 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10957 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10962 if test -n "$GDC_FOR_TARGET"; then
10963 ac_cv_prog_GDC_FOR_TARGET=$GDC_FOR_TARGET
10964 elif test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
10965 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
10968 if test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
10969 for ncn_progname in gdc; do
10970 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10971 set dummy ${ncn_progname}; ac_word=$2
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10973 $as_echo_n "checking
for $ac_word...
" >&6; }
10974 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
10975 $as_echo_n "(cached
) " >&6
10977 if test -n "$GDC_FOR_TARGET"; then
10978 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
10980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10981 for as_dir in $PATH
10984 test -z "$as_dir" && as_dir=.
10985 for ac_exec_ext in '' $ac_executable_extensions; do
10986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10987 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
10988 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10997 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
10998 if test -n "$GDC_FOR_TARGET"; then
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11000 $as_echo "$GDC_FOR_TARGET" >&6; }
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11003 $as_echo "no
" >&6; }
11010 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11011 for ncn_progname in gdc; do
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11013 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11014 if test -x $with_build_time_tools/${ncn_progname}; then
11015 ac_cv_prog_GDC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11017 $as_echo "yes" >&6; }
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11021 $as_echo "no
" >&6; }
11026 if test -z "$ac_cv_prog_GDC_FOR_TARGET"; then
11027 for ncn_progname in gdc; do
11028 if test -n "$ncn_target_tool_prefix"; then
11029 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11030 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11032 $as_echo_n "checking
for $ac_word...
" >&6; }
11033 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
11034 $as_echo_n "(cached
) " >&6
11036 if test -n "$GDC_FOR_TARGET"; then
11037 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
11039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11040 for as_dir in $PATH
11043 test -z "$as_dir" && as_dir=.
11044 for ac_exec_ext in '' $ac_executable_extensions; do
11045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11046 ac_cv_prog_GDC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11056 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11057 if test -n "$GDC_FOR_TARGET"; then
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11059 $as_echo "$GDC_FOR_TARGET" >&6; }
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11062 $as_echo "no
" >&6; }
11067 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test $build = $target ; then
11068 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11069 set dummy ${ncn_progname}; ac_word=$2
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11071 $as_echo_n "checking
for $ac_word...
" >&6; }
11072 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
11073 $as_echo_n "(cached
) " >&6
11075 if test -n "$GDC_FOR_TARGET"; then
11076 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
11078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11079 for as_dir in $PATH
11082 test -z "$as_dir" && as_dir=.
11083 for ac_exec_ext in '' $ac_executable_extensions; do
11084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11085 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
11086 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11095 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11096 if test -n "$GDC_FOR_TARGET"; then
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11098 $as_echo "$GDC_FOR_TARGET" >&6; }
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11101 $as_echo "no
" >&6; }
11106 test -n "$ac_cv_prog_GDC_FOR_TARGET" && break
11110 if test -z "$ac_cv_prog_GDC_FOR_TARGET" ; then
11112 if test $build = $target ; then
11113 GDC_FOR_TARGET="$2"
11115 GDC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11118 GDC_FOR_TARGET="$ac_cv_prog_GDC_FOR_TARGET"
11123 cat > conftest.c << \EOF
11128 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11129 have_gcc_for_target=yes
11131 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11132 have_gcc_for_target=no
11139 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11140 if test -n "$with_build_time_tools"; then
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11142 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11143 if test -x $with_build_time_tools/ar; then
11144 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11145 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11147 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11150 $as_echo "no
" >&6; }
11152 elif test $build != $host && test $have_gcc_for_target = yes; then
11153 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11154 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11155 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11158 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11159 # Extract the first word of "ar", so it can be a program name with args.
11160 set dummy ar; ac_word=$2
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11162 $as_echo_n "checking
for $ac_word...
" >&6; }
11163 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
11164 $as_echo_n "(cached
) " >&6
11166 case $AR_FOR_TARGET in
11168 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11172 for as_dir in $gcc_cv_tool_dirs
11175 test -z "$as_dir" && as_dir=.
11176 for ac_exec_ext in '' $ac_executable_extensions; do
11177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11178 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11179 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11189 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11190 if test -n "$AR_FOR_TARGET"; then
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11192 $as_echo "$AR_FOR_TARGET" >&6; }
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11195 $as_echo "no
" >&6; }
11200 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11203 if test -n "$AR_FOR_TARGET"; then
11204 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11205 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11206 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11209 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11210 for ncn_progname in ar; do
11211 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11212 set dummy ${ncn_progname}; ac_word=$2
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11214 $as_echo_n "checking
for $ac_word...
" >&6; }
11215 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11216 $as_echo_n "(cached
) " >&6
11218 if test -n "$AR_FOR_TARGET"; then
11219 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11222 for as_dir in $PATH
11225 test -z "$as_dir" && as_dir=.
11226 for ac_exec_ext in '' $ac_executable_extensions; do
11227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11228 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11229 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11238 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11239 if test -n "$AR_FOR_TARGET"; then
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11241 $as_echo "$AR_FOR_TARGET" >&6; }
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11244 $as_echo "no
" >&6; }
11251 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11252 for ncn_progname in ar; do
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11254 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11255 if test -x $with_build_time_tools/${ncn_progname}; then
11256 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11258 $as_echo "yes" >&6; }
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11262 $as_echo "no
" >&6; }
11267 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11268 for ncn_progname in ar; do
11269 if test -n "$ncn_target_tool_prefix"; then
11270 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11271 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11273 $as_echo_n "checking
for $ac_word...
" >&6; }
11274 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11275 $as_echo_n "(cached
) " >&6
11277 if test -n "$AR_FOR_TARGET"; then
11278 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11281 for as_dir in $PATH
11284 test -z "$as_dir" && as_dir=.
11285 for ac_exec_ext in '' $ac_executable_extensions; do
11286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11287 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11288 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11297 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11298 if test -n "$AR_FOR_TARGET"; then
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11300 $as_echo "$AR_FOR_TARGET" >&6; }
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11303 $as_echo "no
" >&6; }
11308 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11309 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11310 set dummy ${ncn_progname}; ac_word=$2
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11312 $as_echo_n "checking
for $ac_word...
" >&6; }
11313 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11314 $as_echo_n "(cached
) " >&6
11316 if test -n "$AR_FOR_TARGET"; then
11317 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11320 for as_dir in $PATH
11323 test -z "$as_dir" && as_dir=.
11324 for ac_exec_ext in '' $ac_executable_extensions; do
11325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11326 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11327 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11336 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11337 if test -n "$AR_FOR_TARGET"; then
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11339 $as_echo "$AR_FOR_TARGET" >&6; }
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11342 $as_echo "no
" >&6; }
11347 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11351 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11353 if test $build = $target ; then
11356 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11359 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11363 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11369 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11370 if test -n "$with_build_time_tools"; then
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11372 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11373 if test -x $with_build_time_tools/as; then
11374 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11375 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11377 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11380 $as_echo "no
" >&6; }
11382 elif test $build != $host && test $have_gcc_for_target = yes; then
11383 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11384 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11385 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11388 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11389 # Extract the first word of "as
", so it can be a program name with args.
11390 set dummy as; ac_word=$2
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11392 $as_echo_n "checking
for $ac_word...
" >&6; }
11393 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
11394 $as_echo_n "(cached
) " >&6
11396 case $AS_FOR_TARGET in
11398 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11402 for as_dir in $gcc_cv_tool_dirs
11405 test -z "$as_dir" && as_dir=.
11406 for ac_exec_ext in '' $ac_executable_extensions; do
11407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11408 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11409 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11419 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11420 if test -n "$AS_FOR_TARGET"; then
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11422 $as_echo "$AS_FOR_TARGET" >&6; }
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11425 $as_echo "no
" >&6; }
11430 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11433 if test -n "$AS_FOR_TARGET"; then
11434 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11435 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11436 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11439 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11440 for ncn_progname in as; do
11441 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11442 set dummy ${ncn_progname}; ac_word=$2
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11444 $as_echo_n "checking
for $ac_word...
" >&6; }
11445 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11446 $as_echo_n "(cached
) " >&6
11448 if test -n "$AS_FOR_TARGET"; then
11449 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11452 for as_dir in $PATH
11455 test -z "$as_dir" && as_dir=.
11456 for ac_exec_ext in '' $ac_executable_extensions; do
11457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11458 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11459 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11468 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11469 if test -n "$AS_FOR_TARGET"; then
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11471 $as_echo "$AS_FOR_TARGET" >&6; }
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11474 $as_echo "no
" >&6; }
11481 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11482 for ncn_progname in as; do
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11484 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11485 if test -x $with_build_time_tools/${ncn_progname}; then
11486 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11488 $as_echo "yes" >&6; }
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11492 $as_echo "no
" >&6; }
11497 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11498 for ncn_progname in as; do
11499 if test -n "$ncn_target_tool_prefix"; then
11500 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11501 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11503 $as_echo_n "checking
for $ac_word...
" >&6; }
11504 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11505 $as_echo_n "(cached
) " >&6
11507 if test -n "$AS_FOR_TARGET"; then
11508 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11511 for as_dir in $PATH
11514 test -z "$as_dir" && as_dir=.
11515 for ac_exec_ext in '' $ac_executable_extensions; do
11516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11517 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11518 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11527 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11528 if test -n "$AS_FOR_TARGET"; then
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11530 $as_echo "$AS_FOR_TARGET" >&6; }
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11533 $as_echo "no
" >&6; }
11538 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11539 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11540 set dummy ${ncn_progname}; ac_word=$2
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11542 $as_echo_n "checking
for $ac_word...
" >&6; }
11543 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11544 $as_echo_n "(cached
) " >&6
11546 if test -n "$AS_FOR_TARGET"; then
11547 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11550 for as_dir in $PATH
11553 test -z "$as_dir" && as_dir=.
11554 for ac_exec_ext in '' $ac_executable_extensions; do
11555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11556 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11557 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11566 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11567 if test -n "$AS_FOR_TARGET"; then
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11569 $as_echo "$AS_FOR_TARGET" >&6; }
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11572 $as_echo "no
" >&6; }
11577 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11581 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11583 if test $build = $target ; then
11586 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11589 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11593 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11599 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11600 if test -n "$with_build_time_tools"; then
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11602 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11603 if test -x $with_build_time_tools/dlltool; then
11604 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11605 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11607 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11610 $as_echo "no
" >&6; }
11612 elif test $build != $host && test $have_gcc_for_target = yes; then
11613 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11614 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11615 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11618 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11619 # Extract the first word of "dlltool
", so it can be a program name with args.
11620 set dummy dlltool; ac_word=$2
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11622 $as_echo_n "checking
for $ac_word...
" >&6; }
11623 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
11624 $as_echo_n "(cached
) " >&6
11626 case $DLLTOOL_FOR_TARGET in
11628 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11632 for as_dir in $gcc_cv_tool_dirs
11635 test -z "$as_dir" && as_dir=.
11636 for ac_exec_ext in '' $ac_executable_extensions; do
11637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11638 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11649 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11650 if test -n "$DLLTOOL_FOR_TARGET"; then
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11652 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11655 $as_echo "no
" >&6; }
11660 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11663 if test -n "$DLLTOOL_FOR_TARGET"; then
11664 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11665 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11666 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11669 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11670 for ncn_progname in dlltool; do
11671 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11672 set dummy ${ncn_progname}; ac_word=$2
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11674 $as_echo_n "checking
for $ac_word...
" >&6; }
11675 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11676 $as_echo_n "(cached
) " >&6
11678 if test -n "$DLLTOOL_FOR_TARGET"; then
11679 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11682 for as_dir in $PATH
11685 test -z "$as_dir" && as_dir=.
11686 for ac_exec_ext in '' $ac_executable_extensions; do
11687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11688 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11689 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11698 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11699 if test -n "$DLLTOOL_FOR_TARGET"; then
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11701 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11704 $as_echo "no
" >&6; }
11711 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11712 for ncn_progname in dlltool; do
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11714 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11715 if test -x $with_build_time_tools/${ncn_progname}; then
11716 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11718 $as_echo "yes" >&6; }
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11722 $as_echo "no
" >&6; }
11727 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11728 for ncn_progname in dlltool; do
11729 if test -n "$ncn_target_tool_prefix"; then
11730 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11731 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11733 $as_echo_n "checking
for $ac_word...
" >&6; }
11734 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11735 $as_echo_n "(cached
) " >&6
11737 if test -n "$DLLTOOL_FOR_TARGET"; then
11738 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11741 for as_dir in $PATH
11744 test -z "$as_dir" && as_dir=.
11745 for ac_exec_ext in '' $ac_executable_extensions; do
11746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11747 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11757 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11758 if test -n "$DLLTOOL_FOR_TARGET"; then
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11760 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11763 $as_echo "no
" >&6; }
11768 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11769 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11770 set dummy ${ncn_progname}; ac_word=$2
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11772 $as_echo_n "checking
for $ac_word...
" >&6; }
11773 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11774 $as_echo_n "(cached
) " >&6
11776 if test -n "$DLLTOOL_FOR_TARGET"; then
11777 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11780 for as_dir in $PATH
11783 test -z "$as_dir" && as_dir=.
11784 for ac_exec_ext in '' $ac_executable_extensions; do
11785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11786 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11787 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11796 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11797 if test -n "$DLLTOOL_FOR_TARGET"; then
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11799 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11802 $as_echo "no
" >&6; }
11807 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11811 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11813 if test $build = $target ; then
11814 DLLTOOL_FOR_TARGET="$2"
11816 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11819 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11823 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11829 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11830 if test -n "$with_build_time_tools"; then
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11832 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11833 if test -x $with_build_time_tools/ld; then
11834 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11835 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11837 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11840 $as_echo "no
" >&6; }
11842 elif test $build != $host && test $have_gcc_for_target = yes; then
11843 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11844 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11845 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11848 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11849 # Extract the first word of "ld
", so it can be a program name with args.
11850 set dummy ld; ac_word=$2
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11852 $as_echo_n "checking
for $ac_word...
" >&6; }
11853 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
11854 $as_echo_n "(cached
) " >&6
11856 case $LD_FOR_TARGET in
11858 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11862 for as_dir in $gcc_cv_tool_dirs
11865 test -z "$as_dir" && as_dir=.
11866 for ac_exec_ext in '' $ac_executable_extensions; do
11867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11868 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11879 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11880 if test -n "$LD_FOR_TARGET"; then
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11882 $as_echo "$LD_FOR_TARGET" >&6; }
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11885 $as_echo "no
" >&6; }
11890 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11893 if test -n "$LD_FOR_TARGET"; then
11894 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11895 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11896 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11899 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11900 for ncn_progname in ld; do
11901 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11902 set dummy ${ncn_progname}; ac_word=$2
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11904 $as_echo_n "checking
for $ac_word...
" >&6; }
11905 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11906 $as_echo_n "(cached
) " >&6
11908 if test -n "$LD_FOR_TARGET"; then
11909 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11912 for as_dir in $PATH
11915 test -z "$as_dir" && as_dir=.
11916 for ac_exec_ext in '' $ac_executable_extensions; do
11917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11918 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11919 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11928 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11929 if test -n "$LD_FOR_TARGET"; then
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11931 $as_echo "$LD_FOR_TARGET" >&6; }
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11934 $as_echo "no
" >&6; }
11941 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11942 for ncn_progname in ld; do
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11944 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11945 if test -x $with_build_time_tools/${ncn_progname}; then
11946 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11948 $as_echo "yes" >&6; }
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11952 $as_echo "no
" >&6; }
11957 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11958 for ncn_progname in ld; do
11959 if test -n "$ncn_target_tool_prefix"; then
11960 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11961 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11963 $as_echo_n "checking
for $ac_word...
" >&6; }
11964 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11965 $as_echo_n "(cached
) " >&6
11967 if test -n "$LD_FOR_TARGET"; then
11968 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11971 for as_dir in $PATH
11974 test -z "$as_dir" && as_dir=.
11975 for ac_exec_ext in '' $ac_executable_extensions; do
11976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11977 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11978 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11987 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11988 if test -n "$LD_FOR_TARGET"; then
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11990 $as_echo "$LD_FOR_TARGET" >&6; }
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11993 $as_echo "no
" >&6; }
11998 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11999 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12000 set dummy ${ncn_progname}; ac_word=$2
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12002 $as_echo_n "checking
for $ac_word...
" >&6; }
12003 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12004 $as_echo_n "(cached
) " >&6
12006 if test -n "$LD_FOR_TARGET"; then
12007 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12010 for as_dir in $PATH
12013 test -z "$as_dir" && as_dir=.
12014 for ac_exec_ext in '' $ac_executable_extensions; do
12015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12016 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12017 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12026 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12027 if test -n "$LD_FOR_TARGET"; then
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12029 $as_echo "$LD_FOR_TARGET" >&6; }
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12032 $as_echo "no
" >&6; }
12037 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
12041 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
12043 if test $build = $target ; then
12046 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
12049 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
12053 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12059 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12060 if test -n "$with_build_time_tools"; then
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
12062 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
12063 if test -x $with_build_time_tools/lipo; then
12064 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12065 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
12067 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12070 $as_echo "no
" >&6; }
12072 elif test $build != $host && test $have_gcc_for_target = yes; then
12073 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12074 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12075 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12078 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12079 # Extract the first word of "lipo
", so it can be a program name with args.
12080 set dummy lipo; ac_word=$2
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12082 $as_echo_n "checking
for $ac_word...
" >&6; }
12083 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
12084 $as_echo_n "(cached
) " >&6
12086 case $LIPO_FOR_TARGET in
12088 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12092 for as_dir in $gcc_cv_tool_dirs
12095 test -z "$as_dir" && as_dir=.
12096 for ac_exec_ext in '' $ac_executable_extensions; do
12097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12098 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12109 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12110 if test -n "$LIPO_FOR_TARGET"; then
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12112 $as_echo "$LIPO_FOR_TARGET" >&6; }
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12115 $as_echo "no
" >&6; }
12120 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12123 if test -n "$LIPO_FOR_TARGET"; then
12124 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12125 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12126 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12129 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12130 for ncn_progname in lipo; do
12131 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12132 set dummy ${ncn_progname}; ac_word=$2
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12134 $as_echo_n "checking
for $ac_word...
" >&6; }
12135 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12136 $as_echo_n "(cached
) " >&6
12138 if test -n "$LIPO_FOR_TARGET"; then
12139 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12142 for as_dir in $PATH
12145 test -z "$as_dir" && as_dir=.
12146 for ac_exec_ext in '' $ac_executable_extensions; do
12147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12148 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12149 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12158 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12159 if test -n "$LIPO_FOR_TARGET"; then
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12161 $as_echo "$LIPO_FOR_TARGET" >&6; }
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12164 $as_echo "no
" >&6; }
12171 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12172 for ncn_progname in lipo; do
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12174 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12175 if test -x $with_build_time_tools/${ncn_progname}; then
12176 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12178 $as_echo "yes" >&6; }
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12182 $as_echo "no
" >&6; }
12187 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12188 for ncn_progname in lipo; do
12189 if test -n "$ncn_target_tool_prefix"; then
12190 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12191 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12193 $as_echo_n "checking
for $ac_word...
" >&6; }
12194 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12195 $as_echo_n "(cached
) " >&6
12197 if test -n "$LIPO_FOR_TARGET"; then
12198 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12201 for as_dir in $PATH
12204 test -z "$as_dir" && as_dir=.
12205 for ac_exec_ext in '' $ac_executable_extensions; do
12206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12207 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12217 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12218 if test -n "$LIPO_FOR_TARGET"; then
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12220 $as_echo "$LIPO_FOR_TARGET" >&6; }
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12223 $as_echo "no
" >&6; }
12228 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12229 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12230 set dummy ${ncn_progname}; ac_word=$2
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12232 $as_echo_n "checking
for $ac_word...
" >&6; }
12233 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12234 $as_echo_n "(cached
) " >&6
12236 if test -n "$LIPO_FOR_TARGET"; then
12237 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12240 for as_dir in $PATH
12243 test -z "$as_dir" && as_dir=.
12244 for ac_exec_ext in '' $ac_executable_extensions; do
12245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12246 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12256 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12257 if test -n "$LIPO_FOR_TARGET"; then
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12259 $as_echo "$LIPO_FOR_TARGET" >&6; }
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12262 $as_echo "no
" >&6; }
12267 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12271 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12273 if test $build = $target ; then
12274 LIPO_FOR_TARGET="$2"
12276 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12279 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12283 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12289 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12290 if test -n "$with_build_time_tools"; then
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12292 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12293 if test -x $with_build_time_tools/nm; then
12294 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12295 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12297 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12300 $as_echo "no
" >&6; }
12302 elif test $build != $host && test $have_gcc_for_target = yes; then
12303 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12304 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12305 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12308 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12309 # Extract the first word of "nm
", so it can be a program name with args.
12310 set dummy nm; ac_word=$2
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12312 $as_echo_n "checking
for $ac_word...
" >&6; }
12313 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
12314 $as_echo_n "(cached
) " >&6
12316 case $NM_FOR_TARGET in
12318 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12322 for as_dir in $gcc_cv_tool_dirs
12325 test -z "$as_dir" && as_dir=.
12326 for ac_exec_ext in '' $ac_executable_extensions; do
12327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12328 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12339 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12340 if test -n "$NM_FOR_TARGET"; then
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12342 $as_echo "$NM_FOR_TARGET" >&6; }
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12345 $as_echo "no
" >&6; }
12350 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12353 if test -n "$NM_FOR_TARGET"; then
12354 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12355 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12356 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12359 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12360 for ncn_progname in nm; do
12361 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12362 set dummy ${ncn_progname}; ac_word=$2
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12364 $as_echo_n "checking
for $ac_word...
" >&6; }
12365 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12366 $as_echo_n "(cached
) " >&6
12368 if test -n "$NM_FOR_TARGET"; then
12369 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12372 for as_dir in $PATH
12375 test -z "$as_dir" && as_dir=.
12376 for ac_exec_ext in '' $ac_executable_extensions; do
12377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12378 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12379 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12388 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12389 if test -n "$NM_FOR_TARGET"; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12391 $as_echo "$NM_FOR_TARGET" >&6; }
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12394 $as_echo "no
" >&6; }
12401 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12402 for ncn_progname in nm; do
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12404 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12405 if test -x $with_build_time_tools/${ncn_progname}; then
12406 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12408 $as_echo "yes" >&6; }
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12412 $as_echo "no
" >&6; }
12417 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12418 for ncn_progname in nm; do
12419 if test -n "$ncn_target_tool_prefix"; then
12420 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12421 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12423 $as_echo_n "checking
for $ac_word...
" >&6; }
12424 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12425 $as_echo_n "(cached
) " >&6
12427 if test -n "$NM_FOR_TARGET"; then
12428 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12431 for as_dir in $PATH
12434 test -z "$as_dir" && as_dir=.
12435 for ac_exec_ext in '' $ac_executable_extensions; do
12436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12437 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12438 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12447 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12448 if test -n "$NM_FOR_TARGET"; then
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12450 $as_echo "$NM_FOR_TARGET" >&6; }
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12453 $as_echo "no
" >&6; }
12458 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12459 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12460 set dummy ${ncn_progname}; ac_word=$2
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12462 $as_echo_n "checking
for $ac_word...
" >&6; }
12463 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12464 $as_echo_n "(cached
) " >&6
12466 if test -n "$NM_FOR_TARGET"; then
12467 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12470 for as_dir in $PATH
12473 test -z "$as_dir" && as_dir=.
12474 for ac_exec_ext in '' $ac_executable_extensions; do
12475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12476 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12477 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12486 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12487 if test -n "$NM_FOR_TARGET"; then
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12489 $as_echo "$NM_FOR_TARGET" >&6; }
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12492 $as_echo "no
" >&6; }
12497 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12501 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12503 if test $build = $target ; then
12506 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12509 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12513 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12519 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12520 if test -n "$with_build_time_tools"; then
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12522 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12523 if test -x $with_build_time_tools/objcopy; then
12524 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12525 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12527 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12530 $as_echo "no
" >&6; }
12532 elif test $build != $host && test $have_gcc_for_target = yes; then
12533 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12534 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12535 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12538 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12539 # Extract the first word of "objcopy
", so it can be a program name with args.
12540 set dummy objcopy; ac_word=$2
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12542 $as_echo_n "checking
for $ac_word...
" >&6; }
12543 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
12544 $as_echo_n "(cached
) " >&6
12546 case $OBJCOPY_FOR_TARGET in
12548 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12552 for as_dir in $gcc_cv_tool_dirs
12555 test -z "$as_dir" && as_dir=.
12556 for ac_exec_ext in '' $ac_executable_extensions; do
12557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12558 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12559 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12569 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12570 if test -n "$OBJCOPY_FOR_TARGET"; then
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12572 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12575 $as_echo "no
" >&6; }
12580 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12583 if test -n "$OBJCOPY_FOR_TARGET"; then
12584 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12585 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12586 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12589 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12590 for ncn_progname in objcopy; do
12591 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12592 set dummy ${ncn_progname}; ac_word=$2
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12594 $as_echo_n "checking
for $ac_word...
" >&6; }
12595 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12596 $as_echo_n "(cached
) " >&6
12598 if test -n "$OBJCOPY_FOR_TARGET"; then
12599 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12602 for as_dir in $PATH
12605 test -z "$as_dir" && as_dir=.
12606 for ac_exec_ext in '' $ac_executable_extensions; do
12607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12608 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12609 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12618 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12619 if test -n "$OBJCOPY_FOR_TARGET"; then
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12621 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12624 $as_echo "no
" >&6; }
12631 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12632 for ncn_progname in objcopy; do
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12634 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12635 if test -x $with_build_time_tools/${ncn_progname}; then
12636 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12638 $as_echo "yes" >&6; }
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12642 $as_echo "no
" >&6; }
12647 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12648 for ncn_progname in objcopy; do
12649 if test -n "$ncn_target_tool_prefix"; then
12650 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12651 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12653 $as_echo_n "checking
for $ac_word...
" >&6; }
12654 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12655 $as_echo_n "(cached
) " >&6
12657 if test -n "$OBJCOPY_FOR_TARGET"; then
12658 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12661 for as_dir in $PATH
12664 test -z "$as_dir" && as_dir=.
12665 for ac_exec_ext in '' $ac_executable_extensions; do
12666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12667 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12668 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12677 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12678 if test -n "$OBJCOPY_FOR_TARGET"; then
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12680 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12683 $as_echo "no
" >&6; }
12688 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12689 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12690 set dummy ${ncn_progname}; ac_word=$2
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12692 $as_echo_n "checking
for $ac_word...
" >&6; }
12693 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12694 $as_echo_n "(cached
) " >&6
12696 if test -n "$OBJCOPY_FOR_TARGET"; then
12697 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12700 for as_dir in $PATH
12703 test -z "$as_dir" && as_dir=.
12704 for ac_exec_ext in '' $ac_executable_extensions; do
12705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12706 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12707 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12716 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12717 if test -n "$OBJCOPY_FOR_TARGET"; then
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12719 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12722 $as_echo "no
" >&6; }
12727 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12731 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12733 if test $build = $target ; then
12734 OBJCOPY_FOR_TARGET="$2"
12736 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12739 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12743 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12749 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12750 if test -n "$with_build_time_tools"; then
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12752 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12753 if test -x $with_build_time_tools/objdump; then
12754 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12755 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12757 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12760 $as_echo "no
" >&6; }
12762 elif test $build != $host && test $have_gcc_for_target = yes; then
12763 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12764 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12765 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12768 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12769 # Extract the first word of "objdump
", so it can be a program name with args.
12770 set dummy objdump; ac_word=$2
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12772 $as_echo_n "checking
for $ac_word...
" >&6; }
12773 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
12774 $as_echo_n "(cached
) " >&6
12776 case $OBJDUMP_FOR_TARGET in
12778 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12782 for as_dir in $gcc_cv_tool_dirs
12785 test -z "$as_dir" && as_dir=.
12786 for ac_exec_ext in '' $ac_executable_extensions; do
12787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12788 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12789 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12799 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12800 if test -n "$OBJDUMP_FOR_TARGET"; then
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12802 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12805 $as_echo "no
" >&6; }
12810 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12813 if test -n "$OBJDUMP_FOR_TARGET"; then
12814 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12815 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12816 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12819 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12820 for ncn_progname in objdump; do
12821 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12822 set dummy ${ncn_progname}; ac_word=$2
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12824 $as_echo_n "checking
for $ac_word...
" >&6; }
12825 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12826 $as_echo_n "(cached
) " >&6
12828 if test -n "$OBJDUMP_FOR_TARGET"; then
12829 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12832 for as_dir in $PATH
12835 test -z "$as_dir" && as_dir=.
12836 for ac_exec_ext in '' $ac_executable_extensions; do
12837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12838 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12848 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12849 if test -n "$OBJDUMP_FOR_TARGET"; then
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12851 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12854 $as_echo "no
" >&6; }
12861 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12862 for ncn_progname in objdump; do
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12864 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12865 if test -x $with_build_time_tools/${ncn_progname}; then
12866 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12868 $as_echo "yes" >&6; }
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12872 $as_echo "no
" >&6; }
12877 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12878 for ncn_progname in objdump; do
12879 if test -n "$ncn_target_tool_prefix"; then
12880 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12881 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12883 $as_echo_n "checking
for $ac_word...
" >&6; }
12884 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12885 $as_echo_n "(cached
) " >&6
12887 if test -n "$OBJDUMP_FOR_TARGET"; then
12888 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12891 for as_dir in $PATH
12894 test -z "$as_dir" && as_dir=.
12895 for ac_exec_ext in '' $ac_executable_extensions; do
12896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12897 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12898 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12907 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12908 if test -n "$OBJDUMP_FOR_TARGET"; then
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12910 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12913 $as_echo "no
" >&6; }
12918 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12919 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12920 set dummy ${ncn_progname}; ac_word=$2
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12922 $as_echo_n "checking
for $ac_word...
" >&6; }
12923 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12924 $as_echo_n "(cached
) " >&6
12926 if test -n "$OBJDUMP_FOR_TARGET"; then
12927 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12930 for as_dir in $PATH
12933 test -z "$as_dir" && as_dir=.
12934 for ac_exec_ext in '' $ac_executable_extensions; do
12935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12936 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12946 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12947 if test -n "$OBJDUMP_FOR_TARGET"; then
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12949 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12952 $as_echo "no
" >&6; }
12957 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12961 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12963 if test $build = $target ; then
12964 OBJDUMP_FOR_TARGET="$2"
12966 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12969 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12973 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12979 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
12980 if test -n "$with_build_time_tools"; then
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for otool
in $with_build_time_tools" >&5
12982 $as_echo_n "checking
for otool
in $with_build_time_tools...
" >&6; }
12983 if test -x $with_build_time_tools/otool; then
12984 OTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/otool
12985 ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OTOOL_FOR_TARGET" >&5
12987 $as_echo "$ac_cv_path_OTOOL_FOR_TARGET" >&6; }
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12990 $as_echo "no
" >&6; }
12992 elif test $build != $host && test $have_gcc_for_target = yes; then
12993 OTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=otool`
12994 test $OTOOL_FOR_TARGET = otool && OTOOL_FOR_TARGET=
12995 test -n "$OTOOL_FOR_TARGET" && ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
12998 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12999 # Extract the first word of "otool
", so it can be a program name with args.
13000 set dummy otool; ac_word=$2
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13002 $as_echo_n "checking
for $ac_word...
" >&6; }
13003 if ${ac_cv_path_OTOOL_FOR_TARGET+:} false; then :
13004 $as_echo_n "(cached
) " >&6
13006 case $OTOOL_FOR_TARGET in
13008 ac_cv_path_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test with a path.
13011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13012 for as_dir in $gcc_cv_tool_dirs
13015 test -z "$as_dir" && as_dir=.
13016 for ac_exec_ext in '' $ac_executable_extensions; do
13017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13018 ac_cv_path_OTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13029 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
13030 if test -n "$OTOOL_FOR_TARGET"; then
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13032 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13035 $as_echo "no
" >&6; }
13040 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
13043 if test -n "$OTOOL_FOR_TARGET"; then
13044 ac_cv_prog_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
13045 elif test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13046 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13049 if test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13050 for ncn_progname in otool; do
13051 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13052 set dummy ${ncn_progname}; ac_word=$2
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13054 $as_echo_n "checking
for $ac_word...
" >&6; }
13055 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13056 $as_echo_n "(cached
) " >&6
13058 if test -n "$OTOOL_FOR_TARGET"; then
13059 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13062 for as_dir in $PATH
13065 test -z "$as_dir" && as_dir=.
13066 for ac_exec_ext in '' $ac_executable_extensions; do
13067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13068 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
13069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13078 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13079 if test -n "$OTOOL_FOR_TARGET"; then
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13081 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13084 $as_echo "no
" >&6; }
13091 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
13092 for ncn_progname in otool; do
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13094 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13095 if test -x $with_build_time_tools/${ncn_progname}; then
13096 ac_cv_prog_OTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13098 $as_echo "yes" >&6; }
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13102 $as_echo "no
" >&6; }
13107 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13108 for ncn_progname in otool; do
13109 if test -n "$ncn_target_tool_prefix"; then
13110 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13111 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13113 $as_echo_n "checking
for $ac_word...
" >&6; }
13114 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13115 $as_echo_n "(cached
) " >&6
13117 if test -n "$OTOOL_FOR_TARGET"; then
13118 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13121 for as_dir in $PATH
13124 test -z "$as_dir" && as_dir=.
13125 for ac_exec_ext in '' $ac_executable_extensions; do
13126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13127 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13137 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13138 if test -n "$OTOOL_FOR_TARGET"; then
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13140 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13143 $as_echo "no
" >&6; }
13148 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test $build = $target ; then
13149 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13150 set dummy ${ncn_progname}; ac_word=$2
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13152 $as_echo_n "checking
for $ac_word...
" >&6; }
13153 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13154 $as_echo_n "(cached
) " >&6
13156 if test -n "$OTOOL_FOR_TARGET"; then
13157 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13160 for as_dir in $PATH
13163 test -z "$as_dir" && as_dir=.
13164 for ac_exec_ext in '' $ac_executable_extensions; do
13165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13166 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
13167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13176 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13177 if test -n "$OTOOL_FOR_TARGET"; then
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13179 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13182 $as_echo "no
" >&6; }
13187 test -n "$ac_cv_prog_OTOOL_FOR_TARGET" && break
13191 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" ; then
13193 if test $build = $target ; then
13194 OTOOL_FOR_TARGET="$2"
13196 OTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
13199 OTOOL_FOR_TARGET="$ac_cv_prog_OTOOL_FOR_TARGET"
13203 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
13209 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13210 if test -n "$with_build_time_tools"; then
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
13212 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
13213 if test -x $with_build_time_tools/ranlib; then
13214 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
13215 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
13217 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13220 $as_echo "no
" >&6; }
13222 elif test $build != $host && test $have_gcc_for_target = yes; then
13223 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
13224 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
13225 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13228 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13229 # Extract the first word of "ranlib
", so it can be a program name with args.
13230 set dummy ranlib; ac_word=$2
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13232 $as_echo_n "checking
for $ac_word...
" >&6; }
13233 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
13234 $as_echo_n "(cached
) " >&6
13236 case $RANLIB_FOR_TARGET in
13238 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
13241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13242 for as_dir in $gcc_cv_tool_dirs
13245 test -z "$as_dir" && as_dir=.
13246 for ac_exec_ext in '' $ac_executable_extensions; do
13247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13248 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13259 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13260 if test -n "$RANLIB_FOR_TARGET"; then
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13262 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13265 $as_echo "no
" >&6; }
13270 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13273 if test -n "$RANLIB_FOR_TARGET"; then
13274 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13275 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13276 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13279 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13280 for ncn_progname in ranlib; do
13281 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13282 set dummy ${ncn_progname}; ac_word=$2
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13284 $as_echo_n "checking
for $ac_word...
" >&6; }
13285 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13286 $as_echo_n "(cached
) " >&6
13288 if test -n "$RANLIB_FOR_TARGET"; then
13289 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13292 for as_dir in $PATH
13295 test -z "$as_dir" && as_dir=.
13296 for ac_exec_ext in '' $ac_executable_extensions; do
13297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13298 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13299 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13308 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13309 if test -n "$RANLIB_FOR_TARGET"; then
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13311 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13314 $as_echo "no
" >&6; }
13321 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
13322 for ncn_progname in ranlib; do
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13324 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13325 if test -x $with_build_time_tools/${ncn_progname}; then
13326 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13328 $as_echo "yes" >&6; }
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13332 $as_echo "no
" >&6; }
13337 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13338 for ncn_progname in ranlib; do
13339 if test -n "$ncn_target_tool_prefix"; then
13340 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13341 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13343 $as_echo_n "checking
for $ac_word...
" >&6; }
13344 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13345 $as_echo_n "(cached
) " >&6
13347 if test -n "$RANLIB_FOR_TARGET"; then
13348 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13351 for as_dir in $PATH
13354 test -z "$as_dir" && as_dir=.
13355 for ac_exec_ext in '' $ac_executable_extensions; do
13356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13357 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13367 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13368 if test -n "$RANLIB_FOR_TARGET"; then
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13370 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13373 $as_echo "no
" >&6; }
13378 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
13379 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13380 set dummy ${ncn_progname}; ac_word=$2
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13382 $as_echo_n "checking
for $ac_word...
" >&6; }
13383 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13384 $as_echo_n "(cached
) " >&6
13386 if test -n "$RANLIB_FOR_TARGET"; then
13387 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13390 for as_dir in $PATH
13393 test -z "$as_dir" && as_dir=.
13394 for ac_exec_ext in '' $ac_executable_extensions; do
13395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13396 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13406 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13407 if test -n "$RANLIB_FOR_TARGET"; then
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13409 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13412 $as_echo "no
" >&6; }
13417 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
13421 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
13423 if test $build = $target ; then
13424 RANLIB_FOR_TARGET="$2"
13426 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13429 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13433 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13439 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13440 if test -n "$with_build_time_tools"; then
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13442 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13443 if test -x $with_build_time_tools/readelf; then
13444 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13445 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13447 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13450 $as_echo "no
" >&6; }
13452 elif test $build != $host && test $have_gcc_for_target = yes; then
13453 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13454 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13455 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13458 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13459 # Extract the first word of "readelf
", so it can be a program name with args.
13460 set dummy readelf; ac_word=$2
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13462 $as_echo_n "checking
for $ac_word...
" >&6; }
13463 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
13464 $as_echo_n "(cached
) " >&6
13466 case $READELF_FOR_TARGET in
13468 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13472 for as_dir in $gcc_cv_tool_dirs
13475 test -z "$as_dir" && as_dir=.
13476 for ac_exec_ext in '' $ac_executable_extensions; do
13477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13478 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13479 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13489 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13490 if test -n "$READELF_FOR_TARGET"; then
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13492 $as_echo "$READELF_FOR_TARGET" >&6; }
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13495 $as_echo "no
" >&6; }
13500 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13503 if test -n "$READELF_FOR_TARGET"; then
13504 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13505 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13506 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13509 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13510 for ncn_progname in readelf; do
13511 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13512 set dummy ${ncn_progname}; ac_word=$2
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13514 $as_echo_n "checking
for $ac_word...
" >&6; }
13515 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13516 $as_echo_n "(cached
) " >&6
13518 if test -n "$READELF_FOR_TARGET"; then
13519 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13522 for as_dir in $PATH
13525 test -z "$as_dir" && as_dir=.
13526 for ac_exec_ext in '' $ac_executable_extensions; do
13527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13528 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13538 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13539 if test -n "$READELF_FOR_TARGET"; then
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13541 $as_echo "$READELF_FOR_TARGET" >&6; }
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13544 $as_echo "no
" >&6; }
13551 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13552 for ncn_progname in readelf; do
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13554 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13555 if test -x $with_build_time_tools/${ncn_progname}; then
13556 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13558 $as_echo "yes" >&6; }
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13562 $as_echo "no
" >&6; }
13567 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13568 for ncn_progname in readelf; do
13569 if test -n "$ncn_target_tool_prefix"; then
13570 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13571 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13573 $as_echo_n "checking
for $ac_word...
" >&6; }
13574 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13575 $as_echo_n "(cached
) " >&6
13577 if test -n "$READELF_FOR_TARGET"; then
13578 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13581 for as_dir in $PATH
13584 test -z "$as_dir" && as_dir=.
13585 for ac_exec_ext in '' $ac_executable_extensions; do
13586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13587 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13588 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13597 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13598 if test -n "$READELF_FOR_TARGET"; then
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13600 $as_echo "$READELF_FOR_TARGET" >&6; }
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13603 $as_echo "no
" >&6; }
13608 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13609 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13610 set dummy ${ncn_progname}; ac_word=$2
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13612 $as_echo_n "checking
for $ac_word...
" >&6; }
13613 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13614 $as_echo_n "(cached
) " >&6
13616 if test -n "$READELF_FOR_TARGET"; then
13617 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13620 for as_dir in $PATH
13623 test -z "$as_dir" && as_dir=.
13624 for ac_exec_ext in '' $ac_executable_extensions; do
13625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13626 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13627 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13636 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13637 if test -n "$READELF_FOR_TARGET"; then
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13639 $as_echo "$READELF_FOR_TARGET" >&6; }
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13642 $as_echo "no
" >&6; }
13647 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13651 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13653 if test $build = $target ; then
13654 READELF_FOR_TARGET="$2"
13656 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13659 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13663 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13669 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13670 if test -n "$with_build_time_tools"; then
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13672 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13673 if test -x $with_build_time_tools/strip; then
13674 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13675 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13677 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13680 $as_echo "no
" >&6; }
13682 elif test $build != $host && test $have_gcc_for_target = yes; then
13683 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13684 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13685 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13688 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13689 # Extract the first word of "strip
", so it can be a program name with args.
13690 set dummy strip; ac_word=$2
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13692 $as_echo_n "checking
for $ac_word...
" >&6; }
13693 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
13694 $as_echo_n "(cached
) " >&6
13696 case $STRIP_FOR_TARGET in
13698 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13702 for as_dir in $gcc_cv_tool_dirs
13705 test -z "$as_dir" && as_dir=.
13706 for ac_exec_ext in '' $ac_executable_extensions; do
13707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13708 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13719 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13720 if test -n "$STRIP_FOR_TARGET"; then
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13722 $as_echo "$STRIP_FOR_TARGET" >&6; }
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13725 $as_echo "no
" >&6; }
13730 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13733 if test -n "$STRIP_FOR_TARGET"; then
13734 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13735 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13736 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13739 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13740 for ncn_progname in strip; do
13741 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13742 set dummy ${ncn_progname}; ac_word=$2
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13744 $as_echo_n "checking
for $ac_word...
" >&6; }
13745 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13746 $as_echo_n "(cached
) " >&6
13748 if test -n "$STRIP_FOR_TARGET"; then
13749 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13752 for as_dir in $PATH
13755 test -z "$as_dir" && as_dir=.
13756 for ac_exec_ext in '' $ac_executable_extensions; do
13757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13758 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13759 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13768 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13769 if test -n "$STRIP_FOR_TARGET"; then
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13771 $as_echo "$STRIP_FOR_TARGET" >&6; }
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13774 $as_echo "no
" >&6; }
13781 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13782 for ncn_progname in strip; do
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13784 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13785 if test -x $with_build_time_tools/${ncn_progname}; then
13786 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13788 $as_echo "yes" >&6; }
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13792 $as_echo "no
" >&6; }
13797 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13798 for ncn_progname in strip; do
13799 if test -n "$ncn_target_tool_prefix"; then
13800 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13801 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13803 $as_echo_n "checking
for $ac_word...
" >&6; }
13804 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13805 $as_echo_n "(cached
) " >&6
13807 if test -n "$STRIP_FOR_TARGET"; then
13808 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13811 for as_dir in $PATH
13814 test -z "$as_dir" && as_dir=.
13815 for ac_exec_ext in '' $ac_executable_extensions; do
13816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13817 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13818 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13827 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13828 if test -n "$STRIP_FOR_TARGET"; then
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13830 $as_echo "$STRIP_FOR_TARGET" >&6; }
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13833 $as_echo "no
" >&6; }
13838 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13839 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13840 set dummy ${ncn_progname}; ac_word=$2
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13842 $as_echo_n "checking
for $ac_word...
" >&6; }
13843 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13844 $as_echo_n "(cached
) " >&6
13846 if test -n "$STRIP_FOR_TARGET"; then
13847 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13850 for as_dir in $PATH
13853 test -z "$as_dir" && as_dir=.
13854 for ac_exec_ext in '' $ac_executable_extensions; do
13855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13856 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13857 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13866 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13867 if test -n "$STRIP_FOR_TARGET"; then
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13869 $as_echo "$STRIP_FOR_TARGET" >&6; }
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13872 $as_echo "no
" >&6; }
13877 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13881 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13883 if test $build = $target ; then
13884 STRIP_FOR_TARGET="$2"
13886 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13889 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13893 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13899 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13900 if test -n "$with_build_time_tools"; then
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13902 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13903 if test -x $with_build_time_tools/windres; then
13904 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13905 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13907 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13910 $as_echo "no
" >&6; }
13912 elif test $build != $host && test $have_gcc_for_target = yes; then
13913 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13914 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13915 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13918 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13919 # Extract the first word of "windres
", so it can be a program name with args.
13920 set dummy windres; ac_word=$2
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13922 $as_echo_n "checking
for $ac_word...
" >&6; }
13923 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
13924 $as_echo_n "(cached
) " >&6
13926 case $WINDRES_FOR_TARGET in
13928 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13932 for as_dir in $gcc_cv_tool_dirs
13935 test -z "$as_dir" && as_dir=.
13936 for ac_exec_ext in '' $ac_executable_extensions; do
13937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13938 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13939 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13949 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13950 if test -n "$WINDRES_FOR_TARGET"; then
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13952 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13955 $as_echo "no
" >&6; }
13960 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13963 if test -n "$WINDRES_FOR_TARGET"; then
13964 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13965 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13966 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13969 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13970 for ncn_progname in windres; do
13971 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13972 set dummy ${ncn_progname}; ac_word=$2
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13974 $as_echo_n "checking
for $ac_word...
" >&6; }
13975 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13976 $as_echo_n "(cached
) " >&6
13978 if test -n "$WINDRES_FOR_TARGET"; then
13979 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13982 for as_dir in $PATH
13985 test -z "$as_dir" && as_dir=.
13986 for ac_exec_ext in '' $ac_executable_extensions; do
13987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13988 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13989 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13998 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13999 if test -n "$WINDRES_FOR_TARGET"; then
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14001 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14004 $as_echo "no
" >&6; }
14011 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
14012 for ncn_progname in windres; do
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14014 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14015 if test -x $with_build_time_tools/${ncn_progname}; then
14016 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14018 $as_echo "yes" >&6; }
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14022 $as_echo "no
" >&6; }
14027 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
14028 for ncn_progname in windres; do
14029 if test -n "$ncn_target_tool_prefix"; then
14030 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14031 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14033 $as_echo_n "checking
for $ac_word...
" >&6; }
14034 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14035 $as_echo_n "(cached
) " >&6
14037 if test -n "$WINDRES_FOR_TARGET"; then
14038 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14041 for as_dir in $PATH
14044 test -z "$as_dir" && as_dir=.
14045 for ac_exec_ext in '' $ac_executable_extensions; do
14046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14047 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14048 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14057 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14058 if test -n "$WINDRES_FOR_TARGET"; then
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14060 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14063 $as_echo "no
" >&6; }
14068 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
14069 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14070 set dummy ${ncn_progname}; ac_word=$2
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14072 $as_echo_n "checking
for $ac_word...
" >&6; }
14073 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14074 $as_echo_n "(cached
) " >&6
14076 if test -n "$WINDRES_FOR_TARGET"; then
14077 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14080 for as_dir in $PATH
14083 test -z "$as_dir" && as_dir=.
14084 for ac_exec_ext in '' $ac_executable_extensions; do
14085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14086 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
14087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14096 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14097 if test -n "$WINDRES_FOR_TARGET"; then
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14099 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14102 $as_echo "no
" >&6; }
14107 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
14111 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
14113 if test $build = $target ; then
14114 WINDRES_FOR_TARGET="$2"
14116 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
14119 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
14123 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
14129 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14130 if test -n "$with_build_time_tools"; then
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
14132 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
14133 if test -x $with_build_time_tools/windmc; then
14134 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
14135 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
14137 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14140 $as_echo "no
" >&6; }
14142 elif test $build != $host && test $have_gcc_for_target = yes; then
14143 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
14144 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
14145 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14148 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14149 # Extract the first word of "windmc
", so it can be a program name with args.
14150 set dummy windmc; ac_word=$2
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14152 $as_echo_n "checking
for $ac_word...
" >&6; }
14153 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
14154 $as_echo_n "(cached
) " >&6
14156 case $WINDMC_FOR_TARGET in
14158 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
14161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14162 for as_dir in $gcc_cv_tool_dirs
14165 test -z "$as_dir" && as_dir=.
14166 for ac_exec_ext in '' $ac_executable_extensions; do
14167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14168 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14169 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14179 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14180 if test -n "$WINDMC_FOR_TARGET"; then
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14182 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14185 $as_echo "no
" >&6; }
14190 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14193 if test -n "$WINDMC_FOR_TARGET"; then
14194 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14195 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14196 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14199 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14200 for ncn_progname in windmc; do
14201 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14202 set dummy ${ncn_progname}; ac_word=$2
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14204 $as_echo_n "checking
for $ac_word...
" >&6; }
14205 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14206 $as_echo_n "(cached
) " >&6
14208 if test -n "$WINDMC_FOR_TARGET"; then
14209 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14212 for as_dir in $PATH
14215 test -z "$as_dir" && as_dir=.
14216 for ac_exec_ext in '' $ac_executable_extensions; do
14217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14218 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14228 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14229 if test -n "$WINDMC_FOR_TARGET"; then
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14231 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14234 $as_echo "no
" >&6; }
14241 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
14242 for ncn_progname in windmc; do
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14244 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14245 if test -x $with_build_time_tools/${ncn_progname}; then
14246 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14248 $as_echo "yes" >&6; }
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14252 $as_echo "no
" >&6; }
14257 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14258 for ncn_progname in windmc; do
14259 if test -n "$ncn_target_tool_prefix"; then
14260 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14261 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14263 $as_echo_n "checking
for $ac_word...
" >&6; }
14264 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14265 $as_echo_n "(cached
) " >&6
14267 if test -n "$WINDMC_FOR_TARGET"; then
14268 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14271 for as_dir in $PATH
14274 test -z "$as_dir" && as_dir=.
14275 for ac_exec_ext in '' $ac_executable_extensions; do
14276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14277 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14278 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14287 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14288 if test -n "$WINDMC_FOR_TARGET"; then
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14290 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14293 $as_echo "no
" >&6; }
14298 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
14299 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14300 set dummy ${ncn_progname}; ac_word=$2
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14302 $as_echo_n "checking
for $ac_word...
" >&6; }
14303 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14304 $as_echo_n "(cached
) " >&6
14306 if test -n "$WINDMC_FOR_TARGET"; then
14307 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14310 for as_dir in $PATH
14313 test -z "$as_dir" && as_dir=.
14314 for ac_exec_ext in '' $ac_executable_extensions; do
14315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14316 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14317 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14326 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14327 if test -n "$WINDMC_FOR_TARGET"; then
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14329 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14332 $as_echo "no
" >&6; }
14337 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
14341 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
14343 if test $build = $target ; then
14344 WINDMC_FOR_TARGET="$2"
14346 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14349 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
14353 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14357 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
14360 $as_echo_n "checking where to
find the target
ar...
" >&6; }
14361 if test "x
${build}" != "x
${host}" ; then
14362 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14363 # We already found the complete path
14364 ac_dir=`dirname $AR_FOR_TARGET`
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14366 $as_echo "pre-installed
in $ac_dir" >&6; }
14368 # Canadian cross, just use what we found
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14370 $as_echo "pre-installed
" >&6; }
14374 case " ${configdirs} " in
14379 if test $ok = yes; then
14380 # An in-tree tool is available and we can use it
14381 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14383 $as_echo "just compiled
" >&6; }
14384 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14385 # We already found the complete path
14386 ac_dir=`dirname $AR_FOR_TARGET`
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14388 $as_echo "pre-installed
in $ac_dir" >&6; }
14389 elif test "x
$target" = "x
$host"; then
14390 # We can use an host tool
14391 AR_FOR_TARGET='$(AR)'
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14393 $as_echo "host tool
" >&6; }
14395 # We need a cross tool
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14397 $as_echo "pre-installed
" >&6; }
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
14402 $as_echo_n "checking where to
find the target as...
" >&6; }
14403 if test "x
${build}" != "x
${host}" ; then
14404 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14405 # We already found the complete path
14406 ac_dir=`dirname $AS_FOR_TARGET`
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14408 $as_echo "pre-installed
in $ac_dir" >&6; }
14410 # Canadian cross, just use what we found
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14412 $as_echo "pre-installed
" >&6; }
14416 case " ${configdirs} " in
14421 if test $ok = yes; then
14422 # An in-tree tool is available and we can use it
14423 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14425 $as_echo "just compiled
" >&6; }
14426 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14427 # We already found the complete path
14428 ac_dir=`dirname $AS_FOR_TARGET`
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14430 $as_echo "pre-installed
in $ac_dir" >&6; }
14431 elif test "x
$target" = "x
$host"; then
14432 # We can use an host tool
14433 AS_FOR_TARGET='$(AS)'
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14435 $as_echo "host tool
" >&6; }
14437 # We need a cross tool
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14439 $as_echo "pre-installed
" >&6; }
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14444 $as_echo_n "checking where to
find the target cc...
" >&6; }
14445 if test "x
${build}" != "x
${host}" ; then
14446 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14447 # We already found the complete path
14448 ac_dir=`dirname $CC_FOR_TARGET`
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14450 $as_echo "pre-installed
in $ac_dir" >&6; }
14452 # Canadian cross, just use what we found
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14454 $as_echo "pre-installed
" >&6; }
14458 case " ${configdirs} " in
14463 if test $ok = yes; then
14464 # An in-tree tool is available and we can use it
14465 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14467 $as_echo "just compiled
" >&6; }
14468 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14469 # We already found the complete path
14470 ac_dir=`dirname $CC_FOR_TARGET`
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14472 $as_echo "pre-installed
in $ac_dir" >&6; }
14473 elif test "x
$target" = "x
$host"; then
14474 # We can use an host tool
14475 CC_FOR_TARGET='$(CC)'
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14477 $as_echo "host tool
" >&6; }
14479 # We need a cross tool
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14481 $as_echo "pre-installed
" >&6; }
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14486 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14487 if test "x
${build}" != "x
${host}" ; then
14488 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14489 # We already found the complete path
14490 ac_dir=`dirname $CXX_FOR_TARGET`
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14492 $as_echo "pre-installed
in $ac_dir" >&6; }
14494 # Canadian cross, just use what we found
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14496 $as_echo "pre-installed
" >&6; }
14500 case " ${configdirs} " in
14504 case ,${enable_languages}, in
14508 if test $ok = yes; then
14509 # An in-tree tool is available and we can use it
14510 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'
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14512 $as_echo "just compiled
" >&6; }
14513 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14514 # We already found the complete path
14515 ac_dir=`dirname $CXX_FOR_TARGET`
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14517 $as_echo "pre-installed
in $ac_dir" >&6; }
14518 elif test "x
$target" = "x
$host"; then
14519 # We can use an host tool
14520 CXX_FOR_TARGET='$(CXX)'
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14522 $as_echo "host tool
" >&6; }
14524 # We need a cross tool
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14526 $as_echo "pre-installed
" >&6; }
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14531 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14532 if test "x
${build}" != "x
${host}" ; then
14533 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14534 # We already found the complete path
14535 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14537 $as_echo "pre-installed
in $ac_dir" >&6; }
14539 # Canadian cross, just use what we found
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14541 $as_echo "pre-installed
" >&6; }
14545 case " ${configdirs} " in
14549 case ,${enable_languages}, in
14553 if test $ok = yes; then
14554 # An in-tree tool is available and we can use it
14555 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'
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14557 $as_echo "just compiled
" >&6; }
14558 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14559 # We already found the complete path
14560 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14562 $as_echo "pre-installed
in $ac_dir" >&6; }
14563 elif test "x
$target" = "x
$host"; then
14564 # We can use an host tool
14565 RAW_CXX_FOR_TARGET='$(CXX)'
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14567 $as_echo "host tool
" >&6; }
14569 # We need a cross tool
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14571 $as_echo "pre-installed
" >&6; }
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14576 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14577 if test "x
${build}" != "x
${host}" ; then
14578 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14579 # We already found the complete path
14580 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14582 $as_echo "pre-installed
in $ac_dir" >&6; }
14584 # Canadian cross, just use what we found
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14586 $as_echo "pre-installed
" >&6; }
14590 case " ${configdirs} " in
14595 if test $ok = yes; then
14596 # An in-tree tool is available and we can use it
14597 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14599 $as_echo "just compiled
" >&6; }
14600 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14601 # We already found the complete path
14602 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14604 $as_echo "pre-installed
in $ac_dir" >&6; }
14605 elif test "x
$target" = "x
$host"; then
14606 # We can use an host tool
14607 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14609 $as_echo "host tool
" >&6; }
14611 # We need a cross tool
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14613 $as_echo "pre-installed
" >&6; }
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14618 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14619 if test "x
${build}" != "x
${host}" ; then
14620 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14621 # We already found the complete path
14622 ac_dir=`dirname $GCC_FOR_TARGET`
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14624 $as_echo "pre-installed
in $ac_dir" >&6; }
14626 # Canadian cross, just use what we found
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14628 $as_echo "pre-installed
" >&6; }
14632 case " ${configdirs} " in
14637 if test $ok = yes; then
14638 # An in-tree tool is available and we can use it
14639 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14641 $as_echo "just compiled
" >&6; }
14642 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14643 # We already found the complete path
14644 ac_dir=`dirname $GCC_FOR_TARGET`
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14646 $as_echo "pre-installed
in $ac_dir" >&6; }
14647 elif test "x
$target" = "x
$host"; then
14648 # We can use an host tool
14649 GCC_FOR_TARGET='$()'
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14651 $as_echo "host tool
" >&6; }
14653 # We need a cross tool
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14655 $as_echo "pre-installed
" >&6; }
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14660 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14661 if test "x
${build}" != "x
${host}" ; then
14662 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14663 # We already found the complete path
14664 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14666 $as_echo "pre-installed
in $ac_dir" >&6; }
14668 # Canadian cross, just use what we found
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14670 $as_echo "pre-installed
" >&6; }
14674 case " ${configdirs} " in
14678 case ,${enable_languages}, in
14682 if test $ok = yes; then
14683 # An in-tree tool is available and we can use it
14684 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14686 $as_echo "just compiled
" >&6; }
14687 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14688 # We already found the complete path
14689 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14691 $as_echo "pre-installed
in $ac_dir" >&6; }
14692 elif test "x
$target" = "x
$host"; then
14693 # We can use an host tool
14694 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14696 $as_echo "host tool
" >&6; }
14698 # We need a cross tool
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14700 $as_echo "pre-installed
" >&6; }
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14705 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14706 if test "x
${build}" != "x
${host}" ; then
14707 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14708 # We already found the complete path
14709 ac_dir=`dirname $GOC_FOR_TARGET`
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14711 $as_echo "pre-installed
in $ac_dir" >&6; }
14713 # Canadian cross, just use what we found
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14715 $as_echo "pre-installed
" >&6; }
14719 case " ${configdirs} " in
14723 case ,${enable_languages}, in
14727 if test $ok = yes; then
14728 # An in-tree tool is available and we can use it
14729 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14731 $as_echo "just compiled
" >&6; }
14732 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14733 # We already found the complete path
14734 ac_dir=`dirname $GOC_FOR_TARGET`
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14736 $as_echo "pre-installed
in $ac_dir" >&6; }
14737 elif test "x
$target" = "x
$host"; then
14738 # We can use an host tool
14739 GOC_FOR_TARGET='$(GOC)'
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14741 $as_echo "host tool
" >&6; }
14743 # We need a cross tool
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14745 $as_echo "pre-installed
" >&6; }
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gdc
" >&5
14750 $as_echo_n "checking where to
find the target gdc...
" >&6; }
14751 if test "x
${build}" != "x
${host}" ; then
14752 if expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
14753 # We already found the complete path
14754 ac_dir=`dirname $GDC_FOR_TARGET`
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14756 $as_echo "pre-installed
in $ac_dir" >&6; }
14758 # Canadian cross, just use what we found
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14760 $as_echo "pre-installed
" >&6; }
14764 case " ${configdirs} " in
14768 case ,${enable_languages}, in
14772 if test $ok = yes; then
14773 # An in-tree tool is available and we can use it
14774 GDC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/'
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14776 $as_echo "just compiled
" >&6; }
14777 elif expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
14778 # We already found the complete path
14779 ac_dir=`dirname $GDC_FOR_TARGET`
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14781 $as_echo "pre-installed
in $ac_dir" >&6; }
14782 elif test "x
$target" = "x
$host"; then
14783 # We can use an host tool
14784 GDC_FOR_TARGET='$(GDC)'
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14786 $as_echo "host tool
" >&6; }
14788 # We need a cross tool
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14790 $as_echo "pre-installed
" >&6; }
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14795 $as_echo_n "checking where to
find the target ld...
" >&6; }
14796 if test "x
${build}" != "x
${host}" ; then
14797 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14798 # We already found the complete path
14799 ac_dir=`dirname $LD_FOR_TARGET`
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14801 $as_echo "pre-installed
in $ac_dir" >&6; }
14803 # Canadian cross, just use what we found
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14805 $as_echo "pre-installed
" >&6; }
14809 case " ${configdirs} " in
14814 if test $ok = yes; then
14815 # An in-tree tool is available and we can use it
14816 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14818 $as_echo "just compiled
" >&6; }
14819 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14820 # We already found the complete path
14821 ac_dir=`dirname $LD_FOR_TARGET`
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14823 $as_echo "pre-installed
in $ac_dir" >&6; }
14824 elif test "x
$target" = "x
$host"; then
14825 # We can use an host tool
14826 LD_FOR_TARGET='$(LD)'
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14828 $as_echo "host tool
" >&6; }
14830 # We need a cross tool
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14832 $as_echo "pre-installed
" >&6; }
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14837 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14838 if test "x
${build}" != "x
${host}" ; then
14839 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14840 # We already found the complete path
14841 ac_dir=`dirname $LIPO_FOR_TARGET`
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14843 $as_echo "pre-installed
in $ac_dir" >&6; }
14845 # Canadian cross, just use what we found
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14847 $as_echo "pre-installed
" >&6; }
14850 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14851 # We already found the complete path
14852 ac_dir=`dirname $LIPO_FOR_TARGET`
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14854 $as_echo "pre-installed
in $ac_dir" >&6; }
14855 elif test "x
$target" = "x
$host"; then
14856 # We can use an host tool
14857 LIPO_FOR_TARGET='$(LIPO)'
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14859 $as_echo "host tool
" >&6; }
14861 # We need a cross tool
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14863 $as_echo "pre-installed
" >&6; }
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14868 $as_echo_n "checking where to
find the target nm...
" >&6; }
14869 if test "x
${build}" != "x
${host}" ; then
14870 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14871 # We already found the complete path
14872 ac_dir=`dirname $NM_FOR_TARGET`
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14874 $as_echo "pre-installed
in $ac_dir" >&6; }
14876 # Canadian cross, just use what we found
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14878 $as_echo "pre-installed
" >&6; }
14882 case " ${configdirs} " in
14887 if test $ok = yes; then
14888 # An in-tree tool is available and we can use it
14889 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14891 $as_echo "just compiled
" >&6; }
14892 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14893 # We already found the complete path
14894 ac_dir=`dirname $NM_FOR_TARGET`
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14896 $as_echo "pre-installed
in $ac_dir" >&6; }
14897 elif test "x
$target" = "x
$host"; then
14898 # We can use an host tool
14899 NM_FOR_TARGET='$(NM)'
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14901 $as_echo "host tool
" >&6; }
14903 # We need a cross tool
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14905 $as_echo "pre-installed
" >&6; }
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14910 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14911 if test "x
${build}" != "x
${host}" ; then
14912 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14913 # We already found the complete path
14914 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14916 $as_echo "pre-installed
in $ac_dir" >&6; }
14918 # Canadian cross, just use what we found
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14920 $as_echo "pre-installed
" >&6; }
14924 case " ${configdirs} " in
14929 if test $ok = yes; then
14930 # An in-tree tool is available and we can use it
14931 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14933 $as_echo "just compiled
" >&6; }
14934 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14935 # We already found the complete path
14936 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14938 $as_echo "pre-installed
in $ac_dir" >&6; }
14939 elif test "x
$target" = "x
$host"; then
14940 # We can use an host tool
14941 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14943 $as_echo "host tool
" >&6; }
14945 # We need a cross tool
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14947 $as_echo "pre-installed
" >&6; }
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14952 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14953 if test "x
${build}" != "x
${host}" ; then
14954 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14955 # We already found the complete path
14956 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14958 $as_echo "pre-installed
in $ac_dir" >&6; }
14960 # Canadian cross, just use what we found
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14962 $as_echo "pre-installed
" >&6; }
14966 case " ${configdirs} " in
14971 if test $ok = yes; then
14972 # An in-tree tool is available and we can use it
14973 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14975 $as_echo "just compiled
" >&6; }
14976 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14977 # We already found the complete path
14978 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14980 $as_echo "pre-installed
in $ac_dir" >&6; }
14981 elif test "x
$target" = "x
$host"; then
14982 # We can use an host tool
14983 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14985 $as_echo "host tool
" >&6; }
14987 # We need a cross tool
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14989 $as_echo "pre-installed
" >&6; }
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target otool
" >&5
14994 $as_echo_n "checking where to
find the target otool...
" >&6; }
14995 if test "x
${build}" != "x
${host}" ; then
14996 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14997 # We already found the complete path
14998 ac_dir=`dirname $OTOOL_FOR_TARGET`
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15000 $as_echo "pre-installed
in $ac_dir" >&6; }
15002 # Canadian cross, just use what we found
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15004 $as_echo "pre-installed
" >&6; }
15007 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
15008 # We already found the complete path
15009 ac_dir=`dirname $OTOOL_FOR_TARGET`
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15011 $as_echo "pre-installed
in $ac_dir" >&6; }
15012 elif test "x
$target" = "x
$host"; then
15013 # We can use an host tool
15014 OTOOL_FOR_TARGET='$(OTOOL)'
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15016 $as_echo "host tool
" >&6; }
15018 # We need a cross tool
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15020 $as_echo "pre-installed
" >&6; }
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
15025 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
15026 if test "x
${build}" != "x
${host}" ; then
15027 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
15028 # We already found the complete path
15029 ac_dir=`dirname $RANLIB_FOR_TARGET`
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15031 $as_echo "pre-installed
in $ac_dir" >&6; }
15033 # Canadian cross, just use what we found
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15035 $as_echo "pre-installed
" >&6; }
15039 case " ${configdirs} " in
15044 if test $ok = yes; then
15045 # An in-tree tool is available and we can use it
15046 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15048 $as_echo "just compiled
" >&6; }
15049 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
15050 # We already found the complete path
15051 ac_dir=`dirname $RANLIB_FOR_TARGET`
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15053 $as_echo "pre-installed
in $ac_dir" >&6; }
15054 elif test "x
$target" = "x
$host"; then
15055 # We can use an host tool
15056 RANLIB_FOR_TARGET='$(RANLIB)'
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15058 $as_echo "host tool
" >&6; }
15060 # We need a cross tool
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15062 $as_echo "pre-installed
" >&6; }
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
15067 $as_echo_n "checking where to
find the target readelf...
" >&6; }
15068 if test "x
${build}" != "x
${host}" ; then
15069 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
15070 # We already found the complete path
15071 ac_dir=`dirname $READELF_FOR_TARGET`
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15073 $as_echo "pre-installed
in $ac_dir" >&6; }
15075 # Canadian cross, just use what we found
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15077 $as_echo "pre-installed
" >&6; }
15081 case " ${configdirs} " in
15086 if test $ok = yes; then
15087 # An in-tree tool is available and we can use it
15088 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15090 $as_echo "just compiled
" >&6; }
15091 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
15092 # We already found the complete path
15093 ac_dir=`dirname $READELF_FOR_TARGET`
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15095 $as_echo "pre-installed
in $ac_dir" >&6; }
15096 elif test "x
$target" = "x
$host"; then
15097 # We can use an host tool
15098 READELF_FOR_TARGET='$(READELF)'
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15100 $as_echo "host tool
" >&6; }
15102 # We need a cross tool
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15104 $as_echo "pre-installed
" >&6; }
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
15109 $as_echo_n "checking where to
find the target strip...
" >&6; }
15110 if test "x
${build}" != "x
${host}" ; then
15111 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
15112 # We already found the complete path
15113 ac_dir=`dirname $STRIP_FOR_TARGET`
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15115 $as_echo "pre-installed
in $ac_dir" >&6; }
15117 # Canadian cross, just use what we found
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15119 $as_echo "pre-installed
" >&6; }
15123 case " ${configdirs} " in
15128 if test $ok = yes; then
15129 # An in-tree tool is available and we can use it
15130 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15132 $as_echo "just compiled
" >&6; }
15133 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
15134 # We already found the complete path
15135 ac_dir=`dirname $STRIP_FOR_TARGET`
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15137 $as_echo "pre-installed
in $ac_dir" >&6; }
15138 elif test "x
$target" = "x
$host"; then
15139 # We can use an host tool
15140 STRIP_FOR_TARGET='$(STRIP)'
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15142 $as_echo "host tool
" >&6; }
15144 # We need a cross tool
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15146 $as_echo "pre-installed
" >&6; }
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
15151 $as_echo_n "checking where to
find the target windres...
" >&6; }
15152 if test "x
${build}" != "x
${host}" ; then
15153 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15154 # We already found the complete path
15155 ac_dir=`dirname $WINDRES_FOR_TARGET`
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15157 $as_echo "pre-installed
in $ac_dir" >&6; }
15159 # Canadian cross, just use what we found
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15161 $as_echo "pre-installed
" >&6; }
15165 case " ${configdirs} " in
15170 if test $ok = yes; then
15171 # An in-tree tool is available and we can use it
15172 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15174 $as_echo "just compiled
" >&6; }
15175 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15176 # We already found the complete path
15177 ac_dir=`dirname $WINDRES_FOR_TARGET`
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15179 $as_echo "pre-installed
in $ac_dir" >&6; }
15180 elif test "x
$target" = "x
$host"; then
15181 # We can use an host tool
15182 WINDRES_FOR_TARGET='$(WINDRES)'
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15184 $as_echo "host tool
" >&6; }
15186 # We need a cross tool
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15188 $as_echo "pre-installed
" >&6; }
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
15193 $as_echo_n "checking where to
find the target windmc...
" >&6; }
15194 if test "x
${build}" != "x
${host}" ; then
15195 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15196 # We already found the complete path
15197 ac_dir=`dirname $WINDMC_FOR_TARGET`
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15199 $as_echo "pre-installed
in $ac_dir" >&6; }
15201 # Canadian cross, just use what we found
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15203 $as_echo "pre-installed
" >&6; }
15207 case " ${configdirs} " in
15212 if test $ok = yes; then
15213 # An in-tree tool is available and we can use it
15214 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15216 $as_echo "just compiled
" >&6; }
15217 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15218 # We already found the complete path
15219 ac_dir=`dirname $WINDMC_FOR_TARGET`
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15221 $as_echo "pre-installed
in $ac_dir" >&6; }
15222 elif test "x
$target" = "x
$host"; then
15223 # We can use an host tool
15224 WINDMC_FOR_TARGET='$(WINDMC)'
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15226 $as_echo "host tool
" >&6; }
15228 # We need a cross tool
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15230 $as_echo "pre-installed
" >&6; }
15238 # Certain tools may need extra flags.
15239 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
15240 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
15241 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
15243 # When building target libraries, except in a Canadian cross, we use
15244 # the same toolchain as the compiler we just built.
15245 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
15246 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
15247 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
15248 if test $host = $build; then
15249 case " $configdirs " in
15251 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
15252 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
15253 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
15263 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
15264 # Check whether --enable-maintainer-mode was given.
15265 if test "${enable_maintainer_mode+set}" = set; then :
15266 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
15268 USE_MAINTAINER_MODE=no
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
15272 $as_echo "$USE_MAINTAINER_MODE" >&6; }
15275 if test "$USE_MAINTAINER_MODE" = yes; then
15276 MAINTAINER_MODE_TRUE=
15277 MAINTAINER_MODE_FALSE='#'
15279 MAINTAINER_MODE_TRUE='#'
15280 MAINTAINER_MODE_FALSE=
15282 MAINT=$MAINTAINER_MODE_TRUE
15284 # ---------------------
15285 # GCC bootstrap support
15286 # ---------------------
15288 # Stage specific cflags for build.
15293 yes) stage1_cflags="-g -Wa,-J" ;;
15294 *) stage1_cflags="-g -J" ;;
15300 # Enable --enable-checking in stage1 of the compiler.
15301 # Check whether --enable-stage1-checking was given.
15302 if test "${enable_stage1_checking+set}" = set; then :
15303 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
15305 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
15306 # For --disable-checking or implicit --enable-checking=release, avoid
15307 # setting --enable-checking=gc in the default stage1 checking for LTO
15308 # bootstraps. See PR62077.
15309 case $BUILD_CONFIG in
15311 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
15313 stage1_checking=--enable-checking=yes,types;;
15315 if test "x
$enable_checking" = x && \
15316 test -d ${srcdir}/gcc && \
15317 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
15318 stage1_checking=--enable-checking=yes,types,extra
15321 stage1_checking=--enable-checking=$enable_checking,types
15327 # Enable -Werror in bootstrap stage2 and later.
15328 # Check whether --enable-werror was given.
15329 if test "${enable_werror+set}" = set; then :
15330 enableval=$enable_werror;
15331 case ${enable_werror} in
15332 yes) stage2_werror_flag="--enable-werror-always" ;;
15333 *) stage2_werror_flag="" ;;
15338 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
15339 case $BUILD_CONFIG in
15341 stage2_werror_flag="--enable-werror-always" ;;
15343 stage2_werror_flag="--enable-werror-always" ;;
15352 # Specify what files to not compare during bootstrap.
15354 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
15356 hppa*64*-*-hpux*) ;;
15357 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/* | gcc
/function-tests.o
" ;;
15358 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
15362 ac_config_files="$ac_config_files Makefile
"
15364 cat >confcache <<\_ACEOF
15365 # This file is a shell script that caches the results of configure
15366 # tests run on this system so they can be shared between configure
15367 # scripts and configure runs, see configure's option --config-cache.
15368 # It is not useful on other systems. If it contains results you don't
15369 # want to keep, you may remove or edit it.
15371 # config.status only pays attention to the cache file if you give it
15372 # the --recheck option to rerun configure.
15374 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15375 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15376 # following values.
15380 # The following way of writing the cache mishandles newlines in values,
15381 # but we know of no workaround that is simple, portable, and efficient.
15382 # So, we kill variables containing newlines.
15383 # Ultrix sh set writes to stderr and can't be redirected directly,
15384 # and sets the high bit in the cache file unless we assign to the vars.
15386 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15387 eval ac_val=\$$ac_var
15391 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15392 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15395 _ | IFS | as_nl) ;; #(
15396 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15397 *) { eval $ac_var=; unset $ac_var;} ;;
15403 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15404 *${as_nl}ac_space=\ *)
15405 # `set' does not quote correctly, so add quotes: double-quote
15406 # substitution turns \\\\ into \\, and sed turns \\ into \.
15409 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15412 # `set' quotes correctly as required by POSIX, so do not add quotes.
15413 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15422 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15424 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15426 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15427 if test -w "$cache_file"; then
15428 if test "x
$cache_file" != "x
/dev
/null
"; then
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15430 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15431 if test ! -f "$cache_file" || test -h "$cache_file"; then
15432 cat confcache >"$cache_file"
15434 case $cache_file in #(
15436 mv -f confcache "$cache_file"$$ &&
15437 mv -f "$cache_file"$$ "$cache_file" ;; #(
15439 mv -f confcache "$cache_file" ;;
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15445 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15450 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15451 # Let make expand exec_prefix.
15452 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15454 # Transform confdefs.h into DEFS.
15455 # Protect against shell expansion while executing Makefile rules.
15456 # Protect against Makefile macro expansion.
15458 # If the first sed substitution is executed (which looks for macros that
15459 # take arguments), then branch to the quote section. Otherwise,
15460 # look for a macro that doesn't take arguments.
15470 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15472 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15476 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15489 DEFS=`sed -n "$ac_script" confdefs.h`
15495 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15496 # 1. Remove the extension, and $U if already installed.
15497 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15498 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15499 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15500 # will be set to the directory where LIBOBJS objects are built.
15501 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15502 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15504 LIBOBJS=$ac_libobjs
15506 LTLIBOBJS=$ac_ltlibobjs
15510 : "${CONFIG_STATUS=./config.status}"
15512 ac_clean_files_save=$ac_clean_files
15513 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15515 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15517 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15519 # Generated by $as_me.
15520 # Run this file to recreate the current configuration.
15521 # Compiler output produced by configure, useful for debugging
15522 # configure, is in config.log if it exists.
15525 ac_cs_recheck=false
15528 SHELL=\${CONFIG_SHELL-$SHELL}
15531 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15532 ## -------------------- ##
15533 ## M4sh Initialization. ##
15534 ## -------------------- ##
15536 # Be more Bourne compatible
15537 DUALCASE=1; export DUALCASE # for MKS sh
15538 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15541 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15542 # is contrary to our usage. Disable this feature.
15543 alias -g '${1+"$@"}'='"$@"'
15544 setopt NO_GLOB_SUBST
15546 case `(set -o) 2>/dev/null` in #(
15558 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15559 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15560 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15561 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15562 # Prefer a ksh shell builtin over an external printf program on Solaris,
15563 # but without wasting forks for bash or zsh.
15564 if test -z "$BASH_VERSION$ZSH_VERSION" \
15565 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15566 as_echo
='print -r --'
15567 as_echo_n
='print -rn --'
15568 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15569 as_echo
='printf %s\n'
15570 as_echo_n
='printf %s'
15572 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15573 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15574 as_echo_n
='/usr/ucb/echo -n'
15576 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15577 as_echo_n_body
='eval
15581 expr "X$arg" : "X\\(.*\\)$as_nl";
15582 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15584 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15586 export as_echo_n_body
15587 as_echo_n
='sh -c $as_echo_n_body as_echo'
15589 export as_echo_body
15590 as_echo
='sh -c $as_echo_body as_echo'
15593 # The user is always right.
15594 if test "${PATH_SEPARATOR+set}" != set; then
15596 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15597 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15604 # We need space, tab and new line, in precisely that order. Quoting is
15605 # there to prevent editors from complaining about space-tab.
15606 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15607 # splitting by setting IFS to empty value.)
15610 # Find who we are. Look in the path if we contain no directory separator.
15613 *[\\/]* ) as_myself
=$0 ;;
15614 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15615 for as_dir
in $PATH
15618 test -z "$as_dir" && as_dir
=.
15619 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15625 # We did not find ourselves, most probably we were run as `sh COMMAND'
15626 # in which case we are not to be found in the path.
15627 if test "x$as_myself" = x
; then
15630 if test ! -f "$as_myself"; then
15631 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15635 # Unset variables that we do not need and which cause bugs (e.g. in
15636 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15637 # suppresses any "Segmentation fault" message there. '((' could
15638 # trigger a bug in pdksh 5.2.14.
15639 for as_var
in BASH_ENV ENV MAIL MAILPATH
15640 do eval test x\
${$as_var+set} = xset \
15641 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15654 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15657 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15658 # ----------------------------------------
15659 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15660 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15661 # script with STATUS, using 1 if that was 0.
15664 as_status
=$1; test $as_status -eq 0 && as_status
=1
15666 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15667 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15669 $as_echo "$as_me: error: $2" >&2
15670 as_fn_exit
$as_status
15674 # as_fn_set_status STATUS
15675 # -----------------------
15676 # Set $? to STATUS, without forking.
15677 as_fn_set_status
()
15680 } # as_fn_set_status
15682 # as_fn_exit STATUS
15683 # -----------------
15684 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15688 as_fn_set_status
$1
15694 # Portably unset VAR.
15697 { eval $1=; unset $1;}
15699 as_unset
=as_fn_unset
15700 # as_fn_append VAR VALUE
15701 # ----------------------
15702 # Append the text in VALUE to the end of the definition contained in VAR. Take
15703 # advantage of any shell optimizations that allow amortized linear growth over
15704 # repeated appends, instead of the typical quadratic growth present in naive
15706 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15707 eval 'as_fn_append ()
15718 # as_fn_arith ARG...
15719 # ------------------
15720 # Perform arithmetic evaluation on the ARGs, and store the result in the
15721 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15722 # must be portable across $(()) and expr.
15723 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15724 eval 'as_fn_arith ()
15731 as_val
=`expr "$@" || test $? -eq 1`
15736 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15737 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15743 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15744 as_basename
=basename
15749 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15755 as_me
=`$as_basename -- "$0" ||
15756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15757 X"$0" : 'X\(//\)$' \| \
15758 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15760 sed '/^.*\/\([^/][^/]*\)\/*$/{
15774 # Avoid depending upon Character Ranges.
15775 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15776 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15777 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15778 as_cr_digits
='0123456789'
15779 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15781 ECHO_C
= ECHO_N
= ECHO_T
=
15782 case `echo -n x` in #(((((
15784 case `echo 'xy\c'` in
15785 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15787 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15794 rm -f conf$$ conf$$.exe conf$$.
file
15795 if test -d conf$$.dir
; then
15796 rm -f conf$$.dir
/conf$$.
file
15799 mkdir conf$$.dir
2>/dev
/null
15801 if (echo >conf$$.
file) 2>/dev
/null
; then
15802 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15804 # ... but there are two gotchas:
15805 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15806 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15807 # In both cases, we have to default to `cp -pR'.
15808 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15810 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15818 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15819 rmdir conf$$.dir
2>/dev
/null
15824 # Create "$as_dir" as a directory, including parents if necessary.
15829 -*) as_dir
=.
/$as_dir;;
15831 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15835 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15836 *) as_qdir
=$as_dir;;
15838 as_dirs
="'$as_qdir' $as_dirs"
15839 as_dir
=`$as_dirname -- "$as_dir" ||
15840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15841 X"$as_dir" : 'X\(//\)[^/]' \| \
15842 X"$as_dir" : 'X\(//\)$' \| \
15843 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15844 $as_echo X"$as_dir" |
15845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15849 /^X\(\/\/\)[^/].*/{
15862 test -d "$as_dir" && break
15864 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15865 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15869 if mkdir
-p .
2>/dev
/null
; then
15870 as_mkdir_p
='mkdir -p "$as_dir"'
15872 test -d .
/-p && rmdir .
/-p
15877 # as_fn_executable_p FILE
15878 # -----------------------
15879 # Test if FILE is an executable regular file.
15880 as_fn_executable_p
()
15882 test -f "$1" && test -x "$1"
15883 } # as_fn_executable_p
15884 as_test_x
='test -x'
15885 as_executable_p
=as_fn_executable_p
15887 # Sed expression to map a string onto a valid CPP name.
15888 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15890 # Sed expression to map a string onto a valid variable name.
15891 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15895 ## ----------------------------------- ##
15896 ## Main body of $CONFIG_STATUS script. ##
15897 ## ----------------------------------- ##
15899 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15902 # Save the log message, to keep $0 and so on meaningful, and to
15903 # report actual input values of CONFIG_FILES etc. instead of their
15904 # values after options handling.
15906 This file was extended by $as_me, which was
15907 generated by GNU Autoconf 2.69. Invocation command line was
15909 CONFIG_FILES = $CONFIG_FILES
15910 CONFIG_HEADERS = $CONFIG_HEADERS
15911 CONFIG_LINKS = $CONFIG_LINKS
15912 CONFIG_COMMANDS = $CONFIG_COMMANDS
15915 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15920 case $ac_config_files in *"
15921 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15927 # Files that config.status was made for.
15928 config_files="$ac_config_files"
15932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15934 \`$as_me' instantiates files and other configuration actions
15935 from templates according to the current configuration. Unless the files
15936 and actions are specified as TAGs, all are instantiated by default.
15938 Usage: $0 [OPTION]... [TAG]...
15940 -h, --help print this help, then exit
15941 -V, --version print version number and configuration settings, then exit
15942 --config print configuration, then exit
15943 -q, --quiet, --silent
15944 do not print progress messages
15945 -d, --debug don't remove temporary files
15946 --recheck update $as_me by reconfiguring in the same conditions
15947 --file=FILE[:TEMPLATE]
15948 instantiate the configuration file FILE
15950 Configuration files:
15953 Report bugs to the package provider."
15956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15957 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15960 configured by $0, generated by GNU Autoconf 2.69,
15961 with options \\"\$ac_cs_config\\"
15963 Copyright (C) 2012 Free Software Foundation, Inc.
15964 This config.status script is free software; the Free Software Foundation
15965 gives unlimited permission to copy, distribute and modify it."
15971 test -n "\$AWK" || AWK=awk
15974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15975 # The default lists apply if the user does not specify any file.
15981 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15982 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15986 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15998 # Handling of the options.
15999 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16001 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16002 $as_echo "$ac_cs_version"; exit ;;
16003 --config |
--confi |
--conf |
--con |
--co |
--c )
16004 $as_echo "$ac_cs_config"; exit ;;
16005 --debug |
--debu |
--deb |
--de |
--d |
-d )
16007 --file |
--fil |
--fi |
--f )
16010 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16011 '') as_fn_error $?
"missing file argument" ;;
16013 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16014 ac_need_defaults
=false
;;
16015 --he |
--h |
--help |
--hel |
-h )
16016 $as_echo "$ac_cs_usage"; exit ;;
16017 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16018 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16021 # This is an error.
16022 -*) as_fn_error $?
"unrecognized option: \`$1'
16023 Try \`$0 --help' for more information." ;;
16025 *) as_fn_append ac_config_targets
" $1"
16026 ac_need_defaults
=false
;;
16032 ac_configure_extra_args
=
16034 if $ac_cs_silent; then
16036 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16041 if \$ac_cs_recheck; then
16042 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16044 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16045 CONFIG_SHELL='$SHELL'
16046 export CONFIG_SHELL
16051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16055 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16056 ## Running $as_me. ##
16062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16066 extrasub_build="$extrasub_build"
16067 extrasub_host="$extrasub_host"
16068 extrasub_target="$extrasub_target"
16072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16074 # Handling of arguments.
16075 for ac_config_target
in $ac_config_targets
16077 case $ac_config_target in
16078 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16080 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16085 # If the user did not use the arguments to specify the items to instantiate,
16086 # then the envvar interface is used. Set only those that are not.
16087 # We use the long form for the default assignment because of an extremely
16088 # bizarre bug on SunOS 4.1.3.
16089 if $ac_need_defaults; then
16090 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16093 # Have a temporary directory for convenience. Make it in the build tree
16094 # simply because there is no reason against having it here, and in addition,
16095 # creating and moving files from /tmp can sometimes cause problems.
16096 # Hook for its removal unless debugging.
16097 # Note that there is a small window in which the directory will not be cleaned:
16098 # after its creation but before its name has been assigned to `$tmp'.
16102 trap 'exit_status=$?
16103 : "${ac_tmp:=$tmp}"
16104 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16106 trap 'as_fn_exit 1' 1 2 13 15
16108 # Create a (secure) tmp directory for tmp files.
16111 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16115 tmp
=.
/conf$$
-$RANDOM
16116 (umask 077 && mkdir
"$tmp")
16117 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16120 # Set up the scripts for CONFIG_FILES section.
16121 # No need to generate them if there are no CONFIG_FILES.
16122 # This happens for instance with `./config.status config.h'.
16123 if test -n "$CONFIG_FILES"; then
16125 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16126 ac_cs_awk_getline
=:
16127 ac_cs_awk_pipe_init
=
16128 ac_cs_awk_read_file
='
16129 while ((getline aline < (F[key])) > 0)
16132 ac_cs_awk_pipe_fini
=
16134 ac_cs_awk_getline
=false
16135 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16136 ac_cs_awk_read_file
='
16138 print "cat " F[key] " &&"
16139 '$ac_cs_awk_pipe_init
16140 # The final `:' finishes the AND list.
16141 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16143 ac_cr
=`echo X | tr X '\015'`
16144 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16145 # But we know of no other shell where ac_cr would be empty at this
16146 # point, so we can use a bashism as a fallback.
16147 if test "x$ac_cr" = x
; then
16148 eval ac_cr
=\$
\'\\r
\'
16150 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16151 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16154 ac_cs_awk_cr
=$ac_cr
16157 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16160 # Create commands to substitute file output variables.
16162 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16163 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16164 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16167 } >conf$
$files.sh
&&
16168 . .
/conf$
$files.sh ||
16169 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16170 rm -f conf$
$files.sh
16173 echo "cat >conf$$subs.awk <<_ACEOF" &&
16174 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16176 } >conf$$subs.sh ||
16177 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16178 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16180 for ac_last_try in false false false false false :; do
16181 . ./conf$$subs.sh ||
16182 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16184 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16185 if test $ac_delim_n = $ac_delim_num; then
16187 elif $ac_last_try; then
16188 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16190 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16193 rm -f conf$$subs.sh
16195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16196 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16200 s/^/S["/; s
/!.
*/"]=/
16210 s/\(.\{148\}\)..*/\1/
16212 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16217 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16224 s/\(.\{148\}\)..*/\1/
16226 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16230 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16235 ' <conf$$subs.awk | sed '
16240 ' >>$CONFIG_STATUS || ac_write_fail=1
16241 rm -f conf$$subs.awk
16242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16244 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16245 for (key in S) S_is_set[key] = 1
16247 \$ac_cs_awk_pipe_init
16251 nfields = split(line, field, "@
")
16253 len = length(field[1])
16254 for (i = 2; i < nfields; i++) {
16256 keylen = length(key)
16257 if (S_is_set[key]) {
16259 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16260 len += length(value) + length(field[++i])
16265 if (nfields == 3 && !substed) {
16267 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16268 \$ac_cs_awk_read_file
16274 \$ac_cs_awk_pipe_fini
16277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16278 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16279 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16282 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16283 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16286 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16287 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16288 # trailing colons and then remove the whole line if VPATH becomes empty
16289 # (actually we leave an empty line to preserve line numbers).
16290 if test "x
$srcdir" = x.; then
16291 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16310 fi # test -n "$CONFIG_FILES"
16313 eval set X " :F
$CONFIG_FILES "
16318 :[FHLC]) ac_mode=$ac_tag; continue;;
16320 case $ac_mode$ac_tag in
16322 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16323 :[FH]-) ac_tag=-:-;;
16324 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16341 -) ac_f="$ac_tmp/stdin";;
16342 *) # Look for the file first in the build tree, then in the source tree
16343 # (if the path is not absolute). The absolute path cannot be DOS-style,
16344 # because $ac_f cannot contain `:'.
16348 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16350 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16352 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16353 as_fn_append ac_file_inputs " '$ac_f'"
16356 # Let's still pretend it is `configure' which instantiates (i.e., don't
16357 # use $as_me), people would be surprised to read:
16358 # /* config.h. Generated by config.status. */
16359 configure_input='Generated from '`
16360 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16362 if test x"$ac_file" != x-; then
16363 configure_input="$ac_file.
$configure_input"
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16365 $as_echo "$as_me: creating
$ac_file" >&6;}
16367 # Neutralize special characters interpreted by sed in replacement strings.
16368 case $configure_input in #(
16369 *\&* | *\|* | *\\* )
16370 ac_sed_conf_input=`$as_echo "$configure_input" |
16371 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16372 *) ac_sed_conf_input=$configure_input;;
16376 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16377 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16382 ac_dir=`$as_dirname -- "$ac_file" ||
16383 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16384 X"$ac_file" : 'X\(//\)[^/]' \| \
16385 X"$ac_file" : 'X\(//\)$' \| \
16386 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16387 $as_echo X"$ac_file" |
16388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16392 /^X\(\/\/\)[^/].*/{
16405 as_dir="$ac_dir"; as_fn_mkdir_p
16409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16411 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16412 # A "..
" for each directory in $ac_dir_suffix.
16413 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16414 case $ac_top_builddir_sub in
16415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16419 ac_abs_top_builddir=$ac_pwd
16420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16421 # for backward compatibility:
16422 ac_top_builddir=$ac_top_build_prefix
16425 .) # We are building in place.
16427 ac_top_srcdir=$ac_top_builddir_sub
16428 ac_abs_top_srcdir=$ac_pwd ;;
16429 [\\/]* | ?:[\\/]* ) # Absolute name.
16430 ac_srcdir=$srcdir$ac_dir_suffix;
16431 ac_top_srcdir=$srcdir
16432 ac_abs_top_srcdir=$srcdir ;;
16433 *) # Relative name.
16434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16435 ac_top_srcdir=$ac_top_build_prefix$srcdir
16436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16448 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16449 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16454 # If the template does not know about datarootdir, expand it.
16455 # FIXME: This hack should be removed a few years after 2.60.
16456 ac_datarootdir_hack=; ac_datarootdir_seen=
16467 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16468 *datarootdir*) ac_datarootdir_seen=yes;;
16469 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16471 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16474 ac_datarootdir_hack='
16475 s&@datadir@&$datadir&g
16476 s&@docdir@&$docdir&g
16477 s&@infodir@&$infodir&g
16478 s&@localedir@&$localedir&g
16479 s&@mandir@&$mandir&g
16480 s&\\\${datarootdir}&$datarootdir&g' ;;
16484 # Neutralize VPATH when `$srcdir' = `.'.
16485 # Shell code in configure.ac might set extrasub.
16486 # FIXME: do we really want to maintain this feature?
16487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16488 ac_sed_extra="$ac_vpsub
16491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16493 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16494 s|@configure_input@|
$ac_sed_conf_input|
;t t
16495 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16496 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16497 s
&@srcdir@
&$ac_srcdir&;t t
16498 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16499 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16500 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16501 s
&@builddir@
&$ac_builddir&;t t
16502 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16503 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16504 s
&@INSTALL@
&$ac_INSTALL&;t t
16505 $ac_datarootdir_hack
16507 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16508 if $ac_cs_awk_getline; then
16509 $AWK -f "$ac_tmp/subs.
awk"
16511 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16513 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16515 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16516 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16517 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16518 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16520 which seems to be undefined. Please make sure it is defined" >&5
16521 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16522 which seems to be undefined. Please make sure it is defined" >&2;}
16524 rm -f "$ac_tmp/stdin"
16526 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16527 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16529 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16537 case $ac_file$ac_mode in
16538 "Makefile":F) sed "$extrasub_build" Makefile |
16539 sed "$extrasub_host" |
16540 sed "$extrasub_target" > mf$$
16541 mv -f mf$$ Makefile ;;
16549 ac_clean_files=$ac_clean_files_save
16551 test $ac_write_fail = 0 ||
16552 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16555 # configure is writing to config.log, and then calls config.status.
16556 # config.status does its own redirection, appending to config.log.
16557 # Unfortunately, on DOS this fails, as config.log is still kept open
16558 # by configure, so config.status won't be able to
write to it
; its
16559 # output is simply discarded. So we exec the FD to /dev/null,
16560 # effectively closing config.log, so it can be properly (re)opened and
16561 # appended to by config.status. When coming back to configure, we
16562 # need to make the FD available again.
16563 if test "$no_create" != yes; then
16565 ac_config_status_args
=
16566 test "$silent" = yes &&
16567 ac_config_status_args
="$ac_config_status_args --quiet"
16569 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16571 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16572 # would make configure fail if this is the last instruction.
16573 $ac_cs_success || as_fn_exit
1
16575 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16577 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}