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 \
2818 # these tools are built using the target libraries, and are intended to
2819 # run only in the target environment
2821 # note: any program that *uses* libraries that are in the "target_libraries"
2822 # list belongs in this list.
2824 target_tools
="target-rda"
2826 ################################################################################
2828 ## All tools belong in one of the four categories, and are assigned above
2829 ## We assign ${configdirs} this way to remove all embedded newlines. This
2830 ## is important because configure will choke if they ever get through.
2831 ## ${configdirs} is directories we build using the host tools.
2832 ## ${target_configdirs} is directories we build using the target tools.
2833 configdirs
=`echo ${host_libs} ${host_tools}`
2834 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2835 build_configdirs
=`echo ${build_libs} ${build_tools}`
2839 ################################################################################
2841 srcname
="gnu development package"
2843 # This gets set non-empty for some net releases of packages.
2846 # Define is_cross_compiler to save on calls to 'test'.
2848 if test x
"${host}" = x
"${target}" ; then
2849 is_cross_compiler
=no
2851 is_cross_compiler
=yes
2854 # Find the build and target subdir names.
2856 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2857 # have matching libraries, they should use host libraries: Makefile.tpl
2858 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2859 # However, they still use the build modules, because the corresponding
2860 # host modules (e.g. bison) are only built for the host when bootstrap
2862 # - build_subdir is where we find build modules, and never changes.
2863 # - build_libsubdir is where we find build libraries, and can be overridden.
2865 # Prefix 'build-' so this never conflicts with target_subdir.
2866 build_subdir
="build-${build_noncanonical}"
2868 # Check whether --with-build-libsubdir was given.
2869 if test "${with_build_libsubdir+set}" = set; then :
2870 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2872 build_libsubdir
="$build_subdir"
2875 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2876 if ( test $srcdir = .
&& test -d gcc
) \
2877 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2878 host_subdir
="host-${host_noncanonical}"
2883 target_subdir
=${target_noncanonical}
2885 # Be sure to cover against remnants of an in-tree build.
2886 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2887 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2888 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2891 # Skipdirs are removed silently.
2893 # Noconfigdirs are removed loudly.
2897 # Make sure we don't let GNU ld be added if we didn't want it.
2898 if test x
$with_gnu_ld = xno
; then
2900 noconfigdirs
="$noconfigdirs ld gold"
2904 # Make sure we don't let GNU as be added if we didn't want it.
2905 if test x
$with_gnu_as = xno
; then
2907 noconfigdirs
="$noconfigdirs gas"
2912 # Check whether --with-system-zlib was given.
2913 if test "${with_system_zlib+set}" = set; then :
2914 withval
=$with_system_zlib;
2917 # Make sure we don't let ZLIB be added if we didn't want it.
2918 if test x
$with_system_zlib = xyes
; then
2919 use_included_zlib
=no
2920 noconfigdirs
="$noconfigdirs zlib"
2923 # some tools are so dependent upon X11 that if we're not building with X,
2924 # it's not even worth trying to configure, much less build, that tool.
2927 yes |
"") ;; # the default value for this tree is that X11 is available
2929 skipdirs
="${skipdirs} tk itcl libgui"
2930 # We won't be able to build gdbtk without X.
2933 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2936 # Some are only suitable for cross toolchains.
2937 # Remove these if host=target.
2938 cross_only
="target-libgloss target-newlib target-opcodes"
2940 case $is_cross_compiler in
2941 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2944 # If both --with-headers and --with-libs are specified, default to
2946 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2947 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2948 if test x
"${with_newlib}" = x
; then
2953 # Recognize --with-newlib/--without-newlib.
2954 case ${with_newlib} in
2955 no
) skipdirs
="${skipdirs} target-newlib" ;;
2956 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2959 # Check whether --enable-as-accelerator-for was given.
2960 if test "${enable_as_accelerator_for+set}" = set; then :
2961 enableval
=$enable_as_accelerator_for;
2965 # Check whether --enable-offload-targets was given.
2966 if test "${enable_offload_targets+set}" = set; then :
2967 enableval
=$enable_offload_targets;
2968 if test x
"$enable_offload_targets" = x
; then
2969 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2973 enable_offload_targets
=
2977 # Handle --enable-gold, --enable-ld.
2978 # --disable-gold [--enable-ld]
2979 # Build only ld. Default option.
2980 # --enable-gold [--enable-ld]
2981 # Build both gold and ld. Install gold as "ld.gold", install ld
2982 # as "ld.bfd" and "ld".
2983 # --enable-gold=default [--enable-ld]
2984 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2985 # install ld as "ld.bfd".
2986 # --enable-gold[=default] --disable-ld
2987 # Build only gold, which is then installed as both "ld.gold" and "ld".
2988 # --enable-gold --enable-ld=default
2989 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2991 # In other words, ld is default
2992 # --enable-gold=default --enable-ld=default
2996 # Check whether --enable-gold was given.
2997 if test "${enable_gold+set}" = set; then :
2998 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3003 case "${ENABLE_GOLD}" in
3005 # Check for ELF target.
3008 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3009 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3010 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
3011 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3013 *-*-linux*aout
* |
*-*-linux*oldld
*)
3021 if test "$is_elf" = "yes"; then
3022 # Check for target supported by gold.
3024 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3025 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3026 configdirs
="$configdirs gold"
3027 if test x
${ENABLE_GOLD} = xdefault
; then
3038 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3042 # Check whether --enable-ld was given.
3043 if test "${enable_ld+set}" = set; then :
3044 enableval
=$enable_ld; ENABLE_LD
=$enableval
3050 case "${ENABLE_LD}" in
3052 if test x
${default_ld} != x
; then
3053 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3059 if test x
${ENABLE_GOLD} != xyes
; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3061 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3063 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3066 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3071 # Decide the default method for compressing debug sections.
3072 # Provide a configure time option to override our default.
3073 # Check whether --enable-compressed_debug_sections was given.
3074 if test "${enable_compressed_debug_sections+set}" = set; then :
3075 enableval
=$enable_compressed_debug_sections;
3076 if test x
"$enable_compressed_debug_sections" = xyes
; then
3077 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3081 enable_compressed_debug_sections
=
3085 # Configure extra directories which are host specific
3089 configdirs
="$configdirs libtermcap" ;;
3092 # A target can indicate whether a language isn't supported for some reason.
3093 # Only spaces may be used in this macro; not newlines or tabs.
3094 unsupported_languages
=
3096 # Remove more programs from consideration, based on the host or
3097 # target this usually means that a port of the program doesn't
3101 i
[3456789]86-*-msdosdjgpp*)
3102 noconfigdirs
="$noconfigdirs tcl tk itcl"
3107 # Check whether --enable-libquadmath was given.
3108 if test "${enable_libquadmath+set}" = set; then :
3109 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3111 ENABLE_LIBQUADMATH
=yes
3114 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3115 noconfigdirs
="$noconfigdirs target-libquadmath"
3119 # Check whether --enable-libquadmath-support was given.
3120 if test "${enable_libquadmath_support+set}" = set; then :
3121 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3123 ENABLE_LIBQUADMATH_SUPPORT
=yes
3126 enable_libquadmath_support
=
3127 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3128 enable_libquadmath_support
=no
3132 # Check whether --enable-libada was given.
3133 if test "${enable_libada+set}" = set; then :
3134 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3139 if test "${ENABLE_LIBADA}" != "yes" ; then
3140 noconfigdirs
="$noconfigdirs gnattools"
3143 # Check whether --enable-libssp was given.
3144 if test "${enable_libssp+set}" = set; then :
3145 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3151 # Check whether --enable-libstdcxx was given.
3152 if test "${enable_libstdcxx+set}" = set; then :
3153 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3155 ENABLE_LIBSTDCXX
=default
3158 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3159 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3162 # If this is accelerator compiler and its target is intelmic we enable
3163 # target liboffloadmic by default. If this is compiler with offloading
3164 # for intelmic we enable host liboffloadmic by default. Otherwise
3165 # liboffloadmic is disabled by default.
3166 # Check whether --enable-liboffloadmic was given.
3167 if test "${enable_liboffloadmic+set}" = set; then :
3168 enableval
=$enable_liboffloadmic; case "$enableval" in
3170 enable_liboffloadmic
=$enableval ;;
3172 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3175 if test x
"$enable_as_accelerator_for" != x
; then
3177 *-intelmic-* |
*-intelmicemul-*)
3178 enable_liboffloadmic
=target
3179 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3182 enable_liboffloadmic
=no
3186 case "${enable_offload_targets}" in
3187 *-intelmic-* |
*-intelmicemul-*)
3188 enable_liboffloadmic
=host
3189 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3192 enable_liboffloadmic
=no
3200 # Enable libgomp by default on hosted POSIX systems, and a few others.
3201 if test x
$enable_libgomp = x
; then
3203 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3205 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3207 *-*-solaris2* |
*-*-hpux11*)
3209 *-*-darwin* |
*-*-aix*)
3214 noconfigdirs
="$noconfigdirs target-libgomp"
3219 # Disable libatomic on unsupported systems.
3220 if test -d ${srcdir}/libatomic
; then
3221 if test x
$enable_libatomic = x
; then
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3223 $as_echo_n "checking for libatomic support... " >&6; }
3224 if (srcdir
=${srcdir}/libatomic
; \
3225 .
${srcdir}/configure.tgt
; \
3226 test -n "$UNSUPPORTED")
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229 $as_echo "no" >&6; }
3230 noconfigdirs
="$noconfigdirs target-libatomic"
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3233 $as_echo "yes" >&6; }
3238 # Disable liboffloadmic on unsupported systems.
3239 if test -d ${srcdir}/liboffloadmic
; then
3240 if test x
$enable_liboffloadmic != xno
; then
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3242 $as_echo_n "checking for liboffloadmic support... " >&6; }
3243 if (srcdir
=${srcdir}/liboffloadmic
; \
3244 .
${srcdir}/configure.tgt
; \
3245 test -n "$UNSUPPORTED")
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3249 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3252 $as_echo "yes" >&6; }
3257 # Disable libitm on unsupported systems.
3258 if test -d ${srcdir}/libitm
; then
3259 if test x
$enable_libitm = x
; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3261 $as_echo_n "checking for libitm support... " >&6; }
3262 if (srcdir
=${srcdir}/libitm
; \
3263 .
${srcdir}/configure.tgt
; \
3264 test -n "$UNSUPPORTED")
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3267 $as_echo "no" >&6; }
3268 noconfigdirs
="$noconfigdirs target-libitm"
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3271 $as_echo "yes" >&6; }
3276 # Disable libsanitizer on unsupported systems.
3277 if test -d ${srcdir}/libsanitizer
; then
3278 if test x
$enable_libsanitizer = x
; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3280 $as_echo_n "checking for libsanitizer support... " >&6; }
3281 if (srcdir
=${srcdir}/libsanitizer
; \
3282 .
${srcdir}/configure.tgt
; \
3283 test -n "$UNSUPPORTED")
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3287 noconfigdirs
="$noconfigdirs target-libsanitizer"
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3290 $as_echo "yes" >&6; }
3295 # Disable libvtv on unsupported systems.
3296 if test -d ${srcdir}/libvtv
; then
3297 if test x
$enable_libvtv = x
; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3299 $as_echo_n "checking for libvtv support... " >&6; }
3300 if (srcdir
=${srcdir}/libvtv
; \
3301 .
${srcdir}/configure.tgt
; \
3302 test "$VTV_SUPPORTED" != "yes")
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3305 $as_echo "no" >&6; }
3306 noconfigdirs
="$noconfigdirs target-libvtv"
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3309 $as_echo "yes" >&6; }
3315 # Disable libhsail-rt on unsupported systems.
3316 if test -d ${srcdir}/libhsail-rt
; then
3317 if test x
$enable_libhsail_rt = x
; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
3319 $as_echo_n "checking for libhsail-rt support... " >&6; }
3320 if (srcdir
=${srcdir}/libhsail-rt
; \
3321 .
${srcdir}/configure.tgt
; \
3322 test -n "$UNSUPPORTED")
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325 $as_echo "no" >&6; }
3326 unsupported_languages
="$unsupported_languages brig"
3327 # This implicitly disables also target-libhsail-rt as it won't
3328 # get added to the build without BRIG FE.
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3331 $as_echo "yes" >&6; }
3337 # Disable libquadmath for some systems.
3340 noconfigdirs
="$noconfigdirs target-libquadmath"
3342 # libquadmath is unused on AIX and libquadmath build process use of
3343 # LD_LIBRARY_PATH can break AIX bootstrap.
3344 powerpc-
*-aix* | rs6000-
*-aix*)
3345 noconfigdirs
="$noconfigdirs target-libquadmath"
3349 # Disable libssp for some systems.
3352 # No hosted I/O support.
3353 noconfigdirs
="$noconfigdirs target-libssp"
3355 powerpc-
*-aix* | rs6000-
*-aix*)
3356 noconfigdirs
="$noconfigdirs target-libssp"
3359 # libssp uses a misaligned load to trigger a fault, but the RL78
3360 # doesn't fault for those - instead, it gives a build-time error
3361 # for explicit misaligned loads.
3362 noconfigdirs
="$noconfigdirs target-libssp"
3365 # No hosted I/O support.
3366 noconfigdirs
="$noconfigdirs target-libssp"
3370 # Disable libstdc++-v3 for some systems.
3371 # Allow user to override this if they pass --enable-libstdc++-v3
3372 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3375 # VxWorks uses the Dinkumware C++ library.
3376 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3379 # the C++ libraries don't build on top of CE's C libraries
3380 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3383 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3386 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3391 # Disable D on systems where it is known to not work.
3392 # For testing, you can override this with --enable-languages=d.
3393 case ,${enable_languages}, in
3398 *-*-darwin* |
*-*-cygwin* |
*-*-mingw*)
3399 unsupported_languages
="$unsupported_languages d"
3405 # Disable libphobos on unsupported systems.
3406 # For testing, you can override this with --enable-libphobos.
3407 if test -d ${srcdir}/libphobos
; then
3408 if test x
$enable_libphobos = x
; then
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libphobos support" >&5
3410 $as_echo_n "checking for libphobos support... " >&6; }
3411 if (srcdir
=${srcdir}/libphobos
; \
3412 .
${srcdir}/configure.tgt
; \
3413 test -n "$UNSUPPORTED")
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416 $as_echo "no" >&6; }
3417 noconfigdirs
="$noconfigdirs target-libphobos"
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3420 $as_echo "yes" >&6; }
3425 # Disable Fortran for some systems.
3428 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3429 unsupported_languages
="$unsupported_languages fortran"
3433 # Disable libffi for some systems.
3437 i
[3456789]86-*-darwin*)
3439 x86_64-
*-darwin[912]*)
3442 noconfigdirs
="$noconfigdirs target-libffi"
3445 noconfigdirs
="$noconfigdirs target-libffi"
3448 noconfigdirs
="$noconfigdirs target-libffi"
3451 noconfigdirs
="$noconfigdirs target-libffi"
3454 noconfigdirs
="$noconfigdirs target-libffi"
3457 noconfigdirs
="$noconfigdirs target-libffi"
3460 noconfigdirs
="$noconfigdirs target-libffi"
3462 aarch64
*-*-freebsd*)
3463 noconfigdirs
="$noconfigdirs target-libffi"
3466 noconfigdirs
="$noconfigdirs target-libffi"
3469 noconfigdirs
="$noconfigdirs target-libffi"
3472 noconfigdirs
="$noconfigdirs target-libffi"
3475 noconfigdirs
="$noconfigdirs target-libffi"
3477 cris-
*-* | crisv32-
*-*)
3481 *) # See PR46792 regarding target-libffi.
3482 noconfigdirs
="$noconfigdirs target-libffi";;
3486 noconfigdirs
="$noconfigdirs target-libffi"
3491 noconfigdirs
="$noconfigdirs target-libffi"
3494 noconfigdirs
="$noconfigdirs target-libffi"
3496 i
[3456789]86-w64-mingw*)
3497 noconfigdirs
="$noconfigdirs target-libffi"
3499 i
[3456789]86-*-mingw*)
3500 noconfigdirs
="$noconfigdirs target-libffi"
3503 noconfigdirs
="$noconfigdirs target-libffi"
3506 noconfigdirs
="$noconfigdirs target-libffi"
3513 noconfigdirs
="$noconfigdirs target-libffi"
3516 noconfigdirs
="$noconfigdirs target-libffi"
3520 # Disable the go frontend on systems where it is known to not work. Please keep
3521 # this in sync with contrib/config-list.mk.
3523 *-*-darwin* |
*-*-cygwin* |
*-*-mingw*)
3524 unsupported_languages
="$unsupported_languages go"
3528 # Disable libgo for some systems where it is known to not work.
3529 # For testing, you can easily override this with --enable-libgo.
3530 if test x
$enable_libgo = x
; then
3534 noconfigdirs
="$noconfigdirs target-libgo"
3536 *-*-cygwin* |
*-*-mingw*)
3537 noconfigdirs
="$noconfigdirs target-libgo"
3542 # Default libgloss CPU subdirectory.
3543 libgloss_dir
="$target_cpu"
3546 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3550 libgloss_dir
=aarch64
3555 cris-
*-* | crisv32-
*-*)
3564 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3565 libgloss_dir
=m68hc11
3567 m68
*-*-* | fido-
*-*)
3581 # Disable newlib and libgloss for various target OSes.
3584 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3586 i
[3456789]86-*-linux*)
3587 # This section makes it possible to build newlib natively on linux.
3588 # If we are using a cross compiler then don't configure newlib.
3589 if test x
${is_cross_compiler} != xno
; then
3590 noconfigdirs
="$noconfigdirs target-newlib"
3592 noconfigdirs
="$noconfigdirs target-libgloss"
3593 # If we are not using a cross compiler, do configure newlib.
3594 # Note however, that newlib will only be configured in this situation
3595 # if the --with-newlib option has been given, because otherwise
3596 # 'target-newlib' will appear in skipdirs.
3598 i
[3456789]86-*-rdos*)
3599 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3601 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3602 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3605 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3608 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3611 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3614 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3617 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3620 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3622 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3623 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3626 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3629 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3632 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3635 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3638 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3641 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3644 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3652 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3653 noconfigdirs
="$noconfigdirs sim target-rda"
3656 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3657 noconfigdirs
="$noconfigdirs sim target-rda"
3660 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3661 noconfigdirs
="$noconfigdirs sim target-rda"
3663 i
[3456789]86-*-darwin*)
3664 noconfigdirs
="$noconfigdirs ld gprof"
3665 noconfigdirs
="$noconfigdirs sim target-rda"
3667 x86_64-
*-darwin[912]*)
3668 noconfigdirs
="$noconfigdirs ld gas gprof"
3669 noconfigdirs
="$noconfigdirs sim target-rda"
3672 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3673 noconfigdirs
="$noconfigdirs sim target-rda"
3678 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3679 && test -f /usr
/local
/include
/gmp.h
; then
3684 # Remove unsupported stuff on all kaOS configurations.
3685 noconfigdirs
="$noconfigdirs target-libgloss"
3692 noconfigdirs
="$noconfigdirs target-libgloss"
3695 noconfigdirs
="$noconfigdirs target-libgloss"
3697 # The tpf target doesn't support gdb yet.
3699 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3702 noconfigdirs
="$noconfigdirs target-rda"
3707 # ld works, but does not support shared libraries.
3708 # gas doesn't generate exception information.
3709 noconfigdirs
="$noconfigdirs gas ld"
3712 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3715 # newlib is not 64 bit ready
3716 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3718 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3719 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3722 noconfigdirs
="$noconfigdirs sim"
3725 noconfigdirs
="$noconfigdirs target-libgloss"
3728 noconfigdirs
="$noconfigdirs ld target-libgloss"
3731 if test x
${with_avrlibc} != xno
; then
3732 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3735 c4x-
*-* | tic4x-
*-*)
3736 noconfigdirs
="$noconfigdirs target-libgloss"
3739 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3742 noconfigdirs
="$noconfigdirs target-libgloss"
3745 noconfigdirs
="$noconfigdirs gdb"
3748 noconfigdirs
="$noconfigdirs gdb"
3751 noconfigdirs
="$noconfigdirs target-rda gprof"
3754 noconfigdirs
="$noconfigdirs"
3757 noconfigdirs
="$noconfigdirs target-libgloss"
3760 noconfigdirs
="$noconfigdirs target-libgloss"
3762 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3765 noconfigdirs
="$noconfigdirs gdb"
3768 noconfigdirs
="$noconfigdirs gdb ld"
3776 hppa
*-*-openbsd* | \
3782 noconfigdirs
="$noconfigdirs ld"
3785 noconfigdirs
="$noconfigdirs gdb"
3788 # No gdb support yet.
3789 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3792 # No ld support yet.
3793 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3796 # No ld support yet.
3797 noconfigdirs
="$noconfigdirs libgui itcl ld"
3799 i
[3456789]86-w64-mingw*)
3801 i
[3456789]86-*-mingw*)
3802 target_configdirs
="$target_configdirs target-winsup"
3805 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3806 noconfigdirs
="$noconfigdirs target-libgloss"
3807 # always build newlib if winsup directory is present.
3808 if test -d "$srcdir/winsup/cygwin"; then
3809 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3810 elif test -d "$srcdir/newlib"; then
3811 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3815 noconfigdirs
="$noconfigdirs target-libgloss"
3817 i
[3456789]86-*-sco3.2v5
*)
3818 # The linker does not yet know about weak symbols in COFF,
3819 # and is not configured to handle mixed ELF and COFF.
3820 noconfigdirs
="$noconfigdirs ld target-libgloss"
3822 i
[3456789]86-*-sco*)
3823 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3825 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3826 noconfigdirs
="$noconfigdirs target-libgloss"
3828 i
[3456789]86-*-sysv4*)
3829 noconfigdirs
="$noconfigdirs target-libgloss"
3831 i
[3456789]86-*-beos*)
3832 noconfigdirs
="$noconfigdirs gdb"
3834 i
[3456789]86-*-rdos*)
3835 noconfigdirs
="$noconfigdirs gdb"
3838 noconfigdirs
="$noconfigdirs gdb"
3841 noconfigdirs
="$noconfigdirs sim"
3844 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3845 noconfigdirs
="$noconfigdirs $target_libraries"
3848 # copied from rs6000-*-* entry
3849 noconfigdirs
="$noconfigdirs gprof"
3851 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3852 target_configdirs
="$target_configdirs target-winsup"
3853 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3854 # always build newlib.
3855 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3857 # This is temporary until we can link against shared libraries
3858 powerpcle-
*-solaris*)
3859 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3862 noconfigdirs
="$noconfigdirs gdb"
3865 noconfigdirs
="$noconfigdirs gprof"
3868 noconfigdirs
="$noconfigdirs gprof"
3871 noconfigdirs
="$noconfigdirs gprof"
3874 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3877 noconfigdirs
="$noconfigdirs gprof"
3879 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3880 if test x
$with_newlib = xyes
; then
3881 noconfigdirs
="$noconfigdirs gprof"
3885 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3888 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3891 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3895 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3896 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3897 noconfigdirs
="$noconfigdirs ld gas gprof"
3900 noconfigdirs
="$noconfigdirs gprof"
3903 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3910 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3914 if test x
${is_cross_compiler} = xno
; then
3919 noconfigdirs
="$noconfigdirs sim"
3921 tilepro
*-*-* | tilegx
*-*-*)
3922 noconfigdirs
="$noconfigdirs sim"
3925 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3928 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3931 noconfigdirs
="$noconfigdirs ld"
3935 # If we aren't building newlib, then don't build libgloss, since libgloss
3936 # depends upon some newlib header files.
3937 case "${noconfigdirs}" in
3938 *target-libgloss
*) ;;
3939 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3942 # Work in distributions that contain no compiler tools, like Autoconf.
3943 host_makefile_frag
=/dev
/null
3944 if test -d ${srcdir}/config
; then
3946 i
[3456789]86-*-msdosdjgpp*)
3947 host_makefile_frag
="config/mh-djgpp"
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3952 $as_echo_n "checking to see if cat works as expected... " >&6; }
3953 echo a
>cygwin-cat-check
3954 if test `cat cygwin-cat-check` = a
; then
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3957 $as_echo "yes" >&6; }
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3961 $as_echo "no" >&6; }
3962 as_fn_error $?
"The cat command does not ignore carriage return characters.
3963 Please either mount the build directory in binary mode or run the following
3964 commands before running any configure script:
3970 host_makefile_frag
="config/mh-cygwin"
3973 host_makefile_frag
="config/mh-mingw"
3976 host_makefile_frag
="config/mh-alpha-linux"
3979 host_makefile_frag
="config/mh-pa-hpux10"
3982 host_makefile_frag
="config/mh-pa"
3985 host_makefile_frag
="config/mh-pa"
3988 host_makefile_frag
="config/mh-darwin"
3991 host_makefile_frag
="config/mh-ppc-aix"
3994 host_makefile_frag
="config/mh-ppc-aix"
3999 if test "${build}" != "${host}" ; then
4000 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4001 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4002 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4003 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4004 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4005 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4006 GDC_FOR_BUILD
=${GDC_FOR_BUILD-gdc}
4007 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4008 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4009 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4010 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4011 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4012 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4014 AR_FOR_BUILD
="\$(AR)"
4015 AS_FOR_BUILD
="\$(AS)"
4016 CC_FOR_BUILD
="\$(CC)"
4017 CXX_FOR_BUILD
="\$(CXX)"
4018 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4019 GOC_FOR_BUILD
="\$(GOC)"
4020 GDC_FOR_BUILD
="\$(GDC)"
4021 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4022 LD_FOR_BUILD
="\$(LD)"
4023 NM_FOR_BUILD
="\$(NM)"
4024 RANLIB_FOR_BUILD
="\$(RANLIB)"
4025 WINDRES_FOR_BUILD
="\$(WINDRES)"
4026 WINDMC_FOR_BUILD
="\$(WINDMC)"
4030 ac_cpp
='$CPP $CPPFLAGS'
4031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4034 if test -n "$ac_tool_prefix"; then
4035 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4036 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4038 $as_echo_n "checking for $ac_word... " >&6; }
4039 if ${ac_cv_prog_CC+:} false
; then :
4040 $as_echo_n "(cached) " >&6
4042 if test -n "$CC"; then
4043 ac_cv_prog_CC
="$CC" # Let the user override the test.
4045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4049 test -z "$as_dir" && as_dir
=.
4050 for ac_exec_ext
in '' $ac_executable_extensions; do
4051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4052 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4063 if test -n "$CC"; then
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4065 $as_echo "$CC" >&6; }
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4068 $as_echo "no" >&6; }
4073 if test -z "$ac_cv_prog_CC"; then
4075 # Extract the first word of "gcc", so it can be a program name with args.
4076 set dummy gcc
; ac_word
=$2
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4078 $as_echo_n "checking for $ac_word... " >&6; }
4079 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4080 $as_echo_n "(cached) " >&6
4082 if test -n "$ac_ct_CC"; then
4083 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4089 test -z "$as_dir" && as_dir
=.
4090 for ac_exec_ext
in '' $ac_executable_extensions; do
4091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4092 ac_cv_prog_ac_ct_CC
="gcc"
4093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4102 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4103 if test -n "$ac_ct_CC"; then
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4105 $as_echo "$ac_ct_CC" >&6; }
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4108 $as_echo "no" >&6; }
4111 if test "x$ac_ct_CC" = x
; then
4114 case $cross_compiling:$ac_tool_warned in
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4118 ac_tool_warned
=yes ;;
4126 if test -z "$CC"; then
4127 if test -n "$ac_tool_prefix"; then
4128 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4129 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4131 $as_echo_n "checking for $ac_word... " >&6; }
4132 if ${ac_cv_prog_CC+:} false
; then :
4133 $as_echo_n "(cached) " >&6
4135 if test -n "$CC"; then
4136 ac_cv_prog_CC
="$CC" # Let the user override the test.
4138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4142 test -z "$as_dir" && as_dir
=.
4143 for ac_exec_ext
in '' $ac_executable_extensions; do
4144 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4145 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4156 if test -n "$CC"; then
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4158 $as_echo "$CC" >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4161 $as_echo "no" >&6; }
4167 if test -z "$CC"; then
4168 # Extract the first word of "cc", so it can be a program name with args.
4169 set dummy cc
; ac_word
=$2
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4171 $as_echo_n "checking for $ac_word... " >&6; }
4172 if ${ac_cv_prog_CC+:} false
; then :
4173 $as_echo_n "(cached) " >&6
4175 if test -n "$CC"; then
4176 ac_cv_prog_CC
="$CC" # Let the user override the test.
4179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4183 test -z "$as_dir" && as_dir
=.
4184 for ac_exec_ext
in '' $ac_executable_extensions; do
4185 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4186 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4187 ac_prog_rejected
=yes
4191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4198 if test $ac_prog_rejected = yes; then
4199 # We found a bogon in the path, so make sure we never use it.
4200 set dummy
$ac_cv_prog_CC
4202 if test $# != 0; then
4203 # We chose a different compiler from the bogus one.
4204 # However, it has the same basename, so the bogon will be chosen
4205 # first if we set CC to just the basename; use the full file name.
4207 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4213 if test -n "$CC"; then
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4215 $as_echo "$CC" >&6; }
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4218 $as_echo "no" >&6; }
4223 if test -z "$CC"; then
4224 if test -n "$ac_tool_prefix"; then
4225 for ac_prog
in cl.exe
4227 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4228 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4230 $as_echo_n "checking for $ac_word... " >&6; }
4231 if ${ac_cv_prog_CC+:} false
; then :
4232 $as_echo_n "(cached) " >&6
4234 if test -n "$CC"; then
4235 ac_cv_prog_CC
="$CC" # Let the user override the test.
4237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4241 test -z "$as_dir" && as_dir
=.
4242 for ac_exec_ext
in '' $ac_executable_extensions; do
4243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4244 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4255 if test -n "$CC"; then
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4257 $as_echo "$CC" >&6; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4260 $as_echo "no" >&6; }
4264 test -n "$CC" && break
4267 if test -z "$CC"; then
4269 for ac_prog
in cl.exe
4271 # Extract the first word of "$ac_prog", so it can be a program name with args.
4272 set dummy
$ac_prog; ac_word
=$2
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274 $as_echo_n "checking for $ac_word... " >&6; }
4275 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4276 $as_echo_n "(cached) " >&6
4278 if test -n "$ac_ct_CC"; then
4279 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4285 test -z "$as_dir" && as_dir
=.
4286 for ac_exec_ext
in '' $ac_executable_extensions; do
4287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4288 ac_cv_prog_ac_ct_CC
="$ac_prog"
4289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4299 if test -n "$ac_ct_CC"; then
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4301 $as_echo "$ac_ct_CC" >&6; }
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304 $as_echo "no" >&6; }
4308 test -n "$ac_ct_CC" && break
4311 if test "x$ac_ct_CC" = x
; then
4314 case $cross_compiling:$ac_tool_warned in
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4318 ac_tool_warned
=yes ;;
4327 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4329 as_fn_error $?
"no acceptable C compiler found in \$PATH
4330 See \`config.log' for more details" "$LINENO" 5; }
4332 # Provide some information about the compiler.
4333 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4336 for ac_option
in --version -v -V -qversion; do
4337 { { ac_try
="$ac_compiler $ac_option >&5"
4339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4340 *) ac_try_echo=$ac_try;;
4342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4343 $as_echo "$ac_try_echo"; } >&5
4344 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4346 if test -s conftest.err; then
4348 ... rest of stderr output deleted ...
4349 10q' conftest.err >conftest.er1
4350 cat conftest.er1 >&5
4352 rm -f conftest.er1 conftest.err
4353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4354 test $ac_status = 0; }
4357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h. */
4368 ac_clean_files_save=$ac_clean_files
4369 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4370 # Try to create an executable without -o first, disregard a.out.
4371 # It will help us diagnose broken compilers, and finding out an intuition
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4374 $as_echo_n "checking whether the C compiler works... " >&6; }
4375 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4377 # The possible output files:
4378 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4381 for ac_file in $ac_files
4384 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4385 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4390 if { { ac_try="$ac_link_default"
4392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4393 *) ac_try_echo
=$ac_try;;
4395 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4396 $as_echo "$ac_try_echo"; } >&5
4397 (eval "$ac_link_default") 2>&5
4399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4400 test $ac_status = 0; }; then :
4401 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4402 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4403 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4404 # so that the user can short-circuit this test for compilers unknown to
4406 for ac_file
in $ac_files ''
4408 test -f "$ac_file" ||
continue
4410 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4413 # We found the default executable, but exeext='' is most
4417 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4419 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4421 # We set ac_cv_exeext here because the later test for it is not
4422 # safe: cross compilers may not add the suffix if given an `-o'
4423 # argument, so we may need to know it at that point already.
4424 # Even if this section looks crufty: it has the advantage of
4431 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4436 if test -z "$ac_file"; then :
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4438 $as_echo "no" >&6; }
4439 $as_echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.
$ac_ext >&5
4442 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4444 as_fn_error
77 "C compiler cannot create executables
4445 See \`config.log' for more details" "$LINENO" 5; }
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4448 $as_echo "yes" >&6; }
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4451 $as_echo_n "checking for C compiler default output file name... " >&6; }
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4453 $as_echo "$ac_file" >&6; }
4454 ac_exeext
=$ac_cv_exeext
4456 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4457 ac_clean_files
=$ac_clean_files_save
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4459 $as_echo_n "checking for suffix of executables... " >&6; }
4460 if { { ac_try
="$ac_link"
4462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4463 *) ac_try_echo=$ac_try;;
4465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4466 $as_echo "$ac_try_echo"; } >&5
4467 (eval "$ac_link") 2>&5
4469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4470 test $ac_status = 0; }; then :
4471 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4472 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4473 # work properly (i.e., refer to `conftest.exe'), while it won't with
4475 for ac_file
in conftest.exe conftest conftest.
*; do
4476 test -f "$ac_file" ||
continue
4478 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4479 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4487 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4488 See \`config.log' for more details" "$LINENO" 5; }
4490 rm -f conftest conftest
$ac_cv_exeext
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4492 $as_echo "$ac_cv_exeext" >&6; }
4494 rm -f conftest.
$ac_ext
4495 EXEEXT
=$ac_cv_exeext
4497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4498 /* end confdefs.h. */
4503 FILE *f = fopen ("conftest.out", "w");
4504 return ferror (f) || fclose (f) != 0;
4510 ac_clean_files
="$ac_clean_files conftest.out"
4511 # Check that the compiler produces executables we can run. If not, either
4512 # the compiler is broken, or we cross compile.
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4514 $as_echo_n "checking whether we are cross compiling... " >&6; }
4515 if test "$cross_compiling" != yes; then
4516 { { ac_try
="$ac_link"
4518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4519 *) ac_try_echo=$ac_try;;
4521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4522 $as_echo "$ac_try_echo"; } >&5
4523 (eval "$ac_link") 2>&5
4525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4526 test $ac_status = 0; }
4527 if { ac_try='./conftest$ac_cv_exeext'
4528 { { case "(($ac_try" in
4529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4530 *) ac_try_echo
=$ac_try;;
4532 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4533 $as_echo "$ac_try_echo"; } >&5
4534 (eval "$ac_try") 2>&5
4536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4537 test $ac_status = 0; }; }; then
4540 if test "$cross_compiling" = maybe
; then
4543 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4545 as_fn_error $?
"cannot run C compiled programs.
4546 If you meant to cross compile, use \`--host'.
4547 See \`config.log' for more details" "$LINENO" 5; }
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4552 $as_echo "$cross_compiling" >&6; }
4554 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4555 ac_clean_files
=$ac_clean_files_save
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4557 $as_echo_n "checking for suffix of object files... " >&6; }
4558 if ${ac_cv_objext+:} false
; then :
4559 $as_echo_n "(cached) " >&6
4561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4572 rm -f conftest.o conftest.obj
4573 if { { ac_try
="$ac_compile"
4575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4576 *) ac_try_echo=$ac_try;;
4578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4579 $as_echo "$ac_try_echo"; } >&5
4580 (eval "$ac_compile") 2>&5
4582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4583 test $ac_status = 0; }; then :
4584 for ac_file in conftest.o conftest.obj conftest.*; do
4585 test -f "$ac_file" || continue;
4587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4588 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4593 $as_echo "$as_me: failed program was:" >&5
4594 sed 's/^/| /' conftest.$ac_ext >&5
4596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4598 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4599 See \
`config.log' for more details" "$LINENO" 5; }
4601 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4604 $as_echo "$ac_cv_objext" >&6; }
4605 OBJEXT=$ac_cv_objext
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4608 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4609 if ${ac_cv_c_compiler_gnu+:} false; then :
4610 $as_echo_n "(cached) " >&6
4612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4626 if ac_fn_c_try_compile "$LINENO"; then :
4631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4632 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4636 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4637 if test $ac_compiler_gnu = yes; then
4642 ac_test_CFLAGS=${CFLAGS+set}
4643 ac_save_CFLAGS=$CFLAGS
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4645 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4646 if ${ac_cv_prog_cc_g+:} false; then :
4647 $as_echo_n "(cached) " >&6
4649 ac_save_c_werror_flag=$ac_c_werror_flag
4650 ac_c_werror_flag=yes
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4664 if ac_fn_c_try_compile "$LINENO"; then :
4668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669 /* end confdefs.h. */
4679 if ac_fn_c_try_compile "$LINENO"; then :
4682 ac_c_werror_flag=$ac_save_c_werror_flag
4684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h. */
4695 if ac_fn_c_try_compile "$LINENO"; then :
4698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4703 ac_c_werror_flag=$ac_save_c_werror_flag
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4706 $as_echo "$ac_cv_prog_cc_g" >&6; }
4707 if test "$ac_test_CFLAGS" = set; then
4708 CFLAGS=$ac_save_CFLAGS
4709 elif test $ac_cv_prog_cc_g = yes; then
4710 if test "$GCC" = yes; then
4716 if test "$GCC" = yes; then
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4723 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4724 if ${ac_cv_prog_cc_c89+:} false; then :
4725 $as_echo_n "(cached) " >&6
4727 ac_cv_prog_cc_c89=no
4729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4730 /* end confdefs.h. */
4734 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4735 struct buf { int x; };
4736 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4737 static char *e (p, i)
4743 static char *f (char * (*g) (char **, int), char **p, ...)
4748 s = g (p, va_arg (v,int));
4753 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4754 function prototypes and stuff, but not '\xHH' hex character constants.
4755 These don't provoke an error unfortunately, instead are silently treated
4756 as 'x'. The following induces an error, until -std is added to get
4757 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4758 array size at least. It's necessary to write '\x00'==0 to get something
4759 that's true only with -std. */
4760 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4762 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4763 inside strings and character constants. */
4765 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4767 int test (int i, double x);
4768 struct s1 {int (*f) (int a);};
4769 struct s2 {int (*f) (double a);};
4770 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4776 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4781 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4782 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4784 CC="$ac_save_CC $ac_arg"
4785 if ac_fn_c_try_compile "$LINENO"; then :
4786 ac_cv_prog_cc_c89=$ac_arg
4788 rm -f core conftest.err conftest.$ac_objext
4789 test "x$ac_cv_prog_cc_c89" != "xno" && break
4791 rm -f conftest.$ac_ext
4796 case "x$ac_cv_prog_cc_c89" in
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4799 $as_echo "none needed" >&6; } ;;
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4802 $as_echo "unsupported" >&6; } ;;
4804 CC="$CC $ac_cv_prog_cc_c89"
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4806 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4808 if test "x$ac_cv_prog_cc_c89" != xno; then :
4813 ac_cpp='$CPP $CPPFLAGS'
4814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4819 ac_cpp='$CXXCPP $CPPFLAGS'
4820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4823 if test -z "$CXX"; then
4824 if test -n "$CCC"; then
4827 if test -n "$ac_tool_prefix"; then
4828 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4830 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4831 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833 $as_echo_n "checking for $ac_word... " >&6; }
4834 if ${ac_cv_prog_CXX+:} false; then :
4835 $as_echo_n "(cached) " >&6
4837 if test -n "$CXX"; then
4838 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4844 test -z "$as_dir" && as_dir=.
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4847 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4858 if test -n "$CXX"; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4860 $as_echo "$CXX" >&6; }
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 $as_echo "no" >&6; }
4867 test -n "$CXX" && break
4870 if test -z "$CXX"; then
4872 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4874 # Extract the first word of "$ac_prog", so it can be a program name with args.
4875 set dummy $ac_prog; ac_word=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4879 $as_echo_n "(cached) " >&6
4881 if test -n "$ac_ct_CXX"; then
4882 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_ac_ct_CXX="$ac_prog"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4902 if test -n "$ac_ct_CXX"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4904 $as_echo "$ac_ct_CXX" >&6; }
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4911 test -n "$ac_ct_CXX" && break
4914 if test "x$ac_ct_CXX" = x; then
4917 case $cross_compiling:$ac_tool_warned in
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4921 ac_tool_warned=yes ;;
4929 # Provide some information about the compiler.
4930 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4933 for ac_option in --version -v -V -qversion; do
4934 { { ac_try="$ac_compiler $ac_option >&5"
4936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4937 *) ac_try_echo
=$ac_try;;
4939 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4940 $as_echo "$ac_try_echo"; } >&5
4941 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4943 if test -s conftest.err
; then
4945 ... rest of stderr output deleted ...
4946 10q' conftest.err
>conftest.er1
4947 cat conftest.er1
>&5
4949 rm -f conftest.er1 conftest.err
4950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4951 test $ac_status = 0; }
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4955 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4956 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4957 $as_echo_n "(cached) " >&6
4959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4960 /* end confdefs.h. */
4973 if ac_fn_cxx_try_compile
"$LINENO"; then :
4978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4979 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4983 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4984 if test $ac_compiler_gnu = yes; then
4989 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4990 ac_save_CXXFLAGS
=$CXXFLAGS
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4992 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4993 if ${ac_cv_prog_cxx_g+:} false
; then :
4994 $as_echo_n "(cached) " >&6
4996 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4997 ac_cxx_werror_flag
=yes
5000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5011 if ac_fn_cxx_try_compile
"$LINENO"; then :
5012 ac_cv_prog_cxx_g
=yes
5015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5026 if ac_fn_cxx_try_compile
"$LINENO"; then :
5029 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5042 if ac_fn_cxx_try_compile
"$LINENO"; then :
5043 ac_cv_prog_cxx_g
=yes
5045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5050 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5053 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5054 if test "$ac_test_CXXFLAGS" = set; then
5055 CXXFLAGS
=$ac_save_CXXFLAGS
5056 elif test $ac_cv_prog_cxx_g = yes; then
5057 if test "$GXX" = yes; then
5063 if test "$GXX" = yes; then
5070 ac_cpp
='$CPP $CPPFLAGS'
5071 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5072 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5073 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5076 # We must set the default linker to the linker used by gcc for the correct
5077 # operation of libtool. If LD is not defined and we are using gcc, try to
5078 # set the LD default to the ld used by gcc.
5079 if test -z "$LD"; then
5080 if test "$GCC" = yes; then
5083 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5085 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5087 case $gcc_prog_ld in
5088 # Accept absolute paths.
5089 [\\/]* |
[A-Za-z
]:[\\/]*)
5090 LD
="$gcc_prog_ld" ;;
5095 # Check whether -static-libstdc++ -static-libgcc is supported.
5097 if test "$GCC" = yes; then
5098 saved_LDFLAGS
="$LDFLAGS"
5100 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5102 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5104 ac_cpp
='$CXXCPP $CPPFLAGS'
5105 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5106 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5107 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5111 /* end confdefs.h. */
5113 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5114 #error -static-libstdc++ not implemented
5118 if ac_fn_cxx_try_link
"$LINENO"; then :
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5120 $as_echo "yes" >&6; }; have_static_libs
=yes
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5123 $as_echo "no" >&6; }
5125 rm -f core conftest.err conftest.
$ac_objext \
5126 conftest
$ac_exeext conftest.
$ac_ext
5128 ac_cpp
='$CPP $CPPFLAGS'
5129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5134 LDFLAGS
="$saved_LDFLAGS"
5140 if test -n "$ac_tool_prefix"; then
5141 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5142 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144 $as_echo_n "checking for $ac_word... " >&6; }
5145 if ${ac_cv_prog_GNATBIND+:} false
; then :
5146 $as_echo_n "(cached) " >&6
5148 if test -n "$GNATBIND"; then
5149 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5155 test -z "$as_dir" && as_dir
=.
5156 for ac_exec_ext
in '' $ac_executable_extensions; do
5157 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5158 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5168 GNATBIND
=$ac_cv_prog_GNATBIND
5169 if test -n "$GNATBIND"; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5171 $as_echo "$GNATBIND" >&6; }
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 $as_echo "no" >&6; }
5179 if test -z "$ac_cv_prog_GNATBIND"; then
5180 ac_ct_GNATBIND
=$GNATBIND
5181 # Extract the first word of "gnatbind", so it can be a program name with args.
5182 set dummy gnatbind
; ac_word
=$2
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5184 $as_echo_n "checking for $ac_word... " >&6; }
5185 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5186 $as_echo_n "(cached) " >&6
5188 if test -n "$ac_ct_GNATBIND"; then
5189 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5195 test -z "$as_dir" && as_dir
=.
5196 for ac_exec_ext
in '' $ac_executable_extensions; do
5197 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5198 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5209 if test -n "$ac_ct_GNATBIND"; then
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5211 $as_echo "$ac_ct_GNATBIND" >&6; }
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5214 $as_echo "no" >&6; }
5217 if test "x$ac_ct_GNATBIND" = x
; then
5220 case $cross_compiling:$ac_tool_warned in
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5224 ac_tool_warned
=yes ;;
5226 GNATBIND
=$ac_ct_GNATBIND
5229 GNATBIND
="$ac_cv_prog_GNATBIND"
5232 if test -n "$ac_tool_prefix"; then
5233 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5234 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5236 $as_echo_n "checking for $ac_word... " >&6; }
5237 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5238 $as_echo_n "(cached) " >&6
5240 if test -n "$GNATMAKE"; then
5241 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5247 test -z "$as_dir" && as_dir
=.
5248 for ac_exec_ext
in '' $ac_executable_extensions; do
5249 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5250 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5260 GNATMAKE
=$ac_cv_prog_GNATMAKE
5261 if test -n "$GNATMAKE"; then
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5263 $as_echo "$GNATMAKE" >&6; }
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 $as_echo "no" >&6; }
5271 if test -z "$ac_cv_prog_GNATMAKE"; then
5272 ac_ct_GNATMAKE
=$GNATMAKE
5273 # Extract the first word of "gnatmake", so it can be a program name with args.
5274 set dummy gnatmake
; ac_word
=$2
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5276 $as_echo_n "checking for $ac_word... " >&6; }
5277 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5278 $as_echo_n "(cached) " >&6
5280 if test -n "$ac_ct_GNATMAKE"; then
5281 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5287 test -z "$as_dir" && as_dir
=.
5288 for ac_exec_ext
in '' $ac_executable_extensions; do
5289 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5290 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5300 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5301 if test -n "$ac_ct_GNATMAKE"; then
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5303 $as_echo "$ac_ct_GNATMAKE" >&6; }
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 $as_echo "no" >&6; }
5309 if test "x$ac_ct_GNATMAKE" = x
; then
5312 case $cross_compiling:$ac_tool_warned in
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5316 ac_tool_warned
=yes ;;
5318 GNATMAKE
=$ac_ct_GNATMAKE
5321 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5325 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5326 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5327 $as_echo_n "(cached) " >&6
5329 cat >conftest.adb
<<EOF
5330 procedure conftest is begin null; end conftest;
5332 acx_cv_cc_gcc_supports_ada
=no
5333 # There is a bug in old released versions of GCC which causes the
5334 # driver to exit successfully when the appropriate language module
5335 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5336 # Therefore we must check for the error message as well as an
5337 # unsuccessful exit.
5338 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5339 # given a .adb file, but produce no object file. So we must check
5340 # if an object file was really produced to guard against this.
5341 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5342 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5343 acx_cv_cc_gcc_supports_ada
=yes
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5348 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5350 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5357 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5358 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5359 $as_echo_n "(cached) " >&6
5363 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5364 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5365 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5368 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5371 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5372 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5375 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5382 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5383 do_compare
="$gcc_cv_prog_cmp_skip"
5387 # Check whether --enable-bootstrap was given.
5388 if test "${enable_bootstrap+set}" = set; then :
5389 enableval
=$enable_bootstrap;
5391 enable_bootstrap
=default
5395 # Issue errors and warnings for invalid/strange bootstrap combinations.
5396 if test -r $srcdir/gcc
/configure
; then
5402 case "$have_compiler:$host:$target:$enable_bootstrap" in
5405 # Default behavior. Enable bootstrap if we have a compiler
5406 # and we are in a native configuration.
5407 yes:$build:$build:default
)
5408 enable_bootstrap
=yes ;;
5411 enable_bootstrap
=no
;;
5413 # We have a compiler and we are in a native configuration, bootstrap is ok
5414 yes:$build:$build:yes)
5417 # Other configurations, but we have a compiler. Assume the user knows
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5421 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5424 # No compiler: if they passed --enable-bootstrap explicitly, fail
5426 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5428 # Fail if wrong command line
5430 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5434 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5435 # C++98 compiler can still start the bootstrap.
5436 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5437 CXX
="$CXX -std=gnu++98"
5440 # Used for setting $lt_cv_objdir
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5442 $as_echo_n "checking for objdir... " >&6; }
5443 if ${lt_cv_objdir+:} false
; then :
5444 $as_echo_n "(cached) " >&6
5446 rm -f .libs
2>/dev
/null
5447 mkdir .libs
2>/dev
/null
5448 if test -d .libs
; then
5451 # MS-DOS does not allow filenames that begin with a dot.
5454 rmdir .libs
2>/dev
/null
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5457 $as_echo "$lt_cv_objdir" >&6; }
5458 objdir
=$lt_cv_objdir
5464 cat >>confdefs.h
<<_ACEOF
5465 #define LT_OBJDIR "$lt_cv_objdir/"
5470 # Check for GMP, MPFR and MPC
5471 gmplibs
="-lmpc -lmpfr -lgmp"
5475 # Specify a location for mpc
5476 # check for this first so it ends up on the link line before mpfr.
5478 # Check whether --with-mpc was given.
5479 if test "${with_mpc+set}" = set; then :
5484 # Check whether --with-mpc-include was given.
5485 if test "${with_mpc_include+set}" = set; then :
5486 withval
=$with_mpc_include;
5490 # Check whether --with-mpc-lib was given.
5491 if test "${with_mpc_lib+set}" = set; then :
5492 withval
=$with_mpc_lib;
5496 if test "x$with_mpc" != x
; then
5497 gmplibs
="-L$with_mpc/lib $gmplibs"
5498 gmpinc
="-I$with_mpc/include $gmpinc"
5500 if test "x$with_mpc_include" != x
; then
5501 gmpinc
="-I$with_mpc_include $gmpinc"
5503 if test "x$with_mpc_lib" != x
; then
5504 gmplibs
="-L$with_mpc_lib $gmplibs"
5506 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5507 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5508 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5509 # Do not test the mpc version. Assume that it is sufficient, since
5510 # it is in the source tree, and the library has not been built yet
5511 # but it would be included on the link line in the version check below
5512 # hence making the test fail.
5516 # Specify a location for mpfr
5517 # check for this first so it ends up on the link line before gmp.
5519 # Check whether --with-mpfr-dir was given.
5520 if test "${with_mpfr_dir+set}" = set; then :
5521 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
5522 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5527 # Check whether --with-mpfr was given.
5528 if test "${with_mpfr+set}" = set; then :
5533 # Check whether --with-mpfr-include was given.
5534 if test "${with_mpfr_include+set}" = set; then :
5535 withval
=$with_mpfr_include;
5539 # Check whether --with-mpfr-lib was given.
5540 if test "${with_mpfr_lib+set}" = set; then :
5541 withval
=$with_mpfr_lib;
5545 if test "x$with_mpfr" != x
; then
5546 gmplibs
="-L$with_mpfr/lib $gmplibs"
5547 gmpinc
="-I$with_mpfr/include $gmpinc"
5549 if test "x$with_mpfr_include" != x
; then
5550 gmpinc
="-I$with_mpfr_include $gmpinc"
5552 if test "x$with_mpfr_lib" != x
; then
5553 gmplibs
="-L$with_mpfr_lib $gmplibs"
5555 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5556 # MPFR v3.1.0 moved the sources into a src sub-directory.
5557 if ! test -d ${srcdir}/mpfr
/src
; then
5558 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5560 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5561 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5562 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5563 # Do not test the mpfr version. Assume that it is sufficient, since
5564 # it is in the source tree, and the library has not been built yet
5565 # but it would be included on the link line in the version check below
5566 # hence making the test fail.
5570 # Specify a location for gmp
5572 # Check whether --with-gmp-dir was given.
5573 if test "${with_gmp_dir+set}" = set; then :
5574 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
5575 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5580 # Check whether --with-gmp was given.
5581 if test "${with_gmp+set}" = set; then :
5586 # Check whether --with-gmp-include was given.
5587 if test "${with_gmp_include+set}" = set; then :
5588 withval
=$with_gmp_include;
5592 # Check whether --with-gmp-lib was given.
5593 if test "${with_gmp_lib+set}" = set; then :
5594 withval
=$with_gmp_lib;
5599 if test "x$with_gmp" != x
; then
5600 gmplibs
="-L$with_gmp/lib $gmplibs"
5601 gmpinc
="-I$with_gmp/include $gmpinc"
5603 if test "x$with_gmp_include" != x
; then
5604 gmpinc
="-I$with_gmp_include $gmpinc"
5606 if test "x$with_gmp_lib" != x
; then
5607 gmplibs
="-L$with_gmp_lib $gmplibs"
5609 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5610 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5611 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5612 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5613 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5614 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5615 # Do not test the gmp version. Assume that it is sufficient, since
5616 # it is in the source tree, and the library has not been built yet
5617 # but it would be included on the link line in the version check below
5618 # hence making the test fail.
5622 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5624 saved_CFLAGS
="$CFLAGS"
5625 CFLAGS
="$CFLAGS $gmpinc"
5626 # Check for the recommended and required versions of GMP.
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5628 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5637 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5638 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5639 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5647 if ac_fn_c_try_compile
"$LINENO"; then :
5648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5649 /* end confdefs.h. */
5655 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5656 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5657 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5665 if ac_fn_c_try_compile
"$LINENO"; then :
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5667 $as_echo "yes" >&6; }
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5670 $as_echo "buggy but acceptable" >&6; }
5672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5675 $as_echo "no" >&6; }; have_gmp
=no
5677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5679 # If we have GMP, check the MPFR version.
5680 if test x
"$have_gmp" = xyes
; then
5681 # Check for the recommended and required versions of MPFR.
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5683 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5685 /* end confdefs.h. */
5692 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5700 if ac_fn_c_try_compile
"$LINENO"; then :
5701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5709 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5717 if ac_fn_c_try_compile
"$LINENO"; then :
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5719 $as_echo "yes" >&6; }
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5722 $as_echo "buggy but acceptable" >&6; }
5724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5727 $as_echo "no" >&6; }; have_gmp
=no
5729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5732 # Check for the MPC header version.
5733 if test x
"$have_gmp" = xyes
; then
5734 # Check for the recommended and required versions of MPC.
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5736 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5738 /* end confdefs.h. */
5744 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5752 if ac_fn_c_try_compile
"$LINENO"; then :
5753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5754 /* end confdefs.h. */
5760 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5768 if ac_fn_c_try_compile
"$LINENO"; then :
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5770 $as_echo "yes" >&6; }
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5773 $as_echo "buggy but acceptable" >&6; }
5775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 $as_echo "no" >&6; }; have_gmp
=no
5780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5783 # Now check the MPFR library.
5784 if test x
"$have_gmp" = xyes
; then
5786 LIBS
="$LIBS $gmplibs"
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5788 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5790 /* end confdefs.h. */
5802 mpfr_atan2 (n, n, x, GMP_RNDN);
5803 mpfr_erfc (n, x, GMP_RNDN);
5804 mpfr_subnormalize (x, t, GMP_RNDN);
5808 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5809 mpc_cosh (c, c, MPC_RNDNN);
5810 mpc_pow (c, c, c, MPC_RNDNN);
5811 mpc_acosh (c, c, MPC_RNDNN);
5818 if ac_fn_c_try_link
"$LINENO"; then :
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5820 $as_echo "yes" >&6; }
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }; have_gmp
=no
5825 rm -f core conftest.err conftest.
$ac_objext \
5826 conftest
$ac_exeext conftest.
$ac_ext
5830 CFLAGS
="$saved_CFLAGS"
5832 # The library versions listed in the error message below should match
5833 # the HARD-minimums enforced above.
5834 if test x
$have_gmp != xyes
; then
5835 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5836 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5837 their locations. Source code for these libraries can be found at
5838 their respective hosting sites as well as at
5839 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5840 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5841 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5842 make sure that you have installed both the libraries and the header
5843 files. They may be located in separate packages." "$LINENO" 5
5847 # Flags needed for both GMP, MPFR and/or MPC.
5855 # Libraries to use for stage1 or when not bootstrapping.
5857 # Check whether --with-stage1-libs was given.
5858 if test "${with_stage1_libs+set}" = set; then :
5859 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5862 stage1_libs
=$withval
5870 # Linker flags to use for stage1 or when not bootstrapping.
5872 # Check whether --with-stage1-ldflags was given.
5873 if test "${with_stage1_ldflags+set}" = set; then :
5874 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5877 stage1_ldflags
=$withval
5881 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5882 # if supported. But if the user explicitly specified the libraries to use,
5883 # trust that they are doing what they want.
5884 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5885 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5891 # Libraries to use for stage2 and later builds.
5893 # Check whether --with-boot-libs was given.
5894 if test "${with_boot_libs+set}" = set; then :
5895 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5898 poststage1_libs
=$withval
5906 # Linker flags to use for stage2 and later builds.
5908 # Check whether --with-boot-ldflags was given.
5909 if test "${with_boot_ldflags+set}" = set; then :
5910 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5913 poststage1_ldflags
=$withval
5917 # In stages 2 and 3, default to linking libstdc++ and libgcc
5918 # statically. But if the user explicitly specified the libraries to
5919 # use, trust that they are doing what they want.
5920 if test "$poststage1_libs" = ""; then
5921 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5927 # GCC GRAPHITE dependency isl.
5928 # Basic setup is inlined here, actual checks are in config/isl.m4
5931 # Check whether --with-isl was given.
5932 if test "${with_isl+set}" = set; then :
5937 # Treat --without-isl as a request to disable
5938 # GRAPHITE support and skip all following checks.
5939 if test "x$with_isl" != "xno"; then
5943 # Check whether --with-isl-include was given.
5944 if test "${with_isl_include+set}" = set; then :
5945 withval
=$with_isl_include;
5949 # Check whether --with-isl-lib was given.
5950 if test "${with_isl_lib+set}" = set; then :
5951 withval
=$with_isl_lib;
5955 # Check whether --enable-isl-version-check was given.
5956 if test "${enable_isl_version_check+set}" = set; then :
5957 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5959 ENABLE_ISL_CHECK
=yes
5963 # Initialize isllibs and islinc.
5972 isllibs
="-L$with_isl/lib"
5973 islinc
="-I$with_isl/include"
5976 if test "x${with_isl_include}" != x
; then
5977 islinc
="-I$with_isl_include"
5979 if test "x${with_isl_lib}" != x
; then
5980 isllibs
="-L$with_isl_lib"
5982 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5983 && test -d ${srcdir}/isl
; then
5984 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5985 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
5988 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
5991 isllibs
="${isllibs} -lisl"
5995 if test "${ENABLE_ISL_CHECK}" = yes ; then
5996 _isl_saved_CFLAGS
=$CFLAGS
5997 _isl_saved_LDFLAGS
=$LDFLAGS
5998 _isl_saved_LIBS
=$LIBS
6000 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6001 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
6002 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
6005 $as_echo_n "checking for isl 0.15 or later... " >&6; }
6006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6007 /* end confdefs.h. */
6008 #include <isl/schedule.h>
6012 isl_options_set_schedule_serialize_sccs (NULL, 0);
6017 if ac_fn_c_try_link
"$LINENO"; then :
6022 rm -f core conftest.err conftest.
$ac_objext \
6023 conftest
$ac_exeext conftest.
$ac_ext
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6025 $as_echo "$gcc_cv_isl" >&6; }
6027 if test "${gcc_cv_isl}" = no
; then
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
6029 $as_echo "required isl version is 0.15 or later" >&6; }
6032 CFLAGS
=$_isl_saved_CFLAGS
6033 LDFLAGS
=$_isl_saved_LDFLAGS
6034 LIBS
=$_isl_saved_LIBS
6042 if test "x${with_isl}" = xno
; then
6043 graphite_requested
=no
6044 elif test "x${with_isl}" != x \
6045 ||
test "x${with_isl_include}" != x \
6046 ||
test "x${with_isl_lib}" != x
; then
6047 graphite_requested
=yes
6049 graphite_requested
=no
6054 if test "${gcc_cv_isl}" = no
; then
6059 if test "${graphite_requested}" = yes \
6060 && test "x${isllibs}" = x \
6061 && test "x${islinc}" = x
; then
6063 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6069 # If the isl check failed, disable builds of in-tree variant of isl
6070 if test "x$with_isl" = xno ||
6071 test "x$gcc_cv_isl" = xno
; then
6072 noconfigdirs
="$noconfigdirs isl"
6079 # Check for LTO support.
6080 # Check whether --enable-lto was given.
6081 if test "${enable_lto+set}" = set; then :
6082 enableval
=$enable_lto; enable_lto
=$enableval
6084 enable_lto
=yes; default_enable_lto
=yes
6093 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6094 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6095 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6104 if test $target_elf = yes; then :
6105 # ELF platforms build the lto-plugin always.
6106 build_lto_plugin
=yes
6109 if test x
"$default_enable_lto" = x
"yes" ; then
6111 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6112 # On other non-ELF platforms, LTO has yet to be validated.
6116 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6117 # It would also be nice to check the binutils support, but we don't
6118 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6119 # warn during gcc/ subconfigure; unless you're bootstrapping with
6120 # -flto it won't be needed until after installation anyway.
6122 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6123 *) if test x
"$enable_lto" = x
"yes"; then
6124 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
6129 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6130 # Build it unless LTO was explicitly disabled.
6132 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6139 # Check whether --enable-linker-plugin-configure-flags was given.
6140 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6141 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6143 extra_linker_plugin_configure_flags
=
6147 # Check whether --enable-linker-plugin-flags was given.
6148 if test "${enable_linker_plugin_flags+set}" = set; then :
6149 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6151 extra_linker_plugin_flags
=
6156 # Enable --enable-host-shared.
6157 # Checked early to determine whether jit is an 'all' language
6158 # Check whether --enable-host-shared was given.
6159 if test "${enable_host_shared+set}" = set; then :
6160 enableval
=$enable_host_shared; host_shared
=$enableval
6167 # By default, C and C++ are the only stage 1 languages.
6168 stage1_languages
=,c
,
6170 # Target libraries that we bootstrap.
6171 bootstrap_target_libs
=,target-libgcc
,
6173 # Figure out what language subdirectories are present.
6174 # Look if the user specified --enable-languages="..."; if not, use
6175 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6177 # NB: embedded tabs in this IF block -- do not untabify
6178 if test -d ${srcdir}/gcc
; then
6179 if test x
"${enable_languages+set}" != xset
; then
6180 if test x
"${LANGUAGES+set}" = xset
; then
6181 enable_languages
="${LANGUAGES}"
6182 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6184 enable_languages
=default
6187 if test x
"${enable_languages}" = x ||
6188 test x
"${enable_languages}" = xyes
;
6190 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6194 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6196 # 'f95' is the old name for the 'fortran' language. We issue a warning
6197 # and make the substitution.
6198 case ,${enable_languages}, in
6200 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6201 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6205 # If bootstrapping, C++ must be enabled.
6206 case ",$enable_languages,:$enable_bootstrap" in
6209 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6210 enable_languages
="${enable_languages},c++"
6212 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
6217 # First scan to see if an enabled language requires some other language.
6218 # We assume that a given config-lang.in will list all the language
6219 # front ends it requires, even if some are required indirectly.
6220 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6221 case ${lang_frag} in
6223 # The odd quoting in the next line works around
6224 # an apparent bug in bash 1.12 on linux.
6225 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6227 # From the config-lang.in, get $language, $lang_requires, and
6228 # $lang_requires_boot_languages.
6231 lang_requires_boot_languages
=
6232 # set srcdir during sourcing lang_frag to the gcc dir.
6233 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
6234 # polutes this shell
6235 saved_srcdir
=${srcdir}
6236 srcdir
=${srcdir}/gcc .
${lang_frag}
6237 srcdir
=${saved_srcdir}
6238 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6239 case ,${enable_languages}, in
6244 echo " \`$other' language required by \`$language'; enabling" 1>&2
6245 enable_languages
="${enable_languages},${other}"
6249 for other
in ${lang_requires_boot_languages} ; do
6250 if test "$other" != "c"; then
6251 case ,${enable_stage1_languages}, in
6256 case ,${enable_languages}, in
6258 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6259 enable_stage1_languages
="$enable_stage1_languages,${other}"
6270 new_enable_languages
=,c
,
6272 # If LTO is enabled, add the LTO front end.
6273 if test "$enable_lto" = "yes" ; then
6274 case ,${enable_languages}, in
6276 *) enable_languages
="${enable_languages},lto" ;;
6278 if test "${build_lto_plugin}" = "yes" ; then
6279 configdirs
="$configdirs lto-plugin"
6283 # If we're building an offloading compiler, add the LTO front end.
6284 if test x
"$enable_as_accelerator_for" != x
; then
6285 case ,${enable_languages}, in
6287 *) enable_languages
="${enable_languages},lto" ;;
6291 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
6292 potential_languages
=,c
,
6294 enabled_target_libs
=
6295 disabled_target_libs
=
6297 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6298 case ${lang_frag} in
6300 # The odd quoting in the next line works around
6301 # an apparent bug in bash 1.12 on linux.
6302 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6304 # From the config-lang.in, get $language, $target_libs,
6305 # $lang_dirs, $boot_language, and $build_by_default
6311 build_by_default
=yes
6312 # set srcdir during sourcing. See above about save & restore
6313 saved_srcdir
=${srcdir}
6314 srcdir
=${srcdir}/gcc .
${lang_frag}
6315 srcdir
=${saved_srcdir}
6316 if test x
${language} = x
; then
6317 echo "${lang_frag} doesn't set \$language." 1>&2
6321 if test "$language" = "c++"; then
6326 # C is always enabled, so no need to add it again
6327 if test "$language" != "c"; then
6328 case ,${enable_languages}, in
6330 # Language was explicitly selected; include it
6334 # All languages are enabled
6338 # 'default' was selected, select it if it is a default language
6339 add_this_lang
=${build_by_default}
6344 # Disable languages that need other directories if these aren't available.
6345 for i
in $subdir_requires; do
6346 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6347 case ${add_this_lang} in
6349 # Specifically requested language; tell them.
6350 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
6354 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
6355 add_this_lang
=unsupported
6359 add_this_lang
=unsupported
6364 # Disable Ada if no preexisting GNAT is available.
6365 case ${add_this_lang}:${language}:${have_gnat} in
6367 # Specifically requested language; tell them.
6368 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
6372 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
6373 add_this_lang
=unsupported
6377 add_this_lang
=unsupported
6381 # Disable jit if -enable-host-shared not specified
6382 case ${add_this_lang}:${language}:${host_shared} in
6384 # PR jit/64780: explicitly specify --enable-host-shared
6386 Enabling language \"jit\" requires --enable-host-shared.
6388 --enable-host-shared typically slows the rest of the compiler down by
6389 a few %, so you must explicitly enable it.
6391 If you want to build both the jit and the regular compiler, it is often
6392 best to do this via two separate configure/builds, in separate
6393 directories, to avoid imposing the performance cost of
6394 --enable-host-shared on the regular compiler." "$LINENO" 5
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
6398 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
6399 add_this_lang
=unsupported
6403 add_this_lang
=unsupported
6407 # Disable a language that is unsupported by the target.
6408 case "${add_this_lang}: $unsupported_languages " in
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
6413 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
6414 add_this_lang
=unsupported
6418 case $add_this_lang in
6420 # Remove language-dependent dirs.
6421 disabled_target_libs
="$disabled_target_libs $target_libs"
6422 noconfigdirs
="$noconfigdirs $lang_dirs"
6425 # Remove language-dependent dirs; still show language as supported.
6426 disabled_target_libs
="$disabled_target_libs $target_libs"
6427 noconfigdirs
="$noconfigdirs $lang_dirs"
6428 potential_languages
="${potential_languages}${language},"
6431 new_enable_languages
="${new_enable_languages}${language},"
6432 potential_languages
="${potential_languages}${language},"
6433 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6434 enabled_target_libs
="$enabled_target_libs $target_libs"
6435 case "${boot_language}:,$enable_stage1_languages," in
6436 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6437 # Add to (comma-separated) list of stage 1 languages.
6438 case ",$stage1_languages," in
6439 *,$language,* |
,yes, |
,all
,) ;;
6440 *) stage1_languages
="${stage1_languages}${language}," ;;
6442 # We need to bootstrap any supporting libraries.
6443 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6452 # Add target libraries which are only needed for disabled languages
6454 if test -n "$disabled_target_libs"; then
6455 for dir
in $disabled_target_libs; do
6456 case " $enabled_target_libs " in
6458 *) noconfigdirs
="$noconfigdirs $dir" ;;
6463 # Check whether --enable-stage1-languages was given.
6464 if test "${enable_stage1_languages+set}" = set; then :
6465 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6467 # Set it to something that will have no effect in the loop below
6468 enable_stage1_languages
=c
;;
6470 enable_stage1_languages
=`echo $new_enable_languages | \
6471 sed -e "s/^,//" -e "s/,$//" ` ;;
6473 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6474 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6477 # Add "good" languages from enable_stage1_languages to stage1_languages,
6478 # while "bad" languages go in missing_languages. Leave no duplicates.
6479 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6480 case $potential_languages in
6482 case $stage1_languages in
6484 *) stage1_languages
="$stage1_languages$i," ;;
6487 case $missing_languages in
6489 *) missing_languages
="$missing_languages$i," ;;
6496 # Remove leading/trailing commas that were added for simplicity
6497 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6498 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6499 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6500 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6502 if test "x$missing_languages" != x
; then
6504 The following requested languages could not be built: ${missing_languages}
6505 Supported languages are: ${potential_languages}" "$LINENO" 5
6507 if test "x$new_enable_languages" != "x$enable_languages"; then
6508 echo The following languages will be built
: ${new_enable_languages}
6509 enable_languages
="$new_enable_languages"
6513 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6516 # Handle --disable-<component> generically.
6517 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6518 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6519 varname
=`echo $dirname | sed -e s/+/_/g`
6520 if eval test x\
${enable_${varname}} "=" xno
; then
6521 noconfigdirs
="$noconfigdirs $dir"
6525 # Check for Boehm's garbage collector
6526 # Check whether --enable-objc-gc was given.
6527 if test "${enable_objc_gc+set}" = set; then :
6528 enableval
=$enable_objc_gc;
6532 # Check whether --with-target-bdw-gc was given.
6533 if test "${with_target_bdw_gc+set}" = set; then :
6534 withval
=$with_target_bdw_gc;
6538 # Check whether --with-target-bdw-gc-include was given.
6539 if test "${with_target_bdw_gc_include+set}" = set; then :
6540 withval
=$with_target_bdw_gc_include;
6544 # Check whether --with-target-bdw-gc-lib was given.
6545 if test "${with_target_bdw_gc_lib+set}" = set; then :
6546 withval
=$with_target_bdw_gc_lib;
6550 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6552 $as_echo_n "checking for bdw garbage collector... " >&6; }
6553 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6555 $as_echo "using bdw-gc in default locations" >&6; }
6557 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6558 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6559 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6560 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6563 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6568 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6569 case ,${enable_languages}, in
6571 # Disable libitm, libsanitizer if we're not building libstdc++
6572 case "${noconfigdirs}" in
6573 *target-libstdc
++-v3*)
6574 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
6580 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6584 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6585 # $build_configdirs and $target_configdirs.
6586 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6589 for dir
in .
$skipdirs $noconfigdirs ; do
6590 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6591 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6592 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6593 if test -r $srcdir/$dirname/configure
; then
6594 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6597 notsupp
="$notsupp $dir"
6601 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6602 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6603 if test -r $srcdir/$dirname/configure
; then
6604 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6607 notsupp
="$notsupp $dir"
6611 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6612 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6613 if test -r $srcdir/$dirname/configure
; then
6614 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6617 notsupp
="$notsupp $dir"
6623 # Quietly strip out all directories which aren't configurable in this tree.
6624 # This relies on all configurable subdirectories being autoconfiscated, which
6626 build_configdirs_all
="$build_configdirs"
6628 for i
in ${build_configdirs_all} ; do
6629 j
=`echo $i | sed -e s/build-//g`
6630 if test -f ${srcdir}/$j/configure
; then
6631 build_configdirs
="${build_configdirs} $i"
6635 configdirs_all
="$configdirs"
6637 for i
in ${configdirs_all} ; do
6638 if test -f ${srcdir}/$i/configure
; then
6639 configdirs
="${configdirs} $i"
6643 target_configdirs_all
="$target_configdirs"
6645 for i
in ${target_configdirs_all} ; do
6646 j
=`echo $i | sed -e s/target-//g`
6647 if test -f ${srcdir}/$j/configure
; then
6648 target_configdirs
="${target_configdirs} $i"
6652 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6653 # so we have to add it after the preceding checks.
6654 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6656 case " $configdirs " in
6658 # If we can build libiberty, we can also build libiberty-linker-plugin.
6659 configdirs
="$configdirs libiberty-linker-plugin"
6660 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6661 --with-libiberty=../libiberty-linker-plugin";;
6663 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
6667 # Sometimes we have special requirements for the host libiberty.
6668 extra_host_libiberty_configure_flags
=
6669 extra_host_zlib_configure_flags
=
6670 case " $configdirs " in
6671 *" lto-plugin "* |
*" libcc1 "*)
6672 # When these are to be built as shared libraries, the same applies to
6674 extra_host_libiberty_configure_flags
=--enable-shared
6677 # When bfd is to be built as a shared library, the same applies to
6679 if test "$enable_shared" = "yes"; then
6680 extra_host_zlib_configure_flags
=--enable-host-shared
6687 # Produce a warning message for the subdirs we can't configure.
6688 # This isn't especially interesting in the Cygnus tree, but in the individual
6689 # FSF releases, it's important to let people know when their machine isn't
6690 # supported by the one or two programs in a package.
6692 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6693 # If $appdirs is non-empty, at least one of those directories must still
6694 # be configured, or we error out. (E.g., if the gas release supports a
6695 # specified target in some subdirs but not the gas subdir, we shouldn't
6696 # pretend that all is well.)
6697 if test -n "$appdirs" ; then
6698 for dir
in $appdirs ; do
6699 if test -r $dir/Makefile.
in ; then
6700 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6704 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6710 if test -n "$appdirs" ; then
6711 echo "*** This configuration is not supported by this package." 1>&2
6715 # Okay, some application will build, or we don't care to check. Still
6716 # notify of subdirs not getting built.
6717 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6718 echo " ${notsupp}" 1>&2
6719 echo " (Any other directories should still work fine.)" 1>&2
6727 # To find our prefix, in gcc_cv_tool_prefix.
6729 # The user is always right.
6730 if test "${PATH_SEPARATOR+set}" != set; then
6731 echo "#! /bin/sh" >conf$$.sh
6732 echo "exit 0" >>conf$$.sh
6734 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6743 get_gcc_base_ver
="cat"
6745 # Check whether --with-gcc-major-version-only was given.
6746 if test "${with_gcc_major_version_only+set}" = set; then :
6747 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
6748 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
6758 if test "x$exec_prefix" = xNONE
; then
6759 if test "x$prefix" = xNONE
; then
6760 gcc_cv_tool_prefix
=$ac_default_prefix
6762 gcc_cv_tool_prefix
=$prefix
6765 gcc_cv_tool_prefix
=$exec_prefix
6768 # If there is no compiler in the tree, use the PATH only. In any
6769 # case, if there is no compiler in the tree nobody should use
6770 # AS_FOR_TARGET and LD_FOR_TARGET.
6771 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6772 if test x
$with_gcc_major_version_only = xyes
; then
6773 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
6775 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6777 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6778 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6779 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6780 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6781 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6782 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6787 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6788 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6796 # Check whether --with-build-sysroot was given.
6797 if test "${with_build_sysroot+set}" = set; then :
6798 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6799 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6802 SYSROOT_CFLAGS_FOR_TARGET
=
6808 # Check whether --with-debug-prefix-map was given.
6809 if test "${with_debug_prefix_map+set}" = set; then :
6810 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6811 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6812 for debug_map
in $withval; do
6813 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6817 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6822 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6823 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6824 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6825 # We want to ensure that TARGET libraries (which we know are built with
6826 # gcc) are built with "-O2 -g", so include those options when setting
6827 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6828 if test "x$CFLAGS_FOR_TARGET" = x
; then
6829 if test "x${is_cross_compiler}" = xyes
; then
6830 CFLAGS_FOR_TARGET
="-g -O2"
6832 CFLAGS_FOR_TARGET
=$CFLAGS
6835 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6838 *" -g "* |
*" -g3 "*) ;;
6839 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6845 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6846 if test "x${is_cross_compiler}" = xyes
; then
6847 CXXFLAGS_FOR_TARGET
="-g -O2"
6849 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6850 case " $CXXFLAGS " in
6852 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6854 case " $CXXFLAGS " in
6855 *" -g "* |
*" -g3 "*) ;;
6856 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6864 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6865 # the named directory are copied to $(tooldir)/sys-include.
6866 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6867 if test x
${is_cross_compiler} = xno
; then
6868 echo 1>&2 '***' --with-headers is only supported when cross compiling
6871 if test x
"${with_headers}" != xyes
; then
6872 x
=${gcc_cv_tool_prefix}
6873 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6877 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6878 # the name directories are copied to $(tooldir)/lib. Multiple directories
6880 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6881 if test x
${is_cross_compiler} = xno
; then
6882 echo 1>&2 '***' --with-libs is only supported when cross compiling
6885 if test x
"${with_libs}" != xyes
; then
6886 # Copy the libraries in reverse order, so that files in the first named
6887 # library override files in subsequent libraries.
6888 x
=${gcc_cv_tool_prefix}
6889 for l
in ${with_libs}; do
6890 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6895 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6897 # This is done by determining whether or not the appropriate directory
6898 # is available, and by checking whether or not specific configurations
6899 # have requested that this magic not happen.
6901 # The command line options always override the explicit settings in
6902 # configure.ac, and the settings in configure.ac override this magic.
6904 # If the default for a toolchain is to use GNU as and ld, and you don't
6905 # want to do that, then you should use the --without-gnu-as and
6906 # --without-gnu-ld options for the configure script. Similarly, if
6907 # the default is to use the included zlib and you don't want to do that,
6908 # you should use the --with-system-zlib option for the configure script.
6910 if test x
${use_gnu_as} = x
&&
6911 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6913 extra_host_args
="$extra_host_args --with-gnu-as"
6916 if test x
${use_gnu_ld} = x
&&
6917 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6919 extra_host_args
="$extra_host_args --with-gnu-ld"
6922 if test x
${use_included_zlib} = x
&&
6923 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6926 with_system_zlib
=yes
6927 extra_host_args
="$extra_host_args --with-system-zlib"
6930 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6931 # can detect this case.
6933 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6935 extra_host_args
="$extra_host_args --with-newlib"
6938 # Handle ${copy_dirs}
6939 set fnord
${copy_dirs}
6941 while test $# != 0 ; do
6942 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6945 echo Copying
$1 to
$2
6947 # Use the install script to create the directory and all required
6948 # parent directories.
6949 if test -d $2 ; then
6953 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6956 # Copy the directory, assuming we have tar.
6957 # FIXME: Should we use B in the second tar? Not all systems support it.
6958 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6960 # It is the responsibility of the user to correctly adjust all
6961 # symlinks. If somebody can figure out how to handle them correctly
6962 # here, feel free to add the code.
6969 # Determine a target-dependent exec_prefix that the installed
6970 # gcc will search in. Keep this list sorted by triplet, with
6971 # the *-*-osname triplets last.
6974 i
[34567]86-pc-msdosdjgpp*)
6975 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6980 md_exec_prefix
=/usr
/ccs
/bin
6984 extra_arflags_for_target
=
6985 extra_nmflags_for_target
=
6986 extra_ranlibflags_for_target
=
6987 target_makefile_frag
=/dev
/null
6990 target_makefile_frag
="config/mt-spu"
6992 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6993 target_makefile_frag
="config/mt-sde"
6995 mipsisa
*-*-elfoabi*)
6996 target_makefile_frag
="config/mt-mips-elfoabi"
6998 mips
*-*-*linux
* | mips
*-*-gnu*)
6999 target_makefile_frag
="config/mt-mips-gnu"
7002 target_makefile_frag
="config/mt-nios2-elf"
7005 target_makefile_frag
="config/mt-android"
7007 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7008 target_makefile_frag
="config/mt-gnu"
7010 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7011 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7012 # commands to handle both 32-bit and 64-bit objects. These flags are
7013 # harmless if we're using GNU nm or ar.
7014 extra_arflags_for_target
=" -X32_64"
7015 extra_nmflags_for_target
=" -B -X32_64"
7019 alphaieee_frag
=/dev
/null
7022 # This just makes sure to use the -mieee option to build target libs.
7023 # This should probably be set individually by each library.
7024 alphaieee_frag
="config/mt-alphaieee"
7028 # If --enable-target-optspace always use -Os instead of -O2 to build
7029 # the target libraries, similarly if it is not specified, use -Os
7030 # on selected platforms.
7031 ospace_frag
=/dev
/null
7032 case "${enable_target_optspace}:${target}" in
7034 ospace_frag
="config/mt-ospace"
7037 ospace_frag
="config/mt-d30v"
7039 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
7040 ospace_frag
="config/mt-ospace"
7045 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7049 # Some systems (e.g., one of the i386-aix systems the gas testers are
7050 # using) don't handle "\$" correctly, so don't use it here.
7051 tooldir
='${exec_prefix}'/${target_noncanonical}
7052 build_tooldir
=${tooldir}
7054 # Create a .gdbinit file which runs the one in srcdir
7055 # and tells GDB to look there for source files.
7057 if test -r ${srcdir}/.gdbinit
; then
7060 *) cat > .
/.gdbinit
<<EOF
7064 source ${srcdir}/.gdbinit
7070 # Make sure that the compiler is able to generate an executable. If it
7071 # can't, we are probably in trouble. We don't care whether we can run the
7072 # executable--we might be using a cross compiler--we only care whether it
7073 # can be created. At this point the main configure script has set CC.
7075 echo "int main () { return 0; }" > conftest.c
7076 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7077 if test $?
= 0 ; then
7078 if test -s conftest ||
test -s conftest.exe
; then
7084 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7085 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7092 # Decide which environment variable is used to find dynamic libraries.
7094 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7095 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7096 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7097 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7100 # On systems where the dynamic library environment variable is PATH,
7101 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7102 # built executables to PATH.
7103 if test "$RPATH_ENVVAR" = PATH
; then
7104 GCC_SHLIB_SUBDIR
=/shlib
7109 # Adjust the toplevel makefile according to whether bootstrap was selected.
7110 case $enable_bootstrap in
7112 bootstrap_suffix
=bootstrap
7113 BUILD_CONFIG
=bootstrap-debug
7116 bootstrap_suffix
=no-bootstrap
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7122 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7125 # Check whether --with-build-config was given.
7126 if test "${with_build_config+set}" = set; then :
7127 withval
=$with_build_config; case $with_build_config in
7128 yes) with_build_config
= ;;
7129 no
) with_build_config
= BUILD_CONFIG
= ;;
7134 if test "x${with_build_config}" != x
; then
7135 BUILD_CONFIG
=$with_build_config
7137 case $BUILD_CONFIG in
7139 if echo "int f (void) { return 0; }" > conftest.c
&&
7140 ${CC} -c conftest.c
&&
7141 mv conftest.o conftest.o.g0
&&
7142 ${CC} -c -g conftest.c
&&
7143 mv conftest.o conftest.o.g
&&
7144 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7149 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7154 $as_echo "$BUILD_CONFIG" >&6; }
7157 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7159 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7160 # Check whether --enable-vtable-verify was given.
7161 if test "${enable_vtable_verify+set}" = set; then :
7162 enableval
=$enable_vtable_verify; case "$enableval" in
7163 yes) enable_vtable_verify
=yes ;;
7164 no
) enable_vtable_verify
=no
;;
7165 *) enable_vtable_verify
=no
;;
7168 enable_vtable_verify
=no
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7172 $as_echo "$enable_vtable_verify" >&6; }
7174 # Record target_configdirs and the configure arguments for target and
7175 # build configuration in Makefile.
7176 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7177 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7178 bootstrap_fixincludes
=no
7180 # If we are building libgomp, bootstrap it.
7181 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7182 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7185 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7186 # or bootstrap-ubsan, bootstrap it.
7187 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7188 case "$BUILD_CONFIG" in
7189 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7190 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7191 bootstrap_fixincludes
=yes
7196 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7197 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7198 test "$enable_vtable_verify" != no
; then
7199 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7202 # Determine whether gdb needs tk/tcl or not.
7203 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7204 # and in that case we want gdb to be built without tk. Ugh!
7205 # In fact I believe gdb is the *only* package directly dependent on tk,
7206 # so we should be able to put the 'maybe's in unconditionally and
7207 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7208 # 100% sure that that's safe though.
7210 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7211 case "$enable_gdbtk" in
7215 GDB_TK
="${gdb_tk}" ;;
7217 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7218 # distro. Eventually someone will fix this and move Insight, nee
7219 # gdbtk to a separate directory.
7220 if test -d ${srcdir}/gdb
/gdbtk
; then
7227 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7228 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7230 # Strip out unwanted targets.
7232 # While at that, we remove Makefiles if we were started for recursive
7233 # configuration, so that the top-level Makefile reconfigures them,
7234 # like we used to do when configure itself was recursive.
7236 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7237 # but now we're fixing up the Makefile ourselves with the additional
7238 # commands passed to AC_CONFIG_FILES. Use separate variables
7239 # extrasub-{build,host,target} not because there is any reason to split
7240 # the substitutions up that way, but only to remain below the limit of
7241 # 99 commands in a script, for HP-UX sed.
7243 # Do not nest @if/@endif or @unless/@endunless pairs, because
7244 # configure will not warn you at all.
7246 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7247 yes:yes:*\ gold\
*:*,c
++,*) ;;
7248 yes:yes:*\ gold\
*:*)
7249 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7254 for module
in ${build_configdirs} ; do
7255 if test -z "${no_recursion}" \
7256 && test -f ${build_subdir}/${module}/Makefile
; then
7257 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7258 rm -f ${build_subdir}/${module}/Makefile
7260 extrasub_build
="$extrasub_build
7261 /^@if build-$module\$/d
7262 /^@endif build-$module\$/d
7263 /^@unless build-$module\$/,/^@endunless build-$module\$/d
7264 /^@if build-$module-$bootstrap_suffix\$/d
7265 /^@endif build-$module-$bootstrap_suffix\$/d
7266 /^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
7269 for module
in ${configdirs} ; do
7270 if test -z "${no_recursion}"; then
7271 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7272 if test -f ${file}; then
7273 echo 1>&2 "*** removing ${file} to force reconfigure"
7278 case ${module},${bootstrap_fixincludes} in
7279 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7280 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7282 extrasub_host
="$extrasub_host
7284 /^@endif $module\$/d
7285 /^@unless $module\$/,/^@endunless $module\$/d
7286 /^@if $module-$host_bootstrap_suffix\$/d
7287 /^@endif $module-$host_bootstrap_suffix\$/d
7288 /^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
7291 for module
in ${target_configdirs} ; do
7292 if test -z "${no_recursion}" \
7293 && test -f ${target_subdir}/${module}/Makefile
; then
7294 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7295 rm -f ${target_subdir}/${module}/Makefile
7298 # We only bootstrap target libraries listed in bootstrap_target_libs.
7299 case $bootstrap_target_libs in
7300 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7301 *) target_bootstrap_suffix
=no-bootstrap
;;
7304 extrasub_target
="$extrasub_target
7305 /^@if target-$module\$/d
7306 /^@endif target-$module\$/d
7307 /^@unless target-$module\$/,/^@endunless target-$module\$/d
7308 /^@if target-$module-$target_bootstrap_suffix\$/d
7309 /^@endif target-$module-$target_bootstrap_suffix\$/d
7310 /^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
7313 # Do the final fixup along with target modules.
7314 extrasub_target
="$extrasub_target
7319 # Create the serialization dependencies. This uses a temporary file.
7321 # Check whether --enable-serial-configure was given.
7322 if test "${enable_serial_configure+set}" = set; then :
7323 enableval
=$enable_serial_configure;
7327 case ${enable_serial_configure} in
7329 enable_serial_build_configure
=yes
7330 enable_serial_host_configure
=yes
7331 enable_serial_target_configure
=yes
7335 # These force 'configure's to be done one at a time, to avoid problems
7336 # with contention over a shared config.cache.
7338 echo '# serdep.tmp' > serdep.tmp
7340 test "x${enable_serial_build_configure}" = xyes
&&
7341 for item
in ${build_configdirs} ; do
7344 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7349 test "x${enable_serial_host_configure}" = xyes
&&
7350 for item
in ${configdirs} ; do
7353 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7358 test "x${enable_serial_target_configure}" = xyes
&&
7359 for item
in ${target_configdirs} ; do
7362 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7366 serialization_dependencies
=serdep.tmp
7369 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7370 # target, nonopt, and variable assignments. These are the ones we
7371 # might not want to pass down to subconfigures. The exception being
7372 # --cache-file=/dev/null, which is used to turn off the use of cache
7373 # files altogether, and which should be passed on to subconfigures.
7374 # Also strip program-prefix, program-suffix, and program-transform-name,
7375 # so that we can pass down a consistent program-transform-name.
7380 eval "set -- $ac_configure_args"
7383 if test X
"$skip_next" = X
"yes"; then
7387 if test X
"$keep_next" = X
"yes"; then
7390 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7392 baseargs
="$baseargs '$ac_arg'"
7393 tbaseargs
="$tbaseargs '$ac_arg'"
7398 # Handle separated arguments. Based on the logic generated by
7401 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7402 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7403 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7404 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7418 --with-* |
--without-*)
7419 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7423 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7426 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7435 mpc | mpfr | gmp | isl
)
7436 # If we're processing --with-$lib, --with-$lib-include or
7437 # --with-$lib-lib, for one of the libs above, and target is
7438 # different from host, don't pass the current argument to any
7439 # target library's configure.
7440 if test x
$is_cross_compiler = xyes
; then
7449 --cache-file=/dev
/null | \
7450 -cache-file=/dev
/null
)
7451 # Handled here to avoid the test to skip args below.
7452 baseargs
="$baseargs '$ac_arg'"
7453 tbaseargs
="$tbaseargs '$ac_arg'"
7454 # Assert: $separate_arg should always be no.
7455 keep_next
=$separate_arg
7471 -program-prefix* | \
7472 -program-suffix* | \
7473 -program-transform-name* )
7474 skip_next
=$separate_arg
7478 # An option. Add it.
7481 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7483 baseargs
="$baseargs '$ac_arg'"
7484 if test X
"$skip_targ" = Xno
; then
7485 tbaseargs
="$tbaseargs '$ac_arg'"
7487 keep_next
=$separate_arg
7490 # Either a variable assignment, or a nonopt (triplet). Don't
7491 # pass it down; let the Makefile handle this.
7496 # Remove the initial space we just introduced and, as these will be
7497 # expanded by make, quote '$'.
7498 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7500 # Add in --program-transform-name, after --program-prefix and
7501 # --program-suffix have been applied to it. Autoconf has already
7502 # doubled dollar signs and backslashes in program_transform_name; we want
7503 # the backslashes un-doubled, and then the entire thing wrapped in single
7504 # quotes, because this will be expanded first by make and then by the shell.
7505 # Also, because we want to override the logic in subdir configure scripts to
7506 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7507 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7508 ${program_transform_name}
7510 gcc_transform_name
=`cat conftestsed.out`
7511 rm -f conftestsed.out
7512 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7513 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7514 if test "$silent" = yes; then
7515 baseargs
="$baseargs --silent"
7516 tbaseargs
="$tbaseargs --silent"
7518 baseargs
="$baseargs --disable-option-checking"
7519 tbaseargs
="$tbaseargs --disable-option-checking"
7521 # Record and document user additions to sub configure arguments.
7526 # For the build-side libraries, we just need to pretend we're native,
7527 # and not use the same cache file. Multilibs are neither needed nor
7528 # desired. We can't even use the same cache file for all build-side
7529 # libraries, as they're compiled differently; some with C, some with
7530 # C++ or with different feature-enabling options.
7531 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7533 # For host modules, accept cache file option, or specification as blank.
7534 case "${cache_file}" in
7536 cache_file_option
="" ;;
7537 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7538 cache_file_option
="--cache-file=${cache_file}" ;;
7540 cache_file_option
="--cache-file=../${cache_file}" ;;
7543 # Host dirs don't like to share a cache file either, horribly enough.
7544 # This seems to be due to autoconf 2.5x stupidity.
7545 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7547 target_configargs
="$target_configargs ${tbaseargs}"
7549 # Passing a --with-cross-host argument lets the target libraries know
7550 # whether they are being built with a cross-compiler or being built
7551 # native. However, it would be better to use other mechanisms to make the
7552 # sorts of decisions they want to make on this basis. Please consider
7553 # this option to be deprecated. FIXME.
7554 if test x
${is_cross_compiler} = xyes
; then
7555 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7558 # Special user-friendly check for native x86_64-linux build, if
7559 # multilib is not explicitly enabled.
7560 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7561 x86_64-
*linux
*:yes:$build:$build:)
7562 # Make sure we have a development environment that handles 32-bit
7564 echo "int main () { return 0; }" > conftest.c
7565 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7566 if test $?
= 0 ; then
7567 if test -s conftest ||
test -s conftest.exe
; then
7572 if test x
${dev64} != xyes
; then
7573 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
7578 # Default to --enable-multilib.
7579 if test x
${enable_multilib} = x
; then
7580 target_configargs
="--enable-multilib ${target_configargs}"
7583 # Pass --with-newlib if appropriate. Note that target_configdirs has
7584 # changed from the earlier setting of with_newlib.
7585 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7586 target_configargs
="--with-newlib ${target_configargs}"
7589 # Different target subdirs use different values of certain variables
7590 # (notably CXX). Worse, multilibs use *lots* of different values.
7591 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7592 # it doesn't automatically accept command-line overrides of them.
7593 # This means it's not safe for target subdirs to share a cache file,
7594 # which is disgusting, but there you have it. Hopefully this can be
7595 # fixed in future. It's still worthwhile to use a cache file for each
7596 # directory. I think.
7598 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7599 # We need to pass --target, as newer autoconf's requires consistency
7600 # for target_alias and gcc doesn't manage it consistently.
7601 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7604 case " $target_configdirs " in
7606 case " $target_configargs " in
7607 *" --with-newlib "*)
7610 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7614 # If we're not building GCC, don't discard standard headers.
7615 if test -d ${srcdir}/gcc
; then
7616 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7618 if test "${build}" != "${host}"; then
7619 # On Canadian crosses, CC_FOR_TARGET will have already been set
7620 # by `configure', so we won't have an opportunity to add -Bgcc/
7621 # to it. This is right: we don't want to search that directory
7622 # for binaries, but we want the header files in there, so add
7624 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7626 # Someone might think of using the pre-installed headers on
7627 # Canadian crosses, in case the installed compiler is not fully
7628 # compatible with the compiler being built. In this case, it
7629 # would be better to flag an error than risking having
7630 # incompatible object files being constructed. We can't
7631 # guarantee that an error will be flagged, but let's hope the
7632 # compiler will do it, when presented with incompatible header
7637 case "${target}-${is_cross_compiler}" in
7638 i
[3456789]86-*-linux*-no)
7639 # Here host == target, so we don't need to build gcc,
7640 # so we don't want to discard standard headers.
7641 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7644 # If we're building newlib, use its generic headers last, but search
7645 # for any libc-related directories first (so make it the last -B
7647 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7649 # If we're building libgloss, find the startup file, simulator library
7650 # and linker script.
7651 case " $target_configdirs " in
7653 # Look for startup file, simulator library and maybe linker script.
7654 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7655 # Look for libnosys.a in case the target needs it.
7656 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7657 # Most targets have the linker script in the source directory.
7658 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7669 x86_64-
*mingw
* |
*-w64-mingw*)
7670 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7671 # however, use a symlink named 'mingw' in ${prefix} .
7672 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7675 # MinGW can't be handled as Cygwin above since it does not use newlib.
7676 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'
7680 # Allow the user to override the flags for
7681 # our build compiler if desired.
7682 if test x
"${build}" = x
"${host}" ; then
7683 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7684 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7685 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7688 # On Canadian crosses, we'll be searching the right directories for
7689 # the previously-installed cross compiler, so don't bother to add
7690 # flags for directories within the install tree of the compiler
7691 # being built; programs in there won't even run.
7692 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7693 # Search for pre-installed headers if nothing else fits.
7694 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7697 if test "x
${use_gnu_ld}" = x &&
7698 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7699 # Arrange for us to find uninstalled linker scripts.
7700 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7703 # Search for other target-specific linker scripts and such.
7706 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7710 # Makefile fragments.
7711 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7713 eval fragval=\$$frag
7714 if test $fragval != /dev/null; then
7715 eval $frag=${srcdir}/$fragval
7723 # Miscellanea: directories, flags, etc.
7732 # Build module lists & subconfigure args.
7736 # Host module lists & subconfigure args.
7741 # Target module lists & subconfigure args.
7763 # Generate default definitions for YACC, M4, LEX and other programs that run
7764 # on the build machine. These are used if the Makefile can't locate these
7765 # programs in objdir.
7766 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7768 for ac_prog in 'bison -y' byacc yacc
7770 # Extract the first word of "$ac_prog", so it can be a program name with args.
7771 set dummy $ac_prog; ac_word=$2
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7773 $as_echo_n "checking
for $ac_word...
" >&6; }
7774 if ${ac_cv_prog_YACC+:} false; then :
7775 $as_echo_n "(cached
) " >&6
7777 if test -n "$YACC"; then
7778 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7784 test -z "$as_dir" && as_dir=.
7785 for ac_exec_ext in '' $ac_executable_extensions; do
7786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7787 ac_cv_prog_YACC="$ac_prog"
7788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7797 YACC=$ac_cv_prog_YACC
7798 if test -n "$YACC"; then
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7800 $as_echo "$YACC" >&6; }
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7803 $as_echo "no
" >&6; }
7807 test -n "$YACC" && break
7809 test -n "$YACC" || YACC="$MISSING bison
-y"
7811 case " $build_configdirs " in
7812 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7815 for ac_prog in bison
7817 # Extract the first word of "$ac_prog", so it can be a program name with args.
7818 set dummy $ac_prog; ac_word=$2
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7820 $as_echo_n "checking
for $ac_word...
" >&6; }
7821 if ${ac_cv_prog_BISON+:} false; then :
7822 $as_echo_n "(cached
) " >&6
7824 if test -n "$BISON"; then
7825 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7831 test -z "$as_dir" && as_dir=.
7832 for ac_exec_ext in '' $ac_executable_extensions; do
7833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7834 ac_cv_prog_BISON="$ac_prog"
7835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7844 BISON=$ac_cv_prog_BISON
7845 if test -n "$BISON"; then
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7847 $as_echo "$BISON" >&6; }
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7850 $as_echo "no
" >&6; }
7854 test -n "$BISON" && break
7856 test -n "$BISON" || BISON="$MISSING bison
"
7858 case " $build_configdirs " in
7859 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7862 for ac_prog in gm4 gnum4 m4
7864 # Extract the first word of "$ac_prog", so it can be a program name with args.
7865 set dummy $ac_prog; ac_word=$2
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7867 $as_echo_n "checking
for $ac_word...
" >&6; }
7868 if ${ac_cv_prog_M4+:} false; then :
7869 $as_echo_n "(cached
) " >&6
7871 if test -n "$M4"; then
7872 ac_cv_prog_M4="$M4" # Let the user override the test.
7874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7878 test -z "$as_dir" && as_dir=.
7879 for ac_exec_ext in '' $ac_executable_extensions; do
7880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7881 ac_cv_prog_M4="$ac_prog"
7882 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7892 if test -n "$M4"; then
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7894 $as_echo "$M4" >&6; }
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7897 $as_echo "no
" >&6; }
7901 test -n "$M4" && break
7903 test -n "$M4" || M4="$MISSING m4"
7905 case " $build_configdirs " in
7906 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7909 for ac_prog in flex lex
7911 # Extract the first word of "$ac_prog", so it can be a program name with args.
7912 set dummy $ac_prog; ac_word=$2
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7914 $as_echo_n "checking
for $ac_word...
" >&6; }
7915 if ${ac_cv_prog_LEX+:} false; then :
7916 $as_echo_n "(cached
) " >&6
7918 if test -n "$LEX"; then
7919 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7925 test -z "$as_dir" && as_dir=.
7926 for ac_exec_ext in '' $ac_executable_extensions; do
7927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7928 ac_cv_prog_LEX="$ac_prog"
7929 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7939 if test -n "$LEX"; then
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7941 $as_echo "$LEX" >&6; }
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7944 $as_echo "no
" >&6; }
7948 test -n "$LEX" && break
7950 test -n "$LEX" || LEX="$MISSING flex
"
7952 case " $build_configdirs " in
7953 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7954 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7959 # Extract the first word of "$ac_prog", so it can be a program name with args.
7960 set dummy $ac_prog; ac_word=$2
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7962 $as_echo_n "checking
for $ac_word...
" >&6; }
7963 if ${ac_cv_prog_FLEX+:} false; then :
7964 $as_echo_n "(cached
) " >&6
7966 if test -n "$FLEX"; then
7967 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7973 test -z "$as_dir" && as_dir=.
7974 for ac_exec_ext in '' $ac_executable_extensions; do
7975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7976 ac_cv_prog_FLEX="$ac_prog"
7977 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7986 FLEX=$ac_cv_prog_FLEX
7987 if test -n "$FLEX"; then
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7989 $as_echo "$FLEX" >&6; }
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7992 $as_echo "no
" >&6; }
7996 test -n "$FLEX" && break
7998 test -n "$FLEX" || FLEX="$MISSING flex
"
8000 case " $build_configdirs " in
8001 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8004 for ac_prog in makeinfo
8006 # Extract the first word of "$ac_prog", so it can be a program name with args.
8007 set dummy $ac_prog; ac_word=$2
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8009 $as_echo_n "checking
for $ac_word...
" >&6; }
8010 if ${ac_cv_prog_MAKEINFO+:} false; then :
8011 $as_echo_n "(cached
) " >&6
8013 if test -n "$MAKEINFO"; then
8014 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8020 test -z "$as_dir" && as_dir=.
8021 for ac_exec_ext in '' $ac_executable_extensions; do
8022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8023 ac_cv_prog_MAKEINFO="$ac_prog"
8024 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8033 MAKEINFO=$ac_cv_prog_MAKEINFO
8034 if test -n "$MAKEINFO"; then
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8036 $as_echo "$MAKEINFO" >&6; }
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8039 $as_echo "no
" >&6; }
8043 test -n "$MAKEINFO" && break
8045 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8047 case " $build_configdirs " in
8048 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8051 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8052 # higher, else we use the "missing
" dummy.
8053 if ${MAKEINFO} --version \
8054 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8057 MAKEINFO="$MISSING makeinfo
"
8063 # FIXME: expect and dejagnu may become build tools?
8065 for ac_prog in expect
8067 # Extract the first word of "$ac_prog", so it can be a program name with args.
8068 set dummy $ac_prog; ac_word=$2
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8070 $as_echo_n "checking
for $ac_word...
" >&6; }
8071 if ${ac_cv_prog_EXPECT+:} false; then :
8072 $as_echo_n "(cached
) " >&6
8074 if test -n "$EXPECT"; then
8075 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8081 test -z "$as_dir" && as_dir=.
8082 for ac_exec_ext in '' $ac_executable_extensions; do
8083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8084 ac_cv_prog_EXPECT="$ac_prog"
8085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8094 EXPECT=$ac_cv_prog_EXPECT
8095 if test -n "$EXPECT"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8097 $as_echo "$EXPECT" >&6; }
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8100 $as_echo "no
" >&6; }
8104 test -n "$EXPECT" && break
8106 test -n "$EXPECT" || EXPECT="expect
"
8108 case " $configdirs " in
8110 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8114 for ac_prog in runtest
8116 # Extract the first word of "$ac_prog", so it can be a program name with args.
8117 set dummy $ac_prog; ac_word=$2
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8119 $as_echo_n "checking
for $ac_word...
" >&6; }
8120 if ${ac_cv_prog_RUNTEST+:} false; then :
8121 $as_echo_n "(cached
) " >&6
8123 if test -n "$RUNTEST"; then
8124 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8130 test -z "$as_dir" && as_dir=.
8131 for ac_exec_ext in '' $ac_executable_extensions; do
8132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8133 ac_cv_prog_RUNTEST="$ac_prog"
8134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8143 RUNTEST=$ac_cv_prog_RUNTEST
8144 if test -n "$RUNTEST"; then
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8146 $as_echo "$RUNTEST" >&6; }
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8149 $as_echo "no
" >&6; }
8153 test -n "$RUNTEST" && break
8155 test -n "$RUNTEST" || RUNTEST="runtest
"
8157 case " $configdirs " in
8159 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8166 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8167 ncn_target_tool_prefix=
8168 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8172 if test -n "$AR"; then
8174 elif test -n "$ac_cv_prog_AR"; then
8178 if test -n "$ac_cv_prog_AR"; then
8179 for ncn_progname in ar; do
8180 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8181 set dummy ${ncn_progname}; ac_word=$2
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8183 $as_echo_n "checking
for $ac_word...
" >&6; }
8184 if ${ac_cv_prog_AR+:} false; then :
8185 $as_echo_n "(cached
) " >&6
8187 if test -n "$AR"; then
8188 ac_cv_prog_AR="$AR" # Let the user override the test.
8190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8194 test -z "$as_dir" && as_dir=.
8195 for ac_exec_ext in '' $ac_executable_extensions; do
8196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8197 ac_cv_prog_AR="${ncn_progname}"
8198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8208 if test -n "$AR"; then
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8210 $as_echo "$AR" >&6; }
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8213 $as_echo "no
" >&6; }
8220 for ncn_progname in ar; do
8221 if test -n "$ncn_tool_prefix"; then
8222 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8223 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8225 $as_echo_n "checking
for $ac_word...
" >&6; }
8226 if ${ac_cv_prog_AR+:} false; then :
8227 $as_echo_n "(cached
) " >&6
8229 if test -n "$AR"; then
8230 ac_cv_prog_AR="$AR" # Let the user override the test.
8232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8236 test -z "$as_dir" && as_dir=.
8237 for ac_exec_ext in '' $ac_executable_extensions; do
8238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8239 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8240 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8250 if test -n "$AR"; then
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8252 $as_echo "$AR" >&6; }
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8255 $as_echo "no
" >&6; }
8260 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8261 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8262 set dummy ${ncn_progname}; ac_word=$2
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8264 $as_echo_n "checking
for $ac_word...
" >&6; }
8265 if ${ac_cv_prog_AR+:} false; then :
8266 $as_echo_n "(cached
) " >&6
8268 if test -n "$AR"; then
8269 ac_cv_prog_AR="$AR" # Let the user override the test.
8271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8275 test -z "$as_dir" && as_dir=.
8276 for ac_exec_ext in '' $ac_executable_extensions; do
8277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8278 ac_cv_prog_AR="${ncn_progname}"
8279 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8289 if test -n "$AR"; then
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8291 $as_echo "$AR" >&6; }
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8294 $as_echo "no
" >&6; }
8299 test -n "$ac_cv_prog_AR" && break
8302 if test -z "$ac_cv_prog_AR" ; then
8304 if test $build = $host ; then
8307 AR="${ncn_tool_prefix}$2"
8313 if test -n "$AS"; then
8315 elif test -n "$ac_cv_prog_AS"; then
8319 if test -n "$ac_cv_prog_AS"; then
8320 for ncn_progname in as; do
8321 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8322 set dummy ${ncn_progname}; ac_word=$2
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8324 $as_echo_n "checking
for $ac_word...
" >&6; }
8325 if ${ac_cv_prog_AS+:} false; then :
8326 $as_echo_n "(cached
) " >&6
8328 if test -n "$AS"; then
8329 ac_cv_prog_AS="$AS" # Let the user override the test.
8331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8335 test -z "$as_dir" && as_dir=.
8336 for ac_exec_ext in '' $ac_executable_extensions; do
8337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8338 ac_cv_prog_AS="${ncn_progname}"
8339 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8349 if test -n "$AS"; then
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8351 $as_echo "$AS" >&6; }
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8354 $as_echo "no
" >&6; }
8361 for ncn_progname in as; do
8362 if test -n "$ncn_tool_prefix"; then
8363 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8364 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8366 $as_echo_n "checking
for $ac_word...
" >&6; }
8367 if ${ac_cv_prog_AS+:} false; then :
8368 $as_echo_n "(cached
) " >&6
8370 if test -n "$AS"; then
8371 ac_cv_prog_AS="$AS" # Let the user override the test.
8373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8377 test -z "$as_dir" && as_dir=.
8378 for ac_exec_ext in '' $ac_executable_extensions; do
8379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8380 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8381 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8391 if test -n "$AS"; then
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8393 $as_echo "$AS" >&6; }
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8396 $as_echo "no
" >&6; }
8401 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8402 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8403 set dummy ${ncn_progname}; ac_word=$2
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8405 $as_echo_n "checking
for $ac_word...
" >&6; }
8406 if ${ac_cv_prog_AS+:} false; then :
8407 $as_echo_n "(cached
) " >&6
8409 if test -n "$AS"; then
8410 ac_cv_prog_AS="$AS" # Let the user override the test.
8412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8416 test -z "$as_dir" && as_dir=.
8417 for ac_exec_ext in '' $ac_executable_extensions; do
8418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8419 ac_cv_prog_AS="${ncn_progname}"
8420 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8430 if test -n "$AS"; then
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8432 $as_echo "$AS" >&6; }
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8435 $as_echo "no
" >&6; }
8440 test -n "$ac_cv_prog_AS" && break
8443 if test -z "$ac_cv_prog_AS" ; then
8445 if test $build = $host ; then
8448 AS="${ncn_tool_prefix}$2"
8454 if test -n "$DLLTOOL"; then
8455 ac_cv_prog_DLLTOOL=$DLLTOOL
8456 elif test -n "$ac_cv_prog_DLLTOOL"; then
8457 DLLTOOL=$ac_cv_prog_DLLTOOL
8460 if test -n "$ac_cv_prog_DLLTOOL"; then
8461 for ncn_progname in dlltool; do
8462 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8463 set dummy ${ncn_progname}; ac_word=$2
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8465 $as_echo_n "checking
for $ac_word...
" >&6; }
8466 if ${ac_cv_prog_DLLTOOL+:} false; then :
8467 $as_echo_n "(cached
) " >&6
8469 if test -n "$DLLTOOL"; then
8470 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8476 test -z "$as_dir" && as_dir=.
8477 for ac_exec_ext in '' $ac_executable_extensions; do
8478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8479 ac_cv_prog_DLLTOOL="${ncn_progname}"
8480 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8489 DLLTOOL=$ac_cv_prog_DLLTOOL
8490 if test -n "$DLLTOOL"; then
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8492 $as_echo "$DLLTOOL" >&6; }
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8495 $as_echo "no
" >&6; }
8502 for ncn_progname in dlltool; do
8503 if test -n "$ncn_tool_prefix"; then
8504 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8505 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8507 $as_echo_n "checking
for $ac_word...
" >&6; }
8508 if ${ac_cv_prog_DLLTOOL+:} false; then :
8509 $as_echo_n "(cached
) " >&6
8511 if test -n "$DLLTOOL"; then
8512 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8518 test -z "$as_dir" && as_dir=.
8519 for ac_exec_ext in '' $ac_executable_extensions; do
8520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8521 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8522 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8531 DLLTOOL=$ac_cv_prog_DLLTOOL
8532 if test -n "$DLLTOOL"; then
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8534 $as_echo "$DLLTOOL" >&6; }
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8537 $as_echo "no
" >&6; }
8542 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8543 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8544 set dummy ${ncn_progname}; ac_word=$2
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8546 $as_echo_n "checking
for $ac_word...
" >&6; }
8547 if ${ac_cv_prog_DLLTOOL+:} false; then :
8548 $as_echo_n "(cached
) " >&6
8550 if test -n "$DLLTOOL"; then
8551 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8557 test -z "$as_dir" && as_dir=.
8558 for ac_exec_ext in '' $ac_executable_extensions; do
8559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8560 ac_cv_prog_DLLTOOL="${ncn_progname}"
8561 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8570 DLLTOOL=$ac_cv_prog_DLLTOOL
8571 if test -n "$DLLTOOL"; then
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8573 $as_echo "$DLLTOOL" >&6; }
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8576 $as_echo "no
" >&6; }
8581 test -n "$ac_cv_prog_DLLTOOL" && break
8584 if test -z "$ac_cv_prog_DLLTOOL" ; then
8586 if test $build = $host ; then
8589 DLLTOOL="${ncn_tool_prefix}$2"
8595 if test -n "$LD"; then
8597 elif test -n "$ac_cv_prog_LD"; then
8601 if test -n "$ac_cv_prog_LD"; then
8602 for ncn_progname in ld; do
8603 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8604 set dummy ${ncn_progname}; ac_word=$2
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8606 $as_echo_n "checking
for $ac_word...
" >&6; }
8607 if ${ac_cv_prog_LD+:} false; then :
8608 $as_echo_n "(cached
) " >&6
8610 if test -n "$LD"; then
8611 ac_cv_prog_LD="$LD" # Let the user override the test.
8613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8617 test -z "$as_dir" && as_dir=.
8618 for ac_exec_ext in '' $ac_executable_extensions; do
8619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8620 ac_cv_prog_LD="${ncn_progname}"
8621 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8631 if test -n "$LD"; then
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8633 $as_echo "$LD" >&6; }
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8636 $as_echo "no
" >&6; }
8643 for ncn_progname in ld; do
8644 if test -n "$ncn_tool_prefix"; then
8645 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8646 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8648 $as_echo_n "checking
for $ac_word...
" >&6; }
8649 if ${ac_cv_prog_LD+:} false; then :
8650 $as_echo_n "(cached
) " >&6
8652 if test -n "$LD"; then
8653 ac_cv_prog_LD="$LD" # Let the user override the test.
8655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8659 test -z "$as_dir" && as_dir=.
8660 for ac_exec_ext in '' $ac_executable_extensions; do
8661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8662 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8663 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8673 if test -n "$LD"; then
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8675 $as_echo "$LD" >&6; }
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8678 $as_echo "no
" >&6; }
8683 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8684 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8685 set dummy ${ncn_progname}; ac_word=$2
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8687 $as_echo_n "checking
for $ac_word...
" >&6; }
8688 if ${ac_cv_prog_LD+:} false; then :
8689 $as_echo_n "(cached
) " >&6
8691 if test -n "$LD"; then
8692 ac_cv_prog_LD="$LD" # Let the user override the test.
8694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8698 test -z "$as_dir" && as_dir=.
8699 for ac_exec_ext in '' $ac_executable_extensions; do
8700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8701 ac_cv_prog_LD="${ncn_progname}"
8702 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8712 if test -n "$LD"; then
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8714 $as_echo "$LD" >&6; }
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8717 $as_echo "no
" >&6; }
8722 test -n "$ac_cv_prog_LD" && break
8725 if test -z "$ac_cv_prog_LD" ; then
8727 if test $build = $host ; then
8730 LD="${ncn_tool_prefix}$2"
8736 if test -n "$LIPO"; then
8737 ac_cv_prog_LIPO=$LIPO
8738 elif test -n "$ac_cv_prog_LIPO"; then
8739 LIPO=$ac_cv_prog_LIPO
8742 if test -n "$ac_cv_prog_LIPO"; then
8743 for ncn_progname in lipo; do
8744 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8745 set dummy ${ncn_progname}; ac_word=$2
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8747 $as_echo_n "checking
for $ac_word...
" >&6; }
8748 if ${ac_cv_prog_LIPO+:} false; then :
8749 $as_echo_n "(cached
) " >&6
8751 if test -n "$LIPO"; then
8752 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8758 test -z "$as_dir" && as_dir=.
8759 for ac_exec_ext in '' $ac_executable_extensions; do
8760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8761 ac_cv_prog_LIPO="${ncn_progname}"
8762 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8771 LIPO=$ac_cv_prog_LIPO
8772 if test -n "$LIPO"; then
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8774 $as_echo "$LIPO" >&6; }
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8777 $as_echo "no
" >&6; }
8784 for ncn_progname in lipo; do
8785 if test -n "$ncn_tool_prefix"; then
8786 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8787 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8789 $as_echo_n "checking
for $ac_word...
" >&6; }
8790 if ${ac_cv_prog_LIPO+:} false; then :
8791 $as_echo_n "(cached
) " >&6
8793 if test -n "$LIPO"; then
8794 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8800 test -z "$as_dir" && as_dir=.
8801 for ac_exec_ext in '' $ac_executable_extensions; do
8802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8803 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8804 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8813 LIPO=$ac_cv_prog_LIPO
8814 if test -n "$LIPO"; then
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8816 $as_echo "$LIPO" >&6; }
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8819 $as_echo "no
" >&6; }
8824 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8825 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8826 set dummy ${ncn_progname}; ac_word=$2
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8828 $as_echo_n "checking
for $ac_word...
" >&6; }
8829 if ${ac_cv_prog_LIPO+:} false; then :
8830 $as_echo_n "(cached
) " >&6
8832 if test -n "$LIPO"; then
8833 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8839 test -z "$as_dir" && as_dir=.
8840 for ac_exec_ext in '' $ac_executable_extensions; do
8841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8842 ac_cv_prog_LIPO="${ncn_progname}"
8843 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8852 LIPO=$ac_cv_prog_LIPO
8853 if test -n "$LIPO"; then
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8855 $as_echo "$LIPO" >&6; }
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8858 $as_echo "no
" >&6; }
8863 test -n "$ac_cv_prog_LIPO" && break
8866 if test -z "$ac_cv_prog_LIPO" ; then
8868 if test $build = $host ; then
8871 LIPO="${ncn_tool_prefix}$2"
8877 if test -n "$NM"; then
8879 elif test -n "$ac_cv_prog_NM"; then
8883 if test -n "$ac_cv_prog_NM"; then
8884 for ncn_progname in nm; do
8885 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8886 set dummy ${ncn_progname}; ac_word=$2
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8888 $as_echo_n "checking
for $ac_word...
" >&6; }
8889 if ${ac_cv_prog_NM+:} false; then :
8890 $as_echo_n "(cached
) " >&6
8892 if test -n "$NM"; then
8893 ac_cv_prog_NM="$NM" # Let the user override the test.
8895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8899 test -z "$as_dir" && as_dir=.
8900 for ac_exec_ext in '' $ac_executable_extensions; do
8901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8902 ac_cv_prog_NM="${ncn_progname}"
8903 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8913 if test -n "$NM"; then
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8915 $as_echo "$NM" >&6; }
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8918 $as_echo "no
" >&6; }
8925 for ncn_progname in nm; do
8926 if test -n "$ncn_tool_prefix"; then
8927 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8928 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8930 $as_echo_n "checking
for $ac_word...
" >&6; }
8931 if ${ac_cv_prog_NM+:} false; then :
8932 $as_echo_n "(cached
) " >&6
8934 if test -n "$NM"; then
8935 ac_cv_prog_NM="$NM" # Let the user override the test.
8937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8941 test -z "$as_dir" && as_dir=.
8942 for ac_exec_ext in '' $ac_executable_extensions; do
8943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8944 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8955 if test -n "$NM"; then
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8957 $as_echo "$NM" >&6; }
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8960 $as_echo "no
" >&6; }
8965 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8966 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8967 set dummy ${ncn_progname}; ac_word=$2
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8969 $as_echo_n "checking
for $ac_word...
" >&6; }
8970 if ${ac_cv_prog_NM+:} false; then :
8971 $as_echo_n "(cached
) " >&6
8973 if test -n "$NM"; then
8974 ac_cv_prog_NM="$NM" # Let the user override the test.
8976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8980 test -z "$as_dir" && as_dir=.
8981 for ac_exec_ext in '' $ac_executable_extensions; do
8982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8983 ac_cv_prog_NM="${ncn_progname}"
8984 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8994 if test -n "$NM"; then
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8996 $as_echo "$NM" >&6; }
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8999 $as_echo "no
" >&6; }
9004 test -n "$ac_cv_prog_NM" && break
9007 if test -z "$ac_cv_prog_NM" ; then
9009 if test $build = $host ; then
9012 NM="${ncn_tool_prefix}$2"
9018 if test -n "$RANLIB"; then
9019 ac_cv_prog_RANLIB=$RANLIB
9020 elif test -n "$ac_cv_prog_RANLIB"; then
9021 RANLIB=$ac_cv_prog_RANLIB
9024 if test -n "$ac_cv_prog_RANLIB"; then
9025 for ncn_progname in ranlib; do
9026 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9027 set dummy ${ncn_progname}; ac_word=$2
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9029 $as_echo_n "checking
for $ac_word...
" >&6; }
9030 if ${ac_cv_prog_RANLIB+:} false; then :
9031 $as_echo_n "(cached
) " >&6
9033 if test -n "$RANLIB"; then
9034 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9040 test -z "$as_dir" && as_dir=.
9041 for ac_exec_ext in '' $ac_executable_extensions; do
9042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9043 ac_cv_prog_RANLIB="${ncn_progname}"
9044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9053 RANLIB=$ac_cv_prog_RANLIB
9054 if test -n "$RANLIB"; then
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9056 $as_echo "$RANLIB" >&6; }
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9059 $as_echo "no
" >&6; }
9066 for ncn_progname in ranlib; do
9067 if test -n "$ncn_tool_prefix"; then
9068 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9069 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9071 $as_echo_n "checking
for $ac_word...
" >&6; }
9072 if ${ac_cv_prog_RANLIB+:} false; then :
9073 $as_echo_n "(cached
) " >&6
9075 if test -n "$RANLIB"; then
9076 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9082 test -z "$as_dir" && as_dir=.
9083 for ac_exec_ext in '' $ac_executable_extensions; do
9084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9085 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9086 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9095 RANLIB=$ac_cv_prog_RANLIB
9096 if test -n "$RANLIB"; then
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9098 $as_echo "$RANLIB" >&6; }
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9101 $as_echo "no
" >&6; }
9106 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9107 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9108 set dummy ${ncn_progname}; ac_word=$2
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9110 $as_echo_n "checking
for $ac_word...
" >&6; }
9111 if ${ac_cv_prog_RANLIB+:} false; then :
9112 $as_echo_n "(cached
) " >&6
9114 if test -n "$RANLIB"; then
9115 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9121 test -z "$as_dir" && as_dir=.
9122 for ac_exec_ext in '' $ac_executable_extensions; do
9123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9124 ac_cv_prog_RANLIB="${ncn_progname}"
9125 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9134 RANLIB=$ac_cv_prog_RANLIB
9135 if test -n "$RANLIB"; then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9137 $as_echo "$RANLIB" >&6; }
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9140 $as_echo "no
" >&6; }
9145 test -n "$ac_cv_prog_RANLIB" && break
9148 if test -z "$ac_cv_prog_RANLIB" ; then
9154 if test -n "$STRIP"; then
9155 ac_cv_prog_STRIP=$STRIP
9156 elif test -n "$ac_cv_prog_STRIP"; then
9157 STRIP=$ac_cv_prog_STRIP
9160 if test -n "$ac_cv_prog_STRIP"; then
9161 for ncn_progname in strip; do
9162 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9163 set dummy ${ncn_progname}; ac_word=$2
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9165 $as_echo_n "checking
for $ac_word...
" >&6; }
9166 if ${ac_cv_prog_STRIP+:} false; then :
9167 $as_echo_n "(cached
) " >&6
9169 if test -n "$STRIP"; then
9170 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9176 test -z "$as_dir" && as_dir=.
9177 for ac_exec_ext in '' $ac_executable_extensions; do
9178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9179 ac_cv_prog_STRIP="${ncn_progname}"
9180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9189 STRIP=$ac_cv_prog_STRIP
9190 if test -n "$STRIP"; then
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9192 $as_echo "$STRIP" >&6; }
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9195 $as_echo "no
" >&6; }
9202 for ncn_progname in strip; do
9203 if test -n "$ncn_tool_prefix"; then
9204 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9205 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9207 $as_echo_n "checking
for $ac_word...
" >&6; }
9208 if ${ac_cv_prog_STRIP+:} false; then :
9209 $as_echo_n "(cached
) " >&6
9211 if test -n "$STRIP"; then
9212 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9218 test -z "$as_dir" && as_dir=.
9219 for ac_exec_ext in '' $ac_executable_extensions; do
9220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9221 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9222 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9231 STRIP=$ac_cv_prog_STRIP
9232 if test -n "$STRIP"; then
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9234 $as_echo "$STRIP" >&6; }
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9237 $as_echo "no
" >&6; }
9242 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9243 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9244 set dummy ${ncn_progname}; ac_word=$2
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9246 $as_echo_n "checking
for $ac_word...
" >&6; }
9247 if ${ac_cv_prog_STRIP+:} false; then :
9248 $as_echo_n "(cached
) " >&6
9250 if test -n "$STRIP"; then
9251 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9257 test -z "$as_dir" && as_dir=.
9258 for ac_exec_ext in '' $ac_executable_extensions; do
9259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9260 ac_cv_prog_STRIP="${ncn_progname}"
9261 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9270 STRIP=$ac_cv_prog_STRIP
9271 if test -n "$STRIP"; then
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9273 $as_echo "$STRIP" >&6; }
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9276 $as_echo "no
" >&6; }
9281 test -n "$ac_cv_prog_STRIP" && break
9284 if test -z "$ac_cv_prog_STRIP" ; then
9290 if test -n "$WINDRES"; then
9291 ac_cv_prog_WINDRES=$WINDRES
9292 elif test -n "$ac_cv_prog_WINDRES"; then
9293 WINDRES=$ac_cv_prog_WINDRES
9296 if test -n "$ac_cv_prog_WINDRES"; then
9297 for ncn_progname in windres; do
9298 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9299 set dummy ${ncn_progname}; ac_word=$2
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9301 $as_echo_n "checking
for $ac_word...
" >&6; }
9302 if ${ac_cv_prog_WINDRES+:} false; then :
9303 $as_echo_n "(cached
) " >&6
9305 if test -n "$WINDRES"; then
9306 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9312 test -z "$as_dir" && as_dir=.
9313 for ac_exec_ext in '' $ac_executable_extensions; do
9314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9315 ac_cv_prog_WINDRES="${ncn_progname}"
9316 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9325 WINDRES=$ac_cv_prog_WINDRES
9326 if test -n "$WINDRES"; then
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9328 $as_echo "$WINDRES" >&6; }
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9331 $as_echo "no
" >&6; }
9338 for ncn_progname in windres; do
9339 if test -n "$ncn_tool_prefix"; then
9340 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9341 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9343 $as_echo_n "checking
for $ac_word...
" >&6; }
9344 if ${ac_cv_prog_WINDRES+:} false; then :
9345 $as_echo_n "(cached
) " >&6
9347 if test -n "$WINDRES"; then
9348 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9354 test -z "$as_dir" && as_dir=.
9355 for ac_exec_ext in '' $ac_executable_extensions; do
9356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9357 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9367 WINDRES=$ac_cv_prog_WINDRES
9368 if test -n "$WINDRES"; then
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9370 $as_echo "$WINDRES" >&6; }
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9373 $as_echo "no
" >&6; }
9378 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9379 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9380 set dummy ${ncn_progname}; ac_word=$2
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9382 $as_echo_n "checking
for $ac_word...
" >&6; }
9383 if ${ac_cv_prog_WINDRES+:} false; then :
9384 $as_echo_n "(cached
) " >&6
9386 if test -n "$WINDRES"; then
9387 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9393 test -z "$as_dir" && as_dir=.
9394 for ac_exec_ext in '' $ac_executable_extensions; do
9395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9396 ac_cv_prog_WINDRES="${ncn_progname}"
9397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9406 WINDRES=$ac_cv_prog_WINDRES
9407 if test -n "$WINDRES"; then
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9409 $as_echo "$WINDRES" >&6; }
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9412 $as_echo "no
" >&6; }
9417 test -n "$ac_cv_prog_WINDRES" && break
9420 if test -z "$ac_cv_prog_WINDRES" ; then
9422 if test $build = $host ; then
9425 WINDRES="${ncn_tool_prefix}$2"
9431 if test -n "$WINDMC"; then
9432 ac_cv_prog_WINDMC=$WINDMC
9433 elif test -n "$ac_cv_prog_WINDMC"; then
9434 WINDMC=$ac_cv_prog_WINDMC
9437 if test -n "$ac_cv_prog_WINDMC"; then
9438 for ncn_progname in windmc; do
9439 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9440 set dummy ${ncn_progname}; ac_word=$2
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9442 $as_echo_n "checking
for $ac_word...
" >&6; }
9443 if ${ac_cv_prog_WINDMC+:} false; then :
9444 $as_echo_n "(cached
) " >&6
9446 if test -n "$WINDMC"; then
9447 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9453 test -z "$as_dir" && as_dir=.
9454 for ac_exec_ext in '' $ac_executable_extensions; do
9455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9456 ac_cv_prog_WINDMC="${ncn_progname}"
9457 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9466 WINDMC=$ac_cv_prog_WINDMC
9467 if test -n "$WINDMC"; then
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9469 $as_echo "$WINDMC" >&6; }
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9472 $as_echo "no
" >&6; }
9479 for ncn_progname in windmc; do
9480 if test -n "$ncn_tool_prefix"; then
9481 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9482 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9484 $as_echo_n "checking
for $ac_word...
" >&6; }
9485 if ${ac_cv_prog_WINDMC+:} false; then :
9486 $as_echo_n "(cached
) " >&6
9488 if test -n "$WINDMC"; then
9489 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9495 test -z "$as_dir" && as_dir=.
9496 for ac_exec_ext in '' $ac_executable_extensions; do
9497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9498 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9499 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9508 WINDMC=$ac_cv_prog_WINDMC
9509 if test -n "$WINDMC"; then
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9511 $as_echo "$WINDMC" >&6; }
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9514 $as_echo "no
" >&6; }
9519 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9520 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9521 set dummy ${ncn_progname}; ac_word=$2
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9523 $as_echo_n "checking
for $ac_word...
" >&6; }
9524 if ${ac_cv_prog_WINDMC+:} false; then :
9525 $as_echo_n "(cached
) " >&6
9527 if test -n "$WINDMC"; then
9528 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9534 test -z "$as_dir" && as_dir=.
9535 for ac_exec_ext in '' $ac_executable_extensions; do
9536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9537 ac_cv_prog_WINDMC="${ncn_progname}"
9538 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9547 WINDMC=$ac_cv_prog_WINDMC
9548 if test -n "$WINDMC"; then
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9550 $as_echo "$WINDMC" >&6; }
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9553 $as_echo "no
" >&6; }
9558 test -n "$ac_cv_prog_WINDMC" && break
9561 if test -z "$ac_cv_prog_WINDMC" ; then
9563 if test $build = $host ; then
9566 WINDMC="${ncn_tool_prefix}$2"
9572 if test -n "$OBJCOPY"; then
9573 ac_cv_prog_OBJCOPY=$OBJCOPY
9574 elif test -n "$ac_cv_prog_OBJCOPY"; then
9575 OBJCOPY=$ac_cv_prog_OBJCOPY
9578 if test -n "$ac_cv_prog_OBJCOPY"; then
9579 for ncn_progname in objcopy; do
9580 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9581 set dummy ${ncn_progname}; ac_word=$2
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9583 $as_echo_n "checking
for $ac_word...
" >&6; }
9584 if ${ac_cv_prog_OBJCOPY+:} false; then :
9585 $as_echo_n "(cached
) " >&6
9587 if test -n "$OBJCOPY"; then
9588 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9594 test -z "$as_dir" && as_dir=.
9595 for ac_exec_ext in '' $ac_executable_extensions; do
9596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9597 ac_cv_prog_OBJCOPY="${ncn_progname}"
9598 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9607 OBJCOPY=$ac_cv_prog_OBJCOPY
9608 if test -n "$OBJCOPY"; then
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9610 $as_echo "$OBJCOPY" >&6; }
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9613 $as_echo "no
" >&6; }
9620 for ncn_progname in objcopy; do
9621 if test -n "$ncn_tool_prefix"; then
9622 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9623 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9625 $as_echo_n "checking
for $ac_word...
" >&6; }
9626 if ${ac_cv_prog_OBJCOPY+:} false; then :
9627 $as_echo_n "(cached
) " >&6
9629 if test -n "$OBJCOPY"; then
9630 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9636 test -z "$as_dir" && as_dir=.
9637 for ac_exec_ext in '' $ac_executable_extensions; do
9638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9639 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9649 OBJCOPY=$ac_cv_prog_OBJCOPY
9650 if test -n "$OBJCOPY"; then
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9652 $as_echo "$OBJCOPY" >&6; }
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9655 $as_echo "no
" >&6; }
9660 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9661 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9662 set dummy ${ncn_progname}; ac_word=$2
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9664 $as_echo_n "checking
for $ac_word...
" >&6; }
9665 if ${ac_cv_prog_OBJCOPY+:} false; then :
9666 $as_echo_n "(cached
) " >&6
9668 if test -n "$OBJCOPY"; then
9669 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9675 test -z "$as_dir" && as_dir=.
9676 for ac_exec_ext in '' $ac_executable_extensions; do
9677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9678 ac_cv_prog_OBJCOPY="${ncn_progname}"
9679 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9688 OBJCOPY=$ac_cv_prog_OBJCOPY
9689 if test -n "$OBJCOPY"; then
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9691 $as_echo "$OBJCOPY" >&6; }
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9694 $as_echo "no
" >&6; }
9699 test -n "$ac_cv_prog_OBJCOPY" && break
9702 if test -z "$ac_cv_prog_OBJCOPY" ; then
9704 if test $build = $host ; then
9707 OBJCOPY="${ncn_tool_prefix}$2"
9713 if test -n "$OBJDUMP"; then
9714 ac_cv_prog_OBJDUMP=$OBJDUMP
9715 elif test -n "$ac_cv_prog_OBJDUMP"; then
9716 OBJDUMP=$ac_cv_prog_OBJDUMP
9719 if test -n "$ac_cv_prog_OBJDUMP"; then
9720 for ncn_progname in objdump; do
9721 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9722 set dummy ${ncn_progname}; ac_word=$2
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9724 $as_echo_n "checking
for $ac_word...
" >&6; }
9725 if ${ac_cv_prog_OBJDUMP+:} false; then :
9726 $as_echo_n "(cached
) " >&6
9728 if test -n "$OBJDUMP"; then
9729 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9735 test -z "$as_dir" && as_dir=.
9736 for ac_exec_ext in '' $ac_executable_extensions; do
9737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9738 ac_cv_prog_OBJDUMP="${ncn_progname}"
9739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9748 OBJDUMP=$ac_cv_prog_OBJDUMP
9749 if test -n "$OBJDUMP"; then
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9751 $as_echo "$OBJDUMP" >&6; }
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9754 $as_echo "no
" >&6; }
9761 for ncn_progname in objdump; do
9762 if test -n "$ncn_tool_prefix"; then
9763 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9764 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9766 $as_echo_n "checking
for $ac_word...
" >&6; }
9767 if ${ac_cv_prog_OBJDUMP+:} false; then :
9768 $as_echo_n "(cached
) " >&6
9770 if test -n "$OBJDUMP"; then
9771 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9777 test -z "$as_dir" && as_dir=.
9778 for ac_exec_ext in '' $ac_executable_extensions; do
9779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9780 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9790 OBJDUMP=$ac_cv_prog_OBJDUMP
9791 if test -n "$OBJDUMP"; then
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9793 $as_echo "$OBJDUMP" >&6; }
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9796 $as_echo "no
" >&6; }
9801 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9802 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9803 set dummy ${ncn_progname}; ac_word=$2
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9805 $as_echo_n "checking
for $ac_word...
" >&6; }
9806 if ${ac_cv_prog_OBJDUMP+:} false; then :
9807 $as_echo_n "(cached
) " >&6
9809 if test -n "$OBJDUMP"; then
9810 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9816 test -z "$as_dir" && as_dir=.
9817 for ac_exec_ext in '' $ac_executable_extensions; do
9818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9819 ac_cv_prog_OBJDUMP="${ncn_progname}"
9820 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9829 OBJDUMP=$ac_cv_prog_OBJDUMP
9830 if test -n "$OBJDUMP"; then
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9832 $as_echo "$OBJDUMP" >&6; }
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9835 $as_echo "no
" >&6; }
9840 test -n "$ac_cv_prog_OBJDUMP" && break
9843 if test -z "$ac_cv_prog_OBJDUMP" ; then
9845 if test $build = $host ; then
9848 OBJDUMP="${ncn_tool_prefix}$2"
9854 if test -n "$OTOOL"; then
9855 ac_cv_prog_OTOOL=$OTOOL
9856 elif test -n "$ac_cv_prog_OTOOL"; then
9857 OTOOL=$ac_cv_prog_OTOOL
9860 if test -n "$ac_cv_prog_OTOOL"; then
9861 for ncn_progname in otool; do
9862 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9863 set dummy ${ncn_progname}; ac_word=$2
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9865 $as_echo_n "checking
for $ac_word...
" >&6; }
9866 if ${ac_cv_prog_OTOOL+:} false; then :
9867 $as_echo_n "(cached
) " >&6
9869 if test -n "$OTOOL"; then
9870 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9876 test -z "$as_dir" && as_dir=.
9877 for ac_exec_ext in '' $ac_executable_extensions; do
9878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9879 ac_cv_prog_OTOOL="${ncn_progname}"
9880 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9889 OTOOL=$ac_cv_prog_OTOOL
9890 if test -n "$OTOOL"; then
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9892 $as_echo "$OTOOL" >&6; }
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9895 $as_echo "no
" >&6; }
9902 for ncn_progname in otool; do
9903 if test -n "$ncn_tool_prefix"; then
9904 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9905 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9907 $as_echo_n "checking
for $ac_word...
" >&6; }
9908 if ${ac_cv_prog_OTOOL+:} false; then :
9909 $as_echo_n "(cached
) " >&6
9911 if test -n "$OTOOL"; then
9912 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9918 test -z "$as_dir" && as_dir=.
9919 for ac_exec_ext in '' $ac_executable_extensions; do
9920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9921 ac_cv_prog_OTOOL="${ncn_tool_prefix}${ncn_progname}"
9922 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9931 OTOOL=$ac_cv_prog_OTOOL
9932 if test -n "$OTOOL"; then
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9934 $as_echo "$OTOOL" >&6; }
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9937 $as_echo "no
" >&6; }
9942 if test -z "$ac_cv_prog_OTOOL" && test $build = $host ; then
9943 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9944 set dummy ${ncn_progname}; ac_word=$2
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9946 $as_echo_n "checking
for $ac_word...
" >&6; }
9947 if ${ac_cv_prog_OTOOL+:} false; then :
9948 $as_echo_n "(cached
) " >&6
9950 if test -n "$OTOOL"; then
9951 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9957 test -z "$as_dir" && as_dir=.
9958 for ac_exec_ext in '' $ac_executable_extensions; do
9959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9960 ac_cv_prog_OTOOL="${ncn_progname}"
9961 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9970 OTOOL=$ac_cv_prog_OTOOL
9971 if test -n "$OTOOL"; then
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9973 $as_echo "$OTOOL" >&6; }
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9976 $as_echo "no
" >&6; }
9981 test -n "$ac_cv_prog_OTOOL" && break
9984 if test -z "$ac_cv_prog_OTOOL" ; then
9986 if test $build = $host ; then
9989 OTOOL="${ncn_tool_prefix}$2"
9995 if test -n "$READELF"; then
9996 ac_cv_prog_READELF=$READELF
9997 elif test -n "$ac_cv_prog_READELF"; then
9998 READELF=$ac_cv_prog_READELF
10001 if test -n "$ac_cv_prog_READELF"; then
10002 for ncn_progname in readelf; do
10003 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10004 set dummy ${ncn_progname}; ac_word=$2
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10006 $as_echo_n "checking
for $ac_word...
" >&6; }
10007 if ${ac_cv_prog_READELF+:} false; then :
10008 $as_echo_n "(cached
) " >&6
10010 if test -n "$READELF"; then
10011 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10014 for as_dir in $PATH
10017 test -z "$as_dir" && as_dir=.
10018 for ac_exec_ext in '' $ac_executable_extensions; do
10019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10020 ac_cv_prog_READELF="${ncn_progname}"
10021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10030 READELF=$ac_cv_prog_READELF
10031 if test -n "$READELF"; then
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10033 $as_echo "$READELF" >&6; }
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10036 $as_echo "no
" >&6; }
10043 for ncn_progname in readelf; do
10044 if test -n "$ncn_tool_prefix"; then
10045 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10046 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10048 $as_echo_n "checking
for $ac_word...
" >&6; }
10049 if ${ac_cv_prog_READELF+:} false; then :
10050 $as_echo_n "(cached
) " >&6
10052 if test -n "$READELF"; then
10053 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10056 for as_dir in $PATH
10059 test -z "$as_dir" && as_dir=.
10060 for ac_exec_ext in '' $ac_executable_extensions; do
10061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10062 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
10063 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10072 READELF=$ac_cv_prog_READELF
10073 if test -n "$READELF"; then
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10075 $as_echo "$READELF" >&6; }
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10078 $as_echo "no
" >&6; }
10083 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
10084 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10085 set dummy ${ncn_progname}; ac_word=$2
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10087 $as_echo_n "checking
for $ac_word...
" >&6; }
10088 if ${ac_cv_prog_READELF+:} false; then :
10089 $as_echo_n "(cached
) " >&6
10091 if test -n "$READELF"; then
10092 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10095 for as_dir in $PATH
10098 test -z "$as_dir" && as_dir=.
10099 for ac_exec_ext in '' $ac_executable_extensions; do
10100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10101 ac_cv_prog_READELF="${ncn_progname}"
10102 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10111 READELF=$ac_cv_prog_READELF
10112 if test -n "$READELF"; then
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10114 $as_echo "$READELF" >&6; }
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10117 $as_echo "no
" >&6; }
10122 test -n "$ac_cv_prog_READELF" && break
10125 if test -z "$ac_cv_prog_READELF" ; then
10127 if test $build = $host ; then
10130 READELF="${ncn_tool_prefix}$2"
10141 # Check whether --with-build-time-tools was given.
10142 if test "${with_build_time_tools+set}" = set; then :
10143 withval=$with_build_time_tools; case x"$withval" in
10146 with_build_time_tools=
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10148 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10152 with_build_time_tools=
10158 if test -n "$CC_FOR_TARGET"; then
10159 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10160 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10161 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10164 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10165 for ncn_progname in cc gcc; do
10166 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10167 set dummy ${ncn_progname}; ac_word=$2
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10169 $as_echo_n "checking
for $ac_word...
" >&6; }
10170 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10171 $as_echo_n "(cached
) " >&6
10173 if test -n "$CC_FOR_TARGET"; then
10174 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10177 for as_dir in $PATH
10180 test -z "$as_dir" && as_dir=.
10181 for ac_exec_ext in '' $ac_executable_extensions; do
10182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10183 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10193 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10194 if test -n "$CC_FOR_TARGET"; then
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10196 $as_echo "$CC_FOR_TARGET" >&6; }
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10199 $as_echo "no
" >&6; }
10206 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10207 for ncn_progname in cc gcc; do
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10209 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10210 if test -x $with_build_time_tools/${ncn_progname}; then
10211 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10213 $as_echo "yes" >&6; }
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10217 $as_echo "no
" >&6; }
10222 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10223 for ncn_progname in cc gcc; do
10224 if test -n "$ncn_target_tool_prefix"; then
10225 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10226 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10228 $as_echo_n "checking
for $ac_word...
" >&6; }
10229 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10230 $as_echo_n "(cached
) " >&6
10232 if test -n "$CC_FOR_TARGET"; then
10233 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10236 for as_dir in $PATH
10239 test -z "$as_dir" && as_dir=.
10240 for ac_exec_ext in '' $ac_executable_extensions; do
10241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10242 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10243 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10252 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10253 if test -n "$CC_FOR_TARGET"; then
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10255 $as_echo "$CC_FOR_TARGET" >&6; }
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10258 $as_echo "no
" >&6; }
10263 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10264 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10265 set dummy ${ncn_progname}; ac_word=$2
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10267 $as_echo_n "checking
for $ac_word...
" >&6; }
10268 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10269 $as_echo_n "(cached
) " >&6
10271 if test -n "$CC_FOR_TARGET"; then
10272 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10275 for as_dir in $PATH
10278 test -z "$as_dir" && as_dir=.
10279 for ac_exec_ext in '' $ac_executable_extensions; do
10280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10281 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10282 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10291 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10292 if test -n "$CC_FOR_TARGET"; then
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10294 $as_echo "$CC_FOR_TARGET" >&6; }
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10297 $as_echo "no
" >&6; }
10302 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10306 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10308 if test $build = $target ; then
10311 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10314 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10319 if test -n "$CXX_FOR_TARGET"; then
10320 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10321 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10322 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10325 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10326 for ncn_progname in c++ g++ cxx gxx; do
10327 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10328 set dummy ${ncn_progname}; ac_word=$2
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10330 $as_echo_n "checking
for $ac_word...
" >&6; }
10331 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10332 $as_echo_n "(cached
) " >&6
10334 if test -n "$CXX_FOR_TARGET"; then
10335 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10338 for as_dir in $PATH
10341 test -z "$as_dir" && as_dir=.
10342 for ac_exec_ext in '' $ac_executable_extensions; do
10343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10344 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10354 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10355 if test -n "$CXX_FOR_TARGET"; then
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10357 $as_echo "$CXX_FOR_TARGET" >&6; }
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10360 $as_echo "no
" >&6; }
10367 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10368 for ncn_progname in c++ g++ cxx gxx; do
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10370 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10371 if test -x $with_build_time_tools/${ncn_progname}; then
10372 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10374 $as_echo "yes" >&6; }
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10378 $as_echo "no
" >&6; }
10383 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10384 for ncn_progname in c++ g++ cxx gxx; do
10385 if test -n "$ncn_target_tool_prefix"; then
10386 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10387 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10389 $as_echo_n "checking
for $ac_word...
" >&6; }
10390 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10391 $as_echo_n "(cached
) " >&6
10393 if test -n "$CXX_FOR_TARGET"; then
10394 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10397 for as_dir in $PATH
10400 test -z "$as_dir" && as_dir=.
10401 for ac_exec_ext in '' $ac_executable_extensions; do
10402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10403 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10413 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10414 if test -n "$CXX_FOR_TARGET"; then
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10416 $as_echo "$CXX_FOR_TARGET" >&6; }
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10419 $as_echo "no
" >&6; }
10424 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10425 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10426 set dummy ${ncn_progname}; ac_word=$2
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10428 $as_echo_n "checking
for $ac_word...
" >&6; }
10429 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10430 $as_echo_n "(cached
) " >&6
10432 if test -n "$CXX_FOR_TARGET"; then
10433 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10436 for as_dir in $PATH
10439 test -z "$as_dir" && as_dir=.
10440 for ac_exec_ext in '' $ac_executable_extensions; do
10441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10442 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10443 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10452 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10453 if test -n "$CXX_FOR_TARGET"; then
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10455 $as_echo "$CXX_FOR_TARGET" >&6; }
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10458 $as_echo "no
" >&6; }
10463 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10467 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10468 set dummy c++ g++ cxx gxx
10469 if test $build = $target ; then
10470 CXX_FOR_TARGET="$2"
10472 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10475 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10480 if test -n "$GCC_FOR_TARGET"; then
10481 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10482 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10483 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10486 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10487 for ncn_progname in gcc; do
10488 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10489 set dummy ${ncn_progname}; ac_word=$2
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10491 $as_echo_n "checking
for $ac_word...
" >&6; }
10492 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10493 $as_echo_n "(cached
) " >&6
10495 if test -n "$GCC_FOR_TARGET"; then
10496 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10499 for as_dir in $PATH
10502 test -z "$as_dir" && as_dir=.
10503 for ac_exec_ext in '' $ac_executable_extensions; do
10504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10505 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10506 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10515 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10516 if test -n "$GCC_FOR_TARGET"; then
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10518 $as_echo "$GCC_FOR_TARGET" >&6; }
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10521 $as_echo "no
" >&6; }
10528 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10529 for ncn_progname in gcc; do
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10531 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10532 if test -x $with_build_time_tools/${ncn_progname}; then
10533 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10535 $as_echo "yes" >&6; }
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10539 $as_echo "no
" >&6; }
10544 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10545 for ncn_progname in gcc; do
10546 if test -n "$ncn_target_tool_prefix"; then
10547 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10548 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10550 $as_echo_n "checking
for $ac_word...
" >&6; }
10551 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10552 $as_echo_n "(cached
) " >&6
10554 if test -n "$GCC_FOR_TARGET"; then
10555 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10558 for as_dir in $PATH
10561 test -z "$as_dir" && as_dir=.
10562 for ac_exec_ext in '' $ac_executable_extensions; do
10563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10564 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10574 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10575 if test -n "$GCC_FOR_TARGET"; then
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10577 $as_echo "$GCC_FOR_TARGET" >&6; }
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10580 $as_echo "no
" >&6; }
10585 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10586 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10587 set dummy ${ncn_progname}; ac_word=$2
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10589 $as_echo_n "checking
for $ac_word...
" >&6; }
10590 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10591 $as_echo_n "(cached
) " >&6
10593 if test -n "$GCC_FOR_TARGET"; then
10594 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10597 for as_dir in $PATH
10600 test -z "$as_dir" && as_dir=.
10601 for ac_exec_ext in '' $ac_executable_extensions; do
10602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10603 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10613 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10614 if test -n "$GCC_FOR_TARGET"; then
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10616 $as_echo "$GCC_FOR_TARGET" >&6; }
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10619 $as_echo "no
" >&6; }
10624 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10628 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10629 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10631 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10636 if test -n "$GFORTRAN_FOR_TARGET"; then
10637 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10638 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10639 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10642 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10643 for ncn_progname in gfortran; do
10644 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10645 set dummy ${ncn_progname}; ac_word=$2
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10647 $as_echo_n "checking
for $ac_word...
" >&6; }
10648 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10649 $as_echo_n "(cached
) " >&6
10651 if test -n "$GFORTRAN_FOR_TARGET"; then
10652 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10655 for as_dir in $PATH
10658 test -z "$as_dir" && as_dir=.
10659 for ac_exec_ext in '' $ac_executable_extensions; do
10660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10661 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10662 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10671 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10672 if test -n "$GFORTRAN_FOR_TARGET"; then
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10674 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10677 $as_echo "no
" >&6; }
10684 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10685 for ncn_progname in gfortran; do
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10687 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10688 if test -x $with_build_time_tools/${ncn_progname}; then
10689 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10691 $as_echo "yes" >&6; }
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10695 $as_echo "no
" >&6; }
10700 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10701 for ncn_progname in gfortran; do
10702 if test -n "$ncn_target_tool_prefix"; then
10703 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10704 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10706 $as_echo_n "checking
for $ac_word...
" >&6; }
10707 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10708 $as_echo_n "(cached
) " >&6
10710 if test -n "$GFORTRAN_FOR_TARGET"; then
10711 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10714 for as_dir in $PATH
10717 test -z "$as_dir" && as_dir=.
10718 for ac_exec_ext in '' $ac_executable_extensions; do
10719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10720 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10721 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10730 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10731 if test -n "$GFORTRAN_FOR_TARGET"; then
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10733 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10736 $as_echo "no
" >&6; }
10741 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10742 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10743 set dummy ${ncn_progname}; ac_word=$2
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10745 $as_echo_n "checking
for $ac_word...
" >&6; }
10746 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10747 $as_echo_n "(cached
) " >&6
10749 if test -n "$GFORTRAN_FOR_TARGET"; then
10750 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10753 for as_dir in $PATH
10756 test -z "$as_dir" && as_dir=.
10757 for ac_exec_ext in '' $ac_executable_extensions; do
10758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10759 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10760 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10769 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10770 if test -n "$GFORTRAN_FOR_TARGET"; then
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10772 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10775 $as_echo "no
" >&6; }
10780 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10784 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10786 if test $build = $target ; then
10787 GFORTRAN_FOR_TARGET="$2"
10789 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10792 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10797 if test -n "$GOC_FOR_TARGET"; then
10798 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10799 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10800 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10803 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10804 for ncn_progname in gccgo; do
10805 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10806 set dummy ${ncn_progname}; ac_word=$2
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10808 $as_echo_n "checking
for $ac_word...
" >&6; }
10809 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10810 $as_echo_n "(cached
) " >&6
10812 if test -n "$GOC_FOR_TARGET"; then
10813 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10816 for as_dir in $PATH
10819 test -z "$as_dir" && as_dir=.
10820 for ac_exec_ext in '' $ac_executable_extensions; do
10821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10822 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10823 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10832 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10833 if test -n "$GOC_FOR_TARGET"; then
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10835 $as_echo "$GOC_FOR_TARGET" >&6; }
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10838 $as_echo "no
" >&6; }
10845 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10846 for ncn_progname in gccgo; do
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10848 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10849 if test -x $with_build_time_tools/${ncn_progname}; then
10850 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10852 $as_echo "yes" >&6; }
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10856 $as_echo "no
" >&6; }
10861 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10862 for ncn_progname in gccgo; do
10863 if test -n "$ncn_target_tool_prefix"; then
10864 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10865 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10867 $as_echo_n "checking
for $ac_word...
" >&6; }
10868 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10869 $as_echo_n "(cached
) " >&6
10871 if test -n "$GOC_FOR_TARGET"; then
10872 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10875 for as_dir in $PATH
10878 test -z "$as_dir" && as_dir=.
10879 for ac_exec_ext in '' $ac_executable_extensions; do
10880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10881 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10882 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10891 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10892 if test -n "$GOC_FOR_TARGET"; then
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10894 $as_echo "$GOC_FOR_TARGET" >&6; }
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10897 $as_echo "no
" >&6; }
10902 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10903 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10904 set dummy ${ncn_progname}; ac_word=$2
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10906 $as_echo_n "checking
for $ac_word...
" >&6; }
10907 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10908 $as_echo_n "(cached
) " >&6
10910 if test -n "$GOC_FOR_TARGET"; then
10911 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10914 for as_dir in $PATH
10917 test -z "$as_dir" && as_dir=.
10918 for ac_exec_ext in '' $ac_executable_extensions; do
10919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10920 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10921 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10930 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10931 if test -n "$GOC_FOR_TARGET"; then
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10933 $as_echo "$GOC_FOR_TARGET" >&6; }
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10936 $as_echo "no
" >&6; }
10941 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10945 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10947 if test $build = $target ; then
10948 GOC_FOR_TARGET="$2"
10950 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10953 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10958 if test -n "$GDC_FOR_TARGET"; then
10959 ac_cv_prog_GDC_FOR_TARGET=$GDC_FOR_TARGET
10960 elif test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
10961 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
10964 if test -n "$ac_cv_prog_GDC_FOR_TARGET"; then
10965 for ncn_progname in gdc; do
10966 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10967 set dummy ${ncn_progname}; ac_word=$2
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10969 $as_echo_n "checking
for $ac_word...
" >&6; }
10970 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
10971 $as_echo_n "(cached
) " >&6
10973 if test -n "$GDC_FOR_TARGET"; then
10974 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
10976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10977 for as_dir in $PATH
10980 test -z "$as_dir" && as_dir=.
10981 for ac_exec_ext in '' $ac_executable_extensions; do
10982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10983 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
10984 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10993 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
10994 if test -n "$GDC_FOR_TARGET"; then
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
10996 $as_echo "$GDC_FOR_TARGET" >&6; }
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10999 $as_echo "no
" >&6; }
11006 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11007 for ncn_progname in gdc; do
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11009 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11010 if test -x $with_build_time_tools/${ncn_progname}; then
11011 ac_cv_prog_GDC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11013 $as_echo "yes" >&6; }
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11017 $as_echo "no
" >&6; }
11022 if test -z "$ac_cv_prog_GDC_FOR_TARGET"; then
11023 for ncn_progname in gdc; do
11024 if test -n "$ncn_target_tool_prefix"; then
11025 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11026 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11028 $as_echo_n "checking
for $ac_word...
" >&6; }
11029 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
11030 $as_echo_n "(cached
) " >&6
11032 if test -n "$GDC_FOR_TARGET"; then
11033 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
11035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11036 for as_dir in $PATH
11039 test -z "$as_dir" && as_dir=.
11040 for ac_exec_ext in '' $ac_executable_extensions; do
11041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11042 ac_cv_prog_GDC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11043 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11052 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11053 if test -n "$GDC_FOR_TARGET"; then
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11055 $as_echo "$GDC_FOR_TARGET" >&6; }
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11058 $as_echo "no
" >&6; }
11063 if test -z "$ac_cv_prog_GDC_FOR_TARGET" && test $build = $target ; then
11064 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11065 set dummy ${ncn_progname}; ac_word=$2
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11067 $as_echo_n "checking
for $ac_word...
" >&6; }
11068 if ${ac_cv_prog_GDC_FOR_TARGET+:} false; then :
11069 $as_echo_n "(cached
) " >&6
11071 if test -n "$GDC_FOR_TARGET"; then
11072 ac_cv_prog_GDC_FOR_TARGET="$GDC_FOR_TARGET" # Let the user override the test.
11074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11075 for as_dir in $PATH
11078 test -z "$as_dir" && as_dir=.
11079 for ac_exec_ext in '' $ac_executable_extensions; do
11080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11081 ac_cv_prog_GDC_FOR_TARGET="${ncn_progname}"
11082 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11091 GDC_FOR_TARGET=$ac_cv_prog_GDC_FOR_TARGET
11092 if test -n "$GDC_FOR_TARGET"; then
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GDC_FOR_TARGET" >&5
11094 $as_echo "$GDC_FOR_TARGET" >&6; }
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11097 $as_echo "no
" >&6; }
11102 test -n "$ac_cv_prog_GDC_FOR_TARGET" && break
11106 if test -z "$ac_cv_prog_GDC_FOR_TARGET" ; then
11108 if test $build = $target ; then
11109 GDC_FOR_TARGET="$2"
11111 GDC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11114 GDC_FOR_TARGET="$ac_cv_prog_GDC_FOR_TARGET"
11119 cat > conftest.c << \EOF
11124 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11125 have_gcc_for_target=yes
11127 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11128 have_gcc_for_target=no
11135 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11136 if test -n "$with_build_time_tools"; then
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11138 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11139 if test -x $with_build_time_tools/ar; then
11140 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11141 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11143 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11146 $as_echo "no
" >&6; }
11148 elif test $build != $host && test $have_gcc_for_target = yes; then
11149 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11150 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11151 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11154 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11155 # Extract the first word of "ar", so it can be a program name with args.
11156 set dummy ar; ac_word=$2
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11158 $as_echo_n "checking
for $ac_word...
" >&6; }
11159 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
11160 $as_echo_n "(cached
) " >&6
11162 case $AR_FOR_TARGET in
11164 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11168 for as_dir in $gcc_cv_tool_dirs
11171 test -z "$as_dir" && as_dir=.
11172 for ac_exec_ext in '' $ac_executable_extensions; do
11173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11174 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11175 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11185 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11186 if test -n "$AR_FOR_TARGET"; then
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11188 $as_echo "$AR_FOR_TARGET" >&6; }
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11191 $as_echo "no
" >&6; }
11196 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11199 if test -n "$AR_FOR_TARGET"; then
11200 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11201 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11202 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11205 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11206 for ncn_progname in ar; do
11207 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11208 set dummy ${ncn_progname}; ac_word=$2
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11210 $as_echo_n "checking
for $ac_word...
" >&6; }
11211 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11212 $as_echo_n "(cached
) " >&6
11214 if test -n "$AR_FOR_TARGET"; then
11215 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11218 for as_dir in $PATH
11221 test -z "$as_dir" && as_dir=.
11222 for ac_exec_ext in '' $ac_executable_extensions; do
11223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11224 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11234 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11235 if test -n "$AR_FOR_TARGET"; then
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11237 $as_echo "$AR_FOR_TARGET" >&6; }
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11240 $as_echo "no
" >&6; }
11247 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11248 for ncn_progname in ar; do
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11250 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11251 if test -x $with_build_time_tools/${ncn_progname}; then
11252 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11254 $as_echo "yes" >&6; }
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11258 $as_echo "no
" >&6; }
11263 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11264 for ncn_progname in ar; do
11265 if test -n "$ncn_target_tool_prefix"; then
11266 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11267 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11269 $as_echo_n "checking
for $ac_word...
" >&6; }
11270 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11271 $as_echo_n "(cached
) " >&6
11273 if test -n "$AR_FOR_TARGET"; then
11274 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11277 for as_dir in $PATH
11280 test -z "$as_dir" && as_dir=.
11281 for ac_exec_ext in '' $ac_executable_extensions; do
11282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11283 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11293 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11294 if test -n "$AR_FOR_TARGET"; then
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11296 $as_echo "$AR_FOR_TARGET" >&6; }
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11299 $as_echo "no
" >&6; }
11304 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11305 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11306 set dummy ${ncn_progname}; ac_word=$2
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11308 $as_echo_n "checking
for $ac_word...
" >&6; }
11309 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
11310 $as_echo_n "(cached
) " >&6
11312 if test -n "$AR_FOR_TARGET"; then
11313 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11316 for as_dir in $PATH
11319 test -z "$as_dir" && as_dir=.
11320 for ac_exec_ext in '' $ac_executable_extensions; do
11321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11322 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11332 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11333 if test -n "$AR_FOR_TARGET"; then
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11335 $as_echo "$AR_FOR_TARGET" >&6; }
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11338 $as_echo "no
" >&6; }
11343 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11347 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11349 if test $build = $target ; then
11352 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11355 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11359 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11365 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11366 if test -n "$with_build_time_tools"; then
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11368 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11369 if test -x $with_build_time_tools/as; then
11370 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11371 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11373 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11376 $as_echo "no
" >&6; }
11378 elif test $build != $host && test $have_gcc_for_target = yes; then
11379 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11380 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11381 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11384 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11385 # Extract the first word of "as
", so it can be a program name with args.
11386 set dummy as; ac_word=$2
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11388 $as_echo_n "checking
for $ac_word...
" >&6; }
11389 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
11390 $as_echo_n "(cached
) " >&6
11392 case $AS_FOR_TARGET in
11394 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11398 for as_dir in $gcc_cv_tool_dirs
11401 test -z "$as_dir" && as_dir=.
11402 for ac_exec_ext in '' $ac_executable_extensions; do
11403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11404 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11405 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11415 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11416 if test -n "$AS_FOR_TARGET"; then
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11418 $as_echo "$AS_FOR_TARGET" >&6; }
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11421 $as_echo "no
" >&6; }
11426 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11429 if test -n "$AS_FOR_TARGET"; then
11430 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11431 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11432 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11435 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11436 for ncn_progname in as; do
11437 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11438 set dummy ${ncn_progname}; ac_word=$2
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11440 $as_echo_n "checking
for $ac_word...
" >&6; }
11441 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11442 $as_echo_n "(cached
) " >&6
11444 if test -n "$AS_FOR_TARGET"; then
11445 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11448 for as_dir in $PATH
11451 test -z "$as_dir" && as_dir=.
11452 for ac_exec_ext in '' $ac_executable_extensions; do
11453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11454 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11455 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11464 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11465 if test -n "$AS_FOR_TARGET"; then
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11467 $as_echo "$AS_FOR_TARGET" >&6; }
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11470 $as_echo "no
" >&6; }
11477 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11478 for ncn_progname in as; do
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11480 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11481 if test -x $with_build_time_tools/${ncn_progname}; then
11482 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11484 $as_echo "yes" >&6; }
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11488 $as_echo "no
" >&6; }
11493 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11494 for ncn_progname in as; do
11495 if test -n "$ncn_target_tool_prefix"; then
11496 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11497 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11499 $as_echo_n "checking
for $ac_word...
" >&6; }
11500 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11501 $as_echo_n "(cached
) " >&6
11503 if test -n "$AS_FOR_TARGET"; then
11504 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11507 for as_dir in $PATH
11510 test -z "$as_dir" && as_dir=.
11511 for ac_exec_ext in '' $ac_executable_extensions; do
11512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11513 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11514 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11523 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11524 if test -n "$AS_FOR_TARGET"; then
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11526 $as_echo "$AS_FOR_TARGET" >&6; }
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11529 $as_echo "no
" >&6; }
11534 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11535 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11536 set dummy ${ncn_progname}; ac_word=$2
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11538 $as_echo_n "checking
for $ac_word...
" >&6; }
11539 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11540 $as_echo_n "(cached
) " >&6
11542 if test -n "$AS_FOR_TARGET"; then
11543 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11546 for as_dir in $PATH
11549 test -z "$as_dir" && as_dir=.
11550 for ac_exec_ext in '' $ac_executable_extensions; do
11551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11552 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11553 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11562 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11563 if test -n "$AS_FOR_TARGET"; then
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11565 $as_echo "$AS_FOR_TARGET" >&6; }
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11568 $as_echo "no
" >&6; }
11573 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11577 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11579 if test $build = $target ; then
11582 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11585 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11589 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11595 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11596 if test -n "$with_build_time_tools"; then
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11598 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11599 if test -x $with_build_time_tools/dlltool; then
11600 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11601 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11603 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11606 $as_echo "no
" >&6; }
11608 elif test $build != $host && test $have_gcc_for_target = yes; then
11609 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11610 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11611 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11614 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11615 # Extract the first word of "dlltool
", so it can be a program name with args.
11616 set dummy dlltool; ac_word=$2
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11618 $as_echo_n "checking
for $ac_word...
" >&6; }
11619 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
11620 $as_echo_n "(cached
) " >&6
11622 case $DLLTOOL_FOR_TARGET in
11624 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11628 for as_dir in $gcc_cv_tool_dirs
11631 test -z "$as_dir" && as_dir=.
11632 for ac_exec_ext in '' $ac_executable_extensions; do
11633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11634 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11635 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11645 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11646 if test -n "$DLLTOOL_FOR_TARGET"; then
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11648 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11651 $as_echo "no
" >&6; }
11656 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11659 if test -n "$DLLTOOL_FOR_TARGET"; then
11660 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11661 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11662 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11665 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11666 for ncn_progname in dlltool; do
11667 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11668 set dummy ${ncn_progname}; ac_word=$2
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11670 $as_echo_n "checking
for $ac_word...
" >&6; }
11671 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11672 $as_echo_n "(cached
) " >&6
11674 if test -n "$DLLTOOL_FOR_TARGET"; then
11675 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11678 for as_dir in $PATH
11681 test -z "$as_dir" && as_dir=.
11682 for ac_exec_ext in '' $ac_executable_extensions; do
11683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11684 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11694 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11695 if test -n "$DLLTOOL_FOR_TARGET"; then
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11697 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11700 $as_echo "no
" >&6; }
11707 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11708 for ncn_progname in dlltool; do
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11710 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11711 if test -x $with_build_time_tools/${ncn_progname}; then
11712 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11714 $as_echo "yes" >&6; }
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11718 $as_echo "no
" >&6; }
11723 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11724 for ncn_progname in dlltool; do
11725 if test -n "$ncn_target_tool_prefix"; then
11726 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11727 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11729 $as_echo_n "checking
for $ac_word...
" >&6; }
11730 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11731 $as_echo_n "(cached
) " >&6
11733 if test -n "$DLLTOOL_FOR_TARGET"; then
11734 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11737 for as_dir in $PATH
11740 test -z "$as_dir" && as_dir=.
11741 for ac_exec_ext in '' $ac_executable_extensions; do
11742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11743 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11753 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11754 if test -n "$DLLTOOL_FOR_TARGET"; then
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11756 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11759 $as_echo "no
" >&6; }
11764 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11765 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11766 set dummy ${ncn_progname}; ac_word=$2
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11768 $as_echo_n "checking
for $ac_word...
" >&6; }
11769 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11770 $as_echo_n "(cached
) " >&6
11772 if test -n "$DLLTOOL_FOR_TARGET"; then
11773 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11776 for as_dir in $PATH
11779 test -z "$as_dir" && as_dir=.
11780 for ac_exec_ext in '' $ac_executable_extensions; do
11781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11782 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11792 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11793 if test -n "$DLLTOOL_FOR_TARGET"; then
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11795 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11798 $as_echo "no
" >&6; }
11803 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11807 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11809 if test $build = $target ; then
11810 DLLTOOL_FOR_TARGET="$2"
11812 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11815 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11819 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11825 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11826 if test -n "$with_build_time_tools"; then
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11828 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11829 if test -x $with_build_time_tools/ld; then
11830 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11831 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11833 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11836 $as_echo "no
" >&6; }
11838 elif test $build != $host && test $have_gcc_for_target = yes; then
11839 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11840 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11841 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11844 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11845 # Extract the first word of "ld
", so it can be a program name with args.
11846 set dummy ld; ac_word=$2
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11848 $as_echo_n "checking
for $ac_word...
" >&6; }
11849 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
11850 $as_echo_n "(cached
) " >&6
11852 case $LD_FOR_TARGET in
11854 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11858 for as_dir in $gcc_cv_tool_dirs
11861 test -z "$as_dir" && as_dir=.
11862 for ac_exec_ext in '' $ac_executable_extensions; do
11863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11864 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11865 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11875 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11876 if test -n "$LD_FOR_TARGET"; then
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11878 $as_echo "$LD_FOR_TARGET" >&6; }
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11881 $as_echo "no
" >&6; }
11886 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11889 if test -n "$LD_FOR_TARGET"; then
11890 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11891 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11892 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11895 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11896 for ncn_progname in ld; do
11897 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11898 set dummy ${ncn_progname}; ac_word=$2
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11900 $as_echo_n "checking
for $ac_word...
" >&6; }
11901 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11902 $as_echo_n "(cached
) " >&6
11904 if test -n "$LD_FOR_TARGET"; then
11905 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11908 for as_dir in $PATH
11911 test -z "$as_dir" && as_dir=.
11912 for ac_exec_ext in '' $ac_executable_extensions; do
11913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11914 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11915 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11924 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11925 if test -n "$LD_FOR_TARGET"; then
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11927 $as_echo "$LD_FOR_TARGET" >&6; }
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11930 $as_echo "no
" >&6; }
11937 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11938 for ncn_progname in ld; do
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11940 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11941 if test -x $with_build_time_tools/${ncn_progname}; then
11942 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11944 $as_echo "yes" >&6; }
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11948 $as_echo "no
" >&6; }
11953 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11954 for ncn_progname in ld; do
11955 if test -n "$ncn_target_tool_prefix"; then
11956 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11957 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11959 $as_echo_n "checking
for $ac_word...
" >&6; }
11960 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11961 $as_echo_n "(cached
) " >&6
11963 if test -n "$LD_FOR_TARGET"; then
11964 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11967 for as_dir in $PATH
11970 test -z "$as_dir" && as_dir=.
11971 for ac_exec_ext in '' $ac_executable_extensions; do
11972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11973 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11974 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11983 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11984 if test -n "$LD_FOR_TARGET"; then
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11986 $as_echo "$LD_FOR_TARGET" >&6; }
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11989 $as_echo "no
" >&6; }
11994 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11995 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11996 set dummy ${ncn_progname}; ac_word=$2
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11998 $as_echo_n "checking
for $ac_word...
" >&6; }
11999 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
12000 $as_echo_n "(cached
) " >&6
12002 if test -n "$LD_FOR_TARGET"; then
12003 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12006 for as_dir in $PATH
12009 test -z "$as_dir" && as_dir=.
12010 for ac_exec_ext in '' $ac_executable_extensions; do
12011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12012 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12013 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12022 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12023 if test -n "$LD_FOR_TARGET"; then
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12025 $as_echo "$LD_FOR_TARGET" >&6; }
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12028 $as_echo "no
" >&6; }
12033 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
12037 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
12039 if test $build = $target ; then
12042 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
12045 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
12049 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12055 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12056 if test -n "$with_build_time_tools"; then
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
12058 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
12059 if test -x $with_build_time_tools/lipo; then
12060 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12061 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
12063 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12066 $as_echo "no
" >&6; }
12068 elif test $build != $host && test $have_gcc_for_target = yes; then
12069 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12070 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12071 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12074 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12075 # Extract the first word of "lipo
", so it can be a program name with args.
12076 set dummy lipo; ac_word=$2
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12078 $as_echo_n "checking
for $ac_word...
" >&6; }
12079 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
12080 $as_echo_n "(cached
) " >&6
12082 case $LIPO_FOR_TARGET in
12084 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12088 for as_dir in $gcc_cv_tool_dirs
12091 test -z "$as_dir" && as_dir=.
12092 for ac_exec_ext in '' $ac_executable_extensions; do
12093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12094 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12095 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12105 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12106 if test -n "$LIPO_FOR_TARGET"; then
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12108 $as_echo "$LIPO_FOR_TARGET" >&6; }
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12111 $as_echo "no
" >&6; }
12116 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12119 if test -n "$LIPO_FOR_TARGET"; then
12120 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12121 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12122 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12125 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12126 for ncn_progname in lipo; do
12127 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12128 set dummy ${ncn_progname}; ac_word=$2
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12130 $as_echo_n "checking
for $ac_word...
" >&6; }
12131 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12132 $as_echo_n "(cached
) " >&6
12134 if test -n "$LIPO_FOR_TARGET"; then
12135 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12138 for as_dir in $PATH
12141 test -z "$as_dir" && as_dir=.
12142 for ac_exec_ext in '' $ac_executable_extensions; do
12143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12144 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12154 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12155 if test -n "$LIPO_FOR_TARGET"; then
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12157 $as_echo "$LIPO_FOR_TARGET" >&6; }
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12160 $as_echo "no
" >&6; }
12167 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12168 for ncn_progname in lipo; do
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12170 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12171 if test -x $with_build_time_tools/${ncn_progname}; then
12172 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12174 $as_echo "yes" >&6; }
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12178 $as_echo "no
" >&6; }
12183 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12184 for ncn_progname in lipo; do
12185 if test -n "$ncn_target_tool_prefix"; then
12186 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12187 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12189 $as_echo_n "checking
for $ac_word...
" >&6; }
12190 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12191 $as_echo_n "(cached
) " >&6
12193 if test -n "$LIPO_FOR_TARGET"; then
12194 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12197 for as_dir in $PATH
12200 test -z "$as_dir" && as_dir=.
12201 for ac_exec_ext in '' $ac_executable_extensions; do
12202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12203 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12204 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12213 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12214 if test -n "$LIPO_FOR_TARGET"; then
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12216 $as_echo "$LIPO_FOR_TARGET" >&6; }
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12219 $as_echo "no
" >&6; }
12224 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12225 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12226 set dummy ${ncn_progname}; ac_word=$2
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12228 $as_echo_n "checking
for $ac_word...
" >&6; }
12229 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
12230 $as_echo_n "(cached
) " >&6
12232 if test -n "$LIPO_FOR_TARGET"; then
12233 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12236 for as_dir in $PATH
12239 test -z "$as_dir" && as_dir=.
12240 for ac_exec_ext in '' $ac_executable_extensions; do
12241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12242 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12243 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12252 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12253 if test -n "$LIPO_FOR_TARGET"; then
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12255 $as_echo "$LIPO_FOR_TARGET" >&6; }
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12258 $as_echo "no
" >&6; }
12263 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12267 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12269 if test $build = $target ; then
12270 LIPO_FOR_TARGET="$2"
12272 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12275 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12279 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12285 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12286 if test -n "$with_build_time_tools"; then
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12288 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12289 if test -x $with_build_time_tools/nm; then
12290 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12291 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12293 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12296 $as_echo "no
" >&6; }
12298 elif test $build != $host && test $have_gcc_for_target = yes; then
12299 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12300 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12301 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12304 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12305 # Extract the first word of "nm
", so it can be a program name with args.
12306 set dummy nm; ac_word=$2
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12308 $as_echo_n "checking
for $ac_word...
" >&6; }
12309 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
12310 $as_echo_n "(cached
) " >&6
12312 case $NM_FOR_TARGET in
12314 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12318 for as_dir in $gcc_cv_tool_dirs
12321 test -z "$as_dir" && as_dir=.
12322 for ac_exec_ext in '' $ac_executable_extensions; do
12323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12324 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12325 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12335 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12336 if test -n "$NM_FOR_TARGET"; then
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12338 $as_echo "$NM_FOR_TARGET" >&6; }
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12341 $as_echo "no
" >&6; }
12346 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12349 if test -n "$NM_FOR_TARGET"; then
12350 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12351 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12352 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12355 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12356 for ncn_progname in nm; do
12357 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12358 set dummy ${ncn_progname}; ac_word=$2
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12360 $as_echo_n "checking
for $ac_word...
" >&6; }
12361 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12362 $as_echo_n "(cached
) " >&6
12364 if test -n "$NM_FOR_TARGET"; then
12365 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12368 for as_dir in $PATH
12371 test -z "$as_dir" && as_dir=.
12372 for ac_exec_ext in '' $ac_executable_extensions; do
12373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12374 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12375 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12384 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12385 if test -n "$NM_FOR_TARGET"; then
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12387 $as_echo "$NM_FOR_TARGET" >&6; }
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12390 $as_echo "no
" >&6; }
12397 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12398 for ncn_progname in nm; do
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12400 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12401 if test -x $with_build_time_tools/${ncn_progname}; then
12402 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12404 $as_echo "yes" >&6; }
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12408 $as_echo "no
" >&6; }
12413 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12414 for ncn_progname in nm; do
12415 if test -n "$ncn_target_tool_prefix"; then
12416 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12417 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12419 $as_echo_n "checking
for $ac_word...
" >&6; }
12420 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12421 $as_echo_n "(cached
) " >&6
12423 if test -n "$NM_FOR_TARGET"; then
12424 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12427 for as_dir in $PATH
12430 test -z "$as_dir" && as_dir=.
12431 for ac_exec_ext in '' $ac_executable_extensions; do
12432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12433 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12443 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12444 if test -n "$NM_FOR_TARGET"; then
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12446 $as_echo "$NM_FOR_TARGET" >&6; }
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12449 $as_echo "no
" >&6; }
12454 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12455 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12456 set dummy ${ncn_progname}; ac_word=$2
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12458 $as_echo_n "checking
for $ac_word...
" >&6; }
12459 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12460 $as_echo_n "(cached
) " >&6
12462 if test -n "$NM_FOR_TARGET"; then
12463 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12466 for as_dir in $PATH
12469 test -z "$as_dir" && as_dir=.
12470 for ac_exec_ext in '' $ac_executable_extensions; do
12471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12472 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12473 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12482 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12483 if test -n "$NM_FOR_TARGET"; then
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12485 $as_echo "$NM_FOR_TARGET" >&6; }
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12488 $as_echo "no
" >&6; }
12493 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12497 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12499 if test $build = $target ; then
12502 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12505 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12509 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12515 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12516 if test -n "$with_build_time_tools"; then
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12518 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12519 if test -x $with_build_time_tools/objcopy; then
12520 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12521 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12523 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12526 $as_echo "no
" >&6; }
12528 elif test $build != $host && test $have_gcc_for_target = yes; then
12529 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12530 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12531 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12534 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12535 # Extract the first word of "objcopy
", so it can be a program name with args.
12536 set dummy objcopy; ac_word=$2
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12538 $as_echo_n "checking
for $ac_word...
" >&6; }
12539 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
12540 $as_echo_n "(cached
) " >&6
12542 case $OBJCOPY_FOR_TARGET in
12544 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12548 for as_dir in $gcc_cv_tool_dirs
12551 test -z "$as_dir" && as_dir=.
12552 for ac_exec_ext in '' $ac_executable_extensions; do
12553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12554 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12555 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12565 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12566 if test -n "$OBJCOPY_FOR_TARGET"; then
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12568 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12571 $as_echo "no
" >&6; }
12576 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12579 if test -n "$OBJCOPY_FOR_TARGET"; then
12580 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12581 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12582 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12585 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12586 for ncn_progname in objcopy; do
12587 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12588 set dummy ${ncn_progname}; ac_word=$2
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12590 $as_echo_n "checking
for $ac_word...
" >&6; }
12591 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12592 $as_echo_n "(cached
) " >&6
12594 if test -n "$OBJCOPY_FOR_TARGET"; then
12595 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12598 for as_dir in $PATH
12601 test -z "$as_dir" && as_dir=.
12602 for ac_exec_ext in '' $ac_executable_extensions; do
12603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12604 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12614 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12615 if test -n "$OBJCOPY_FOR_TARGET"; then
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12617 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12620 $as_echo "no
" >&6; }
12627 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12628 for ncn_progname in objcopy; do
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12630 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12631 if test -x $with_build_time_tools/${ncn_progname}; then
12632 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12634 $as_echo "yes" >&6; }
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12638 $as_echo "no
" >&6; }
12643 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12644 for ncn_progname in objcopy; do
12645 if test -n "$ncn_target_tool_prefix"; then
12646 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12647 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12649 $as_echo_n "checking
for $ac_word...
" >&6; }
12650 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12651 $as_echo_n "(cached
) " >&6
12653 if test -n "$OBJCOPY_FOR_TARGET"; then
12654 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12657 for as_dir in $PATH
12660 test -z "$as_dir" && as_dir=.
12661 for ac_exec_ext in '' $ac_executable_extensions; do
12662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12663 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12664 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12673 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12674 if test -n "$OBJCOPY_FOR_TARGET"; then
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12676 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12679 $as_echo "no
" >&6; }
12684 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12685 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12686 set dummy ${ncn_progname}; ac_word=$2
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12688 $as_echo_n "checking
for $ac_word...
" >&6; }
12689 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12690 $as_echo_n "(cached
) " >&6
12692 if test -n "$OBJCOPY_FOR_TARGET"; then
12693 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12696 for as_dir in $PATH
12699 test -z "$as_dir" && as_dir=.
12700 for ac_exec_ext in '' $ac_executable_extensions; do
12701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12702 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12712 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12713 if test -n "$OBJCOPY_FOR_TARGET"; then
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12715 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12718 $as_echo "no
" >&6; }
12723 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12727 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12729 if test $build = $target ; then
12730 OBJCOPY_FOR_TARGET="$2"
12732 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12735 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12739 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12745 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12746 if test -n "$with_build_time_tools"; then
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12748 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12749 if test -x $with_build_time_tools/objdump; then
12750 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12751 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12753 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12756 $as_echo "no
" >&6; }
12758 elif test $build != $host && test $have_gcc_for_target = yes; then
12759 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12760 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12761 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12764 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12765 # Extract the first word of "objdump
", so it can be a program name with args.
12766 set dummy objdump; ac_word=$2
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12768 $as_echo_n "checking
for $ac_word...
" >&6; }
12769 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
12770 $as_echo_n "(cached
) " >&6
12772 case $OBJDUMP_FOR_TARGET in
12774 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12778 for as_dir in $gcc_cv_tool_dirs
12781 test -z "$as_dir" && as_dir=.
12782 for ac_exec_ext in '' $ac_executable_extensions; do
12783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12784 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12785 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12795 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12796 if test -n "$OBJDUMP_FOR_TARGET"; then
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12798 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12801 $as_echo "no
" >&6; }
12806 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12809 if test -n "$OBJDUMP_FOR_TARGET"; then
12810 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12811 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12812 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12815 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12816 for ncn_progname in objdump; do
12817 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12818 set dummy ${ncn_progname}; ac_word=$2
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12820 $as_echo_n "checking
for $ac_word...
" >&6; }
12821 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12822 $as_echo_n "(cached
) " >&6
12824 if test -n "$OBJDUMP_FOR_TARGET"; then
12825 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12828 for as_dir in $PATH
12831 test -z "$as_dir" && as_dir=.
12832 for ac_exec_ext in '' $ac_executable_extensions; do
12833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12834 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12844 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12845 if test -n "$OBJDUMP_FOR_TARGET"; then
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12847 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12850 $as_echo "no
" >&6; }
12857 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12858 for ncn_progname in objdump; do
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12860 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12861 if test -x $with_build_time_tools/${ncn_progname}; then
12862 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12864 $as_echo "yes" >&6; }
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12868 $as_echo "no
" >&6; }
12873 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12874 for ncn_progname in objdump; do
12875 if test -n "$ncn_target_tool_prefix"; then
12876 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12877 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12879 $as_echo_n "checking
for $ac_word...
" >&6; }
12880 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12881 $as_echo_n "(cached
) " >&6
12883 if test -n "$OBJDUMP_FOR_TARGET"; then
12884 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12887 for as_dir in $PATH
12890 test -z "$as_dir" && as_dir=.
12891 for ac_exec_ext in '' $ac_executable_extensions; do
12892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12893 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12903 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12904 if test -n "$OBJDUMP_FOR_TARGET"; then
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12906 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12909 $as_echo "no
" >&6; }
12914 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12915 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12916 set dummy ${ncn_progname}; ac_word=$2
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12918 $as_echo_n "checking
for $ac_word...
" >&6; }
12919 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12920 $as_echo_n "(cached
) " >&6
12922 if test -n "$OBJDUMP_FOR_TARGET"; then
12923 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12926 for as_dir in $PATH
12929 test -z "$as_dir" && as_dir=.
12930 for ac_exec_ext in '' $ac_executable_extensions; do
12931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12932 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12933 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12942 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12943 if test -n "$OBJDUMP_FOR_TARGET"; then
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12945 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12948 $as_echo "no
" >&6; }
12953 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12957 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12959 if test $build = $target ; then
12960 OBJDUMP_FOR_TARGET="$2"
12962 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12965 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12969 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12975 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
12976 if test -n "$with_build_time_tools"; then
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for otool
in $with_build_time_tools" >&5
12978 $as_echo_n "checking
for otool
in $with_build_time_tools...
" >&6; }
12979 if test -x $with_build_time_tools/otool; then
12980 OTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/otool
12981 ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OTOOL_FOR_TARGET" >&5
12983 $as_echo "$ac_cv_path_OTOOL_FOR_TARGET" >&6; }
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12986 $as_echo "no
" >&6; }
12988 elif test $build != $host && test $have_gcc_for_target = yes; then
12989 OTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=otool`
12990 test $OTOOL_FOR_TARGET = otool && OTOOL_FOR_TARGET=
12991 test -n "$OTOOL_FOR_TARGET" && ac_cv_path_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
12994 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12995 # Extract the first word of "otool
", so it can be a program name with args.
12996 set dummy otool; ac_word=$2
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12998 $as_echo_n "checking
for $ac_word...
" >&6; }
12999 if ${ac_cv_path_OTOOL_FOR_TARGET+:} false; then :
13000 $as_echo_n "(cached
) " >&6
13002 case $OTOOL_FOR_TARGET in
13004 ac_cv_path_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test with a path.
13007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13008 for as_dir in $gcc_cv_tool_dirs
13011 test -z "$as_dir" && as_dir=.
13012 for ac_exec_ext in '' $ac_executable_extensions; do
13013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13014 ac_cv_path_OTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13015 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13025 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
13026 if test -n "$OTOOL_FOR_TARGET"; then
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13028 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13031 $as_echo "no
" >&6; }
13036 if test -z "$ac_cv_path_OTOOL_FOR_TARGET" ; then
13039 if test -n "$OTOOL_FOR_TARGET"; then
13040 ac_cv_prog_OTOOL_FOR_TARGET=$OTOOL_FOR_TARGET
13041 elif test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13042 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13045 if test -n "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13046 for ncn_progname in otool; do
13047 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13048 set dummy ${ncn_progname}; ac_word=$2
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13050 $as_echo_n "checking
for $ac_word...
" >&6; }
13051 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13052 $as_echo_n "(cached
) " >&6
13054 if test -n "$OTOOL_FOR_TARGET"; then
13055 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13058 for as_dir in $PATH
13061 test -z "$as_dir" && as_dir=.
13062 for ac_exec_ext in '' $ac_executable_extensions; do
13063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13064 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
13065 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13074 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13075 if test -n "$OTOOL_FOR_TARGET"; then
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13077 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13080 $as_echo "no
" >&6; }
13087 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
13088 for ncn_progname in otool; do
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13090 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13091 if test -x $with_build_time_tools/${ncn_progname}; then
13092 ac_cv_prog_OTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13094 $as_echo "yes" >&6; }
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13098 $as_echo "no
" >&6; }
13103 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET"; then
13104 for ncn_progname in otool; do
13105 if test -n "$ncn_target_tool_prefix"; then
13106 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13107 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13109 $as_echo_n "checking
for $ac_word...
" >&6; }
13110 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13111 $as_echo_n "(cached
) " >&6
13113 if test -n "$OTOOL_FOR_TARGET"; then
13114 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13117 for as_dir in $PATH
13120 test -z "$as_dir" && as_dir=.
13121 for ac_exec_ext in '' $ac_executable_extensions; do
13122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13123 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13124 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13133 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13134 if test -n "$OTOOL_FOR_TARGET"; then
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13136 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13139 $as_echo "no
" >&6; }
13144 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" && test $build = $target ; then
13145 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13146 set dummy ${ncn_progname}; ac_word=$2
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13148 $as_echo_n "checking
for $ac_word...
" >&6; }
13149 if ${ac_cv_prog_OTOOL_FOR_TARGET+:} false; then :
13150 $as_echo_n "(cached
) " >&6
13152 if test -n "$OTOOL_FOR_TARGET"; then
13153 ac_cv_prog_OTOOL_FOR_TARGET="$OTOOL_FOR_TARGET" # Let the user override the test.
13155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13156 for as_dir in $PATH
13159 test -z "$as_dir" && as_dir=.
13160 for ac_exec_ext in '' $ac_executable_extensions; do
13161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13162 ac_cv_prog_OTOOL_FOR_TARGET="${ncn_progname}"
13163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13172 OTOOL_FOR_TARGET=$ac_cv_prog_OTOOL_FOR_TARGET
13173 if test -n "$OTOOL_FOR_TARGET"; then
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL_FOR_TARGET" >&5
13175 $as_echo "$OTOOL_FOR_TARGET" >&6; }
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13178 $as_echo "no
" >&6; }
13183 test -n "$ac_cv_prog_OTOOL_FOR_TARGET" && break
13187 if test -z "$ac_cv_prog_OTOOL_FOR_TARGET" ; then
13189 if test $build = $target ; then
13190 OTOOL_FOR_TARGET="$2"
13192 OTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
13195 OTOOL_FOR_TARGET="$ac_cv_prog_OTOOL_FOR_TARGET"
13199 OTOOL_FOR_TARGET=$ac_cv_path_OTOOL_FOR_TARGET
13205 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13206 if test -n "$with_build_time_tools"; then
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
13208 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
13209 if test -x $with_build_time_tools/ranlib; then
13210 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
13211 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
13213 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13216 $as_echo "no
" >&6; }
13218 elif test $build != $host && test $have_gcc_for_target = yes; then
13219 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
13220 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
13221 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13224 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13225 # Extract the first word of "ranlib
", so it can be a program name with args.
13226 set dummy ranlib; ac_word=$2
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13228 $as_echo_n "checking
for $ac_word...
" >&6; }
13229 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
13230 $as_echo_n "(cached
) " >&6
13232 case $RANLIB_FOR_TARGET in
13234 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
13237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13238 for as_dir in $gcc_cv_tool_dirs
13241 test -z "$as_dir" && as_dir=.
13242 for ac_exec_ext in '' $ac_executable_extensions; do
13243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13244 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13255 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13256 if test -n "$RANLIB_FOR_TARGET"; then
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13258 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13261 $as_echo "no
" >&6; }
13266 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
13269 if test -n "$RANLIB_FOR_TARGET"; then
13270 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
13271 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13272 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13275 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13276 for ncn_progname in ranlib; do
13277 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13278 set dummy ${ncn_progname}; ac_word=$2
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13280 $as_echo_n "checking
for $ac_word...
" >&6; }
13281 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13282 $as_echo_n "(cached
) " >&6
13284 if test -n "$RANLIB_FOR_TARGET"; then
13285 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13288 for as_dir in $PATH
13291 test -z "$as_dir" && as_dir=.
13292 for ac_exec_ext in '' $ac_executable_extensions; do
13293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13294 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13295 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13304 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13305 if test -n "$RANLIB_FOR_TARGET"; then
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13307 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13310 $as_echo "no
" >&6; }
13317 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
13318 for ncn_progname in ranlib; do
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13320 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13321 if test -x $with_build_time_tools/${ncn_progname}; then
13322 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13324 $as_echo "yes" >&6; }
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13328 $as_echo "no
" >&6; }
13333 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13334 for ncn_progname in ranlib; do
13335 if test -n "$ncn_target_tool_prefix"; then
13336 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13337 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13339 $as_echo_n "checking
for $ac_word...
" >&6; }
13340 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13341 $as_echo_n "(cached
) " >&6
13343 if test -n "$RANLIB_FOR_TARGET"; then
13344 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13347 for as_dir in $PATH
13350 test -z "$as_dir" && as_dir=.
13351 for ac_exec_ext in '' $ac_executable_extensions; do
13352 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13353 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13354 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13363 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13364 if test -n "$RANLIB_FOR_TARGET"; then
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13366 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13369 $as_echo "no
" >&6; }
13374 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
13375 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13376 set dummy ${ncn_progname}; ac_word=$2
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13378 $as_echo_n "checking
for $ac_word...
" >&6; }
13379 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
13380 $as_echo_n "(cached
) " >&6
13382 if test -n "$RANLIB_FOR_TARGET"; then
13383 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13386 for as_dir in $PATH
13389 test -z "$as_dir" && as_dir=.
13390 for ac_exec_ext in '' $ac_executable_extensions; do
13391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13392 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13393 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13402 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13403 if test -n "$RANLIB_FOR_TARGET"; then
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13405 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13408 $as_echo "no
" >&6; }
13413 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
13417 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
13419 if test $build = $target ; then
13420 RANLIB_FOR_TARGET="$2"
13422 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13425 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13429 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13435 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13436 if test -n "$with_build_time_tools"; then
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13438 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13439 if test -x $with_build_time_tools/readelf; then
13440 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13441 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13443 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13446 $as_echo "no
" >&6; }
13448 elif test $build != $host && test $have_gcc_for_target = yes; then
13449 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13450 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13451 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13454 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13455 # Extract the first word of "readelf
", so it can be a program name with args.
13456 set dummy readelf; ac_word=$2
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13458 $as_echo_n "checking
for $ac_word...
" >&6; }
13459 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
13460 $as_echo_n "(cached
) " >&6
13462 case $READELF_FOR_TARGET in
13464 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13468 for as_dir in $gcc_cv_tool_dirs
13471 test -z "$as_dir" && as_dir=.
13472 for ac_exec_ext in '' $ac_executable_extensions; do
13473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13474 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13475 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13485 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13486 if test -n "$READELF_FOR_TARGET"; then
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13488 $as_echo "$READELF_FOR_TARGET" >&6; }
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13491 $as_echo "no
" >&6; }
13496 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13499 if test -n "$READELF_FOR_TARGET"; then
13500 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13501 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13502 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13505 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13506 for ncn_progname in readelf; do
13507 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13508 set dummy ${ncn_progname}; ac_word=$2
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13510 $as_echo_n "checking
for $ac_word...
" >&6; }
13511 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13512 $as_echo_n "(cached
) " >&6
13514 if test -n "$READELF_FOR_TARGET"; then
13515 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13518 for as_dir in $PATH
13521 test -z "$as_dir" && as_dir=.
13522 for ac_exec_ext in '' $ac_executable_extensions; do
13523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13524 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13525 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13534 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13535 if test -n "$READELF_FOR_TARGET"; then
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13537 $as_echo "$READELF_FOR_TARGET" >&6; }
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13540 $as_echo "no
" >&6; }
13547 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13548 for ncn_progname in readelf; do
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13550 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13551 if test -x $with_build_time_tools/${ncn_progname}; then
13552 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13554 $as_echo "yes" >&6; }
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13558 $as_echo "no
" >&6; }
13563 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13564 for ncn_progname in readelf; do
13565 if test -n "$ncn_target_tool_prefix"; then
13566 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13567 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13569 $as_echo_n "checking
for $ac_word...
" >&6; }
13570 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13571 $as_echo_n "(cached
) " >&6
13573 if test -n "$READELF_FOR_TARGET"; then
13574 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13577 for as_dir in $PATH
13580 test -z "$as_dir" && as_dir=.
13581 for ac_exec_ext in '' $ac_executable_extensions; do
13582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13583 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13584 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13593 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13594 if test -n "$READELF_FOR_TARGET"; then
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13596 $as_echo "$READELF_FOR_TARGET" >&6; }
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13599 $as_echo "no
" >&6; }
13604 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13605 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13606 set dummy ${ncn_progname}; ac_word=$2
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13608 $as_echo_n "checking
for $ac_word...
" >&6; }
13609 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13610 $as_echo_n "(cached
) " >&6
13612 if test -n "$READELF_FOR_TARGET"; then
13613 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13616 for as_dir in $PATH
13619 test -z "$as_dir" && as_dir=.
13620 for ac_exec_ext in '' $ac_executable_extensions; do
13621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13622 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13623 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13632 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13633 if test -n "$READELF_FOR_TARGET"; then
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13635 $as_echo "$READELF_FOR_TARGET" >&6; }
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13638 $as_echo "no
" >&6; }
13643 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13647 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13649 if test $build = $target ; then
13650 READELF_FOR_TARGET="$2"
13652 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13655 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13659 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13665 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13666 if test -n "$with_build_time_tools"; then
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13668 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13669 if test -x $with_build_time_tools/strip; then
13670 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13671 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13673 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13676 $as_echo "no
" >&6; }
13678 elif test $build != $host && test $have_gcc_for_target = yes; then
13679 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13680 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13681 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13684 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13685 # Extract the first word of "strip
", so it can be a program name with args.
13686 set dummy strip; ac_word=$2
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13688 $as_echo_n "checking
for $ac_word...
" >&6; }
13689 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
13690 $as_echo_n "(cached
) " >&6
13692 case $STRIP_FOR_TARGET in
13694 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13698 for as_dir in $gcc_cv_tool_dirs
13701 test -z "$as_dir" && as_dir=.
13702 for ac_exec_ext in '' $ac_executable_extensions; do
13703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13704 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13705 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13715 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13716 if test -n "$STRIP_FOR_TARGET"; then
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13718 $as_echo "$STRIP_FOR_TARGET" >&6; }
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13721 $as_echo "no
" >&6; }
13726 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13729 if test -n "$STRIP_FOR_TARGET"; then
13730 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13731 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13732 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13735 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13736 for ncn_progname in strip; do
13737 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13738 set dummy ${ncn_progname}; ac_word=$2
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13740 $as_echo_n "checking
for $ac_word...
" >&6; }
13741 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13742 $as_echo_n "(cached
) " >&6
13744 if test -n "$STRIP_FOR_TARGET"; then
13745 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13748 for as_dir in $PATH
13751 test -z "$as_dir" && as_dir=.
13752 for ac_exec_ext in '' $ac_executable_extensions; do
13753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13754 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13764 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13765 if test -n "$STRIP_FOR_TARGET"; then
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13767 $as_echo "$STRIP_FOR_TARGET" >&6; }
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13770 $as_echo "no
" >&6; }
13777 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13778 for ncn_progname in strip; do
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13780 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13781 if test -x $with_build_time_tools/${ncn_progname}; then
13782 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13784 $as_echo "yes" >&6; }
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13788 $as_echo "no
" >&6; }
13793 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13794 for ncn_progname in strip; do
13795 if test -n "$ncn_target_tool_prefix"; then
13796 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13797 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13799 $as_echo_n "checking
for $ac_word...
" >&6; }
13800 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13801 $as_echo_n "(cached
) " >&6
13803 if test -n "$STRIP_FOR_TARGET"; then
13804 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13807 for as_dir in $PATH
13810 test -z "$as_dir" && as_dir=.
13811 for ac_exec_ext in '' $ac_executable_extensions; do
13812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13813 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13823 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13824 if test -n "$STRIP_FOR_TARGET"; then
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13826 $as_echo "$STRIP_FOR_TARGET" >&6; }
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13829 $as_echo "no
" >&6; }
13834 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13835 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13836 set dummy ${ncn_progname}; ac_word=$2
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13838 $as_echo_n "checking
for $ac_word...
" >&6; }
13839 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13840 $as_echo_n "(cached
) " >&6
13842 if test -n "$STRIP_FOR_TARGET"; then
13843 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13846 for as_dir in $PATH
13849 test -z "$as_dir" && as_dir=.
13850 for ac_exec_ext in '' $ac_executable_extensions; do
13851 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13852 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13853 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13862 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13863 if test -n "$STRIP_FOR_TARGET"; then
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13865 $as_echo "$STRIP_FOR_TARGET" >&6; }
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13868 $as_echo "no
" >&6; }
13873 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13877 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13879 if test $build = $target ; then
13880 STRIP_FOR_TARGET="$2"
13882 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13885 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13889 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13895 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13896 if test -n "$with_build_time_tools"; then
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13898 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13899 if test -x $with_build_time_tools/windres; then
13900 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13901 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13903 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13906 $as_echo "no
" >&6; }
13908 elif test $build != $host && test $have_gcc_for_target = yes; then
13909 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13910 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13911 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13914 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13915 # Extract the first word of "windres
", so it can be a program name with args.
13916 set dummy windres; ac_word=$2
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13918 $as_echo_n "checking
for $ac_word...
" >&6; }
13919 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
13920 $as_echo_n "(cached
) " >&6
13922 case $WINDRES_FOR_TARGET in
13924 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13928 for as_dir in $gcc_cv_tool_dirs
13931 test -z "$as_dir" && as_dir=.
13932 for ac_exec_ext in '' $ac_executable_extensions; do
13933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13934 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13945 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13946 if test -n "$WINDRES_FOR_TARGET"; then
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13948 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13951 $as_echo "no
" >&6; }
13956 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13959 if test -n "$WINDRES_FOR_TARGET"; then
13960 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13961 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13962 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13965 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13966 for ncn_progname in windres; do
13967 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13968 set dummy ${ncn_progname}; ac_word=$2
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13970 $as_echo_n "checking
for $ac_word...
" >&6; }
13971 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13972 $as_echo_n "(cached
) " >&6
13974 if test -n "$WINDRES_FOR_TARGET"; then
13975 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13978 for as_dir in $PATH
13981 test -z "$as_dir" && as_dir=.
13982 for ac_exec_ext in '' $ac_executable_extensions; do
13983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13984 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13994 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13995 if test -n "$WINDRES_FOR_TARGET"; then
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13997 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14000 $as_echo "no
" >&6; }
14007 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
14008 for ncn_progname in windres; do
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14010 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14011 if test -x $with_build_time_tools/${ncn_progname}; then
14012 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14014 $as_echo "yes" >&6; }
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14018 $as_echo "no
" >&6; }
14023 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
14024 for ncn_progname in windres; do
14025 if test -n "$ncn_target_tool_prefix"; then
14026 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14027 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14029 $as_echo_n "checking
for $ac_word...
" >&6; }
14030 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14031 $as_echo_n "(cached
) " >&6
14033 if test -n "$WINDRES_FOR_TARGET"; then
14034 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14037 for as_dir in $PATH
14040 test -z "$as_dir" && as_dir=.
14041 for ac_exec_ext in '' $ac_executable_extensions; do
14042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14043 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14053 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14054 if test -n "$WINDRES_FOR_TARGET"; then
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14056 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14059 $as_echo "no
" >&6; }
14064 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
14065 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14066 set dummy ${ncn_progname}; ac_word=$2
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14068 $as_echo_n "checking
for $ac_word...
" >&6; }
14069 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
14070 $as_echo_n "(cached
) " >&6
14072 if test -n "$WINDRES_FOR_TARGET"; then
14073 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
14075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14076 for as_dir in $PATH
14079 test -z "$as_dir" && as_dir=.
14080 for ac_exec_ext in '' $ac_executable_extensions; do
14081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14082 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
14083 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14092 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
14093 if test -n "$WINDRES_FOR_TARGET"; then
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
14095 $as_echo "$WINDRES_FOR_TARGET" >&6; }
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14098 $as_echo "no
" >&6; }
14103 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
14107 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
14109 if test $build = $target ; then
14110 WINDRES_FOR_TARGET="$2"
14112 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
14115 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
14119 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
14125 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14126 if test -n "$with_build_time_tools"; then
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
14128 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
14129 if test -x $with_build_time_tools/windmc; then
14130 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
14131 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
14133 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14136 $as_echo "no
" >&6; }
14138 elif test $build != $host && test $have_gcc_for_target = yes; then
14139 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
14140 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
14141 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14144 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
14145 # Extract the first word of "windmc
", so it can be a program name with args.
14146 set dummy windmc; ac_word=$2
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14148 $as_echo_n "checking
for $ac_word...
" >&6; }
14149 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
14150 $as_echo_n "(cached
) " >&6
14152 case $WINDMC_FOR_TARGET in
14154 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
14157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14158 for as_dir in $gcc_cv_tool_dirs
14161 test -z "$as_dir" && as_dir=.
14162 for ac_exec_ext in '' $ac_executable_extensions; do
14163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14164 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
14165 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14175 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14176 if test -n "$WINDMC_FOR_TARGET"; then
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14178 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14181 $as_echo "no
" >&6; }
14186 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
14189 if test -n "$WINDMC_FOR_TARGET"; then
14190 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
14191 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14192 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14195 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14196 for ncn_progname in windmc; do
14197 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14198 set dummy ${ncn_progname}; ac_word=$2
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14200 $as_echo_n "checking
for $ac_word...
" >&6; }
14201 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14202 $as_echo_n "(cached
) " >&6
14204 if test -n "$WINDMC_FOR_TARGET"; then
14205 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14208 for as_dir in $PATH
14211 test -z "$as_dir" && as_dir=.
14212 for ac_exec_ext in '' $ac_executable_extensions; do
14213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14214 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14215 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14224 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14225 if test -n "$WINDMC_FOR_TARGET"; then
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14227 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14230 $as_echo "no
" >&6; }
14237 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
14238 for ncn_progname in windmc; do
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
14240 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
14241 if test -x $with_build_time_tools/${ncn_progname}; then
14242 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14244 $as_echo "yes" >&6; }
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14248 $as_echo "no
" >&6; }
14253 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
14254 for ncn_progname in windmc; do
14255 if test -n "$ncn_target_tool_prefix"; then
14256 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
14257 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14259 $as_echo_n "checking
for $ac_word...
" >&6; }
14260 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14261 $as_echo_n "(cached
) " >&6
14263 if test -n "$WINDMC_FOR_TARGET"; then
14264 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14267 for as_dir in $PATH
14270 test -z "$as_dir" && as_dir=.
14271 for ac_exec_ext in '' $ac_executable_extensions; do
14272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14273 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
14274 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14283 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14284 if test -n "$WINDMC_FOR_TARGET"; then
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14286 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14289 $as_echo "no
" >&6; }
14294 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
14295 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
14296 set dummy ${ncn_progname}; ac_word=$2
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14298 $as_echo_n "checking
for $ac_word...
" >&6; }
14299 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
14300 $as_echo_n "(cached
) " >&6
14302 if test -n "$WINDMC_FOR_TARGET"; then
14303 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14306 for as_dir in $PATH
14309 test -z "$as_dir" && as_dir=.
14310 for ac_exec_ext in '' $ac_executable_extensions; do
14311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14312 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14313 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14322 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14323 if test -n "$WINDMC_FOR_TARGET"; then
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14325 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14328 $as_echo "no
" >&6; }
14333 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
14337 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
14339 if test $build = $target ; then
14340 WINDMC_FOR_TARGET="$2"
14342 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14345 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
14349 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14353 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
14356 $as_echo_n "checking where to
find the target
ar...
" >&6; }
14357 if test "x
${build}" != "x
${host}" ; then
14358 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14359 # We already found the complete path
14360 ac_dir=`dirname $AR_FOR_TARGET`
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14362 $as_echo "pre-installed
in $ac_dir" >&6; }
14364 # Canadian cross, just use what we found
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14366 $as_echo "pre-installed
" >&6; }
14370 case " ${configdirs} " in
14375 if test $ok = yes; then
14376 # An in-tree tool is available and we can use it
14377 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14379 $as_echo "just compiled
" >&6; }
14380 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14381 # We already found the complete path
14382 ac_dir=`dirname $AR_FOR_TARGET`
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14384 $as_echo "pre-installed
in $ac_dir" >&6; }
14385 elif test "x
$target" = "x
$host"; then
14386 # We can use an host tool
14387 AR_FOR_TARGET='$(AR)'
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14389 $as_echo "host tool
" >&6; }
14391 # We need a cross tool
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14393 $as_echo "pre-installed
" >&6; }
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
14398 $as_echo_n "checking where to
find the target as...
" >&6; }
14399 if test "x
${build}" != "x
${host}" ; then
14400 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14401 # We already found the complete path
14402 ac_dir=`dirname $AS_FOR_TARGET`
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14404 $as_echo "pre-installed
in $ac_dir" >&6; }
14406 # Canadian cross, just use what we found
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14408 $as_echo "pre-installed
" >&6; }
14412 case " ${configdirs} " in
14417 if test $ok = yes; then
14418 # An in-tree tool is available and we can use it
14419 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14421 $as_echo "just compiled
" >&6; }
14422 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14423 # We already found the complete path
14424 ac_dir=`dirname $AS_FOR_TARGET`
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14426 $as_echo "pre-installed
in $ac_dir" >&6; }
14427 elif test "x
$target" = "x
$host"; then
14428 # We can use an host tool
14429 AS_FOR_TARGET='$(AS)'
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14431 $as_echo "host tool
" >&6; }
14433 # We need a cross tool
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14435 $as_echo "pre-installed
" >&6; }
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14440 $as_echo_n "checking where to
find the target cc...
" >&6; }
14441 if test "x
${build}" != "x
${host}" ; then
14442 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14443 # We already found the complete path
14444 ac_dir=`dirname $CC_FOR_TARGET`
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14446 $as_echo "pre-installed
in $ac_dir" >&6; }
14448 # Canadian cross, just use what we found
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14450 $as_echo "pre-installed
" >&6; }
14454 case " ${configdirs} " in
14459 if test $ok = yes; then
14460 # An in-tree tool is available and we can use it
14461 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14463 $as_echo "just compiled
" >&6; }
14464 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14465 # We already found the complete path
14466 ac_dir=`dirname $CC_FOR_TARGET`
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14468 $as_echo "pre-installed
in $ac_dir" >&6; }
14469 elif test "x
$target" = "x
$host"; then
14470 # We can use an host tool
14471 CC_FOR_TARGET='$(CC)'
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14473 $as_echo "host tool
" >&6; }
14475 # We need a cross tool
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14477 $as_echo "pre-installed
" >&6; }
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14482 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14483 if test "x
${build}" != "x
${host}" ; then
14484 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14485 # We already found the complete path
14486 ac_dir=`dirname $CXX_FOR_TARGET`
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14488 $as_echo "pre-installed
in $ac_dir" >&6; }
14490 # Canadian cross, just use what we found
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14492 $as_echo "pre-installed
" >&6; }
14496 case " ${configdirs} " in
14500 case ,${enable_languages}, in
14504 if test $ok = yes; then
14505 # An in-tree tool is available and we can use it
14506 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'
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14508 $as_echo "just compiled
" >&6; }
14509 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14510 # We already found the complete path
14511 ac_dir=`dirname $CXX_FOR_TARGET`
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14513 $as_echo "pre-installed
in $ac_dir" >&6; }
14514 elif test "x
$target" = "x
$host"; then
14515 # We can use an host tool
14516 CXX_FOR_TARGET='$(CXX)'
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14518 $as_echo "host tool
" >&6; }
14520 # We need a cross tool
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14522 $as_echo "pre-installed
" >&6; }
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14527 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14528 if test "x
${build}" != "x
${host}" ; then
14529 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14530 # We already found the complete path
14531 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14533 $as_echo "pre-installed
in $ac_dir" >&6; }
14535 # Canadian cross, just use what we found
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14537 $as_echo "pre-installed
" >&6; }
14541 case " ${configdirs} " in
14545 case ,${enable_languages}, in
14549 if test $ok = yes; then
14550 # An in-tree tool is available and we can use it
14551 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'
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14553 $as_echo "just compiled
" >&6; }
14554 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14555 # We already found the complete path
14556 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14558 $as_echo "pre-installed
in $ac_dir" >&6; }
14559 elif test "x
$target" = "x
$host"; then
14560 # We can use an host tool
14561 RAW_CXX_FOR_TARGET='$(CXX)'
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14563 $as_echo "host tool
" >&6; }
14565 # We need a cross tool
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14567 $as_echo "pre-installed
" >&6; }
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14572 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14573 if test "x
${build}" != "x
${host}" ; then
14574 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14575 # We already found the complete path
14576 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14578 $as_echo "pre-installed
in $ac_dir" >&6; }
14580 # Canadian cross, just use what we found
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14582 $as_echo "pre-installed
" >&6; }
14586 case " ${configdirs} " in
14591 if test $ok = yes; then
14592 # An in-tree tool is available and we can use it
14593 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14595 $as_echo "just compiled
" >&6; }
14596 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14597 # We already found the complete path
14598 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14600 $as_echo "pre-installed
in $ac_dir" >&6; }
14601 elif test "x
$target" = "x
$host"; then
14602 # We can use an host tool
14603 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14605 $as_echo "host tool
" >&6; }
14607 # We need a cross tool
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14609 $as_echo "pre-installed
" >&6; }
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14614 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14615 if test "x
${build}" != "x
${host}" ; then
14616 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14617 # We already found the complete path
14618 ac_dir=`dirname $GCC_FOR_TARGET`
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14620 $as_echo "pre-installed
in $ac_dir" >&6; }
14622 # Canadian cross, just use what we found
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14624 $as_echo "pre-installed
" >&6; }
14628 case " ${configdirs} " in
14633 if test $ok = yes; then
14634 # An in-tree tool is available and we can use it
14635 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14637 $as_echo "just compiled
" >&6; }
14638 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14639 # We already found the complete path
14640 ac_dir=`dirname $GCC_FOR_TARGET`
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14642 $as_echo "pre-installed
in $ac_dir" >&6; }
14643 elif test "x
$target" = "x
$host"; then
14644 # We can use an host tool
14645 GCC_FOR_TARGET='$()'
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14647 $as_echo "host tool
" >&6; }
14649 # We need a cross tool
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14651 $as_echo "pre-installed
" >&6; }
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14656 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14657 if test "x
${build}" != "x
${host}" ; then
14658 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14659 # We already found the complete path
14660 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14662 $as_echo "pre-installed
in $ac_dir" >&6; }
14664 # Canadian cross, just use what we found
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14666 $as_echo "pre-installed
" >&6; }
14670 case " ${configdirs} " in
14674 case ,${enable_languages}, in
14678 if test $ok = yes; then
14679 # An in-tree tool is available and we can use it
14680 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14682 $as_echo "just compiled
" >&6; }
14683 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14684 # We already found the complete path
14685 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14687 $as_echo "pre-installed
in $ac_dir" >&6; }
14688 elif test "x
$target" = "x
$host"; then
14689 # We can use an host tool
14690 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14692 $as_echo "host tool
" >&6; }
14694 # We need a cross tool
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14696 $as_echo "pre-installed
" >&6; }
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14701 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14702 if test "x
${build}" != "x
${host}" ; then
14703 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14704 # We already found the complete path
14705 ac_dir=`dirname $GOC_FOR_TARGET`
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14707 $as_echo "pre-installed
in $ac_dir" >&6; }
14709 # Canadian cross, just use what we found
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14711 $as_echo "pre-installed
" >&6; }
14715 case " ${configdirs} " in
14719 case ,${enable_languages}, in
14723 if test $ok = yes; then
14724 # An in-tree tool is available and we can use it
14725 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14727 $as_echo "just compiled
" >&6; }
14728 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14729 # We already found the complete path
14730 ac_dir=`dirname $GOC_FOR_TARGET`
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14732 $as_echo "pre-installed
in $ac_dir" >&6; }
14733 elif test "x
$target" = "x
$host"; then
14734 # We can use an host tool
14735 GOC_FOR_TARGET='$(GOC)'
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14737 $as_echo "host tool
" >&6; }
14739 # We need a cross tool
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14741 $as_echo "pre-installed
" >&6; }
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gdc
" >&5
14746 $as_echo_n "checking where to
find the target gdc...
" >&6; }
14747 if test "x
${build}" != "x
${host}" ; then
14748 if expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
14749 # We already found the complete path
14750 ac_dir=`dirname $GDC_FOR_TARGET`
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14752 $as_echo "pre-installed
in $ac_dir" >&6; }
14754 # Canadian cross, just use what we found
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14756 $as_echo "pre-installed
" >&6; }
14760 case " ${configdirs} " in
14764 case ,${enable_languages}, in
14768 if test $ok = yes; then
14769 # An in-tree tool is available and we can use it
14770 GDC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gdc -B$$r/$(HOST_SUBDIR)/gcc/'
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14772 $as_echo "just compiled
" >&6; }
14773 elif expr "x
$GDC_FOR_TARGET" : "x
/" > /dev/null; then
14774 # We already found the complete path
14775 ac_dir=`dirname $GDC_FOR_TARGET`
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14777 $as_echo "pre-installed
in $ac_dir" >&6; }
14778 elif test "x
$target" = "x
$host"; then
14779 # We can use an host tool
14780 GDC_FOR_TARGET='$(GDC)'
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14782 $as_echo "host tool
" >&6; }
14784 # We need a cross tool
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14786 $as_echo "pre-installed
" >&6; }
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14791 $as_echo_n "checking where to
find the target ld...
" >&6; }
14792 if test "x
${build}" != "x
${host}" ; then
14793 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14794 # We already found the complete path
14795 ac_dir=`dirname $LD_FOR_TARGET`
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14797 $as_echo "pre-installed
in $ac_dir" >&6; }
14799 # Canadian cross, just use what we found
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14801 $as_echo "pre-installed
" >&6; }
14805 case " ${configdirs} " in
14810 if test $ok = yes; then
14811 # An in-tree tool is available and we can use it
14812 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14814 $as_echo "just compiled
" >&6; }
14815 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14816 # We already found the complete path
14817 ac_dir=`dirname $LD_FOR_TARGET`
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14819 $as_echo "pre-installed
in $ac_dir" >&6; }
14820 elif test "x
$target" = "x
$host"; then
14821 # We can use an host tool
14822 LD_FOR_TARGET='$(LD)'
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14824 $as_echo "host tool
" >&6; }
14826 # We need a cross tool
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14828 $as_echo "pre-installed
" >&6; }
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14833 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14834 if test "x
${build}" != "x
${host}" ; then
14835 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14836 # We already found the complete path
14837 ac_dir=`dirname $LIPO_FOR_TARGET`
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14839 $as_echo "pre-installed
in $ac_dir" >&6; }
14841 # Canadian cross, just use what we found
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14843 $as_echo "pre-installed
" >&6; }
14846 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14847 # We already found the complete path
14848 ac_dir=`dirname $LIPO_FOR_TARGET`
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14850 $as_echo "pre-installed
in $ac_dir" >&6; }
14851 elif test "x
$target" = "x
$host"; then
14852 # We can use an host tool
14853 LIPO_FOR_TARGET='$(LIPO)'
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14855 $as_echo "host tool
" >&6; }
14857 # We need a cross tool
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14859 $as_echo "pre-installed
" >&6; }
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14864 $as_echo_n "checking where to
find the target nm...
" >&6; }
14865 if test "x
${build}" != "x
${host}" ; then
14866 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14867 # We already found the complete path
14868 ac_dir=`dirname $NM_FOR_TARGET`
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14870 $as_echo "pre-installed
in $ac_dir" >&6; }
14872 # Canadian cross, just use what we found
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14874 $as_echo "pre-installed
" >&6; }
14878 case " ${configdirs} " in
14883 if test $ok = yes; then
14884 # An in-tree tool is available and we can use it
14885 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14887 $as_echo "just compiled
" >&6; }
14888 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14889 # We already found the complete path
14890 ac_dir=`dirname $NM_FOR_TARGET`
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14892 $as_echo "pre-installed
in $ac_dir" >&6; }
14893 elif test "x
$target" = "x
$host"; then
14894 # We can use an host tool
14895 NM_FOR_TARGET='$(NM)'
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14897 $as_echo "host tool
" >&6; }
14899 # We need a cross tool
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14901 $as_echo "pre-installed
" >&6; }
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14906 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14907 if test "x
${build}" != "x
${host}" ; then
14908 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14909 # We already found the complete path
14910 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14912 $as_echo "pre-installed
in $ac_dir" >&6; }
14914 # Canadian cross, just use what we found
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14916 $as_echo "pre-installed
" >&6; }
14920 case " ${configdirs} " in
14925 if test $ok = yes; then
14926 # An in-tree tool is available and we can use it
14927 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14929 $as_echo "just compiled
" >&6; }
14930 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14931 # We already found the complete path
14932 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14934 $as_echo "pre-installed
in $ac_dir" >&6; }
14935 elif test "x
$target" = "x
$host"; then
14936 # We can use an host tool
14937 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14939 $as_echo "host tool
" >&6; }
14941 # We need a cross tool
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14943 $as_echo "pre-installed
" >&6; }
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14948 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14949 if test "x
${build}" != "x
${host}" ; then
14950 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14951 # We already found the complete path
14952 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14954 $as_echo "pre-installed
in $ac_dir" >&6; }
14956 # Canadian cross, just use what we found
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14958 $as_echo "pre-installed
" >&6; }
14962 case " ${configdirs} " in
14967 if test $ok = yes; then
14968 # An in-tree tool is available and we can use it
14969 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14971 $as_echo "just compiled
" >&6; }
14972 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14973 # We already found the complete path
14974 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14976 $as_echo "pre-installed
in $ac_dir" >&6; }
14977 elif test "x
$target" = "x
$host"; then
14978 # We can use an host tool
14979 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14981 $as_echo "host tool
" >&6; }
14983 # We need a cross tool
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14985 $as_echo "pre-installed
" >&6; }
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target otool
" >&5
14990 $as_echo_n "checking where to
find the target otool...
" >&6; }
14991 if test "x
${build}" != "x
${host}" ; then
14992 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14993 # We already found the complete path
14994 ac_dir=`dirname $OTOOL_FOR_TARGET`
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14996 $as_echo "pre-installed
in $ac_dir" >&6; }
14998 # Canadian cross, just use what we found
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15000 $as_echo "pre-installed
" >&6; }
15003 if expr "x
$OTOOL_FOR_TARGET" : "x
/" > /dev/null; then
15004 # We already found the complete path
15005 ac_dir=`dirname $OTOOL_FOR_TARGET`
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15007 $as_echo "pre-installed
in $ac_dir" >&6; }
15008 elif test "x
$target" = "x
$host"; then
15009 # We can use an host tool
15010 OTOOL_FOR_TARGET='$(OTOOL)'
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15012 $as_echo "host tool
" >&6; }
15014 # We need a cross tool
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15016 $as_echo "pre-installed
" >&6; }
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
15021 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
15022 if test "x
${build}" != "x
${host}" ; then
15023 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
15024 # We already found the complete path
15025 ac_dir=`dirname $RANLIB_FOR_TARGET`
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15027 $as_echo "pre-installed
in $ac_dir" >&6; }
15029 # Canadian cross, just use what we found
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15031 $as_echo "pre-installed
" >&6; }
15035 case " ${configdirs} " in
15040 if test $ok = yes; then
15041 # An in-tree tool is available and we can use it
15042 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15044 $as_echo "just compiled
" >&6; }
15045 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
15046 # We already found the complete path
15047 ac_dir=`dirname $RANLIB_FOR_TARGET`
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15049 $as_echo "pre-installed
in $ac_dir" >&6; }
15050 elif test "x
$target" = "x
$host"; then
15051 # We can use an host tool
15052 RANLIB_FOR_TARGET='$(RANLIB)'
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15054 $as_echo "host tool
" >&6; }
15056 # We need a cross tool
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15058 $as_echo "pre-installed
" >&6; }
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
15063 $as_echo_n "checking where to
find the target readelf...
" >&6; }
15064 if test "x
${build}" != "x
${host}" ; then
15065 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
15066 # We already found the complete path
15067 ac_dir=`dirname $READELF_FOR_TARGET`
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15069 $as_echo "pre-installed
in $ac_dir" >&6; }
15071 # Canadian cross, just use what we found
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15073 $as_echo "pre-installed
" >&6; }
15077 case " ${configdirs} " in
15082 if test $ok = yes; then
15083 # An in-tree tool is available and we can use it
15084 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15086 $as_echo "just compiled
" >&6; }
15087 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
15088 # We already found the complete path
15089 ac_dir=`dirname $READELF_FOR_TARGET`
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15091 $as_echo "pre-installed
in $ac_dir" >&6; }
15092 elif test "x
$target" = "x
$host"; then
15093 # We can use an host tool
15094 READELF_FOR_TARGET='$(READELF)'
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15096 $as_echo "host tool
" >&6; }
15098 # We need a cross tool
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15100 $as_echo "pre-installed
" >&6; }
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
15105 $as_echo_n "checking where to
find the target strip...
" >&6; }
15106 if test "x
${build}" != "x
${host}" ; then
15107 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
15108 # We already found the complete path
15109 ac_dir=`dirname $STRIP_FOR_TARGET`
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15111 $as_echo "pre-installed
in $ac_dir" >&6; }
15113 # Canadian cross, just use what we found
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15115 $as_echo "pre-installed
" >&6; }
15119 case " ${configdirs} " in
15124 if test $ok = yes; then
15125 # An in-tree tool is available and we can use it
15126 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15128 $as_echo "just compiled
" >&6; }
15129 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
15130 # We already found the complete path
15131 ac_dir=`dirname $STRIP_FOR_TARGET`
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15133 $as_echo "pre-installed
in $ac_dir" >&6; }
15134 elif test "x
$target" = "x
$host"; then
15135 # We can use an host tool
15136 STRIP_FOR_TARGET='$(STRIP)'
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15138 $as_echo "host tool
" >&6; }
15140 # We need a cross tool
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15142 $as_echo "pre-installed
" >&6; }
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
15147 $as_echo_n "checking where to
find the target windres...
" >&6; }
15148 if test "x
${build}" != "x
${host}" ; then
15149 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15150 # We already found the complete path
15151 ac_dir=`dirname $WINDRES_FOR_TARGET`
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15153 $as_echo "pre-installed
in $ac_dir" >&6; }
15155 # Canadian cross, just use what we found
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15157 $as_echo "pre-installed
" >&6; }
15161 case " ${configdirs} " in
15166 if test $ok = yes; then
15167 # An in-tree tool is available and we can use it
15168 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15170 $as_echo "just compiled
" >&6; }
15171 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
15172 # We already found the complete path
15173 ac_dir=`dirname $WINDRES_FOR_TARGET`
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15175 $as_echo "pre-installed
in $ac_dir" >&6; }
15176 elif test "x
$target" = "x
$host"; then
15177 # We can use an host tool
15178 WINDRES_FOR_TARGET='$(WINDRES)'
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15180 $as_echo "host tool
" >&6; }
15182 # We need a cross tool
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15184 $as_echo "pre-installed
" >&6; }
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
15189 $as_echo_n "checking where to
find the target windmc...
" >&6; }
15190 if test "x
${build}" != "x
${host}" ; then
15191 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15192 # We already found the complete path
15193 ac_dir=`dirname $WINDMC_FOR_TARGET`
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15195 $as_echo "pre-installed
in $ac_dir" >&6; }
15197 # Canadian cross, just use what we found
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15199 $as_echo "pre-installed
" >&6; }
15203 case " ${configdirs} " in
15208 if test $ok = yes; then
15209 # An in-tree tool is available and we can use it
15210 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
15212 $as_echo "just compiled
" >&6; }
15213 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
15214 # We already found the complete path
15215 ac_dir=`dirname $WINDMC_FOR_TARGET`
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
15217 $as_echo "pre-installed
in $ac_dir" >&6; }
15218 elif test "x
$target" = "x
$host"; then
15219 # We can use an host tool
15220 WINDMC_FOR_TARGET='$(WINDMC)'
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
15222 $as_echo "host tool
" >&6; }
15224 # We need a cross tool
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
15226 $as_echo "pre-installed
" >&6; }
15234 # Certain tools may need extra flags.
15235 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
15236 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
15237 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
15239 # When building target libraries, except in a Canadian cross, we use
15240 # the same toolchain as the compiler we just built.
15241 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
15242 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
15243 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
15244 if test $host = $build; then
15245 case " $configdirs " in
15247 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
15248 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
15249 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
15259 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
15260 # Check whether --enable-maintainer-mode was given.
15261 if test "${enable_maintainer_mode+set}" = set; then :
15262 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
15264 USE_MAINTAINER_MODE=no
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
15268 $as_echo "$USE_MAINTAINER_MODE" >&6; }
15271 if test "$USE_MAINTAINER_MODE" = yes; then
15272 MAINTAINER_MODE_TRUE=
15273 MAINTAINER_MODE_FALSE='#'
15275 MAINTAINER_MODE_TRUE='#'
15276 MAINTAINER_MODE_FALSE=
15278 MAINT=$MAINTAINER_MODE_TRUE
15280 # ---------------------
15281 # GCC bootstrap support
15282 # ---------------------
15284 # Stage specific cflags for build.
15289 yes) stage1_cflags="-g -Wa,-J" ;;
15290 *) stage1_cflags="-g -J" ;;
15296 # Enable --enable-checking in stage1 of the compiler.
15297 # Check whether --enable-stage1-checking was given.
15298 if test "${enable_stage1_checking+set}" = set; then :
15299 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
15301 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
15302 # For --disable-checking or implicit --enable-checking=release, avoid
15303 # setting --enable-checking=gc in the default stage1 checking for LTO
15304 # bootstraps. See PR62077.
15305 case $BUILD_CONFIG in
15307 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
15309 stage1_checking=--enable-checking=yes,types;;
15311 if test "x
$enable_checking" = x && \
15312 test -d ${srcdir}/gcc && \
15313 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
15314 stage1_checking=--enable-checking=yes,types,extra
15317 stage1_checking=--enable-checking=$enable_checking,types
15323 # Enable -Werror in bootstrap stage2 and later.
15324 # Check whether --enable-werror was given.
15325 if test "${enable_werror+set}" = set; then :
15326 enableval=$enable_werror;
15327 case ${enable_werror} in
15328 yes) stage2_werror_flag="--enable-werror-always" ;;
15329 *) stage2_werror_flag="" ;;
15334 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
15335 case $BUILD_CONFIG in
15337 stage2_werror_flag="--enable-werror-always" ;;
15339 stage2_werror_flag="--enable-werror-always" ;;
15348 # Specify what files to not compare during bootstrap.
15350 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
15352 hppa*64*-*-hpux*) ;;
15353 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/* | gcc
/function-tests.o
" ;;
15354 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
15358 ac_config_files="$ac_config_files Makefile
"
15360 cat >confcache <<\_ACEOF
15361 # This file is a shell script that caches the results of configure
15362 # tests run on this system so they can be shared between configure
15363 # scripts and configure runs, see configure's option --config-cache.
15364 # It is not useful on other systems. If it contains results you don't
15365 # want to keep, you may remove or edit it.
15367 # config.status only pays attention to the cache file if you give it
15368 # the --recheck option to rerun configure.
15370 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15371 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15372 # following values.
15376 # The following way of writing the cache mishandles newlines in values,
15377 # but we know of no workaround that is simple, portable, and efficient.
15378 # So, we kill variables containing newlines.
15379 # Ultrix sh set writes to stderr and can't be redirected directly,
15380 # and sets the high bit in the cache file unless we assign to the vars.
15382 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15383 eval ac_val=\$$ac_var
15387 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15388 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15391 _ | IFS | as_nl) ;; #(
15392 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15393 *) { eval $ac_var=; unset $ac_var;} ;;
15399 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15400 *${as_nl}ac_space=\ *)
15401 # `set' does not quote correctly, so add quotes: double-quote
15402 # substitution turns \\\\ into \\, and sed turns \\ into \.
15405 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15408 # `set' quotes correctly as required by POSIX, so do not add quotes.
15409 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15418 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15420 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15422 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15423 if test -w "$cache_file"; then
15424 if test "x
$cache_file" != "x
/dev
/null
"; then
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15426 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15427 if test ! -f "$cache_file" || test -h "$cache_file"; then
15428 cat confcache >"$cache_file"
15430 case $cache_file in #(
15432 mv -f confcache "$cache_file"$$ &&
15433 mv -f "$cache_file"$$ "$cache_file" ;; #(
15435 mv -f confcache "$cache_file" ;;
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15441 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15446 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15447 # Let make expand exec_prefix.
15448 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15450 # Transform confdefs.h into DEFS.
15451 # Protect against shell expansion while executing Makefile rules.
15452 # Protect against Makefile macro expansion.
15454 # If the first sed substitution is executed (which looks for macros that
15455 # take arguments), then branch to the quote section. Otherwise,
15456 # look for a macro that doesn't take arguments.
15466 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15468 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15472 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15485 DEFS=`sed -n "$ac_script" confdefs.h`
15491 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15492 # 1. Remove the extension, and $U if already installed.
15493 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15494 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15495 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15496 # will be set to the directory where LIBOBJS objects are built.
15497 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15498 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15500 LIBOBJS=$ac_libobjs
15502 LTLIBOBJS=$ac_ltlibobjs
15506 : "${CONFIG_STATUS=./config.status}"
15508 ac_clean_files_save=$ac_clean_files
15509 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15511 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15513 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15515 # Generated by $as_me.
15516 # Run this file to recreate the current configuration.
15517 # Compiler output produced by configure, useful for debugging
15518 # configure, is in config.log if it exists.
15521 ac_cs_recheck=false
15524 SHELL=\${CONFIG_SHELL-$SHELL}
15527 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15528 ## -------------------- ##
15529 ## M4sh Initialization. ##
15530 ## -------------------- ##
15532 # Be more Bourne compatible
15533 DUALCASE=1; export DUALCASE # for MKS sh
15534 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15537 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15538 # is contrary to our usage. Disable this feature.
15539 alias -g '${1+"$@"}'='"$@"'
15540 setopt NO_GLOB_SUBST
15542 case `(set -o) 2>/dev/null` in #(
15554 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15555 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15556 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15557 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15558 # Prefer a ksh shell builtin over an external printf program on Solaris,
15559 # but without wasting forks for bash or zsh.
15560 if test -z "$BASH_VERSION$ZSH_VERSION" \
15561 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15562 as_echo
='print -r --'
15563 as_echo_n
='print -rn --'
15564 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15565 as_echo
='printf %s\n'
15566 as_echo_n
='printf %s'
15568 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15569 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15570 as_echo_n
='/usr/ucb/echo -n'
15572 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15573 as_echo_n_body
='eval
15577 expr "X$arg" : "X\\(.*\\)$as_nl";
15578 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15580 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15582 export as_echo_n_body
15583 as_echo_n
='sh -c $as_echo_n_body as_echo'
15585 export as_echo_body
15586 as_echo
='sh -c $as_echo_body as_echo'
15589 # The user is always right.
15590 if test "${PATH_SEPARATOR+set}" != set; then
15592 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15593 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15600 # We need space, tab and new line, in precisely that order. Quoting is
15601 # there to prevent editors from complaining about space-tab.
15602 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15603 # splitting by setting IFS to empty value.)
15606 # Find who we are. Look in the path if we contain no directory separator.
15609 *[\\/]* ) as_myself
=$0 ;;
15610 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15611 for as_dir
in $PATH
15614 test -z "$as_dir" && as_dir
=.
15615 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15621 # We did not find ourselves, most probably we were run as `sh COMMAND'
15622 # in which case we are not to be found in the path.
15623 if test "x$as_myself" = x
; then
15626 if test ! -f "$as_myself"; then
15627 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15631 # Unset variables that we do not need and which cause bugs (e.g. in
15632 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15633 # suppresses any "Segmentation fault" message there. '((' could
15634 # trigger a bug in pdksh 5.2.14.
15635 for as_var
in BASH_ENV ENV MAIL MAILPATH
15636 do eval test x\
${$as_var+set} = xset \
15637 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15650 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15653 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15654 # ----------------------------------------
15655 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15656 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15657 # script with STATUS, using 1 if that was 0.
15660 as_status
=$1; test $as_status -eq 0 && as_status
=1
15662 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15663 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15665 $as_echo "$as_me: error: $2" >&2
15666 as_fn_exit
$as_status
15670 # as_fn_set_status STATUS
15671 # -----------------------
15672 # Set $? to STATUS, without forking.
15673 as_fn_set_status
()
15676 } # as_fn_set_status
15678 # as_fn_exit STATUS
15679 # -----------------
15680 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15684 as_fn_set_status
$1
15690 # Portably unset VAR.
15693 { eval $1=; unset $1;}
15695 as_unset
=as_fn_unset
15696 # as_fn_append VAR VALUE
15697 # ----------------------
15698 # Append the text in VALUE to the end of the definition contained in VAR. Take
15699 # advantage of any shell optimizations that allow amortized linear growth over
15700 # repeated appends, instead of the typical quadratic growth present in naive
15702 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15703 eval 'as_fn_append ()
15714 # as_fn_arith ARG...
15715 # ------------------
15716 # Perform arithmetic evaluation on the ARGs, and store the result in the
15717 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15718 # must be portable across $(()) and expr.
15719 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15720 eval 'as_fn_arith ()
15727 as_val
=`expr "$@" || test $? -eq 1`
15732 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15733 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15739 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15740 as_basename
=basename
15745 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15751 as_me
=`$as_basename -- "$0" ||
15752 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15753 X"$0" : 'X\(//\)$' \| \
15754 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15756 sed '/^.*\/\([^/][^/]*\)\/*$/{
15770 # Avoid depending upon Character Ranges.
15771 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15772 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15773 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15774 as_cr_digits
='0123456789'
15775 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15777 ECHO_C
= ECHO_N
= ECHO_T
=
15778 case `echo -n x` in #(((((
15780 case `echo 'xy\c'` in
15781 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15783 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15790 rm -f conf$$ conf$$.exe conf$$.
file
15791 if test -d conf$$.dir
; then
15792 rm -f conf$$.dir
/conf$$.
file
15795 mkdir conf$$.dir
2>/dev
/null
15797 if (echo >conf$$.
file) 2>/dev
/null
; then
15798 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15800 # ... but there are two gotchas:
15801 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15802 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15803 # In both cases, we have to default to `cp -pR'.
15804 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15806 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15814 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15815 rmdir conf$$.dir
2>/dev
/null
15820 # Create "$as_dir" as a directory, including parents if necessary.
15825 -*) as_dir
=.
/$as_dir;;
15827 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15831 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15832 *) as_qdir
=$as_dir;;
15834 as_dirs
="'$as_qdir' $as_dirs"
15835 as_dir
=`$as_dirname -- "$as_dir" ||
15836 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15837 X"$as_dir" : 'X\(//\)[^/]' \| \
15838 X"$as_dir" : 'X\(//\)$' \| \
15839 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15840 $as_echo X"$as_dir" |
15841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15845 /^X\(\/\/\)[^/].*/{
15858 test -d "$as_dir" && break
15860 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15861 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15865 if mkdir
-p .
2>/dev
/null
; then
15866 as_mkdir_p
='mkdir -p "$as_dir"'
15868 test -d .
/-p && rmdir .
/-p
15873 # as_fn_executable_p FILE
15874 # -----------------------
15875 # Test if FILE is an executable regular file.
15876 as_fn_executable_p
()
15878 test -f "$1" && test -x "$1"
15879 } # as_fn_executable_p
15880 as_test_x
='test -x'
15881 as_executable_p
=as_fn_executable_p
15883 # Sed expression to map a string onto a valid CPP name.
15884 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15886 # Sed expression to map a string onto a valid variable name.
15887 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15891 ## ----------------------------------- ##
15892 ## Main body of $CONFIG_STATUS script. ##
15893 ## ----------------------------------- ##
15895 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15898 # Save the log message, to keep $0 and so on meaningful, and to
15899 # report actual input values of CONFIG_FILES etc. instead of their
15900 # values after options handling.
15902 This file was extended by $as_me, which was
15903 generated by GNU Autoconf 2.69. Invocation command line was
15905 CONFIG_FILES = $CONFIG_FILES
15906 CONFIG_HEADERS = $CONFIG_HEADERS
15907 CONFIG_LINKS = $CONFIG_LINKS
15908 CONFIG_COMMANDS = $CONFIG_COMMANDS
15911 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15916 case $ac_config_files in *"
15917 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15923 # Files that config.status was made for.
15924 config_files="$ac_config_files"
15928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15930 \`$as_me' instantiates files and other configuration actions
15931 from templates according to the current configuration. Unless the files
15932 and actions are specified as TAGs, all are instantiated by default.
15934 Usage: $0 [OPTION]... [TAG]...
15936 -h, --help print this help, then exit
15937 -V, --version print version number and configuration settings, then exit
15938 --config print configuration, then exit
15939 -q, --quiet, --silent
15940 do not print progress messages
15941 -d, --debug don't remove temporary files
15942 --recheck update $as_me by reconfiguring in the same conditions
15943 --file=FILE[:TEMPLATE]
15944 instantiate the configuration file FILE
15946 Configuration files:
15949 Report bugs to the package provider."
15952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15953 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15956 configured by $0, generated by GNU Autoconf 2.69,
15957 with options \\"\$ac_cs_config\\"
15959 Copyright (C) 2012 Free Software Foundation, Inc.
15960 This config.status script is free software; the Free Software Foundation
15961 gives unlimited permission to copy, distribute and modify it."
15967 test -n "\$AWK" || AWK=awk
15970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15971 # The default lists apply if the user does not specify any file.
15977 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15978 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15982 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15994 # Handling of the options.
15995 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15997 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15998 $as_echo "$ac_cs_version"; exit ;;
15999 --config |
--confi |
--conf |
--con |
--co |
--c )
16000 $as_echo "$ac_cs_config"; exit ;;
16001 --debug |
--debu |
--deb |
--de |
--d |
-d )
16003 --file |
--fil |
--fi |
--f )
16006 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16007 '') as_fn_error $?
"missing file argument" ;;
16009 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16010 ac_need_defaults
=false
;;
16011 --he |
--h |
--help |
--hel |
-h )
16012 $as_echo "$ac_cs_usage"; exit ;;
16013 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16014 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16017 # This is an error.
16018 -*) as_fn_error $?
"unrecognized option: \`$1'
16019 Try \`$0 --help' for more information." ;;
16021 *) as_fn_append ac_config_targets
" $1"
16022 ac_need_defaults
=false
;;
16028 ac_configure_extra_args
=
16030 if $ac_cs_silent; then
16032 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16037 if \$ac_cs_recheck; then
16038 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16040 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16041 CONFIG_SHELL='$SHELL'
16042 export CONFIG_SHELL
16047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16051 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16052 ## Running $as_me. ##
16058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16062 extrasub_build="$extrasub_build"
16063 extrasub_host="$extrasub_host"
16064 extrasub_target="$extrasub_target"
16068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16070 # Handling of arguments.
16071 for ac_config_target
in $ac_config_targets
16073 case $ac_config_target in
16074 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16076 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16081 # If the user did not use the arguments to specify the items to instantiate,
16082 # then the envvar interface is used. Set only those that are not.
16083 # We use the long form for the default assignment because of an extremely
16084 # bizarre bug on SunOS 4.1.3.
16085 if $ac_need_defaults; then
16086 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16089 # Have a temporary directory for convenience. Make it in the build tree
16090 # simply because there is no reason against having it here, and in addition,
16091 # creating and moving files from /tmp can sometimes cause problems.
16092 # Hook for its removal unless debugging.
16093 # Note that there is a small window in which the directory will not be cleaned:
16094 # after its creation but before its name has been assigned to `$tmp'.
16098 trap 'exit_status=$?
16099 : "${ac_tmp:=$tmp}"
16100 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16102 trap 'as_fn_exit 1' 1 2 13 15
16104 # Create a (secure) tmp directory for tmp files.
16107 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16111 tmp
=.
/conf$$
-$RANDOM
16112 (umask 077 && mkdir
"$tmp")
16113 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16116 # Set up the scripts for CONFIG_FILES section.
16117 # No need to generate them if there are no CONFIG_FILES.
16118 # This happens for instance with `./config.status config.h'.
16119 if test -n "$CONFIG_FILES"; then
16121 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16122 ac_cs_awk_getline
=:
16123 ac_cs_awk_pipe_init
=
16124 ac_cs_awk_read_file
='
16125 while ((getline aline < (F[key])) > 0)
16128 ac_cs_awk_pipe_fini
=
16130 ac_cs_awk_getline
=false
16131 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16132 ac_cs_awk_read_file
='
16134 print "cat " F[key] " &&"
16135 '$ac_cs_awk_pipe_init
16136 # The final `:' finishes the AND list.
16137 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16139 ac_cr
=`echo X | tr X '\015'`
16140 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16141 # But we know of no other shell where ac_cr would be empty at this
16142 # point, so we can use a bashism as a fallback.
16143 if test "x$ac_cr" = x
; then
16144 eval ac_cr
=\$
\'\\r
\'
16146 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16147 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16150 ac_cs_awk_cr
=$ac_cr
16153 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16156 # Create commands to substitute file output variables.
16158 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16159 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16160 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16163 } >conf$
$files.sh
&&
16164 . .
/conf$
$files.sh ||
16165 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16166 rm -f conf$
$files.sh
16169 echo "cat >conf$$subs.awk <<_ACEOF" &&
16170 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16172 } >conf$$subs.sh ||
16173 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16174 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16176 for ac_last_try in false false false false false :; do
16177 . ./conf$$subs.sh ||
16178 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16180 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16181 if test $ac_delim_n = $ac_delim_num; then
16183 elif $ac_last_try; then
16184 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16186 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16189 rm -f conf$$subs.sh
16191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16192 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16196 s/^/S["/; s
/!.
*/"]=/
16206 s/\(.\{148\}\)..*/\1/
16208 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16213 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16220 s/\(.\{148\}\)..*/\1/
16222 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16226 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16231 ' <conf$$subs.awk | sed '
16236 ' >>$CONFIG_STATUS || ac_write_fail=1
16237 rm -f conf$$subs.awk
16238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16240 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16241 for (key in S) S_is_set[key] = 1
16243 \$ac_cs_awk_pipe_init
16247 nfields = split(line, field, "@
")
16249 len = length(field[1])
16250 for (i = 2; i < nfields; i++) {
16252 keylen = length(key)
16253 if (S_is_set[key]) {
16255 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16256 len += length(value) + length(field[++i])
16261 if (nfields == 3 && !substed) {
16263 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16264 \$ac_cs_awk_read_file
16270 \$ac_cs_awk_pipe_fini
16273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16274 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16275 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16278 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16279 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16282 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16283 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16284 # trailing colons and then remove the whole line if VPATH becomes empty
16285 # (actually we leave an empty line to preserve line numbers).
16286 if test "x
$srcdir" = x.; then
16287 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16306 fi # test -n "$CONFIG_FILES"
16309 eval set X " :F
$CONFIG_FILES "
16314 :[FHLC]) ac_mode=$ac_tag; continue;;
16316 case $ac_mode$ac_tag in
16318 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16319 :[FH]-) ac_tag=-:-;;
16320 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16337 -) ac_f="$ac_tmp/stdin";;
16338 *) # Look for the file first in the build tree, then in the source tree
16339 # (if the path is not absolute). The absolute path cannot be DOS-style,
16340 # because $ac_f cannot contain `:'.
16344 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16346 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16348 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16349 as_fn_append ac_file_inputs " '$ac_f'"
16352 # Let's still pretend it is `configure' which instantiates (i.e., don't
16353 # use $as_me), people would be surprised to read:
16354 # /* config.h. Generated by config.status. */
16355 configure_input='Generated from '`
16356 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16358 if test x"$ac_file" != x-; then
16359 configure_input="$ac_file.
$configure_input"
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16361 $as_echo "$as_me: creating
$ac_file" >&6;}
16363 # Neutralize special characters interpreted by sed in replacement strings.
16364 case $configure_input in #(
16365 *\&* | *\|* | *\\* )
16366 ac_sed_conf_input=`$as_echo "$configure_input" |
16367 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16368 *) ac_sed_conf_input=$configure_input;;
16372 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
16373 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
16378 ac_dir=`$as_dirname -- "$ac_file" ||
16379 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16380 X"$ac_file" : 'X\(//\)[^/]' \| \
16381 X"$ac_file" : 'X\(//\)$' \| \
16382 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16383 $as_echo X"$ac_file" |
16384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16388 /^X\(\/\/\)[^/].*/{
16401 as_dir="$ac_dir"; as_fn_mkdir_p
16405 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16407 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16408 # A "..
" for each directory in $ac_dir_suffix.
16409 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16410 case $ac_top_builddir_sub in
16411 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16412 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16415 ac_abs_top_builddir=$ac_pwd
16416 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16417 # for backward compatibility:
16418 ac_top_builddir=$ac_top_build_prefix
16421 .) # We are building in place.
16423 ac_top_srcdir=$ac_top_builddir_sub
16424 ac_abs_top_srcdir=$ac_pwd ;;
16425 [\\/]* | ?:[\\/]* ) # Absolute name.
16426 ac_srcdir=$srcdir$ac_dir_suffix;
16427 ac_top_srcdir=$srcdir
16428 ac_abs_top_srcdir=$srcdir ;;
16429 *) # Relative name.
16430 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16431 ac_top_srcdir=$ac_top_build_prefix$srcdir
16432 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16434 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16444 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16445 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16450 # If the template does not know about datarootdir, expand it.
16451 # FIXME: This hack should be removed a few years after 2.60.
16452 ac_datarootdir_hack=; ac_datarootdir_seen=
16463 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16464 *datarootdir*) ac_datarootdir_seen=yes;;
16465 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16467 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16470 ac_datarootdir_hack='
16471 s&@datadir@&$datadir&g
16472 s&@docdir@&$docdir&g
16473 s&@infodir@&$infodir&g
16474 s&@localedir@&$localedir&g
16475 s&@mandir@&$mandir&g
16476 s&\\\${datarootdir}&$datarootdir&g' ;;
16480 # Neutralize VPATH when `$srcdir' = `.'.
16481 # Shell code in configure.ac might set extrasub.
16482 # FIXME: do we really want to maintain this feature?
16483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16484 ac_sed_extra="$ac_vpsub
16487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16489 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16490 s|@configure_input@|
$ac_sed_conf_input|
;t t
16491 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16492 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16493 s
&@srcdir@
&$ac_srcdir&;t t
16494 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16495 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16496 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16497 s
&@builddir@
&$ac_builddir&;t t
16498 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16499 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16500 s
&@INSTALL@
&$ac_INSTALL&;t t
16501 $ac_datarootdir_hack
16503 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16504 if $ac_cs_awk_getline; then
16505 $AWK -f "$ac_tmp/subs.
awk"
16507 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16509 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16511 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16512 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16513 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16514 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16516 which seems to be undefined. Please make sure it is defined" >&5
16517 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16518 which seems to be undefined. Please make sure it is defined" >&2;}
16520 rm -f "$ac_tmp/stdin"
16522 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16523 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16525 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16533 case $ac_file$ac_mode in
16534 "Makefile":F) sed "$extrasub_build" Makefile |
16535 sed "$extrasub_host" |
16536 sed "$extrasub_target" > mf$$
16537 mv -f mf$$ Makefile ;;
16545 ac_clean_files=$ac_clean_files_save
16547 test $ac_write_fail = 0 ||
16548 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16551 # configure is writing to config.log, and then calls config.status.
16552 # config.status does its own redirection, appending to config.log.
16553 # Unfortunately, on DOS this fails, as config.log is still kept open
16554 # by configure, so config.status won't be able to
write to it
; its
16555 # output is simply discarded. So we exec the FD to /dev/null,
16556 # effectively closing config.log, so it can be properly (re)opened and
16557 # appended to by config.status. When coming back to configure, we
16558 # need to make the FD available again.
16559 if test "$no_create" != yes; then
16561 ac_config_status_args
=
16562 test "$silent" = yes &&
16563 ac_config_status_args
="$ac_config_status_args --quiet"
16565 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16567 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16568 # would make configure fail if this is the last instruction.
16569 $ac_cs_success || as_fn_exit
1
16571 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16573 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}